/* LexiClass website 1.2.0, product look (TOMA 2026-10-29: "LexiClass is a product brand, like Office for Microsoft").
   Dark classroom canvas like the teacher app, the six group colours for energy, Plus Jakarta Sans for headings,
   Inter for text. XiroDigital appears only as "by XiroDigital". Mockups: claude.ai/artifact/TizyhEuikNrsTdtVK4Rccx */

@font-face { font-family: Inter; src: url("../fonts/Inter-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Inter; src: url("../fonts/Inter-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: Inter; src: url("../fonts/Inter-SemiBold.woff2") format("woff2"); font-weight: 600 700; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-latin-ext-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-latin-ext-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  color-scheme: dark;
  /* the six group colours of the teacher app; text on them is always --on-colour */
  --g-blue: #4BA3F5; --g-orange: #F5A623; --g-green: #3DBE5A; --g-pink: #D35DB3; --g-cyan: #12B5C8; --g-red: #E84A5F;
  --on-colour: #0E1116; --logo: #3557E8;
  --bg: #0F1218; --bg-band: #151A23; --surface: #181D27; --surface-sunk: #12161E; --surface-raised: #1F2531; --chip: #2B3342;
  --line: #222937; --border: #2A3244; --border-strong: #39435A;
  --ink: #E9EDF4; --ink-strong: #FFFFFF; --ink-soft: #C9D1DE; --ink-muted: #93A0B4; --ink-faint: #808CA0;
  --link: #7CC0FF; --link-hover: #B5DBFF; --nav-on: #233049;
  --success: #3DBE5A; --warning: #F5A623; --danger: #E84A5F;
  --font-sans: Inter, "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --font-head: "Plus Jakarta Sans", Inter, "Segoe UI", system-ui, sans-serif;
  /* lab fonts (site 1.6.9): product and lab names, and figures, look the same on every page that shows labs,
     including the plain portal checkout, which redefines --font-sans/--font-head but not these two */
  --font-name: "Plus Jakarta Sans", Inter, "Segoe UI", system-ui, sans-serif;
  --font-num: Inter, "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --radius-sm: 6px; --radius-md: 12px; --radius-lg: 20px; --radius-xl: 28px;
  /* kept for pages that still name the old tokens */
  --brand-blue: var(--g-blue); --brand-tint: var(--nav-on); --surface-alt: var(--surface-sunk); --on-blue: var(--on-colour);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-sans); font-size: 16px; line-height: 25px; color: var(--ink); background: var(--bg); }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); text-decoration: underline; }
/* Links inside running text are underlined, so they are not told apart by colour alone (WCAG 1.4.1). */
p a:not(.btn), .muted a:not(.btn) { text-decoration: underline; text-underline-offset: 2px; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink-strong); margin: 0 0 16px; }
h1 { font-size: 34px; line-height: 42px; font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: 28px; line-height: 36px; font-weight: 800; letter-spacing: -0.02em; }
h3 { font-size: 20px; line-height: 28px; font-weight: 700; }
p { margin: 0 0 16px; }
small, .small { font-size: 14px; line-height: 20px; }
.muted { color: var(--ink-muted); }
.caption { font-size: 13px; line-height: 16px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--g-orange); }
.caption.blue { color: var(--g-blue); } .caption.green { color: var(--g-green); } .caption.pink { color: var(--g-pink); }
.display { font-family: var(--font-head); font-size: 64px; line-height: 68px; letter-spacing: -0.03em; font-weight: 800; color: var(--ink-strong); }
.h-big { font-size: 44px; line-height: 50px; }
.c-blue { color: var(--g-blue); } .c-orange { color: var(--g-orange); } .c-green { color: var(--g-green); }
@media (max-width: 760px) { .display { font-size: 42px; line-height: 48px; } .h-big { font-size: 32px; line-height: 38px; } h1 { font-size: 28px; line-height: 36px; } }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 760px) { .wrap { padding: 0 32px; } }
section { padding: 88px 0; }
section.alt, section.band { background: var(--bg-band); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section.tight { padding: 32px 0; }
section.flush-top { padding-top: 0; }
@media (max-width: 760px) { section { padding: 56px 0; } }

/* header */
.top { border-bottom: 1px solid var(--line); background: rgba(15, 18, 24, .92); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 10; }
.top .wrap { display: flex; align-items: center; gap: 28px; min-height: 76px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink-strong); font-family: var(--font-head); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; color: var(--ink-strong); }
.brand img { width: 36px; height: 36px; border-radius: 22%; }
.brand .by { font-family: var(--font-sans); font-size: 11px; font-weight: 500; letter-spacing: 0; color: var(--ink-muted); display: block; line-height: 13px; }
.nav { display: flex; gap: 24px; flex-wrap: wrap; flex: 1; }
.nav a { color: var(--ink-soft); font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--ink-strong); text-decoration: none; }
.nav a.on { color: var(--ink-strong); box-shadow: inset 0 -3px 0 var(--g-orange); padding-bottom: 4px; }
.top-actions { display: flex; gap: 12px; align-items: center; }
.lang a { color: var(--ink-muted); font-size: 13px; font-weight: 700; padding: 2px 4px; }
.lang a.on { color: var(--ink-strong); text-decoration: underline; text-decoration-color: var(--g-orange); text-underline-offset: 4px; }
@media (max-width: 980px) { .nav { order: 3; flex-basis: 100%; gap: 10px 18px; padding-bottom: 12px; } }

/* buttons: orange = the main action, like "talk" in the app */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: var(--radius-md);
  border: 1px solid var(--g-orange); background: var(--g-orange); color: #15110A; font: 700 15px/20px var(--font-sans); cursor: pointer; text-decoration: none; }
