/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer theme {
  :root,
  :host {
    --font-sans:
      ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --spacing: 0.25rem;
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}
@layer base {
  *,
  :after,
  :before,
  ::backdrop {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }
  ::file-selector-button {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }
  html,
  :host {
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    line-height: 1.5;
    font-family: var(
      --default-font-family,
      ui-sans-serif,
      system-ui,
      sans-serif,
      "Apple Color Emoji",
      "Segoe UI Emoji",
      "Segoe UI Symbol",
      "Noto Color Emoji"
    );
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b,
  strong {
    font-weight: bolder;
  }
  code,
  kbd,
  samp,
  pre {
    font-family: var(
      --default-mono-font-family,
      ui-monospace,
      SFMono-Regular,
      Menlo,
      Monaco,
      Consolas,
      "Liberation Mono",
      "Courier New",
      monospace
    );
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub,
  sup {
    vertical-align: baseline;
    font-size: 75%;
    line-height: 0;
    position: relative;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol,
  ul,
  menu {
    list-style: none;
  }
  img,
  svg,
  video,
  canvas,
  audio,
  iframe,
  embed,
  object {
    vertical-align: middle;
    display: block;
  }
  img,
  video {
    max-width: 100%;
    height: auto;
  }
  button,
  input,
  select,
  optgroup,
  textarea {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }
  ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not ((-webkit-appearance: -apple-pay-button))) or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentColor;
    }
    @supports (color: color-mix(in lab, red, red)) {
      ::placeholder {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-year-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-month-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-day-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-hour-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-minute-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-second-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-millisecond-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button,
  input:where([type="button"], [type="reset"], [type="submit"]) {
    appearance: button;
  }
  ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button {
    height: auto;
  }
  ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer components;
@layer utilities {
  .visible {
    visibility: visible;
  }
  .relative {
    position: relative;
  }
  .start {
    inset-inline-start: var(--spacing);
  }
  .end {
    inset-inline-end: var(--spacing);
  }
  .table {
    display: table;
  }
  .antialiased {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-geist-sans), "Noto Sans JP", sans-serif;
  margin: 0;
}
button,
input {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
.app-shell {
  min-height: 100vh;
}
.tool-header {
  border-bottom: 1px solid var(--line);
  z-index: 20;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background: #fffffff0;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 72px;
  padding: 0 max(4vw, 24px);
  display: grid;
  position: sticky;
  top: 0;
}
.tool-logo {
  letter-spacing: -0.04em;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  display: flex;
}
.tool-logo span {
  color: #fff;
  background: var(--accent);
  border-radius: 9px;
  place-items: center;
  width: 30px;
  height: 30px;
  font-size: 17px;
  display: grid;
}
.tool-header > p {
  color: var(--muted);
  margin: 0;
  font-size: 12px;
}
.tool-header nav {
  justify-self: end;
  gap: 26px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
}
.tool-header nav a:hover {
  color: var(--accent-dark);
}
.ad {
  color: #a2a7ae;
  background: #f9fafb;
  border: 1px dashed #cfd4da;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 22px auto;
  display: flex;
}
.ad small {
  letter-spacing: 0.18em;
  font-size: 8px;
}
.ad span {
  margin-top: 4px;
  font-size: 10px;
}
.ad-top {
  max-width: 728px;
  height: 74px;
}
.ad-middle {
  max-width: 970px;
  height: 110px;
  margin-top: 54px;
  margin-bottom: 70px;
}
.tool-intro {
  justify-content: space-between;
  align-items: end;
  max-width: 1380px;
  margin: 0 auto;
  padding: 52px 32px 34px;
  display: flex;
}
.tool-label {
  color: var(--accent-dark);
  letter-spacing: 0.2em;
  margin: 0 0 14px;
  font-size: 10px;
  font-weight: 800;
}
.tool-intro h1 {
  letter-spacing: -0.055em;
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.25;
}
.tool-intro > p {
  max-width: 420px;
  color: var(--muted);
  margin: 0 0 5px;
  font-size: 13px;
  line-height: 1.9;
}
.workspace {
  grid-template-columns: 390px 1fr;
  gap: 18px;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 32px 52px;
  display: grid;
}
.control-panel,
.preview-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 8px 30px #232b360d;
}
.panel-title,
.preview-head {
  align-items: center;
  gap: 12px;
  display: flex;
}
.panel-title > span,
.preview-head > div > span {
  color: #fff;
  background: var(--ink);
  width: 28px;
  height: 28px;
  font: 700 10px var(--font-geist-mono);
  border-radius: 50%;
  place-items: center;
  display: grid;
}
.panel-title > div {
  flex-direction: column;
  gap: 3px;
  display: flex;
}
.panel-title small,
.preview-head small {
  color: var(--muted);
  font-size: 9px;
}
.field > label,
.data-head label {
  margin-bottom: 8px;
  font-size: 10px;
  font-weight: 700;
  display: block;
}
.field input {
  border: 1px solid var(--line);
  width: 100%;
  height: 40px;
  color: var(--ink);
  background: #fafbfc;
  border-radius: 5px;
  outline: none;
  padding: 0 11px;
  font-size: 12px;
}
.field-row {
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  display: grid;
}
.segmented {
  background: #eef0f3;
  border-radius: 6px;
  grid-template-columns: repeat(3, 1fr);
  padding: 3px;
  display: grid;
}
.segmented button {
  height: 34px;
  color: var(--muted);
  cursor: pointer;
  background: 0 0;
  border: 0;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
}
.segmented button.active {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 2px 6px #1e232d1a;
}
.color-field {
  grid-template-columns: 48px 1fr;
  gap: 8px;
  display: grid;
}
.color-field input[type="color"] {
  cursor: pointer;
  padding: 4px;
}
.data-head {
  justify-content: space-between;
  margin-top: 23px;
  display: flex;
}
.data-head span {
  color: var(--muted);
  font-size: 9px;
}
.data-list {
  gap: 6px;
  display: grid;
}
.data-row {
  grid-template-columns: 22px 1.35fr 0.65fr 24px;
  align-items: center;
  gap: 5px;
  display: grid;
}
.data-row > span {
  color: #9ca1a8;
  font: 600 9px var(--font-geist-mono);
}
.data-row input {
  border: 1px solid var(--line);
  background: #fafbfc;
  border-radius: 4px;
  outline: none;
  min-width: 0;
  height: 34px;
  padding: 0 8px;
  font-size: 10px;
}
.data-row button {
  color: #a4a8ae;
  cursor: pointer;
  background: 0 0;
  border: 0;
  width: 24px;
  height: 24px;
}
.data-row button:hover {
  color: #b84e56;
}
.add-row {
  color: #68707a;
  cursor: pointer;
  background: #fafbfc;
  border: 1px dashed #c8cdd3;
  border-radius: 4px;
  width: 100%;
  height: 34px;
  margin-top: 8px;
  font-size: 10px;
  font-weight: 700;
}
.add-row:hover {
  color: var(--accent-dark);
  border-color: var(--accent);
}
.check {
  color: #5f6670;
  cursor: pointer;
  align-items: center;
  gap: 8px;
  margin-top: 17px;
  font-size: 10px;
  display: flex;
}
.preview-panel {
  flex-direction: column;
  min-width: 0;
  padding: 24px;
  display: flex;
}
.preview-head {
  justify-content: space-between;
}
.preview-head > div {
  align-items: center;
  gap: 10px;
  display: flex;
}
.canvas-wrap {
  background-color: #eef0f3;
  background-image:
    linear-gradient(45deg, #e4e7ea 25%, #0000 25%), linear-gradient(-45deg, #e4e7ea 25%, #0000 25%),
    linear-gradient(45deg, #0000 75%, #e4e7ea 75%), linear-gradient(-45deg, #0000 75%, #e4e7ea 75%);
  background-position:
    0 0,
    0 8px,
    8px -8px,
    -8px 0;
  background-size: 16px 16px;
  flex: 1;
  place-items: center;
  min-height: 510px;
  margin-top: 20px;
  padding: 20px;
  display: grid;
}
.chart-svg {
  background: #fff;
  width: min(100%, 800px);
  height: auto;
  box-shadow: 0 8px 26px #191f281a;
}
.download-actions {
  gap: 8px;
  margin-top: 18px;
  display: flex;
}
.download-actions button {
  border: 1px solid var(--line);
  color: #4a515b;
  cursor: pointer;
  background: #fff;
  border-radius: 5px;
  min-height: 44px;
  padding: 0 16px;
  font-size: 10px;
  font-weight: 700;
  transition: all 0.2s;
}
.download-actions button span {
  margin-right: 7px;
  font-size: 9px;
  font-weight: 800;
}
.download-actions button:hover {
  border-color: #9ca3ad;
  transform: translateY(-1px);
}
.download-actions .primary {
  color: #fff;
  border-color: var(--ink);
  background: var(--ink);
}
.download-actions .copy {
  color: var(--accent-dark);
  border-color: var(--accent);
  margin-left: auto;
}
.edit-note {
  color: var(--muted);
  margin: 12px 0 0;
  font-size: 9px;
}
.howto {
  color: #f5f6f7;
  background: #242932;
  padding: 95px max(6vw, 28px);
}
.howto > p,
.howto > h2,
.howto > div {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.howto h2,
.tool-faq h2 {
  letter-spacing: -0.05em;
  margin-top: 0;
  font-size: clamp(30px, 3.4vw, 48px);
}
.howto > div {
  border-top: 1px solid #505661;
  border-left: 1px solid #505661;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 48px;
  display: grid;
}
.howto article {
  border-bottom: 1px solid #505661;
  border-right: 1px solid #505661;
  min-height: 210px;
  padding: 30px;
}
.howto article b {
  color: var(--accent);
  font: 700 11px var(--font-geist-mono);
}
.howto article h3 {
  margin: 42px 0 10px;
  font-size: 18px;
}
.howto article p {
  color: #aeb3bb;
  margin: 0;
  font-size: 12px;
  line-height: 1.9;
}
.tool-faq {
  grid-template-columns: 0.7fr 1.3fr;
  gap: 8vw;
  padding: 95px max(6vw, 28px);
  display: grid;
}
.tool-faq details {
  border-bottom: 1px solid var(--line);
}
.tool-faq summary {
  cursor: pointer;
  justify-content: space-between;
  padding: 25px 3px;
  font-size: 13px;
  font-weight: 700;
  list-style: none;
  display: flex;
}
.tool-faq summary::-webkit-details-marker {
  display: none;
}
.tool-faq summary span {
  font-size: 20px;
  font-weight: 400;
  transition: all 0.2s;
}
.tool-faq details[open] summary span {
  transform: rotate(45deg);
}
.tool-faq details p {
  color: var(--muted);
  margin: 0;
  padding: 0 35px 24px 3px;
  font-size: 12px;
  line-height: 1.9;
}
.tool-footer {
  color: #d7d9dc;
  background: #171b21;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 45px max(4vw, 24px) 28px;
  display: grid;
}
.tool-footer p {
  color: #7f858e;
  justify-self: end;
  margin: 0;
  font-size: 10px;
}
.tool-footer small {
  color: #686e77;
  border-top: 1px solid #343942;
  grid-column: 1/-1;
  margin-top: 30px;
  padding-top: 20px;
  font-size: 8px;
}
.workspace.advanced {
  grid-template-columns: 440px 1fr;
}
.chart-types {
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  display: grid;
}
.chart-types button {
  border: 1px solid var(--line);
  min-height: 48px;
  color: var(--muted);
  cursor: pointer;
  background: #fafbfc;
  border-radius: 5px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 5px 2px;
  font-size: 9px;
  font-weight: 700;
  display: flex;
}
.chart-types button i {
  letter-spacing: -0.12em;
  font-size: 15px;
  font-style: normal;
}
.chart-types button:hover,
.chart-types button.active {
  color: var(--ink);
  border-color: var(--accent);
  background: #fff3f3;
  box-shadow: 0 0 0 2px #e8aaad24;
}
.field input:disabled {
  color: #afb3b8;
  background: #f0f1f3;
}
.harmony-row {
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin-top: 7px;
  display: grid;
}
.harmony-row button {
  border: 1px solid var(--line);
  color: #747b84;
  cursor: pointer;
  background: #fff;
  border-radius: 4px;
  align-items: center;
  gap: 5px;
  height: 32px;
  padding: 0 7px;
  font-size: 9px;
  display: flex;
}
.harmony-row button span {
  border-radius: 3px;
  width: 13px;
  height: 13px;
}
.harmony-row button.active {
  color: var(--ink);
  border-color: #999;
}
.bulk-head {
  justify-content: space-between;
  align-items: center;
  display: flex;
}
.bulk-head label {
  font-size: 10px;
  font-weight: 800;
}
.bulk-head span {
  color: #a47a7d;
  font-size: 8px;
}
.bulk-box textarea,
.small-textarea {
  resize: vertical;
  width: 100%;
  min-height: 94px;
  color: var(--ink);
  font: 500 11px/1.6 var(--font-geist-mono);
  background: #fff;
  border: 1px solid #e2d3d4;
  border-radius: 4px;
  outline: none;
  margin-top: 9px;
  padding: 9px 10px;
}
.bulk-action {
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 7px;
  display: grid;
}
.bulk-action select,
.bulk-action button {
  color: #555;
  background: #fff;
  border: 1px solid #ddc7c9;
  border-radius: 4px;
  height: 34px;
  font-size: 9px;
  font-weight: 700;
}
.bulk-action button {
  color: #fff;
  border-color: var(--accent-dark);
  background: var(--accent-dark);
  cursor: pointer;
}
.bulk-box > p {
  color: #a18183;
  margin: 7px 0 0;
  font-size: 8px;
}
.data-list.is-dual .data-row {
  grid-template-columns: 22px 1.2fr 0.55fr 0.55fr 24px;
}
.small-textarea {
  min-height: 64px;
  margin-top: 0;
  font-family: inherit;
}
.workspace.advanced .canvas-wrap {
  min-height: 590px;
}
@media (width<=1000px) {
  .tool-header {
    grid-template-columns: 1fr auto;
  }
  .tool-header > p {
    display: none;
  }
  .workspace,
  .workspace.advanced {
    grid-template-columns: 350px 1fr;
  }
  .canvas-wrap {
    min-height: 430px;
  }
  .download-actions {
    flex-wrap: wrap;
  }
  .download-actions .copy {
    margin-left: 0;
  }
  .tool-intro {
    gap: 40px;
  }
}
@media (width<=760px) {
  .tool-header {
    height: 62px;
    padding: 0 18px;
  }
  .tool-header nav {
    display: none;
  }
  .tool-intro {
    padding: 40px 18px 26px;
    display: block;
  }
  .tool-intro h1 {
    font-size: 34px;
  }
  .tool-intro > p {
    margin-top: 20px;
  }
  .ad-top {
    width: calc(100% - 36px);
    height: 62px;
  }
  .workspace {
    flex-direction: column;
    padding: 0 14px 42px;
    display: flex;
  }
  .control-panel,
  .preview-panel {
    padding: 18px;
  }
  .canvas-wrap {
    min-height: 280px;
    padding: 10px;
  }
  .preview-panel {
    order: -1;
  }
  .download-actions button {
    flex: 1;
  }
  .download-actions .copy {
    flex-basis: 100%;
  }
  .edit-note {
    line-height: 1.6;
  }
  .field-row {
    grid-template-columns: 1fr 1fr;
  }
  .ad-middle {
    width: calc(100% - 28px);
    height: 90px;
    margin: 30px 14px 50px;
  }
  .howto {
    padding: 70px 18px;
  }
  .howto > div {
    grid-template-columns: 1fr;
  }
  .howto article {
    min-height: 170px;
  }
  .howto article h3 {
    margin-top: 28px;
  }
  .tool-faq {
    grid-template-columns: 1fr;
    padding: 70px 18px;
  }
  .tool-faq > div:last-child {
    margin-top: 20px;
  }
  .tool-footer {
    grid-template-columns: 1fr;
  }
  .tool-footer p {
    justify-self: start;
    margin-top: 16px;
  }
}
@media (hover: none) {
  button:hover {
    transform: none !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  :before,
  :after {
    transition: none !important;
  }
}
.tool-header {
  background: #ffffffeb;
  border-bottom: 0;
  height: 64px;
  box-shadow: 0 1px #0f172a14;
}
.tool-logo span {
  background: linear-gradient(145deg, #3b82f6, #1d4ed8);
  border-radius: 10px;
  box-shadow: 0 4px 12px #2563eb40;
}
.tool-intro {
  padding-top: 34px;
  padding-bottom: 28px;
}
.tool-intro h1 {
  letter-spacing: -0.045em;
  font-size: clamp(32px, 3.3vw, 48px);
}
.tool-intro h1 br {
  display: none;
}
.workspace.advanced {
  grid-template-columns: 410px minmax(0, 1fr);
  gap: 24px;
}
.control-panel,
.preview-panel {
  border: 0;
  border-radius: 18px;
  padding: 22px;
  box-shadow:
    0 1px 3px #0f172a14,
    0 10px 30px #0f172a0a;
}
.field {
  margin-top: 16px;
}
.field > label,
.data-head label {
  color: #334155;
  font-size: 11px;
}
.field input,
.data-row input {
  background: #fff;
  border-color: #dbe2ea;
  border-radius: 9px;
}
.field input {
  height: 44px;
  padding: 0 13px;
}
.field input:focus,
.data-row input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px #2563eb1f;
}
.chart-types {
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}
.chart-types button {
  color: #64748b;
  background: #f1f5f9;
  border: 0;
  border-radius: 10px;
  min-height: 52px;
}
.chart-types button i {
  font-size: 16px;
}
.chart-types button:hover,
.chart-types button.active {
  color: #1d4ed8;
  background: #e8f0fe;
  border: 0;
  box-shadow: inset 0 0 0 1px #bfdbfe;
}
.bulk-box {
  background: #eff6ff;
  border: 0;
  border-radius: 13px;
  margin-top: 18px;
  padding: 16px;
}
.bulk-head span,
.bulk-box > p {
  color: #64748b;
}
.bulk-box textarea,
.small-textarea {
  border-color: #bfdbfe;
  border-radius: 9px;
}
.bulk-box textarea:focus,
.small-textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px #2563eb1f;
}
.bulk-action select,
.bulk-action button {
  border-radius: 9px;
  height: 40px;
}
.bulk-action button {
  background: #2563eb;
  border-color: #2563eb;
  box-shadow: 0 3px 8px #2563eb38;
}
.settings-group {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-top: 14px;
  overflow: hidden;
}
.settings-group summary {
  cursor: pointer;
  justify-content: space-between;
  align-items: center;
  min-height: 54px;
  padding: 0 14px;
  list-style: none;
  display: flex;
}
.settings-group summary::-webkit-details-marker {
  display: none;
}
.settings-group summary span {
  flex-direction: column;
  gap: 3px;
  display: flex;
}
.settings-group summary small {
  color: #94a3b8;
  font-size: 9px;
}
.settings-group summary i {
  color: #64748b;
  font-style: normal;
  transition: transform 0.2s;
}
.settings-group[open] summary i {
  transform: rotate(180deg);
}
.settings-body {
  border-top: 1px solid #eef2f7;
  padding: 0 14px 16px;
}
.data-settings .data-head {
  margin-top: 16px;
}
.harmony-row button {
  border-radius: 8px;
  height: 36px;
}
.add-row {
  border-radius: 8px;
}
.canvas-wrap {
  background-color: #f1f5f9;
  background-image: radial-gradient(#cbd5e1 1px, #0000 1px);
  background-size: 16px 16px;
  border-radius: 14px;
}
.chart-svg {
  border-radius: 4px;
  box-shadow: 0 14px 36px #0f172a21;
}
.download-actions button {
  border-radius: 10px;
  min-height: 46px;
}
.download-actions .primary {
  background: #2563eb;
  border-color: #2563eb;
  box-shadow: 0 4px 12px #2563eb3d;
}
@media (width<=1100px) {
  .workspace.advanced {
    grid-template-columns: 370px minmax(0, 1fr);
  }
  .chart-types {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (width<=760px) {
  .workspace.advanced {
    display: flex;
  }
  .preview-panel {
    order: 0;
  }
  .control-panel {
    order: 1;
  }
  .chart-types {
    grid-template-columns: repeat(4, 1fr);
  }
  .tool-intro h1 br {
    display: block;
  }
}
:root {
  --bg: #fafafa;
  --surface: #fff;
  --ink: #18181b;
  --muted: #71717a;
  --line: #e4e4e7;
  --accent: #52525b;
  --accent-dark: #27272a;
  --blue: #71717a;
}
body {
  background: #fafafa;
}
.tool-header {
  box-shadow: none;
  border-bottom: 1px solid #eaeaea;
}
.tool-logo span {
  color: #fff;
  box-shadow: none;
  background: #18181b;
  border-radius: 7px;
}
.tool-header nav a:hover,
.tool-label {
  color: #52525b;
}
.ad {
  color: #a1a1aa;
  background: #fff;
  border-color: #e4e4e7;
}
.tool-intro {
  max-width: 1280px;
  padding-top: 38px;
}
.tool-intro h1 {
  max-width: 850px;
  font-size: clamp(38px, 4.5vw, 64px);
  line-height: 1.12;
}
.tool-intro > p {
  max-width: 390px;
}
.workspace.advanced {
  grid-template-columns: 330px minmax(0, 1fr);
  align-items: start;
  max-width: 1280px;
}
.control-panel,
.preview-panel {
  border: 1px solid #e4e4e7;
  border-radius: 12px;
  box-shadow: 0 1px 2px #00000008;
}
.control-panel {
  position: sticky;
  top: 80px;
}
.panel-title > span,
.preview-head > div > span {
  color: #3f3f46;
  background: #f4f4f5;
}
.panel-title small {
  font-size: 9px;
}
.field input,
.data-row input {
  border-radius: 7px;
}
.field input:focus,
.data-row input:focus,
.bulk-box textarea:focus,
.small-textarea:focus {
  border-color: #a1a1aa;
  box-shadow: 0 0 0 3px #18181b0f;
}
.settings-group {
  border-color: #e4e4e7;
  border-radius: 8px;
}
.bulk-box {
  background: #f7f7f8;
  border: 1px solid #e4e4e7;
  border-radius: 8px;
}
.bulk-box textarea,
.small-textarea {
  border-color: #d4d4d8;
}
.bulk-action button {
  color: #fff;
  box-shadow: none;
  background: #27272a;
  border-color: #27272a;
}
.harmony-row button.active {
  color: #18181b;
  background: #f4f4f5;
  border-color: #a1a1aa;
}
.check input {
  accent-color: #27272a;
}
.sample-strip {
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 18px;
  display: grid;
}
.sample-strip > button {
  text-align: left;
  color: #3f3f46;
  cursor: pointer;
  background: #fff;
  border: 1px solid #e4e4e7;
  border-radius: 9px;
  grid-template-columns: 56px 1fr;
  align-items: center;
  gap: 10px;
  padding: 8px;
  transition: all 0.16s;
  display: grid;
}
.sample-strip > button:hover {
  background: #fafafa;
  border-color: #a1a1aa;
  transform: translateY(-1px);
}
.sample-strip > button b {
  font-size: 10px;
}
.mini-chart {
  background: #f4f4f5;
  border-radius: 5px;
  justify-content: center;
  align-items: end;
  gap: 3px;
  height: 40px;
  padding: 7px;
  display: flex;
}
.mini-chart i {
  background: var(--sample);
  border-radius: 1px;
  width: 7px;
}
.mini-chart i:first-child {
  height: 35%;
}
.mini-chart i:nth-child(2) {
  height: 72%;
}
.mini-chart i:nth-child(3) {
  height: 52%;
}
.mini-chart i:nth-child(4) {
  height: 90%;
}
.mini-chart.line,
.mini-chart.donut {
  align-items: center;
}
.mini-chart.line i {
  border-radius: 50%;
  width: 7px;
  height: 7px !important;
}
.mini-chart.donut i {
  display: none;
}
.mini-chart.donut:after {
  content: "";
  border: 7px solid var(--sample);
  border-right-color: #d4d4d8;
  border-radius: 50%;
  width: 25px;
  height: 25px;
}
.direct-edit {
  background: #fafafa;
  border: 1px solid #e4e4e7;
  border-radius: 9px;
  grid-template-columns: 1.35fr 1.15fr 0.55fr auto;
  align-items: end;
  gap: 8px;
  margin-top: 12px;
  padding: 12px;
  display: grid;
}
.direct-edit label {
  color: #71717a;
  margin-bottom: 5px;
  font-size: 9px;
  font-weight: 700;
  display: block;
}
.direct-edit input,
.direct-edit select {
  color: #27272a;
  background: #fff;
  border: 1px solid #d4d4d8;
  border-radius: 7px;
  outline: none;
  width: 100%;
  height: 38px;
  padding: 0 10px;
  font-size: 11px;
}
.direct-edit input:focus,
.direct-edit select:focus {
  border-color: #71717a;
  box-shadow: 0 0 0 3px #18181b0f;
}
.quick-colors > div {
  align-items: center;
  gap: 6px;
  height: 38px;
  display: flex;
}
.quick-colors button {
  cursor: pointer;
  border: 3px solid #fff;
  border-radius: 50%;
  width: 23px;
  height: 23px;
  box-shadow: 0 0 0 1px #d4d4d8;
}
.quick-colors button.active {
  box-shadow: 0 0 0 2px #18181b;
}
.direct-hint {
  color: #71717a;
  margin: 8px 2px 0;
  font-size: 9px;
}
.canvas-wrap {
  background-color: #f4f4f5;
  background-image: linear-gradient(#e4e4e7 1px, #0000 1px), linear-gradient(90deg, #e4e4e7 1px, #0000 1px);
  background-size: 20px 20px;
  border-radius: 8px;
  margin-top: 12px;
}
.chart-svg {
  box-shadow: 0 8px 24px #00000017;
}
.download-actions .primary {
  box-shadow: none;
  background: #18181b;
  border-color: #18181b;
}
.download-actions .copy {
  color: #3f3f46;
  border-color: #d4d4d8;
}
.howto {
  background: #18181b;
}
.howto article b {
  color: #a1a1aa;
}
@media (width<=1100px) {
  .sample-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .direct-edit {
    grid-template-columns: 1fr 1fr;
  }
  .workspace.advanced {
    grid-template-columns: 300px minmax(0, 1fr);
  }
}
@media (width<=760px) {
  .control-panel {
    position: static;
  }
  .sample-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .direct-edit {
    grid-template-columns: 1fr;
  }
  .quick-colors > div {
    height: auto;
  }
  .workspace.advanced {
    display: flex;
  }
  .preview-panel {
    order: 0;
  }
  .control-panel {
    order: 1;
  }
}
.direct-edit.compact {
  grid-template-columns: 140px auto;
  justify-content: start;
}
.editable-svg-text {
  cursor: text;
  transition: fill 0.15s;
}
.editable-svg-text:hover {
  text-underline-offset: 4px;
  -webkit-text-decoration: underline #d4d4d8;
  text-decoration: underline #d4d4d8;
  fill: #111 !important;
}
.chart-svg.is-editing .editable-svg-text {
  opacity: 0.6;
}
.svg-inline-input {
  color: #18181b;
  text-align: center;
  background: #fff;
  border: 1px solid #52525b;
  border-radius: 5px;
  outline: none;
  width: 100%;
  height: 100%;
  padding: 0 10px;
  font:
    600 14px Arial,
    sans-serif;
  box-shadow: 0 0 0 3px #18181b14;
}
@media (width<=760px) {
  .direct-edit.compact {
    grid-template-columns: 1fr;
  }
}
.control-panel {
  position: static;
}
.data-settings:not([open]) .settings-body {
  display: block;
}
.data-settings:not([open]) summary i {
  display: none;
}
.bulk-columns {
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
  display: grid;
}
.bulk-columns small {
  color: #71717a;
  margin-bottom: 4px;
  font-size: 9px;
  font-weight: 700;
  display: block;
}
.bulk-columns textarea {
  min-height: 132px;
  margin-top: 0;
}
.bulk-apply {
  color: #fff;
  cursor: pointer;
  background: #18181b;
  border: 0;
  border-radius: 7px;
  width: 100%;
  height: 40px;
  margin-top: 8px;
  font-size: 10px;
  font-weight: 700;
}
.preview-head {
  padding-bottom: 2px;
}
.sample-strip {
  margin-top: 12px;
}
.format-section {
  border-top: 1px solid #e4e4e7;
  margin-top: 20px;
  padding-top: 18px;
}
.format-head {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 9px;
  display: flex;
}
.format-head b,
.color-section > b {
  font-size: 11px;
}
.format-head small {
  color: #71717a;
  font-size: 9px;
}
.format-grid {
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  display: grid;
}
.format-grid button {
  color: #71717a;
  cursor: pointer;
  background: #fff;
  border: 1px solid #e4e4e7;
  border-radius: 8px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  height: 52px;
  font-size: 9px;
  font-weight: 700;
  display: flex;
}
.format-grid button i {
  font-size: 15px;
  font-style: normal;
}
.format-grid button.active {
  color: #18181b;
  background: #f4f4f5;
  border-color: #a1a1aa;
  box-shadow: inset 0 0 0 1px #d4d4d8;
}
.color-section {
  background: #fafafa;
  border: 1px solid #e4e4e7;
  border-radius: 8px;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding: 10px 12px;
  display: flex;
}
.quick-colors > div {
  height: auto;
}
.quick-colors button {
  width: 27px;
  height: 27px;
}
.direct-hint {
  background: #fafafa;
  border-left: 3px solid #d4d4d8;
  padding: 8px 10px;
  line-height: 1.6;
}
.editable-svg-text:hover {
  text-decoration-color: #9ca3af;
  fill: #111 !important;
}
.svg-inline-input {
  border-color: #111;
}
.chart-svg rect[fill="\#fff"] + text {
  cursor: text;
}
@media (width<=1100px) {
  .format-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (width<=760px) {
  .bulk-columns {
    grid-template-columns: 1fr 1fr;
  }
  .format-head {
    align-items: flex-start;
    gap: 8px;
  }
  .format-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .color-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
.format-section.first {
  border-top: 0;
  margin-top: 14px;
  padding-top: 0;
}
.bulk-columns.is-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.pie-editable:hover {
  text-decoration-color: #ffffffb3;
  fill: #fff !important;
}
@media (width<=760px) {
  .bulk-columns.is-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
  }
  .bulk-columns textarea {
    padding: 7px 6px;
    font-size: 10px;
  }
}
.tool-intro,
.workspace.advanced {
  max-width: 1480px;
}
.workspace.advanced {
  grid-template-columns: 370px minmax(0, 1fr);
  padding-left: 24px;
  padding-right: 24px;
}
.control-panel,
.preview-panel {
  padding: 24px;
}
.panel-title b,
.preview-head b {
  font-size: 15px;
}
.panel-title small,
.preview-head small,
.format-head small {
  font-size: 10px;
}
.field > label,
.data-head label,
.bulk-head label,
.format-head b,
.color-section > b,
.style-options b {
  font-size: 12px;
}
.field input {
  font-size: 13px;
}
.data-row input {
  height: 38px;
  font-size: 11px;
}
.data-head span,
.bulk-head span,
.bulk-columns small,
.direct-hint,
.edit-note {
  font-size: 10px;
}
.settings-group summary b {
  font-size: 12px;
}
.settings-group summary small {
  font-size: 10px;
}
.format-grid button {
  height: 56px;
  font-size: 10px;
}
.format-grid button i {
  font-size: 17px;
}
.bulk-apply,
.add-row,
.download-actions button {
  font-size: 11px;
}
.style-options {
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
  display: grid;
}
.style-options > div {
  background: #fafafa;
  border: 1px solid #e4e4e7;
  border-radius: 8px;
  padding: 10px 12px;
}
.style-options b {
  margin-bottom: 8px;
  display: block;
}
.option-buttons {
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  display: grid;
}
.option-buttons button {
  color: #71717a;
  cursor: pointer;
  background: #fff;
  border: 1px solid #d4d4d8;
  border-radius: 6px;
  height: 34px;
  font-size: 10px;
  font-weight: 700;
}
.option-buttons button.active {
  color: #18181b;
  background: #f4f4f5;
  border-color: #71717a;
  box-shadow: inset 0 0 0 1px #d4d4d8;
}
@media (width<=1200px) {
  .workspace.advanced {
    grid-template-columns: 340px minmax(0, 1fr);
    padding-left: 18px;
    padding-right: 18px;
  }
  .style-options {
    grid-template-columns: 1fr;
  }
  .format-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (width<=760px) {
  .workspace.advanced {
    padding-left: 14px;
    padding-right: 14px;
  }
  .style-options {
    grid-template-columns: 1fr 1fr;
  }
}
.artboard-bar {
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  max-width: 1480px;
  margin: 0 auto 12px;
  padding: 0 24px;
  display: flex;
}
.artboard-tabs {
  gap: 6px;
  min-width: 0;
  padding: 3px;
  display: flex;
  overflow-x: auto;
}
.artboard-tabs button,
.artboard-actions button {
  color: #52525b;
  white-space: nowrap;
  cursor: pointer;
  background: #fff;
  border: 1px solid #e4e4e7;
  border-radius: 7px;
  height: 38px;
  padding: 0 12px;
  font-size: 11px;
  font-weight: 700;
}
.artboard-tabs button {
  align-items: center;
  gap: 7px;
  display: flex;
}
.artboard-tabs button span {
  background: #f4f4f5;
  border-radius: 4px;
  place-items: center;
  width: 20px;
  height: 20px;
  font-size: 9px;
  display: grid;
}
.artboard-tabs button.active {
  color: #18181b;
  border-color: #71717a;
  box-shadow: 0 1px 3px #00000014;
}
.artboard-tabs button.active span {
  color: #fff;
  background: #27272a;
}
.artboard-actions {
  gap: 6px;
  display: flex;
}
.artboard-actions button:last-child {
  color: #fff;
  background: #27272a;
  border-color: #27272a;
}
.line-count {
  background: #fafafa;
  border: 1px solid #e4e4e7;
  border-radius: 8px;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  padding: 10px 12px;
  display: flex;
}
.line-count > b,
.second-color b,
.color-section > div > b {
  font-size: 12px;
}
.line-count .option-buttons {
  width: 220px;
}
.color-section {
  gap: 18px;
}
.color-section > div {
  align-items: center;
  gap: 14px;
  display: flex;
}
.second-color {
  border-left: 1px solid #e4e4e7;
  padding-left: 18px;
}
.second-color-row {
  align-items: center;
  gap: 5px;
  display: flex;
}
.second-color-row input {
  background: #fff;
  border: 1px solid #d4d4d8;
  border-radius: 6px;
  width: 36px;
  height: 32px;
  padding: 3px;
}
.second-color-row button {
  color: #71717a;
  cursor: pointer;
  background: #fff;
  border: 1px solid #d4d4d8;
  border-radius: 6px;
  height: 32px;
  padding: 0 9px;
  font-size: 9px;
  font-weight: 700;
}
.second-color-row button.active {
  color: #18181b;
  background: #f4f4f5;
  border-color: #71717a;
}
@media (width<=1200px) {
  .artboard-bar {
    padding: 0 18px;
  }
  .color-section {
    flex-direction: column;
    align-items: flex-start;
  }
  .second-color {
    border-top: 1px solid #e4e4e7;
    border-left: 0;
    padding: 10px 0 0;
  }
  .line-count {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .line-count .option-buttons {
    width: 100%;
  }
}
@media (width<=760px) {
  .artboard-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 0 14px;
  }
  .artboard-actions button {
    flex: 1;
  }
  .artboard-actions {
    display: flex;
  }
  .style-options {
    grid-template-columns: 1fr 1fr;
  }
  .color-section > div {
    flex-direction: column;
    align-items: flex-start;
  }
  .second-color-row {
    flex-wrap: wrap;
  }
}
.data-name-fields label,
.field > label {
  align-items: center;
  gap: 7px;
  display: flex;
}
.data-dot {
  border: 2px solid #fff;
  border-radius: 3px;
  flex: none;
  width: 11px;
  height: 11px;
  display: inline-block;
  box-shadow: 0 0 0 1px #a1a1aa;
}
.mode-buttons {
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 8px;
  display: grid;
}
.mode-buttons button {
  color: #52525b;
  cursor: pointer;
  background: #fff;
  border: 1px solid #d4d4d8;
  border-radius: 7px;
  min-height: 38px;
  font-size: 10px;
  font-weight: 800;
  box-shadow: 0 1px 2px #0000000a;
}
.mode-buttons button.active,
.second-color-row button.active {
  color: #fff;
  background: #27272a;
  border-color: #27272a;
  box-shadow: 0 2px 5px #00000026;
}
.bulk-columns small {
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  min-height: 42px;
  display: flex;
}
.bulk-columns small b {
  color: #27272a;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  display: flex;
}
.bulk-columns small em {
  color: #71717a;
  font-size: 9px;
  font-style: normal;
  font-weight: 500;
}
.direct-hint {
  border-left-color: #27272a;
  flex-direction: column;
  gap: 3px;
  display: flex;
}
.direct-hint b {
  color: #27272a;
  font-size: 11px;
}
.direct-hint span {
  color: #71717a;
}
.artboard-manager {
  background: #fff;
  border: 1px solid #e4e4e7;
  border-radius: 12px;
  max-width: 1432px;
  margin: 0 auto 70px;
  padding: 30px;
}
.artboard-manager-head {
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  display: flex;
}
.artboard-manager-head h2 {
  letter-spacing: -0.04em;
  margin: 0;
  font-size: 28px;
}
.artboard-manager-head p:last-child {
  color: #71717a;
  max-width: 700px;
  margin: 10px 0 0;
  font-size: 11px;
  line-height: 1.8;
}
.artboard-cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
  display: grid;
}
.artboard-cards article {
  cursor: pointer;
  background: #fafafa;
  border: 1px solid #e4e4e7;
  border-radius: 9px;
  padding: 9px;
}
.artboard-cards article.active {
  border-color: #71717a;
  box-shadow: 0 0 0 2px #e4e4e7;
}
.board-thumb {
  background: #fff;
  border: 1px solid #e4e4e7;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}
.board-thumb svg {
  width: 100%;
  height: auto;
  display: block;
}
.board-thumb > span {
  color: #fff;
  background: #18181bc7;
  border-radius: 5px;
  place-items: center;
  width: 22px;
  height: 22px;
  font-size: 9px;
  font-weight: 800;
  display: grid;
  position: absolute;
  top: 6px;
  left: 6px;
}
.artboard-cards input {
  color: #27272a;
  background: 0 0;
  border: 1px solid #0000;
  border-radius: 5px;
  outline: none;
  width: 100%;
  height: 34px;
  margin-top: 7px;
  padding: 0 7px;
  font-size: 11px;
  font-weight: 700;
}
.artboard-cards input:focus {
  background: #fff;
  border-color: #a1a1aa;
}
.artboard-cards small {
  color: #a1a1aa;
  padding: 0 7px;
  font-size: 9px;
}
.batch-export {
  border-top: 1px solid #e4e4e7;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 8px;
  margin-top: 20px;
  padding-top: 18px;
  display: flex;
}
.batch-export > div {
  margin-right: auto;
}
.batch-export label {
  margin-bottom: 5px;
  font-size: 11px;
  font-weight: 800;
  display: block;
}
.batch-export > div > div {
  align-items: center;
  display: flex;
}
.batch-export input {
  border: 1px solid #d4d4d8;
  border-radius: 7px 0 0 7px;
  width: 110px;
  height: 40px;
  padding: 0 9px;
  font-size: 12px;
}
.batch-export > div > div span {
  color: #71717a;
  border: 1px solid #d4d4d8;
  border-left: 0;
  border-radius: 0 7px 7px 0;
  place-items: center;
  height: 40px;
  padding: 0 9px;
  font-size: 10px;
  display: grid;
}
.batch-export small {
  color: #a1a1aa;
  margin-top: 5px;
  font-size: 9px;
  display: block;
}
.batch-export > button {
  color: #27272a;
  cursor: pointer;
  background: #fff;
  border: 1px solid #27272a;
  border-radius: 7px;
  height: 42px;
  padding: 0 14px;
  font-size: 10px;
  font-weight: 800;
}
.batch-export > button:last-child {
  color: #fff;
  background: #27272a;
}
.tool-faq > div:last-child {
  border-top: 1px solid var(--ink);
}
@media (width<=1100px) {
  .artboard-manager {
    margin-left: 18px;
    margin-right: 18px;
  }
  .artboard-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (width<=760px) {
  .artboard-manager {
    margin: 0 14px 50px;
    padding: 18px;
  }
  .artboard-manager-head {
    flex-direction: column;
    align-items: stretch;
  }
  .artboard-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .batch-export {
    flex-direction: column;
    align-items: stretch;
  }
  .batch-export > div {
    margin: 0 0 8px;
  }
  .batch-export > button {
    width: 100%;
  }
  .mode-buttons {
    grid-template-columns: 1fr;
  }
}
.tool-intro h1 {
  max-width: 920px;
}
.hero-subtitle {
  color: #52525b;
  letter-spacing: -0.035em;
  margin: 14px 0 0;
  font-size: clamp(20px, 2.1vw, 30px);
  font-weight: 650;
  line-height: 1.35;
}
.artboard-manager {
  padding-bottom: 24px;
}
.artboard-manager-head {
  align-items: flex-start;
}
.artboard-scroll {
  background: #fafafa;
  border: 1px solid #e4e4e7;
  border-radius: 10px;
  max-height: 560px;
  margin-top: 20px;
  overflow: auto;
}
.artboard-toolbar {
  z-index: 8;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: #fffffff5;
  border-bottom: 1px solid #e4e4e7;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  display: flex;
  position: sticky;
  top: 0;
}
.artboard-toolbar > div:first-child {
  align-items: baseline;
  gap: 9px;
  display: flex;
}
.artboard-toolbar b {
  font-size: 11px;
}
.artboard-toolbar small {
  color: #71717a;
  font-size: 9px;
}
.artboard-cards {
  margin: 0;
  padding: 12px;
}
.artboard-cards article {
  background: #fff;
  padding-top: 38px;
  position: relative;
}
.board-check {
  z-index: 3;
  color: #71717a;
  cursor: pointer;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  position: absolute;
  top: 10px;
  left: 10px;
}
.board-check input {
  accent-color: #27272a;
  width: 15px;
  height: 15px;
  margin: 0;
}
.board-delete {
  z-index: 3;
  color: #71717a;
  cursor: pointer;
  background: #fff;
  border: 1px solid #e4e4e7;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  padding: 0;
  font-size: 17px;
  line-height: 1;
  position: absolute;
  top: 7px;
  right: 8px;
}
.board-delete:hover {
  color: #b91c1c;
  background: #fff7f7;
  border-color: #fecaca;
}
.board-delete:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.board-thumb > span {
  top: 5px;
  left: 5px;
}
.batch-export {
  flex-wrap: wrap;
}
.batch-export > button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.batch-export > button:nth-last-child(-n + 2) {
  color: #fff;
  background: #27272a;
}
.batch-export > button:last-child {
  background: #18181b;
}
.artboard-actions button:last-child {
  order: 2;
}
@media (width<=760px) {
  .hero-subtitle {
    font-size: 19px;
  }
  .artboard-scroll {
    max-height: 500px;
  }
  .artboard-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .artboard-toolbar .artboard-actions {
    width: 100%;
  }
  .artboard-cards {
    padding: 8px;
  }
  .batch-export > button {
    width: 100%;
  }
}
.ad-top,
.ad-bottom {
  width: 100%;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ad.ad-top,
.ad.ad-bottom {
  width: 728px;
  max-width: 728px;
  height: 90px;
  min-height: 90px;
  margin: 22px auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

@media (max-width: 767px) {
  .ad-top,
  .ad-bottom {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  .ad-top .adsbygoogle,
  .ad-bottom .adsbygoogle,
  .ad-top iframe,
  .ad-bottom iframe {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .ad.ad-top,
  .ad.ad-bottom {
    display: none !important;
    width: 0 !important;
    max-width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }
}
