/*
 * GENERATED by tools/dtcg/css_gen.py from the token sets under product/tokens/ - do not edit:
 * change the token file and run `python tools/dtcg/css_gen.py` (INV-205, D-TOK-1).
 * The app's default look: palette «white», accent «sage», base «crisp», scale «compact»
 * (CalcSettings.DEFAULT_*). `css_gen.py --check` fails when this file stops matching product/tokens/.
 */
:root {
  /* ---- colour «white», light (the scheme's TokenValues.kt names) */
  --ground: #FAFBFA; /* D-PAL-4 PAL4-1: the scheme's ground */
  --ink: #141C18;
  --surfaceLow: #EEF1EF; /* D-PAL-4: neutral keys «( ) C ⌫», mode pills, search */
  --onSurfaceLow: #46514B;
  --surfaceHigh: #FFFFFF; /* D-PAL-4: digit keys, cards, sheets */
  --surfaceHighest: #FFFFFF; /* the keyboard panel and settings cards - derived from ground/surfaceHigh */
  --outline: #59615C; /* D-PAL-4: the rim of keys, pills and cards */
  --accent: #141C18; /* D-PAL-4: the action ink is the scheme's ink - no hue of its own */
  --onAccent: #FAFBFA;
  --accentContainer: #CCD8BB; /* D-PAL-4 PAL4-4: operator keys - the default accent «sage» (D-THEME-10) */
  --onAccentContainer: #394826;
  --accent2: #56693A; /* D-PAL-4 PAL4-4: «=» and the mode mark - the default accent «sage» (D-THEME-10) */
  --onAccent2: #FFFFFF;
  --accent2Container: #56693A;
  --onAccent2Container: #FFFFFF;
  --error: #C62800; /* D-PAL-4 PAL4-3: scarlet «C» / «⌫» and every error */
  --onError: #FFFFFF; /* text on the error fill */
  --inverseSurface: #232A26; /* the other mode's surface */
  --inverseOnSurface: #EEF3F0;
  --paramChipContainer: #DCF2E6; /* D-PAL-4 PAL4-2: the kinds, the same in every scheme */
  --paramChipOutline: #459774;
  --paramChipContent: #066A46;
  --paramChipInheritedContainer: #EEF8F2; /* D-NEST-2 NEST2-4: the inherited parameter's chip - halfway to the surface */
  --unitContainer: #DBEFF4;
  --unitOutline: #4B8797; /* the unit label after the digits - the unit ink a step lighter */
  --unitContent: #1B6478;
  --numberContainer: #E4E9FB;
  --numberContent: #001080;
  --formulaContainer: #F5EDD6;
  --formulaContent: #795E26;
  --calculationContainer: #C8C9CE;
  --calculationContent: #2A2D33;
  --ghostContent: #545F59;
  --ghostOutline: #C9D1CC;
  --slotBorder: #747E78;
  --errorHighlight: rgba(198, 40, 0, 0.1412);
  --pendingHighlight: rgba(154, 99, 0, 0.2);
  --operatorFill: #CCD8BB;
  --operatorInk: #394826;
  --equalsFill: #56693A;
  --equalsInk: #FFFFFF;
  /* ---- base «crisp»: radii (Themes.kt NumnoteShapes) and borders */
  --pillRadius: 12px;
  --doorRadius: 12px;
  --chipRadius: 6px;
  --keyRadius: 12px;
  --panelRadius: 16px;
  --cardRadius: 8px;
  --border-key: 1px;
  --border-card: 1px;
  --border-rim: 1;
  --border-tile: 1px;
  --border-recordWell: 1px;
  --border-pill: 1px;
  --border-deed: 1px;
  --border-button: 1px;
  --border-row: 1px;
  --border-rowAlpha: 0.55;
  --border-dash: 6px;
  --border-dashGap: 5px;
  --border-gap: 0px;
  /* ---- dimens at scale «compact» (TokenValues.dimens) */
  --minTouchTarget: 48px;
  --keyRowHeight: 56.32px;
  --keyGap: 6px;
  --keyboardInset: 6px;
  --keyboardInsetVertical: 2px;
  --variantCellWidth: 42.24px;
  --variantCellHeight: 40.48px;
  --holdAimThickness: 2px;
  --holdAimLength: 24px;
  --glyphScale: 0.92;
  --keyIcon: 22.08px;
  --chromeIcon: 20.24px;
  --inlineIcon: 14.72px;
  --categoryIcon: 18.4px;
  --mathFont: 25.2px;
  --editorMathFont: 21.6px;
  --cardMathFont: 18px;
  --canvasFontLarge: 39.6px;
  --canvasFontMedium: 32.4px;
  --resultFont: 27px;
  --resultNextFont: 18px;
  --resultLineMinHeight: 55.8px;
  --walkStripRoom: 51.52px;
  --slotBubbleRoom: 0px;
  --dockPillHeight: 38.72px;
  --headerAirVertical: 8px;
  --roundButton: 48px;
  --headerButton: 48px;
  --badge: 15.84px;
  --panelRowMinHeight: 48px;
  --rowHeight: 56px;
  --bottomDeedHeight: 52px;
  --widgetTileHeight: 72px;
  --menuRowHeight: 35.2px;
  --panelFont: 12.42px;
  --panelCaptionFont: 10.58px;
  --windowTitleFont: 22.08px;
  --headingFont: 18.4px;
  --rowTitleFont: 14.72px;
  --bodyFont: 12.88px;
  --captionFont: 11.96px;
  --menuFont: 12.88px;
  --rowMathFont: 15.3px;
  --keyWordFloorFont: 9.2px;
  /* ---- spacing */
  --space2: 2px;
  --space4: 4px;
  --space6: 6px;
  --space8: 8px;
  --space10: 10px;
  --space12: 12px;
  --space14: 14px;
  --space16: 16px;
  --space18: 18px;
  --space24: 24px;
  --screenMargin: var(--space16);
  --sectionGap: var(--space24);
  --headerButtonInset: var(--space4);
  --headerFaceInset: var(--space8);
  --headerButtonGap: var(--space8);
  --cardInset: var(--space16);
  --scrollFoot: var(--space24);
  --chipBorderWidth: 1.5px;
  --alpha-faint: 0.12;
  --alpha-disabled: 0.3;
  --alpha-subtle: 0.45;
  --alpha-scrim: 0.9;
  --alpha-dimmed: 0.38;
  --alpha-refused: 0.5;
  --alpha-wash: 0.06;
  --alpha-resultNext: 0.5;
  --script-scale: 0.66;
  --script-raise: 0.55;
  --script-drop: -0.25;
  --script-smallScale: 0.72;
  /* ---- elevation and the default key height «standard» */
  --elevation-floating: 4px;
  --elevation-popup: 8px;
  --elevation-page: 12px;
  --keyHeightFactor: 1.15;
  /* ---- the result line's step (motion.tokens.json) */
  --resultMove: 380ms;
  --resultMoveEase: cubic-bezier(0.2, 0.85, 0.25, 1);
  /* ---- typography roles */
  --type-mathLg-size: 28px;
  --type-mathLg-line: 36px;
  --type-mathLg-weight: 400;
  --type-mathMd-size: 24px;
  --type-mathMd-line: 32px;
  --type-mathMd-weight: 400;
  --type-mathSm-size: 18px;
  --type-mathSm-line: 24px;
  --type-mathSm-weight: 400;
  --type-headLg-size: 24px;
  --type-headLg-line: 32px;
  --type-headLg-weight: 700;
  --type-headLg-tracking: -0.02em;
  --type-headMd-size: 20px;
  --type-headMd-line: 28px;
  --type-headMd-weight: 600;
  --type-bodyLg-size: 16px;
  --type-bodyLg-line: 24px;
  --type-bodyLg-weight: 400;
  --type-bodyMd-size: 14px;
  --type-bodyMd-line: 20px;
  --type-bodyMd-weight: 400;
  --type-labelBold-size: 13px;
  --type-labelBold-line: 16px;
  --type-labelBold-weight: 700;
  --type-labelBold-tracking: 0.04em;
  --type-labelSm-size: 12px;
  --type-labelSm-line: 16px;
  --type-labelSm-weight: 500;
  --weight-title: 600;
  --weight-emphasis: 700;
  --weight-body: 400;
}

