:root {
  --bg: #f3f5f7;
  --bg-soft: #edf0f4;
  --card: #ffffff;
  --text: #252d38;
  --muted: #748092;
  --muted-2: #526173;
  --line: #dce2e8;
  --line-soft: #e8edf2;
  --brand: #315bda;
  --brand-dark: #2548b8;
  --brand-soft: #e8eeff;
  --brand-ring: rgba(49, 91, 218, 0.22);
  --navy: #315bda;
  --ok: #16a34a;
  --warn: #d97706;
  --danger: #dc2626;
  --sidebar: #ffffff;
  --sidebar-w: 260px;
  --header-h: 64px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-card: 0 4px 12px rgba(25, 63, 72, 0.04);
  --shadow-lift: 0 10px 28px rgba(24, 58, 66, 0.07);
  --font-display: "Onest", "Manrope", sans-serif;
  --font-body: "Manrope", "Onest", sans-serif;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4, .stat, .page-hero-title, .logo, .review-status-title {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.app {
  display: flex;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, #e8eeff 0%, transparent 55%),
    var(--bg);
}

.sidebar {
  width: var(--sidebar-w);
  background: var(--sidebar);
  color: var(--text);
  position: fixed;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
  z-index: 20;
  border-right: 1px solid var(--line);
  box-shadow: 4px 0 24px rgba(24, 58, 66, 0.03);
}
.sidebar-brand {
  padding: 22px 20px 18px;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  gap: 12px;
}
.sidebar-brand .brand-mark {
  flex: 0 0 40px;
  width: 40px;
  height: 44px;
  position: relative;
}
.sidebar-brand .brand-mark span {
  position: absolute;
  width: 26px;
  height: 28px;
  border: 2px solid var(--brand);
  border-radius: 4px;
  left: 0;
  top: 0;
}
.sidebar-brand .brand-mark span + span {
  left: 12px;
  top: 13px;
  opacity: 0.72;
}
.sidebar-brand .logo {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.sidebar-brand .sub {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 2px;
  font-weight: 500;
  font-family: var(--font-body);
  letter-spacing: 0;
}
.sidebar-user {
  padding: 14px 20px;
  font-size: 0.875rem;
  color: var(--muted-2);
  border-bottom: 1px solid var(--line-soft);
  font-weight: 500;
}
.nav {
  padding: 14px 12px;
  flex: 1;
  overflow: auto;
}
.nav .nav-label {
  display: block;
  padding: 4px 12px 12px;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a8595;
  font-weight: 600;
}
.nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  color: var(--muted-2);
  font-size: 0.925rem;
  font-weight: 550;
  border-radius: 11px;
  margin-bottom: 2px;
  transition: background 0.15s, color 0.15s;
}
.nav a:hover {
  background: var(--bg-soft);
  color: var(--text);
}
.nav a.active {
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 650;
}
.sidebar-foot {
  padding: 14px 20px 20px;
  border-top: 1px solid var(--line-soft);
}
.sidebar-foot a {
  color: var(--muted-2);
  font-size: 0.875rem;
  font-weight: 550;
}
.sidebar-foot a:hover { color: var(--brand); }

.main {
  margin-left: var(--sidebar-w);
  flex: 1;
  min-width: 0;
}
.topbar {
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  position: sticky;
  top: 0;
  z-index: 10;
}
.topbar h1 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
}
.content { padding: 26px 28px 48px; }

.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 960px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .sidebar { width: 100%; position: relative; }
  .main { margin-left: 0; }
  .app { flex-direction: column; }
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-card);
}
.card h2, .card h3 {
  margin: 0 0 12px;
  font-size: 1.05rem;
  font-weight: 700;
}
.muted { color: var(--muted); font-size: 0.875rem; }
.stat {
  font-size: 1.75rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.stat.ok { color: var(--ok); }
.stat.warn { color: var(--warn); }
.stat.paid { color: var(--brand); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 11px;
  padding: 11px 18px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.925rem;
  min-height: 44px;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.12s;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 16px rgba(49, 91, 218, 0.22);
}
.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}
.btn-ok { background: var(--ok); color: #fff; }
.btn-warn { background: var(--warn); color: #fff; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-ghost {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: #c5ced8;
  background: var(--bg-soft);
}
.btn-sm { padding: 8px 12px; font-size: 0.85rem; min-height: 36px; }
.btn-block { width: 100%; }

.form-row { margin-bottom: 14px; }
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 550;
  color: var(--muted-2);
  margin-bottom: 8px;
  letter-spacing: 0;
  text-transform: none;
}
.form-control {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  background: #fff;
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-control:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-ring);
}
textarea.form-control { min-height: 90px; resize: vertical; }
.checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.925rem;
}

