/* ════════════════════════════════════════════════════════════
   GSRA Workspace — design system
   Brand: GSRA & Associates (gsra.co.in)
   Navy #074068 · Brass #b8953e · Sage #6b7a5d · Poppins + Inter
   ════════════════════════════════════════════════════════════ */

/* ── Variables ───────────────────────────────────────────── */
:root {
  /* surfaces */
  --bg: #f5f4ef;
  --surface: #ffffff;
  --surface2: #efece4;
  --border: rgba(7,64,104,0.10);
  --border-med: rgba(7,64,104,0.18);

  /* text */
  --text: #16242e;
  --text2: #586871;
  --text3: #93a0a8;

  /* navy — primary brand / actions / focus */
  --accent: #074068;
  --accent-h: #0a5688;
  --accent-light: #e7eef4;
  --accent-text: #063a5e;

  /* brass / gold — active, in-progress, unbilled */
  --gold: #b8953e;
  --gold-soft: #d1ae5e;
  --gold-light: #f7eed6;
  --gold-text: #7a5e1d;

  /* sage — free / available / calm-positive */
  --sage: #6b7a5d;
  --sage-light: #eaeee1;
  --sage-text: #44513a;

  /* secondary blue — completed / info */
  --blue: #1c6aa3;
  --blue-light: #e6f0f8;
  --blue-text: #0f4a78;

  /* legacy aliases (kept for amber references in JS) */
  --amber: var(--gold-text);
  --amber-light: var(--gold-light);

  /* danger */
  --red: #b3261e;
  --red-light: #fdeceb;

  --sidebar-w: 230px;
  --radius-sm: 7px;
  --radius: 9px;
  --radius-lg: 14px;
  --shadow: 0 1px 2px rgba(7,64,104,0.06), 0 1px 3px rgba(7,64,104,0.05);
  --shadow-md: 0 8px 28px rgba(7,64,104,0.14), 0 2px 6px rgba(7,64,104,0.07);
  --ring: 0 0 0 3px rgba(7,64,104,0.15);
  --font-head: 'Poppins', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'SF Mono', 'JetBrains Mono', 'Fira Code', ui-monospace, monospace;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body, #app { height: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
input, select, textarea, button { font-family: inherit; font-size: 14px; color: inherit; }
a { color: inherit; text-decoration: none; }
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-med); border-radius: 10px; border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: rgba(7,64,104,0.30); background-clip: padding-box; }
::selection { background: rgba(7,64,104,0.16); }

/* ── Animations ──────────────────────────────────────────── */
@keyframes fadeUp   { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:none; } }
@keyframes slideIn  { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:none; } }
@keyframes spin     { to { transform: rotate(360deg); } }
@keyframes pulse    { 0%,100% { opacity:1; } 50% { opacity:.5; } }
@keyframes livedot  { 0% { box-shadow: 0 0 0 0 rgba(184,149,62,0.45); } 70% { box-shadow: 0 0 0 6px rgba(184,149,62,0); } 100% { box-shadow: 0 0 0 0 rgba(184,149,62,0); } }
.fade-up  { animation: fadeUp .22s ease; }
.slide-in { animation: slideIn .18s ease; }
.spin     { animation: spin 1s linear infinite; display:inline-block; }
.pulse    { animation: pulse 2s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ── Utilities ───────────────────────────────────────────── */
.hidden  { display: none !important; }
.flex    { display: flex; }
.flex-1  { flex: 1; }
.gap-8   { gap: 8px; }
.gap-12  { gap: 12px; }
.center  { display:flex; align-items:center; justify-content:center; }
.text-sm { font-size: 13px; }
.text-xs { font-size: 12px; }
.text2   { color: var(--text2); }
.text3   { color: var(--text3); }
.fw-500  { font-weight: 500; }
.fw-600  { font-weight: 600; }
.mt-4    { margin-top: 4px; }
.mt-8    { margin-top: 8px; }
.mt-12   { margin-top: 12px; }
.mt-16   { margin-top: 16px; }
.mt-24   { margin-top: 24px; }
.mb-8    { margin-bottom: 8px; }
.mb-12   { margin-bottom: 12px; }
.mb-16   { margin-bottom: 16px; }
.mb-24   { margin-bottom: 24px; }
.w-full  { width: 100%; }

/* ── Auth / login ────────────────────────────────────────── */
.auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 46%) 1fr;
}

