/* Design tokens of «Just Design»: the one source of colours, fonts and radii for the storefront, the brief and the cabinet.
   The copies in template-store/dist/tokens.css and site-planner/dist/tokens.css are byte-identical (site-planner/tests/design-tokens.test.mjs).
   Dark is the default theme; pages set data-theme="dark" or "light" on <html>. Load this file before every other stylesheet. */
@font-face{font-family:Manrope;src:url('assets/fonts/manrope-0.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:Manrope;src:url('assets/fonts/manrope-1.woff2') format('woff2');font-weight:500;font-display:swap}
@font-face{font-family:Manrope;src:url('assets/fonts/manrope-2.woff2') format('woff2');font-weight:600;font-display:swap}
@font-face{font-family:Manrope;src:url('assets/fonts/manrope-3.woff2') format('woff2');font-weight:700;font-display:swap}
@font-face{font-family:Ubuntu;src:url('assets/fonts/ubuntu-bold.ttf') format('truetype');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:Ubuntu;src:url('assets/fonts/ubuntu-medium.ttf') format('truetype');font-weight:500;font-style:normal;font-display:swap}
:root{
  --font-text:Manrope,Arial,sans-serif;
  --font-display:Ubuntu,Manrope,Arial,sans-serif;
  --control-radius:999px;--field-radius:12px;--panel-radius:20px;--card-radius:16px;--chip-radius:8px;
  --control-gap:12px;--control-inset:16px;
  /* Spacing scale on a 4 px grid (user decision 25.11.2026): every margin, padding and gap takes one of these. --space-cards is the
     brief's 26 px between cards (user decision 25.11.2026). Where each step goes: the /design-system/ page. */
  --space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:24px;--space-6:32px;--space-7:48px;--space-8:64px;--space-9:96px;
  --space-cards:26px;
  /* The inner padding of a card or panel (20 px), kept as its own step when the brief moved onto the scale (25.11.2026). */
  --space-panel:20px;
  /* Type scale (user decision 25.11.2026), the sizes the storefront already uses: page title, section title, card title, text,
     small text, eyebrow over a title. */
  --text-hero:clamp(64px,7.75vw,112px);--text-h2:clamp(36px,4.2vw,60px);--text-h3:24px;--text-body:17px;--text-small:14px;--text-eyebrow:12px;
  /* Added when the brief moved onto the scale (25.11.2026): a card or option title (20 px) and a big number (32 px). */
  --text-lead:20px;--text-num:32px;
  /* Action buttons: the header «Почати новий проєкт» button is the one size for every action button of the storefront, the brief and the cabinet (user decision 16.11.2026). */
  --action-height:44px;--action-pad:8px 18px;--action-font-size:16px;--action-gap:10px;--action-border:1.5px;--action-icon:16px;
  --ease:180ms ease-out;
  --highlight:#b9a5ff;--highlight-ink:#1b1534;
  --highlight-deep:#8f74ee;--highlight-soft:#d6cbff;
  --highlight-gradient:linear-gradient(90deg,var(--highlight-deep),var(--highlight) 50%,var(--highlight-soft));
  /* Pixel grain on the violet buttons (user decision 25.11.2026, 1 px, ink): a 2×2 checkerboard, one square ink #1b1534 at 55 %,
     the other clear, densest on the dark left end and gone by the middle; the top layer is the button gradient itself, fading in
     from clear on the left, so it covers the grain toward the light end. Use background:var(--highlight-pixel). */
  /* Panel shading (user decision 25.11.2026): the button's grain on panels — a 2 px checkerboard (page colour in dark, grey-blue in light, where the page colour did not show) that shows
     through from 30% of the diagonal to the bottom-right corner. An image for the first background layer, sized 100% 100%, before the panel fill. */
  --panel-shade:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' shape-rendering='crispEdges'%3E%3Cdefs%3E%3Cpattern id='p' width='4' height='4' patternUnits='userSpaceOnUse'%3E%3Cpath d='M0 0h2v2H0zM2 2h2v2H2z' fill='%23090f1b'/%3E%3C/pattern%3E%3ClinearGradient id='g' x2='1' y2='1'%3E%3Cstop offset='.3' stop-color='%23000'/%3E%3Cstop offset='1' stop-color='%23fff'/%3E%3C/linearGradient%3E%3Cmask id='m'%3E%3Crect width='100%25' height='100%25' fill='url(%23g)'/%3E%3C/mask%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23p)' mask='url(%23m)'/%3E%3C/svg%3E");
  /* Card header grain (user decision 25.11.2026): a 1.5 px checkerboard under the title (deep violet in dark, light violet on
     the light header in light), fading out over the
     first 420 px from the top-left corner. An image for the header background, sized 100% 100%. */
  --card-head-shade:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' shape-rendering='crispEdges'%3E%3Cdefs%3E%3Cpattern id='p' width='3' height='3' patternUnits='userSpaceOnUse'%3E%3Cpath d='M0 0h1.5v1.5H0zM1.5 1.5h1.5v1.5H1.5z' fill='%2333276e'/%3E%3C/pattern%3E%3ClinearGradient id='l' gradientUnits='userSpaceOnUse' x2='420' y2='64'%3E%3Cstop offset='0' stop-color='%23fff'/%3E%3Cstop offset='1' stop-color='%23000'/%3E%3C/linearGradient%3E%3Cmask id='m'%3E%3Crect width='100%25' height='100%25' fill='url(%23l)'/%3E%3C/mask%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23p)' mask='url(%23m)'/%3E%3C/svg%3E");
  --pixel-grain:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='2' height='2'%3E%3Cpath d='M0 0h1v1H0zM1 1h1v1H1z' fill='%231b1534' fill-opacity='.55'/%3E%3C/svg%3E");
  --pixel-fade:linear-gradient(90deg,rgb(143 116 238 / 0) 0%,rgb(168 145 248 / .45) 30%,rgb(192 174 255) 62%,var(--highlight-soft));
  --highlight-pixel:var(--pixel-fade),var(--pixel-grain),var(--highlight-gradient);
  /* Dropdown lists, one look everywhere (user decision 25.11.2026, replaces 19.11.2026): the hovered or keyboard-active item
     sits on the violet tint --option-hover; the chosen one keeps it with violet text (--option-hover-ink). --option-active
     stays for the theme switch; --option-selected is no longer used by the lists. */
  --option-active:color-mix(in srgb,var(--selection-line) 26%,transparent);
  --option-hover-ink:var(--selection-line);
  --option-hover:var(--selected);
  --option-selected:color-mix(in srgb,#03070f 42%,transparent);
  /* Outlined buttons (user decision 19.11.2026): the line and the text in one colour on the dark background; on hover and keyboard
     focus both take the stronger shade and the button gets a faint tint of it. Violet: «Почати новий проєкт»; keep: «Скасувати»
     in the delete window; danger: «Видалити проєкт». */
  --outline-violet:var(--highlight);--outline-violet-strong:#9f84ff;
  --outline-keep:#b9dd92;--outline-keep-strong:#a6f05a;
  --outline-danger:#f0b0b0;--outline-danger-strong:#ff7f8a;
  --outline-tint:12%;
  --control-surface:#101b2d;
  /* Subheads and lines are one light blue, field hints the same blue toned down (contrast 5:1 dark, 4.6:1 light); lines are that blue softened into the panel (user decision 25.11.2026).
     Light theme: a darker blue for contrast, lines 70% so field borders keep 3:1 against the page. */
  --paper:#090f1b;--surface:#131e31;--ink:#f0eee7;--muted:#f0eee7;--subhead:#8cc4ff;--placeholder:color-mix(in srgb,var(--subhead) 65%,var(--paper));--line:color-mix(in srgb,var(--subhead) 50%,var(--surface));
  /* --accent is the text colour and --focus the violet (user decision 25.11.2026: no blue in the palette). */
  --accent:var(--ink);--accent-solid:#223c68;--accent-on:#f5f3ed;--blue-surface:#17283f;
  --focus:var(--highlight);--selected:#2b2548;--selection-line:var(--highlight);--danger:#ffb4b4;
  color-scheme:dark
}
:root[data-theme=light]{
  --card-head-shade:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' shape-rendering='crispEdges'%3E%3Cdefs%3E%3Cpattern id='p' width='3' height='3' patternUnits='userSpaceOnUse'%3E%3Cpath d='M0 0h1.5v1.5H0zM1.5 1.5h1.5v1.5H1.5z' fill='%23c9bcf6'/%3E%3C/pattern%3E%3ClinearGradient id='l' gradientUnits='userSpaceOnUse' x2='420' y2='64'%3E%3Cstop offset='0' stop-color='%23fff'/%3E%3Cstop offset='1' stop-color='%23000'/%3E%3C/linearGradient%3E%3Cmask id='m'%3E%3Crect width='100%25' height='100%25' fill='url(%23l)'/%3E%3C/mask%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23p)' mask='url(%23m)'/%3E%3C/svg%3E");
  --panel-shade:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' shape-rendering='crispEdges'%3E%3Cdefs%3E%3Cpattern id='p' width='4' height='4' patternUnits='userSpaceOnUse'%3E%3Cpath d='M0 0h2v2H0zM2 2h2v2H2z' fill='%23bcc6d4'/%3E%3C/pattern%3E%3ClinearGradient id='g' x2='1' y2='1'%3E%3Cstop offset='.3' stop-color='%23000'/%3E%3Cstop offset='1' stop-color='%23fff'/%3E%3C/linearGradient%3E%3Cmask id='m'%3E%3Crect width='100%25' height='100%25' fill='url(%23g)'/%3E%3C/mask%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23p)' mask='url(%23m)'/%3E%3C/svg%3E");
  --paper:#f4f3ee;--surface:#e9edf0;--ink:#202836;--muted:#202836;--subhead:#1f63b8;--placeholder:color-mix(in srgb,var(--subhead) 92%,var(--paper));--line:color-mix(in srgb,var(--subhead) 70%,var(--surface));
  --accent:var(--ink);--accent-solid:#243f6b;--accent-on:#fff;--blue-surface:#dbe3ec;
  --focus:var(--selection-line);--selected:#e8e2fc;--selection-line:#5b41c8;--danger:#a21e2b;
  --option-selected:color-mix(in srgb,#1a2640 10%,transparent);
  --outline-violet:var(--selection-line);--outline-violet-strong:#4527b8;
  --outline-keep:#3f7f2c;--outline-keep-strong:#2a8a12;
  --outline-danger:#a21e2b;--outline-danger-strong:#c8102e;
  color-scheme:light
}
/* Fixed colours, the same in both themes (moved here from the pages' CSS on 25.11.2026, design-system rule: every colour comes
   from this file). Shades by strength: --shade-20 is black at 20 %, --glare white, --navy-shade the light theme's shadows,
   --backdrop the dimming behind dialogs. Named ones: the Google button (Google's own colours), the device mock-ups, the gift,
   the hero drawing and the contact block on the storefront. Use the theme tokens above for anything new. */
:root{
  --white:#fff;--black:#000;--navy-ink:#10182a;--plaque-ink:#101b2d;--reference-check-ink:#17112e;--discount-ink:#5b3fd0;--google-ink:#1f1f1f;--google-line:#747775;--google-hover:#f2f2f2;--danger-solid:#b21c2e;--danger-deep:#7d1520;--picker-yellow:#ff0;--picker-magenta:#f0f;--mock-screen:#101722;--mock-stand-1:#263242;--mock-stand-2:#5b6878;--mock-stand-3:#293644;--mock-base:#243141;--mock-stand-dark:#1c2430;--mock-stand-light:#4a5464;--mock-bar-dot:#3a4354;--brand-frame:#0d1524;--brand-line:#f4f3ee;--settings-paper:#050910;--zoom-ink:#f0eee7;--zoom-paper:#090f1b;--zoom-line:#6f7d92;--gift-box:#2a1a66;--gift-ribbon:#e2d9ff;--art-paper:#f9f9f5;--art-muted:#777;--art-dot:#c9c9c4;--art-phone:#202326;--art-stamp:#273026;--art-caption:#29302c;--art-phone-edge:#25282c;--contact-blue:#2448df;--contact-deep:#172d50;--contact-eyebrow:#d3dcff;--contact-text:#e1e7ff;--contact-muted:#d5dfed;
  --backdrop-55:rgb(4 8 18 / .55);--backdrop-70:rgb(3 8 18 / .702);--backdrop-74:rgb(2 7 17 / .741);--backdrop-80:rgb(5 8 15 / .8);--backdrop-blue-70:rgb(6 13 26 / .702);
  --danger-tint-20:rgb(178 28 46 / .2);
  --glare-14:rgb(255 255 255 / .14);--glare-16:rgb(255 255 255 / .16);--glare-22:rgb(255 255 255 / .22);--glare-35:rgb(255 255 255 / .35);--glare-75:rgb(255 255 255 / .75);
  --ink-shade-13:rgb(32 40 54 / .133);
  --navy-shade-8:rgb(16 24 42 / .08);--navy-shade-11:rgb(16 24 42 / .11);--navy-shade-12:rgb(16 24 42 / .12);--navy-shade-14:rgb(16 24 42 / .14);--navy-shade-16:rgb(16 24 42 / .16);--navy-shade-18:rgb(16 24 42 / .18);--navy-shade-30:rgb(16 24 42 / .3);--navy-shade-45:rgb(16 24 42 / .45);
  --shade-7:rgb(0 0 0 / .067);--shade-13:rgb(0 0 0 / .133);--shade-18:rgb(0 0 0 / .18);--shade-20:rgb(0 0 0 / .2);--shade-27:rgb(0 0 0 / .267);--shade-33:rgb(0 0 0 / .333);--shade-35:rgb(0 0 0 / .35);--shade-40:rgb(0 0 0 / .4);--shade-42:rgb(0 0 0 / .42);--shade-45:rgb(0 0 0 / .45);--shade-47:rgb(0 0 0 / .467);--shade-48:rgb(0 0 0 / .48);--shade-53:rgb(0 0 0 / .533);--shade-67:rgb(0 0 0 / .667);
  --violet-glow-45:rgb(120 90 255 / .45);--violet-glow-65:rgb(120 90 255 / .65);--violet-ink-shade-24:rgb(27 21 52 / .24);--violet-shade-18:rgb(40 20 110 / .18);--violet-shade-35:rgb(40 20 110 / .35);--violet-shade-45:rgb(40 20 110 / .45);
}
