/*
 Tenura People design tokens: the one source of every colour, radius, size,
 shadow and font of every page (shell, sign-in, landing). Pages load this file
 first; component styles never use literal colours, so light and dark
 appearance change in one place. A customer's theme (the Theme Manager,
 FW-UI-104) loads after it and replaces only the accent tones, the header
 bar's, the desk's and the theme zones' (/assets/brand/theme.css).

 The tokens are those of the Apple design system, docs/design/apple-system/
 tokens.json (FW-UI-168, built from the accepted reference mockup
 docs/design/reference/): Tenura's colours, Apple's materials, radii, sizes
 and type. The names before the move (ink, surface, line ...) stay below as
 aliases of the new tokens, or with their own values where no new token
 means the same, until the clean-up of the move (MIGRATION-PLAN M16).

 Text pairs meet WCAG AA (4.5:1) in both themes: on-accent on accent, label,
 label-2 and tertiary on page, window and sunken, accent-text on window.
 Glyphs on tile tones and count badges meet 3:1 and 4.5:1 (2026-10-14).
*/
:root{
 color-scheme:light dark;
 /* Colours (tokens.json «color»): Tenura's own, light */
 --forest:#214f3e;--leaf:#c3d99b;--on-forest:#fff;--blue:#0066d6;--green:#248a3d;--green-text:#2f5d36;--green-soft:#e8f1e3;--red:#d93025;
 --red-text:#a3261c;--red-soft:#fbe9e7;--orange:#a45a00;--orange-text:#a45a00;--orange-soft:#fff1de;--purple:#af52de;--purple-text:#7d5bd9;--purple-soft:#af52de1f;
 --badge:#d93025;--badge-warn:#ff9500;--msg-info:#0066d614;--msg-warning:#e6b8001a;--msg-error:#d930251a;--msg-success:#248a3d1a;--gray:#7c7c81;--avatar-from:#8e9bb0;
 --avatar-to:#69768c;--label:#1d3128;--label-2:#5d6b63;--label-3:#1d312866;--label-4:#1d31281a;--separator:#bcc6bb;--field-line:#e1e6df;--hairline:#bcc6bb;
 --fill:#76807814;--fill-2:#7680781f;--fill-hover:#76807814;--window:#ffffff;--page:#f5f6f2;--group:#ffffff;--group-line:#e1e6df;--control:#ffffff;
 --control-line:#c9d2c8;--sheet:#f5f6f2;--menu:#ffffffcc;--glass:#eef1ebc7;--glass-edge:rgba(255,255,255,.7);--scrim:#0d1a1330;--on-image:#ffffff;--seg-on:#ffffff;
 --accent:#0066d6;--accent-text:#0066d6;--accent-soft:#0066d614;--accent-soft-strong:#0066d624;--on-accent:#ffffff;--tile-blue:#0066d6;--tile-green:#2f8a46;--tile-orange:#b86400;
 --tile-purple:#af52de;--tile-indigo:#5856d6;--tile-teal:#1b7f94;--tile-red:#d93025;--tile-gray:#7c7c81;--tile-brown:#8f7350;--tile-pink:#d1284f;--tile-forest:#214f3e;
 --tile-mint:#00877f;
 /* Materials' shadows */
 --glass-shadow:0 0 0 .5px #1d31281f, 0 8px 30px #1d312814;
 --glass-raised:inset 0 1px 0 #ffffffa6, inset 0 -1px 0 #0000002e, 0 2px 6px #00000038, 0 0 0 .5px #0000001f;--glass-pressed:inset 0 2px 4px #00000047, inset 0 -1px 0 #0000001f, 0 0 0 .5px #0000001f;--glass-lift:#ffffff2e;--on-glass-pressed:var(--label);
 --popover-shadow:0 10px 32px #1d312824, 0 0 0 .5px #1d31281f;
 --sheet-shadow:0 24px 70px #1d312840, 0 0 0 .5px #1d312833;
 /* Radii, the window gap and the fixed sizes of the window and its controls */
 --r-window:16px;--r-sidebar:16px;--r-group:12px;--r-control:7px;--r-capsule:999px;--gap-window:8px;--sidebar-w:248px;--toolbar-h:52px;
 --record-w:680px;--todo-w:880px;--ctl-mac:24px;--ctl-ios:34px;--tb-item:28px;--row-mac:36px;--row-ios:50px;--table-row:33px;--check:14px;
 --capsule-h:20px;--switch-w:32px;--inspector-w:440px;--tabbar-h:62px;--navbar-h:54px;
 /* Type: the families and the styles of macOS, iOS and the display figures
    (font shorthand: weight size/line-height family) */
 --font-text:-apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro", "Helvetica Neue", system-ui, sans-serif;
 --font-display:-apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro", "Helvetica Neue", system-ui, sans-serif;
 --font-mono:ui-monospace, "SF Mono", Menlo, monospace;
 --type-mac-large-title:700 26px/1.15 var(--font-text);--type-mac-large-title-tracking:-0.01em;--type-mac-record-title:700 24px/1.15 var(--font-text);
 --type-mac-section:700 17px/1.2 var(--font-text);--type-mac-title:600 15px/1.38 var(--font-text);--type-mac-body:400 13px/1.38 var(--font-text);
 --type-mac-emphasis:600 13px/1.38 var(--font-text);--type-mac-callout:400 12px/1.3 var(--font-text);--type-mac-caption:500 11px/1.3 var(--font-text);
 --type-ios-large-title:700 34px/1.15 var(--font-text);--type-ios-record-title:700 28px/1.15 var(--font-text);--type-ios-section:700 22px/1.2 var(--font-text);
 --type-ios-headline:600 17px/1.29 var(--font-text);--type-ios-body:400 17px/1.29 var(--font-text);--type-ios-subhead:400 15px/1.3 var(--font-text);
 --type-ios-footnote:400 13px/1.3 var(--font-text);--type-ios-tab:500 10px/1.2 var(--font-text);--type-display-numeral:600 15px/1.2 var(--font-display);

 /* ---- Names of their own: no token of tokens.json means the same (the
    aliases of the new tokens went with M16, FW-UI-193) ---- */
 /* Brand and accent tones without a new token */
 --accent-hover:#0058b8;--accent-pressed:#00499a;
 /* The keyboard focus ring (the mockup's :focus-visible) and a text field's focus ring (its .field:focus) */
 --focus:color-mix(in srgb,var(--accent) 50%,transparent);--focus-field:color-mix(in srgb,var(--accent) 45%,transparent);
 /* Surfaces without a new token */
 --sunken:#eef1eb;
 --desk-from:#edf1f8;--desk-mid:#e0e7f2;--desk-to:#d1dae8;
 --desk:linear-gradient(160deg,var(--desk-from) 0%,var(--desk-mid) 50%,var(--desk-to) 100%);
 /* Words and hover on the old header bar's rules still drawn (FW-UI-104) */
 --on-bar:var(--label);--bar-muted:var(--label-2);--bar-hover:var(--fill-2);--bar-link:var(--accent-text);
 /* The sign-in page's top bar: on the desk, until the theme colours it */
 --topbar:transparent;--on-topbar:var(--label);--topbar-muted:var(--label-2);
 /* Theme zones (FW-UI-104 round 2): what a theme's Fine Tune may set, each
    the design system's own by default. Status colours, type, sizes and
    spacing are not among them. */
 --menu-current:var(--accent);--on-menu-current:var(--on-accent);
 --button:var(--accent);--button-hover:var(--accent-hover);--button-pressed:var(--accent-pressed);--on-button:var(--on-accent);
 --button-secondary:transparent;--on-button-secondary:var(--label);
 --table-head:var(--window);--on-table-head:var(--label-2);--on-table-head-strong:var(--label);--table-stripe:var(--window);--table-selected:var(--accent-soft);
 --home-card:var(--window);--on-home-card:var(--label);
 --link:var(--accent-text);
 --chart-1:#0066d6;--chart-2:#1b7f94;--chart-3:#b86400;--chart-4:#af52de;--chart-5:#2f8a46;--chart-6:#d1284f;
 --login-desk:var(--desk);--login-button:var(--button);--login-button-hover:var(--button-hover);--login-button-pressed:var(--button-pressed);--on-login-button:var(--on-button);
 --banner-bg:var(--window);--on-banner:var(--label);
 /* A theme's images under an overlay of their zone's colour: none by default.
    banner-scrim keeps this meaning until the Home banner moves (M02, M12);
    tokens.json's #00000080 is the HomeBanner's foot over a theme image. */
 --login-image:none;--login-scrim:transparent;--banner-image:none;--banner-scrim:transparent;
 /* Labels and lines without a new token */
 --tertiary:#636f68;--line-strong:#cdd5cb;
 /* Status */
 --on-badge:#fff;
 /* Messages (PO 2026-10-18): each state's colour at about 10 % over the
    surface, text in ink - made like the information blue (accent-soft) */
 --message-info-line:#0066d64d;--message-warning-line:#e6b80066;--message-error-line:#d930254d;--message-success-line:#248a3d4d;
 /* Shape (docs/design/employee-profile.html): menu items, controls, menus,
    groups and tiles, windows and dialogs; hairlines are half a pixel */
 --r-xs:5px;--r-sm:6px;--r-md:9px;--r-lg:10px;--r-xl:12px;--hairline-w:.5px;
 /* Size: fields, buttons and sidebar items, large buttons; icon tiles; avatars */
 --control-h:28px;--control-sm:26px;--bar:56px;--sidebar:252px;
 --tile:22px;--tile-lg:34px;--avatar-sm:30px;--avatar:40px;--avatar-lg:72px;
 /* A table cell's widest: longer text stops at «…» (FW-UI-057) */
 --cell-max:280px;
 /* Field Help blocks (FW-UI-113): paragraph/list gap and list indentation */
 --field-help-gap:8px;--field-help-indent:24px;
 /* Elevation */
 --shadow-card:0 0 0 var(--hairline-w) var(--group-line);
 /* Type */
 --text-xs:.6875rem;--text-sm:.75rem;--text-md:.8125rem;--text-base:.8125rem;--text-lg:1rem;--text-xl:1.25rem;--text-2xl:1.375rem;
 /* Tile tones without a new token: white glyphs at 3:1 or more */
 --tone-graphite:#636366;--tone-cyan:#1a7fb0;--tone-yellow:#9a7400;--tone-violet:#7d5bd9;--on-tone:#fff;
 /* Avatar of a person without a photo */
 --on-avatar:#fff;
 /* Workspace window (ADR-026): the rounded corners where its parts meet */
 --ws-corner:12px;
}
/* iPhone: the tokens with an iPhone value in tokens.json, under 700 px as the
   design system's bundle.css sets them: the phone starts at 700 px in every
   phone rule, as the accepted mockup (PO 2026-11-17, FW-UI-180). */
