/* Mind Desk (by Minda Strategik) — navy and gold client project desk. */

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
}
/* The Minda Strategik wordmark (logo D, owner's choice of 26 Nov 2026). */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-garamond-latin.woff2") format("woff2");
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy-950: #07142a;
  --navy-900: #0b1f3a;
  --navy-800: #132b4d;
  --navy-700: #1c3a63;
  --side-text: #c9d4e5;
  --side-muted: #8fa0ba;
  /* Minda Strategik gold: buttons that start work and the active marker. Text
     on gold is always navy (7.7:1); gold text on white would fail contrast. */
  --gold: #d4a72c;
  --gold-hover: #c29620;
  --gold-soft: #fbf4df;
  --primary: #12305e;
  --primary-hover: #0b1f3a;
  --primary-soft: #eef2f9;
  --primary-ring: rgba(18, 48, 94, 0.25);
  /* Behind white text (buttons). The same navy as --primary in light mode. */
  --primary-fill: #12305e;
  --primary-line: #cdd8ea;
  --bg: #f4f5f7;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --border: #e3e7ed;
  --border-strong: #cbd3de;
  --ink: #0e1a2b;
  --ink-2: #1e293b;
  --muted: #4a5568;
  --faint: #5f6b7a;
  --danger: #b91c1c;
  --danger-soft: #fef2f2;
  --warn: #b45309;
  --warn-soft: #fffbeb;
  --success: #15803d;
  --success-soft: #f0fdf4;
  /* Borders and text of the soft alert colours. */
  --danger-line: #fecaca;
  --danger-ink: #991b1b;
  --warn-line: #fde68a;
  --warn-ink: #92400e;
  --success-line: #bbf7d0;
  --success-ink: #14532d;
  --internal-soft: #fef3c7;
  --doing-line: #c7d7fb;
  /* Hover fills, light row lines and hover borders. */
  --hover: #eef2f7;
  --line-soft: #edf1f6;
  --hover-line: #94a3b8;
  --topbar: rgba(255, 255, 255, 0.92);
  --todo: #475569;
  --todo-soft: #f1f5f9;
  --doing: #1d4ed8;
  --doing-soft: #eff4ff;
  --done: #15803d;
  --done-soft: #ecfdf3;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 6px 16px -8px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 24px 64px -16px rgba(8, 17, 31, 0.35);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sidebar: 264px;
  --drawer: 600px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 14px/1.5 var(--font);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; margin: 0; color: var(--ink); }
