/* BaseNord.
   The five brand colours from merkevare/tokens.md are declared once, by their
   Norwegian names, and every UI role below is derived from them. Keeping the
   palette and the roles separate means a brand change is five lines, and it
   makes the two places where a role deliberately does NOT use the raw brand
   colour obvious rather than accidental. */

:root {
  color-scheme: light dark;

  /* --- the brand palette, exactly as specified --- */
  --nordisk-bla: #0f2d5b;
  --isbla: #3b82f6;
  --lys-nord: #e6eef7;
  --skifer: #1f2937;
  --take: #94a3b8;

  /* --- UI roles --- */
  --brand: var(--nordisk-bla);
  --accent: var(--isbla);
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-2: var(--lys-nord);
  --border: #d9e3ef;
  --text: var(--skifer);
  /* Tåke itself is 2.8:1 on white -- below the 4.5:1 that body text needs to
     be legible. It is used for borders and icons (--fog) where contrast does
     not apply, and darkened here for text that people actually read. */
  --muted: #64748b;
  --fog: var(--take);
  --danger: #b3261e;
  --ok: #157347;

  --radius: 10px;
  --radius-lg: 14px;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.06), 0 8px 24px rgba(16, 24, 40, 0.06);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    /* Nordisk blå is too dark to read on a dark ground, so the brand colour
       lightens here and Isblå does the same -- the palette is kept, the
       contrast is not sacrificed to it. Surfaces are built from Skifer. */
    --brand: #9ec1ff;
    --accent: #6ea8fe;
    --bg: #131a24;
    --surface: var(--skifer);
    --surface-2: #29323f;
    --border: #33404f;
    --text: #e8edf5;
    --muted: var(--take);
    --fog: #64748b;
    --danger: #ff6b61;
    --ok: #59d09a;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 30px rgba(0, 0, 0, 0.35);
  }
}

