:root {
  --ink: #1d1d1f;
  --ink-soft: #6e6e73;
  --line: #e5e5ea;
  --bg: #F3F2EF;
  --panel: #ffffff;
  --accent: #12099f;
  --accent-hover: #0d0778;
  --accent-soft: #ecebfb;
  --good: #1d7a4c;
  --warn: #b3541e;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.05);
  font-size: 16px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.topbar h1 {
  font-size: 1.15rem;
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.topbar h1 .h1-sub {
  font-weight: 400;
  font-size: 0.72em;
  color: var(--ink-soft);
  letter-spacing: 0;
}

.topbar .who {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 24px;
}

.card {
  background: var(--panel);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  margin-bottom: 24px;
}

.card h2 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
}

label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin: 14px 0 5px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="number"],
textarea,
select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(18, 9, 159, 0.12);
}

textarea { min-height: 70px; resize: vertical; }

button {
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid transparent;
  padding: 10px 18px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.05s ease;
}

button:active { transform: scale(0.98); }

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.btn-secondary:hover { background: var(--bg); }
.btn-link { background: none; border: none; color: var(--accent); padding: 4px 0; text-decoration: underline; font-weight: 500; }
button:disabled { opacity: 0.5; cursor: not-allowed; }

.row { display: flex; gap: 12px; }
.row > * { flex: 1; }

.roll-row { display: flex; gap: 8px; align-items: end; margin-bottom: 8px; }
.roll-row .remove { flex: 0 0 auto; }

.entry-toggle { display: flex; gap: 8px; margin-bottom: 20px; background: var(--bg); padding: 4px; border-radius: 12px; }
.entry-toggle button { flex: 1; background: transparent; border: 1px solid transparent; color: var(--ink-soft); border-radius: 9px; }
.entry-toggle button.active { background: #fff; border-color: rgba(0, 0, 0, 0.04); color: var(--accent); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); }

.photo-prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 20px;
  border: 1.5px dashed var(--line);
  border-radius: 12px;
  color: var(--ink-soft);
}
.photo-prompt svg { margin-bottom: 10px; }
.photo-prompt-title { color: var(--ink); font-weight: 600; font-size: 0.95rem; margin: 0 0 18px; }
.photo-prompt-btn {
  display: inline-block;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid transparent;
  padding: 10px 22px;
  cursor: pointer;
  background: var(--accent);
  color: #fff;
  transition: background 0.15s ease, transform 0.05s ease;
}
.photo-prompt-btn:hover { background: var(--accent-hover); }
.photo-prompt-btn:active { transform: scale(0.98); }

.photo-thumbnail {
  display: block;
  width: 100%;
  max-height: 240px;
  object-fit: contain;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 12px;
}

#retake-photo-btn { margin-top: 8px; margin-bottom: 16px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.franchise-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
}

.action-btns { display: flex; gap: 2px; align-items: center; }
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  padding: 0;
  transition: background 0.15s ease, color 0.15s ease;
}
.icon-btn:hover { background: var(--bg); color: var(--ink); }
.icon-btn:active { transform: scale(0.94); }

.error { color: #b3261e; font-size: 0.85rem; margin-top: 8px; }
.success { color: var(--good); font-size: 0.85rem; margin-top: 8px; }
.hint { color: var(--ink-soft); font-size: 0.8rem; margin-top: 4px; }

table { width: 100%; border-collapse: collapse; margin-top: 8px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 0.88rem; vertical-align: top; }
th { color: var(--ink-soft); font-weight: 600; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.03em; white-space: nowrap; }
tr:last-child td { border-bottom: none; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.nowrap { white-space: nowrap; }

.search-bar { margin-bottom: 16px; }

.empty-state { text-align: center; padding: 48px 20px; color: var(--ink-soft); }

.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--bg);
}

.login-card {
  width: 100%;
  max-width: 380px;
  background: var(--panel);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 40px 36px;
}

.login-card h1 { font-size: 1.5rem; margin: 0 0 4px; font-weight: 700; letter-spacing: -0.02em; }
.login-card p.sub { color: var(--ink-soft); font-size: 0.9rem; margin: 0 0 24px; }

.spinner-text { color: var(--ink-soft); font-size: 0.85rem; }

/* ---------- Responsive: tablet ---------- */
@media (max-width: 900px) {
  .container { max-width: 100%; padding: 24px 20px; }
  .card { padding: 22px; }
}

