/* Jules Cleaning — Shared Design System
   Mobile-first · System fonts · Touch-optimized */

:root {
  --brand:       #2D7DD2;
  --brand-dark:  #1a5fa0;
  --brand-light: #E0EDFF;
  --accent:      #3BB273;
  --accent-light:#E0F4EB;
  --danger:      #E84855;
  --danger-light:#FEECEE;
  --warning:     #F4A261;
  --warning-light:#FFF3E0;
  --surface:     #F8F9FA;
  --surface-2:   #ECEEF0;
  --border:      #D9DDE2;
  --text:        #1A1A1A;
  --text-muted:  #6B7280;
  --white:       #FFFFFF;
  --nav-height:  64px;
  --radius:      12px;
  --radius-sm:   8px;
  --shadow:      0 1px 3px rgba(0,0,0,.10), 0 1px 2px rgba(0,0,0,.06);
  --shadow-lg:   0 4px 16px rgba(0,0,0,.14);
}

/* ── Reset ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--surface);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; }

/* ── Page shell ─────────────────────────────────────────────────────────────── */
.page {
  padding-bottom: calc(var(--nav-height) + 20px);
  min-height: 100vh;
}
.page-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 14px 16px;
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 10px;
}
.page-header h1 {
  font-size: 1.15rem;
  font-weight: 700;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.page-content { padding: 16px; }

/* ── Cards ──────────────────────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
}
.card + .card { /* already has margin */ }
.card-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.card-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  min-height: 44px;
}
.card-row:last-child { border-bottom: none; }
.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.card-link .card { transition: box-shadow 0.15s; }
.card-link:active .card { box-shadow: var(--shadow-lg); }

/* ── Buttons ─────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 20px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
  transition: opacity 0.15s, transform 0.1s;
  text-decoration: none;
  font-family: inherit;
  line-height: 1.2;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn:disabled,
.btn[disabled] { opacity: 0.45; cursor: not-allowed; pointer-events: none; }
.btn-primary  { background: var(--brand);   color: var(--white); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-success  { background: var(--accent);  color: var(--white); }
.btn-danger   { background: var(--danger);  color: var(--white); }
.btn-secondary{ background: var(--surface-2); color: var(--text); border: 1px solid var(--border); }
.btn-ghost    { background: transparent; color: var(--brand); }
.btn-outline  { background: transparent; color: var(--brand); border: 1.5px solid var(--brand); }
.btn-full     { width: 100%; }
.btn-sm       { padding: 8px 14px; font-size: 0.875rem; min-height: 36px; }
.btn-icon     { padding: 10px; width: 44px; height: 44px; }

/* ── Forms ──────────────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 16px; }
.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 1rem;
  font-family: inherit;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text);
  min-height: 44px;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(45,125,210,.15);
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-muted); opacity: 1; }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%236B7280' d='M4.646 6.146a.5.5 0 01.708 0L8 8.793l2.646-2.647a.5.5 0 01.708.708l-3 3a.5.5 0 01-.708 0l-3-3a.5.5 0 010-.708z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}
.form-textarea { min-height: 100px; resize: vertical; line-height: 1.5; }
.form-hint { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }
.form-row { display: flex; gap: 10px; }
.form-row .form-group { flex: 1; }

/* ── Checkboxes (native, big target) ─────────────────────────────────────────── */
.checkbox-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  cursor: pointer;
  min-height: 44px;
}
.checkbox-row input[type="checkbox"] {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  accent-color: var(--brand);
  cursor: pointer;
}

/* ── Badges ──────────────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  line-height: 1.4;
}
.badge-info    { background: var(--brand-light);   color: var(--brand-dark); }
.badge-warning { background: var(--warning-light); color: #a05700; }
.badge-success { background: var(--accent-light);  color: #1a6640; }
.badge-danger  { background: var(--danger-light);  color: #9b1f28; }
.badge-muted   { background: var(--surface-2);     color: var(--text-muted); }

/* ── Bottom navigation ───────────────────────────────────────────────────────── */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--white);
  border-top: 1.5px solid var(--border);
  display: flex;
  z-index: 200;
  box-shadow: 0 -2px 10px rgba(0,0,0,.07);
}
.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 6px 2px;
  min-height: 44px;
  transition: color 0.12s;
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  letter-spacing: 0.01em;
  -webkit-tap-highlight-color: transparent;
}
.nav-item:hover, .nav-item.active { color: var(--brand); text-decoration: none; }
.nav-icon  { font-size: 1.35rem; line-height: 1; }
.nav-label { line-height: 1; }

/* ── More menu (pop-up) ──────────────────────────────────────────────────────── */
.more-menu {
  position: fixed;
  bottom: calc(var(--nav-height) + 8px);
  right: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 6px 0;
  min-width: 190px;
  z-index: 300;
  display: none;
}
.more-menu.open { display: block; }
.more-menu a, .more-menu button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  width: 100%;
  border: none;
  background: none;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
}
.more-menu a:hover, .more-menu button:hover { background: var(--surface); }
.more-menu .menu-icon { font-size: 1.1rem; flex-shrink: 0; }
.more-menu hr { border: none; border-top: 1px solid var(--border); margin: 4px 0; }