/*
 * THE REPLICA LOOKS (D-SITE-5 SITE5-1): the landing's s6 phone re-points its roles at these
 * for one phase - the dark scheme whatever the page's, and the accent «cobalt».
 */
:root {
  --look-dark-ground: #101412; /* D-PAL-4 PAL4-1: the scheme's ground */
  --look-dark-ink: #EEF3F0;
  --look-dark-surfaceLow: #1C221F; /* D-PAL-4: neutral keys «( ) C ⌫», mode pills, search */
  --look-dark-onSurfaceLow: #A9B5AE;
  --look-dark-surfaceHigh: #232A26; /* D-PAL-4: digit keys, cards, sheets */
  --look-dark-surfaceHighest: #1A1F1C; /* the keyboard panel and settings cards - derived from ground/surfaceHigh */
  --look-dark-outline: #717975; /* D-PAL-4: the rim of keys, pills and cards */
  --look-dark-accent: #EEF3F0; /* D-PAL-4: the action ink is the scheme's ink - no hue of its own */
  --look-dark-onAccent: #101412;
  --look-dark-accentContainer: #3E4932; /* D-PAL-4 PAL4-4: operator keys - the default accent «sage» (D-THEME-10) */
  --look-dark-onAccentContainer: #D6E5C2;
  --look-dark-accent2: #B2C898; /* D-PAL-4 PAL4-4: «=» and the mode mark - the default accent «sage» (D-THEME-10) */
  --look-dark-onAccent2: #111111;
  --look-dark-accent2Container: #B2C898;
  --look-dark-onAccent2Container: #111111;
  --look-dark-error: #FF8A65; /* D-PAL-4 PAL4-3: scarlet «C» / «⌫» and every error */
  --look-dark-onError: #101412; /* text on the error fill */
  --look-dark-inverseSurface: #EEF1EF; /* the other mode's surface */
  --look-dark-inverseOnSurface: #141C18;
  --look-dark-paramChipContainer: #24361F; /* D-PAL-4 PAL4-2: the kinds, the same in every scheme */
  --look-dark-paramChipOutline: #668453;
  --look-dark-paramChipContent: #B5CEA8;
  --look-dark-paramChipInheritedContainer: #1A2518; /* D-NEST-2 NEST2-4: the inherited parameter's chip - halfway to the surface */
  --look-dark-unitContainer: #143A36;
  --look-dark-unitOutline: #40A592; /* the unit label after the digits - the unit ink a step lighter */
  --look-dark-unitContent: #4EC9B0;
  --look-dark-numberContainer: #1C3447;
  --look-dark-numberContent: #9CDCFE;
  --look-dark-formulaContainer: #38351F;
  --look-dark-formulaContent: #DCDCAA;
  --look-dark-calculationContainer: #45474E;
  --look-dark-calculationContent: #E4E6EA;
  --look-dark-ghostContent: #9DA8A2;
  --look-dark-ghostOutline: #3B4540;
  --look-dark-slotBorder: #828E88;
  --look-dark-errorHighlight: rgba(255, 138, 101, 0.349);
  --look-dark-pendingHighlight: rgba(226, 184, 90, 0.302);
  --look-dark-operatorFill: #3E4932;
  --look-dark-operatorInk: #D6E5C2;
  --look-dark-equalsFill: #B2C898;
  --look-dark-equalsInk: #111111;
  --look-cobalt-operatorFill: #ADBEE1;
  --look-cobalt-operatorInk: #19356B;
  --look-cobalt-equalsFill: #234995;
  --look-cobalt-equalsInk: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #101412; /* D-PAL-4 PAL4-1: the scheme's ground */
    --ink: #EEF3F0;
    --surfaceLow: #1C221F; /* D-PAL-4: neutral keys «( ) C ⌫», mode pills, search */
    --onSurfaceLow: #A9B5AE;
    --surfaceHigh: #232A26; /* D-PAL-4: digit keys, cards, sheets */
    --surfaceHighest: #1A1F1C; /* the keyboard panel and settings cards - derived from ground/surfaceHigh */
    --outline: #717975; /* D-PAL-4: the rim of keys, pills and cards */
    --accent: #EEF3F0; /* D-PAL-4: the action ink is the scheme's ink - no hue of its own */
    --onAccent: #101412;
    --accentContainer: #3E4932; /* D-PAL-4 PAL4-4: operator keys - the default accent «sage» (D-THEME-10) */
    --onAccentContainer: #D6E5C2;
    --accent2: #B2C898; /* D-PAL-4 PAL4-4: «=» and the mode mark - the default accent «sage» (D-THEME-10) */
    --onAccent2: #111111;
    --accent2Container: #B2C898;
    --onAccent2Container: #111111;
    --error: #FF8A65; /* D-PAL-4 PAL4-3: scarlet «C» / «⌫» and every error */
    --onError: #101412; /* text on the error fill */
    --inverseSurface: #EEF1EF; /* the other mode's surface */
    --inverseOnSurface: #141C18;
    --paramChipContainer: #24361F; /* D-PAL-4 PAL4-2: the kinds, the same in every scheme */
    --paramChipOutline: #668453;
    --paramChipContent: #B5CEA8;
    --paramChipInheritedContainer: #1A2518; /* D-NEST-2 NEST2-4: the inherited parameter's chip - halfway to the surface */
    --unitContainer: #143A36;
    --unitOutline: #40A592; /* the unit label after the digits - the unit ink a step lighter */
    --unitContent: #4EC9B0;
    --numberContainer: #1C3447;
    --numberContent: #9CDCFE;
    --formulaContainer: #38351F;
    --formulaContent: #DCDCAA;
    --calculationContainer: #45474E;
    --calculationContent: #E4E6EA;
    --ghostContent: #9DA8A2;
    --ghostOutline: #3B4540;
    --slotBorder: #828E88;
    --errorHighlight: rgba(255, 138, 101, 0.349);
    --pendingHighlight: rgba(226, 184, 90, 0.302);
    --operatorFill: #3E4932;
    --operatorInk: #D6E5C2;
    --equalsFill: #B2C898;
    --equalsInk: #111111;
    --look-cobalt-operatorFill: #323E58;
    --look-cobalt-operatorInk: #ACC1EC;
    --look-cobalt-equalsFill: #88A4DD;
    --look-cobalt-equalsInk: #111111;
  }
}