.alert {
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
  font-size: 0.925rem;
}
.alert-danger { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-ok { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.alert-warn { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.alert-info { background: var(--brand-soft); color: #1e3a8a; border: 1px solid #c7d4ff; }

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 650;
}
.badge-review { background: #fff7ed; color: #c2410c; }
.badge-ok { background: #dcfce7; color: #166534; }
.badge-fix { background: #fee2e2; color: #991b1b; }
.badge-draft { background: #f1f5f9; color: #475569; }
.badge-pending { background: #fef3c7; color: #92400e; }
.badge-info { background: var(--brand-soft); color: var(--brand-dark); }

.bank-account-card { padding: 18px 20px; }
.bank-account-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.bank-account-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.btn-link {
  border: none;
  background: transparent;
  color: var(--brand);
  font-weight: 650;
  font-size: 0.875rem;
  cursor: pointer;
  padding: 0;
}
.btn-link:hover { text-decoration: underline; }
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.table-wrap { overflow: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.925rem;
}
th, td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
th {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 650;
}

/* Inline SVG without explicit size must not fill the layout */
svg {
  max-width: 100%;
}
.nav svg,
.sidebar svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: block;
}
.gate-stub-icon svg {
  width: 40px;
  height: 40px;
  display: block;
  margin: 0 auto;
}

.project-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 200px;
  box-shadow: var(--shadow-card);
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.project-card:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-2px);
  border-color: #cfd8e3;
}
.project-card .rate {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 750;
  color: var(--brand);
  letter-spacing: -0.02em;
}
.project-card .actions { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; }

/* —— Projects list (employee) —— */
.project-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.project-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: box-shadow 0.15s, transform 0.15s, border-color 0.15s;
}
.project-row:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-1px);
  border-color: #cfd8e3;
}
.project-row-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  max-width: 44px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.project-row-icon svg,
svg.project-icon {
  width: 24px;
  height: 24px;
  max-width: 24px;
  max-height: 24px;
  display: block;
  flex: none;
}
.project-row-body { flex: 1; min-width: 0; }
.project-row-kicker {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 4px;
}
.project-row-title {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: var(--font-display);
}
.project-row-desc {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.45;
}
.project-row-more {
  border: none;
  background: transparent;
  color: var(--brand);
  font-weight: 650;
  font-size: 0.875rem;
  cursor: pointer;
  padding: 0;
}
.project-row-more:hover { text-decoration: underline; }
.project-row-rate {
  text-align: right;
  flex: 0 0 auto;
  min-width: 110px;
}
.project-row-rate-value {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 750;
  color: var(--brand);
  letter-spacing: -0.02em;
}
.project-row-rate-label {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 2px;
}
.project-row-chevron {
  flex: 0 0 20px;
  font-size: 1.4rem;
  color: #b0bac6;
  line-height: 1;
}

.project-modal-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 14px;
}
.project-modal-title {
  margin: 4px 0 0;
  font-size: 1.25rem;
  font-weight: 700;
}
.project-modal-desc {
  margin: 0 0 16px;
  color: var(--muted-2);
  line-height: 1.5;
  font-size: 0.95rem;
}
.project-rate-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--brand-soft);
  border-radius: 12px;
  margin-bottom: 18px;
  color: var(--brand-dark);
  font-size: 0.9rem;
}
.project-rate-banner strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
}
.project-modal-section { margin-bottom: 16px; }
.project-modal-section h4 {
  margin: 0 0 10px;
  font-size: 0.95rem;
  font-weight: 700;
}
.project-tasks {
  margin: 0;
  padding-left: 18px;
  color: var(--muted-2);
  font-size: 0.9rem;
  line-height: 1.5;
}
.project-tasks li { margin-bottom: 6px; }
.project-workflow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.project-workflow-step {
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted-2);
}
.project-workflow-arrow { color: #b0bac6; font-size: 0.9rem; }
.project-attention {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 12px;
  padding: 12px 14px;
}
.project-attention ul {
  margin: 0;
  padding-left: 18px;
  color: #92400e;
  font-size: 0.875rem;
  line-height: 1.5;
}
.project-modal-footer { margin-top: 8px; }
.project-modal-status-text {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.9rem;
}
.project-modal-status-text.is-ok { color: var(--ok); font-weight: 650; }
.project-modal-status-text.is-pending { color: var(--warn); font-weight: 650; }
.project-modal-cta { margin: 0; }
.project-mentor-btn { display: inline-flex; }

@media (max-width: 720px) {
  .project-row {
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .project-row-rate {
    text-align: left;
    width: 100%;
    order: 3;
  }
  .project-row-chevron { display: none; }
}

.schedule-day {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.schedule-day .head {
  padding: 12px 14px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line-soft);
  font-weight: 650;
  font-size: 0.9rem;
  font-family: var(--font-display);
}
.slot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.85rem;
}
.slot-row:last-child { border-bottom: none; }
.slot-free { color: var(--ok); }
.slot-blocked { color: #b45309; background: #fffbeb; }
.slot-taken { color: var(--brand-dark); background: var(--brand-soft); }
.slot-weekend, .slot-locked { color: var(--muted); background: #f8fafc; }

.page-crumb { margin: 0 0 6px; font-size: 0.85rem; }
.page-lead { margin: 0 0 18px; line-height: 1.5; }
.card-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
}
.card-title-row.between { justify-content: space-between; }
.card-title-row h2 { margin: 0; }
.mb-2 { margin-bottom: 10px; }

.shift-info-box {
  background: #f1f5f9;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 12px 14px;
  margin: 0 0 16px;
  font-size: 0.925rem;
  color: #334155;
  line-height: 1.45;
}

.date-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}
.date-grid-compact { margin-bottom: 0; }
.date-cell {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  text-align: left;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  min-height: 72px;
  color: inherit;
  font: inherit;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.date-cell.is-static { cursor: default; }
.date-cell:not(:disabled):not(.is-static):hover {
  border-color: #94a3b8;
}
.date-cell.is-selected {
  border-color: #0f172a;
  border-width: 2px;
  box-shadow: 0 0 0 1px #0f172a;
}
.date-cell-date { font-weight: 650; font-size: 0.9rem; }
.date-cell-status { font-size: 0.8rem; color: var(--muted); }
.date-blocked,
.date-locked {
  background: #f8fafc;
  color: #94a3b8;
  cursor: not-allowed;
}
.date-blocked .date-cell-status,
.date-locked .date-cell-status { color: #94a3b8; }
.date-taken {
  background: var(--brand-soft);
  border-color: #c7d4ff;
}
.date-taken .date-cell-status { color: var(--brand-dark); font-weight: 600; }
.date-free .date-cell-status { color: var(--ok); }

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 640px) {
  .form-grid-2 { grid-template-columns: 1fr; }
}

.upcoming-shifts { display: flex; flex-direction: column; gap: 0; }
.upcoming-shift-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}
.upcoming-shift-row:last-child { border-bottom: none; }
.upcoming-shift-title { font-weight: 650; margin-bottom: 4px; }

/* —— Login —— */
.login-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 56px 20px 40px;
  background:
    radial-gradient(ellipse 70% 45% at 50% 0%, #e8eeff 0%, transparent 58%),
    var(--bg);
}
.login-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
}
.login-brand .brand-mark {
  position: relative;
  flex: 0 0 40px;
  width: 40px;
  height: 44px;
}
.login-brand .brand-mark span {
  position: absolute;
  width: 26px;
  height: 28px;
  border: 2px solid var(--brand);
  border-radius: 4px;
  left: 0;
  top: 0;
}
.login-brand .brand-mark span + span {
  left: 12px;
  top: 13px;
  opacity: 0.72;
}
.login-brand small {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  font-family: var(--font-body);
  letter-spacing: 0;
}
.login-card {
  width: 100%;
  max-width: 460px;
  margin-top: 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 36px 36px 32px;
  box-shadow: 0 14px 40px rgba(24, 58, 66, 0.07);
}
.login-card h1 {
  margin: 0 0 8px;
  font-size: 1.85rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.login-card .sub,
.login-card .lead {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0 0 22px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(37, 45, 56, 0.42);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 16px;
  backdrop-filter: blur(2px);
}
.modal-backdrop.open { display: flex; }
.modal {
  width: 100%;
  max-width: 560px;
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  max-height: 90vh;
  overflow: auto;
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(24, 58, 66, 0.14);
}
.modal h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  font-weight: 700;
}
.modal .close {
  float: right;
  border: none;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
  color: var(--muted);
  line-height: 1;
}
.stack { display: flex; flex-direction: column; gap: 12px; }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 16px; }
.mb-0 { margin-bottom: 0; }

