/* ==========================================================================
   Blue Ridge CRM — style.css
   Design system per CONTRACT.md §4. Light UI, dark navy sidebar, blue
   accents, white cards on cool gray. Calm, precise, professional.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --blue-50:  #eef5fe;
  --blue-100: #d9e9fc;
  --blue-500: #2a78d6;
  --blue-600: #1f63c0;
  --blue-700: #174ea3;
  --navy-800: #14294b;
  --navy-900: #0e1e38;

  --ink:    #1a2332;
  --text-2: #5a6474;
  --text-3: #8a93a3;

  --line: #e3e8ef;
  --bg:   #f4f6f9;
  --card: #ffffff;

  --green:     #0ca30c;  --green-bg:  #e7f6e7;
  --amber:     #b97a00;  --amber-bg:  #fdf3da;
  --red:       #d03b3b;  --red-bg:    #fdeaea;
  --teal:      #0d8a66;  --teal-bg:   #e2f5ee;
  --violet:    #5b4bc4;  --violet-bg: #edebfa;
  --orange:    #d95926;  --orange-bg: #fdeee6;
  --gray:      #5a6474;  --gray-bg:   #eef1f5;
  --navy-bg:   #e2e8f2;

  --radius: 10px;
  --shadow: 0 1px 3px rgba(16,30,54,.08), 0 1px 2px rgba(16,30,54,.04);

  color-scheme: light;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html, body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, ul, ol {
  margin: 0;
}

ul, ol { padding: 0; }

html {
  scrollbar-color: #c6cedb transparent;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 { font-weight: 600; line-height: 1.3; }

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

input, select, textarea { font: inherit; color: inherit; }

input[type="checkbox"], input[type="radio"] {
  accent-color: var(--blue-600);
  width: 16px;
  height: 16px;
  margin: 0;
  cursor: pointer;
}

::placeholder { color: var(--text-3); opacity: 1; }

/* Selection tint */
::selection { background: var(--blue-100); }
.sidebar ::selection { background: rgba(42,120,214,.55); color: #fff; }

/* Focus rings — keyboard only, blue */
:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 2px;
  border-radius: 4px;
}
.nav-item:focus-visible { outline-color: #7db2ec; }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { outline: none; }

/* Subtle custom scrollbars */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background-color: #c6cedb;
  border-radius: 999px;
  border: 3px solid transparent;
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover { background-color: #aab4c5; }
::-webkit-scrollbar-corner { background: transparent; }
.sidebar::-webkit-scrollbar { width: 8px; }
.sidebar::-webkit-scrollbar-thumb {
  background-color: rgba(255,255,255,.22);
  border-width: 2px;
}
.sidebar::-webkit-scrollbar-thumb:hover { background-color: rgba(255,255,255,.34); }

/* Smooth micro-interactions (120ms) */
.btn, .icon-btn, .modal-close, .tab, .nav-item, .link, .badge,
.input, .select, .textarea, .kanban-card, .kanban-col, .table tr.clickable {
  transition:
    background-color .12s ease,
    color .12s ease,
    border-color .12s ease,
    box-shadow .12s ease,
    transform .12s ease,
    opacity .12s ease,
    outline-color .12s ease;
}

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

/* --------------------------------------------------------------------------
   3. App layout: sidebar + main
   -------------------------------------------------------------------------- */
.app {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
  min-height: 100dvh;
}

.sidebar {
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: rgba(255,255,255,.72);
  padding: 14px 10px 18px;
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

.sidebar nav { display: flex; flex-direction: column; }

.sidebar-logo {
  padding: 12px 12px 18px;
}
.sidebar-logo img {
  width: 100%;
  max-width: 190px;
  display: block;
}

.nav-section-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.45);
  padding: 18px 13px 6px;
  white-space: nowrap;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  margin: 1px 0;
  border-radius: 8px;
  border-left: 3px solid transparent;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255,255,255,.72);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.nav-item svg { width: 18px; height: 18px; flex: none; }
.nav-item:hover {
  color: #fff;
  background: rgba(255,255,255,.06);
}
.nav-item.active {
  color: #fff;
  background: rgba(42,120,214,.22);
  border-left-color: var(--blue-500);
  font-weight: 600;
}

.main {
  min-width: 0; /* let inner tables/kanban scroll instead of blowing out the grid */
}

.content {
  max-width: 1280px;
  padding: 28px;
  margin: 0 auto;
  width: 100%;
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.page-title {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--ink);
}
.page-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   4. Cards
   -------------------------------------------------------------------------- */
.card, .stat-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.card.card-flush { padding: 0; overflow: hidden; }
.card-flush > .card-header { padding: 16px 20px 0; margin-bottom: 12px; }
.card-flush .table-wrap { border-radius: inherit; }

/* --------------------------------------------------------------------------
   5. Stat cards
   -------------------------------------------------------------------------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.stat-card { padding: 16px 18px; }

.stat-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 6px;
}

.stat-value {
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -.01em;
  font-variant-numeric: proportional-nums;
}

.stat-sub {
  font-size: 12.5px;
  color: var(--text-3);
  margin-top: 3px;
}

.stat-delta {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 12px;
  font-weight: 600;
}
.stat-delta.up   { color: var(--green); }
.stat-delta.down { color: var(--red); }

/* --------------------------------------------------------------------------
   6. Tables
   -------------------------------------------------------------------------- */
.table-wrap { overflow-x: auto; }

table.table {
  width: 100%;
  border-collapse: collapse;
}

.table th {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text-3);
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.table td {
  font-size: 14px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.table tbody tr:last-child td { border-bottom: none; }

.table tbody tr:hover { background: rgba(238,245,254,.4); }

.table tr.clickable { cursor: pointer; }
.table tr.clickable:hover { background: var(--blue-50); }

td.num, th.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   7. Forms
   -------------------------------------------------------------------------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-group.full { grid-column: 1 / -1; }

.form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 5px;
}

.input, .select, .textarea {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.4;
}
.input:hover, .select:hover, .textarea:hover { border-color: #cdd6e1; }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(42,120,214,.14);
}

.select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%235a6474' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
  padding-right: 30px;
  cursor: pointer;
}

