@layer reset, tokens, layout, components, responsive;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  body, h1, h2, h3, p, figure { margin: 0; }
  button, input, select { font: inherit; }
  button { cursor: pointer; }
  button:disabled, input:disabled { cursor: not-allowed; }
  button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
  svg { display: block; flex: none; }
  [hidden] { display: none !important; }
  :focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
  ::selection { background: var(--neon); color: var(--ink); }
}

@layer tokens {
  :root {
    color-scheme: light;
    --page: #ffc595;
    --surface: #fffaf5;
    --paper: #ffe5d0;
    --peach: #ffba8f;
    --orange: #ff753b;
    --orange-deep: #9c350f;
    --ink: #29231f;
    --muted: #705447;
    --line: #dfc6b4;
    --line-quiet: #edddd0;
    --neon: #e8ff28;
    --error: #8d291e;
    --error-surface: #ffebe3;
    --success: #316344;
    --radius: 14px;
    --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    --ease: 160ms ease;
  }
}

@layer layout {
  body { background: var(--page); color: var(--ink); font-family: var(--font); font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
  .site-header { max-width: 1336px; margin: auto; min-height: 105px; padding: 22px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid #d4b29a; }
  main { max-width: 1336px; margin: auto; padding: 0 40px; }
  .intro { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 40px 0 28px; }
  .intro h1 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.15; letter-spacing: -2px; font-weight: 730; margin-top: 9px; }
  .tiny-heading { color: var(--orange-deep); font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-weight: 400; letter-spacing: -2.5px; }
  .heading-dot { color: var(--orange-deep); }
  .intro-copy { color: var(--muted); font-size: 15px; margin-top: 11px; }
  .workbench { display: grid; grid-template-columns: minmax(0, 1fr) 342px; background: var(--surface); border: 1px solid #d6b49c; border-radius: 20px; overflow: hidden; box-shadow: 0 6px 0 #e9c2a7, 0 20px 50px -38px #813b1d; }
  .image-column { min-width: 0; display: flex; flex-direction: column; border-right: 1px solid var(--line-quiet); }
  .settings { padding: 28px; background: var(--surface); }
  .image-stage { position: relative; min-height: 430px; flex: 1; display: grid; place-items: center; background-color: var(--paper); overflow: hidden; }
  .image-stage::before { content: ''; position: absolute; inset: 18px; border: 1px dashed #dfba9f; border-radius: 12px; pointer-events: none; }
  .canvas-toolbar { min-height: 65px; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .image-bottom { min-height: 76px; padding: 18px 24px; display: flex; align-items: center; gap: 12px; }
  .under-workbench { display: flex; justify-content: space-between; gap: 20px; padding: 24px 1px; color: var(--muted); font-size: 12px; }
  .under-workbench p:first-child { display: flex; gap: 8px; align-items: center; }
  .tool-guide { padding: 26px 0 32px; border-top: 1px solid #d4b29a; }
  .tool-guide h2 { max-width: 48ch; font-size: 18px; line-height: 1.4; font-weight: 600; letter-spacing: -.35px; }
  .tool-guide p { max-width: 82ch; margin-top: 10px; font-size: 13px; line-height: 1.75; color: var(--muted); }
  .embedded-help { display: none; }
  .site-footer { max-width: 1256px; margin: 4px auto 0; border-top: 1px solid #d4b29a; padding: 21px 0 24px; display: flex; justify-content: space-between; gap: 20px; font-size: 11px; color: var(--muted); }
  .site-footer div { display: flex; align-items: center; gap: 12px; }
  .noscript { padding: 50px 25px; }
}

@layer components {
  .brand { display: flex; align-items: center; gap: 11px; padding: 0; border: 0; background: transparent; color: var(--ink); text-align: left; flex: none; }
  .brand-mark { width: 46px; height: 46px; }
  .brand strong { display: block; line-height: 1.1; letter-spacing: -.55px; font-size: 21px; font-weight: 740; }
  .brand-product { display: block; font-size: 15px; line-height: 1.25; letter-spacing: .2px; font-weight: 470; }
  .brand-period { color: var(--orange-deep); font-weight: 800; }
  .steps { display: flex; gap: 32px; list-style: none; padding: 0; margin: 0; font-size: 12px; color: var(--muted); }
  .steps li { display: flex; gap: 9px; align-items: center; white-space: nowrap; }
  .steps span { font-size: 10px; font-weight: 700; color: var(--muted); border: 1px solid #c7a48d; width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; transition: background var(--ease); }
  .steps .current { color: var(--ink); font-weight: 650; }
  .steps .current span { background: var(--ink); border-color: var(--ink); color: var(--neon); }
  .help-button { border: none; background: transparent; padding: 8px 0 8px 8px; min-height: 44px; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink); }
  .help-symbol { border: 1px solid var(--muted); width: 18px; height: 18px; border-radius: 50%; font-weight: 650; line-height: 17px; }
  .eyebrow { font-size: 9px; font-weight: 700; letter-spacing: 1.9px; color: var(--muted); }
  .local-note { display: flex; gap: 11px; align-items: center; font-size: 12px; line-height: 1.6; }
  .local-note svg { width: 25px; height: 25px; fill: none; stroke: var(--orange-deep); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
  .local-note strong { font-weight: 500; color: var(--muted); }
  .section-label { display: flex; align-items: center; gap: 7px; font-size: 9px; letter-spacing: 1.7px; font-weight: 750; white-space: nowrap; }
  .live-dot { width: 6px; height: 6px; background: var(--orange); border-radius: 50%; }
  .toolbar-hint { font-family: Georgia, serif; font-style: italic; font-size: 13px; color: var(--muted); }
  .empty-state { text-align: center; padding: 30px 28px 34px; z-index: 1; }
  .image-art { position: relative; width: 203px; height: 153px; margin: 0 auto 30px; }
  .art-back { width: 154px; height: 116px; position: absolute; top: 13px; left: 11px; background: #f7ad81; border: 1px solid #ce8d67; border-radius: 11px; transform: rotate(-12deg); }
  .art-frame { width: 175px; padding: 9px 9px 22px; position: absolute; left: 22px; top: 10px; background: var(--surface); border: 1px solid #e1bca4; border-radius: 9px; transform: rotate(7deg); box-shadow: 0 11px 17px -13px #713d23; }
  .art-frame svg { width: 100%; border-radius: 4px; }
  .art-shadow { position: absolute; width: 155px; height: 25px; left: 34px; bottom: 3px; background: #edc9af; border-radius: 50%; opacity: .6; }
  .art-spark { position: absolute; left: 0; top: -9px; font-size: 39px; line-height: 1; color: var(--orange-deep); transform: rotate(-8deg); }
  .art-size { position: absolute; bottom: -3px; right: -10px; padding: 6px 12px; transform: rotate(-7deg); border: 1px solid var(--ink); background: var(--neon); font-size: 11px; font-weight: 750; letter-spacing: .4px; box-shadow: 2px 2px 0 var(--ink); }
  .empty-state h2 { font-size: 21px; letter-spacing: -.55px; font-weight: 660; margin-top: 14px; }
  .empty-state p { color: var(--muted); font-size: 13px; margin-top: 5px; }
  .button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; border-radius: 10px; padding: 12px 22px; border: 1px solid transparent; font-size: 13px; font-weight: 650; transition: transform var(--ease), background var(--ease), box-shadow var(--ease); }
  .button svg { width: 19px; height: 19px; stroke: currentColor; stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
  .button:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 4px 0 #00000012; }
  .button:active:not(:disabled) { transform: translateY(1px); box-shadow: none; }
  .button-primary { margin-top: 24px; background: var(--orange); color: var(--ink); padding-right: 16px; border-color: #cd5627; }
  .button-primary svg { color: var(--ink); }
  .button-primary:hover { background: #ff8c54; }
  .file-hint { display: block; font-size: 10px; color: var(--muted); margin-top: 14px; }
  .paste-hint { display: block; font-size: 10px; color: var(--muted); margin-top: 3px; }
  .file-description { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
  #filename { font-size: 11px; font-weight: 630; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  #source-details { font-size: 10px; color: var(--muted); font-variant-numeric: tabular-nums; }
  .text-button { border: 0; background: transparent; padding: 10px 0 10px 8px; display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; color: var(--ink); min-height: 44px; white-space: nowrap; }
  .text-button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
  .icon-button { padding: 10px; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 9px; background: transparent; color: var(--muted); display: grid; place-items: center; flex: none; }
  .icon-button svg, .notice svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
  .settings-heading { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 22px; }
  .settings-heading .eyebrow { font-size: 8px; letter-spacing: 1.5px; }
  .settings-heading h2 { font-size: 24px; font-weight: 590; letter-spacing: -.8px; margin-top: 4px; }
  .reset-button { background: transparent; border: 0; padding: 11px 0 11px 8px; color: var(--muted); font-size: 10px; min-height: 44px; }
  .reset-button:hover, .site-footer button:hover, .help-button:hover { text-decoration: underline; text-underline-offset: 4px; }
  .field { margin-top: 18px; }
  .field label, .fit-options legend { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; font-size: 11px; font-weight: 650; }
  .field label span { font-size: 9px; color: var(--muted); font-weight: 400; }
  select, input[type='number'] { width: 100%; background: #fffdf9; border: 1px solid var(--line); color: var(--ink); min-height: 44px; border-radius: 8px; padding: 10px 12px; font-size: 12px; }
  select { appearance: none; padding-right: 33px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 8 5 5 5-5' fill='none' stroke='%23705447' stroke-width='1.4'/%3E%3C/svg%3E"); background-position: right 10px center; background-size: 16px; background-repeat: no-repeat; }
  select:hover, input[type='number']:hover { border-color: #b9947c; }
  input[readonly] { color: var(--muted); background: var(--paper); }
  .field-hint { font-size: 10px; color: var(--muted); line-height: 1.55; margin-top: 6px; }
  .dimensions { display: grid; grid-template-columns: minmax(0, 1fr) 14px minmax(0, 1fr); gap: 8px; }
  .dimensions .field { margin-top: 12px; }
  .times { align-self: end; padding-bottom: 13px; color: var(--muted); text-align: center; }
  .fit-options { padding: 0; margin: 16px 0 0; border: 0; }
  .fit-options legend { font-size: 10px; margin-bottom: 8px; }
  .segmented { display: flex; padding: 3px; background: #f1e5da; border-radius: 8px; gap: 2px; }
  .segmented label { flex: 1; position: relative; text-align: center; }
  .segmented input { position: absolute; opacity: 0; width: 1px; height: 1px; }
  .segmented span { display: block; cursor: pointer; border-radius: 6px; padding: 11px 3px; font-size: 10px; color: var(--muted); }
  .segmented input:checked + span { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px #57301f13; font-weight: 650; }
  .segmented input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
  .precision { margin-top: 21px; border-top: 1px solid var(--line-quiet); border-bottom: 1px solid var(--line-quiet); }
  .precision summary { padding: 16px 0; list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 11px; font-weight: 550; }
  .precision summary::-webkit-details-marker { display: none; }
  .plus { font-size: 18px; font-weight: 400; line-height: 1; color: var(--muted); transition: transform var(--ease); }
  .precision[open] .plus { transform: rotate(45deg); }
  .precision-body { padding-bottom: 17px; }
  .precision-body .field:first-child { margin-top: 0; }
  .limit-row { display: grid; grid-template-columns: 1fr 76px; gap: 7px; }
  input[type='range'] { display: block; width: 100%; accent-color: var(--orange-deep); height: 24px; margin: 0; }
  .quality-field output { font-size: 10px; font-weight: 500; color: var(--muted); }
  .result-summary { margin-top: 0; padding: 0; }
  .result-top { display: flex; justify-content: space-between; align-items: center; gap: 7px; }
  #result-label { font-size: 8px; color: var(--muted); font-weight: 650; letter-spacing: 1.1px; }
  #savings { font-size: 9px; white-space: nowrap; color: var(--ink); padding: 3px 6px; background: var(--peach); border-radius: 4px; font-weight: 650; }
  .result-size { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 10px; margin-top: 7px; font-variant-numeric: tabular-nums; }
  #result-bytes { font-size: 25px; font-weight: 570; letter-spacing: -.8px; line-height: 1.3; }
  #old-bytes { text-decoration: line-through; color: var(--muted); font-size: 12px; }
  #result-details { font-size: 10px; color: var(--muted); margin-top: 5px; font-variant-numeric: tabular-nums; }
  .target-missed #result-label { color: var(--error); }
  .button-download { margin-top: 19px; background: var(--neon); color: var(--ink); border: 1px solid #b6c536; width: 100%; }
  .button-download:disabled { background: #efe8de; color: #857367; border-color: #dfd3c5; }
  .download-note { margin-bottom: 23px; padding-bottom: 21px; border-bottom: 1px solid var(--line-quiet); color: var(--muted); font-size: 9px; text-align: center; margin-top: 10px; }
  .little-star { font-size: 20px; color: var(--orange-deep); line-height: 1; }
  .separator { padding: 0 11px; color: #ad8468; }
  .site-footer button { color: var(--muted); background: transparent; border: 0; padding: 10px 0; min-height: 44px; font-size: 11px; }
  .embedded-help button { color: var(--muted); background: transparent; border: 0; padding: 10px 6px; min-height: 44px; font-size: 11px; }
  .embedded-help button:hover { text-decoration: underline; text-underline-offset: 4px; }
  .preview-switch { display: flex; background: #f1e5da; border-radius: 7px; padding: 3px; gap: 2px; }
  .preview-switch button { color: var(--muted); background: transparent; border: 0; border-radius: 5px; padding: 7px 13px; font-size: 10px; min-height: 32px; }
  .preview-switch button[aria-pressed='true'] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px #57301f13; }
  #image-figure { width: 100%; height: 100%; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 34px; background: repeating-conic-gradient(#fff8f0 0% 25%, #f4e5d7 0% 50%) 50% / 18px 18px; }
  #preview-image { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; box-shadow: 0 2px 12px #412a1612; }
  .preview-caption { position: absolute; bottom: 11px; left: 50%; transform: translateX(-50%); border: 1px solid var(--line); border-radius: 5px; background: #fffaf5ed; color: var(--muted); font-size: 9px; padding: 4px 9px; }
  .processing-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 12px; background: #fff3e9e6; z-index: 3; font-size: 12px; }
  .spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--orange-deep); animation: spin 800ms linear infinite; }
  @keyframes spin { to { transform: rotate(360deg); } }
  .drag-overlay { position: absolute; inset: 15px; border: 2px dashed var(--orange-deep); background: var(--peach); border-radius: var(--radius); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; z-index: 5; font-size: 24px; font-weight: 650; letter-spacing: -.6px; }
  .drag-overlay span { font-size: 13px; font-weight: 400; letter-spacing: 0; }
  .notice { margin: 12px 18px 0; padding: 14px 16px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; font-size: 12px; }
  .notice.is-error { color: var(--error); border-color: #dca79a; background: var(--error-surface); }
  .notice button { background: transparent; border: 0; color: currentColor; padding: 4px; min-height: 28px; flex: none; }
  dialog { width: min(520px, calc(100vw - 32px)); max-height: 85dvh; padding: 28px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 20px 90px #40261338; }
  dialog::backdrop { background: #3024195e; backdrop-filter: blur(4px); }
  .dialog-heading { display: flex; gap: 15px; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
  .dialog-heading h2 { font-size: 25px; letter-spacing: -.7px; font-weight: 600; line-height: 1.2; }
  #dialog-content p { margin-top: 14px; color: var(--muted); font-size: 13px; }
  #dialog-content strong { color: var(--ink); }
  .help-steps { padding-left: 24px; margin: 0; }
  .help-steps li { padding-left: 6px; margin-bottom: 18px; }
  .help-steps li::marker { color: var(--orange-deep); font-weight: 650; }
  .help-steps p { margin-top: 5px !important; }
  .dialog-note { padding-top: 15px; border-top: 1px solid var(--line); font-size: 11px !important; }
  .dialog-done { background: var(--neon); width: 100%; margin-top: 24px; border-color: #b6c536; }
  .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
  .skip-link { position: fixed; top: -60px; left: 15px; z-index: 20; padding: 12px 18px; color: var(--ink); background: var(--neon); border-radius: 8px; opacity: 0; pointer-events: none; }
  .skip-link:focus { top: 12px; opacity: 1; pointer-events: auto; }
}

@layer responsive {
  @media (min-width: 1500px) { .intro { padding-top: 47px; padding-bottom: 35px; } .image-stage { min-height: 460px; } }
  @media (max-width: 1100px) { .steps { gap: 17px; } .site-header, main { padding-left: 28px; padding-right: 28px; } .workbench { grid-template-columns: minmax(0,1fr) 314px; } .settings { padding: 24px; } .site-footer { margin-left: 28px; margin-right: 28px; } .local-note { font-size: 11px; } }
  @media (max-width: 800px) {
    .site-header { min-height: 86px; padding: 17px 22px; } .brand strong { font-size: 19px; } .brand-product { font-size: 14px; } .brand-mark { width: 41px; height: 41px; }
    .steps { display: none; } main { padding: 0 22px; } .intro { padding: 27px 0 23px; } .intro h1 { font-size: 39px; } .intro .eyebrow { font-size: 8px; letter-spacing: 1.3px; } .intro-copy { font-size: 12px; } .local-note { display: none; }
    .workbench { grid-template-columns: 1fr; border-radius: 16px; } .image-column { border-right: 0; border-bottom: 1px solid var(--line); } .image-stage { min-height: 390px; }
    .settings { display: grid; grid-template-columns: 1fr 1fr; column-gap: 22px; padding: 25px; }
    .settings-heading, .precision, .result-summary, .button-download, .download-note, .dimensions, .fit-options, .background-field { grid-column: 1 / -1; }
    .settings-heading { margin-bottom: 18px; } .settings-heading h2 { font-size: 24px; } .field { margin-top: 18px; } .settings > .field:nth-of-type(2) { grid-column: 1 / -1; }
    .settings > .field:has(#output-format) { grid-column: auto; }
    .precision { margin-top: 22px; } .result-summary { margin-top: 0; padding-top: 0; } .button-download { min-height: 52px; }
    .site-footer { margin-left: 22px; margin-right: 22px; }
  }
  @media (max-width: 480px) {
    .site-header { padding: 15px 18px; min-height: 82px; } .help-button { font-size: 10px; gap: 6px; } .help-symbol { width: 17px; height: 17px; line-height: 16px; } main { padding: 0 14px; }
    .intro { padding: 27px 4px 23px; } .intro h1 { font-size: 35px; letter-spacing: -1.5px; } .tiny-heading { letter-spacing: -1.9px; } .intro-copy { max-width: 280px; line-height: 1.6; font-size: 12px; }
    .intro .eyebrow { font-size: 7px; letter-spacing: 1.25px; }
    .intro-break { display: none; }
    .canvas-toolbar { min-height: 56px; padding: 10px 17px; } .section-label { font-size: 8px; letter-spacing: 1.4px; } .toolbar-hint { font-size: 12px; }
    .image-stage { min-height: 377px; } .image-stage::before { inset: 12px; } .empty-state { padding: 26px 20px 28px; } .image-art { transform: scale(.85); margin: -7px auto 15px; }
    .empty-state h2 { font-size: 19px; } .empty-state p { font-size: 11px; } .button-primary { margin-top: 21px; min-height: 49px; font-size: 12px; }
    .image-bottom { min-height: 71px; padding: 13px 17px; gap: 8px; } #filename { font-size: 10px; } #source-details { font-size: 9px; } .text-button { font-size: 9px; gap: 3px; } .text-button svg { width: 13px; } .icon-button { width: 36px; height: 36px; padding: 8px; }
    .settings { display: block; padding: 23px 20px; } .settings-heading { margin-bottom: 20px; } .field label, .fit-options legend { font-size: 12px; } select, input[type='number'] { font-size: 16px; min-height: 47px; } .field-hint { font-size: 11px; }
    .precision summary { font-size: 12px; min-height: 54px; } .download-note { font-size: 10px; } #result-label { font-size: 9px; } #result-details { font-size: 11px; } #result-bytes { font-size: 28px; }
    .segmented span { min-height: 44px; font-size: 11px; } .preview-switch button { padding: 7px 10px; min-height: 34px; }
    #image-figure { padding: 25px; } .under-workbench { padding: 20px 5px; font-size: 10px; } .under-workbench p:last-child { display: none; }
    .site-footer { flex-direction: column; gap: 4px; margin: 0 18px; padding: 19px 0; font-size: 10px; } .site-footer div { gap: 10px; } .site-footer button { font-size: 10px; }
    .tool-guide { padding: 23px 5px 27px; } .tool-guide h2 { font-size: 17px; } .tool-guide p { font-size: 12px; }
    dialog { padding: 24px; } .dialog-heading h2 { font-size: 23px; }
  }
  .workbench-embedded { width: 100%; max-width: 100%; min-width: 0; }
  .workbench-embedded > .site-header,
  .workbench-embedded > .site-footer,
  .workbench-embedded .intro,
  .workbench-embedded .under-workbench,
  .workbench-embedded .tool-guide { display: none; }
  .workbench-embedded > main { max-width: none; margin: 0; padding: 0; }
  .workbench-embedded .workbench { border: 0; border-radius: 0; box-shadow: none; }
  .workbench-embedded .image-stage { min-height: 320px; }
  .workbench-embedded .settings { min-width: 0; padding: clamp(16px, 3vw, 24px); }
  .workbench-embedded .embedded-help { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 12px; padding: 4px 10px; border-top: 1px solid var(--line); background: var(--surface); }
  @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; } }
}