.field-hint { font-size: 0.8rem; color: var(--muted); margin-top: 6px; }
.page-hero {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.page-hero-title { margin: 0 0 6px; font-size: 1.55rem; font-weight: 750; }
.page-hero-sub { margin: 0; color: var(--muted); font-size: 0.95rem; }
.tabs {
  display: flex;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.tab {
  padding: 10px 2px 12px;
  color: var(--muted);
  font-weight: 600;
  border-bottom: 2px solid transparent;
}
.tab.active { color: var(--brand); border-bottom-color: var(--brand); }
.filter-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-tab {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.filter-tab:hover { border-color: #c5ced8; color: var(--text); }
.filter-tab.active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.list-card {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.15s, transform 0.15s;
}
.list-card:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-1px);
}
.list-card-title {
  font-weight: 700;
  font-size: 0.975rem;
  font-family: var(--font-display);
}
.toggle-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.925rem;
}
.toggle-row input { margin-top: 3px; }
.auth-tabs {
  display: flex;
  gap: 3px;
  margin: 0 0 22px;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-soft);
  padding: 3px;
}
.auth-tab {
  flex: 1;
  text-align: center;
  padding: 10px 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--muted);
  background: transparent;
  border-radius: 9px;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}
.auth-tab.active {
  background: #fff;
  color: var(--text);
  box-shadow: 0 1px 3px rgba(24, 58, 66, 0.08);
}
.review-status-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-card);
}
.review-status-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
}
.review-status-title { margin: 8px 0 10px; font-size: 1.55rem; font-weight: 750; }
.review-status-text { color: var(--muted); max-width: 520px; }
.review-meta-item {
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 14px;
}
.review-meta-value {
  font-weight: 700;
  font-size: 1.05rem;
  margin-top: 4px;
  font-family: var(--font-display);
}