.textarea {
  min-height: 90px;
  resize: vertical;
  line-height: 1.5;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.checkbox-row label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  cursor: pointer;
  user-select: none;
}

/* --------------------------------------------------------------------------
   8. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[disabled] {
  opacity: .55;
  cursor: default;
  pointer-events: none;
}

.btn-primary {
  background: var(--blue-600);
  color: #fff;
}
.btn-primary:hover { background: var(--blue-700); }

.btn-secondary {
  background: var(--card);
  border-color: var(--line);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(16,30,54,.05);
}
.btn-secondary:hover { background: #f7f9fc; border-color: #ccd5e0; }

.btn-ghost {
  background: transparent;
  color: var(--text-2);
}
.btn-ghost:hover { background: var(--gray-bg); color: var(--ink); }

.btn-danger {
  background: var(--red);
  color: #fff;
}
.btn-danger:hover { background: #b93030; }

.btn-sm {
  padding: 6px 10px;
  font-size: 12.5px;
}
.btn-sm svg { width: 14px; height: 14px; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 8px;
  background: transparent;
  border: none;
  color: var(--text-2);
  cursor: pointer;
}
.icon-btn svg { width: 16px; height: 16px; }
.icon-btn:hover { background: var(--gray-bg); color: var(--ink); }
.icon-btn:active { transform: translateY(1px); }

/* --------------------------------------------------------------------------
   9. Badges
   -------------------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  background: var(--gray-bg);
  color: var(--gray);
}

.badge-blue   { background: var(--blue-100);  color: var(--blue-700); }
.badge-green  { background: var(--green-bg);  color: var(--green); }
.badge-amber  { background: var(--amber-bg);  color: var(--amber); }
.badge-red    { background: var(--red-bg);    color: var(--red); }
.badge-teal   { background: var(--teal-bg);   color: var(--teal); }
.badge-violet { background: var(--violet-bg); color: var(--violet); }
.badge-orange { background: var(--orange-bg); color: var(--orange); }
.badge-gray   { background: var(--gray-bg);   color: var(--gray); }
.badge-navy   { background: var(--navy-bg);   color: var(--navy-800); }

/* --------------------------------------------------------------------------
   10. Modal
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14,30,56,.5);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: br-fade-in .12s ease-out;
}

.modal {
  background: var(--card);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(14,30,56,.28);
  width: 100%;
  max-width: 620px;
  max-height: 88vh;
  overflow: auto;
  animation: br-modal-up .12s ease-out;
}
.modal-sm { max-width: 420px; }
.modal-md { max-width: 620px; }
.modal-lg { max-width: 860px; }

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: var(--card);
  z-index: 1;
  border-radius: 12px 12px 0 0;
}
.modal-header h2, .modal-header h3, .modal-header .modal-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: none;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--text-2);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}
.modal-close svg { width: 16px; height: 16px; }
.modal-close:hover { background: var(--gray-bg); color: var(--ink); }

.modal-body { padding: 18px 20px 20px; }

/* --------------------------------------------------------------------------
   11. Toasts
   -------------------------------------------------------------------------- */
.toast-host {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  max-width: calc(100vw - 40px);
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--navy-900);
  color: #fff;
  border-radius: 8px;
  border-left: 3px solid rgba(255,255,255,.3);
  padding: 11px 16px 11px 13px;
  font-size: 13.5px;
  max-width: 360px;
  box-shadow: 0 6px 24px rgba(14,30,56,.3);
  animation: br-toast-in .16s ease-out;
}
.toast.success { border-left-color: var(--green); }
.toast.error   { border-left-color: var(--red); }
.toast.info    { border-left-color: var(--blue-500); }

/* --------------------------------------------------------------------------
   12. Tabs
   -------------------------------------------------------------------------- */
.tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
  overflow-x: auto;
}

