:root {
  color-scheme: light;
  --ink: #20272b;
  --muted: #788187;
  --paper: #fff;
  --canvas: #f5f7f8;
  --accent: #505457;
  --accent-dark: #34383b;
  --warm: #777b7e;
  --font: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Malgun Gothic', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: var(--font); font-size: 14px; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

.site-shell { max-width: 1240px; margin: 0 auto; padding: 0 48px; }
.site-header { height: 84px; display: flex; align-items: center; border-bottom: 1px solid #e8ecee; gap: 54px; }
.brand, .footer-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; letter-spacing: -.06em; white-space: nowrap; }
.brand-mark { width: 30px; height: 30px; display: block; overflow: visible; flex: 0 0 auto; transform: translateY(0); transition: transform .35s cubic-bezier(.2, 1.3, .4, 1); }
.brand:hover .brand-mark { transform: translateY(-2px) scale(1.04); }
.brand-mark .cube-outline { fill: none; stroke: #303336; stroke-width: 3.4; stroke-linejoin: round; stroke-linecap: round; }
.header-nav { display: flex; align-items: center; height: 100%; gap: 28px; }
.nav-link { height: 100%; display: inline-flex; align-items: center; position: relative; color: #778187; font-size: 13px; font-weight: 600; }
.nav-link.active { color: var(--ink); }.nav-link::after { position: absolute; content: ''; height: 2px; background: var(--accent); left: 0; right: 0; bottom: -1px; transform: scaleX(0); transform-origin: left; transition: transform .28s cubic-bezier(.2, .8, .2, 1); }.nav-link.active::after { transform: scaleX(1); }
.header-note { margin-left: auto; color: #7a858a; font-size: 11px; display: inline-flex; align-items: center; gap: 8px; }.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #777d80; box-shadow: 0 0 0 3px #ededed; }

.intro-section { text-align: center; padding: 75px 0 42px; }
.eyebrow, .section-kicker { color: var(--accent); font-size: 10px; line-height: 1.4; font-weight: 700; letter-spacing: .15em; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 17px; font-size: 12px; }.eyebrow-line { width: 20px; height: 1px; background: var(--accent); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 15px; font-size: clamp(38px, 5vw, 54px); line-height: 1.22; letter-spacing: -.07em; font-weight: 600; }.intro-section h1 span { color: var(--accent); }
.intro-copy { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.9; }.section-kicker { margin-bottom: 7px; }
.dropzone-wrap { margin-bottom: 15px; }.dropzone { width: 100%; min-height: 150px; padding: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px dashed #cbd5d5; border-radius: 8px; background: #fbfcfc; cursor: pointer; transition: background .2s, border-color .2s, transform .3s cubic-bezier(.2, .9, .3, 1.3); }.dropzone:hover, .dropzone.dragging { transform: translateY(-2px); border-color: var(--accent); background: #f0f0f0; }.upload-icon { width: 32px; height: 32px; margin-bottom: 10px; display: grid; place-items: center; border: 1px solid #dedede; border-radius: 8px; color: var(--accent); background: white; transition: transform .35s cubic-bezier(.2, 1.4, .4, 1); }.dropzone:hover .upload-icon { transform: translateY(-2px) rotate(-5deg); }.upload-icon svg { width: 18px; height: 18px; }.dropzone-title { margin-bottom: 5px; font-size: 12px; font-weight: 600; }.dropzone-subtitle { color: #919a9e; font-size: 10px; }.browse-button { margin-top: 11px; padding: 6px 10px; border: 1px solid #e1e7e7; border-radius: 5px; color: #52605f; background: white; font-size: 10px; font-weight: 600; }.browse-button span { margin-left: 6px; color: var(--accent); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.visually-hidden:focus-visible + .dropzone { outline: 2px solid var(--accent); outline-offset: 3px; }.ratio-button { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #dedede; border-radius: 5px; color: var(--accent); background: #f0f0f0; cursor: pointer; }.ratio-button.unlocked { border-color: #e5e8e9; color: #9aa2a5; background: #f5f6f6; }.ratio-button svg { width: 17px; height: 17px; }.primary-button { min-width: 163px; height: 40px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: space-between; gap: 15px; border: 0; border-radius: 5px; color: #fff; background: var(--accent); font-size: 11px; font-weight: 600; cursor: pointer; transition: background .2s, transform .32s cubic-bezier(.2, .9, .3, 1.35), box-shadow .2s; }.primary-button:not(:disabled):hover { transform: translateY(-2px) scale(1.015); box-shadow: 0 5px 12px rgba(29, 101, 89, .16); background: var(--accent-dark); }.primary-button:not(:disabled):active, .secondary-button:active { transform: translateY(1px) scale(.975); }.primary-button:disabled { background: #aabbb7; cursor: not-allowed; }.primary-button.is-busy { opacity: .8; }.button-arrow { font-size: 16px; font-weight: 400; transition: transform .25s cubic-bezier(.2, .9, .3, 1.3); }.primary-button:not(:disabled):hover .button-arrow { transform: translateX(3px); }.shield-icon { color: var(--accent); font-size: 16px; }.how-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 18px; }.how-heading h2, .faq-heading h2 { margin: 0; font-size: 21px; letter-spacing: -.055em; }.how-heading > p { margin: 0 0 2px; color: var(--muted); font-size: 10px; }.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }.how-item { min-height: 107px; display: flex; gap: 12px; padding: 16px 15px; border: 1px solid #e6ebec; border-radius: 8px; background: rgba(255,255,255,.55); }.how-number { color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .08em; }.how-item h3 { margin: 1px 0 7px; font-size: 11px; }.how-item p { margin: 0; color: #879296; font-size: 9px; line-height: 1.65; }.faq-heading { margin-bottom: 17px; }.faq-list { border-top: 1px solid #e1e7e8; }.faq-list details { border-bottom: 1px solid #e1e7e8; }.faq-list summary { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 16px; list-style: none; font-size: 11px; font-weight: 600; cursor: pointer; }.faq-list summary::-webkit-details-marker { display: none; }.faq-list summary span { color: var(--accent); font-size: 18px; font-weight: 400; transition: transform .18s; }.faq-list details[open] summary span { transform: rotate(45deg); }.faq-list details p { max-width: 680px; margin: 0; padding: 0 35px 17px 0; color: #778286; font-size: 10px; line-height: 1.8; }
.site-footer { min-height: 100px; margin-top: 77px; display: flex; align-items: center; gap: 18px; border-top: 1px solid #e3e8e9; color: #899397; }.footer-brand { gap: 7px; color: var(--ink); font-size: 14px; }.brand-mark.small { width: 20px; height: 20px; }.site-footer > p { margin: 0; font-size: 9px; }.site-footer nav { display: flex; gap: 16px; margin-left: auto; }.site-footer nav a, .copyright { font-size: 9px; }.site-footer nav a:hover { color: var(--accent); }.copyright { color: #a4adaf; }

/* Shared layout for the policy pages. */
.policy-main { max-width: 820px; min-height: 65vh; margin: 0 auto; padding: 70px 0 30px; }.policy-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 32px; color: var(--accent); font-size: 11px; font-weight: 600; }.policy-title { margin: 0 0 10px; font-size: clamp(30px, 4vw, 42px); letter-spacing: -.07em; }.policy-updated { margin: 0 0 35px; color: #909a9d; font-size: 10px; }.policy-intro { margin-bottom: 30px; color: #647074; font-size: 13px; line-height: 1.9; }.policy-content { padding: 29px 32px; border: 1px solid #e6ebec; border-radius: 9px; background: #fff; }.policy-content section + section { margin-top: 27px; padding-top: 25px; border-top: 1px solid #edf0f0; }.policy-content h2 { margin: 0 0 10px; font-size: 14px; letter-spacing: -.03em; }.policy-content p, .policy-content li { color: #626e72; font-size: 11px; line-height: 1.9; }.policy-content p:last-child { margin-bottom: 0; }.policy-content ul { margin: 8px 0 0; padding-left: 19px; }.policy-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }.policy-notice { margin-top: 19px; padding: 13px 15px; border-left: 2px solid var(--warm); color: #6e777a; background: #fbf7f3; font-size: 10px; line-height: 1.8; }

@media (max-width: 760px) {
  .site-shell { padding: 0 25px; }.site-header { height: 72px; gap: 30px; }.header-nav { gap: 18px; }.header-note { font-size: 0; gap: 0; }.header-note .status-dot { width: 8px; height: 8px; }.intro-section { padding-top: 63px; }.site-footer { flex-wrap: wrap; row-gap: 9px; padding: 18px 0; }.site-footer nav { margin-left: auto; }.site-footer > p { order: 3; width: 100%; }.copyright { margin-left: 0; }
}
@media (max-width: 520px) {
  body { font-size: 13px; }.site-shell { padding: 0 17px; }.site-header { height: 65px; gap: 22px; }.brand { font-size: 18px; }.brand-mark { width: 25px; height: 25px; }.header-nav { gap: 14px; }.nav-link { font-size: 11px; }.future-link span { display: none; }.intro-section { padding: 56px 0 32px; }.intro-section h1 { font-size: 39px; }.intro-copy { font-size: 12px; }.desktop-break { display: none; }.step-indicator { font-size: 9px; }.dropzone { min-height: 142px; padding: 14px 8px; }.dropzone-title { font-size: 10px; }.dropzone-subtitle { font-size: 9px; }.primary-button { width: 100%; }.how-heading { align-items: start; flex-direction: column; gap: 9px; }.how-heading h2, .faq-heading h2 { font-size: 19px; }.how-grid { grid-template-columns: 1fr; gap: 8px; }.how-item { min-height: 70px; }.site-footer { margin-top: 57px; gap: 12px; }.site-footer nav { gap: 11px; }.site-footer nav a, .copyright { font-size: 8px; }
  .policy-main { padding: 48px 0 20px; }.policy-title { font-size: 32px; }.policy-content { padding: 23px 18px; }.policy-intro { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }

/* Mobile layout refinements */
@media (max-width: 760px) {
  .site-shell { padding-right: 22px; padding-left: 22px; }
  .site-header { gap: 20px; }
  .header-nav { gap: 16px; }.color-card, .utility-card, .json-card { min-width: 0; }
  .policy-main { width: 100%; }
}

@media (max-width: 520px) {
  .site-shell { padding-right: 16px; padding-left: 16px; }
  .site-header { min-height: 64px; height: auto; gap: 12px; }
  .brand { flex: 0 0 auto; }
  .header-nav { gap: 10px; }
  .nav-link { min-height: 54px; font-size: 10px; white-space: nowrap; }
  .header-note { display: none; }
  .intro-section { padding-top: 43px; }
  .intro-section h1 { font-size: clamp(32px, 9vw, 39px); }
  .intro-copy { max-width: 34em; margin-right: auto; margin-left: auto; line-height: 1.8; }
  .general-tool-picker, .developer-tool-picker { display: grid; grid-template-columns: 1fr; gap: 7px; }
  .general-tool-picker select, .developer-tool-picker select { width: 100%; min-width: 0; }
  .utility-heading { overflow-wrap: anywhere; }
  .utility-heading h2, .json-heading h2 { font-size: 19px; line-height: 1.4; }
  .utility-card { padding: 14px; }
  .utility-actions { gap: 7px; }
  .utility-actions > button { flex: 1 1 auto; }
  .color-card { padding: 12px; }
  .color-values-column { grid-template-columns: minmax(0, 1fr); }
  .color-format-group:first-child { grid-column: auto; }
  .color-component-grid { gap: 7px; }
  .color-component-grid input { height: 36px; font-size: 11px; }
  .json-toolbar { gap: 8px; }
  .json-file-button { flex: 0 0 auto; }
  .json-file-name { flex: 1 1 100px; }
  .json-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .json-actions .primary-button { grid-column: 1 / -1; width: 100%; }
  .json-pane-heading { flex-wrap: wrap; padding: 8px; }
  .json-pane-heading span { flex: 1 1 100%; order: 3; }
  .workspace-home { margin-left: auto; }
  .json-viewport { min-height: 340px; height: 60vh; }
  .json-node-block { grid-template-columns: minmax(100px, 34vw) max-content; }
  .json-key-block { width: auto; min-width: 100px; }
  .json-value-block { min-width: 260px; max-width: 70vw; overflow-wrap: anywhere; }
  .site-footer { align-items: flex-start; }
  .site-footer nav { flex-wrap: wrap; justify-content: flex-end; }
}

@media (max-width: 360px) {
  .site-shell { padding-right: 12px; padding-left: 12px; }
  .site-header { gap: 8px; }
  .brand { gap: 6px; font-size: 16px; }
  .brand-mark { width: 23px; height: 23px; }
  .header-nav { gap: 7px; }
  .nav-link { font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
}
.json-section { max-width: 960px; margin: 0 auto; scroll-margin-top: 24px; }
.json-heading { margin-bottom: 18px; }.json-heading h2 { margin: 0 0 8px; font-size: 21px; letter-spacing: -.05em; }.json-heading p:last-child { margin: 0; color: #778286; font-size: 11px; line-height: 1.7; }
.json-card { padding: 20px; border: 1px solid #e6ebec; border-radius: 9px; background: #fff; box-shadow: 0 12px 36px rgba(29,48,54,.035); }
.json-toolbar { display: flex; align-items: center; gap: 12px; }.json-file-button, .secondary-button { min-height: 36px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #dfe6e6; border-radius: 5px; background: #fff; color: #52605f; font-size: 10px; font-weight: 600; cursor: pointer; }.json-file-button:hover, .secondary-button:not(:disabled):hover { border-color: #73797c; color: var(--accent); }.json-file-name { min-width: 0; overflow: hidden; color: #879195; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }.json-actions { display: flex; gap: 8px; margin-left: auto; }.json-actions .primary-button { min-width: auto; height: 36px; font-size: 10px; }.secondary-button:disabled { opacity: .5; cursor: not-allowed; }
.json-status { margin: 14px 0 0; color: #748084; font-size: 10px; line-height: 1.6; }.json-status.is-error { color: #a34343; }
.json-workspace { display: grid; gap: 13px; margin-top: 16px; }.json-pane { min-width: 0; overflow: hidden; border: 1px solid #e7ebec; border-radius: 6px; }.json-pane-heading { min-height: 39px; margin: 0; padding: 0 11px; display: flex; align-items: center; justify-content: space-between; gap: 8px; border-bottom: 1px solid #e7ebec; background: #fafbfb; }.json-pane-heading h3 { margin: 0; font-size: 10px; }.json-pane-heading span { color: #929b9e; font-size: 9px; }
.json-tree { padding: 10px; color: #445154; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 10px; }.json-tree summary { min-height: 25px; display: flex; align-items: center; gap: 9px; list-style: none; cursor: pointer; }.json-tree summary::-webkit-details-marker { display: none; }.json-tree summary::before { width: 10px; color: #7f918c; content: '›'; }.json-tree details[open] > summary::before { content: '⌄'; }.tree-limit { color: #929b9e; font-family: var(--font); font-size: 9px; }
.json-pane:focus-within { border-color: #777d80; box-shadow: 0 0 0 2px rgba(40,127,112,.06); }
@media (max-width: 760px) { .json-section { max-width: 620px; margin-top: 65px; } }
@media (max-width: 520px) { .json-card { padding: 13px; }.json-toolbar { align-items: flex-start; flex-wrap: wrap; }.json-file-name { flex: 1 1 120px; padding-top: 11px; }.json-actions { width: 100%; margin: 0; }.json-actions > * { flex: 1; }.json-actions .primary-button { width: auto; }.json-tree { min-height: 300px; max-height: 300px; }.json-heading h2 { font-size: 18px; } }
.nav-link { padding: 0; border: 0; background: transparent; font-family: inherit; cursor: pointer; }
.general-tool-picker, .developer-tool-picker { width: 100%; max-width: 960px; margin: 0 auto 24px; display: grid; gap: 7px; }
.general-tool-picker label, .developer-tool-picker label { color: #687572; font-size: 10px; font-weight: 600; }
.general-tool-picker select, .developer-tool-picker select { width: 100%; min-width: 0; height: 42px; padding: 0 12px; border: 1px solid #dfe6e6; border-radius: 5px; color: #34423f; background: #fff; font: 11px var(--font); }
.general-tool-picker select:focus-visible, .developer-tool-picker select:focus-visible { outline: 2px solid rgba(40,127,112,.35); outline-offset: 2px; }
.json-actions #json-new { white-space: nowrap; }
.json-dropzone { width: 100%; min-height: 104px; margin-top: 15px; padding: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 1px dashed #cbd5d5; border-radius: 7px; background: #fbfcfc; color: #556260; cursor: pointer; transition: border-color .18s, background .18s; }
.json-dropzone:hover, .json-dropzone.dragging { border-color: var(--accent); background: #f0f0f0; }.json-dropzone strong { font-size: 10px; }.json-dropzone > span:last-child { color: #909a9d; font-size: 9px; }.json-drop-icon { color: var(--accent); font: 700 17px ui-monospace, monospace; }
.json-workspace { align-items: stretch; }.json-tree { padding: 12px; }.tree-limit { padding: 7px; }
.dev-how-section, .dev-faq-section { max-width: 960px; margin: 65px auto 0; }.dev-faq-section { margin-top: 68px; }
@media (max-width: 760px) { .dev-how-section, .dev-faq-section { max-width: 620px; } }
@media (max-width: 520px) { .json-dropzone { min-height: 94px; }.dev-how-section, .dev-faq-section { margin-top: 56px; } }
.json-workspace { grid-template-columns: minmax(0, 1fr); }.block-editor-pane { width: 100%; }.block-canvas { max-height: 720px; padding: 15px; background-color: #f8faf9; background-image: radial-gradient(#dedede .8px, transparent .8px); background-size: 16px 16px; }
.json-block-root { max-width: 780px; margin: 0 auto; }.json-node-block { display: grid; grid-template-columns: minmax(140px, .38fr) minmax(0, 1fr); align-items: start; gap: 9px; margin: 0 0 9px; }
.json-key-block, .json-value-block { min-width: 0; padding: 9px; border: 1px solid #dedede; border-radius: 7px; background: #fff; box-shadow: 0 2px 5px rgba(29,48,54,.035); }.json-key-block { display: grid; gap: 6px; border-left: 3px solid #777d80; }.block-field-label { color: #82908d; font-size: 8px; font-weight: 700; letter-spacing: .1em; }.block-key-input, .block-scalar-input, .block-type-select { min-width: 0; width: 100%; height: 31px; padding: 0 8px; border: 1px solid #e3e9e7; border-radius: 4px; outline: none; color: #34423f; background: #fff; font: 10px ui-monospace, SFMono-Regular, Consolas, monospace; }.block-key-input:focus, .block-scalar-input:focus, .block-type-select:focus { border-color: #73797c; box-shadow: 0 0 0 2px rgba(40,127,112,.07); }.block-key-index { padding: 7px 8px; color: #51575a; font: 10px ui-monospace, SFMono-Regular, Consolas, monospace; }
.block-root-key { padding: 7px 8px; color: #51575a; font: 700 11px ui-monospace, SFMono-Regular, Consolas, monospace; }
.json-value-block { display: grid; gap: 8px; border-left: 3px solid #d29b72; }.json-value-header { display: flex; align-items: center; gap: 8px; }.json-value-header .block-field-label { margin-right: auto; }.block-type-select { width: auto; min-width: 88px; height: 28px; font-family: var(--font); }.block-remove-button { padding: 5px 7px; border: 0; border-radius: 4px; color: #a66d62; background: #fbf2ef; font-size: 8px; cursor: pointer; }.block-null-value { padding: 7px 8px; border: 1px dashed #e1e6e5; border-radius: 4px; color: #8b63a1; font: 10px ui-monospace, monospace; }
.block-structure { border: 1px solid #e6e6e6; border-radius: 5px; background: #fafcfb; }.block-structure > summary { min-height: 30px; padding: 7px 9px; color: #64736f; font-size: 9px; font-weight: 600; cursor: pointer; }.block-children { padding: 9px; border-top: 1px solid #e7e7e7; }.block-children > .json-node-block { margin-bottom: 9px; }.block-add-button { min-height: 30px; padding: 0 10px; border: 1px dashed #9bb9b0; border-radius: 5px; color: var(--accent); background: #f0f0f0; font-size: 9px; font-weight: 600; cursor: pointer; }.block-add-button:hover { background: #e8e8e8; }
@media (max-width: 600px) { .block-canvas { padding: 10px; }.json-node-block { grid-template-columns: 1fr; gap: 5px; margin-bottom: 8px; }.json-key-block, .json-value-block { padding: 8px; }.block-children { padding: 7px; } }
.block-editor-pane { overflow: visible; }.block-editor-pane > .json-pane-heading { border: 1px solid #e7ebec; border-radius: 6px 6px 0 0; }.workspace-home { margin-left: auto; padding: 5px 8px; border: 1px solid #dfe6e6; border-radius: 4px; background: #fff; color: #65726f; font-size: 9px; cursor: pointer; }.workspace-home:hover { border-color: #73797c; color: var(--accent); }
.json-viewport { height: min(70vh, 760px); min-height: 430px; overflow: auto; overscroll-behavior: contain; border: 1px solid #e7ebec; border-top: 0; border-radius: 0 0 6px 6px; background: #f8faf9; cursor: grab; scrollbar-color: #c5d3cf #edf2f0; scrollbar-width: thin; touch-action: pan-x pan-y; }.json-viewport.is-panning { cursor: grabbing; user-select: none; }.json-viewport.is-panning * { user-select: none; }
.json-tree.block-canvas { width: max-content; min-width: 100%; min-height: 100%; max-height: none; overflow: visible; padding: 24px; background-color: #f8faf9; background-image: radial-gradient(#dedede .8px, transparent .8px); background-size: 16px 16px; }.json-block-root { width: max-content; max-width: none; min-height: 100%; margin: 0; }.json-node-block { width: max-content; grid-template-columns: 145px max-content; gap: 9px; margin: 0 0 10px; }.json-key-block { width: 145px; }.json-value-block { width: max-content; min-width: 380px; }.block-children { width: max-content; min-width: 100%; }.block-children > .json-node-block { margin-bottom: 9px; }
@media (max-width: 600px) { .json-viewport { height: 68vh; min-height: 360px; }.json-tree.block-canvas { padding: 14px; }.json-node-block { grid-template-columns: 125px max-content; gap: 7px; }.json-key-block { width: 125px; }.json-value-block { min-width: 320px; } }
.color-tool-section { max-width: 960px; margin: 78px auto 0; }.color-card { display: grid; grid-template-columns: minmax(260px, .85fr) minmax(0, 1.15fr); gap: 24px; padding: 24px; border: 1px solid #e6ebec; border-radius: 9px; background: #fff; box-shadow: 0 12px 36px rgba(29,48,54,.035); }.color-picker-column { display: grid; align-content: start; gap: 12px; }.color-picker-top { display: flex; align-items: center; justify-content: space-between; }.native-color-label, .color-range-label { color: #647074; font-size: 10px; font-weight: 600; }.native-color-label { display: flex; align-items: center; gap: 8px; }.color-picker-top input[type=color] { width: 42px; height: 32px; padding: 3px; border: 1px solid #e0e7e6; border-radius: 5px; background: #fff; cursor: pointer; }.color-field { width: 100%; aspect-ratio: 5 / 3; display: block; border-radius: 6px; cursor: crosshair; touch-action: none; }.color-field:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }.color-range-label { display: flex; justify-content: space-between; margin: 2px 0 -7px; }.color-range-label span { color: #899397; font-weight: 400; }.color-range { width: 100%; height: 14px; margin: 0; appearance: none; border-radius: 99px; cursor: pointer; }.color-range::-webkit-slider-thumb { width: 17px; height: 17px; appearance: none; border: 2px solid #fff; border-radius: 50%; background: #fff; box-shadow: 0 1px 5px #0005; }.color-range::-moz-range-thumb { width: 13px; height: 13px; border: 2px solid #fff; border-radius: 50%; background: #fff; box-shadow: 0 1px 5px #0005; }.hue-range { background: linear-gradient(90deg, #f00, #ff0, #0f0, #0ff, #00f, #f0f, #f00); }.alpha-range { background-color: #fff; background-image: linear-gradient(90deg, transparent, #505457), conic-gradient(#d9dddd 25%, #fff 0 50%, #d9dddd 0 75%, #fff 0); background-size: 100% 100%, 12px 12px; }
.color-preview-row { display: flex; align-items: center; gap: 11px; margin-top: 4px; padding: 10px; border: 1px solid #e7ebec; border-radius: 6px; }.color-preview { width: 42px; height: 42px; flex: 0 0 42px; border: 1px solid #dfe5e4; border-radius: 5px; background-image: linear-gradient(var(--picked-color), var(--picked-color)), conic-gradient(#e4e7e6 25%, #fff 0 50%, #e4e7e6 0 75%, #fff 0); background-size: 100% 100%, 12px 12px; }.color-preview-row > div { min-width: 0; display: grid; gap: 3px; }.color-preview-row strong { font: 600 12px ui-monospace, SFMono-Regular, Consolas, monospace; }.color-preview-row small { color: #899397; font-size: 9px; }.color-preview-row #contrast-output { color: #687572; }
.color-values-column { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: 10px; }.color-format-group { min-width: 0; padding: 11px; border: 1px solid #e7ebec; border-radius: 6px; background: #fff; }.color-format-group:first-child { grid-column: 1 / -1; }.color-format-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; }.color-format-heading h3 { margin: 0; font-size: 10px; letter-spacing: .04em; }.copy-color-button { padding: 4px 7px; border: 1px solid #e2e8e7; border-radius: 4px; color: #65726f; background: white; font-size: 8px; cursor: pointer; }.copy-color-button:hover { color: var(--accent); border-color: #73797c; }.color-input-line, .color-component-grid label { display: grid; gap: 5px; color: #8a9497; font-size: 8px; }.color-input-line { grid-template-columns: 34px minmax(0, 1fr); align-items: center; }.color-input-line input, .color-component-grid input { width: 100%; min-width: 0; height: 31px; padding: 0 7px; border: 1px solid #e2e8e7; border-radius: 4px; outline: none; color: #354247; background: #fff; font: 10px ui-monospace, SFMono-Regular, Consolas, monospace; }.color-input-line input:focus, .color-component-grid input:focus { border-color: #73797c; box-shadow: 0 0 0 2px rgba(40,127,112,.07); }.color-component-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }.color-format-group:last-of-type .color-component-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }.color-css-output { margin: 8px 0 0; overflow: hidden; color: #7f898c; font: 8px ui-monospace, SFMono-Regular, Consolas, monospace; text-overflow: ellipsis; white-space: nowrap; }.color-status { grid-column: 1 / -1; margin: 1px 0 0; color: #73807d; font-size: 9px; line-height: 1.5; }.color-status.is-error { color: #a34343; }
@media (max-width: 760px) { .color-tool-section { max-width: 620px; margin-top: 65px; }.color-card { grid-template-columns: 1fr; gap: 18px; padding: 18px; } }
@media (max-width: 520px) { .color-card { padding: 13px; }.color-values-column { gap: 7px; }.color-format-group { padding: 9px; }.color-component-grid { gap: 4px; }.color-component-grid input { padding: 0 4px; font-size: 9px; }.color-tool-section { margin-top: 54px; } }
.utility-tool-section { width: 100%; max-width: 960px; margin: 0 auto 58px; }
.utility-heading { margin-bottom: 20px; }.utility-heading .section-kicker { margin-bottom: 7px; }.utility-heading h2 { margin: 0 0 8px; font-size: 23px; letter-spacing: -.055em; }.utility-heading > p:last-child { margin: 0; color: #778286; font-size: 11px; line-height: 1.7; }
.utility-card { padding: 22px; border: 1px solid #e6ebec; border-radius: 9px; background: #fff; box-shadow: 0 12px 36px rgba(29,48,54,.035); }
.utility-label { min-width: 0; display: grid; gap: 7px; margin-bottom: 12px; color: #687572; font-size: 10px; font-weight: 600; }
.utility-textarea { width: 100%; min-height: 150px; display: block; resize: vertical; padding: 12px; border: 1px solid #e2e8e7; border-radius: 5px; outline: none; color: #354247; background: #fff; font: 11px/1.65 var(--font); }
.utility-textarea:focus, .utility-input:focus { border-color: #73797c; box-shadow: 0 0 0 2px rgba(40,127,112,.07); }
.text-stats { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 13px 0; border-bottom: 1px solid #edf0f0; color: #7f898c; font-size: 9px; }.text-stats strong { margin-left: 4px; color: #34423f; font: 600 11px ui-monospace, SFMono-Regular, Consolas, monospace; }
.utility-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }.utility-actions .primary-button { width: auto; min-height: 36px; height: 36px; font-size: 10px; }.utility-actions .secondary-button { min-height: 36px; }
.utility-status { margin: 14px 0 0; color: #748084; font-size: 10px; line-height: 1.6; }.utility-status.is-error { color: #a34343; }
.beta-badge { display: inline-block; margin-left: 7px; padding: 3px 6px; border: 1px solid #b47a27; border-radius: 4px; color: #805312; font-size: 9px; font-weight: 700; letter-spacing: .08em; vertical-align: middle; }
.beta-notice { margin: -5px 0 16px; padding: 11px 13px; border: 1px solid #ead8b8; border-radius: 6px; color: #70572e; background: #fbf6eb; font-size: 10px; line-height: 1.65; }
.beta-notice strong { margin-right: 5px; }
.utility-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: 12px; }.utility-input { width: 100%; min-width: 0; height: 39px; padding: 0 10px; border: 1px solid #e2e8e7; border-radius: 5px; outline: none; color: #354247; background: #fff; font: 11px var(--font); }.utility-label small { color: #899397; font-size: 9px; font-weight: 400; }
.studio-canvas { display: block; max-width: 100%; max-height: 70vh; margin: 16px auto; object-fit: contain; border: 1px solid #e5e9ea; border-radius: 5px; background-color: #fff; }
.draw-canvas { width: 100%; touch-action: none; cursor: crosshair; }
.image-thumb-list { display: flex; gap: 8px; max-width: 100%; margin-top: 12px; overflow-x: auto; }
.image-thumb-list figure { flex: 0 0 84px; margin: 0; color: #788187; font-size: 9px; text-align: center; }
.image-thumb-list img { width: 84px; height: 84px; display: block; border-radius: 5px; object-fit: cover; }
.image-thumb-list figcaption { padding-top: 4px; }
.image-thumb-list figcaption { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.image-thumb-list.single-image-preview figure { flex-basis: 180px; }
.image-thumb-list.single-image-preview img { width: 180px; height: 120px; object-fit: contain; background: #f1f3f3; }
.image-editor-panel { width: 100%; max-width: 1240px; margin: 0 auto 58px; }
.image-editor-upload { margin-bottom: 14px; }
.image-editor-workbench { display: grid; grid-template-columns: 52px minmax(0, 1fr) 290px; gap: 12px; align-items: stretch; }
.image-editor-tools { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 9px 5px; border: 1px solid #e4e8e9; border-radius: 8px; background: var(--paper); }
.editor-tool-button { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid transparent; border-radius: 6px; color: #51595d; background: transparent; font-size: 20px; cursor: pointer; }
.editor-tool-button:disabled { opacity: .38; cursor: not-allowed; }
.editor-tool-button:disabled:hover { border-color: transparent; background: transparent; }
.editor-tool-button:hover, .editor-tool-button.active { border-color: #d9dfe1; background: #f0f1f1; }
.editor-tool-button.active { color: #20272b; box-shadow: inset 0 0 0 1px #d1d6d8; }
.editor-tools-divider { width: 28px; height: 1px; margin: 3px 0; background: #e3e7e8; }
.editor-color-label { width: 34px; height: 34px; display: block; overflow: hidden; border: 1px solid #dfe3e4; border-radius: 5px; }
.editor-color-label input { width: 44px; height: 44px; margin: -5px; padding: 0; border: 0; cursor: pointer; }
.editor-size-label input { width: 38px; height: 32px; padding: 2px; border: 1px solid #dfe3e4; border-radius: 4px; text-align: center; font-size: 10px; }
.image-editor-viewport { position: relative; min-width: 0; min-height: min(72vh, 760px); overflow: hidden; border: 1px solid #303438; border-radius: 8px; background-color: #26292c; background-image: linear-gradient(45deg,#303438 25%,transparent 25%),linear-gradient(-45deg,#303438 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#303438 75%),linear-gradient(-45deg,transparent 75%,#303438 75%); background-size: 24px 24px; background-position: 0 0,0 12px,12px -12px,-12px 0; cursor: grab; touch-action: none; }
.image-editor-viewport.is-panning { cursor: grabbing; }
.image-editor-canvas-stack { position: absolute; top: 50%; left: 50%; overflow: visible; transform-origin: center; }
.image-editor-canvas-stack canvas { position: absolute; inset: 0; display: block; max-width: none; max-height: none; image-rendering: auto; }
.image-editor-canvas-stack canvas + canvas { z-index: 1; }
.image-editor-canvas-stack.is-drawing { cursor: crosshair; }
.image-editor-empty { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; color: #c7cccf; font-size: 13px; text-align: center; pointer-events: none; }
.image-editor-empty[hidden] { display: none; }
.image-editor-zoom { position: absolute; z-index: 3; top: 10px; right: 10px; display: flex; align-items: center; gap: 3px; padding: 4px; border: 1px solid #45494c; border-radius: 6px; color: #f1f1f1; background: rgba(25,27,29,.88); font-size: 10px; }
.image-editor-zoom button { min-width: 28px; height: 25px; border: 0; border-radius: 4px; color: inherit; background: transparent; cursor: pointer; }
.image-editor-zoom button:hover { background: #44484b; }
.image-editor-zoom span { min-width: 38px; text-align: center; }
.image-editor-settings { min-width: 0; align-self: start; overflow: hidden; border: 1px solid #e4e8e9; border-radius: 8px; background: var(--paper); }
.editor-setting-group { display: grid; gap: 10px; padding: 15px; border-bottom: 1px solid #e8ecee; }
.editor-setting-group h3 { margin: 0; font-size: 12px; }
.editor-setting-group label { display: grid; min-width: 0; gap: 5px; color: #677277; font-size: 10px; }
.editor-setting-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; align-items: end; }
.editor-size-pair { grid-template-columns: minmax(0,1fr) 34px minmax(0,1fr); }
.editor-size-pair .ratio-button { width: 34px; height: 34px; }
.editor-button-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
.editor-button-row .secondary-button { min-width: 0; min-height: 34px; padding: 0 6px; font-size: 9px; }
.editor-wide-button { width: 100%; min-height: 34px; font-size: 10px; }
.editor-quality-label { display: grid !important; grid-template-columns: 1fr auto; align-items: center; }
.editor-quality-label input { grid-column: 1 / -1; }
.editor-quality-label[hidden], .editor-transparency-setting[hidden] { display: none !important; }
.editor-transparency-setting { display: flex !important; grid-template-columns: auto 1fr; align-items: center; gap: 8px !important; margin-top: 10px; }
.editor-transparency-setting input { margin: 0; accent-color: var(--accent); }
.editor-export { display: grid; gap: 8px; padding: 15px; }
.editor-export .primary-button { width: 100%; min-width: 0; }
.editor-export .utility-status, .editor-setting-group .utility-status { margin: 0; line-height: 1.55; }
html[data-theme="dark"] .image-editor-tools, html[data-theme="dark"] .image-editor-settings { border-color: #393939; background: #202020; }
html[data-theme="dark"] .editor-tool-button { color: #d4d4d4; }
html[data-theme="dark"] .editor-tool-button:hover, html[data-theme="dark"] .editor-tool-button.active { border-color: #484848; color: #f1f1f1; background: #303030; }
html[data-theme="dark"] .editor-tools-divider, html[data-theme="dark"] .editor-setting-group { border-color: #3b3b3b; }
html[data-theme="dark"] .editor-setting-group label { color: #b0b0b0; }
html[data-theme="dark"] .editor-color-label, html[data-theme="dark"] .editor-size-label input { border-color: #444; }
html[data-theme="dark"] .image-editor-viewport { border-color: #414141; }
@media (max-width: 980px) { .image-editor-workbench { grid-template-columns: 48px minmax(0,1fr); }.image-editor-settings { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }.editor-export { grid-column: 1 / -1; }.image-editor-viewport { min-height: min(65vh,700px); } }
@media (max-width: 600px) { .image-editor-workbench { grid-template-columns: 1fr; gap: 9px; }.image-editor-tools { flex-direction: row; justify-content: center; flex-wrap: wrap; }.editor-tools-divider { width: 1px; height: 26px; margin: 0 2px; }.image-editor-viewport { min-height: 55vh; }.image-editor-settings { grid-template-columns: 1fr; }.editor-export { grid-column: auto; }.image-editor-zoom { top: 6px; right: 6px; } }
.code-input { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }.regex-pattern-row { grid-template-columns: minmax(0, 1fr) 100px; margin-bottom: 14px; }.regex-pattern-row .utility-label { margin-bottom: 0; }.regex-pattern-row + .utility-label { margin-top: 0; }
.utility-result-heading { display: flex; justify-content: space-between; margin: 15px 0 7px; color: #465450; font-size: 10px; }.utility-result-heading span { color: #7b8985; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }.utility-output { max-height: 320px; min-height: 80px; overflow: auto; margin: 0; padding: 12px; border: 1px solid #e7ebec; border-radius: 5px; color: #475553; background: #f8faf9; font: 10px/1.7 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.timestamp-date-row { margin-top: 18px; }.timestamp-date-row .utility-label { margin: 0; }.timestamp-date-row .secondary-button { min-height: 39px; }.utility-result-box { display: grid; gap: 6px; margin-top: 16px; padding: 14px; border: 1px solid #e7ebec; border-radius: 5px; background: #f8faf9; }.utility-result-box span { color: #879195; font-size: 9px; }.utility-result-box strong, .utility-result-box code { color: #34423f; font: 11px ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere; }.utility-result-box span:nth-of-type(2) { margin-top: 7px; }
.uuid-actions { align-self: end; margin: 0 0 12px; }.uuid-actions .secondary-button:disabled { opacity: .5; cursor: not-allowed; }
@media (max-width: 520px) { .utility-heading h2 { font-size: 20px; }.utility-card { padding: 15px; }.utility-form-grid { grid-template-columns: 1fr; gap: 4px; }.regex-pattern-row { grid-template-columns: minmax(0, 1fr) 78px; }.timestamp-date-row .secondary-button { width: 100%; }.uuid-actions { margin: 0 0 12px; }.text-stats { gap: 7px 13px; } }
.tool-page { width: 100%; }
.general-tool-picker { margin-bottom: 24px; }#color-tool-panel { width: 100%; max-width: 960px; margin: 0 auto; }
#color-tool-panel .color-tool-section, #color-tool-panel .dev-how-section { width: 100%; max-width: none; }
.utility-heading.tool-panel-heading { margin: 0 auto 20px; }
.developer-tool-picker { margin-bottom: 24px; }
.general-tool-picker, .developer-tool-picker { margin-bottom: 24px; }
.general-tool-panel .utility-heading, .developer-tool-panel .utility-heading { margin-top: 0; margin-bottom: 20px; }
#color-tool-panel .color-tool-section { margin-top: 0; }
#json-editor-panel .json-section { margin-top: 0; }
.shadow-preview-wrap { min-height: 210px; display: grid; place-items: center; margin-bottom: 20px; border: 1px solid #e7ebec; border-radius: 6px; background: #f8faf9; }
.shadow-preview { width: 180px; height: 110px; display: grid; place-items: center; border: 1px solid #e8eceb; border-radius: 10px; color: #53615e; background: #fff; font-size: 12px; }
.shadow-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.shadow-controls .utility-label { grid-template-columns: 1fr auto; align-items: center; }
.shadow-controls input[type="range"] { grid-column: 1 / -1; padding: 0; accent-color: var(--accent); }
.shadow-controls input[type="color"] { width: 52px; padding: 4px; }
.shadow-controls output { color: #788187; font: 10px ui-monospace, SFMono-Regular, Consolas, monospace; }
@media (max-width: 760px) {.general-tool-picker, .developer-tool-picker, #color-tool-panel, .utility-tool-section, .json-section { max-width: 100%; }.utility-tool-section { margin-bottom: 48px; } }

@keyframes page-arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes rise-in { 0% { opacity: 0; transform: translateY(13px); } 76% { opacity: 1; transform: translateY(-2px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes tool-pop { 0% { opacity: 0; transform: translateY(15px) scale(.985); } 72% { opacity: 1; transform: translateY(-2px) scale(1.003); } 100% { opacity: 1; transform: translateY(0) scale(1); } }
.tool-page:not([hidden]) { animation: page-arrive .36s ease-out both; }
.general-tool-panel:not([hidden]), .developer-tool-panel:not([hidden]) { animation: tool-pop .5s .28s cubic-bezier(.2, .85, .3, 1.15) both; transform-origin: top center; }
.tool-page:not([hidden]) .intro-section .eyebrow { animation: rise-in .42s .03s both; }
.tool-page:not([hidden]) .intro-section h1 { animation: rise-in .46s .1s both; }
.tool-page:not([hidden]) .intro-section .intro-copy { animation: rise-in .44s .17s both; }
.tool-page:not([hidden]) .general-tool-picker, .tool-page:not([hidden]) .developer-tool-picker { animation: rise-in .46s .24s both; }
.general-tool-panel:not([hidden]) .tool-panel-heading .section-kicker,
.general-tool-panel:not([hidden]) .utility-heading .section-kicker,
.developer-tool-panel:not([hidden]) .utility-heading .section-kicker,
.developer-tool-panel:not([hidden]) .json-heading .section-kicker { animation: rise-in .4s .4s both; }
.general-tool-panel:not([hidden]) .tool-panel-heading h2,
.general-tool-panel:not([hidden]) .utility-heading h2,
.developer-tool-panel:not([hidden]) .utility-heading h2,
.developer-tool-panel:not([hidden]) .json-heading h2 { animation: rise-in .42s .46s both; }
.general-tool-panel:not([hidden]) .tool-panel-heading > p:last-child,
.general-tool-panel:not([hidden]) .utility-heading > p:last-child,
.developer-tool-panel:not([hidden]) .utility-heading > p:last-child,
.developer-tool-panel:not([hidden]) .json-heading p:last-child { animation: rise-in .42s .52s both; }#color-tool-panel:not([hidden]) .color-tool-section, .general-tool-panel:not([hidden]) > .utility-card, .developer-tool-panel:not([hidden]) .utility-card, .developer-tool-panel:not([hidden]) .json-card, .developer-tool-panel:not([hidden]) .json-section { animation: rise-in .48s .61s both; }#color-tool-panel:not([hidden]) .dev-how-section, .developer-tool-panel:not([hidden]) .dev-how-section { animation: rise-in .44s .74s both; }.developer-tool-panel:not([hidden]) .dev-faq-section { animation: rise-in .44s .92s both; }.general-tool-picker select, .developer-tool-picker select, .ratio-button, .secondary-button, .copy-color-button, .how-item, .color-format-group, .shadow-preview { transition: border-color .2s, box-shadow .22s, background-color .2s, color .2s, transform .3s cubic-bezier(.2, .9, .3, 1.25); }
.general-tool-picker select:hover, .developer-tool-picker select:hover { border-color: #a9c5bd; }
.ratio-button:hover, .secondary-button:not(:disabled):hover, .copy-color-button:hover { transform: translateY(-1px); }.how-item:hover, .color-format-group:hover { transform: translateY(-2px); border-color: #cbdcd7; box-shadow: 0 7px 18px rgba(29, 48, 54, .045); }
.shadow-preview { transition: box-shadow .16s ease-out; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }.brand:hover .brand-mark, .dropzone:hover, .dropzone.dragging, .primary-button:not(:disabled):hover, .primary-button:not(:disabled):active, .secondary-button:active, .ratio-button:hover, .secondary-button:not(:disabled):hover, .copy-color-button:hover, .how-item:hover, .color-format-group:hover { transform: none !important; }
}

/* Refined brand mark and improved reading sizes */
.intro-section h1 { font-size: clamp(34px, 4.1vw, 44px); }
@media (max-width: 520px) { .intro-section h1 { font-size: clamp(29px, 7.5vw, 34px); } }
.header-note { font-size: 12px; }
.eyebrow, .section-kicker { font-size: 12px; }
.intro-copy { font-size: 16px; }
.dropzone-title { font-size: 14px; }
.dropzone-subtitle, .browse-button { font-size: 12px; }.native-color-label, .color-range-label { font-size: 12px; }.how-heading > p { font-size: 11px; }
.primary-button { font-size: 13px; }.how-item p, .faq-list p { font-size: 13px; }
.policy-title { font-size: clamp(34px, 4.2vw, 44px); }
.policy-intro { font-size: 15px; }
.policy-content h2 { font-size: 16px; }
.policy-content p, .policy-content li { font-size: 14px; }
.policy-notice { font-size: 13px; }
.json-heading p:last-child, .utility-heading > p:last-child { font-size: 13px; }
.json-file-button, .secondary-button, .json-file-name, .json-status, .utility-label, .utility-status { font-size: 12px; }
.json-tree { font-size: 12px; }
.json-pane-heading h3 { font-size: 12px; }
.json-pane-heading span, .tree-limit { font-size: 11px; }
.color-format-heading h3 { font-size: 12px; }
.copy-color-button, .color-input-line, .color-component-grid label, .color-status { font-size: 11px; }
.utility-actions .primary-button { font-size: 12px; }
.utility-result-heading { font-size: 12px; }
.utility-result-box span { font-size: 11px; }
@media (max-width: 520px) {
  .intro-copy { font-size: 14px; }
  .dropzone-title { font-size: 13px; }
  .dropzone-subtitle, .browse-button { font-size: 11px; }
  .nav-link { font-size: 11px; }
  .policy-title { font-size: 31px; }
  .policy-intro { font-size: 14px; }
  .policy-content p, .policy-content li { font-size: 13px; }
  .json-tree { font-size: 11px; }
}
/* FAQ readability */
.faq-heading h2 { font-size: 24px; }
.faq-list summary { font-size: 14px; }
.faq-list details p { font-size: 14px; }
@media (max-width: 520px) {
  .faq-heading h2 { font-size: 21px; }
  .faq-list summary { font-size: 13px; }
  .faq-list details p { font-size: 13px; }
}
/* Monochrome theme control */
.site-header { position: relative; }
.theme-toggle { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; border: 1px solid #dfe3e4; border-radius: 50%; color: #454a4d; background: #fff; cursor: pointer; transition: background .2s, color .2s, transform .25s; }
.theme-toggle:hover { transform: rotate(-8deg); background: #f0f1f1; }
.theme-icon { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.theme-icon-sun { display: none; }
html[data-theme="dark"] .theme-icon-moon { display: none; }
html[data-theme="dark"] .theme-icon-sun { display: block; }
.theme-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

html[data-theme="dark"] { color-scheme: dark; --ink: #ededed; --muted: #b1b1b1; --paper: #202020; --canvas: #151515; --accent: #c5c7c8; --accent-dark: #e1e2e3; --warm: #aeb1b3; }
html[data-theme="dark"] body { background: var(--canvas); color: var(--ink); }
html[data-theme="dark"] .site-header, html[data-theme="dark"] .site-footer { border-color: #363636; }html[data-theme="dark"] .json-card, html[data-theme="dark"] .utility-card, html[data-theme="dark"] .color-card { border-color: #353535; background: #202020; box-shadow: 0 12px 36px rgba(0,0,0,.18); }html[data-theme="dark"] .how-item { border-color: #353535; background: #1b1b1b; }
html[data-theme="dark"] .color-format-group, html[data-theme="dark"] .color-preview-row, html[data-theme="dark"] .utility-result-box, html[data-theme="dark"] .shadow-preview-wrap { border-color: #373737; background-color: #1b1b1b; }html[data-theme="dark"] .utility-input, html[data-theme="dark"] .utility-textarea, html[data-theme="dark"] .general-tool-picker select, html[data-theme="dark"] .developer-tool-picker select, html[data-theme="dark"] .color-input-line input, html[data-theme="dark"] .color-component-grid input, html[data-theme="dark"] .block-key-input, html[data-theme="dark"] .block-scalar-input, html[data-theme="dark"] .block-type-select { border-color: #444; color: #ededed; background: #181818; }
html[data-theme="dark"] .dropzone, html[data-theme="dark"] .json-dropzone, html[data-theme="dark"] .block-canvas, html[data-theme="dark"] .json-viewport { border-color: #444; color: #dedede; background-color: #181818; }
html[data-theme="dark"] .block-canvas, html[data-theme="dark"] .json-tree.block-canvas { background-image: radial-gradient(#454545 .8px, transparent .8px); }
html[data-theme="dark"] .json-pane, html[data-theme="dark"] .json-pane-heading, html[data-theme="dark"] .block-structure, html[data-theme="dark"] .block-children, html[data-theme="dark"] .json-key-block, html[data-theme="dark"] .json-value-block { border-color: #414141; background-color: #202020; }
html[data-theme="dark"] .json-pane-heading, html[data-theme="dark"] .block-structure > summary { color: #ddd; background-color: #242424; }
html[data-theme="dark"] .json-value-block, html[data-theme="dark"] .json-key-block { box-shadow: none; }
html[data-theme="dark"] .utility-output, html[data-theme="dark"] .utility-result-box, html[data-theme="dark"] .block-null-value { border-color: #414141; color: #e3e3e3; background-color: #191919; }
html[data-theme="dark"] .secondary-button, html[data-theme="dark"] .json-file-button, html[data-theme="dark"] .browse-button, html[data-theme="dark"] .workspace-home, html[data-theme="dark"] .block-add-button { border-color: #4a4a4a; color: #e3e3e3; background: #292929; }
html[data-theme="dark"] .primary-button { color: #171717; background: #d1d1d1; }
html[data-theme="dark"] .primary-button:not(:disabled):hover { color: #111; background: #f0f0f0; }
html[data-theme="dark"] .primary-button:disabled { color: #aaa; background: #454545; }html[data-theme="dark"] .color-format-group { border-color: #414141; color: #e6e6e6; background: #1b1b1b; }html[data-theme="dark"] .dropzone:hover, html[data-theme="dark"] .json-dropzone:hover, html[data-theme="dark"] .block-add-button:hover { border-color: #85898b; background: #2a2a2a; }html[data-theme="dark"] .nav-link.active, html[data-theme="dark"] .utility-result-heading { color: #f1f1f1; }
html[data-theme="dark"] .brand-mark .cube-outline { stroke: #e2e2e2; }html[data-theme="dark"] .header-note, html[data-theme="dark"] .nav-link, html[data-theme="dark"] .intro-copy, html[data-theme="dark"] .how-heading > p, html[data-theme="dark"] .how-item p, html[data-theme="dark"] .faq-list details p, html[data-theme="dark"] .dropzone-subtitle, html[data-theme="dark"] .json-heading p, html[data-theme="dark"] .json-file-name, html[data-theme="dark"] .json-status, html[data-theme="dark"] .utility-heading > p, html[data-theme="dark"] .utility-status, html[data-theme="dark"] .utility-label small, html[data-theme="dark"] .utility-result-box span, html[data-theme="dark"] .text-stats, html[data-theme="dark"] .color-css-output, html[data-theme="dark"] .color-status, html[data-theme="dark"] .color-preview-row small, html[data-theme="dark"] .policy-intro, html[data-theme="dark"] .policy-content p, html[data-theme="dark"] .policy-content li, html[data-theme="dark"] .policy-notice { color: #b0b0b0; }html[data-theme="dark"] .how-heading h2, html[data-theme="dark"] .faq-heading h2, html[data-theme="dark"] .utility-heading h2, html[data-theme="dark"] .json-heading h2, html[data-theme="dark"] .policy-title, html[data-theme="dark"] .policy-content h2 { color: #ededed; }
html[data-theme="dark"] .theme-toggle { border-color: #484848; color: #ededed; background: #242424; }
html[data-theme="dark"] .theme-toggle:hover { background: #333; }
html[data-theme="dark"] .block-key-index, html[data-theme="dark"] .block-root-key { color: #c1c1c1; }
html[data-theme="dark"] .policy-content { border-color: #353535; background: #202020; }
html[data-theme="dark"] .policy-content section + section { border-color: #414141; }
html[data-theme="dark"] .policy-notice { border-color: #777; background: #292929; }
html[data-theme="dark"] .beta-badge { border-color: #927343; color: #e5c58b; }
html[data-theme="dark"] .beta-notice { border-color: #5d4d32; color: #e2d0ae; background: #29251e; }
html[data-theme="dark"] .studio-canvas { border-color: #444; background-color: #181818; }
html[data-theme="dark"] .image-thumb-list figure { color: #b0b0b0; }