/* Brand panel (left) — artwork + values */
.auth-brand {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: 3rem 3rem 2.75rem;
  color: #fff;
  /* navy scrim over the artwork: darker top (logo) + bottom (text), sculpture shows mid */
  background:
    linear-gradient(to bottom, rgba(5,34,54,0.74) 0%, rgba(5,34,54,0.12) 22%, transparent 38%),
    linear-gradient(to top, rgba(4,30,48,0.96) 4%, rgba(6,46,72,0.74) 34%, rgba(7,64,104,0.30) 62%, rgba(7,64,104,0.12) 100%),
    linear-gradient(rgba(7,46,72,0.30), rgba(7,46,72,0.30)),
    url("/assets/login-bg.jpg") center 30% / cover no-repeat,
    #074068;
}
.auth-brand-top { position: relative; display: flex; align-items: center; }
.auth-brand-logo { height: 50px; width: auto; filter: brightness(0) invert(1); }

/* Values */
.auth-values { position: relative; }
.auth-eyebrow {
  font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-soft);
}
.auth-values-lead {
  font-family: var(--font-head); font-weight: 500;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.3; letter-spacing: -.01em;
  margin: .85rem 0 1.6rem;
  color: rgba(255,255,255,0.94);
}
.auth-values-lead::after {
  content: ""; display: block; width: 46px; height: 2px; margin-top: 1.25rem;
  background: linear-gradient(90deg, var(--gold-soft), transparent); border-radius: 2px;
}
.auth-values-list {
  list-style: none;
  display: flex; flex-direction: column;
  gap: .55rem;
}
.auth-values-list li {
  font-family: var(--font-head); font-weight: 500;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.15; letter-spacing: -.01em;
  color: rgba(255,255,255,0.96);
  display: flex; align-items: center; gap: .85rem;
  text-shadow: 0 1px 14px rgba(2,18,30,0.45);
  animation: valueIn .5s ease both;
  animation-delay: calc(var(--i) * 70ms + 120ms);
}
.auth-values-list li::before {
  content: "✦"; color: var(--gold-soft); font-size: .62em; font-weight: 400; line-height: 1;
  flex-shrink: 0; text-shadow: none;
}
@keyframes valueIn { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }

.auth-brand-foot {
  position: relative; display: flex; align-items: center; gap: 11px;
  font-size: 12px; letter-spacing: .02em; color: rgba(255,255,255,0.62);
}
.auth-dot { color: var(--gold-soft); font-size: 9px; }

/* Form panel (right) */
.auth-form {
  display: flex; align-items: center; justify-content: center;
  padding: 2rem;
  background:
    radial-gradient(700px 380px at 82% -12%, rgba(184,149,62,0.07), transparent 60%),
    var(--bg);
}
.auth-card { width: 100%; max-width: 384px; animation: fadeUp .3s ease; }
.auth-card-head { margin-bottom: 1.85rem; text-align: center; }
.auth-card-logo { height: 92px; width: auto; display: block; margin: 0 auto 1.35rem; }
.auth-title { font-family: var(--font-head); font-size: 25px; font-weight: 600; letter-spacing: -.3px; }
.auth-sub { color: var(--text2); margin-top: 5px; }

.input-icon { position: relative; display: flex; align-items: center; }
.input-icon > .ti { position: absolute; left: 12px; font-size: 17px; color: var(--text3); pointer-events: none; transition: color .14s; }
.input-icon .form-input { padding-left: 38px; }
.input-icon:focus-within > .ti { color: var(--accent); }
.input-trailing {
  position: absolute; right: 5px;
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px;
  border: none; background: transparent; color: var(--text3);
  border-radius: var(--radius-sm); cursor: pointer; transition: color .14s, background .14s;
}
.input-trailing:hover { color: var(--text); background: rgba(7,64,104,0.06); }
.input-trailing:focus-visible { outline: none; box-shadow: var(--ring); }
.input-trailing .ti { font-size: 17px; }

.auth-foot { margin-top: 1.5rem; text-align: center; font-size: 11.5px; color: var(--text3); }