.btn:hover { background: #FFB940; border-color: #FFB940; color: #15110A; text-decoration: none; }
.btn.secondary { background: var(--surface-raised); border-color: var(--g-blue); color: var(--ink-strong); }
.btn.secondary:hover { background: #26324A; color: var(--ink-strong); }
.btn.ghost { background: transparent; border-color: var(--border-strong); color: var(--ink-strong); font-weight: 600; }
.btn.ghost:hover { background: var(--surface-raised); color: var(--ink-strong); }
.btn.dark { background: var(--on-colour); border-color: var(--on-colour); color: #fff; }
.btn.dark:hover { background: #000; color: #fff; }
.btn.danger { background: var(--danger); border-color: var(--danger); color: var(--on-colour); }
.btn.large { min-height: 52px; padding: 0 24px; font-size: 16px; }
.btn.small { min-height: 34px; padding: 0 12px; font-size: 14px; border-radius: 10px; }
.btn.on-navy { background: var(--g-orange); color: #15110A; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn svg { width: 18px; height: 18px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

label { display: block; font-size: 14px; line-height: 20px; font-weight: 600; margin-bottom: 6px; color: var(--ink-soft); }
.field { margin-bottom: 16px; }
.field .hint { font-size: 13px; color: var(--ink-muted); font-weight: 400; margin-top: 4px; }
/* Site 1.24.0: SIIIR look-up — the found school, and the fields it filled in until the school checks them. */
.siiir-row { display: flex; gap: 8px; align-items: center; }
.siiir-row input { flex: 1; }
.siiir-result.ok { color: var(--ink); font-weight: 600; }
.siiir-result.warn { color: var(--danger); }
input.siiir-filled, select.siiir-filled { border-color: var(--warning); box-shadow: 0 0 0 2px rgba(245, 166, 35, .35); }
input:not([type]), input[type=text], input[type=email], input[type=password], input[type=number], input[type=tel], input[type=date], input[type=search], select, textarea {
  width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--border-strong); border-radius: 10px; font: 400 16px/22px var(--font-sans);
  color: var(--ink-strong); background: var(--surface); }
input::placeholder, textarea::placeholder { color: var(--ink-faint); }
/* 1.27.5: "Skip to content" link for keyboard users, shown only when it has the focus. */
.skip-link { position: absolute; left: 16px; top: -48px; z-index: 1000; padding: 8px 14px; border-radius: 8px; background: var(--surface-raised); color: var(--ink-strong); }
.skip-link:focus { top: 12px; }
main:focus { outline: none; }
input:focus, select:focus, textarea:focus, .btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--g-blue); outline-offset: 2px; }
input[type=checkbox], input[type=radio] { accent-color: var(--g-orange); width: 18px; height: 18px; }
textarea { min-height: 110px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--ink); }
.check input { margin-top: 3px; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 24px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.grid4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.inline-form { display: inline; }
.validation, .field-error { color: #FF8A98; font-size: 14px; }

/* cards, notices */
.card { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); padding: 24px; color: var(--ink); }
a.card { display: block; text-decoration: none; transition: transform .12s ease, border-color .12s ease; }
a.card:hover { transform: translateY(-2px); border-color: var(--border-strong); text-decoration: none; }
.card.tint { background: var(--surface-raised); }
.card h3 { margin-bottom: 8px; }
.card p.muted { color: #AEB8C8; }
.card.feature .icon { width: 52px; height: 52px; border-radius: 14px; background: var(--g-blue); display: grid; place-items: center; margin-bottom: 18px; }
.card.feature .icon svg { width: 26px; height: 26px; stroke: var(--on-colour); fill: none; stroke-width: 2; }
.grid3 > .card.feature:nth-child(6n+2) .icon { background: var(--g-orange); }
.grid3 > .card.feature:nth-child(6n+3) .icon { background: var(--g-green); }
.grid3 > .card.feature:nth-child(6n+4) .icon { background: var(--g-pink); }
.grid3 > .card.feature:nth-child(6n+5) .icon { background: var(--g-cyan); }
.grid3 > .card.feature:nth-child(6n+6) .icon { background: var(--g-red); }
.stat { font-family: var(--font-head); font-size: 40px; line-height: 48px; font-weight: 800; color: var(--ink-strong); }
.stat-label { font-size: 14px; color: var(--ink-muted); font-weight: 500; }
/* coloured tiles (dashboards): the whole card in a group colour */
.tile { border-radius: 18px; padding: 20px; color: var(--on-colour); background: var(--g-blue); border: 0; }
.tile .stat, .tile .stat-label { color: var(--on-colour); }
.tile .stat { font-size: 48px; line-height: 56px; }
.tile .stat-label { font-weight: 600; }
.tile .tile-title { font-size: 14px; font-weight: 700; }
.tile.orange { background: var(--g-orange); } .tile.green { background: var(--g-green); } .tile.pink { background: var(--g-pink); }
.tile.cyan { background: var(--g-cyan); } .tile.red { background: var(--g-red); } .tile.blue { background: var(--g-blue); }
.tile.quiet { background: var(--surface); border: 1px solid var(--border); color: var(--ink); }
.tile.quiet .stat { color: var(--ink-strong); } .tile.quiet .stat-label { color: var(--ink-muted); }
a.tile:hover { filter: brightness(1.07); }

.notice { border-radius: var(--radius-md); padding: 12px 16px; margin-bottom: 16px; border: 1px solid var(--border); border-left-width: 6px; background: var(--surface); color: var(--ink); }
.notice.ok { border-color: var(--success); }
.notice.warn { border-color: var(--warning); }
.notice.err { border-color: var(--danger); color: #FFB3BD; }
.test-strip { background: var(--g-orange); color: #15110A; font-weight: 700; text-align: center; font-size: 13px; padding: 4px 16px; }
.badge { display: inline-block; font-size: 12px; line-height: 16px; font-weight: 800; padding: 3px 10px; border-radius: 999px;
  background: var(--chip); color: var(--ink-soft); white-space: nowrap; border: 0; }
.badge.ok { background: var(--g-green); color: var(--on-colour); }
.badge.warn { background: var(--g-orange); color: var(--on-colour); }
.badge.err { background: var(--g-red); color: var(--on-colour); }
.badge.blue { background: var(--g-blue); color: var(--on-colour); }
.badge.cyan { background: var(--g-cyan); color: var(--on-colour); }
.badge.pink { background: var(--g-pink); color: var(--on-colour); }

/* pills (home page) */
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: #1B2230; border: 1px solid #2C3547; font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.pill .dot { width: 8px; height: 8px; border-radius: 4px; background: var(--g-green); }
.chip-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chip-row span { padding: 10px 16px; border-radius: 999px; color: var(--on-colour); font-weight: 700; font-size: 14px; background: var(--g-blue); }
.chip-row span:nth-child(6n+2) { background: var(--g-orange); } .chip-row span:nth-child(6n+3) { background: var(--g-green); }
.chip-row span:nth-child(6n+4) { background: var(--g-pink); } .chip-row span:nth-child(6n+5) { background: var(--g-cyan); }
.chip-row span:nth-child(6n+6) { background: var(--g-red); }
.ticks { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 14px; color: var(--ink-muted); }
.ticks span { display: flex; align-items: center; gap: 8px; }
.ticks svg { width: 18px; height: 18px; stroke: var(--g-green); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* hero */
.hero { padding: 88px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero p.lead { color: #B7C0CF; font-size: 19px; line-height: 30px; max-width: 560px; margin-top: 24px; }
.hero h1 { margin-top: 24px; }
.hero .actions { margin-top: 36px; }
.hero .ticks { margin-top: 40px; }
@media (max-width: 980px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding: 48px 0; } }
/* the classroom picture: like the app's class screen */
.classroom { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.classroom .head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--ink-strong); }
.classroom .live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: #2A1416; color: #FF8A8A; font: 700 12px/16px var(--font-sans); }
.classroom .live::before { content: ""; width: 8px; height: 8px; border-radius: 4px; background: #FF5A5A; }
.groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 520px) { .groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.grp { --c: var(--g-blue); border-radius: 12px; overflow: hidden; border: 2px solid var(--c); background: var(--surface-raised); }
.grp .name { background: var(--c); color: var(--on-colour); padding: 8px 10px; font-weight: 700; font-size: 14px; line-height: 18px; }
.grp .name small { display: block; font-weight: 500; font-size: 11px; line-height: 14px; }
.grp .seats { padding: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.grp .seats span { padding: 5px 8px; border-radius: 6px; background: var(--chip); font-size: 11px; line-height: 14px; color: #DDE3EC; }
.grp .seats span.mic { background: var(--g-green); color: var(--on-colour); font-weight: 700; }
.grp .seats span.hand { background: var(--g-orange); color: var(--on-colour); font-weight: 700; }
.grp.orange { --c: var(--g-orange); } .grp.green { --c: var(--g-green); } .grp.pink { --c: var(--g-pink); } .grp.cyan { --c: var(--g-cyan); } .grp.red { --c: var(--g-red); }
.talkbar { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--surface-sunk); font-size: 13px; color: var(--ink-soft); }
.talkbar strong { color: var(--ink-strong); }
.talkbar .mic { display: inline-flex; flex: none; width: 40px; height: 40px; border-radius: 20px; background: var(--g-blue); align-items: center; justify-content: center; }
.talkbar .wave { margin-left: auto; flex: none; }
@media (max-width: 520px) { .talkbar .wave { display: none; } }

/* steps on the home page */
.step-no { width: 56px; height: 56px; border-radius: 14px; background: var(--g-blue); color: var(--on-colour); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: 26px; margin-bottom: 20px; }
.grid3 > .card:nth-child(3n+2) .step-no { background: var(--g-orange); } .grid3 > .card:nth-child(3n+3) .step-no { background: var(--g-green); }

/* full-colour bands (AI, call to action) */
.splash { border-radius: var(--radius-xl); padding: 56px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; justify-content: space-between; color: var(--on-colour); background: var(--g-cyan); }
.splash.orange { background: var(--g-orange); color: #15110A; }
/* Ghost buttons on the orange band: dark text and border (white on orange was 2:1, under WCAG AA). */
.splash.orange .btn.ghost { color: #15110A; border-color: #15110A; }
.splash.orange .btn.ghost:hover { background: rgba(21, 17, 10, .1); color: #15110A; }
.splash h2, .splash .caption { color: inherit; }
.splash p { font-size: 18px; line-height: 28px; max-width: 540px; }
.splash > div { flex: 1 1 420px; min-width: 0; }
.splash > a { flex: none; }
@media (max-width: 760px) { .splash { padding: 32px 24px; gap: 28px; } }
.ai-card { background: var(--on-colour); border-radius: var(--radius-lg); padding: 24px; color: var(--ink); }
.ai-card .who { display: flex; align-items: center; gap: 12px; }
.ai-card .avatar { width: 44px; height: 44px; border-radius: 22px; background: var(--g-pink); color: var(--on-colour); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.ai-card .score { margin-left: auto; text-align: right; font-family: var(--font-head); font-weight: 800; font-size: 32px; line-height: 36px; color: var(--g-green); }
.ai-card .score small { display: block; font: 400 12px/16px var(--font-sans); color: var(--ink-muted); }
.meter { margin-top: 14px; }
.meter .lbl { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-soft); }
.meter .bar { height: 10px; border-radius: 5px; background: #222A38; margin-top: 6px; overflow: hidden; }
.meter .bar i { display: block; height: 10px; border-radius: 5px; background: var(--g-blue); }
.meter:nth-of-type(2) .bar i { background: var(--g-orange); } .meter:nth-of-type(3) .bar i { background: var(--g-green); }

/* plans */
.plan { display: flex; flex-direction: column; padding: 0; overflow: hidden; border: 2px solid var(--g-blue); }
.plan .plan-head { background: var(--g-blue); color: var(--on-colour); padding: 18px 28px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.plan .plan-head h3 { margin: 0; color: var(--on-colour); font-size: 24px; font-weight: 800; }
.plan .plan-head .tag { padding: 4px 10px; border-radius: 999px; background: var(--on-colour); color: var(--g-orange); font-size: 12px; font-weight: 800; }
.plan .plan-body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.plan ul { padding: 0; margin: 0 0 24px; list-style: none; display: flex; flex-direction: column; gap: 10px; color: var(--ink-soft); }
.plan li::before { content: "✓ "; color: var(--g-green); font-weight: 800; }
.plan .price { font-family: var(--font-sans); font-size: 32px; line-height: 40px; font-weight: 600; font-variant-numeric: tabular-nums lining-nums; color: var(--ink-strong); margin: 8px 0 16px; }
.plan .price .small { font-family: var(--font-sans); font-weight: 500; }
.plan .grow { flex: 1; }
.plan.featured, .plan.orange { border-color: var(--g-orange); } .plan.featured .plan-head, .plan.orange .plan-head { background: var(--g-orange); }
.plan.green { border-color: var(--g-green); } .plan.green .plan-head { background: var(--g-green); }
.plan.pink { border-color: var(--g-pink); } .plan.pink .plan-head { background: var(--g-pink); }

/* tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { font-size: 13px; font-weight: 600; color: var(--ink-muted); background: transparent; }
td { color: var(--ink-soft); }
td a { font-weight: 600; }
tbody tr:hover td { background: rgba(255, 255, 255, .02); }
tr:last-child td { border-bottom: none; }
td.num, th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums lining-nums; }
tfoot td { font-weight: 700; color: var(--ink-strong); background: var(--surface-sunk); }
.key { font-family: Consolas, "Cascadia Mono", "Courier New", monospace; font-size: 15px; letter-spacing: .02em; color: var(--ink-strong); }
pre { background: var(--surface-sunk); color: var(--ink-soft); border-radius: var(--radius-md); }

/* portal / admin shell: side menu like the mockups */
.shell { display: grid; grid-template-columns: 250px 1fr; gap: 40px; padding-top: 32px; padding-bottom: 72px; }
.side { background: var(--bg-band); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px 12px; align-self: start; position: sticky; top: 96px; }
.side a { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 12px; border-radius: 10px; color: var(--ink-soft); font-size: 15px; font-weight: 500; }
.side a.on { background: var(--nav-on); color: var(--ink-strong); font-weight: 600; box-shadow: inset 3px 0 0 var(--g-orange); }
.side a:hover { background: var(--surface-raised); color: var(--ink-strong); text-decoration: none; }
.side .count { margin-left: auto; padding: 2px 8px; border-radius: 999px; background: var(--g-orange); color: var(--on-colour); font-size: 12px; line-height: 16px; font-weight: 800; }
.side .count.blue { background: var(--g-blue); } .side .count.red { background: var(--g-red); }
.side .group { margin: 18px 12px 6px; }
.side .group:first-child { margin-top: 4px; }
/* menu button on phones (1.7.5): "Menu · current page", opens the grouped list; hidden on desktop */
.side-toggle { display: none; }
.side .side-out { margin: 12px 10px; }
@media (max-width: 900px) {
  .side.collapsible .side-toggle { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 48px; padding: 0 14px; border: 0; background: transparent;
    font: inherit; font-size: 15px; color: var(--ink-strong); text-align: left; cursor: pointer; border-radius: 8px; }
  .side-toggle .side-title { font-weight: 700; }
  .side-toggle .side-current { color: var(--ink-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
  .side-toggle .side-current::before { content: "·"; margin-right: 8px; }
  .side-toggle .count { margin-left: 0; }
  .side-toggle .side-chevron { margin-left: auto; width: 8px; height: 8px; flex: none; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; margin-top: -4px; transform: rotate(45deg); transition: transform .15s; }
  .side.open .side-toggle .side-chevron { margin-top: 4px; transform: rotate(-135deg); }
  .side.collapsible:not(.open) .side-links { display: none; }
  .side.collapsible .side-links { border-top: 1px solid var(--line); padding: 4px 6px 6px; }
  .side .side-links .group { display: block; margin: 14px 8px 4px; }
  .side .side-links .group:first-child { margin-top: 6px; }
  .side .side-out { margin: 10px 8px 6px; }
  .side .side-out .btn { width: 100%; }
}
.page-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.page-head h1 { margin: 0; }
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; gap: 16px; }
  .side { position: static; padding: 8px; }
  .side a { min-height: 44px; font-size: 15px; }
}

/* timeline and order steps */
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--border); }
.timeline li { padding: 0 0 16px 20px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--g-blue); }
.steps { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.steps span { flex: 1; min-width: 120px; padding: 10px 12px; border-radius: var(--radius-md); background: var(--surface-sunk); border-top: 6px solid var(--border); font-size: 14px; font-weight: 600; color: var(--ink-muted); }
.steps span.done { color: var(--ink-soft); border-top-color: var(--g-green); }
.steps span.now { color: var(--on-colour); background: var(--g-blue); border-top-color: var(--g-blue); }

/* configurator */
.config { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
.summary { position: sticky; top: 96px; border-color: var(--g-orange); }
.choice { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--border); }
.choice input[type=number] { width: 96px; }
.bundle-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 24px; }
.bundle-pick label { border: 2px solid var(--border); border-radius: var(--radius-md); padding: 16px; cursor: pointer; font-weight: 500; margin: 0; background: var(--surface); color: var(--ink); }
.bundle-pick input { margin-right: 8px; }
.bundle-pick label:has(input:checked) { border-color: var(--g-orange); background: #2A2215; }
@media (max-width: 900px) { .config { grid-template-columns: 1fr; } .summary { position: static; } }
.gift { margin: 12px 0 0; padding: 8px 12px; border-radius: var(--radius-sm); background: #14263A; color: #9CCBFF; font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; }
.pack .gift { margin: 0; align-self: flex-start; }
.saving { margin: 12px 0 0; padding: 8px 12px; border-radius: var(--radius-sm); background: #16301D; color: #8EE3A2; font-weight: 600; font-size: 14px; }
.note-box { margin-top: 12px; padding: 12px 14px; border-radius: var(--radius-md); background: var(--surface-sunk); border: 1px solid var(--border); }
.note-box ul { margin: 8px 0 0; padding-left: 18px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 4px 0 20px; }
.seg { display: inline-flex; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; margin: 0 12px 12px 0; }
.seg label { margin: 0; padding: 8px 14px; cursor: pointer; font-size: 14px; background: var(--surface); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked) { background: var(--g-orange); color: var(--on-colour); font-weight: 600; }
.seg label:has(input:focus-visible) { outline: 2px solid var(--link); outline-offset: -2px; }

/* package cards (labs page and home). Site 1.6.8 (TOMA 2026-11-02): "presentation is presentation, numbers are numbers":
   the lab name keeps the display font; prices and facts use the text font with equal-width digits. */
.packs { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.pack { display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); border-top: 6px solid var(--pc, var(--g-blue)); min-width: 0; }
.pack h3 { margin: 0; font-family: var(--font-name); }
.pack .desc { margin: 0; font-size: 15px; line-height: 22px; color: var(--ink-soft); }
.pack .price { display: flex; flex-direction: column; gap: 2px; padding: 14px 0 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pack .price .lbl { font: 500 13px/16px var(--font-num); color: var(--ink-muted); }
.pack .price .amt { font: 600 32px/38px var(--font-num); letter-spacing: -0.01em; color: var(--ink-strong); white-space: nowrap; font-variant-numeric: tabular-nums lining-nums; }
.pack .price .cur, .pack .price .per { font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--ink-muted); }
.pack .price .cur { margin-left: 4px; }
.pack .facts { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 0; font-family: var(--font-num); font-size: 14px; line-height: 20px; }
.pack .facts dt { color: var(--ink-muted); }
.pack .facts dd { margin: 0; text-align: right; color: var(--ink); font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums lining-nums; }
.pack .saving { margin: 0; align-self: flex-start; font-variant-numeric: tabular-nums; }
.pack ul { margin: 0; padding-left: 18px; font-size: 15px; line-height: 22px; color: var(--ink-soft); }
.pack .btn { margin-top: auto; align-self: flex-start; }
.pack.featured { border-color: var(--g-orange); box-shadow: 0 0 0 1px var(--g-orange); }
/* the same two lab fonts anywhere else a lab or product is listed: configurator, quote summary, checkout,
   PDF offer (TOMA 2026-11-03) */
.lab-name { font-family: var(--font-name); font-weight: 700; letter-spacing: -0.005em; color: var(--ink-strong); }
.lab-num { font-family: var(--font-num); font-weight: 600; font-variant-numeric: tabular-nums lining-nums; }
input[type=number].lab-num, textarea.lab-num { font-family: var(--font-num); font-weight: 500; font-variant-numeric: tabular-nums lining-nums; }
/* configurator cards and product rows: same text and number fonts as the lab cards (TOMA 2026-11-03) */
.bundle-pick .lab-name { font-size: 18px; line-height: 24px; }
.choice .lab-name { font-size: 17px; line-height: 24px; }
.bundle-pick .desc, .choice .desc { display: block; margin-top: 6px; font-size: 15px; line-height: 22px; font-weight: 400; color: var(--ink-soft); }
.choice .lab-num { font-size: 18px; line-height: 24px; color: var(--ink-strong); white-space: nowrap; }
.quote td.num { font-family: var(--font-num); font-variant-numeric: tabular-nums lining-nums; }
.quote tfoot td.num, .quote tfoot strong { font-weight: 600; }
.note-box strong.lab-num { font-size: 18px; color: var(--ink-strong); }
.prod-group { margin-bottom: 32px; }
.prod-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.prod { padding: 16px; border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--border); }
.prod .price { font-family: var(--font-num); font-weight: 600; color: var(--ink-strong); margin-top: 8px; font-variant-numeric: tabular-nums lining-nums; }
.faq details { border-bottom: 1px solid var(--border); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink-strong); }
.faq details p { margin: 10px 0 0; color: var(--ink-soft); }
.campaign { background: var(--g-orange); color: var(--on-colour); font-size: 14px; padding: 8px 0; text-align: center; }
.campaign a { color: var(--on-colour); text-decoration: underline; font-weight: 600; }

/* printable offer */
@media print {
  .no-print, header.top, .foot, .campaign, .side, .test-strip { display: none !important; }
  .shell { display: block !important; }
  body { background: #fff; color: #000; font-size: 12px; line-height: 17px; }
  .print-sheet, .print-sheet * { color: #000 !important; background: transparent !important; border-color: #999 !important; }
}
.print-sheet { max-width: 820px; margin: 0 auto; }

/* footer */
.foot { background: var(--bg-band); border-top: 1px solid var(--line); color: var(--ink-muted); padding: 56px 0 32px; font-size: 14px; }
.foot a { color: var(--ink-soft); }
.foot a:hover { color: var(--ink-strong); }
.foot .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; }
.foot h4, .foot h2.foot-h { color: var(--ink-strong); font-size: 14px; line-height: 20px; margin: 0 0 10px; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: 8px; }
.foot .legal { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 16px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.foot .brand { font-size: 20px; }
@media (max-width: 800px) { .foot .cols { grid-template-columns: 1fr 1fr; } }

/* print (proforma, reception report): plain black on white */
.print-only { display: none; }
@media print {
  :root { color-scheme: light; --ink: #000; --ink-strong: #000; --ink-soft: #000; --ink-muted: #444; --surface: #fff; --surface-sunk: #f2f2f2; --border: #bbb; --bg: #fff; }
  .top, .foot, .side, .no-print, .test-strip { display: none !important; }
  .print-only { display: block; }
  .shell { display: block; padding: 0; }
  body { font-size: 12px; color: #000; background: #fff; }
  .card, .table-wrap { background: #fff; }
  .badge { background: #fff; color: #000; border: 1px solid #000; }
}

/* phones: long table columns fold under the first cell */
.show-sm { display: none; }
@media (max-width: 600px) { .hide-sm { display: none; } .show-sm { display: block; margin-top: 4px; } }

/* small fixes after the first screenshots */
.btn { white-space: nowrap; }
.lang { display: inline-flex; gap: 2px; }
.plan .plan-head .tag { white-space: nowrap; }
.plan .price { font-size: 28px; line-height: 34px; }
.card .stat { font-size: 34px; line-height: 42px; overflow-wrap: anywhere; }
.tile .stat { overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .top .wrap { gap: 10px 12px; min-height: 64px; }
  .top-actions { margin-left: auto; gap: 8px; }
  .brand { font-size: 20px; }
}
/* page title band on the public pages */
section.tight.alt { padding: 56px 0 48px; background: radial-gradient(900px 300px at 85% 0%, rgba(75, 163, 245, .14), transparent 70%), var(--bg-band); }
section.tight.alt h1 { font-size: 44px; line-height: 50px; margin-top: 12px; }
@media (max-width: 760px) { section.tight.alt h1 { font-size: 32px; line-height: 38px; } }

/* ---- AI assistant (bottom right) */
#lx-assistant { position: fixed; right: 16px; bottom: 16px; z-index: 60; font-size: 15px; }
#lx-assistant .lx-a-open { display: flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; padding: 12px 18px; background: var(--g-blue); color: var(--on-colour); font-weight: 700; font-family: var(--font-sans); cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,.35); }
#lx-assistant .lx-a-open svg { width: 20px; height: 20px; }
#lx-assistant .lx-a-panel { position: absolute; right: 0; bottom: 60px; width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 100px)); display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: 0 16px 48px rgba(0,0,0,.45); overflow: hidden; }
#lx-assistant .lx-a-panel[hidden] { display: none; }
#lx-assistant .lx-a-head { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--surface-raised); }
#lx-assistant .lx-a-head strong { flex: 1; color: var(--ink-strong); }
#lx-assistant .lx-a-head button { background: none; border: 0; color: var(--ink-muted); cursor: pointer; font-size: 13px; padding: 4px 6px; border-radius: var(--radius-sm); }
#lx-assistant .lx-a-head button:hover { color: var(--ink-strong); background: var(--chip); }
#lx-assistant .lx-a-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
#lx-assistant .lx-a-msg { max-width: 88%; padding: 9px 12px; border-radius: 14px; line-height: 21px; white-space: pre-wrap; overflow-wrap: anywhere; }
#lx-assistant .lx-a-msg.assistant { align-self: flex-start; background: var(--surface-raised); color: var(--ink); border-bottom-left-radius: 4px; }
#lx-assistant .lx-a-msg.user { align-self: flex-end; background: var(--nav-on); color: var(--ink-strong); border-bottom-right-radius: 4px; }
#lx-assistant .lx-a-msg.pending { color: var(--ink-muted); font-style: italic; }
#lx-assistant .lx-a-msg.error { border: 1px solid var(--danger); }
#lx-assistant .lx-a-vote { margin-top: 6px; font-size: 13px; color: var(--ink-muted); }
#lx-assistant .lx-a-vote button { background: none; border: 1px solid var(--border); border-radius: 999px; margin-right: 6px; padding: 2px 8px; cursor: pointer; }
#lx-assistant form { display: flex; align-items: stretch; gap: 8px; margin: 0; padding: 10px; border-top: 1px solid var(--line); }
#lx-assistant textarea { flex: 1; resize: none; height: 44px; min-height: 0; max-height: 120px; margin: 0; padding: 10px 12px; border-radius: var(--radius-md); border: 1px solid var(--border); background: var(--surface-sunk); color: var(--ink); font: inherit; }
#lx-assistant form button { height: 44px; align-self: center; border: 0; border-radius: var(--radius-md); padding: 0 14px; background: var(--g-orange); color: var(--on-colour); font-weight: 700; cursor: pointer; }
#lx-assistant form button:disabled { opacity: .5; cursor: wait; }
#lx-assistant .lx-a-note { padding: 0 12px 10px; font-size: 12px; line-height: 16px; color: var(--ink-faint); }
@media (max-width: 520px) { #lx-assistant .lx-a-open span { display: none; } }
@media print { #lx-assistant { display: none; } }

/* "LexiClass now in Europe" panel (site 1.8.0) */
#lx-live .live-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
#lx-live .live-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--g-green); margin-left: 6px; vertical-align: middle; animation: lx-pulse 2s infinite; }
@keyframes lx-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { #lx-live .live-dot { animation: none; } }
#lx-live .pill.sim { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
#lx-live .live-tiles .stat { font-variant-numeric: tabular-nums; }
#lx-live .live-list { list-style: none; padding: 0; margin: 20px 0 8px; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
#lx-live .live-list li { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
#lx-live .live-list img { border-radius: 3px; box-shadow: 0 0 0 1px var(--border); flex: none; }
#lx-live .live-list span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#lx-live .live-list b { font-variant-numeric: tabular-nums; }
@media (max-width: 600px) {
    #lx-live .live-tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
    #lx-live .live-tiles .tile { padding: 14px; }
    #lx-live .live-tiles .stat { font-size: 32px; line-height: 40px; }
    #lx-live .live-list { grid-template-columns: 1fr 1fr; }
    #lx-live .live-list li { padding: 6px 8px; gap: 6px; }
}
/* ---- 1.6.0: lab categories (TOMA 2026-11-01) */
.pack-group { margin-bottom: 28px; }
.pack-group-head { margin-bottom: 12px; }
.pack-group-head h3 { margin: 0 0 2px; }
.pack-group-head p { margin: 0; }
/* currency picker in the header: one compact "RON ▾" that opens the three choices */
.cur-pick { position: relative; font-size: 13px; font-weight: 700; }
.cur-pick summary { list-style: none; cursor: pointer; color: var(--ink-muted); padding: 2px 4px; border-radius: 6px; }
.cur-pick summary::-webkit-details-marker { display: none; }
.cur-pick summary::after { content: " ▾"; font-size: 10px; }
.cur-pick summary:hover { color: var(--ink-strong); }
.cur-pick[open] summary { color: var(--ink-strong); }
.cur-pick .cur-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; display: flex; flex-direction: column; min-width: 120px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 4px; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.cur-pick .cur-menu a { padding: 6px 10px; border-radius: 6px; color: var(--ink-soft); font-weight: 600; }
.cur-pick .cur-menu a:hover, .cur-pick .cur-menu a.on { background: var(--nav-on); color: var(--ink-strong); text-decoration: none; }

/* ---- 1.6.0: plain look for the client portal and the admin pages (TOMA 2026-11-01: account and admin pages focus on
   usefulness, plain and easy to read; the public site keeps its display fonts and colours). Mockup:
   claude.ai/artifact/Dmh2JHsnjFB9f8uFYthrtS. Everything below only applies to <body class="work">. */
body.work {
  color-scheme: light;
  --bg: #F5F6F8; --bg-band: #FFFFFF; --surface: #FFFFFF; --surface-sunk: #F0F2F5; --surface-raised: #F7F8FA; --chip: #E6E9EE;
  --line: #DDE1E7; --border: #DDE1E7; --border-strong: #C4CAD3;
  --ink: #1D2430; --ink-strong: #10151D; --ink-soft: #2F3846; --ink-muted: #5B6575; --ink-faint: #646D7D;
  --link: #1F5FA8; --link-hover: #174A85; --nav-on: #E7EEF8;
  --accent: #1F5FA8; --accent-soft: #E7EEF8; --on-accent: #FFFFFF;
  --ok: #1D7A46; --ok-soft: #E5F3EB; --warn: #9A5B00; --warn-soft: #FDF1DC; --bad: #B3261E; --bad-soft: #FBE7E5;
  --promo: #F0EEFA; --promo-line: #D7D2EF;
  --success: var(--ok); --warning: #D08A00; --danger: var(--bad);
  --font-sans: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-head: var(--font-sans);
  font-size: 15px; line-height: 22px;
}
body.work h1 { font-size: 24px; line-height: 30px; font-weight: 700; letter-spacing: 0; }
body.work h2 { font-size: 18px; line-height: 24px; font-weight: 700; letter-spacing: 0; margin-bottom: 12px; }
body.work h3 { font-size: 16px; line-height: 22px; font-weight: 600; }
body.work .caption { color: var(--ink-muted); }
body.work .top { background: var(--surface); backdrop-filter: none; }
body.work .top .wrap { min-height: 60px; }
body.work .brand { font-size: 18px; }
body.work .brand img { width: 28px; height: 28px; }
body.work .nav a.on { box-shadow: inset 0 -2px 0 var(--accent); }
body.work .lang a.on { text-decoration-color: var(--accent); }
body.work .btn { min-height: 36px; padding: 0 14px; border-radius: 6px; border-color: var(--accent); background: var(--accent); color: var(--on-accent); font-weight: 600; font-size: 14px; }
body.work .btn:hover { background: var(--link-hover); border-color: var(--link-hover); color: var(--on-accent); }
body.work .btn.secondary, body.work .btn.ghost { background: transparent; border-color: var(--accent); color: var(--accent); }
body.work .btn.secondary:hover, body.work .btn.ghost:hover { background: var(--accent-soft); color: var(--accent); }
body.work .btn.danger { background: var(--bad); border-color: var(--bad); color: #FFFFFF; }
body.work .btn.small { min-height: 30px; padding: 0 10px; font-size: 13px; }
body.work input[type=checkbox], body.work input[type=radio] { accent-color: var(--accent); }
body.work input:focus, body.work select:focus, body.work textarea:focus, body.work .btn:focus-visible, body.work a:focus-visible, body.work button:focus-visible { outline-color: var(--accent); }
body.work input:not([type]), body.work input[type=text], body.work input[type=email], body.work input[type=password], body.work input[type=number],
body.work input[type=tel], body.work input[type=date], body.work input[type=search], body.work select, body.work textarea { min-height: 38px; padding: 7px 10px; border-radius: 6px; font-size: 15px; }
body.work .validation, body.work .field-error { color: var(--bad); }
body.work .card { border-radius: 8px; padding: 18px; }
body.work .card p.muted { color: var(--ink-muted); }
body.work a.card:hover { transform: none; border-color: var(--accent); }
body.work .stat, body.work .card .stat { font-size: 26px; line-height: 32px; font-weight: 600; }
body.work .tile, body.work .tile.blue, body.work .tile.orange, body.work .tile.green, body.work .tile.pink, body.work .tile.cyan, body.work .tile.red {
  background: var(--surface); border: 1px solid var(--border); border-radius: 8px; color: var(--ink); padding: 14px 16px; }
body.work .tile .stat { color: var(--ink-strong); font-size: 26px; line-height: 32px; }
body.work .tile .stat-label { color: var(--ink-muted); font-weight: 500; }
body.work .tile.red { border-left: 4px solid var(--bad); }
body.work .tile.orange { border-left: 4px solid var(--warning); }
body.work a.tile:hover { filter: none; border-color: var(--accent); text-decoration: none; }
body.work .notice { border-radius: 6px; border-left-width: 4px; }
body.work .notice.ok { background: var(--ok-soft); }
body.work .notice.warn { background: var(--warn-soft); }
body.work .notice.err { background: var(--bad-soft); color: var(--bad); }
body.work .badge { font-weight: 600; }
body.work .badge.ok { background: var(--ok-soft); color: var(--ok); }
body.work .badge.warn { background: var(--warn-soft); color: var(--warn); }
body.work .badge.err { background: var(--bad-soft); color: var(--bad); }
body.work .badge.blue, body.work .badge.cyan { background: var(--accent-soft); color: var(--accent); }
body.work .badge.pink { background: var(--promo); color: #5B3FA0; }
body.work .table-wrap { border-radius: 8px; }
body.work th, body.work td { padding: 9px 10px; }
body.work th { text-transform: uppercase; letter-spacing: .04em; font-size: 12px; }
body.work td { color: var(--ink); }
body.work tbody tr:hover td { background: var(--surface-raised); }
body.work .key { color: var(--ink-strong); font-size: 14px; }
body.work .steps span { border-radius: 6px; border-top-width: 4px; }
body.work .steps span.now { color: #FFFFFF; background: var(--accent); border-top-color: var(--accent); }
body.work .steps span.done { color: var(--ok); background: var(--ok-soft); border-top-color: var(--ok); }
body.work .timeline li::before { background: var(--surface); border-color: var(--accent); }
body.work .bundle-pick label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
body.work .seg label:has(input:checked) { background: var(--accent); color: #FFFFFF; }
body.work .saving { background: var(--ok-soft); color: var(--ok); }
body.work .campaign { background: var(--warn-soft); color: var(--warn); }
body.work .campaign a { color: var(--warn); }
body.work .page-head { margin-bottom: 18px; }
body.work .foot { background: var(--surface); padding: 24px 0; }
body.work .foot .legal { margin-top: 0; border-top: 0; padding-top: 0; }

/* the work shell: menu | page | XiroDigital offers */
body.work .shell { grid-template-columns: 220px minmax(0, 1fr) 250px; gap: 24px; padding-top: 24px; padding-bottom: 48px; }
body.work .shell:not(:has(> .promo-col)) { grid-template-columns: 220px minmax(0, 1fr); }
body.work .shell > div { min-width: 0; }
body.work .side { background: transparent; border: 0; padding: 0; top: 76px; }
body.work .side a { min-height: 34px; padding: 0 10px; border-radius: 6px; font-size: 14px; color: var(--ink); }
body.work .side a.on { background: var(--nav-on); color: var(--accent); box-shadow: none; }
body.work .side a:hover { background: var(--nav-on); color: var(--accent); }
body.work .side .count { background: var(--chip); color: var(--ink); font-weight: 600; }
body.work .side .count.warn, body.work .side .count.red { background: var(--warn-soft); color: var(--warn); }
body.work .side .count.blue { background: var(--accent-soft); color: var(--accent); }
body.work .side .group { margin: 16px 10px 4px; font-size: 11px; color: var(--ink-muted); }
body.work .side .who { padding: 0 10px 8px; font-size: 13px; line-height: 18px; color: var(--ink-muted); }
body.work .side .who strong { display: block; color: var(--ink-strong); font-size: 14px; }
.promo-col { display: flex; flex-direction: column; gap: 12px; align-self: start; position: sticky; top: 76px; }
.promo-col .group { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); font-weight: 600; }
.promo-card { background: var(--promo); border: 1px solid var(--promo-line); border-radius: 8px; padding: 14px; }
.promo-card h3 { margin: 0 0 4px; font-size: 15px; line-height: 20px; }
.promo-card p { margin: 0 0 8px; font-size: 13px; line-height: 19px; color: var(--ink-muted); }
.promo-card a { font-size: 13px; font-weight: 600; }
@media (max-width: 1180px) {
  body.work .shell { grid-template-columns: 200px minmax(0, 1fr); }
  body.work .shell > .promo-col { grid-column: 2; position: static; flex-direction: row; flex-wrap: wrap; }
  body.work .shell > .promo-col .promo-card { flex: 1 1 220px; }
  body.work .shell > .promo-col .group { flex-basis: 100%; }
}
@media (max-width: 900px) {
  body.work .shell, body.work .shell:not(:has(> .promo-col)) { grid-template-columns: minmax(0, 1fr); }
  body.work .shell > .promo-col { grid-column: auto; }
  body.work .side { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); padding: 0; }
  body.work .side .who { padding: 10px 14px 0; }
  body.work .side a { min-height: 44px; padding: 0 12px; font-size: 15px; }
  /* room under the last block for the floating assistant button */
  body.work .shell { padding-bottom: 96px; }
}

/* portal overview: what needs attention first */
.todo { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.todo .item { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 10px 12px; border-radius: 6px;
  border-left: 4px solid var(--warning); background: var(--warn-soft, var(--surface-sunk)); }
.todo .item.bad { border-left-color: var(--danger); background: var(--bad-soft, var(--surface-sunk)); }
.todo .item.info { border-left-color: var(--link); background: var(--accent-soft, var(--surface-sunk)); }
.todo .item > span { min-width: 0; flex: 1 1 260px; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
@media (max-width: 700px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.meter-sm { height: 6px; width: 110px; max-width: 100%; border-radius: 3px; background: var(--chip); overflow: hidden; margin-top: 4px; }
.meter-sm i { display: block; height: 100%; background: var(--success); }
.meter-sm i.low { background: var(--warning); }
.pill-s { display: inline-block; font-size: 12px; line-height: 18px; border-radius: 9px; padding: 0 8px; white-space: nowrap; background: var(--chip); color: var(--ink-soft); }
.pill-s.ok { background: var(--ok-soft, var(--chip)); color: var(--ok, var(--success)); }
.pill-s.warn { background: var(--warn-soft, var(--chip)); color: var(--warn, var(--warning)); }
.pill-s.info { background: var(--accent-soft, var(--chip)); color: var(--link); }
body.work .foot .cols { display: none; }

/* real screenshots (site 1.6.16; even rows 1.12.2): _Screens.cshtml on the home and product pages */
.shot { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.shot img { display: block; width: 100%; height: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.shot.wide img { box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.shot figcaption { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.shot-row { display: flex; gap: 24px; align-items: flex-start; margin-top: 32px; }
/* equal-height rows (site 1.12.2): each figure grows by its picture's width/height ratio, set inline as --ar */
.shot-row .shot { flex: var(--ar, 1) 1 0; min-width: 0; }
.shot.phone img { border-radius: 28px; }
@media (max-width: 860px) { .shot-row { flex-direction: column; align-items: stretch; } .shot-row .shot { flex: none; } .shot-row .shot img { max-width: 280px; margin: 0 auto; } .shot-row .shot.phone img { max-width: 240px; } .shot-row .shot.ai img { max-width: 600px; } .shot-row.two .shot:first-child img { max-width: 100%; } }

/* 1.7.0: phone link in the header (wide screens only), call and newsletter in the footer, Resources articles. */
@media (max-width: 760px) { .hide-sm { display: none !important; } }
.top-phone { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-soft); font-size: 14px; white-space: nowrap; text-decoration: none; }
.top-phone:hover { color: var(--ink-strong); }
@media (max-width: 1440px) { .top-phone { display: none; } }
.foot-call { margin: 12px 0 0; }
.nl-form { margin-top: 20px; max-width: 380px; display: grid; gap: 8px; }
.nl-form > div { display: flex; gap: 8px; }
.nl-form input[type=email] { flex: 1 1 auto; min-width: 0; }
.nl-form .check { align-items: flex-start; }
.article { font-size: 17px; line-height: 1.7; }
.article h2 { margin: 40px 0 12px; }
.article h3 { margin: 28px 0 8px; }
.article p, .article li { color: var(--ink-soft); }
.article li { margin-bottom: 6px; }
.article > p a, .article li a { color: var(--g-blue); }

/* 1.7.9: header (TOMA 2026-11-05). Wide screens: one row, the menu never wraps under itself; the phone number shows
   in full where it fits and as a call button otherwise. Phones and small tablets: one compact row (logo, phone, menu
   button); the button opens the pages, language, currency and account buttons. */
.top-burger { display: none; }
@media (min-width: 1025px) {
  .top .wrap { flex-wrap: nowrap; gap: 20px; max-width: 1360px; }
  .brand { flex: none; }
  .nav { flex: none; flex-wrap: nowrap; gap: 20px; white-space: nowrap; }
  .top-actions { flex: none; }
  .top-phone { display: inline-flex; flex: none; margin-left: auto; }
  body.work .top-actions { margin-left: auto; }
}
@media (min-width: 1025px) and (max-width: 1399px) {
  .top-phone .num { display: none; }
  .top-phone { width: 34px; height: 34px; justify-content: center; border: 1px solid var(--line); border-radius: 999px; }
  .top-phone:hover { border-color: var(--ink-muted); }
}
@media (min-width: 1025px) and (max-width: 1259px) {
  .top .wrap, .nav { gap: 16px; }
  .top-actions { gap: 8px; }
}
/* Site 1.26.0: the menu has one more item (Teachers), so the "Configure a lab" button (also in the campaign strip) shows only on wide screens. */
@media (min-width: 1025px) and (max-width: 1459px) { .top-cfg { display: none; } }
@media (min-width: 1025px) and (max-width: 1099px) { .top .wrap, .nav { gap: 12px; } .nav a { font-size: 14px; } }
@media (max-width: 1024px) {
  .top-phone { display: inline-flex; flex: none; font-weight: 600; color: var(--ink-strong); }
  .top.collapsible .wrap { flex-wrap: wrap; gap: 0 12px; min-height: 60px; }
  .top.collapsible .brand { order: 1; margin-right: auto; min-height: 60px; font-size: 20px; }
  .top.collapsible .brand img { width: 32px; height: 32px; }
  .top.collapsible .top-phone { order: 2; }
  .top.collapsible .top-burger { order: 3; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-right: -8px;
    background: none; border: 0; border-radius: 8px; color: var(--ink-strong); cursor: pointer; }
  .top.collapsible .top-burger:hover { background: var(--nav-on); }
  .top-burger .bars, .top-burger .bars::before, .top-burger .bars::after { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .15s, opacity .15s; }
  .top-burger .bars { position: relative; }
  .top-burger .bars::before, .top-burger .bars::after { content: ""; position: absolute; left: 0; }
  .top-burger .bars::before { top: -6px; }
  .top-burger .bars::after { top: 6px; }
  .top.open .top-burger .bars { background: transparent; }
  .top.open .top-burger .bars::before { transform: translateY(6px) rotate(45deg); }
  .top.open .top-burger .bars::after { transform: translateY(-6px) rotate(-45deg); }
  .top.collapsible .nav { order: 4; flex-basis: 100%; display: none; flex-direction: column; gap: 0; padding: 4px 0 0; }
  .top.collapsible .nav a { padding: 11px 0; font-size: 16px; border-top: 1px solid var(--line); }
  .top.collapsible .nav a.on { box-shadow: inset 3px 0 0 var(--g-orange); padding: 11px 0 11px 12px; }
  body.work .top.collapsible .nav a.on { box-shadow: inset 3px 0 0 var(--accent); }
  .top.collapsible .top-actions { order: 5; flex-basis: 100%; display: none; flex-wrap: wrap; margin-left: 0; gap: 12px; padding: 12px 0 16px; border-top: 1px solid var(--line); }
  .top.open .nav, .top.open .top-actions { display: flex; }
  .top.open .wrap { max-height: calc(100vh - 8px); overflow-y: auto; }
  .top.open .cur-pick .cur-menu { left: 0; right: auto; }
}
@media (max-width: 400px) {
  .top.collapsible .wrap { column-gap: 8px; }
  .top.collapsible .top-phone { font-size: 13px; gap: 4px; }
}
@media (max-width: 339px) {
  .top.collapsible .top-phone .num { display: none; }
  .top.collapsible .top-phone { width: 36px; height: 36px; justify-content: center; border: 1px solid var(--line); border-radius: 999px; }
}
/* year-end campaign strip on phones: one short line (title + link); the longer sentence stays on wide screens */
@media (max-width: 600px) {
  .campaign { font-size: 13px; line-height: 18px; padding: 6px 0; }
  .campaign .campaign-text { display: none; }
}

/* 1.8.0: maintenance (labs page, package cards, quote summary, portal licence) */
.mnt-why .prod strong { color: var(--ink-strong); }
.mnt-why .prod .small { margin-top: 6px; }
.mnt-compare td.yes { color: var(--ink-strong); }
.mnt-compare td.yes::before { content: "✓ "; color: var(--success); font-weight: 700; }
.mnt-compare td.no::before { content: "– "; color: var(--ink-soft); font-weight: 700; }
.mnt-compare td:first-child { color: var(--ink-strong); font-weight: 600; }
.pack .mnt-line { margin: 0; }
.mnt-box { border-left: 3px solid var(--success); margin-bottom: 12px; }
/* Admin → Site statistics (site 1.13.0): share bars. */
.statbar { display: inline-block; vertical-align: middle; width: 120px; height: 8px; border-radius: 4px; background: var(--border); overflow: hidden; }
.statbar i { display: block; height: 8px; border-radius: 4px; background: var(--accent); }

/* LexiClass videos (site 1.19.0): a 16:9 frame that turns into the YouTube player on play (js/video.js). */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.video-card { display: flex; flex-direction: column; gap: 10px; }
.video-card h3 { margin: 4px 0 0; font-size: 17px; }
.video-card p { margin: 0; }
.video-frame { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 16 / 9;
    border: 1px solid var(--border); border-radius: 12px; background: linear-gradient(135deg, #1B2230, #0F1218); color: #fff; padding: 0; font: inherit; }
button.video-frame { cursor: pointer; overflow: hidden; }
/* Site 1.27.4: the video's picture fills the frame; a light shade keeps the code, play button and note readable. */
.video-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
button.video-frame:has(.video-thumb)::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.05) 35%, rgba(0,0,0,.05) 65%, rgba(0,0,0,.45)); }
.video-code, .video-note, .video-play { z-index: 1; }
button.video-frame:has(.video-thumb) .video-play { background: rgba(15, 18, 24, .62); }
button.video-frame:hover .video-play, button.video-frame:focus-visible .video-play { transform: scale(1.08); background: var(--g-blue); }
iframe.video-frame { display: block; border: 0; background: #000; }
.video-play { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 32px; background: rgba(255, 255, 255, .16); transition: transform .15s, background .15s; }
.video-code { position: absolute; top: 10px; left: 12px; font-size: 12px; font-weight: 800; letter-spacing: .04em; color: #9FB3C8; }
.video-note { position: absolute; bottom: 10px; right: 12px; font-size: 11px; color: #9FB3C8; }
.video-card.soon .video-frame { opacity: .7; }
.video-card.large .video-play { width: 84px; height: 84px; border-radius: 42px; }
.video-card.large h3 { font-size: 22px; }
.video-track { margin-top: 40px; }
.video-track:first-child { margin-top: 0; }
.video-track > p { margin: 4px 0 16px; }

/* Advertising cookies banner (site 1.20.0, Pages/Shared/_Consent.cshtml) */
.lx-consent { position: fixed; left: 16px; bottom: 16px; z-index: 70; max-width: 520px; background: var(--surface-raised); border: 1px solid var(--border-strong); border-radius: var(--radius-md); padding: 16px 18px; box-shadow: 0 12px 32px rgba(0,0,0,.45); font-size: 14px; line-height: 21px; color: var(--ink); }
.lx-consent[hidden] { display: none; }
.lx-consent p { margin: 0 0 12px; }
.lx-consent-btns { display: flex; gap: 8px; flex-wrap: wrap; }
body.work .lx-consent { background: #fff; color: #1a1a1a; border-color: #ccc; }
@media (max-width: 600px) { .lx-consent { left: 16px; right: 16px; max-width: none; } }

/* Sign-in with Google / Microsoft (site 1.26.0) and the sign-up choice */
.external-signin { display: grid; gap: 10px; margin-bottom: 16px; }
.external-signin form { margin: 0; }
.external-btn { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.or-line { display: flex; align-items: center; gap: 12px; color: var(--ink-muted, #8A94A6); font-size: .875rem; margin-top: 6px; }
.or-line::before, .or-line::after { content: ""; flex: 1; border-top: 1px solid var(--border); }
.signup-choice { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 24px; }
.signup-choice a.card h2 { font-size: 1.25rem; margin: 0 0 8px; }
.signup-choice a.card ul { margin: 12px 0 0; padding-left: 18px; }

/* ---- 1.34.0: account and admin pages (TOMA 2026-11-20, mockups claude.ai/artifact/XotxdE5MjCUkLL3tcQTxiW).
   The top bar keeps the dark colour of the public site; the rest stays light. The pages use the whole width of the
   screen (up to 1760 px) instead of 1240 px; the side menu stays in place and scrolls by itself; the XiroDigital
   offers left the right-hand column (own page + one line on the portal overview); admin menu groups can be closed. */
body.work .top {
  color-scheme: dark;
  --surface: #181D27; --surface-raised: #1F2531; --line: #222937; --border: #2A3244; --border-strong: #39435A;
  --ink: #E9EDF4; --ink-strong: #FFFFFF; --ink-soft: #C9D1DE; --ink-muted: #93A0B4; --nav-on: #233049;
  background: #0F1218; border-bottom-color: #222937;
}
body.work .top .nav a.on { box-shadow: inset 0 -2px 0 var(--g-orange); }
body.work .top .lang a.on { text-decoration-color: var(--g-orange); }
body.work .top .btn.ghost { background: transparent; border-color: #39435A; color: #E9EDF4; }
body.work .top .btn.ghost:hover { background: #1F2531; border-color: #93A0B4; color: #FFFFFF; }
body.work .top .btn:not(.ghost) { background: #3D7BD0; border-color: #3D7BD0; color: #FFFFFF; }
body.work .top .btn:not(.ghost):hover { background: #2F6AB8; border-color: #2F6AB8; }
@media (max-width: 1024px) { body.work .top.collapsible .nav a.on { box-shadow: inset 3px 0 0 var(--g-orange); } }
body.work .top .wrap, body.work .wrap.shell { max-width: 1760px; }
body.work .shell, body.work .shell:not(:has(> .promo-col)) { grid-template-columns: 236px minmax(0, 1fr); gap: 28px; }
@media (min-width: 901px) {
  body.work .side { position: sticky; top: 72px; max-height: calc(100vh - 84px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding-right: 4px; }
}
@media (min-width: 901px) and (max-width: 1180px) {
  body.work .shell, body.work .shell:not(:has(> .promo-col)) { grid-template-columns: 210px minmax(0, 1fr); gap: 20px; }
}
/* admin menu groups that can be closed (details/summary, remembered by js/side-menu.js) */
.side details.side-grp > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; border-radius: 6px; }
.side details.side-grp > summary::-webkit-details-marker { display: none; }
.side details.side-grp > summary::after { content: ""; width: 6px; height: 6px; margin-left: auto; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); margin-top: -3px; transition: transform .15s; }
.side details.side-grp:not([open]) > summary::after { transform: rotate(-45deg); margin-top: 0; }
.side details.side-grp > summary:hover { color: var(--ink-strong); }
.side details.side-grp > summary .count { margin-left: 4px; }
body.work .side details.side-grp > summary.group { margin: 12px 0 2px; padding: 4px 10px; }
/* XiroDigital offers: own page (grid) and one line at the bottom of the portal overview (strip) */
.promo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.promo-grid .promo-card h2 { margin: 0 0 6px; font-size: 17px; line-height: 22px; }
.promo-strip { display: flex; align-items: center; gap: 8px 16px; flex-wrap: wrap; margin-top: 28px; padding: 12px 16px; border-radius: 8px;
  background: var(--promo, var(--surface-sunk)); border: 1px solid var(--promo-line, var(--line)); font-size: 14px; }
.promo-strip-label { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: #5B3FA0; }
.promo-strip-text { flex: 1 1 320px; min-width: 0; }

/* ---- 1.36.0: Messages (Services/ToDoList.cs): the bell in the top bar and the "to do" lines. */
.top-bell { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 8px; color: var(--ink-soft); flex: none; }
.top-bell:hover { background: var(--nav-on); color: var(--ink-strong); text-decoration: none; }
.top-bell-n { position: absolute; top: 2px; right: -2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--g-orange); color: #0E1116;
  font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.todo-list { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; }
.todo-row { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.todo-row:first-child { border-top: 0; }
.todo-n { width: 34px; height: 34px; flex: none; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700;
  background: var(--accent-soft, var(--chip)); color: var(--accent, var(--link)); }
.todo-n.warn { background: var(--warn-soft, var(--chip)); color: var(--warn, var(--warning)); }
.todo-n.bad { background: var(--bad-soft, var(--chip)); color: var(--bad, var(--danger)); }
.todo-text { flex: 1 1 260px; min-width: 0; }

/* ---- 1.37.0: admin order page in columns, Settings in sections, school Documents page, "New order" button in the portal menu. */
.order-cols { display: grid; gap: 24px 28px; grid-template-columns: minmax(0, 1fr); grid-template-areas: "main" "side" "hist"; align-items: start; }
.oc-main { grid-area: main; } .oc-side { grid-area: side; } .oc-hist { grid-area: hist; }
@media (min-width: 1100px) { .order-cols { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); grid-template-areas: "main side" "main hist"; } }
@media (min-width: 1500px) { .order-cols { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 0.9fr); grid-template-areas: "main side hist"; } }
.key-line { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.key-line .key { white-space: nowrap; }
.set-jump { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; position: sticky; top: 64px; z-index: 2; padding: 8px 0; background: var(--bg, var(--surface-sunk)); }
.set-jump a { padding: 6px 12px; border-radius: 6px; font-size: 14px; color: var(--ink); border: 1px solid var(--line); background: var(--surface); }
.set-jump a:hover { background: var(--nav-on); color: var(--accent); text-decoration: none; }
.set-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
@media (min-width: 1400px) { .set-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .set-grid .wide { grid-column: 1 / -1; } }
.set-grid > .card { margin: 0; scroll-margin-top: 120px; }
.set-grid > .card h2 { margin: 0 0 4px; font-size: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.chips .chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--chip, var(--surface-sunk)); color: var(--ink); font-size: 14px; border: 1px solid var(--line); }
.chips .chip:hover { background: var(--nav-on); color: var(--accent); text-decoration: none; }
.chips .chip.on { background: var(--accent, var(--link)); color: #fff; border-color: transparent; }
.chips .chip .n { font-weight: 700; font-size: 12px; }
.doc-sign { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); gap: 16px; }
.doc-sign-card { margin: 0; border-left: 4px solid var(--warn, var(--warning)); }
body.work .side a.side-new { justify-content: center; margin: 4px 0 10px; color: #fff; background: var(--accent, var(--link)); font-weight: 600; }
body.work .side a.side-new:hover { color: #fff; filter: brightness(1.08); }
body.work :target { scroll-margin-top: 120px; }

/* ---- 1.40.0: chips with counts on admin lists, one Admin search at the top of the menu. */
.chips .chip.zero { opacity: .6; }

/* ---- 1.40.1: admin dashboard like the mockup: to-do next to connections and apps, the year's figures in one row. */
.dash-top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
@media (min-width: 1300px) { .dash-top { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); } }
.dash-side { display: flex; flex-direction: column; gap: 16px; }
.dash-side > .card { margin: 0; }
.dash-side h3 { margin: 0 0 8px; font-size: 16px; }
.dash-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.dash-list.dash-2col { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px 16px; }
.dash-list li { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.dash-list b { font-size: 16px; }
.dash-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; align-self: center; background: var(--ok, #2E8B57); }
.dash-dot.bad { background: var(--bad, var(--danger, #C2412F)); }
.c-red { color: var(--bad, var(--danger, #C2412F)); }
.dash-figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.dash-figs > .card { margin: 0; color: inherit; }
.dash-figs > a.card:hover { text-decoration: none; border-color: var(--accent); }
.dash-figs .stat { font-size: 28px; line-height: 36px; font-weight: 600; }
.dash-list.dash-2col li { display: block; }
.dash-list.dash-2col .dash-dot { display: inline-block; margin-right: 6px; vertical-align: 1px; }
.dash-list.dash-2col .muted::before { content: " · "; }

/* ---- 1.40.2: greeting and date on one row; "To do" title inside its box (as in the mockup); account and admin pages use
   Inter for headings too (the mockup's font); the public site keeps Plus Jakarta Sans for its display headings. */
.dash-hello { display: flex; align-items: baseline; gap: 6px 14px; flex-wrap: wrap; margin-bottom: 18px; }
.dash-hello h1 { margin: 0; }
.todo-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.todo-head h2 { margin: 0; font-size: 18px; }
.todo-head + .todo-row { border-top: 0; }
body.work h1, body.work h2, body.work h3, body.work h4, body.work .stat { font-family: var(--font-sans); }
.top-search { display: flex; align-items: center; gap: 8px; flex: 0 1 420px; min-width: 110px; min-height: 36px; padding: 0 8px 0 10px; border-radius: 8px;
  border: 1px solid #2B3342; background: #161B24; color: #9AA3B5; }
.top-search:focus-within { border-color: #4C7FC4; }
.top-search input { flex: 1; min-width: 0; min-height: 34px; border: 0; background: transparent; color: #E6E9EE; font: inherit; font-size: 14px; padding: 0; outline: none; }
.top-search input::placeholder { color: #8A93A6; }
.top-search kbd { font: 600 11px/1 var(--font-sans); color: #8A93A6; border: 1px solid #2B3342; border-radius: 4px; padding: 3px 5px; white-space: nowrap; }
@media (max-width: 1399px) { .top-search kbd { display: none; } }
@media (max-width: 1024px) { .top-search { width: 100%; order: -1; } }
@media (min-width: 1025px) { body.work .top-actions { flex: 1 1 auto; min-width: 0; justify-content: flex-end; } }
.top-actions .cur-pick, .top-actions .lang { white-space: nowrap; flex: none; }
.top-actions > * { flex-shrink: 0; } .top-actions > .top-search { flex-shrink: 1; }

/* ---- 1.40.3: Settings (and customer page) section links as one tab bar like the mockup; the tab of the section in view is
   highlighted (js/side-menu.js); each Save names its section and sits at the right. */
.set-jump.set-tabs { gap: 2px; padding: 4px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); top: 64px; }
.set-jump.set-tabs a { border: 0; background: none; padding: 7px 10px; border-radius: 6px; font-size: 14px; color: var(--ink); white-space: nowrap; }
.set-jump.set-tabs a:hover { background: var(--nav-on); color: var(--accent); }
.set-jump.set-tabs a.on { background: var(--nav-on); color: var(--accent); font-weight: 600; }
.set-save { display: flex; justify-content: flex-end; margin-top: 12px; }
.set-grid > .card > p.small.muted:first-of-type { margin-top: 0; }

/* Site 1.40.3: the semester report uses the whole page width on screen (it was 820 px, centred under a left-aligned title),
   so the class table fits without squeezing its headings one word per line. */
.print-sheet.report-sheet { max-width: none; margin: 0; }
.report-sheet .grid4 { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.report-sheet th { white-space: nowrap; }
.report-sheet th.cefr-col { white-space: normal; min-width: 200px; }

/* ---- 1.43.0: label-above-value list for narrow cards (admin order: online contract acceptance). Long values wrap inside. */
.kv { margin: 0; }
.kv > div { padding: 10px 0; border-top: 1px solid var(--line); min-width: 0; }
.kv > div:first-child { border-top: 0; padding-top: 0; }
.kv dt { font-size: 13px; color: var(--ink-muted); margin: 0 0 2px; }
.kv dd { margin: 0; overflow-wrap: anywhere; }
.kv .hash { display: block; font-size: 12px; line-height: 18px; word-break: break-all; overflow-wrap: anywhere; }