/* ---------- Responsive: mobile ---------- */
@media (max-width: 640px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 14px 18px;
  }
  .topbar h1 { font-size: 1.05rem; }
  .topbar .who { font-size: 0.8rem; }

  .container { padding: 18px 14px; }
  .card { padding: 18px; border-radius: 12px; margin-bottom: 18px; }
  .card h2 { font-size: 1.2rem; margin-bottom: 16px; }

  .row { flex-direction: column; gap: 0; }

  /* Prevent iOS Safari auto-zoom on focus (triggers below 16px) */
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="number"],
  textarea,
  select {
    font-size: 16px;
  }

  .entry-toggle { flex-direction: row; font-size: 0.85rem; }
  .entry-toggle button { padding: 10px 8px; font-size: 0.85rem; line-height: 1.25; }

  .photo-prompt { padding: 24px 16px; }

  .roll-row { flex-wrap: wrap; }
  .roll-row > div { flex: 1 1 40%; min-width: 110px; }

  .login-card { padding: 28px 24px; max-width: 100%; }
  .login-card h1 { font-size: 1.3rem; }

  table { font-size: 0.82rem; }
  th, td { padding: 8px 10px; }
}

/* ==========================================================================
   Nav shell — added for v1.3.0 (Session Build Reference, Section 1)
   Desktop/tablet: left rail. Mobile: bottom tab bar.
   ========================================================================== */

:root {
  --nav-inactive: #8A8A8A;
  --nav-active: #1A1A1A;
}

/* Page background beyond the content surface (open space, not white/nav white) */
.app-shell { min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); }

.app-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 16px 28px;
  flex: 0 0 auto;
}
.app-header .app-title {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.app-header .app-subtitle {
  display: block;
  font-size: 0.78rem;
  color: var(--nav-inactive);
  margin-top: 2px;
}

.app-body { flex: 1; display: flex; min-height: 0; }

/* ---- Desktop/tablet rail ---- */
.app-nav {
  background: #fff;
  border-right: 1px solid var(--line);
  width: 220px;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 12px;
}

.nav-items { display: flex; flex-direction: column; gap: 4px; }

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--nav-inactive);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
}
.nav-item svg { flex: 0 0 auto; }
.nav-item.active { color: var(--nav-active); font-weight: 700; }
.nav-item.disabled { pointer-events: none; opacity: 0.55; }

.nav-account { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; }
.nav-account-email {
  font-size: 0.78rem;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 12px;
  margin-bottom: 6px;
}
.nav-logout {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  padding: 0 12px;
  color: var(--accent);
  font-size: 0.82rem;
  cursor: pointer;
  font-family: inherit;
}
.nav-logout .logout-icon { display: none; }
.nav-logout .logout-text { text-decoration: underline; font-weight: 500; }

/* Content area: open page background, single surface per card (unchanged card styling for now) */
.app-content { flex: 1; min-width: 0; padding: 32px 28px; }
.app-content-inner { max-width: 900px; margin: 0 auto; }

/* ---- Mobile bottom bar (hidden by default; shown under 640px) ---- */
.app-bottombar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 6px max(8px, env(safe-area-inset-left)) calc(6px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-right));
  z-index: 20;
  justify-content: space-around;
}
.bottom-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--nav-inactive);
  text-decoration: none;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.66rem;
  font-weight: 500;
  padding: 4px 6px;
  cursor: pointer;
  flex: 1;
}
.bottom-item.active { color: var(--nav-active); font-weight: 700; }

/* ---- "More" panel (mobile overflow, and franchise account panel) ---- */
.more-panel { display: none; position: fixed; inset: 0; z-index: 30; }
.more-panel.open { display: block; }
.more-panel-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.32); }
.more-panel-sheet {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  border-radius: 16px 16px 0 0;
  padding: 12px 20px calc(20px + env(safe-area-inset-bottom));
  box-shadow: var(--shadow);
}
.more-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 4px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}
.more-divider { height: 1px; background: var(--line); margin: 8px 0; }
.more-account-email { font-size: 0.8rem; color: var(--ink-soft); padding: 4px; word-break: break-all; }
.more-logout {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 12px 4px 4px;
  color: var(--accent);
  font-size: 0.88rem;
  text-decoration: underline;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
}

/* ---- Coming soon placeholder ---- */
.coming-soon { text-align: center; padding: 64px 20px; color: var(--ink-soft); }
.coming-soon svg { color: var(--line); margin-bottom: 12px; }
.coming-soon h2 { color: var(--ink); margin: 0 0 6px; }

/* ---------- Breakpoints ---------- */

/* Tablet: rail collapses to icon-only (Apple iPadOS pattern) */
@media (max-width: 900px) {
  .app-nav { width: 76px; padding: 20px 10px; }
  .nav-label { display: none; }
  .nav-item { justify-content: center; padding: 11px; }
  .nav-account-email { display: none; }
  .nav-account { display: flex; justify-content: center; }
  .nav-logout { width: 36px; height: 36px; justify-content: center; padding: 0; border-radius: 8px; }
  .nav-logout:hover { background: var(--bg); }
  .nav-logout .logout-icon { display: inline-flex; }
  .nav-logout .logout-text { display: none; }
}