@media (max-width: 860px) {
  .auth { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .auth-brand { padding: 1.85rem; gap: 1.25rem; min-height: 300px; }
  .auth-brand-logo { height: 42px; }
  .auth-brand-foot { display: none; }
  .auth-values-lead { margin: .6rem 0 1.1rem; }
  .auth-values-lead::after { margin-top: .9rem; }
  .auth-values-list { flex-direction: row; flex-wrap: wrap; gap: .4rem 1.4rem; }
  .auth-values-list li { font-size: clamp(1.1rem, 3.6vw, 1.4rem); }
}
@media (max-width: 560px) {
  .auth-brand { display: none; }
  .auth-form { padding: 1.5rem; }
  .auth-card { animation: none; }
}

/* ── Brand mark ──────────────────────────────────────────── */
.brand-icon {
  width: 46px; height: 46px;
  background: linear-gradient(155deg, #0a5688, var(--accent) 70%);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 22px;
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 4px 12px rgba(7,64,104,0.25);
  position: relative;
}
.brand-icon::after {
  content: ""; position: absolute; left: 8px; right: 8px; bottom: 7px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
  border-radius: 2px; opacity: .9;
}
.brand-icon-sm { width: 32px; height: 32px; font-size: 16px; border-radius: 9px; }
.brand-icon-sm::after { left: 6px; right: 6px; bottom: 5px; }
.brand-name { font-family: var(--font-head); font-size: 18px; font-weight: 600; letter-spacing: -.2px; }
.brand-sub  { font-size: 12px; color: var(--text3); margin-top: 1px; }

/* ── App shell ───────────────────────────────────────────── */
.app-shell { display: flex; height: 100vh; overflow: hidden; }
.main-content { flex: 1; overflow-y: auto; background: var(--bg); }

/* ── Sidebar ─────────────────────────────────────────────── */
.sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  background: var(--surface2);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  height: 100vh;
  position: sticky;
  top: 0;
}
.sidebar-brand {
  padding: 1.2rem 1.05rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 11px;
}
.brand-logo { width: 132px; height: auto; display: block; }
.sidebar-nav { flex: 1; padding: .85rem .6rem; overflow-y: auto; }
.nav-section-label {
  font-size: 10.5px;
  color: var(--text3);
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: .45rem .55rem .4rem;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8.5px 10px;
  margin-bottom: 1px;
  border-radius: var(--radius);
  border: none;
  background: transparent;
  color: var(--text2);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: background .14s, color .14s;
  text-align: left;
  position: relative;
}
.nav-item:hover  { background: rgba(7,64,104,0.06); color: var(--text); }
.nav-item.active {
  background: var(--surface);
  color: var(--accent-text);
  font-weight: 600;
  box-shadow: var(--shadow);
}
.nav-item.active::before {
  content: ""; position: absolute; left: -.6rem; top: 50%; transform: translateY(-50%);
  width: 3px; height: 18px; border-radius: 0 3px 3px 0; background: var(--gold);
}
.nav-item.disabled { opacity: .5; cursor: not-allowed; font-weight: 500; }
.nav-item.disabled:hover { background: transparent; color: var(--text2); }
.nav-item .ti   { font-size: 18px; flex-shrink: 0; color: var(--text3); transition: color .14s; }
.nav-item:hover .ti, .nav-item.active .ti { color: var(--accent); }
.nav-badge {
  margin-left: auto;
  background: var(--gold);
  color: #fff;
  border-radius: 10px;
  font-size: 11px;
  min-width: 18px; text-align: center;
  padding: 1px 6px;
  font-weight: 600;
}
.nav-soon {
  margin-left: auto;
  font-size: 9.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text3);
  background: rgba(7,64,104,0.06);
  padding: 2px 6px;
  border-radius: 5px;
  font-weight: 600;
}
.sidebar-footer { padding: .75rem; border-top: 1px solid var(--border); }
.sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: .45rem .5rem;
  margin-bottom: 4px;
}
.sidebar-signout { width: 100%; justify-content: flex-start; color: var(--text2); }
.sidebar-signout:hover { color: var(--red); background: var(--red-light); }

/* ── Avatar ──────────────────────────────────────────────── */
.avatar {
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .2px;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14);
}