@media(max-width:700px){:root{--r-group:22px;--capsule-h:22px;--check:18px}}
/* Dark appearance: the system's, unless the user chose light; or chosen. */
@media(prefers-color-scheme:dark){:root:not([data-theme="light"]){color-scheme:dark;
 /* Apple design tokens, dark */
 --forest:#8cc29b;--leaf:#a8c98a;--on-forest:#10241a;--blue:#006edb;--green:#30d158;--green-text:#bfe0c4;--green-soft:#1f3324;--red:#ff6b5e;
 --red-text:#ffb4aa;--red-soft:#3a201d;--orange:#f0b45a;--orange-text:#f0b45a;--orange-soft:#3a2a12;--purple:#c98bf0;--purple-text:#c98bf0;--purple-soft:#c98bf024;
 --badge-warn:#ff9f0a;--msg-info:#4da3ff1f;--msg-warning:#ffd24d1f;--msg-error:#ff6b5e1f;--msg-success:#30d1581f;--label:#e4ebe3;--label-2:#a1ada3;--label-3:#e4ebe359;
 --label-4:#e4ebe31a;--separator:#46534a;--field-line:#2c3730;--hairline:#46534a;--fill:#ffffff0f;--fill-2:#ffffff14;--fill-hover:#ffffff0f;--window:#1b231e;
 --page:#131a16;--group:#1b231e;--group-line:#2c3730;--control:#141b17;--control-line:#3d4a41;--sheet:#171f1a;--menu:#1b231ee6;--glass:#171f1ad1;
 --glass-edge:rgba(255,255,255,.07);--scrim:#00000066;--seg-on:#3a473e;--accent:#006edb;--accent-text:#4da3ff;--accent-soft:#4da3ff1f;--accent-soft-strong:#4da3ff33;
 --glass-shadow:0 0 0 .5px #ffffff1f, 0 8px 30px #0008;
 --glass-raised:inset 0 1px 0 #ffffff47, inset 0 -1px 0 #00000059, 0 2px 8px #00000073, 0 0 0 .5px #ffffff1f;--glass-pressed:inset 0 2px 5px #00000073, inset 0 -1px 0 #00000040, 0 0 0 .5px #ffffff1f;--glass-lift:#ffffff1f;--on-glass-pressed:var(--window);
 --popover-shadow:0 12px 36px #000a, 0 0 0 .5px #ffffff26;
 --sheet-shadow:0 26px 80px #000c, 0 0 0 .5px #ffffff26;
 /* Old names with values of their own (until M16) */
 --accent-hover:#005fbc;--accent-pressed:#004f9e;
 --desk-from:#0b100d;--desk-mid:#0b100d;--desk-to:#0b100d;
 --sunken:#171f1a;--tertiary:#85928a;--line-strong:#3a473e;
 --chart-1:#4da3ff;--chart-2:#3fb5c9;--chart-3:#f0a35a;--chart-4:#c98bf0;--chart-5:#5fc77a;--chart-6:#ff7a96;
 --message-info-line:#4da3ff4d;--message-warning-line:#ffd24d66;--message-error-line:#ff6b5e4d;--message-success-line:#30d1584d;
}}
:root[data-theme="dark"]{color-scheme:dark;
 /* Apple design tokens, dark */
 --forest:#8cc29b;--leaf:#a8c98a;--on-forest:#10241a;--blue:#006edb;--green:#30d158;--green-text:#bfe0c4;--green-soft:#1f3324;--red:#ff6b5e;
 --red-text:#ffb4aa;--red-soft:#3a201d;--orange:#f0b45a;--orange-text:#f0b45a;--orange-soft:#3a2a12;--purple:#c98bf0;--purple-text:#c98bf0;--purple-soft:#c98bf024;
 --badge-warn:#ff9f0a;--msg-info:#4da3ff1f;--msg-warning:#ffd24d1f;--msg-error:#ff6b5e1f;--msg-success:#30d1581f;--label:#e4ebe3;--label-2:#a1ada3;--label-3:#e4ebe359;
 --label-4:#e4ebe31a;--separator:#46534a;--field-line:#2c3730;--hairline:#46534a;--fill:#ffffff0f;--fill-2:#ffffff14;--fill-hover:#ffffff0f;--window:#1b231e;
 --page:#131a16;--group:#1b231e;--group-line:#2c3730;--control:#141b17;--control-line:#3d4a41;--sheet:#171f1a;--menu:#1b231ee6;--glass:#171f1ad1;
 --glass-edge:rgba(255,255,255,.07);--scrim:#00000066;--seg-on:#3a473e;--accent:#006edb;--accent-text:#4da3ff;--accent-soft:#4da3ff1f;--accent-soft-strong:#4da3ff33;
 --glass-shadow:0 0 0 .5px #ffffff1f, 0 8px 30px #0008;
 --glass-raised:inset 0 1px 0 #ffffff47, inset 0 -1px 0 #00000059, 0 2px 8px #00000073, 0 0 0 .5px #ffffff1f;--glass-pressed:inset 0 2px 5px #00000073, inset 0 -1px 0 #00000040, 0 0 0 .5px #ffffff1f;--glass-lift:#ffffff1f;--on-glass-pressed:var(--window);
 --popover-shadow:0 12px 36px #000a, 0 0 0 .5px #ffffff26;
 --sheet-shadow:0 26px 80px #000c, 0 0 0 .5px #ffffff26;
 /* Old names with values of their own (until M16) */
 --accent-hover:#005fbc;--accent-pressed:#004f9e;
 --desk-from:#0b100d;--desk-mid:#0b100d;--desk-to:#0b100d;
 --sunken:#171f1a;--tertiary:#85928a;--line-strong:#3a473e;
 --chart-1:#4da3ff;--chart-2:#3fb5c9;--chart-3:#f0a35a;--chart-4:#c98bf0;--chart-5:#5fc77a;--chart-6:#ff7a96;
 --message-info-line:#4da3ff4d;--message-warning-line:#ffd24d66;--message-error-line:#ff6b5e4d;--message-success-line:#30d1584d;
}
:root[data-theme="light"]{color-scheme:light}