.tab {
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-2);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  white-space: nowrap;
}
.tab:hover { color: var(--ink); }
.tab.active {
  color: var(--blue-600);
  border-bottom-color: var(--blue-600);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   13. Kanban
   -------------------------------------------------------------------------- */
.kanban {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(210px, 1fr);
  gap: 12px;
  align-items: start;
  overflow-x: auto;
  padding-bottom: 8px;
}

.kanban-col {
  background: #eceff4;
  border-radius: 10px;
  padding: 10px;
  min-width: 210px;
  min-height: 140px;
}
.kanban-col.drag-over {
  outline: 2px solid var(--blue-500);
  outline-offset: -2px;
  background: #e4ecf7;
}

.kanban-col-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text-2);
  padding: 2px 4px;
  margin-bottom: 8px;
}

.kanban-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 12px;
  margin-bottom: 8px;
  cursor: grab;
}
.kanban-card:hover { box-shadow: 0 3px 10px rgba(16,30,54,.12); }
.kanban-card:active { cursor: grabbing; }
.kanban-card.dragging { opacity: .5; }

/* --------------------------------------------------------------------------
   14. Toolbar
   -------------------------------------------------------------------------- */
.toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.search-input { max-width: 260px; }

.toolbar .select {
  width: auto;
  max-width: 180px;
}

/* --------------------------------------------------------------------------
   15. Misc
   -------------------------------------------------------------------------- */
.empty-state {
  text-align: center;
  padding: 48px 20px;
}
.empty-icon {
  display: flex;
  justify-content: center;
  color: var(--text-3);
  margin-bottom: 12px;
}
.empty-icon svg { width: 40px; height: 40px; }
.empty-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}
.empty-hint {
  font-size: 13.5px;
  color: var(--text-3);
  max-width: 420px;
  margin: 0 auto;
}

.muted { color: var(--text-3); }

.section-title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-3);
  margin: 22px 0 10px;
}

.info-list { margin: 0; }
.info-list dt {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
}
.info-list dd {
  font-size: 14px;
  color: var(--ink);
  margin: 2px 0 0;
  overflow-wrap: break-word;
}
.info-list dd + dt { margin-top: 10px; }

.detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  align-items: start;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  user-select: none;
}

.spinner {
  width: 24px;
  height: 24px;
  border: 2.5px solid var(--line);
  border-top-color: var(--blue-500);
  border-radius: 50%;
  margin: 40px auto;
  animation: br-spin .8s linear infinite;
}

.link {
  color: var(--blue-600);
  text-decoration: none;
  cursor: pointer;
}
.link:hover { text-decoration: underline; }

.noscript-notice {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 40px;
  text-align: center;
  font-size: 15px;
  color: var(--ink);
}
.noscript-notice span { color: var(--text-2); font-size: 14px; }

/* --------------------------------------------------------------------------
   16. Animations
   -------------------------------------------------------------------------- */
@keyframes br-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes br-modal-up {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
@keyframes br-toast-in {
  from { opacity: 0; transform: translate(12px, 10px); }
  to   { opacity: 1; transform: none; }
}
@keyframes br-spin {
  to { transform: rotate(360deg); }
}

/* --------------------------------------------------------------------------
   17. Print — invoice printing depends on this
   -------------------------------------------------------------------------- */
@media print {
  @page { margin: 12mm 14mm; }

  body { background: #fff; }
  .app { display: block; }

  .sidebar, .toolbar, .no-print { display: none !important; }
  .toast-host { display: none !important; }
  .main { margin: 0; }
  .content { max-width: none; padding: 0; }
  .card { box-shadow: none; border: none; }

  /* Modals never print — unless one hosts the print area itself */
  .modal-overlay:not(:has(.print-area)) { display: none !important; }
  body:has(.print-area) .modal-overlay {
    position: static;
    padding: 0;
    background: none;
    display: block;
  }
  body:has(.print-area) .modal {
    max-height: none;
    max-width: none;
    width: auto;
    overflow: visible;
    box-shadow: none;
    border-radius: 0;
  }

  /* When a .print-area exists, ONLY its content prints */
  body:has(.print-area) * { visibility: hidden; }
  body:has(.print-area) .print-area,
  body:has(.print-area) .print-area * { visibility: visible; }
  body:has(.print-area) .print-area {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
  }
}

/* --------------------------------------------------------------------------
   18. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1000px) {
  .detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  /* Slim 56px icon rail — labels hidden, icons centered */
  .app { grid-template-columns: 56px 1fr; }

  .sidebar { padding: 10px 6px 14px; }

  .sidebar-logo { padding: 8px 4px 10px; }
  .sidebar-logo img { display: none; }

  .nav-section-label {
    /* section labels become hairline dividers on the rail */
    font-size: 0;
    height: 0;
    padding: 0;
    margin: 10px 8px;
    border-top: 1px solid rgba(255,255,255,.14);
  }

  .nav-item {
    justify-content: center;
    gap: 0;
    padding: 11px 0;
    font-size: 0; /* hides the label text, icon keeps its own size */
    border-left-width: 0;
  }
  .nav-item svg { width: 20px; height: 20px; }
  .nav-item.active { background: rgba(42,120,214,.3); }

  .content { padding: 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .page-title { font-size: 19px; }
  .toast-host { bottom: 14px; right: 14px; }
}
