/* fractalyze/ui tokens.css, v0.1.2: the colours, type, space, corners, heights and motion both products draw with.
   Its rules are fractalyze/alba's src/design/tokens.css at commit 97edfebdad2579e57d69dca97ee32a04ac0aef89,
   unchanged, as alba landed them with its design system (fractalyze/alba#5290); the last block is what
   fractalyze/studio added, proposed for the shared kit (fractalyze/studio#746). A bare #n and an ADR number
   below are fractalyze/alba's, as the file was alba's own. Do not edit a repo's copy of this file: change it
   here, tag a version, and pull it there (README.md). */
/* alba's one token file (#3096): the only place a raw style value is written. It holds Radix's scale steps once, then
   each surface's scheme: the same names a view reads, set from those steps. A view reads only the names, never a step.
   The desk's scheme is `:root`, light and the device's dark; the desk app (src/deskApp/main.tsx) loads this file before
   src/staff/console.css.
   Raw values anywhere else are held to src/design/styleBaseline.json by src/design/styleGuard.test.ts.

   A media query can't read a custom property, so the four widths a `@media` may name are set here in words, and the
   guard checks the numbers: 700px, a phone's width (`max-width: 700px`, with `min-width: 701px` past it); 1100px,
   where the desk shows the list and the conversation side by side and 확인 정보 lies over the conversation
   (`min-width: 1100px`, with `max-width: 1099px` below it); 1280px, from which a 팀 thread opens beside its room
   (`max-width: 1279px` below it, ADR 0753 point 8); and 1440px, where 확인 정보 takes a column of its own and
   the console's menu opens whole (`min-width: 1440px`, with `max-width: 1439px` below it, ADR 0631). */
  /* The design foundation (#2838, ADR 0534, docs/mockups/2838-design-foundation.html): Radix Colors' scales (MIT, © WorkOS), only
     the steps a view draws from, then the console's colours (#1418) by what each is for, each a step of a scale, so
     every view follows the device's light or dark setting alike. Grey is sand and pine is the one accent (#5290); red is for
     what failed and needs a hand, such as a reply that did not send, amber for what waits, green for what is done,
     pine's quiet steps for alba's own, and orange for a person's hand; a 상담 태그's dot alone takes any of eight scales, and means
     only which tag it is (ADR 0536). Each text colour reads at 4.5:1 or more on every ground it
     sits on, a hover's included (src/staff/consoleTokens.test.ts). Only a mall's badge, the dark toast, a switch's
     white knob and 답변 알림's phone samples (--ph-*) read the same on both. */
  /* The scale steps, light and the device's dark. */
  :root {
    color-scheme: light dark;
    --slate-1: #fcfcfd; --slate-2: #f9f9fb; --slate-3: #f0f0f3; --slate-4: #e8e8ec; --slate-5: #e0e1e6; --slate-6: #d9d9e0;
    --slate-7: #cdced6; --slate-8: #b9bbc6; --slate-11: #60646c; --slate-12: #1c2024;
    /* alba's own two scales (#5290, docs/mockups/5290-design-system, direction A): sand, a warm stone neutral the desk's
       greys come from, and pine, its one accent. Slate stays for the widget's greys; indigo for a tag's colour alone. */
    --sand-1: #fdfcfa; --sand-2: #f8f6f2; --sand-3: #f2efea; --sand-4: #e9e5de; --sand-5: #e2ddd5; --sand-6: #ddd7cd;
    --sand-7: #cdc6ba; --sand-8: #b3ab9e; --sand-11: #6b6358; --sand-12: #1f1b16; --sand-surface: #fffefc;
    --pine-2: #f3f8f6; --pine-3: #e8f1ee; --pine-4: #d3e5df; --pine-5: #cfe1db; --pine-9: #1e5b50; --pine-10: #17493f;
    --pine-11: #1e5b50; --pine-12: #0f2e28;
    --indigo-2: #f7f9ff; --indigo-3: #edf2fe; --indigo-4: #e1e9ff; --indigo-9: #3e63dd; --indigo-10: #3358d4; --indigo-11: #3a5bc7; --indigo-12: #1f2d5c;
    --red-3: #feebec; --red-11: #ce2c31; --red-12: #641723;
    /* White reads on red's step 9 at under 4.5:1 in either scheme, so a red fill, words white, is light red's step 11 in both. */
    --red-fill: #ce2c31;
    --amber-2: #fefbe9; --amber-3: #fff7c2; --amber-4: #ffee9c; --amber-6: #f3d673; --amber-11: #ab6400; --amber-12: #4f3422;
    --green-3: #e6f6eb; --green-11: #218358; --green-12: #193b2d;
    --violet-2: #faf8ff; --violet-3: #f4f0fe; --violet-5: #e1d9ff; --violet-11: #6550b9; --violet-12: #2f265f;
    --orange-3: #ffefd6; --orange-11: #cc4e00; --orange-12: #582d1d;
    --cyan-3: #def7f9; --cyan-11: #107d98; --cyan-12: #0d3c48; --pink-3: #fee9f5; --pink-11: #c2298a; --pink-12: #651249;
  }
  @media (prefers-color-scheme: dark) {
    :root {
      --slate-1: #111113; --slate-2: #18191b; --slate-3: #212225; --slate-4: #272a2d; --slate-5: #2e3135; --slate-6: #363a3f;
      --slate-7: #43484e; --slate-8: #5a6169; --slate-11: #b0b4ba; --slate-12: #edeef0;
      --sand-1: #141210; --sand-2: #1b1916; --sand-3: #23201c; --sand-4: #2a2622; --sand-5: #322e29; --sand-6: #39342e;
      --sand-7: #4a443d; --sand-8: #625a51; --sand-11: #b8afa3; --sand-12: #f0ebe3;
      --pine-2: #121c19; --pine-3: #1a2e29; --pine-4: #1f3a33; --pine-5: #264139; --pine-9: #7cc4b2; --pine-10: #95d3c3;
      --pine-11: #8fd1c0; --pine-12: #c9ece2;
      --indigo-2: #13192e; --indigo-3: #182449; --indigo-4: #1d2e62; --indigo-11: #9eb1ff; --indigo-12: #d6e1ff;
      --red-1: #191111; --red-3: #3b1219; --red-11: #ff9592;
      --amber-2: #1d180f; --amber-3: #302008; --amber-4: #3f2700; --amber-6: #5c3d05; --amber-11: #ffca16;
      --green-3: #132d21; --green-11: #3dd68c;
      --violet-2: #1b1525; --violet-3: #291f43; --violet-5: #3c2e69; --violet-11: #baa7ff;
      --orange-3: #331e0b; --orange-11: #ff801f;
      --cyan-3: #082c36; --cyan-11: #4ccce6; --pink-3: #37172f; --pink-11: #ff8dcc;
    }
  }
  /* The desk's scheme: what each colour is for, each a step above, then type, space, corners, heights and motion. */
  :root {
    /* Sand on the outside, the page and the menu; the surface a conversation is read on, near white; pine for what is
       picked and the main press alone (#5290). */
    --bg: var(--sand-2); --surface: var(--sand-surface); --text: var(--sand-12); --ink-2: var(--sand-12); --muted: var(--sand-11); --faint: var(--sand-11); --dash: var(--sand-8);
    --line: var(--sand-6); --input-line: var(--sand-7); --soft: var(--sand-3); --tint: var(--sand-2); --well: var(--sand-3);
    --accent: var(--pine-9); --accent-hover: var(--pine-10); --on-accent: #fff; --accent-soft: var(--pine-3); --accent-faint: var(--pine-2); --accent-ink: var(--pine-11);
    --ok-bg: var(--green-3); --ok-ink: var(--green-12); --bad: var(--red-11); --on-bad: #fff; --bad-bg: var(--red-3); --bad-fill: var(--red-fill); --on-bad-fill: #fff;
    --warn-bg: var(--amber-3); --warn-ink: var(--amber-12); --warn-line: var(--amber-6); --warn-strong: var(--amber-4);
    /* A swiped row's 종료 and 보류 (#5181): green's and amber's step 11 filled, words --on-accent, as the accent's are in
       either scheme, dark taking each colour's light step with dark words. */
    --close-fill: var(--green-11); --hold-fill: var(--amber-11);
    /* Quieter grounds (#3404): amber's step 2 for a memo; violet's step 2 with its step 5 as the rim for alba's own, its
       hand-off bubble in the timeline and the Handoff row on the reply box. */
    --warn-soft: var(--amber-2); --op-soft: var(--pine-2); --op-line: var(--pine-5);
    /* alba's own reads in pine's quiet steps (#5290): its bubble near the surface, a rim, its name in the accent's ink. */
    --op: var(--pine-11); --op-bg: var(--pine-3); --hand: var(--orange-12); --hand-bg: var(--orange-3);
    /* 팀's @mentions (#4564, docs/mockups/4564-team-thread): a name's chip a step stronger than the accent's ground, the
       same on any row; a message that calls the reader, amber's ground with a bar, apart from 새 메시지's blue. */
    --mention-bg: var(--pine-4); --mention-ink: var(--pine-11); --you-bg: var(--amber-3); --you-bar: var(--amber-6);
    /* A 상담 태그's suggested colour (#2854): its swatch and the tree's dot, each scale's step 11, which reads at 3:1 or more
       on a view's grounds; and its chip (ADR 0622, ADR 0640), reckoned from that same colour as a hand-picked one's is
       (src/deskApp/tags.ts's chipColorsOn): the colour mixed into --surface for a ground, 14% in light and 24% in dark,
       and the name in the colour, darkened in light or lightened in dark until it reads at 4.5:1 (in dark, step 11
       already does), so the chip reads as the swatch picked.
       consoleTokens.test.ts holds each pair below to that reckoning. */
    --tag-red: var(--red-11); --tag-orange: var(--orange-11); --tag-amber: var(--amber-11); --tag-green: var(--green-11);
    --tag-cyan: var(--cyan-11); --tag-indigo: var(--indigo-11); --tag-violet: var(--violet-11); --tag-pink: var(--pink-11);
    --tag-red-ground: #f8e1e0; --tag-orange-ground: #f8e5d9; --tag-amber-ground: #f3e8d9; --tag-green-ground: #e0ede5;
    --tag-cyan-ground: #deecee; --tag-indigo-ground: #e3e7f5; --tag-violet-ground: #e9e6f3; --tag-pink-ground: #f6e0ec;
    --tag-red-name: #c42a2f; --tag-orange-name: #ad4200; --tag-amber-name: #9a5a00; --tag-green-name: #1e764f;
    --tag-cyan-name: #0e7189; --tag-indigo-name: #3a5bc7; --tag-violet-name: #6550b9; --tag-pink-name: #b82783;
    /* A customer's face (#5290, Faces.tsx): five quiet tones of sand and pine's family and three earths beside them,
       its letter in the tone's ink at 4.5:1 or more, so a face never outshouts a count badge, the one filled colour on a row. */
    --face-1-bg: var(--sand-4); --face-1-ink: var(--sand-11); --face-2-bg: var(--pine-3); --face-2-ink: var(--pine-11);
    --face-3-bg: #efe3d3; --face-3-ink: #74502a; --face-4-bg: #e4e6dc; --face-4-ink: #4c5240; --face-5-bg: #ece2e6; --face-5-ink: #6a4a5c;
    /* The light and the dark surface a hand-picked tag colour is previewed on, side by side, whichever scheme reads them. */
    --tag-preview-light: #fffefc; --tag-preview-dark: #1b1916;
    /* A mall's badge in the console's mall menu (src/deskApp/console/Shell.tsx): its first letter, white (--on-mall), on one
       of these by its id, so two malls side by side tell apart; the same in either scheme. */
    --mall-1: #1b3a80; --mall-2: #8a1c1c; --mall-3: #1f5ad6; --mall-4: #17603a; --mall-5: #5c6470; --on-mall: #fff;
    /* A phone's own light look, the same in either scheme: 설정 › 상담창 › 답변 알림's 알림톡 and 문자 samples, as a
       shopper's phone shows them (docs/mockups/2867-reply-notice-alimtalk-settings.html), with 카카오톡's yellow bar. */
    --ph-text: #1a1d22; --ph-surface: #fff; --ph-line: #dde0e6; --ph-soft: #f3f3f3; --ph-tint: #e5e5ea; --ph-kakao: #fee500;
    --ph-shadow: 0 1px 2px rgba(0, 0, 0, .08);
    --shadow-1: 0 1px 2px rgba(48, 38, 24, .06), 0 1px 1px rgba(48, 38, 24, .04);
    --shadow-2: 0 12px 32px rgba(48, 38, 24, .14), 0 2px 6px rgba(48, 38, 24, .06);
    /* A menu and a popover laid over a page, and a colour picker's parts, which sit on any colour a mall picks, so they
       read the same in either scheme (설정 › 상담창, #2821). */
    --shadow-menu: 0 8px 24px rgba(0, 0, 0, .16); --shadow-pop: 0 12px 32px rgba(0, 0, 0, .2);
    /* The page dimmed under an open dialog (ui-dialog's ::backdrop), the same in either scheme. */
    --scrim: rgba(10, 12, 16, .45);
    /* A sheet risen from a phone's foot, its shadow cast upward (the desk's 필터 더보기, #3110). */
    --shadow-sheet: 0 -12px 40px rgba(0, 0, 0, .25);
    /* A bar held to the foot of a page as it scrolls, its light shadow cast upward (상담 사례's case, its verdict's foot, #3111). */
    --shadow-foot: 0 -4px 12px rgba(0, 0, 0, .08);
    /* A ring drawn as a shadow round what has focus or is marked, in the colour its rule names: the desk's reply box
       while typed in, a find's mark, the message a search opened at (#3110). */
    --ring: 3px; --ring-thin: 2px; --ring-wide: 6px;
    /* The attachment viewer (#2822, #3530, src/deskApp/attachmentViewer.js), the desk's and the widget's alike: a
       near-black veil over the page, its words, dimmer lines and round buttons light on it, a button pressed, a chip over
       a photo or a clip, the same in either scheme; and how long it takes to open or step. The widget's :host names them
       too. */
    --viewer-bg: rgba(8, 10, 14, .94); --on-viewer: rgba(255, 255, 255, .96); --viewer-dim: rgba(255, 255, 255, .66);
    --viewer-button: rgba(255, 255, 255, .14); --viewer-press: rgba(255, 255, 255, .26); --viewer-chip: rgba(0, 0, 0, .62);
    --d-viewer: 160ms;
    --swatch-rim: rgba(0, 0, 0, .12); --knob-ring: 0 0 0 1px rgba(0, 0, 0, .45);
    /* A switch's knob (ui-switch, #4008): white on its track in both schemes, ringed with --knob-ring while off. */
    --knob: #fff;
    --thumb-rim: rgba(0, 0, 0, .4); --thumb-shadow: 0 1px 3px rgba(0, 0, 0, .3);
    /* Type, space, corners and motion: the sizes a view sets its words in, steps of 4px, three corners, and two lengths
       on one curve, both nothing where the device asks for less motion. */
    --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
    /* A code to copy letter by letter, such as a 2단계 인증 key or a recovery code: the device's own monospace. */
    --font-mono: ui-monospace, Menlo, Consolas, monospace;
    --t-cap: 12px; --t-sub: 13px; --t-body: 15px; --t-title: 17px; --t-head: 22px;
    /* A field's words on a touch screen: an iPhone zooms the page into a field set smaller when it takes focus. */
    --t-field: 16px;
    /* A count on an icon's corner in the folded menu, small enough that a 99+ starts inside its 18px icon (#4010). */
    --t-corner: 11px;
    --w-1: 400; --w-2: 600; --w-3: 700;
    /* Reading (#5290): a message's or a reply's lines at 1.6, as Korean reads easiest, its paragraphs a step apart, and
       no line longer than --measure, about 40 Korean letters, however wide the column. */
    --lh-body: 1.6; --lh-tight: 1.35; --measure: 660px;
    --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px;
    /* Below the 4px steps, two for what is drawn at a line's scale (#4305): --s-px, a line's own width, for a shift that
       makes up for a border, and --s-half, the 2px between two lines of one item or two rows of one menu. */
    --s-px: 1px; --s-half: 2px;
    /* Spacing by its role (#4305, ADR 0793, docs/controls.md#spacing): a view reads a role for what each one names,
       and a step only inside a part, between its own pieces. --space-page, a console page's gutter, where its content
       starts from the menu and the window's top; --space-panel, a side panel's, a sheet's or 확인 정보's inset, where
       everything in it starts, its heading's and each section's alike; --space-card, a card's padding; --space-section,
       the gap between a page's or a panel's sections and cards; --space-field, between two fields of a form; and
       --space-label, between a field's label and its control. A phone narrows three of them (below). */
    --space-page: var(--s-5); --space-panel: var(--s-4); --space-card: var(--s-4);
    --space-section: var(--s-4); --space-field: var(--s-3); --space-label: var(--s-1);
    --r-1: 6px; --r-2: 12px; --r-3: 16px; --r-full: 999px;
    /* A mark's corner, small enough that it still reads as a square: a legend's mark, a chart bar's top and the square
       corner of 답변 알림's 알림톡 bubble (#4008). */
    --r-mark: 2px;
    /* A phone's outline, drawn round 설정 › 상담창's 미리보기 when it shows the widget on a phone. */
    --r-phone: 28px;
    /* The heights a control can take, each one in use today: a small control, a default one, and a phone's touch target. */
    --h-1: 32px; --h-2: 40px; --h-touch: 44px;
    /* A badge's heights (ui-badge, #3106): a small one on a row or a control's corner, the default, and one that heads a list. */
    --h-badge-s: 18px; --h-badge: 20px; --h-badge-l: 28px;
    /* A switch's height (ui-switch, #4008), its width a default control's height, --h-2. */
    --h-switch: 24px;
    /* A checkbox's or a radio's side (ui-check, #4008). */
    --h-check: 18px;
    /* A console page's two widths and its right panel (#3213, ADR 0603, docs/mockups/3213-console-width): a list, a table
       or a dashboard takes the whole width beside the menu, and sets none; a settings or form page reads at
       --width-read, on the page's left edge (ADR 0617), every one alike; an item's detail opens in a right panel --width-panel wide, laid over the
       list so the list neither moves nor narrows (ui-panel). */
    --width-read: 720px; --width-panel: 440px;
    /* A dialog holding a whole editor beside its preview, `ui-dialog ui-full` (#3656): a 문의 메뉴 item's form. */
    --width-editor: 1180px;
    /* A search box with its results under it, `ui-dialog ui-search` (#4566): 팀 검색, as Slack's. */
    --width-search: 640px;
    /* The period picker's popover (#2818, docs/mockups/2818-status-period): its presets beside two months on a PC. */
    --width-calendar: 620px;
    /* 상담 사례's and 답장 근거's orders table (#2258, docs/mockups/2258-case-fact-tables.html): the narrowest it reads
       whole at, in a box that scrolls sideways when the space is narrower. */
    --width-order-table: 640px;
    /* The same table with its payment beside its lines (#2852): one column more, so wider before it scrolls. */
    --width-paid-order-table: 720px;
    /* An icon's line (#5290): one weight for every outlined icon on the 24 grid, as the approved mockup draws them. An
       icon drawn on a smaller grid scales it to that grid, so it reads as heavy as the rest. A chart's lines are no icon. */
    --icon-stroke: 1.75;
    --ease: cubic-bezier(.2, 0, 0, 1); --d-1: 160ms; --d-2: 200ms;
    /* What slides in from a side and back out (#3213): the phone menu's drawer, a ui-panel, the desk's 확인 정보 laid
       over the conversation, every one at this one pace on --ease. */
    --d-slide: 220ms;
    /* One beat of what loops while something loads or is typed (the desk's skeleton shimmer and 입력 중's dots), left
       as it is where the device asks for less motion, since those rules stop the loop there themselves. */
    --d-pulse: 1.2s;
    /* One turn of a spinner: the primitives' ui-spin, and a busy button's ui-spinner (#5096), which pulses at --d-pulse
       instead where the device asks for less motion. */
    --d-spin: 800ms;
    /* The layers (#3454): which draws over which where two cross. A page's own layers, its sticky heads, menus, toasts
       and sheets, are numbers below 10, inside the page. A panel the desk's reply box opens floats over the messages at
       --layer-float, the page's top step, so no menu bar or picker of a message draws over it (#3480). A
       menu the console's side menu opens on a PC, the account menu or the mall menu, crosses into the page beside it,
       so the side menu rises to --layer-nav while one is open (src/staff/console.css); a z-index inside the side menu
       counts only within it. The photo viewer, which covers the whole screen, sits above that at --layer-viewer. A
       dialog opened with showModal() is the browser's top layer, over everything. */
    --layer-float: 9; --layer-nav: 10; --layer-viewer: 50;
  }
  @media (prefers-color-scheme: dark) {
    :root {
      --bg: var(--sand-1); --surface: var(--sand-2); --tint: var(--sand-3); --soft: var(--sand-4); --well: var(--sand-4);
      /* One accent fills a button and colours a link alike, and on a dark ground only indigo's light step reads as a
         link, so a dark button is that step with dark words; its hover the lighter step past it (#2838). */
      --accent: var(--pine-9); --accent-hover: var(--pine-10); --on-accent: var(--sand-1); --accent-ink: var(--pine-11);
      --ok-ink: var(--green-11); --bad: var(--red-11); --on-bad: var(--red-1);
      --warn-ink: var(--amber-11); --op: var(--pine-11); --hand: var(--orange-11);
      /* Dark's step 6 of amber sinks into its ground, so the bar takes its bright step; a chip's name, indigo's lightest. */
      --mention-ink: var(--pine-12); --you-bar: var(--amber-11);
      --tag-red-ground: #523734; --tag-orange-ground: #523218; --tag-amber-ground: #524316; --tag-green-ground: #234632;
      --tag-cyan-ground: #274448; --tag-indigo-ground: #3a3d4e; --tag-violet-ground: #413b4e; --tag-pink-ground: #523542;
      --tag-red-name: var(--red-11); --tag-orange-name: var(--orange-11); --tag-amber-name: var(--amber-11); --tag-green-name: var(--green-11);
      --tag-cyan-name: var(--cyan-11); --tag-indigo-name: var(--indigo-11); --tag-violet-name: var(--violet-11); --tag-pink-name: var(--pink-11);
      --face-1-ink: #d6ccbc; --face-3-bg: #33281c; --face-3-ink: #e0b98c; --face-4-bg: #282c22; --face-4-ink: #c4cbb0;
      --face-5-bg: #30262c; --face-5-ink: #dbb8cc;
      --shadow-1: 0 0 0 1px rgba(255, 240, 220, .05);
      --shadow-2: 0 12px 32px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 240, 220, .07);
    }
  }
  @media (prefers-reduced-motion: reduce) { :root { --d-1: 0ms; --d-2: 0ms; --d-slide: 0ms; } }
  /* A phone's roles (#4305): its gutter, a card's padding and the gap between sections a step narrower, so the words
     keep the width; a panel's inset and a field's gaps stay. */
  @media (max-width: 700px) { :root { --space-page: var(--s-4); --space-card: var(--s-3); --space-section: var(--s-3); } }
  /* The widget's scheme (ADR 0586 point 1): the same names, for the widget alone, which runs in a shadow root on a
     storefront and reads none of the desk's. It follows the visitor's device, light or dark (ADR 0662, which ends ADR
     0534's light-only widget), in the device's own font, which needs no download on a storefront; each word's colour reads at 4.5:1 or more on its ground
     (src/widget/widgetLook.test.ts). Its accent is the mall's colour, black where a mall sets none: the mall's colour
     (#2821, ADR 0586 point 2) sets --accent, --on-accent and the two inks behind --accent-ink on the widget's host:
     --ink-light, the accent as words on white, and --ink-dark, as words on the widget's dark, each --text where the
     colour would not read there. The logo's plate stays white in either scheme, as a logo is drawn for white.
     src/design/tokenText.ts gives the widget this scheme and the steps it names, filled into src/widget/widget.js. */
  :host {
    color-scheme: light;
    --surface: #fff; --soft: var(--slate-3); --tint: var(--slate-2); --line-soft: var(--slate-4); --line: var(--slate-6); --input-line: var(--slate-7);
    --text: var(--slate-12); --muted: var(--slate-11); --accent: #111; --on-accent: #fff; --open: #22c55e;
    /* The attachment viewer's icon line (#5290), which the widget shares with the desk: the widget keeps the 2 it drew. */
    --icon-stroke: 2;
    /* A choice pressed, a step past --soft; the mark of a fact that is good news, as 오늘 출고 (#3292). */
    --press: var(--slate-5); --good-ink: #1b7a3d;
    /* The ground of a reply's list's 준비된 상품 heading, under --good-ink (#3550). */
    --good-bg: #e6f6eb;
    /* A choice's press and the spin while it goes; an order card's rim, and its ring once picked (#3292). */
    /* The panel growing out of the launcher, and a phone's full-screen sheet sliding up (#3523). */
    --d-grow: 200ms; --d-rise: 220ms;
    --d-press: 120ms; --d-spin: 800ms; --d-pulse: 1.2s; --pick-rim: inset 0 0 0 1px var(--line); --pick-ring: inset 0 0 0 2px var(--text);
    /* The box of a pick that takes several, empty (#3458). */
    --pick-box: inset 0 0 0 2px var(--muted);
    /* How long a lookup goes before the widget says it is finding, and one sweep of the grey cards' shine (#3527). */
    --d-wait: 300ms; --d-shimmer: 1.4s;
    /* A button that steps back beside the screen's lead, outlined in the mall's colour (#3379). */
    --accent-rim: inset 0 0 0 1px var(--accent-line);
    --bad: #b3261e; --warn-ink: #8a4a06; --warn-bg: #fff4e5; --on-photo: #fff; --focus: #1f5ad6;
    --ink-light: #111; --ink-dark: var(--text); --accent-ink: var(--ink-light); --accent-line: var(--accent);
    --plate: #fff; --plate-ink: #1c2024; --bg: var(--slate-3); --rim: rgba(0, 0, 0, .08);
    --demo-bg: var(--amber-3); --demo-ink: var(--amber-12); --demo-line: var(--amber-6);
    /* The storefront button's rim on its white, and its shadow (#2933); a mall's round image's; the open panel's. */
    --launch-rim: #e2e5ec; --launch-shadow: 0 1px 2px rgba(32, 36, 44, .06), 0 4px 12px rgba(32, 36, 44, .10);
    --image-shadow: 0 4px 14px rgba(0, 0, 0, .2); --panel-shadow: 0 8px 28px rgba(0, 0, 0, .18);
    /* A video's tile, dark until its first frame, and the shadow under words on a photo. */
    --veil: rgba(0, 0, 0, .92); --photo-text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
    /* The attachment viewer (#3530), as the desk's :root names it, and its layer over the panel. */
    --viewer-bg: rgba(8, 10, 14, .94); --on-viewer: rgba(255, 255, 255, .96); --viewer-dim: rgba(255, 255, 255, .66);
    --viewer-button: rgba(255, 255, 255, .14); --viewer-press: rgba(255, 255, 255, .26); --viewer-chip: rgba(0, 0, 0, .62);
    --d-viewer: 160ms; --ease: cubic-bezier(.2, 0, 0, 1); --layer-viewer: 30;
    /* The veil around the 이모지·기호 sheet on a phone (#3540). */
    --sheet-veil: rgba(0, 0, 0, .32);
    /* The front (ADR 0722): its card's shadow over the cover, the shade a cover photo takes under its words, dark at its foot where the name is (#4562), ✕'s round on
       the photo, and the 운영시간 sheet's shadow. Its big 문의하기 is --btn on --on-btn, the light look's colours or the
       dark's, which the mall's look sets on the host (look.home.button, ADR 0722 point 4); the theme colour until it does. */
    --card-shadow: 0 10px 30px rgba(31, 29, 26, .10), 0 2px 6px rgba(31, 29, 26, .06);
    --cover-shade: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .5) 100%);
    --on-photo-button: rgba(0, 0, 0, .28); --sheet-shadow: 0 -12px 40px rgba(0, 0, 0, .25);
    --btn-light: var(--accent); --on-btn-light: var(--on-accent); --btn-dark: var(--accent); --on-btn-dark: var(--on-accent);
    --btn: var(--btn-light); --on-btn: var(--on-btn-light);
    --font: -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  }
  /* On a dark device the widget is dark, on a storefront as on the 상담 페이지 (#3523, ADR 0662; the page alone did before,
     #2891). Dark's greys are the desk's (#2838); the mall's colour stays on the header and the Shopper's bubbles, and as
     words or a line on the surface it is --ink-dark. The storefront button's rim is a dark line on its dark ground. */
  @media (prefers-color-scheme: dark) {
    :host {
      color-scheme: dark; --bg: var(--slate-1); --rim: rgba(255, 255, 255, .06);
      --surface: var(--slate-2); --soft: #232427; --tint: #1d1e21; --line-soft: #2b2e31; --line: var(--slate-6); --input-line: var(--slate-7);
      --text: var(--slate-12); --muted: var(--slate-11); --bad: var(--red-11); --warn-ink: #ffc53d; --press: #2e3035; --good-ink: #4cc38a; --good-bg: #132d21; --warn-bg: #2c2310; --focus: var(--indigo-11);
      --accent-ink: var(--ink-dark); --accent-line: var(--ink-dark);
      --demo-bg: var(--amber-3); --demo-ink: var(--amber-11); --demo-line: var(--amber-6);
      --launch-rim: var(--line);
      --card-shadow: 0 10px 30px rgba(0, 0, 0, .45), 0 2px 6px rgba(0, 0, 0, .3);
      --btn: var(--btn-dark); --on-btn: var(--on-btn-dark);
    }
  }
  /* The landing page's scheme (ADR 0586 point 1, #3109): its own palette, by design, type-led and warm, an orange
     accent on paper, in IBM Plex Sans KR, which the page loads itself. Its names are its own and sit on
     `:root.landing`, the landing page's root, so the desk, which reads this file whole, never takes them. Dark follows
     the device unless the page says light, and the page's own `data-theme="dark"` too. src/design/tokenText.ts fills
     it into src/landing/landing.html. */
  :root.landing {
    --paper: #ffffff; --soft: #f3f3f1; --ink: #17150f; --muted: #6d6a63; --line: #e4e2dd;
    --accent: #ff5b22; --accent-ink: #ffffff; --bubble-shopper: #ebeae6; --memo: #fff4cc; --memo-ink: #5c4a00; --danger: #c0281c;
    --font: "IBM Plex Sans KR", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
  }
  @media (prefers-color-scheme: dark) {
    :root.landing:not([data-theme="light"]) {
      --paper: #121110; --soft: #1b1a18; --ink: #f1efea; --muted: #a29e96; --line: #2e2c29;
      --accent: #ff7a4a; --accent-ink: #160c07; --bubble-shopper: #2a2926; --memo: #3a3215; --memo-ink: #f3dc8a; --danger: #ff8a80; color-scheme: dark;
    }
  }
  :root.landing[data-theme="dark"] {
    --paper: #121110; --soft: #1b1a18; --ink: #f1efea; --muted: #a29e96; --line: #2e2c29;
    --accent: #ff7a4a; --accent-ink: #160c07; --bubble-shopper: #2a2926; --memo: #3a3215; --memo-ink: #f3dc8a; --danger: #ff8a80; color-scheme: dark;
  }
/* Added by fractalyze/studio (#740 there), proposed for the kit: how long a page shows its loading skeleton before it
   says it is slow and offers 다시 불러오기. */
:root { --d-late: 8s; }