/*
 * THE PICKER LOOKS (S6.astro): a .nn-look replica wears the colour, mode and accent its
 * data-* attributes name - white/sand x sage/cobalt/rose x light/dark; --pick-<id> is each button's own swatch.
 */
:root {
  --pick-white: #FAFBFA;
  --pick-sand: #F6F1E6;
  --pick-sage: #56693A;
  --pick-cobalt: #234995;
  --pick-rose: #932540;
}
.nn-look[data-colour="white"][data-mode="light"] {
  --ground: #FAFBFA; /* D-PAL-4 PAL4-1: the scheme's ground */
  --ink: #141C18;
  --surfaceLow: #EEF1EF; /* D-PAL-4: neutral keys «( ) C ⌫», mode pills, search */
  --onSurfaceLow: #46514B;
  --surfaceHigh: #FFFFFF; /* D-PAL-4: digit keys, cards, sheets */
  --surfaceHighest: #FFFFFF; /* the keyboard panel and settings cards - derived from ground/surfaceHigh */
  --outline: #59615C; /* D-PAL-4: the rim of keys, pills and cards */
  --accent: #141C18; /* D-PAL-4: the action ink is the scheme's ink - no hue of its own */
  --onAccent: #FAFBFA;
  --accentContainer: #CCD8BB; /* D-PAL-4 PAL4-4: operator keys - the default accent «sage» (D-THEME-10) */
  --onAccentContainer: #394826;
  --accent2: #56693A; /* D-PAL-4 PAL4-4: «=» and the mode mark - the default accent «sage» (D-THEME-10) */
  --onAccent2: #FFFFFF;
  --accent2Container: #56693A;
  --onAccent2Container: #FFFFFF;
  --error: #C62800; /* D-PAL-4 PAL4-3: scarlet «C» / «⌫» and every error */
  --onError: #FFFFFF; /* text on the error fill */
  --inverseSurface: #232A26; /* the other mode's surface */
  --inverseOnSurface: #EEF3F0;
  --paramChipContainer: #DCF2E6; /* D-PAL-4 PAL4-2: the kinds, the same in every scheme */
  --paramChipOutline: #459774;
  --paramChipContent: #066A46;
  --paramChipInheritedContainer: #EEF8F2; /* D-NEST-2 NEST2-4: the inherited parameter's chip - halfway to the surface */
  --unitContainer: #DBEFF4;
  --unitOutline: #4B8797; /* the unit label after the digits - the unit ink a step lighter */
  --unitContent: #1B6478;
  --numberContainer: #E4E9FB;
  --numberContent: #001080;
  --formulaContainer: #F5EDD6;
  --formulaContent: #795E26;
  --calculationContainer: #C8C9CE;
  --calculationContent: #2A2D33;
  --ghostContent: #545F59;
  --ghostOutline: #C9D1CC;
  --slotBorder: #747E78;
  --errorHighlight: rgba(198, 40, 0, 0.1412);
  --pendingHighlight: rgba(154, 99, 0, 0.2);
}
.nn-look[data-colour="white"][data-mode="light"][data-accent="sage"] {
  --operatorFill: #CCD8BB;
  --operatorInk: #394826;
  --equalsFill: #56693A;
  --equalsInk: #FFFFFF;
}
.nn-look[data-colour="white"][data-mode="light"][data-accent="cobalt"] {
  --operatorFill: #ADBEE1;
  --operatorInk: #19356B;
  --equalsFill: #234995;
  --equalsInk: #FFFFFF;
}
.nn-look[data-colour="white"][data-mode="light"][data-accent="rose"] {
  --operatorFill: #E0AEBA;
  --operatorInk: #6A1B2E;
  --equalsFill: #932540;
  --equalsInk: #FFFFFF;
}
.nn-look[data-colour="white"][data-mode="dark"] {
  --ground: #101412; /* D-PAL-4 PAL4-1: the scheme's ground */
  --ink: #EEF3F0;
  --surfaceLow: #1C221F; /* D-PAL-4: neutral keys «( ) C ⌫», mode pills, search */
  --onSurfaceLow: #A9B5AE;
  --surfaceHigh: #232A26; /* D-PAL-4: digit keys, cards, sheets */
  --surfaceHighest: #1A1F1C; /* the keyboard panel and settings cards - derived from ground/surfaceHigh */
  --outline: #717975; /* D-PAL-4: the rim of keys, pills and cards */
  --accent: #EEF3F0; /* D-PAL-4: the action ink is the scheme's ink - no hue of its own */
  --onAccent: #101412;
  --accentContainer: #3E4932; /* D-PAL-4 PAL4-4: operator keys - the default accent «sage» (D-THEME-10) */
  --onAccentContainer: #D6E5C2;
  --accent2: #B2C898; /* D-PAL-4 PAL4-4: «=» and the mode mark - the default accent «sage» (D-THEME-10) */
  --onAccent2: #111111;
  --accent2Container: #B2C898;
  --onAccent2Container: #111111;
  --error: #FF8A65; /* D-PAL-4 PAL4-3: scarlet «C» / «⌫» and every error */
  --onError: #101412; /* text on the error fill */
  --inverseSurface: #EEF1EF; /* the other mode's surface */
  --inverseOnSurface: #141C18;
  --paramChipContainer: #24361F; /* D-PAL-4 PAL4-2: the kinds, the same in every scheme */
  --paramChipOutline: #668453;
  --paramChipContent: #B5CEA8;
  --paramChipInheritedContainer: #1A2518; /* D-NEST-2 NEST2-4: the inherited parameter's chip - halfway to the surface */
  --unitContainer: #143A36;
  --unitOutline: #40A592; /* the unit label after the digits - the unit ink a step lighter */
  --unitContent: #4EC9B0;
  --numberContainer: #1C3447;
  --numberContent: #9CDCFE;
  --formulaContainer: #38351F;
  --formulaContent: #DCDCAA;
  --calculationContainer: #45474E;
  --calculationContent: #E4E6EA;
  --ghostContent: #9DA8A2;
  --ghostOutline: #3B4540;
  --slotBorder: #828E88;
  --errorHighlight: rgba(255, 138, 101, 0.349);
  --pendingHighlight: rgba(226, 184, 90, 0.302);
}
.nn-look[data-colour="white"][data-mode="dark"][data-accent="sage"] {
  --operatorFill: #3E4932;
  --operatorInk: #D6E5C2;
  --equalsFill: #B2C898;
  --equalsInk: #111111;
}
.nn-look[data-colour="white"][data-mode="dark"][data-accent="cobalt"] {
  --operatorFill: #323E58;
  --operatorInk: #ACC1EC;
  --equalsFill: #88A4DD;
  --equalsInk: #111111;
}
.nn-look[data-colour="white"][data-mode="dark"][data-accent="rose"] {
  --operatorFill: #57323C;
  --operatorInk: #EBADBD;
  --equalsFill: #DC899E;
  --equalsInk: #111111;
}
.nn-look[data-colour="sand"][data-mode="light"] {
  --ground: #F6F1E6; /* D-PAL-4 PAL4-1: the scheme's ground */
  --ink: #221D14;
  --surfaceLow: #ECE5D6; /* D-PAL-4: neutral keys «( ) C ⌫», mode pills, search */
  --onSurfaceLow: #585040;
  --surfaceHigh: #FFFCF5; /* D-PAL-4: digit keys, cards, sheets */
  --surfaceHighest: #FFFCF5; /* the keyboard panel and settings cards - derived from ground/surfaceHigh */
  --outline: #625B4E; /* D-PAL-4: the rim of keys, pills and cards */
  --accent: #221D14; /* D-PAL-4: the action ink is the scheme's ink - no hue of its own */
  --onAccent: #F6F1E6;
  --accentContainer: #CCD8BB; /* D-PAL-4 PAL4-4: operator keys - the default accent «sage» (D-THEME-10) */
  --onAccentContainer: #394826;
  --accent2: #56693A; /* D-PAL-4 PAL4-4: «=» and the mode mark - the default accent «sage» (D-THEME-10) */
  --onAccent2: #FFFFFF;
  --accent2Container: #56693A;
  --onAccent2Container: #FFFFFF;
  --error: #C62800; /* D-PAL-4 PAL4-3: scarlet «C» / «⌫» and every error */
  --onError: #FFFFFF; /* text on the error fill */
  --inverseSurface: #2C2820; /* the other mode's surface */
  --inverseOnSurface: #F2EDE2;
  --paramChipContainer: #DCF2E6; /* D-PAL-4 PAL4-2: the kinds, the same in every scheme */
  --paramChipOutline: #459774;
  --paramChipContent: #066A46;
  --paramChipInheritedContainer: #EEF7EE; /* D-NEST-2 NEST2-4: the inherited parameter's chip - halfway to the surface */
  --unitContainer: #DBEFF4;
  --unitOutline: #4B8797; /* the unit label after the digits - the unit ink a step lighter */
  --unitContent: #1B6478;
  --numberContainer: #E4E9FB;
  --numberContent: #001080;
  --formulaContainer: #F5EDD6;
  --formulaContent: #795E26;
  --calculationContainer: #C8C9CE;
  --calculationContent: #2A2D33;
  --ghostContent: #655D4D;
  --ghostOutline: #D3C9B4;
  --slotBorder: #837A69;
  --errorHighlight: rgba(198, 40, 0, 0.1412);
  --pendingHighlight: rgba(150, 96, 0, 0.2);
}
.nn-look[data-colour="sand"][data-mode="light"][data-accent="sage"] {
  --operatorFill: #CCD8BB;
  --operatorInk: #394826;
  --equalsFill: #56693A;
  --equalsInk: #FFFFFF;
}
.nn-look[data-colour="sand"][data-mode="light"][data-accent="cobalt"] {
  --operatorFill: #ADBEE1;
  --operatorInk: #19356B;
  --equalsFill: #234995;
  --equalsInk: #FFFFFF;
}
.nn-look[data-colour="sand"][data-mode="light"][data-accent="rose"] {
  --operatorFill: #E0AEBA;
  --operatorInk: #6A1B2E;
  --equalsFill: #932540;
  --equalsInk: #FFFFFF;
}
.nn-look[data-colour="sand"][data-mode="dark"] {
  --ground: #17150F; /* D-PAL-4 PAL4-1: the scheme's ground */
  --ink: #F2EDE2;
  --surfaceLow: #24211A; /* D-PAL-4: neutral keys «( ) C ⌫», mode pills, search */
  --onSurfaceLow: #B7AE9B;
  --surfaceHigh: #2C2820; /* D-PAL-4: digit keys, cards, sheets */
  --surfaceHighest: #221E18; /* the keyboard panel and settings cards - derived from ground/surfaceHigh */
  --outline: #7D776A; /* D-PAL-4: the rim of keys, pills and cards */
  --accent: #F2EDE2; /* D-PAL-4: the action ink is the scheme's ink - no hue of its own */
  --onAccent: #17150F;
  --accentContainer: #3E4932; /* D-PAL-4 PAL4-4: operator keys - the default accent «sage» (D-THEME-10) */
  --onAccentContainer: #D6E5C2;
  --accent2: #B2C898; /* D-PAL-4 PAL4-4: «=» and the mode mark - the default accent «sage» (D-THEME-10) */
  --onAccent2: #111111;
  --accent2Container: #B2C898;
  --onAccent2Container: #111111;
  --error: #FF8A65; /* D-PAL-4 PAL4-3: scarlet «C» / «⌫» and every error */
  --onError: #17150F; /* text on the error fill */
  --inverseSurface: #ECE5D6; /* the other mode's surface */
  --inverseOnSurface: #221D14;
  --paramChipContainer: #24361F; /* D-PAL-4 PAL4-2: the kinds, the same in every scheme */
  --paramChipOutline: #668453;
  --paramChipContent: #B5CEA8;
  --paramChipInheritedContainer: #1E2617; /* D-NEST-2 NEST2-4: the inherited parameter's chip - halfway to the surface */
  --unitContainer: #143A36;
  --unitOutline: #40A592; /* the unit label after the digits - the unit ink a step lighter */
  --unitContent: #4EC9B0;
  --numberContainer: #1C3447;
  --numberContent: #9CDCFE;
  --formulaContainer: #38351F;
  --formulaContent: #DCDCAA;
  --calculationContainer: #45474E;
  --calculationContent: #E4E6EA;
  --ghostContent: #AAA290;
  --ghostOutline: #463F31;
  --slotBorder: #8F8776;
  --errorHighlight: rgba(255, 138, 101, 0.349);
  --pendingHighlight: rgba(226, 184, 90, 0.302);
}
.nn-look[data-colour="sand"][data-mode="dark"][data-accent="sage"] {
  --operatorFill: #3E4932;
  --operatorInk: #D6E5C2;
  --equalsFill: #B2C898;
  --equalsInk: #111111;
}
.nn-look[data-colour="sand"][data-mode="dark"][data-accent="cobalt"] {
  --operatorFill: #323E58;
  --operatorInk: #ACC1EC;
  --equalsFill: #88A4DD;
  --equalsInk: #111111;
}
.nn-look[data-colour="sand"][data-mode="dark"][data-accent="rose"] {
  --operatorFill: #57323C;
  --operatorInk: #EBADBD;
  --equalsFill: #DC899E;
  --equalsInk: #111111;
}

/*
 * W, THE ONE WIDTH (D-KB-25, D-KB-26) - Scale.kt `gridCell`: the keys' row less its two
 * insets and 3 gaps, cut into 4 keys, each halved. The phone cuts it from the window's
 * short side; the page cuts it from the calculator's own width (`.nn-calc` is the size
 * container), which IS the window on a phone. A key is 2W, a strip cell W (DockStrip.kt),
 * a header circle W; the strip is W tall plus its band air (DockStrip BAND_TOP/BOTTOM).
 */
.nn-calc { container-type: inline-size; }
.nn-grid {
  --W: calc((100cqw - 2 * var(--keyboardInset) - 3 * var(--keyGap)) / 4 / 2);
  --key: calc(2 * var(--W));
  --stripHeight: calc(var(--W) + 10px);
  --stripBandTop: 2px;
  --keysRestHeight: calc(5 * var(--keyRowHeight) + 2 * var(--keyboardInsetVertical));
}