/* ── Cards ───────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  box-shadow: var(--shadow);
}
.card-title {
  font-size: 11px;
  color: var(--text3);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 15px;
  border-radius: var(--radius);
  border: 1px solid var(--border-med);
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background .14s, border-color .14s, box-shadow .14s, transform .05s;
  white-space: nowrap;
}
.btn:hover    { background: var(--surface2); border-color: rgba(7,64,104,0.26); }
.btn:active   { transform: translateY(.5px); }
.btn:focus-visible { outline: none; box-shadow: var(--ring); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn .ti      { font-size: 16px; }
.btn-primary  { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 1px 2px rgba(7,64,104,0.25); }
.btn-primary:hover { background: var(--accent-h); border-color: var(--accent-h); }
.btn-primary:focus-visible { box-shadow: 0 0 0 3px rgba(7,64,104,0.30); }
.btn-danger   { background: var(--red-light); border-color: rgba(179,38,30,.35); color: var(--red); }
.btn-danger:hover { background: #fbdedb; }
.btn-ghost    { background: transparent; border-color: transparent; color: var(--text2); }
.btn-ghost:hover { background: rgba(7,64,104,0.06); color: var(--text); border-color: transparent; }
.btn-sm   { padding: 5px 11px; font-size: 13px; border-radius: var(--radius-sm); }
.btn-lg   { padding: 11px 20px; font-size: 14.5px; font-weight: 600; }
.btn-full { width: 100%; }

/* ── Badges ──────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid transparent;
  white-space: nowrap;
}
.badge-green  { background: var(--sage-light);  color: var(--sage-text);  border-color: rgba(107,122,93,.22); }
.badge-blue   { background: var(--blue-light);  color: var(--blue-text);  border-color: rgba(28,106,163,.18); }
.badge-amber  { background: var(--gold-light);  color: var(--gold-text);  border-color: rgba(184,149,62,.30); }
.badge-default{ background: rgba(7,64,104,0.05);color: var(--text2);      border-color: var(--border); }
.badge-red    { background: var(--red-light);   color: var(--red);        border-color: rgba(179,38,30,.20); }
.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; flex-shrink:0; }
.dot-green  { background: var(--sage); }
.dot-gray   { background: var(--text3); }
.dot-blue   { background: var(--blue); }
.dot-gold   { background: var(--gold); }

/* ── Forms ───────────────────────────────────────────────── */
.form-group { margin-bottom: 1rem; }
.form-label { display: block; font-size: 12.5px; color: var(--text2); font-weight: 600; margin-bottom: 6px; }
.form-input, .form-select {
  width: 100%;
  padding: 9.5px 12px;
  border: 1px solid var(--border-med);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  outline: none;
  transition: border-color .14s, box-shadow .14s;
}
.form-input::placeholder { color: var(--text3); }
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23586871' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
  padding-right: 32px;
  cursor: pointer;
}
.form-input:hover, .form-select:hover { border-color: rgba(7,64,104,0.30); }
.form-input:focus, .form-select:focus { border-color: var(--accent); box-shadow: var(--ring); }
.form-grid-2 { display: grid; grid-template-columns: 1fr 100px; gap: 10px; }

/* ── Alerts ──────────────────────────────────────────────── */
.alert { padding: 10px 14px; border-radius: var(--radius); font-size: 13px; margin-bottom: 1rem; display:flex; gap:8px; align-items:flex-start; }
.alert-error   { background: var(--red-light);  color: var(--red);        border: 1px solid rgba(179,38,30,.22); }
.alert-success { background: var(--sage-light);  color: var(--sage-text);  border: 1px solid rgba(107,122,93,.28); }

/* ── Page layout ─────────────────────────────────────────── */
.page { padding: 2.25rem 1.75rem 3rem; max-width: 880px; margin: 0 auto; animation: fadeUp .2s ease; }
.page-narrow { max-width: 560px; }
.page-header { margin-bottom: 1.75rem; }
.page-title  { font-family: var(--font-head); font-size: 23px; font-weight: 600; letter-spacing: -.4px; }
.page-sub    { color: var(--text2); margin-top: 3px; }

/* ── Stat cards ──────────────────────────────────────────── */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px,1fr)); gap: 13px; margin-bottom: 1.5rem; }
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.05rem 1.15rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.stat-card::before { content:""; position:absolute; left:0; top:0; bottom:0; width:3px; background: var(--border-med); opacity:.6; }
.stat-card.accent::before { background: var(--accent); opacity:1; }
.stat-card.gold::before   { background: var(--gold);   opacity:1; }
.stat-card.sage::before   { background: var(--sage);   opacity:1; }
.stat-label { font-size: 12px; color: var(--text2); font-weight: 500; margin-bottom: 8px; display: flex; justify-content: space-between; align-items: center; }
.stat-value { font-family: var(--font-head); font-size: 30px; font-weight: 600; line-height: 1; letter-spacing: -.5px; }