/* ── Modals (bottom sheet) ───────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.48);
  z-index: 400;
  display: none;
  align-items: flex-end;
  justify-content: center;
}
.modal-overlay.open { display: flex; }
.modal-sheet {
  background: var(--white);
  border-radius: var(--radius) var(--radius) 0 0;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  padding: 8px 16px 40px;
  -webkit-overflow-scrolling: touch;
}
.modal-handle {
  width: 36px;
  height: 4px;
  background: var(--border);
  border-radius: 99px;
  margin: 8px auto 14px;
}
.modal-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 18px;
}
.modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}
.modal-actions .btn { flex: 1; }

/* ── Stats row ───────────────────────────────────────────────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 8px;
  text-align: center;
}
.stat-value {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--brand);
  line-height: 1.1;
}
.stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── Section headers ─────────────────────────────────────────────────────────── */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  margin-top: 20px;
}
.section-header:first-child { margin-top: 0; }
.section-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

/* ── Loading & empty states ──────────────────────────────────────────────────── */
.loading {
  padding: 40px 16px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.empty {
  padding: 48px 20px;
  text-align: center;
  color: var(--text-muted);
}
.empty-icon  { font-size: 2.8rem; margin-bottom: 12px; }
.empty-text  { font-size: 0.95rem; line-height: 1.5; }

/* ── Stars ───────────────────────────────────────────────────────────────────── */
.stars { display: flex; gap: 4px; }
.star {
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  transition: transform 0.1s;
}
.star:active { transform: scale(1.3); }
.star.lit   { color: #f59e0b; }
.star.unlit { color: var(--border); }

/* ── Photo grid ──────────────────────────────────────────────────────────────── */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.photo-thumb {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: pointer;
  width: 100%;
  background: var(--surface-2);
}
.photo-placeholder {
  aspect-ratio: 1;
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.6rem;
  border: 1.5px dashed var(--border);
}

/* ── Toast notifications ─────────────────────────────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: calc(var(--nav-height) + 16px);
  left: 16px;
  right: 16px;
  z-index: 600;
  pointer-events: none;
}
.toast {
  background: #1a1a1a;
  color: white;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  margin-top: 8px;
  font-size: 0.9rem;
  animation: toastIn 0.2s ease;
  pointer-events: auto;
  box-shadow: var(--shadow-lg);
}
.toast-success { background: var(--accent); }
.toast-error   { background: var(--danger); }
@keyframes toastIn {
  from { transform: translateY(12px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

/* ── Error banner ────────────────────────────────────────────────────────────── */
.error-banner {
  background: var(--danger-light);
  border: 1px solid #f5adb2;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: #9b1f28;
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.success-banner {
  background: var(--accent-light);
  border: 1px solid #a0d9bc;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: #1a6640;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

/* ── Checklist ───────────────────────────────────────────────────────────────── */
.checklist-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
}
.checklist-item:last-child { border-bottom: none; }
.checklist-item.checked .checklist-label {
  text-decoration: line-through;
  color: var(--text-muted);
}
.checklist-check {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: all 0.15s;
  color: transparent;
}
.checklist-item.checked .checklist-check {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}
.checklist-room {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  padding: 14px 0 6px;
}

/* ── Progress bar ────────────────────────────────────────────────────────────── */
.progress-bar {
  height: 8px;
  background: var(--surface-2);
  border-radius: 99px;
  overflow: hidden;
  margin: 8px 0;
}
.progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 99px;
  transition: width 0.3s;
  min-width: 0;
}

/* ── FAB ─────────────────────────────────────────────────────────────────────── */
.fab {
  position: fixed;
  bottom: calc(var(--nav-height) + 16px);
  right: 16px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand);
  color: white;
  border: none;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(45,125,210,.45);
  cursor: pointer;
  z-index: 150;
  transition: transform 0.12s, box-shadow 0.12s;
  -webkit-tap-highlight-color: transparent;
}
.fab:active { transform: scale(0.92); box-shadow: 0 2px 8px rgba(45,125,210,.3); }

/* ── Toggle switch ───────────────────────────────────────────────────────────── */
.toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  min-height: 44px;
}
.toggle-wrap:last-child { border-bottom: none; }
.toggle-text .toggle-label { font-size: 1rem; font-weight: 500; }
.toggle-text .toggle-sub   { font-size: 0.82rem; color: var(--text-muted); }
.toggle {
  position: relative;
  width: 50px;
  height: 28px;
  flex-shrink: 0;
}
.toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--border);
  border-radius: 99px;
  cursor: pointer;
  transition: background 0.2s;
}
.toggle-slider::before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 22px; height: 22px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0,0,0,.25);
  transition: transform 0.2s;
}
.toggle input:checked + .toggle-slider { background: var(--accent); }
.toggle input:checked + .toggle-slider::before { transform: translateX(22px); }