/* Mobile: rail replaced by bottom bar */
@media (max-width: 640px) {
  .app-header { padding: 14px 18px; }
  .app-nav { display: none; }
  .app-bottombar { display: flex; }
  .app-content { padding: 18px 14px calc(84px + env(safe-area-inset-bottom)); }

  .delivery-row-status { gap: 4px; }
  .delivery-row-status .icon-btn { width: 28px; height: 28px; }
}

/* ==========================================================================
   Duplicate job number modal — v1.4.0
   ========================================================================== */

.dup-modal-overlay { display: none; position: fixed; inset: 0; z-index: 40; align-items: center; justify-content: center; padding: 20px; }
.dup-modal-overlay.open { display: flex; }
.dup-modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.45); }
.dup-modal {
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 24px;
  max-width: 420px;
  width: 100%;
}
.dup-modal-header { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.dup-modal-header svg { color: var(--warn); flex: 0 0 auto; margin-top: 2px; }
.dup-modal-header h3 { margin: 0; font-size: 1.05rem; font-weight: 700; color: var(--ink); }
.dup-modal-body { color: var(--ink-soft); font-size: 0.9rem; margin: 0 0 18px; }
.dup-action {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}
.dup-action:last-child { margin-bottom: 0; }
.dup-action:hover { background: var(--bg); }
.dup-action svg { flex: 0 0 auto; color: var(--ink-soft); }
.dup-action-danger { border-color: #f3c7c5; color: #b3261e; }
.dup-action-danger svg { color: #b3261e; }
.dup-action-danger:hover { background: #fdf1f0; }

/* ==========================================================================
   Search by date — v1.4.0
   ========================================================================== */

.date-range-row { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.date-range-row input[type="date"] { flex: 1; }
.date-range-sep { color: var(--ink-soft); font-size: 0.85rem; flex: 0 0 auto; }

@media (max-width: 640px) {
  .date-range-row { flex-wrap: wrap; }
  .date-range-row input[type="date"] { flex: 1 1 100%; }
}

/* ==========================================================================
   Dashboard tiles — v1.6.0
   ========================================================================== */

.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dash-tile { background: var(--bg); border-radius: 12px; padding: 18px; }
.dash-tile-label { margin: 0 0 6px; font-size: 0.85rem; color: var(--ink-soft); }
.dash-tile-value { margin: 0; font-size: 1.8rem; font-weight: 700; color: var(--ink); }
.dash-tile-value.dash-tile-pending { color: var(--line); }
.dash-tile-note { margin: 6px 0 0; font-size: 0.72rem; color: var(--ink-soft); }

@media (max-width: 640px) {
  .dash-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .dash-tile { padding: 14px; }
  .dash-tile-value { font-size: 1.5rem; }
}

/* ==========================================================================
   Settings entry point (nav rail + More panel) — v1.7.0
   ========================================================================== */

.nav-bottom-group { display: flex; flex-direction: column; }

.nav-settings-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  margin-bottom: 6px;
  border-radius: 8px;
  color: var(--nav-inactive);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
}
.nav-settings-item:hover { background: var(--bg); }
.nav-settings-item.active { color: var(--nav-active); font-weight: 700; }

@media (max-width: 900px) {
  .nav-settings-item { justify-content: center; padding: 11px; margin-bottom: 8px; }
}

/* ==========================================================================
   Franchise contacts — v1.7.0
   ========================================================================== */

.franchise-contact-row { border-bottom: 1px solid var(--line); }
.franchise-contact-row:last-child { border-bottom: none; }

.franchise-contact-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px;
  cursor: pointer;
}
.franchise-contact-name { margin: 0; font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.franchise-contact-email { margin: 2px 0 0; font-size: 0.85rem; color: var(--ink-soft); }
.franchise-contact-email.unset { color: var(--ink-soft); font-style: italic; }

.franchise-contact-edit { display: none; padding: 0 4px 16px; }
.franchise-contact-edit.open { display: block; }

/* ==========================================================================
   Deliveries row redesign + install dates/status — v2.0.0
   ========================================================================== */

.delivery-row { border-bottom: 1px solid var(--line); }
.delivery-row:last-child { border-bottom: none; }

.delivery-row-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 4px;
  cursor: pointer;
}
.delivery-row-main { flex: 1; min-width: 0; }
.delivery-row-title { margin: 0; font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.delivery-row-title .job-link { color: var(--accent); }
.delivery-row-sub { margin: 2px 0 0; font-size: 0.85rem; color: var(--ink-soft); }
.delivery-row-notes { margin: 2px 0 0; font-size: 0.8rem; color: var(--ink-soft); }

.delivery-row-status { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.status-dot.amber { background: #EF9F27; }
.status-dot.blue { background: #378ADD; }
.status-dot.red { background: #E24B4A; }
.status-check { color: var(--good); flex: 0 0 auto; }

.delivery-row-chevron { color: var(--ink-soft); transition: transform 0.15s ease; flex: 0 0 auto; }
.delivery-row-header.open .delivery-row-chevron { transform: rotate(180deg); }

.delivery-row-expand { display: none; padding: 0 4px 18px; }
.delivery-row-expand.open { display: block; }

.stage-readonly-label { margin: 0 0 2px; font-size: 0.8rem; color: var(--ink-soft); }
.stage-readonly-value { margin: 0 0 12px; font-weight: 600; color: var(--ink); }
.print-only-header { display: none; }

.install-list-franchise-header {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 20px 0 4px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.install-list-franchise-header:first-child { margin-top: 0; padding-top: 0; border-top: none; }

.install-list-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px; }
.install-list-detail-grid .stage-readonly-value { margin-bottom: 0; }

@media (max-width: 640px) {
  .install-list-detail-grid { grid-template-columns: 1fr; gap: 0; }
  .install-list-detail-grid .stage-readonly-value { margin-bottom: 12px; }
}

.install-list-date-col { text-align: right; flex: 0 0 auto; }
.install-list-date-primary { margin: 0; font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.install-list-date-primary.overdue { color: #b3261e; }
.stage-readonly-value.overdue { color: #b3261e; }

/* ---- Install list print output ---- */
@page { margin: 2cm; }

@media print {
  .app-nav, .app-bottombar, .more-panel, .app-header,
  #expand-all-btn, #print-btn, .delivery-row-chevron,
  #install-list-intro-hint, .status-dot, .status-check,
  #app-version {
    display: none !important;
  }
  .print-only-header { display: block !important; }

  .app-shell { min-height: 0 !important; display: block !important; }
  .app-body { display: block !important; flex: none !important; }

  .app-shell, .app-body, .app-content, .app-content-inner, .card {
    background: #fff !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
  }

  body { -webkit-print-color-adjust: exact; print-color-adjust: exact; color: #000 !important; }

  .card h2 { font-size: 16px; margin: 0 0 4px; color: #000; }

  .install-list-franchise-header {
    font-size: 14px;
    color: #000;
    margin: 18px 0 6px;
    padding-top: 10px;
    border-top: 2px solid #000;
  }
  .install-list-franchise-header:first-child { margin-top: 0; padding-top: 0; border-top: none; }

  .delivery-row { border-bottom: 1px solid #ccc; page-break-inside: avoid; }
  .delivery-row-header { padding: 6px 0 2px; cursor: default !important; }
  .delivery-row-title { font-size: 13px; font-weight: 700; color: #000; }
  .delivery-row-expand { display: block !important; padding: 0 0 10px; }

  .stage-readonly-label { font-size: 10px; color: #555; margin: 0 0 1px; }
  .stage-readonly-value { font-size: 12px; color: #000; margin: 0 0 6px; }
  .stage-readonly-value.overdue { color: #b3261e; font-weight: 700; }

  /* Same 2-column grid as on screen — a printed page has plenty of width
     for it, and it means less paper per job than a fully stacked layout. */
  .install-list-detail-grid { display: grid !important; grid-template-columns: 1fr 1fr; gap: 2px 20px; }
  .install-list-detail-grid .stage-readonly-value { margin-bottom: 0; }
}
.install-list-date-secondary { margin: 2px 0 0; font-size: 0.75rem; color: var(--ink-soft); }

/* ==========================================================================
   Installer management — v2.0.0
   ========================================================================== */

.installer-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.installer-row:last-child { border-bottom: none; }
.installer-name { font-size: 0.95rem; color: var(--ink); }
.installer-name.inactive { color: var(--ink-soft); }
.installer-toggle { width: 20px; height: 20px; accent-color: var(--accent); cursor: pointer; }
.installer-toggle-label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.installer-toggle-text { font-size: 0.78rem; color: var(--ink-soft); }

/* Quiet Jute brand mark, persistent nav (desktop sidebar and mobile More panel) */
.nav-jute-credit { padding: 12px 12px 0; margin-top: 10px; border-top: 1px solid var(--line); }
.nav-jute-credit img { height: 18px; opacity: 1; display: block; }
.more-jute-credit { padding: 14px 4px 0; margin-top: 10px; border-top: 1px solid var(--line); }
.more-jute-credit img { height: 18px; opacity: 1; display: block; }