/* --- public landing page ------------------------------------------ */
.landing-page { --ink: #0f2d5b; --ice: #e6eef7; background: #f8fbff; color: var(--ink); min-height: 100vh; overflow: hidden; }
.landing-nav { max-width: 1240px; margin: 0 auto; padding: 28px 42px; display: flex; align-items: center; gap: 42px; }
.landing-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.landing-mark { width: 34px; height: 34px; border-radius: 9px; }
.landing-wordmark { font-size: 1.15rem; font-weight: 750; letter-spacing: -.04em; }
.landing-links { display: flex; gap: 32px; margin-left: auto; }
.landing-links a, .landing-login { color: #58708e; text-decoration: none; font-size: .83rem; font-weight: 600; }
.landing-links a:hover, .landing-login:hover, .text-link:hover { color: var(--ink); }
.landing-login { border: 1px solid #c7d7e9; border-radius: 999px; padding: 10px 17px; color: var(--ink); }
.landing-hero { max-width: 1240px; min-height: 680px; margin: 0 auto; padding: 78px 42px 100px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); align-items: center; gap: 48px; }
.hero-rule { width: 54px; height: 3px; background: #3b82f6; margin-bottom: 32px; }
.hero-copy h1 { font-size: clamp(3.4rem, 6vw, 6.25rem); line-height: .97; letter-spacing: -.075em; font-weight: 650; max-width: 720px; }
.hero-lead { color: #59718e; font-size: 1.11rem; line-height: 1.7; max-width: 480px; margin: 32px 0; }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.landing-cta { text-decoration: none; padding: 15px 20px; border-radius: 999px; font-size: .88rem; }
.text-link { color: var(--ink); text-decoration: none; font-size: .86rem; font-weight: 650; }
.hero-art { min-height: 500px; position: relative; display: grid; place-items: center; }
.hero-mountain { width: min(300px, 45%); transform: rotate(-9deg); filter: drop-shadow(28px 26px 0 rgba(59,130,246,.1)); position: relative; z-index: 2; }
.hero-mountain img { display:block; width: 100%; height: auto; }
.hero-orbit { position: absolute; border: 1px solid #c7d9ed; border-radius: 50%; transform: rotate(-27deg); }
.orbit-one { width: 470px; height: 190px; }
.orbit-two { width: 600px; height: 300px; border-color: #dce8f5; transform: rotate(32deg); }
.hero-note { position: absolute; color: #7891ad; font-size: .65rem; letter-spacing: .18em; font-weight: 700; }
.note-top { top: 85px; right: 7%; }.note-bottom { bottom: 86px; left: 4%; }
.landing-platform { background: #fff; padding: 130px max(42px, calc((100vw - 1156px)/2)) 140px; display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; }
.section-kicker { color: #3b82f6; font-size: .68rem; letter-spacing: .2em; font-weight: 800; margin: 0 0 25px; }
.section-intro h2, .landing-closing h2 { font-size: clamp(2.3rem, 4vw, 4.2rem); line-height: 1.02; letter-spacing: -.06em; font-weight: 650; margin: 0; }
.section-copy { color: #687e98; line-height: 1.7; max-width: 350px; margin-top: 26px; }
.module-list { border-top: 1px solid #d9e5f1; }
.module-row { display: grid; grid-template-columns: 46px 1fr 1.8fr 24px; align-items: center; gap: 14px; padding: 25px 0; border-bottom: 1px solid #d9e5f1; }
.module-index { color: #96a9bf; font: 600 .7rem ui-monospace, SFMono-Regular, monospace; }.module-row h3 { margin: 0; font-size: 1.02rem; }.module-row p { color: #687e98; margin: 0; font-size: .87rem; }.module-arrow { color: #3b82f6; font-size: 1.2rem; }
.landing-closing { background: var(--ink); color: #fff; padding: 110px max(42px, calc((100vw - 1156px)/2)); display: grid; grid-template-columns: 80px 1fr auto; align-items: center; gap: 32px; }.closing-mark { opacity: .9; }.landing-closing p { color: #a9bdd4; margin: 20px 0 0; }.btn-light { text-decoration: none; color: var(--ink); background: #fff; padding: 14px 20px; border-radius: 999px; font-size: .86rem; font-weight: 700; white-space: nowrap; }.landing-footer { max-width: 1240px; margin: auto; padding: 24px 42px; display:flex; justify-content:space-between; color:#7b91aa; font-size:.72rem; background: var(--ink); }
@media (max-width: 760px) { .landing-nav { padding: 20px; }.landing-links { display:none; }.landing-login { margin-left:auto; }.landing-hero { padding: 50px 20px 70px; display:block; min-height:0; }.hero-copy h1 { font-size: 3.6rem; }.hero-art { min-height: 340px; margin-top: 25px; }.hero-orbit { transform: scale(.7) rotate(-27deg); }.landing-platform { padding: 80px 20px; display:block; }.module-list { margin-top: 60px; }.module-row { grid-template-columns: 36px 1fr 20px; }.module-row p { grid-column: 2 / 3; }.landing-closing { padding: 70px 20px; grid-template-columns: 50px 1fr; }.landing-closing .btn-light { grid-column: 2; justify-self:start; }.landing-footer { padding: 20px; } }

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
}

h1 {
  font-size: 1.5rem;
  margin: 0;
  letter-spacing: -0.01em;
}
h2 {
  font-size: 1.05rem;
  margin: 0 0 0.75rem;
}
h3 {
  font-size: 1rem;
  margin: 0 0 0.35rem;
}
h4 {
  font-size: 0.95rem;
  margin: 0 0 0.25rem;
}

.muted {
  color: var(--muted);
}
.small {
  font-size: 0.85rem;
}

/* --- sign-in -------------------------------------------------------- */

.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: radial-gradient(1200px 600px at 50% -10%, rgba(59, 130, 246, 0.16), transparent 70%);
}

.auth-card {
  width: min(400px, 100%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2rem;
  display: grid;
  gap: 0.85rem;
}

.auth-brand,
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 650;
  color: inherit;
  text-decoration: none;
}

/* The logo tile from the brand kit, as an image rather than initials in a
   box. It is a Nordisk blå tile with a white mark, which is the one variant
   that reads correctly on both a light and a dark interface. */
.mark {
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  flex-shrink: 0;
}

.mark-lg {
  width: 44px;
  height: 44px;
  border-radius: 11px;
}

.tagline {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --- shell ---------------------------------------------------------- */

.shell {
  min-height: 100vh;
}

.topbar {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.7rem 1.25rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
  flex-wrap: wrap;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
  flex: 1;
}

.nav-link {
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius);
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
}
.nav-link:hover {
  background: var(--surface-2);
  color: var(--text);
}
.nav-link.is-active {
  background: var(--surface-2);
  color: var(--text);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-toggle {
  display: none;
}

.main {
  padding: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.page-actions {
  display: flex;
  /* Without this, flex's default `stretch` makes a short item (a status
     pill) as tall as the tallest sibling (a button) -- a pill with a 999px
     radius then renders as a tall blob instead of a pill. */
  align-items: center;
  gap: 0.5rem;
}

.toolbar {
  margin-bottom: 1rem;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

/* .control is width:100% so a form field fills its row. In a toolbar that
   makes every select claim a full line and stack vertically, which is not a
   toolbar at all -- size them to their content instead. */
.toolbar > .control:not(.control-search) {
  width: auto;
  min-width: 11rem;
  max-width: 18rem;
}

/* --- controls ------------------------------------------------------- */

.control {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font: inherit;
}
.control:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: transparent;
}
.control-search {
  max-width: 320px;
}
textarea.control {
  resize: vertical;
}

.field {
  display: grid;
  /* Room for the focus ring (2px outline + 1px offset) to sit between the
     label and the control instead of crowding into the label's descenders. */
  gap: 0.4rem;
}
.field-label {
  font-size: 0.85rem;
  font-weight: 550;
  color: var(--muted);
}
.field-hint {
  font-size: 0.8rem;
  color: var(--muted);
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}
.checkbox input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}

.btn {
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-weight: 550;
  cursor: pointer;
  white-space: nowrap;
}
/* An <a> styled as a button still carries link decoration and inline layout,
   so it renders underlined and vertically misaligned next to real buttons. */
a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.btn:hover {
  background: var(--surface-2);
}
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.btn[disabled] {
  opacity: 0.6;
  cursor: default;
}
/* Isblå is the colour of "do this" in the brand kit; Nordisk blå is for the
   mark and headings. The same in dark mode -- Isblå reads on both grounds. */
.btn-primary {
  background: var(--isbla);
  border-color: var(--isbla);
  color: #fff;
}
.btn-primary:hover {
  background: #2f6fe0;
  border-color: #2f6fe0;
}
.btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--muted);
}
.btn-ghost:hover {
  background: var(--surface-2);
  color: var(--text);
}
.btn-ghost.is-active {
  background: var(--surface-2);
  color: var(--text);
}
.btn-small {
  padding: 0.3rem 0.55rem;
  font-size: 0.82rem;
}
.btn-block {
  width: 100%;
  justify-content: center;
}
.btn-danger {
  color: var(--danger);
  border-color: transparent;
}
.btn-danger:hover {
  background: rgba(179, 38, 30, 0.1);
}

.locale-switch {
  display: inline-flex;
  gap: 0.15rem;
  background: var(--surface-2);
  padding: 0.15rem;
  border-radius: var(--radius);
}

.form-error {
  margin: 0;
  padding: 0.55rem 0.7rem;
  border-radius: var(--radius);
  background: rgba(179, 38, 30, 0.1);
  color: var(--danger);
  font-size: 0.9rem;
}

/* --- surfaces ------------------------------------------------------- */

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.1rem;
  box-shadow: var(--shadow);
}

.cards {
  display: grid;
  /* 240px was narrower than the content a card actually holds -- a label and
     its value side by side need roughly 300px before they start crowding. */
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 0.9rem;
}

.card-link {
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.card-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(16, 24, 40, 0.08), 0 12px 28px rgba(16, 24, 40, 0.1);
}
.card-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

/* Label/value pairs share one grid so the values line up in a real column.
   The previous version gave each row its own flex box with a 9rem minimum on
   the label, which broke twice over: a label longer than 9rem (like
   "Organisasjonsnummer") pushed its own value out of line with the row
   below, and the row's minimum width then exceeded the card, so the value
   spilled outside the card's background. `display: contents` promotes the
   dt/dd pairs into this grid so one column width is shared by every row. */
.meta {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  gap: 0.3rem 0.75rem;
  font-size: 0.9rem;
}
.meta-row {
  display: contents;
}
.meta dt {
  color: var(--muted);
}
.meta dd {
  margin: 0;
  /* An email or URL has no spaces to break at, so without this it forces the
     column wider than its container instead of wrapping. */
  overflow-wrap: anywhere;
}

.notes {
  margin: 0.9rem 0 0;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border);
  white-space: pre-wrap;
}

.plain-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.table th,
.table td {
  text-align: left;
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid var(--border);
}
.table th {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: var(--surface-2);
}
.table tr:last-child td {
  border-bottom: none;
}
.row-actions {
  display: flex;
  gap: 0.25rem;
  justify-content: flex-end;
}

/* --- KPIs and pipeline board ---------------------------------------- */

.kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.9rem;
  margin-bottom: 1.25rem;
}

.kpi {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0.9rem 1rem;
  display: grid;
  gap: 0.2rem;
  box-shadow: var(--shadow);
}
.kpi strong {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.kpi-label {
  font-size: 0.82rem;
  color: var(--muted);
}
.kpi-button {
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.kpi-button:hover {
  border-color: var(--accent);
}

.board-wrap {
  overflow-x: auto;
}
.board {
  display: grid;
  /* All six stages must fit on a normal desktop -- at a wider minimum the
     last column ("Tapt"/"Lost") is clipped at the viewport edge and reads as
     broken rather than as scrollable. Below ~1080px it scrolls, which is the
     honest behaviour on a narrow screen. */
  grid-template-columns: repeat(6, minmax(168px, 1fr));
  gap: 0.7rem;
  min-width: min-content;
}
.board-column {
  background: var(--surface-2);
  border-radius: var(--radius-lg);
  padding: 0.75rem;
}
.board-column.is-terminal {
  opacity: 0.85;
}
.board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.board-cards {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.6rem;
}
.deal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.6rem 0.7rem;
  cursor: pointer;
}
.deal-card:hover {
  border-color: var(--accent);
}
.deal-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.deal-amount {
  margin: 0.1rem 0;
  font-weight: 650;
}

.pill {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.05rem 0.5rem;
  font-size: 0.78rem;
  color: var(--muted);
  /* A pill that wraps stops looking like a pill: the 999px radius turns two
     lines of text into an oval blob. Better to let a long label sit on one
     line and the row wrap around it. */
  white-space: nowrap;
  align-self: center;
}

/* --- activities ----------------------------------------------------- */

.activity-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}
.activity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.6rem 0.8rem;
}
.activity.is-done .activity-subject {
  text-decoration: line-through;
  color: var(--muted);
}
.activity-main {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  flex-wrap: wrap;
}
.activity-side {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.1rem 0.4rem;
  border-radius: 5px;
  background: var(--surface-2);
  color: var(--muted);
  font-weight: 600;
}
.tag-call {
  background: rgba(59, 130, 246, 0.15);
  color: var(--accent);
}
.tag-meeting {
  background: rgba(21, 115, 71, 0.15);
  color: var(--ok);
}
/* A project past its budget, not merely close to it. */
.tag-danger {
  background: rgba(190, 52, 52, 0.15);
  color: var(--danger);
}

/* --- states, dialog, toast ------------------------------------------ */

.state {
  display: grid;
  place-items: center;
  gap: 0.4rem;
  padding: 3rem 1rem;
  color: var(--muted);
  text-align: center;
}
.state-title {
  margin: 0;
  font-weight: 600;
  color: var(--text);
}
.state-error {
  color: var(--danger);
}

.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .spinner {
    animation-duration: 2s;
  }
  .card-link {
    transition: none;
  }
}

.dialog {
  border: none;
  border-radius: var(--radius-lg);
  padding: 0;
  background: var(--surface);
  color: var(--text);
  width: min(520px, calc(100vw - 2rem));
  box-shadow: var(--shadow);
}
.dialog::backdrop {
  background: rgba(9, 14, 22, 0.45);
}
.dialog-form {
  padding: 1.25rem;
  display: grid;
  gap: 0.9rem;
}
.dialog-body {
  max-height: min(60vh, 520px);
  overflow-y: auto;
}
.form-grid {
  display: grid;
  gap: 0.75rem;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

.toast {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translate(-50%, 1rem);
  background: var(--brand);
  color: #fff;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (prefers-color-scheme: dark) {
  .toast {
    background: #1e3a68;
  }
}

/* --- narrow screens -------------------------------------------------- */

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-block;
    order: 2;
    margin-left: auto;
  }
  .nav-links {
    order: 4;
    flex-basis: 100%;
    display: none;
    flex-direction: column;
  }
  .nav-links.is-open {
    display: flex;
  }
  .topbar-right {
    order: 3;
  }
  .user-email {
    display: none;
  }
  .main {
    padding: 1rem;
  }
  .control-search {
    max-width: none;
  }
}

/* --- staff console --------------------------------------------------- */

.card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.card-footer {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.row-gap {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin: 0.5rem 0;
}

.pill-ok {
  color: var(--ok);
  border-color: color-mix(in srgb, var(--ok) 40%, transparent);
}
.pill-warn {
  color: var(--danger);
  border-color: color-mix(in srgb, var(--danger) 40%, transparent);
}

.stack {
  display: grid;
  gap: 1.25rem;
}

.section-heading {
  margin: 0;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.kpis-tight {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  margin-bottom: 0.9rem;
}

/* --- chat ------------------------------------------------------------ */

.chat-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1rem;
  /* The topbar is sticky and 1.5rem of padding sits above and below, so the
     conversation fills exactly what is left rather than pushing the page
     into a second scrollbar. */
  height: calc(100vh - 60px - 3rem);
  min-height: 420px;
}

.chat-sidebar,
.chat-pane {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.chat-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
}
.chat-sidebar-head h1 {
  font-size: 1.05rem;
}
.chat-sidebar-actions {
  display: flex;
  gap: 0.25rem;
}

.chat-list {
  list-style: none;
  margin: 0;
  padding: 0.4rem;
  overflow-y: auto;
  flex: 1;
}
.chat-list-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.45rem 0.6rem;
  border: none;
  border-radius: var(--radius);
  background: transparent;
  color: var(--muted);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.chat-list-item:hover {
  background: var(--surface-2);
  color: var(--text);
}
.chat-list-item.is-active {
  background: var(--surface-2);
  color: var(--text);
  font-weight: 600;
}
.chat-list-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chat-unread {
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.05rem 0.4rem;
  flex-shrink: 0;
}

.chat-pane-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.chat-pane-head h2 {
  margin: 0;
}
.chat-pane-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.chat-status {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--muted);
  flex-shrink: 0;
}
.chat-status.is-connected {
  background: var(--ok);
}
.chat-status.is-reconnecting {
  background: var(--danger);
}

.chat-log {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.chat-message {
  position: relative;
  padding: 0.15rem 2rem 0.15rem 0;
}
.chat-message.is-grouped {
  padding-top: 0;
}
.chat-meta {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: 0.6rem;
}
.chat-author {
  font-weight: 650;
}
.chat-body {
  /* Preserve the line breaks someone typed, and break long unbroken strings
     (a pasted URL) instead of forcing the column wider. */
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.chat-delete {
  position: absolute;
  top: 0.1rem;
  right: 0;
  opacity: 0;
  transition: opacity 0.12s ease;
}
.chat-message:hover .chat-delete,
.chat-delete:focus-visible {
  opacity: 1;
}

.chat-composer {
  display: flex;
  gap: 0.5rem;
  align-items: flex-end;
  padding: 0.75rem;
  border-top: 1px solid var(--border);
}
.chat-input {
  resize: none;
  max-height: 160px;
}

@media (max-width: 760px) {
  .chat-layout {
    grid-template-columns: 1fr;
    height: auto;
  }
  .chat-sidebar {
    max-height: 220px;
  }
  .chat-log {
    min-height: 320px;
  }
}

/* --- security log ----------------------------------------------------- */

/* A wide table must scroll inside its own box; the page itself never does. */
.table-scroll,
/* Every list view renders its table straight into .list. At 390px the
   absence table is 714px wide, and without this the page itself slid
   sideways and took the nav with it -- a table is the one thing that cannot
   always be made narrow, so it keeps its overflow to itself instead. */
.list {
  overflow-x: auto;
}

.nowrap {
  white-space: nowrap;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.kpi-sev-bad strong {
  color: var(--danger);
}
.kpi-sev-warn strong {
  color: #b8860b;
}
@media (prefers-color-scheme: dark) {
  .kpi-sev-warn strong {
    color: #e3b341;
  }
}

.pill-sev-bad {
  color: var(--danger);
  border-color: color-mix(in srgb, var(--danger) 40%, transparent);
}
.pill-sev-warn {
  color: #b8860b;
  border-color: color-mix(in srgb, #b8860b 40%, transparent);
}
@media (prefers-color-scheme: dark) {
  .pill-sev-warn {
    color: #e3b341;
    border-color: color-mix(in srgb, #e3b341 40%, transparent);
  }
}
.pill-sev-ok {
  color: var(--muted);
}

.form-warning {
  margin: 0;
  padding: 0.55rem 0.7rem;
  border-radius: var(--radius);
  background: color-mix(in srgb, #b8860b 14%, transparent);
  color: var(--text);
  font-size: 0.9rem;
}

/* Both languages side by side while editing: a tabbed editor hides the empty
   half, and the hidden half is always the one nobody is writing in. */
.bilingual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
@media (max-width: 640px) {
  .bilingual {
    grid-template-columns: 1fr;
  }
}

/* --- grouped navigation ----------------------------------------------- */

.nav-group {
  position: relative;
}

.nav-group-button {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border: none;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.nav-caret {
  font-size: 0.65em;
  opacity: 0.7;
  transition: transform 0.12s ease;
}
.nav-group.is-open .nav-caret {
  transform: rotate(180deg);
}

.nav-submenu {
  display: none;
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  min-width: 12rem;
  padding: 0.3rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 20;
}
.nav-group.is-open .nav-submenu {
  display: grid;
  gap: 0.1rem;
}

.nav-sublink {
  padding: 0.4rem 0.65rem;
  border-radius: 7px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
}
.nav-sublink:hover {
  background: var(--surface-2);
  color: var(--text);
}
.nav-sublink.is-active {
  background: var(--surface-2);
  color: var(--text);
  font-weight: 600;
}

@media (max-width: 760px) {
  /* No room to float a panel over a one-column menu, and no need to: the
     submenu becomes an indented part of the list instead. */
  .nav-submenu {
    position: static;
    border: none;
    box-shadow: none;
    padding: 0 0 0 0.9rem;
    min-width: 0;
    background: transparent;
  }
  .nav-group.is-open .nav-submenu {
    display: block;
  }
  .nav-group-button {
    width: 100%;
    justify-content: space-between;
  }
}

/* --- projects and the timesheet --------------------------------------- */

.budget {
  margin: 0.6rem 0 0.2rem;
}
.budget-track {
  height: 6px;
  border-radius: 999px;
  background: var(--surface-2);
  overflow: hidden;
}
.budget-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--accent);
}
.budget-fill.is-warn {
  background: #d29922;
}
.budget-fill.is-bad {
  background: var(--danger);
}
.budget p {
  margin: 0.35rem 0 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.is-done > span:first-child {
  text-decoration: line-through;
  color: var(--muted);
}

.week {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.75rem;
}
.week-day {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0.75rem;
  min-height: 8rem;
  box-shadow: var(--shadow);
}
.week-day.has-time {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
}
.week-day-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.week-entry {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.4rem;
  font-size: 0.85rem;
}
.week-add {
  position: absolute;
  right: 0.4rem;
  bottom: 0.4rem;
  opacity: 0;
  transition: opacity 0.12s ease;
}
.week-day:hover .week-add,
.week-add:focus-visible {
  opacity: 1;
}

/* --- notes ------------------------------------------------------------ */

/* A button that reads as a link: the task title opens its editor, but it is
   an action rather than a destination, so it must not be an <a href="#">. */
.linklike {
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.linklike:hover {
  text-decoration: underline;
}
.linklike:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.notes-thread {
  display: grid;
  gap: 0.6rem;
}
.note-composer {
  display: flex;
  gap: 0.5rem;
  align-items: flex-end;
}
.note-input {
  resize: vertical;
  min-height: 2.6rem;
}
.notes {
  display: grid;
  gap: 0.5rem;
  max-height: 22rem;
  overflow-y: auto;
}
.note {
  background: var(--surface-2);
  border-radius: var(--radius);
  padding: 0.5rem 0.7rem;
}
.note-head {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-bottom: 0.2rem;
}
.note-head .btn {
  margin-left: auto;
}
.note-body {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.note-edit {
  display: grid;
  gap: 0.4rem;
}
.note-actions {
  display: flex;
  gap: 0.4rem;
  justify-content: flex-end;
}

/* An editor with a notes thread: fields on the left, the thread on the
   right, so neither has to be scrolled away to see the other. Below the
   breakpoint they stack, which is the only thing a phone can do. */
.dialog-wide {
  width: min(880px, calc(100vw - 2rem));
}

.editor-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 720px) {
  .editor-split {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.editor-notes {
  display: grid;
  gap: 0.5rem;
  align-content: start;
}
.editor-notes .notes {
  max-height: 16rem;
}

/* The selected total in the invoice basis: the one number a person checks
   before billing a customer, so it is the largest thing in the dialog. */
.invoice-total {
  margin: 0;
  padding-top: 0.6rem;
  border-top: 1px solid var(--border);
  text-align: right;
  font-weight: 600;
  font-size: 1.05rem;
}

/* A review that was planned, is in the past, and still has not happened.
   The row is tinted rather than badged alone, because the point is to see
   it while scanning the table, not after reading it. */
.is-overdue td {
  background: rgba(190, 52, 52, 0.06);
}

/* The alternative to signing in, under the sign-in button. Empty unless the
   tenant has opened self-registration, so it must add no space when it is. */
.auth-alt:empty {
  display: none;
}


/* --- the app shell: sidebar, top bar, account menu ---------------------- */

/* Laid out as the brand kit draws it: a white sidebar with an icon and a
   label per screen, and a slim top bar over the content. The staff console
   keeps the older horizontal .topbar/.nav-links arrangement, so everything
   here is scoped to .shell-app and the console is untouched. */
.icon {
  width: 18px;
  height: 18px;
  display: block;
  flex-shrink: 0;
}

.shell-app {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 1rem 0.85rem;
}
.side-brand {
  padding: 0.35rem 0.6rem 1.1rem;
  font-size: 1.05rem;
}
.side-nav {
  display: grid;
  gap: 0.15rem;
  align-content: start;
  flex: 1;
}
.side-group {
  display: grid;
  gap: 0.15rem;
  margin-top: 0.75rem;
}
.side-group-label {
  margin: 0.25rem 0 0.2rem 0.75rem;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fog);
}
.side-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}
.side-link .icon {
  width: 19px;
  height: 19px;
  color: var(--fog);
}
.side-link:hover {
  background: var(--surface-2);
  color: var(--text);
}
.side-link.is-active {
  background: var(--surface-2);
  color: var(--brand);
  font-weight: 600;
}
.side-link.is-active .icon,
.side-link:hover .icon {
  color: var(--accent);
}
.side-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.side-foot {
  margin-top: 0.75rem;
  padding: 0.85rem 0.75rem 0;
  border-top: 1px solid var(--border);
}
.side-foot .tagline {
  font-size: 0.64rem;
}

.shell-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.shell-app .topbar {
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 0.75rem;
  min-height: 60px;
}
.shell-app .nav-toggle {
  display: none;
  order: 0;
  margin-left: 0;
  padding: 0.4rem;
}
.topbar-crumb {
  font-weight: 600;
  color: var(--text);
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.shell-app .main {
  width: 100%;
  /* Room under the content for the dock's chips, so the last row of a
     table or the save button of a form is never hidden behind them. */
  padding-bottom: 4.5rem;
}

.account {
  position: relative;
}
.avatar-button {
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  border-radius: 50%;
  display: block;
}
.avatar-button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.avatar {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--nordisk-bla);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 0.4rem);
  min-width: 14rem;
  padding: 0.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 20;
}
.account.is-open .menu {
  display: grid;
  gap: 0.1rem;
}
.menu-head {
  margin: 0 0 0.2rem;
  padding: 0.5rem 0.65rem;
  font-size: 0.82rem;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  overflow-wrap: anywhere;
}
.menu-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  text-align: left;
  border: none;
  background: none;
  padding: 0.5rem 0.65rem;
  border-radius: 7px;
  font: inherit;
  color: var(--text);
  cursor: pointer;
}
.menu-item .icon {
  color: var(--fog);
}
.menu-item:hover {
  background: var(--surface-2);
}

.nav-backdrop {
  display: none;
}

/* The sidebar becomes a drawer on a phone: off-canvas until the menu button
   opens it, with a backdrop that closes it on a tap. */
@media (max-width: 900px) {
  .shell-app {
    grid-template-columns: minmax(0, 1fr);
  }
  .sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: min(280px, 85vw);
    transform: translateX(-100%);
    transition: transform 0.18s ease;
    z-index: 30;
  }
  .shell-app.is-nav-open .sidebar {
    transform: none;
    box-shadow: var(--shadow);
  }
  .shell-app.is-nav-open .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(9, 14, 22, 0.4);
    z-index: 25;
  }
  .shell-app .nav-toggle {
    display: inline-flex;
  }
  @media (prefers-reduced-motion: reduce) {
    .sidebar {
      transition: none;
    }
  }
}

/* --- the dashboard's tiles ------------------------------------------------ */

.page-subtitle {
  margin: 0.15rem 0 0;
}
.kpi.has-icon {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.kpi-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--surface-2);
  color: var(--accent);
  flex-shrink: 0;
}
.kpi-icon .icon {
  width: 22px;
  height: 22px;
}
.kpi-text {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

/* --- boards you can drag on --------------------------------------------- */

.board-hint {
  margin: -0.6rem 0 0.9rem;
}
.deal-card[draggable="true"] {
  cursor: grab;
}
.deal-card.is-dragging {
  opacity: 0.4;
}
.board-column.is-over {
  outline: 2px dashed var(--accent);
  outline-offset: -2px;
  background: color-mix(in srgb, var(--accent) 10%, var(--surface-2));
}
.board-4 {
  grid-template-columns: repeat(4, minmax(200px, 1fr));
}
.card-board {
  margin-bottom: 1rem;
}
.card-board .card-head {
  align-items: center;
  margin-bottom: 0.5rem;
}
.card-board .card-head h2 {
  margin: 0;
}
.card-board .board-hint {
  margin: 0 0 0.9rem;
}
.task-card h4 {
  font-weight: 600;
}
.task-card.is-done h4 {
  text-decoration: line-through;
  color: var(--muted);
}
.task-card .row-actions {
  margin-top: 0.35rem;
}
.board-empty {
  margin: 0;
  padding: 1rem 0.5rem;
  text-align: center;
  color: var(--fog);
  font-size: 0.82rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}


/* --- faces ------------------------------------------------------------ */

.avatar-img {
  object-fit: cover;
  border-radius: 50%;
  display: block;
  background: var(--surface-2);
}
.avatar-lg {
  font-size: 2rem;
}

/* --- my profile --------------------------------------------------------- */

.profile-layout {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}
.profile-card {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.35rem;
  padding: 1.75rem 1.25rem;
}
.profile-card p {
  margin: 0;
}
.profile-name {
  margin: 0.4rem 0 0;
  font-size: 1.2rem;
}
.profile-role {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.profile-role .icon {
  width: 15px;
  height: 15px;
}
.profile-photo {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
}
.profile-photo-actions {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: center;
}
.profile-form {
  display: grid;
  gap: 0.85rem;
}
.profile-form h2 {
  margin: 0;
}
.profile-form .muted.small {
  margin: -0.5rem 0 0;
}
@media (max-width: 760px) {
  .profile-layout {
    grid-template-columns: 1fr;
  }
}

/* --- the conversation dock ----------------------------------------------- */

/* Chips along the bottom edge, windows rising from them. Fixed to the
   viewport so it stays put while the page scrolls, and above the toast so
   a reply is never hidden behind "saved". */
.dock {
  position: fixed;
  right: 1rem;
  bottom: 0;
  z-index: 15;
  display: flex;
  align-items: flex-end;
  gap: 0.6rem;
  pointer-events: none;
}
.dock.is-off {
  display: none;
}
.dock > * {
  pointer-events: auto;
}
.dock-windows {
  display: flex;
  align-items: flex-end;
  gap: 0.6rem;
}
.dock-window {
  width: 320px;
  height: 420px;
  max-height: calc(100vh - 5rem);
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: 0 -4px 24px rgba(16, 24, 40, 0.12), 0 8px 24px rgba(16, 24, 40, 0.08);
  overflow: hidden;
}
.dock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.45rem 0.5rem 0.45rem 0.85rem;
  background: var(--nordisk-bla);
  color: #fff;
}
.dock-title {
  font-weight: 600;
  font-size: 0.92rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dock-head-actions {
  display: flex;
  gap: 0.1rem;
  flex-shrink: 0;
}
.dock-btn {
  color: rgba(255, 255, 255, 0.85);
  padding: 0.25rem;
}
.dock-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.dock-btn .icon {
  width: 16px;
  height: 16px;
}
.dock-log {
  flex: 1;
  padding: 0.75rem 0.85rem;
  font-size: 0.9rem;
}
.dock-log .state {
  padding: 1.5rem 0.5rem;
}
.chat-composer.is-compact {
  padding: 0.5rem;
}
.chat-composer.is-compact .chat-input {
  font-size: 0.9rem;
}

.dock-chips {
  display: flex;
  gap: 0.4rem;
  align-items: flex-end;
}
.dock-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  max-width: 14rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  box-shadow: 0 -2px 12px rgba(16, 24, 40, 0.08);
}
.dock-chip .icon {
  width: 17px;
  height: 17px;
  color: var(--accent);
}
.dock-chip:hover {
  background: var(--surface-2);
}
.dock-chip.is-open {
  background: var(--nordisk-bla);
  border-color: var(--nordisk-bla);
  color: #fff;
}
.dock-chip.is-open .icon {
  color: #fff;
}
.dock-chip-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .dock {
    right: 0.5rem;
    left: 0.5rem;
    overflow-x: auto;
  }
  .dock-windows {
    display: none;
  }
  .dock-chip-name {
    max-width: 7rem;
  }
}

.form-section {
  grid-column: 1 / -1;
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
  color: var(--muted, inherit);
}

.prewrap {
  white-space: pre-wrap;
  margin: 0.25rem 0 0;
}

.check-list {
  display: grid;
  gap: 0.35rem;
}
.check-list .check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