/* ── Divider ─────────────────────────────────────────────────────────────────── */
.divider { border: none; border-top: 1px solid var(--border); margin: 16px 0; }

/* ── Utility classes ─────────────────────────────────────────────────────────── */
.flex              { display: flex; }
.flex-col          { flex-direction: column; }
.items-center      { align-items: center; }
.justify-between   { justify-content: space-between; }
.justify-end       { justify-content: flex-end; }
.gap-4             { gap: 4px; }
.gap-8             { gap: 8px; }
.gap-10            { gap: 10px; }
.gap-12            { gap: 12px; }
.flex-1            { flex: 1; }
.flex-shrink-0     { flex-shrink: 0; }
.mt-4              { margin-top: 4px; }
.mt-8              { margin-top: 8px; }
.mt-12             { margin-top: 12px; }
.mt-16             { margin-top: 16px; }
.mb-4              { margin-bottom: 4px; }
.mb-8              { margin-bottom: 8px; }
.mb-12             { margin-bottom: 12px; }
.mb-16             { margin-bottom: 16px; }
.text-muted        { color: var(--text-muted); }
.text-sm           { font-size: 0.875rem; }
.text-xs           { font-size: 0.78rem; }
.text-center       { text-align: center; }
.text-right        { text-align: right; }
.font-bold         { font-weight: 700; }
.font-medium       { font-weight: 500; }
.w-full            { width: 100%; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hidden { display: none !important; }

/* ── Search bar ──────────────────────────────────────────────────────────────── */
.search-bar {
  position: relative;
  margin-bottom: 12px;
}
.search-bar input {
  width: 100%;
  padding: 11px 14px 11px 38px;
  font-size: 1rem;
  font-family: inherit;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  min-height: 44px;
}
.search-bar input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(45,125,210,.12);
}
.search-icon {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1rem;
  pointer-events: none;
}

/* ── Filter pill tabs ────────────────────────────────────────────────────────── */
.filter-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 14px;
  scrollbar-width: none;
}
.filter-tabs::-webkit-scrollbar { display: none; }
.filter-tab {
  flex-shrink: 0;
  padding: 7px 14px;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-muted);
  cursor: pointer;
  min-height: 36px;
  white-space: nowrap;
  font-family: inherit;
  transition: all 0.12s;
}
.filter-tab.active {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
}

/* ── Table (materials / profit) ──────────────────────────────────────────────── */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.data-table th {
  text-align: left;
  padding: 10px 8px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  border-bottom: 1.5px solid var(--border);
  white-space: nowrap;
}
.data-table td {
  padding: 12px 8px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--surface); }
.table-wrap { overflow-x: auto; }

/* ── Back link / breadcrumb ──────────────────────────────────────────────────── */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--brand);
  font-size: 1rem;
  font-weight: 600;
  padding: 6px 0;
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  min-height: 44px;
}

/* ── Lightbox overlay ────────────────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 700;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 95vw; max-height: 90vh; object-fit: contain; border-radius: 4px; }
.lightbox-close {
  position: absolute;
  top: 16px; right: 16px;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  padding: 8px;
}

/* ── Responsive max-width ────────────────────────────────────────────────────── */
@media (min-width: 640px) {
  .page-content,
  .page-header { max-width: 600px; margin-left: auto; margin-right: auto; }
  .bottom-nav  { max-width: 600px; left: 50%; transform: translateX(-50%); right: auto; }
  .fab         { right: calc(50% - 300px + 16px); }
  .more-menu   { right: calc(50% - 300px + 8px); }
  .toast-container { max-width: 568px; left: 50%; transform: translateX(-50%); right: auto; width: 100%; }
  .modal-sheet { max-width: 600px; border-radius: var(--radius); }
  .modal-overlay { align-items: center; }
}

/* ── Public landing page ─────────────────────────────────────────────────────── */
.landing {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 16px 48px;
  min-height: 100vh;
}
.landing-hero {
  text-align: center;
  padding: 48px 0 32px;
}
.landing-logo {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: var(--brand);
  color: white;
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.landing-title  { font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; }
.landing-tagline{ font-size: 1.1rem; color: var(--text-muted); margin-top: 8px; }
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 99px;
  background: var(--accent-light);
  color: #1a6640;
  font-weight: 700;
  font-size: 0.85rem;
  margin: 4px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
}
.testimonial-stars { color: #f59e0b; font-size: 1rem; margin-bottom: 8px; }
.testimonial-text  { font-size: 0.95rem; line-height: 1.6; font-style: italic; color: var(--text); }

/* ── Login page ──────────────────────────────────────────────────────────────── */
.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: var(--surface);
}
.login-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  width: 100%;
  max-width: 360px;
  box-shadow: var(--shadow-lg);
}
.login-logo {
  width: 60px; height: 60px;
  border-radius: 14px;
  background: var(--brand);
  color: white;
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.login-title {
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 4px;
}
.login-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 24px;
}