p { margin: 0; }
a { color: var(--primary); }
button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.muted { color: var(--faint); }
.spacer { flex: 1; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.skip-link { position: absolute; left: 12px; top: -48px; z-index: 100; background: var(--primary); color: #fff; padding: 8px 14px; border-radius: 8px; text-decoration: none; }
.skip-link:focus { top: 12px; }

.icon { width: 18px; height: 18px; flex: none; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 36px; padding: 0 14px; border-radius: 8px;
  border: 1px solid var(--border-strong); background: var(--surface); color: var(--ink-2);
  font-weight: 550; font-size: 13.5px; white-space: nowrap; cursor: pointer; text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s, color 0.15s;
}
.btn .icon { width: 16px; height: 16px; }
.btn:hover { background: var(--surface-2); border-color: var(--hover-line); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn-primary { background: var(--primary-fill); border-color: var(--primary-fill); color: #fff; box-shadow: 0 1px 2px rgba(11, 31, 58, 0.25); }
.btn-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
/* Gold: the one button that starts new work (New ticket). */
.btn-accent { background: var(--gold); border-color: var(--gold); color: var(--navy-900); font-weight: 700; box-shadow: 0 1px 2px rgba(11, 31, 58, 0.2); }
.btn-accent:hover { background: var(--gold-hover); border-color: var(--gold-hover); color: var(--navy-900); }
.btn-accent.is-loading::after { border-color: rgba(11, 31, 58, 0.3); border-top-color: var(--navy-900); }
.btn-danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn-danger:hover { background: #991b1b; border-color: #991b1b; }
.btn-ghost { background: transparent; border-color: transparent; box-shadow: none; color: var(--muted); }
.btn-ghost:hover { background: var(--hover); border-color: transparent; color: var(--ink); }
.btn-small { height: 30px; padding: 0 10px; font-size: 13px; border-radius: 7px; }
.btn-lg { height: 44px; font-size: 15px; }
.btn-block { width: 100%; }
.danger-text { color: var(--danger); }
.danger-text:hover { background: var(--danger-soft); color: var(--danger); }
.btn.is-loading { position: relative; color: transparent !important; }
.btn.is-loading::after {
  content: ""; position: absolute; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.45); border-top-color: #fff; animation: spin 0.7s linear infinite;
}
.btn:not(.btn-primary):not(.btn-danger):not(.btn-accent).is-loading::after { border-color: #cbd5e1; border-top-color: var(--primary); }

.icon-button {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 8px;
  border: 0; background: transparent; color: var(--muted); cursor: pointer; flex: none;
}
.icon-button:hover { background: var(--hover); color: var(--ink); }
.icon-button.small { width: 28px; height: 28px; }
.icon-button.small .icon { width: 16px; height: 16px; }
.icon-button.tiny { width: 24px; height: 24px; border-radius: 6px; }
.icon-button.tiny .icon { width: 15px; height: 15px; }

/* ----------------------------------------------------------------- inputs */
input[type="text"], input[type="email"], input[type="password"], input[type="search"], input[type="date"], input[type="number"], input:not([type]), select, textarea {
  width: 100%; min-height: 38px; padding: 8px 11px; border-radius: 8px;
  border: 1px solid var(--border-strong); background: var(--surface); color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
textarea { resize: vertical; min-height: 96px; line-height: 1.55; }
select {
  appearance: none; padding-right: 32px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; background-size: 16px;
}
input:hover, select:hover, textarea:hover { border-color: var(--hover-line); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-ring); }
input:disabled, select:disabled, textarea:disabled { background: var(--surface-2); color: var(--faint); cursor: not-allowed; }
::placeholder { color: #94a3b8; }

.field { display: grid; gap: 6px; min-width: 0; }
.field-label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.optional { font-weight: 450; color: var(--faint); margin-left: 4px; }
.hint { font-size: 12.5px; color: var(--faint); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid + .hint { margin-top: 14px; }

.check { width: 18px; height: 18px; accent-color: var(--primary); cursor: pointer; margin: 0; }

.alert { padding: 11px 14px; border-radius: 9px; font-size: 13.5px; border: 1px solid; }
.alert.error { background: var(--danger-soft); border-color: var(--danger-line); color: var(--danger-ink); }
.alert.warn { background: var(--warn-soft); border-color: var(--warn-line); color: var(--warn-ink); }
.form-error { background: var(--danger-soft); border: 1px solid var(--danger-line); color: var(--danger-ink); padding: 10px 13px; border-radius: 9px; margin-bottom: 16px; font-size: 13.5px; }

/* ---------------------------------------------------------------- loading */
.loading { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 48px 16px; color: var(--faint); }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #dbe3ee; border-top-color: var(--primary); animation: spin 0.75s linear infinite; }
.spinner.large { width: 28px; height: 28px; border-width: 3px; margin-top: 8px; }
@keyframes spin { to { transform: rotate(360deg); } }

.boot-screen { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 24px; text-align: center; }
.boot-screen h1 { font-size: 20px; }
.boot-screen p { color: var(--muted); max-width: 420px; }
.boot-logo { border-radius: 12px; box-shadow: var(--shadow); }
.stack-buttons { display: grid; gap: 10px; margin-top: 8px; }
.boot-screen .stack-buttons { grid-auto-flow: column; }

/* ------------------------------------------------------------------- auth */
.auth { min-height: 100vh; display: grid; grid-template-columns: minmax(380px, 46%) 1fr; }
.auth-aside {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between;
  padding: 44px 52px; color: #dbe5f3;
  background: var(--navy-900);
}
.auth-logo, .auth-mobile-logo { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 700; font-size: 18px; color: #fff; position: relative; z-index: 1; }
.auth-logo img, .auth-mobile-logo img { border-radius: 10px; }
.auth-logo > span, .auth-mobile-logo > span { display: grid; line-height: 1.2; }
.auth-logo small, .auth-mobile-logo small { font-family: var(--serif); font-size: 14px; font-weight: 600; color: var(--side-muted); }
.auth-mobile-logo small { color: var(--faint); }
/* Minda Strategik wordmark: serif name, a short gold rule, spaced tagline. */
.brand-wordmark { position: relative; z-index: 1; display: grid; justify-items: start; gap: 10px; color: #fff; text-decoration: none; }
.brand-wordmark strong { font-family: var(--serif); font-size: 34px; font-weight: 600; line-height: 1; letter-spacing: 0.01em; }
.brand-wordmark span { width: 44px; height: 2px; background: var(--gold); }
.brand-wordmark small { font-size: 10.5px; font-weight: 600; letter-spacing: 0.44em; color: var(--gold); }
.auth-pitch { position: relative; z-index: 1; max-width: 500px; }
.auth-pitch .auth-kicker { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.auth-pitch h1 { color: #fff; font-size: clamp(28px, 3vw, 38px); line-height: 1.15; font-weight: 800; margin-bottom: 16px; }
.auth-pitch > p { color: #b6c4d9; font-size: 15.5px; line-height: 1.65; }
.auth-points { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 18px; }
.auth-points li { display: flex; gap: 14px; align-items: flex-start; color: #b6c4d9; }
.auth-points .icon { width: 20px; height: 20px; color: #fff; padding: 9px; box-sizing: content-box; border-radius: 10px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1); }
.auth-points strong { color: #fff; display: block; font-weight: 600; margin-bottom: 1px; }
.auth-foot { font-size: 12.5px; color: var(--side-muted); position: relative; z-index: 1; }
.auth-main { display: grid; place-items: center; padding: 40px 24px; background: var(--surface); }
.auth-card { width: 100%; max-width: 400px; }
.auth-card h2 { font-size: 26px; font-weight: 750; margin-bottom: 6px; }
.auth-sub { color: var(--muted); margin-bottom: 24px; }
.auth-form { display: grid; gap: 16px; margin-top: 4px; }
.auth-form .btn { margin-top: 6px; }
.auth-card .alert { margin-bottom: 16px; }
.auth-help { margin-top: 22px; font-size: 13px; color: var(--faint); text-align: center; }
.auth-mobile-logo { display: none; color: var(--ink); margin-bottom: 28px; }
.password-wrap { position: relative; display: block; }
.password-wrap input { padding-right: 64px; }
.password-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: var(--primary); font-weight: 600; font-size: 12.5px; padding: 6px 8px; border-radius: 6px; cursor: pointer; }
.password-toggle:hover { background: var(--primary-soft); }
.state-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; margin-bottom: 18px; }
.state-icon .icon { width: 24px; height: 24px; }
.state-icon.warn { background: var(--warn-soft); color: var(--warn); border: 1px solid var(--warn-line); }
.info-box { display: grid; gap: 2px; padding: 12px 14px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); margin-bottom: 8px; }
.info-box span { font-size: 12px; color: var(--faint); }
.info-box strong { word-break: break-all; }
.auth-card .stack-buttons { margin-top: 22px; }

/* ------------------------------------------------------------------ shell */
.shell { display: grid; grid-template-columns: var(--sidebar) 1fr; min-height: 100vh; }
.sidebar {
  position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column;
  background: var(--navy-900); color: var(--side-text); border-right: 1px solid var(--navy-950); z-index: 40;
}
.sidebar-top { display: flex; align-items: center; justify-content: space-between; padding: 18px 16px 14px 18px; }
.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; color: #fff; min-width: 0; }
.logo img { border-radius: 8px; }
.logo span { display: grid; line-height: 1.2; }
.logo strong { font-family: var(--display); font-size: 15.5px; font-weight: 700; }
.logo small { font-family: var(--serif); font-size: 13.5px; font-weight: 600; letter-spacing: 0.01em; color: var(--side-muted); }
/* The navy MS tile on the navy sidebar: a fine light ring keeps its shape. */
.sidebar .logo img { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22); }
.sidebar .icon-button { color: var(--side-muted); }
.sidebar .icon-button:hover { background: rgba(255,255,255,0.08); color: #fff; }
.sidebar-close { display: none !important; }
.nav { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 6px 10px 14px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.nav-item {
  display: flex; align-items: center; gap: 11px; padding: 8px 10px; border-radius: 8px;
  color: var(--side-text); text-decoration: none; font-weight: 500; font-size: 13.5px; position: relative;
}
.nav-item .icon { width: 17px; height: 17px; color: var(--side-muted); }
.nav-item > span:not(.nav-count):not(.nav-badge):not(.brand-dot) { flex: 1; min-width: 0; }
.nav-item:hover { background: rgba(255,255,255,0.06); color: #fff; }
.nav-item[aria-current="page"] { background: rgba(255, 255, 255, 0.09); color: #fff; font-weight: 600; }
.nav-item[aria-current="page"]::before { content: ""; position: absolute; left: -10px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--gold); }
.nav-item[aria-current="page"] .icon { color: var(--gold); }
.nav-count { font-size: 12px; color: var(--side-muted); font-variant-numeric: tabular-nums; }
.nav-badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; display: inline-grid; place-items: center; font-size: 11.5px; font-weight: 700; }
.nav-badge.accent { background: var(--gold); color: var(--navy-900); }
.nav-section { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 14px 10px; min-height: 0; }
.nav-heading { display: flex; align-items: center; justify-content: space-between; padding: 0 6px 8px 10px; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--side-muted); }
.brand-nav { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; }
.brand-dot { width: 9px; height: 9px; border-radius: 3px; flex: none; background: hsl(var(--hue, 214) 70% 58%); }
.brand-item { align-items: flex-start; }
.brand-item .brand-dot { margin: 5px 4px 0 4px; }
.brand-item .nav-count { margin-top: 1px; }
/* Long company names wrap in full rather than being cut off. */
.brand-name { line-height: 1.4; overflow-wrap: anywhere; }
.nav-empty { color: var(--side-muted); font-size: 13px; padding: 4px 10px; }
.sidebar-user { display: flex; align-items: center; gap: 4px; padding: 12px 10px; border-top: 1px solid rgba(255,255,255,0.06); }
.user-button { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 7px 8px; border: 0; background: transparent; border-radius: 9px; cursor: pointer; text-align: left; color: #fff; }
.user-button:hover { background: rgba(255,255,255,0.06); }
.user-copy { display: grid; min-width: 0; flex: 1; line-height: 1.25; }
.user-copy strong { font-size: 13.5px; font-weight: 600; }
.user-copy small { font-size: 11.5px; color: var(--side-muted); }
.muted-icon { color: var(--side-muted); width: 16px; height: 16px; }
.sidebar-scrim, .drawer-scrim { display: none; }

.avatar {
  width: 32px; height: 32px; border-radius: 50%; display: inline-grid; place-items: center; flex: none;
  color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0.02em; background: var(--primary);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15);
}
.avatar.small { width: 24px; height: 24px; font-size: 10px; }
.avatar.avatar-empty { background: #e2e8f0; color: var(--faint); box-shadow: none; }

.main-column { min-width: 0; display: flex; flex-direction: column; }
.topbar {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 14px;
  height: 64px; padding: 0 28px; background: var(--topbar); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--border);
}
.menu-button { display: none !important; }
.search { position: relative; flex: 1; max-width: 520px; display: flex; align-items: center; }
.search > .icon { position: absolute; left: 12px; color: var(--faint); width: 17px; height: 17px; pointer-events: none; }
.search input { padding-left: 38px; padding-right: 40px; background: var(--surface-2); border-color: var(--border); height: 38px; }
.search input:focus { background: var(--surface); }
.search kbd { position: absolute; right: 10px; font: 600 11px var(--font); color: var(--faint); border: 1px solid var(--border-strong); border-radius: 5px; padding: 1px 6px; background: var(--surface); }
.search input:focus ~ kbd { display: none; }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.sync { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--faint); white-space: nowrap; }
.sync-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18); }
.sync.busy .sync-dot { background: #3b82f6; box-shadow: 0 0 0 3px rgba(59,130,246,0.2); animation: pulse 1s ease-in-out infinite; }
.sync.bad .sync-dot { background: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,0.18); }
.sync.bad { color: var(--danger); }
@keyframes pulse { 50% { opacity: 0.4; } }

.content { padding: 28px 28px 64px; outline: none; width: 100%; max-width: 1360px; margin: 0 auto; }

/* ------------------------------------------------------------- page head */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); margin-bottom: 6px; }
.page-title h1 { font-size: 26px; font-weight: 750; line-height: 1.2; }
.page-description { color: var(--muted); margin-top: 6px; max-width: 720px; }
.page-actions { display: flex; gap: 8px; flex: none; }

.notice { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--primary-line); background: var(--primary-soft); color: var(--primary); margin-bottom: 18px; }
.notice > span { flex: 1; }
.notice .icon { color: var(--primary); }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 16px 18px; box-shadow: var(--shadow-sm); display: grid; gap: 2px; position: relative; overflow: hidden; }
.stat-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.stat-icon { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; flex: none; background: var(--primary-soft); color: var(--primary); }
.stat-icon .icon { width: 16px; height: 16px; }
.stat-icon.doing { background: var(--doing-soft); color: var(--doing); }
.stat-icon.overdue { background: var(--danger-soft); color: var(--danger); }
.stat-icon.ready { background: var(--success-soft); color: var(--success); }
.stat-label { font-size: 13px; font-weight: 600; color: var(--muted); }
.stat-value { font-family: var(--display); font-size: 28px; font-weight: 750; line-height: 1.2; font-variant-numeric: tabular-nums; }
.stat.is-alert .stat-value { color: var(--danger); }
.stat-note { font-size: 12px; color: var(--faint); }

/* -------------------------------------------------------------- overview */
.overview-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 18px; margin-bottom: 18px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 6px 0 8px; min-width: 0; }
.card + .card, .card + .team-list { margin-top: 18px; }
.overview-grid .card + .card { margin-top: 0; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px 10px; }
.card-head h2 { font-size: 15.5px; font-weight: 700; }
.card-link { font-size: 13px; font-weight: 600; text-decoration: none; }
.card-link:hover { text-decoration: underline; }
.card-hint { font-size: 12.5px; color: var(--faint); }
.card-empty { padding: 18px 20px 20px; color: var(--faint); }
.activity { list-style: none; margin: 0; padding: 0 8px; }
.activity-item { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 0; background: transparent; border-radius: 9px; cursor: pointer; text-align: left; }
.activity-item:hover { background: var(--surface-2); }
.activity-copy { flex: 1; min-width: 0; display: grid; gap: 1px; }
.activity-title { font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; align-items: center; gap: 7px; }
.activity-meta { font-size: 12.5px; color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.due-badge { display: inline-flex; align-items: center; gap: 5px; flex: none; min-width: 92px; padding: 4px 8px; border-radius: 7px; font-size: 12px; font-weight: 600; background: var(--surface-2); border: 1px solid var(--border); color: var(--muted); }
.due-badge .icon { width: 14px; height: 14px; }
.due-badge.soon { background: var(--warn-soft); border-color: var(--warn-line); color: var(--warn); }
.due-badge.overdue { background: var(--danger-soft); border-color: var(--danger-line); color: var(--danger); }

.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; padding: 6px 20px 14px; }
.brand-card { display: grid; gap: 10px; padding: 16px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); text-decoration: none; color: inherit; transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s; }
.brand-card:hover { border-color: hsl(var(--hue) 60% 70%); box-shadow: var(--shadow); transform: translateY(-1px); }
.brand-card-top { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-card-top strong { font-family: var(--display); font-size: 15px; line-height: 1.35; overflow-wrap: anywhere; }
.brand-mark { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; flex: none; font-weight: 800; font-family: var(--display); color: hsl(var(--hue) 70% 32%); background: hsl(var(--hue) 80% 95%); border: 1px solid hsl(var(--hue) 60% 86%); text-transform: uppercase; }
.brand-card-desc { font-size: 13px; color: var(--faint); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; }
.progress { height: 6px; border-radius: 3px; background: var(--hover); overflow: hidden; }
.progress span { display: block; height: 100%; border-radius: 3px; background: hsl(var(--hue) 65% 50%); }
.brand-card-meta { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------- toolbar */
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.toolbar-right { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.segmented { display: inline-flex; padding: 3px; gap: 2px; border-radius: 9px; background: #e9edf3; }
.segmented button { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); font-weight: 550; font-size: 13px; cursor: pointer; white-space: nowrap; }
.segmented button .icon { width: 16px; height: 16px; }
.segmented button:hover { color: var(--ink); }
.segmented button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(15,23,42,0.1), 0 0 0 1px rgba(15,23,42,0.04); }
.select-wrap { position: relative; display: inline-flex; align-items: center; }
.select-wrap > .icon { position: absolute; left: 10px; width: 15px; height: 15px; color: var(--faint); pointer-events: none; }
.select-wrap select { height: 36px; min-height: 36px; padding: 0 32px 0 32px; font-size: 13px; font-weight: 500; width: auto; min-width: 150px; }
.list-summary { font-size: 12.5px; color: var(--faint); margin: 0 0 10px 2px; }

/* ----------------------------------------------------------------- table */
.table-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.task-table, .team-table { width: 100%; border-collapse: collapse; }
.task-table { table-layout: fixed; }
.task-table th, .team-table th { text-align: left; font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); background: var(--surface-2); padding: 10px 14px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.task-table td, .team-table td { padding: 12px 14px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.task-table tbody tr:last-child td, .team-table tbody tr:last-child td { border-bottom: 0; }
.task-table tbody tr { cursor: pointer; transition: background 0.12s; }
.task-table tbody tr:hover { background: #f8fafd; }
.task-table tbody tr.is-selected { background: var(--primary-soft); box-shadow: inset 3px 0 0 var(--primary); }
.col-check { width: 44px; padding-right: 0 !important; }
.col-title { min-width: 0; }
.title-line { display: flex; align-items: center; gap: 8px; min-width: 0; }
.task-title { font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Ticket numbers (#123), task/sql/09-ticket-numbers.sql. */
.ticket-no { flex: none; color: var(--faint); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.drawer-crumb { gap: 8px; align-items: center; }
.drawer-crumb .ticket-no { font-size: 13px; color: var(--muted); }
.is-done .task-title { color: var(--faint); text-decoration: line-through; text-decoration-color: #94a3b8; }
.task-snippet { font-size: 12.5px; color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 2px; }
.row-meta { display: none; }
.col-brand { width: 180px; }
.col-brand .brand-chip { max-width: 100%; }
.col-owner { width: 170px; }
.col-owner .person { width: 100%; }
.col-due { width: 110px; white-space: nowrap; }
.col-status { width: 128px; }
.col-updated { width: 104px; white-space: nowrap; font-size: 13px; }
.meta-icon { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; color: var(--faint); flex: none; font-variant-numeric: tabular-nums; }
.meta-icon .icon { width: 14px; height: 14px; }
.person { display: inline-flex; align-items: center; gap: 8px; min-width: 0; max-width: 100%; }
.person-copy { display: grid; min-width: 0; line-height: 1.3; }
.person-copy small { color: var(--faint); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; }
.you { font-size: 11px; font-weight: 700; color: var(--primary); background: var(--primary-soft); padding: 1px 6px; border-radius: 5px; margin-left: 4px; vertical-align: 1px; }
.unread-dot { width: 8px; height: 8px; border-radius: 50%; background: #3b82f6; flex: none; box-shadow: 0 0 0 3px rgba(59,130,246,0.18); display: inline-block; }
.due { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.due .icon { width: 14px; height: 14px; }
.due.soon { color: var(--warn); font-weight: 600; }
.due.overdue { color: var(--danger); font-weight: 600; }

.pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; border: 1px solid transparent; }
.pill-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.pill.todo { background: var(--todo-soft); color: var(--todo); border-color: #e2e8f0; }
.pill.doing { background: var(--doing-soft); color: var(--doing); border-color: var(--doing-line); }
.pill.done { background: var(--done-soft); color: var(--done); border-color: var(--success-line); }
.pill-dot.todo { background: var(--todo); }
.pill-dot.doing { background: var(--doing); }
.pill-dot.done { background: var(--done); }
/* Ready to close (a bot says all done) and the archive, task/sql/10. */
.pill.ready { background: var(--success-soft); color: var(--success); border-color: var(--success-line); margin-left: 6px; }
.board-card .pill.ready { margin: 2px 0 6px; }
.nav-badge.success { background: var(--success); color: #fff; }
.stat-link { color: inherit; text-decoration: none; }
.stat-link:hover { border-color: var(--border-strong); }
.stat.is-ready .stat-value { color: var(--success); }
.ready-notice { border-color: var(--success-line); background: var(--success-soft); color: var(--success-ink); }
.ready-notice .icon { color: var(--success); }
.ready-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 14px; margin-bottom: 16px; border-radius: 10px; border: 1px solid var(--success-line); background: var(--success-soft); color: var(--success-ink); }
.ready-banner > span { flex: 1 1 220px; }
.ready-banner .icon { color: var(--success); flex: none; }
.archive-table .col-actions { width: 130px; }
.brand-chip { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 12px; font-weight: 600; color: hsl(var(--hue, 214) 45% 30%); background: hsl(var(--hue, 214) 70% 96%); border: 1px solid hsl(var(--hue, 214) 55% 88%); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-chip .brand-dot { width: 7px; height: 7px; border-radius: 2px; }

/* ----------------------------------------------------------------- board */
.board { display: grid; grid-template-columns: repeat(4, minmax(230px, 1fr)); gap: 16px; align-items: start; }
.column { background: #eceff4; border: 1px solid #e1e6ee; border-radius: var(--radius-lg); padding: 10px; min-height: 160px; transition: background 0.15s, border-color 0.15s; }
.column.is-over { background: var(--primary-soft); border-color: #93b4f5; border-style: dashed; }
.column-head { display: flex; align-items: center; gap: 8px; padding: 4px 6px 10px; }
.column-head h2 { font-size: 13.5px; font-weight: 700; }
.column-count { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--muted); background: var(--surface); border-radius: 10px; padding: 1px 8px; border: 1px solid var(--border); }
.column-body { display: grid; gap: 10px; }
.column-empty { text-align: center; color: var(--faint); font-size: 12.5px; padding: 22px 8px; border: 1px dashed var(--border-strong); border-radius: 10px; }
.board-card { background: var(--surface); border: 1px solid var(--border); border-radius: 11px; padding: 12px 13px; box-shadow: var(--shadow-sm); cursor: pointer; display: grid; gap: 8px; transition: box-shadow 0.15s, border-color 0.15s, transform 0.15s; }
.board-card:hover { border-color: #b9c7db; box-shadow: var(--shadow); }
.board-card.is-selected { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-ring); }
.board-card.is-dragging { opacity: 0.5; transform: rotate(1.5deg); }
.board-card[draggable="true"] { cursor: grab; }
.board-card .brand-chip { justify-self: start; }
.board-card h3 { font-family: var(--font); font-size: 14px; font-weight: 600; line-height: 1.4; display: flex; align-items: baseline; gap: 7px; }
.board-card h3 .unread-dot { transform: translateY(-2px); }
.board-card p { font-size: 12.5px; color: var(--faint); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.board-card footer { display: flex; align-items: center; gap: 10px; }
.card-meta { margin-left: auto; display: inline-flex; gap: 8px; }

/* ----------------------------------------------------------------- empty */
.empty { text-align: center; padding: 56px 24px; background: var(--surface); border: 1px dashed var(--border-strong); border-radius: var(--radius-lg); display: grid; justify-items: center; gap: 8px; }
.empty-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--primary-soft); color: var(--primary); margin-bottom: 6px; }
.empty-icon .icon { width: 24px; height: 24px; }
.empty h2 { font-size: 18px; }
.empty p { color: var(--muted); max-width: 440px; margin-bottom: 8px; }

/* ------------------------------------------------------------------ team */
.team-form { display: flex; align-items: flex-end; gap: 12px; padding: 4px 20px 6px; flex-wrap: wrap; }
.team-form .grow { flex: 1; min-width: 220px; }
.team-form select { min-width: 140px; }
.team-form .btn { height: 38px; }
.team-client-note { margin: 0 20px 10px; }
.team-scope { flex-basis: 100%; margin: 0; padding: 0; border: 0; min-width: 0; }
.team-scope legend { padding: 0; margin-bottom: 4px; }
.team-scope-list { display: flex; flex-wrap: wrap; gap: 2px 20px; }
.team-form:has(select[name=role] option[value=admin]:checked) .team-scope { display: none; }
.card > .hint { padding: 8px 20px 12px; }
.section-title { font-size: 15.5px; font-weight: 700; margin: 0 0 12px 2px; }
.team-list { margin-top: 22px; }
.col-role { width: 150px; }
.col-state { width: 150px; }
.col-actions { width: 110px; text-align: right; }
.compact-select { min-height: 32px; height: 32px; padding: 0 30px 0 10px; font-size: 13px; width: 120px; }
.role-tag, .state-tag { display: inline-flex; height: 24px; align-items: center; padding: 0 9px; border-radius: 6px; font-size: 12px; font-weight: 600; }
.role-tag.admin { background: #eef2ff; color: #3730a3; }
.role-tag.member { background: var(--todo-soft); color: var(--muted); }
.state-tag.active { background: var(--done-soft); color: var(--done); }
.state-tag.pending { background: var(--warn-soft); color: var(--warn); }

/* ---------------------------------------------------------------- drawer */
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(var(--drawer), 100vw); z-index: 60;
  background: var(--surface); border-left: 1px solid var(--border); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; animation: slide-in 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes slide-in { from { transform: translateX(24px); opacity: 0; } }
.drawer.is-dropping::after { content: "Drop files to upload"; position: absolute; inset: 10px; border: 2px dashed var(--primary); border-radius: 14px; background: rgba(239, 244, 255, 0.92); display: grid; place-items: center; font-weight: 700; color: var(--primary); font-size: 16px; z-index: 5; pointer-events: none; }
.drawer-scrim { position: fixed; inset: 0; background: rgba(8, 17, 31, 0.32); z-index: 55; animation: fade-in 0.2s ease; }
.drawer-open .drawer-scrim { display: block; }
@keyframes fade-in { from { opacity: 0; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 60px; padding: 0 14px 0 24px; border-bottom: 1px solid var(--border); flex: none; }
.drawer-crumb { min-width: 0; display: flex; }
.drawer-tools { display: flex; gap: 2px; }
.drawer-scroll { flex: 1; overflow-y: auto; padding: 22px 24px 32px; overscroll-behavior: contain; }
.drawer-title { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 18px; }
.drawer-title h2 { font-size: 21px; font-weight: 750; line-height: 1.3; flex: 1; word-break: break-word; }
.drawer-title .icon-button { margin-top: 2px; }
.inline-edit { flex: 1; display: grid; gap: 10px; }
.inline-edit input { font-size: 17px; font-weight: 600; }
.inline-actions { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.inline-actions .hint { margin-right: auto; }
.props { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; padding: 16px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); margin-bottom: 8px; }
.prop { display: grid; gap: 5px; min-width: 0; }
.prop-label { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--faint); }
.prop-label .icon { width: 14px; height: 14px; }
.prop select, .prop input { min-height: 36px; height: 36px; padding-top: 0; padding-bottom: 0; background-color: var(--surface); }
.d-section { padding: 20px 0 4px; border-bottom: 1px solid var(--line-soft); padding-bottom: 20px; }
.d-section:last-of-type { border-bottom: 0; }
.d-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; min-height: 30px; }
.d-head h3 { font-size: 14.5px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.d-head-actions { display: flex; gap: 6px; }
.count { font-family: var(--font); font-size: 12px; font-weight: 700; color: var(--muted); background: var(--hover); padding: 1px 8px; border-radius: 10px; }
.notes { white-space: pre-wrap; word-break: break-word; line-height: 1.65; color: var(--ink-2); font-size: 14.5px; }
.notes a, .comment-body a { word-break: break-all; }
.placeholder { color: var(--faint); font-size: 13.5px; }
.notes-form { display: grid; gap: 10px; }
.notes-form textarea { min-height: 200px; }

.thumb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 10px; margin-bottom: 12px; }
.thumb { position: relative; aspect-ratio: 1; padding: 0; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); background: var(--hover) center / 28px no-repeat; cursor: zoom-in; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.2s; }
.thumb img:not([src]) { visibility: hidden; }
.thumb:hover img { transform: scale(1.04); }
.thumb-remove { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 7px; background: rgba(8,17,31,0.65); color: #fff; opacity: 0; transition: opacity 0.15s; cursor: pointer; }
.thumb-remove .icon { width: 15px; height: 15px; }
.thumb:hover .thumb-remove, .thumb:focus-within .thumb-remove { opacity: 1; }
.file-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.file-row { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.file-row:hover { border-color: #c6d2e3; }
.file-icon { width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.file-icon.file { background: #eef2ff; color: #4338ca; }
.file-icon.audio { background: #fdf4ff; color: #a21caf; }
.file-icon.video { background: #fff7ed; color: #c2410c; }
.file-open { flex: 1; min-width: 0; display: grid; text-align: left; border: 0; background: transparent; padding: 0; cursor: pointer; }
.file-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-open:hover .file-name { color: var(--primary); text-decoration: underline; }
.file-meta { font-size: 12px; color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; background: var(--primary-soft); border: 1px solid var(--doing-line); margin-bottom: 8px; font-size: 13px; }
.upload-row .truncate { flex: 1; }
.upload-bar { width: 120px; height: 6px; border-radius: 3px; background: #dbe6fd; overflow: hidden; flex: none; }
.upload-bar span { display: block; height: 100%; background: var(--primary); transition: width 0.2s; }
.upload-pct { width: 38px; text-align: right; font-variant-numeric: tabular-nums; color: var(--primary); font-weight: 600; }
.dropzone { display: grid; justify-items: center; gap: 4px; padding: 22px 16px; border: 1.5px dashed var(--border-strong); border-radius: 12px; text-align: center; color: var(--muted); cursor: pointer; background: var(--surface-2); transition: border-color 0.15s, background 0.15s; }
.dropzone:hover { border-color: var(--primary); background: var(--primary-soft); }
.dropzone .icon { width: 22px; height: 22px; color: var(--primary); margin-bottom: 4px; }
.dropzone small { color: var(--faint); font-size: 12px; }
.dropzone.readonly { cursor: default; }
.recorder { display: grid; gap: 10px; padding: 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface-2); margin-top: 4px; }
.recorder.live { display: flex; align-items: center; gap: 10px; border-color: var(--danger-line); background: var(--danger-soft); }
.recorder audio { width: 100%; }
.rec-dot { width: 10px; height: 10px; border-radius: 50%; background: #dc2626; animation: pulse 1s ease-in-out infinite; }
.rec-time { font-variant-numeric: tabular-nums; color: var(--danger); font-weight: 600; }

.comments { display: grid; gap: 16px; margin-bottom: 14px; }
.comment { display: flex; gap: 11px; }
.comment .avatar { margin-top: 2px; }
.comment-main { flex: 1; min-width: 0; }
.comment-top { display: flex; align-items: baseline; gap: 8px; margin-bottom: 3px; }
.comment-top strong { font-size: 13.5px; }
.comment-top time { font-size: 12px; color: var(--faint); }
.comment-body { white-space: pre-wrap; word-break: break-word; color: var(--ink-2); background: var(--surface-2); border: 1px solid var(--line-soft); padding: 9px 12px; border-radius: 4px 12px 12px 12px; }
.composer { border: 1px solid var(--border-strong); border-radius: 12px; background: var(--surface); transition: border-color 0.15s, box-shadow 0.15s; }
.composer:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-ring); }
.composer textarea { border: 0; box-shadow: none !important; min-height: 76px; resize: none; border-radius: 12px 12px 0 0; }
.composer-foot { display: flex; align-items: center; justify-content: space-between; padding: 6px 8px 8px 12px; }
.d-meta { display: grid; gap: 4px; padding-top: 18px; font-size: 12.5px; color: var(--faint); }
.d-meta strong { color: var(--muted); font-weight: 600; }

/* ----------------------------------------------------------------- modal */
.modal { width: min(520px, calc(100vw - 24px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 16px; box-shadow: var(--shadow-lg); color: var(--ink); background: var(--surface); }
.modal.wide { width: min(680px, calc(100vw - 24px)); }
.modal.small { width: min(440px, calc(100vw - 24px)); }
.modal.media { width: min(920px, calc(100vw - 24px)); }
.modal::backdrop { background: rgba(8, 17, 31, 0.5); backdrop-filter: blur(2px); }
.modal[open] { animation: pop 0.18s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes pop { from { transform: translateY(8px) scale(0.98); opacity: 0; } }
.modal-form { display: flex; flex-direction: column; max-height: calc(100vh - 32px); }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 20px 20px 4px 24px; }
.modal-head h2 { font-size: 18px; font-weight: 750; word-break: break-word; }
.modal-head p { color: var(--faint); font-size: 13px; margin-top: 3px; }
.modal-body { padding: 16px 24px 20px; overflow-y: auto; }
.modal-text { color: var(--muted); }
.modal-foot { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; padding: 14px 24px; border-top: 1px solid var(--border); background: var(--surface-2); border-radius: 0 0 16px 16px; }
.media { display: block; max-width: 100%; max-height: 70vh; margin: 0 auto; border-radius: 10px; background: #0b1220; }
.media.audio { width: 100%; background: transparent; }
.doc-preview { display: grid; justify-items: center; gap: 10px; padding: 36px 16px; color: var(--muted); text-align: center; }
.doc-preview .icon { width: 40px; height: 40px; color: var(--primary); }

/* ---------------------------------------------------------------- toasts */
.toast-stack { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 200; display: grid; gap: 8px; width: min(440px, calc(100vw - 24px)); pointer-events: none; }
.toast { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 11px; background: var(--navy-900); color: #fff; box-shadow: var(--shadow-lg); font-size: 13.5px; animation: toast-in 0.2s ease; pointer-events: auto; }
body:has(.shell) .toast-stack { left: calc(50% + var(--sidebar) / 2); }
body:has(.drawer-open) .toast-stack { left: calc((100vw - min(var(--drawer), 100vw)) / 2 + var(--sidebar) / 2); }
.toast .icon { width: 18px; height: 18px; color: #4ade80; margin-top: 1px; }
.toast.error { background: #7f1d1d; }
.toast.error .icon { color: #fca5a5; }
.toast.leaving { opacity: 0; transform: translateY(6px); transition: opacity 0.25s, transform 0.25s; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1180px) {
  .col-updated { display: none; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .overview-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1020px) {
  body:has(.shell) .toast-stack, body:has(.drawer-open) .toast-stack { left: 50%; }
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: min(300px, 86vw); transform: translateX(-100%); transition: transform 0.22s ease; box-shadow: var(--shadow-lg); }
  .sidebar-open .sidebar { transform: none; }
  .sidebar-open .sidebar-scrim { display: block; position: fixed; inset: 0; background: rgba(8,17,31,0.4); z-index: 35; }
  .sidebar-close { display: inline-grid !important; }
  .menu-button { display: inline-grid !important; }
  .topbar { padding: 0 16px; gap: 10px; }
  .content { padding: 22px 16px 56px; }
  .col-brand { display: none; }
  .board { grid-template-columns: repeat(4, minmax(240px, 1fr)); overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
  .column { scroll-snap-align: start; }
}
@media (max-width: 760px) {
  .auth { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .auth-mobile-logo { display: flex; }
  .auth-main { align-items: start; padding-top: 56px; }
  .sync-label, .search kbd, #topbar-new span { display: none; }
  #topbar-new { width: 38px; padding: 0; }
  .page-head { flex-direction: column; align-items: stretch; }
  .page-title h1 { font-size: 22px; }
  .stats { gap: 10px; }
  .stat { padding: 12px 14px; }
  .stat-value { font-size: 22px; }
  .stat-note { display: none; }
  .toolbar { align-items: stretch; }
  .segmented { overflow-x: auto; max-width: 100%; }
  .toolbar-right { width: 100%; }
  .toolbar-right .select-wrap { flex: 1; }
  .toolbar-right .select-wrap select { width: 100%; min-width: 0; }
  .segmented.icons span { display: none; }
  .task-table thead { display: none; }
  .task-table, .task-table tbody { display: block; }
  .task-table tr { display: flex; align-items: flex-start; gap: 4px; padding: 12px 12px 12px 4px; border-bottom: 1px solid var(--line-soft); }
  .task-table td { border: 0; padding: 0 8px; }
  .task-table .col-check { padding-top: 1px; }
  .task-table .col-title { flex: 1; }
  .task-table .col-owner, .task-table .col-due, .task-table .col-status, .task-table .col-updated, .task-table .col-brand { display: none; }
  .task-snippet { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .row-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
  .props { grid-template-columns: 1fr; }
  .drawer-head { padding-left: 16px; }
  .drawer-scroll { padding: 18px 16px 28px; }
  .form-grid { grid-template-columns: 1fr; }
  .team-table .col-state { display: none; }
  .team-table td, .team-table th { padding: 10px; }
  .col-role { width: auto; }
  .col-actions { width: auto; }
  .modal-body { padding: 14px 18px 18px; }
  .modal-head { padding: 18px 16px 4px 18px; }
  .modal-foot { padding: 12px 18px; }
  .due-badge { min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* "@" mention list above the comment box */
.composer { position: relative; }
.mention-menu {
  position: absolute; left: 8px; right: 8px; bottom: calc(100% + 6px); z-index: 30;
  max-height: 264px; overflow-y: auto; padding: 6px;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.mention-option {
  display: flex; flex-direction: column; align-items: flex-start; gap: 1px; width: 100%; padding: 8px 10px;
  border: 0; border-radius: 8px; background: transparent; color: var(--ink); font: inherit; text-align: left; cursor: pointer;
}
.mention-option.is-active, .mention-option:hover { background: var(--primary-soft); }
.mention-name { font-weight: 600; }
.mention-hint { color: var(--faint); font-size: 0.8125rem; }

/* WhatsApp numbers on the Team page, and the alert after an @mention */
.col-phone { width: 170px; }
.compact-input { min-height: 32px; height: 32px; padding: 0 10px; font-size: 13px; width: 150px; }
.muted-text { color: var(--faint); }
.mention-alert { margin-top: 10px; padding: 12px 14px; border: 1px solid var(--success-line); border-radius: var(--radius); background: var(--success-soft); }
.mention-alert-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.mention-alert-list { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.mention-alert-missing { font-size: 13px; color: var(--muted); }
.mention-alert .hint { margin: 8px 0 0; }
.btn-whatsapp { background: #15803d; border-color: #15803d; color: #fff; }
.btn-whatsapp:hover { background: #166534; border-color: #166534; color: #fff; }
@media (max-width: 760px) {
  .col-phone { width: auto; }
  .compact-input { width: 128px; }
}
.mention-alert-sent { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 8px; background: var(--surface); color: var(--success); font-size: 13px; font-weight: 600; }
.mention-alert-sent .icon, .mention-alert-sent svg { width: 14px; height: 14px; }

/* Client portal (task/sql/12): client requests, internal notes, client access */
.pill.client { background: var(--gold-soft); color: #7a5a0c; border-color: #ecd9a0; margin-left: 6px; }
.board-card .pill.client { margin: 2px 0 6px; justify-self: start; }
.brand-card-clients { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.brand-card-clients .icon { width: 14px; height: 14px; }
.page-actions { flex-wrap: wrap; justify-content: flex-end; }
.comment.is-internal .comment-body { background: var(--warn-soft); border-color: var(--warn-line); }
.internal-tag, .client-tag { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 5px; font-size: 11px; font-weight: 700; }
.internal-tag { background: var(--internal-soft); color: var(--warn-ink); }
.client-tag { background: var(--primary-soft); color: var(--primary); }
.composer.is-internal { border-color: #f5d77a; background: #fffdf5; }
.composer.is-internal textarea { background: transparent; }
.composer-mode { display: flex; gap: 4px; padding: 6px 6px 0; }
.composer-mode button { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border: 1px solid transparent; border-radius: 7px; background: transparent; color: var(--muted); font-size: 12.5px; font-weight: 600; cursor: pointer; }
.composer-mode button .icon { width: 14px; height: 14px; }
.composer-mode button:hover { background: var(--surface-2); color: var(--ink); }
.composer-mode button[data-reply-mode="internal"][aria-pressed="true"] { background: var(--internal-soft); border-color: var(--warn-line); color: var(--warn-ink); }
.composer-mode button[data-reply-mode="client"][aria-pressed="true"] { background: var(--primary-soft); border-color: var(--primary-line); color: var(--primary); }
.client-panel { margin-bottom: 18px; }
.client-hint { padding: 0 20px 12px; max-width: 860px; }
.client-list { list-style: none; margin: 0 0 6px; padding: 0 12px; display: grid; gap: 2px; }
.client-row { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 9px; }
.client-row:hover { background: var(--surface-2); }
.client-row .person-copy { flex: 1; }

/* Weekly report */
.report-toolbar { justify-content: flex-end; }
.report-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.report-grid .card + .card { margin-top: 0; }
.report-section .card-head h2 { display: flex; align-items: center; gap: 8px; }
.report-list { list-style: none; margin: 0; padding: 0 8px 4px; display: grid; gap: 2px; }
.report-row { width: 100%; display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 0; border-radius: 9px; background: transparent; text-align: left; color: inherit; }
.report-open { cursor: pointer; }
.report-open:hover { background: var(--surface-2); }
.report-copy { display: grid; gap: 2px; min-width: 0; flex: 1; }
.report-meta { font-size: 12.5px; color: var(--faint); }
.report-foot { margin-top: 22px; font-size: 12.5px; color: var(--faint); text-align: center; }
@media (max-width: 1020px) {
  .report-grid { grid-template-columns: 1fr; }
}
@media print {
  .sidebar, .topbar, .toolbar, .page-actions, .drawer, .drawer-scrim, .toast-stack, .skip-link { display: none !important; }
  .shell { display: block; }
  body { background: var(--surface); }
  .content { padding: 0; max-width: none; }
  .card, .stat { box-shadow: none; break-inside: avoid; }
  .report-grid { grid-template-columns: 1fr 1fr; }
}

/* Team: which projects each person works on (task/sql/13) */
.col-projects { width: 260px; }
.col-projects .btn { margin-left: 4px; }
.project-scope { font-size: 13px; color: var(--muted); }
.project-scope.is-limited { color: var(--ink); font-weight: 600; }
.scope-options { display: grid; gap: 10px; }
.scope-option { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; cursor: pointer; }
.scope-option:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); }
.scope-option input { margin-top: 3px; accent-color: var(--primary); }
.scope-option span { display: grid; gap: 2px; }
.scope-option small { color: var(--faint); font-size: 12.5px; }
.scope-projects { display: grid; gap: 6px; margin: 0; padding: 4px 0 0 30px; border: 0; }
.scope-project { display: flex; align-items: center; gap: 10px; min-height: 32px; cursor: pointer; }
@media (max-width: 760px) {
  .col-projects { width: auto; }
}

/* Passwords set by an admin (task/worker /api/admin/password) */
.password-generate { display: flex; align-items: center; gap: 6px; }
.password-generate input { flex: 1; min-width: 0; font-variant-numeric: tabular-nums; }
.password-field { min-width: 230px; }
.col-actions .btn + .btn { margin-left: 4px; }
.client-row .btn-ghost:not(.danger-text) { color: var(--primary); }
.team-table .col-actions { width: 230px; white-space: nowrap; }

/* Conversations with the bots: admins only (task/sql/14) */
.admin-tag { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 5px; font-size: 11px; font-weight: 700; background: var(--navy-900); color: var(--gold); }

/* Pending: finished, waiting for a person to check and close (task/sql/14) */
:root { --pending: #6d28d9; --pending-soft: #f5f3ff; }
.pill.pending { background: var(--pending-soft); color: var(--pending); border-color: #ddd6fe; }
.pill-dot.pending { background: var(--pending); }

/* Priority and type (task/sql/15) */
.prio { display: inline-flex; align-items: center; gap: 4px; flex: none; height: 20px; padding: 0 7px; border-radius: 5px; font-size: 11px; font-weight: 700; margin-left: 6px; }
.prio .icon { width: 12px; height: 12px; }
.prio-urgent { background: var(--danger); color: #fff; }
.prio-high { background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa; }
.type-tag { display: inline-flex; align-items: center; flex: none; height: 20px; padding: 0 7px; border-radius: 5px; font-size: 11px; font-weight: 600; margin-left: 6px; border: 1px solid var(--border-strong); color: var(--muted); background: var(--surface); }
.type-problem { border-color: var(--danger-line); color: var(--danger); }
.type-question { border-color: var(--primary-line); color: var(--primary); }
.board-card .prio, .board-card .type-tag { margin: 0 6px 0 0; }
.urgent-notice { border-color: var(--danger-line); background: var(--danger-soft); color: var(--danger-ink); }
.urgent-notice .icon { color: var(--danger); }

/* Recurring tickets */
.recurring-table .col-schedule { width: 190px; font-size: 13px; }
.recurring-table .col-next { width: 120px; font-size: 13px; white-space: nowrap; }
.recurring-table .col-actions { width: 230px; white-space: nowrap; }
.recurring-table tbody tr { cursor: default; }
.recurring-table tr.is-paused .task-title { color: var(--faint); }
.switch-label { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); margin-right: 6px; cursor: pointer; }
@media (max-width: 760px) {
  .recurring-table .col-schedule, .recurring-table .col-next { display: none; }
}

/* Hours per client project (task/sql/16) */
.time-total { font-family: var(--font); font-size: 12.5px; font-weight: 600; color: var(--muted); }
.time-form { display: grid; gap: 12px; padding: 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-2); margin-bottom: 12px; }
.time-grid { display: grid; grid-template-columns: 150px 160px 1fr; gap: 10px; align-items: end; }
.time-grid input { min-height: 36px; height: 36px; background-color: var(--surface); }
.time-quick { display: flex; flex-wrap: wrap; gap: 6px; }
.time-quick button { height: 26px; padding: 0 10px; border-radius: 13px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--muted); font-size: 12px; font-weight: 600; cursor: pointer; }
.time-quick button:hover { border-color: var(--primary); color: var(--primary); }
.time-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.time-foot .inline-actions { margin-left: auto; }
.time-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.time-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.time-amount { flex: none; min-width: 64px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink); }
.time-copy { flex: 1; min-width: 0; display: grid; gap: 1px; }
.time-copy small { font-size: 12px; color: var(--faint); }
.time-note { font-size: 13px; color: var(--ink-2); overflow-wrap: anywhere; }
.nobill-tag { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 5px; font-size: 11px; font-weight: 700; background: var(--todo-soft); color: var(--muted); flex: none; }
.hours-table td, .hours-table th { white-space: nowrap; }
.hours-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.hours-table tbody tr { cursor: default; }
.hours-table .col-project { white-space: normal; }
.hours-table tfoot td { font-weight: 700; border-top: 1px solid var(--border); background: var(--surface-2); padding: 12px 14px; }
.hours-over { color: var(--danger); font-weight: 600; }
.hours-left { color: var(--success); font-weight: 600; }
.hours-terms { display: block; font-size: 12px; color: var(--faint); font-weight: 450; }
.hours-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; margin-top: 18px; }
.hours-grid .card + .card { margin-top: 0; }
.hours-list { list-style: none; margin: 0; padding: 0 20px 8px; display: grid; }
.hours-list li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line-soft); }
.hours-list li:last-child { border-bottom: 0; }
.hours-list .grow { flex: 1; min-width: 0; }
.hours-list .num { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.hours-list small { display: block; color: var(--faint); font-size: 12px; }
.entries-card { margin-top: 18px; }
.table-scroll { overflow-x: auto; }
.entries-table td { font-size: 13px; }
.entries-table .note-cell { white-space: normal; min-width: 180px; color: var(--muted); }
.money-input { display: flex; align-items: center; gap: 8px; }
.money-input span { color: var(--faint); font-weight: 600; font-size: 13px; white-space: nowrap; }
@media (max-width: 1020px) {
  .hours-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .time-grid { grid-template-columns: 1fr 1fr; }
  .time-grid .time-note-field { grid-column: 1 / -1; }
  .hours-table .hide-small { display: none; }
}

/* Appearance (light, dark or the device's setting) in the profile */
.theme-options { display: flex; gap: 8px; flex-wrap: wrap; }
.theme-options label { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border: 1px solid var(--border); border-radius: 9px; cursor: pointer; font-weight: 550; }
.theme-options label:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); }
.theme-options input { accent-color: var(--primary); margin: 0; }

/* -------------------------------------------------------------- dark mode */
/* Navy surfaces with the same gold. Printing always uses the light colours. */
@media screen {
  :root[data-theme="dark"] {
    color-scheme: dark;
    --bg: #0a1424;
    --surface: #101d31;
    --surface-2: #15243b;
    --border: #23344f;
    --border-strong: #2f4566;
    --ink: #e7edf6;
    --ink-2: #d3dcea;
    --muted: #a7b4c8;
    --faint: #8e9cb3;
    --primary: #8fb3ff;
    --primary-hover: #3a68b5;
    --primary-fill: #2c5598;
    --primary-soft: #18294a;
    --primary-ring: rgba(143, 179, 255, 0.32);
    --primary-line: #2c4573;
    --gold-soft: #2b2412;
    --danger: #f87171;
    --danger-soft: #2b1518;
    --danger-line: #5c2529;
    --danger-ink: #fca5a5;
    --warn: #fbbf24;
    --warn-soft: #2a2110;
    --warn-line: #5b4614;
    --warn-ink: #fcd34d;
    --success: #4ade80;
    --success-soft: #0f2a1c;
    --success-line: #1f5236;
    --success-ink: #86efac;
    --internal-soft: #3a2e10;
    --todo: #a7b4c8;
    --todo-soft: #1a2739;
    --doing: #8fb3ff;
    --doing-soft: #172a4d;
    --doing-line: #2c4573;
    --done: #4ade80;
    --done-soft: #0f2a1c;
    --pending: #c4b5fd;
    --pending-soft: #231b40;
    --hover: #1b2b44;
    --line-soft: #1c2c44;
    --hover-line: #46608a;
    --topbar: rgba(16, 29, 49, 0.88);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.35);
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.4), 0 6px 16px -8px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 24px 64px -16px rgba(0, 0, 0, 0.75);
  }
  :root[data-theme="dark"] .sidebar { background: #08111f; border-right-color: var(--border); }
  :root[data-theme="dark"] .auth-aside { background: #08111f; }
  :root[data-theme="dark"] .toast { border: 1px solid var(--border-strong); }
  :root[data-theme="dark"] .skip-link { background: var(--primary-fill); }
  :root[data-theme="dark"] .btn-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
  :root[data-theme="dark"] .btn-danger, :root[data-theme="dark"] .prio-urgent { background: #b91c1c; border-color: #b91c1c; }
  :root[data-theme="dark"] .nav-badge.success { background: #15803d; }
  :root[data-theme="dark"] .btn:not(.btn-primary):not(.btn-danger):not(.btn-accent).is-loading::after { border-color: var(--border-strong); border-top-color: var(--primary); }
  :root[data-theme="dark"] .spinner { border-color: var(--border-strong); border-top-color: var(--primary); }
  :root[data-theme="dark"] .segmented { background: #0c1829; }
  :root[data-theme="dark"] .segmented button[aria-pressed="true"] { background: var(--surface-2); box-shadow: 0 0 0 1px var(--border-strong); }
  :root[data-theme="dark"] .column { background: #0d192b; border-color: var(--border); }
  :root[data-theme="dark"] .column-count { background: var(--surface-2); }
  :root[data-theme="dark"] .task-table tbody tr:hover { background: var(--surface-2); }
  :root[data-theme="dark"] .board-card:hover, :root[data-theme="dark"] .file-row:hover { border-color: var(--border-strong); }
  :root[data-theme="dark"] .pill.todo { border-color: var(--border-strong); }
  :root[data-theme="dark"] .pill.pending { border-color: #3d3270; }
  :root[data-theme="dark"] .pill.client { color: #f0d27a; border-color: #5a4a1c; }
  :root[data-theme="dark"] .prio-high { background: #2e1a0c; color: #fdba74; border-color: #6b3a14; }
  :root[data-theme="dark"] .avatar-empty { background: var(--surface-2); }
  :root[data-theme="dark"] .role-tag.admin { background: #1e2150; color: #c7d2fe; }
  :root[data-theme="dark"] .file-icon.file { background: #1e2150; color: #a5b4fc; }
  :root[data-theme="dark"] .file-icon.audio { background: #2d1636; color: #f0abfc; }
  :root[data-theme="dark"] .file-icon.video { background: #2e1a0c; color: #fdba74; }
  :root[data-theme="dark"] .upload-bar { background: var(--border-strong); }
  :root[data-theme="dark"] .drawer.is-dropping::after { background: rgba(16, 29, 49, 0.92); }
  :root[data-theme="dark"] .composer.is-internal { border-color: #6b5517; background: #1d1a10; }
  :root[data-theme="dark"] .admin-tag { box-shadow: inset 0 0 0 1px #5a4a1c; }
  :root[data-theme="dark"] .brand-chip { color: hsl(var(--hue, 214) 70% 80%); background: hsl(var(--hue, 214) 35% 18%); border-color: hsl(var(--hue, 214) 30% 30%); }
  :root[data-theme="dark"] .brand-mark { color: hsl(var(--hue) 75% 80%); background: hsl(var(--hue) 35% 18%); border-color: hsl(var(--hue) 30% 30%); }
  :root[data-theme="dark"] .brand-card:hover { border-color: hsl(var(--hue) 40% 42%); }
  :root[data-theme="dark"] select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238e9cb3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
  :root[data-theme="dark"] ::placeholder { color: #6b7a93; }
  :root[data-theme="dark"] .boot-logo { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18); }
}