.gate-stub-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);padding:36px 28px;box-shadow:var(--shadow-card);text-align:center;max-width:560px;margin:12px auto}.gate-stub-icon{color:var(--brand);margin-bottom:14px;opacity:.9}.gate-stub-title{margin:0 0 10px;font-size:1.35rem;font-weight:750}.gate-stub-text{color:var(--muted);margin:0 auto 20px;max-width:440px;line-height:1.5}.profile-view-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px}.profile-view-row{background:var(--bg-soft);border:1px solid var(--line-soft);border-radius:12px;padding:12px 14px}.profile-view-row .muted{font-size:.8rem;margin-bottom:4px}@media(max-width:720px){.profile-view-grid{grid-template-columns:1fr}}.week-schedule{display:flex;flex-direction:column;gap:10px}.week-day-row{display:grid;grid-template-columns:140px 120px 1fr;gap:12px;align-items:center;padding:12px 14px;background:var(--bg-soft);border:1px solid var(--line-soft);border-radius:12px}.week-day-name{font-weight:650}.week-day-toggle{display:flex;align-items:center;gap:8px;font-size:.9rem;cursor:pointer}.week-day-times{display:flex;align-items:center;gap:8px}.week-day-times .form-control{max-width:130px}.week-total{font-size:1.05rem}@media(max-width:720px){.week-day-row{grid-template-columns:1fr}}