/* ── List rows ───────────────────────────────────────────── */
.row-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.row-item:last-child { border-bottom: none; }
.row-main  { flex: 1; min-width: 0; }
.row-title { font-weight: 500; }
.row-sub   { font-size: 12px; color: var(--text2); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── Active task card ────────────────────────────────────── */
.active-task-card {
  border: 1px solid rgba(184,149,62,0.34);
  margin-bottom: 1rem;
  background:
    linear-gradient(120deg, rgba(184,149,62,0.08), rgba(184,149,62,0.02) 38%, transparent 60%),
    var(--surface);
}
.active-task-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: .85rem; }
.task-timer {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 600;
  color: var(--gold-text);
  font-variant-numeric: tabular-nums;
  display: inline-flex; align-items: center; gap: 7px;
}
.task-timer::before { content:""; width:7px; height:7px; border-radius:50%; background: var(--gold); animation: livedot 2s ease-out infinite; }
.active-task-name { font-size: 17px; font-weight: 600; letter-spacing: -.2px; }
.active-task-client { color: var(--text2); margin-top: 4px; }
.active-task-notes { color: var(--text3); font-size: 12px; font-style: italic; margin-top: 6px; }
.active-task-actions { display: flex; gap: 8px; margin-top: 1.25rem; }

/* ── Notification dropdown ───────────────────────────────── */
.notif-wrap { position: relative; }
.notif-dropdown {
  position: absolute; right: 0; top: calc(100% + 8px);
  width: 360px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  z-index: 200;
  overflow: hidden;
  animation: slideIn .18s ease;
}
.notif-header { padding: 11px 14px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; background: var(--surface2); }
.notif-list { max-height: 360px; overflow-y: auto; }
.notif-item { padding: 11px 14px; border-bottom: 1px solid var(--border); display: flex; gap: 10px; align-items: flex-start; }
.notif-item:last-child { border-bottom: none; }
.notif-item.unread { background: var(--accent-light); }
.notif-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); margin-top: 5px; flex-shrink: 0; }
.notif-dot.read { background: transparent; box-shadow: inset 0 0 0 1px var(--border-med); }
.notif-msg  { font-size: 13px; line-height: 1.45; }
.notif-time { font-size: 11px; color: var(--text3); margin-top: 3px; }
.notif-empty { padding: 2.25rem; text-align: center; color: var(--text3); font-size: 13px; }

/* ── Modal ───────────────────────────────────────────────── */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(11,30,42,0.46);
  backdrop-filter: blur(2px);
  display: flex; align-items: center; justify-content: center;
  z-index: 500; padding: 1rem;
  animation: fadeUp .15s ease;
}
.modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-md);
  animation: fadeUp .2s ease;
}
.modal-title { font-family: var(--font-head); font-size: 16px; font-weight: 600; margin-bottom: 1.25rem; }
.modal-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 1.5rem; }

/* ── Section labels ──────────────────────────────────────── */
.done-section-label { font-size: 11px; color: var(--text3); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .85rem; margin-top: 1.85rem; }

/* ── Top bar (dashboard) ─────────────────────────────────── */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.75rem; }

/* ── Mobile ──────────────────────────────────────────────── */
@media (max-width: 760px) {
  .app-shell { flex-direction: column; height: 100vh; }
  .sidebar {
    width: 100%; height: auto; position: sticky; top: 0; z-index: 50;
    flex-direction: row; align-items: center;
    border-right: none; border-bottom: 1px solid var(--border);
    padding: 0 .5rem;
  }
  .sidebar-brand { border-bottom: none; padding: .7rem .6rem; flex-shrink: 0; }
  .brand-logo { width: auto; height: 28px; }
  .sidebar-nav { display: flex; gap: 4px; padding: .4rem; overflow-x: auto; }
  .nav-section-label { display: none; }
  .nav-item { width: auto; margin-bottom: 0; white-space: nowrap; }
  .nav-item.active::before { display: none; }
  .nav-item span:not(.nav-badge):not(.nav-soon) { display: none; }
  .nav-item .ti { font-size: 19px; }
  .nav-soon { display: none; }
  .sidebar-footer { display: flex; align-items: center; gap: 8px; padding: .4rem .5rem; border-top: none; margin-left: auto; flex-shrink: 0; }
  .sidebar-user { margin-bottom: 0; }
  .sidebar-signout span { display: none; }
  .sidebar-signout { width: auto; padding: 6px 10px; }
  .page { padding: 1.5rem 1.1rem 2.5rem; }
  .notif-dropdown { width: calc(100vw - 2rem); right: -.5rem; }
}
