@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg:       #0A0A0A;
  --bg2:      #111111;
  --bg3:      #181818;
  --bg4:      #222222;
  --border:   #2A2A2A;
  --border2:  #333333;
  --blue:     #3B3BFF;
  --blue-dim: #2929CC;
  --blue-bg:  #1A1A3A;
  --text:     #FFFFFF;
  --text2:    #AAAAAA;
  --text3:    #666666;
  --green:    #22C55E;
  --yellow:   #F59E0B;
  --red:      #EF4444;
  --sidebar:  220px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ─── Scrollbar ─────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #444; }

/* ─── Layout ────────────────────────────────────── */
#login-page,
#app-shell {
  min-height: 100vh;
}

.app-layout {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

/* ─── Sidebar ───────────────────────────────────── */
.sidebar {
  width: var(--sidebar);
  background: var(--bg2);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  overflow-y: auto;
}

.sidebar-logo {
  padding: 22px 18px 18px;
  border-bottom: 1px solid var(--border);
}

.sidebar-logo img {
  height: 30px;
  width: auto;
  max-width: 190px;
}

/* Dashboard brand hero */
.brand-hero {
  padding: 32px 32px 28px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.brand-hero img {
  height: 32px;
  width: auto;
}

.brand-hero-right {
  font-size: 0.78rem;
  color: var(--text3);
}

.sidebar-nav {
  flex: 1;
  padding: 10px 0;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  color: var(--text2);
  font-size: 0.87rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  border-left: 3px solid transparent;
  text-decoration: none;
}

.nav-item:hover {
  background: var(--bg3);
  color: var(--text);
  text-decoration: none;
}

.nav-item.active {
  background: var(--bg3);
  color: var(--text);
  border-left-color: var(--blue);
}

.nav-item .nav-icon {
  font-size: 1rem;
  width: 18px;
  text-align: center;
}

.nav-divider {
  height: 1px;
  background: var(--border);
  margin: 8px 18px;
}

.sidebar-bottom {
  padding: 14px 18px;
  border-top: 1px solid var(--border);
}

.user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.user-avatar {
  width: 30px;
  height: 30px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.user-name {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-email {
  font-size: 0.72rem;
  color: var(--text3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-logout {
  width: 100%;
  background: none;
  border: 1px solid var(--border2);
  color: var(--text3);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.78rem;
  transition: all 0.15s;
}

.btn-logout:hover {
  border-color: var(--red);
  color: var(--red);
}

/* ─── Main content ──────────────────────────────── */
.main-content {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.page-header {
  padding: 24px 32px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}

.page-title {
  font-size: 1.25rem;
  font-weight: 600;
}

.page-subtitle {
  font-size: 0.82rem;
  color: var(--text2);
  margin-top: 2px;
}

.page-body {
  padding: 28px 32px;
  flex: 1;
}

/* ─── Buttons ───────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 7px;
  font-size: 0.85rem;
  font-weight: 500;
  border: none;
  transition: all 0.15s;
  white-space: nowrap;
}

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

.btn-secondary {
  background: var(--bg3);
  color: var(--text);
  border: 1px solid var(--border2);
}
.btn-secondary:hover { background: var(--bg4); border-color: #444; }

.btn-ghost {
  background: none;
  color: var(--text2);
  border: 1px solid transparent;
}
.btn-ghost:hover { background: var(--bg3); color: var(--text); border-color: var(--border2); }

.btn-danger {
  background: none;
  color: var(--red);
  border: 1px solid var(--red);
}
.btn-danger:hover { background: rgba(239,68,68,0.1); }

.btn-sm {
  padding: 5px 10px;
  font-size: 0.78rem;
}

.btn-lg {
  padding: 10px 22px;
  font-size: 0.9rem;
}

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ─── Cards ─────────────────────────────────────── */
.card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
}

.card-title {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text3);
  margin-bottom: 12px;
}

/* ─── Stats grid ────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.stat-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 20px;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 8px;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.stat-sub {
  font-size: 0.75rem;
  color: var(--text2);
  margin-top: 4px;
}

/* ─── Tables ────────────────────────────────────── */
.table-wrap {
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid var(--border);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

thead th {
  background: var(--bg3);
  padding: 10px 16px;
  text-align: left;
  font-size: 0.73rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text3);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: middle;
}

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

tbody tr:hover td { background: var(--bg3); }

.table-empty {
  text-align: center;
  padding: 40px;
  color: var(--text3);
  font-size: 0.85rem;
}

/* ─── Forms ─────────────────────────────────────── */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text2);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border2);
  color: var(--text);
  padding: 9px 12px;
  border-radius: 7px;
  font-size: 0.88rem;
  transition: border-color 0.15s;
  outline: none;
}

.form-control:focus {
  border-color: var(--blue);
  background: var(--bg4);
}

.form-control::placeholder { color: var(--text3); }

textarea.form-control {
  resize: vertical;
  min-height: 80px;
}

.form-hint {
  font-size: 0.73rem;
  color: var(--text3);
  margin-top: 4px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ─── Toggle switch ─────────────────────────────── */
.toggle-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.toggle {
  position: relative;
  width: 42px;
  height: 24px;
  flex-shrink: 0;
}

.toggle input { display: none; }

.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--border2);
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s;
}

.toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: transform 0.2s;
}

.toggle input:checked + .toggle-slider { background: var(--blue); }
.toggle input:checked + .toggle-slider::before { transform: translateX(18px); }

.toggle-label {
  font-size: 0.85rem;
  color: var(--text2);
  cursor: pointer;
  user-select: none;
}

/* ─── Currency toggle ───────────────────────────── */
.currency-toggle {
  display: flex;
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: 7px;
  overflow: hidden;
}

.currency-btn {
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  background: none;
  border: none;
  color: var(--text3);
  transition: all 0.15s;
}

.currency-btn.active {
  background: var(--blue);
  color: #fff;
}

/* ─── Badges / Status ───────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-draft    { background: rgba(102,102,102,0.2); color: #888; }
.badge-sent     { background: rgba(59,59,255,0.15); color: var(--blue); }
.badge-approved { background: rgba(34,197,94,0.15);  color: var(--green); }
.badge-rejected { background: rgba(239,68,68,0.15);  color: var(--red); }

/* ─── Modal ─────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
  animation: fadeIn 0.15s ease;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal {
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 12px;
  width: 100%;
  max-width: 480px;
  padding: 28px;
  animation: slideUp 0.2s ease;
}

@keyframes slideUp { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }

.modal-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 24px;
}

/* ─── Toast ─────────────────────────────────────── */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.85rem;
  color: var(--text);
  min-width: 240px;
  max-width: 360px;
  animation: slideUp 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toast.success { border-left: 3px solid var(--green); }
.toast.error   { border-left: 3px solid var(--red); }
.toast.info    { border-left: 3px solid var(--blue); }

/* ─── Budget calculator ─────────────────────────── */
.budget-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  height: calc(100vh - 64px);
  overflow: hidden;
}

.budget-config {
  overflow-y: auto;
  border-right: 1px solid var(--border);
  padding: 0;
}

.budget-preview-wrap {
  overflow-y: auto;
  background: var(--bg2);
  display: flex;
  flex-direction: column;
}

/* Config bar (hourly rate, currency) */
.config-bar {
  padding: 12px 24px;
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.config-bar-label {
  font-size: 0.73rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text3);
  white-space: nowrap;
}

.config-bar-field {
  display: flex;
  align-items: center;
  gap: 8px;
}

.config-inline-input {
  width: 72px;
  background: var(--bg4);
  border: 1px solid var(--border2);
  color: var(--text);
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  outline: none;
  text-align: right;
  transition: border-color 0.15s;
}

.config-inline-input:focus { border-color: var(--blue); }

.exchange-input {
  width: 90px;
}

.exchange-hint {
  font-size: 0.73rem;
  color: var(--text3);
  white-space: nowrap;
}

/* Form sections */
.config-section {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.section-title {
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text3);
  margin-bottom: 14px;
}

/* Service category cards */
.service-categories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.service-cat-card {
  padding: 10px 8px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s;
}

.service-cat-card:hover {
  border-color: var(--border2);
  background: var(--bg4);
}

.service-cat-card.selected {
  border-color: var(--blue);
  background: var(--blue-bg);
}

.service-cat-icon { font-size: 1.2rem; line-height: 1; margin-bottom: 4px; }
.service-cat-label { font-size: 0.68rem; font-weight: 500; color: var(--text2); line-height: 1.3; }
.service-cat-card.selected .service-cat-label { color: var(--text); }

/* Service options */
.service-options { display: flex; flex-direction: column; gap: 6px; }

.service-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s;
}

.service-option:hover { border-color: var(--border2); }
.service-option.selected { border-color: var(--blue); background: var(--blue-bg); }

.service-option input[type="radio"] {
  accent-color: var(--blue);
  margin-top: 2px;
  flex-shrink: 0;
}

.service-option-info { flex: 1; }
.service-option-label { font-size: 0.85rem; font-weight: 500; color: var(--text); line-height: 1.3; }
.service-option-range { font-size: 0.75rem; color: var(--text3); margin-top: 2px; }

/* Price slider */
.slider-wrap {
  margin-top: 14px;
  padding: 14px 16px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.slider-title { font-size: 0.75rem; color: var(--text3); }
.slider-value { font-size: 1rem; font-weight: 700; color: var(--blue); }

input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  background: var(--border2);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background: var(--blue);
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 2px var(--blue);
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text3);
  margin-top: 6px;
}

/* Add-ons & fixed items */
.addon-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 7px;
  margin-bottom: 6px;
  gap: 10px;
}

.addon-info { flex: 1; }
.addon-label { font-size: 0.85rem; font-weight: 500; }
.addon-price { font-size: 0.75rem; color: var(--text3); }
.addon-note  { font-size: 0.70rem; color: var(--yellow); margin-top: 1px; }

.addon-controls { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.addon-amount   { font-size: 0.85rem; font-weight: 600; color: var(--text2); }

/* ─── Preview panel ─────────────────────────────── */
.preview-toolbar {
  padding: 12px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  background: var(--bg2);
  z-index: 5;
}

.mode-toggle {
  display: flex;
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: 7px;
  overflow: hidden;
}

.mode-btn {
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  background: none;
  border: none;
  color: var(--text3);
  transition: all 0.15s;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mode-btn.active { background: var(--bg4); color: var(--text); }

.preview-actions { display: flex; gap: 8px; }

/* Budget document */
.budget-doc {
  padding: 28px 28px 40px;
  flex: 1;
}

.budget-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text3);
  padding: 40px;
  text-align: center;
}

.budget-empty-icon { font-size: 2.5rem; margin-bottom: 12px; opacity: 0.4; }
.budget-empty-text { font-size: 0.9rem; }

/* ─── Printable budget ──────────────────────────── */
#budget-printable {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.budget-doc-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.budget-doc-logo img { height: 24px; }

.budget-doc-meta { text-align: right; font-size: 0.78rem; color: var(--text2); line-height: 1.8; }
.budget-doc-meta strong { color: var(--text); }

.budget-doc-title {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--blue);
  margin-bottom: 4px;
}

.budget-doc-client-line {
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text2);
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.budget-doc-client-line strong { color: var(--text); }

.budget-line-items { padding: 0 24px; }

.budget-line-head {
  display: grid;
  grid-template-columns: 1fr 80px 110px;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border2);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text3);
}

.budget-line {
  display: grid;
  grid-template-columns: 1fr 80px 110px;
  gap: 8px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  align-items: center;
}

.budget-line .hs { color: var(--text3); font-size: 0.78rem; text-align: right; }
.budget-line .price { font-weight: 600; text-align: right; }

.budget-totals {
  padding: 16px 24px;
  border-top: 1px solid var(--border2);
}

.total-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  font-size: 0.85rem;
}

.total-line.subtotal-line { color: var(--text2); font-size: 0.82rem; border-top: none; }
.total-line.fee-line      { color: var(--text2); font-size: 0.82rem; }
.total-line.commission-line { color: var(--yellow); font-size: 0.82rem; font-style: italic; }
.total-line.main-total {
  font-size: 1.05rem;
  font-weight: 700;
  padding-top: 10px;
  border-top: 1px solid var(--border2);
  margin-top: 6px;
}

.total-line.internal-total { color: var(--text3); font-size: 0.82rem; }
.total-line.margin-line {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 600;
}

.budget-footer {
  padding: 16px 24px 20px;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text3);
  line-height: 1.7;
}

.budget-footer strong { color: var(--text2); }

.budget-notes {
  padding: 14px 24px;
  margin: 0 24px 16px;
  background: var(--bg4);
  border-radius: 7px;
  font-size: 0.82rem;
  color: var(--text2);
  white-space: pre-wrap;
  border-left: 3px solid var(--blue);
}

.ars-disclaimer {
  margin: 12px 24px 0;
  padding: 8px 12px;
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 6px;
  font-size: 0.73rem;
  color: var(--yellow);
}

/* ─── Login ──────────────────────────────────────── */
#login-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: var(--bg);
}

.login-card {
  width: 100%;
  max-width: 380px;
  padding: 40px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.login-logo { margin-bottom: 32px; }
.login-logo img { height: 28px; }

.login-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.login-sub {
  font-size: 0.85rem;
  color: var(--text3);
  margin-bottom: 28px;
}

.login-error {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3);
  border-radius: 7px;
  padding: 10px 14px;
  font-size: 0.82rem;
  color: var(--red);
  margin-bottom: 16px;
}

.btn-login {
  width: 100%;
  justify-content: center;
  padding: 11px 20px;
  font-size: 0.9rem;
}

/* ─── Responsive ─────────────────────────────────── */
@media (max-width: 900px) {
  .budget-layout {
    grid-template-columns: 1fr;
    height: auto;
    overflow: visible;
  }
  .budget-config, .budget-preview-wrap {
    height: auto;
    overflow: visible;
  }
  .budget-preview-wrap {
    border-right: none;
    border-top: 1px solid var(--border);
  }
}

@media (max-width: 680px) {
  .sidebar { width: 52px; }
  .nav-item span:not(.nav-icon) { display: none; }
  .sidebar-logo img { display: none; }
  .sidebar-bottom .user-name,
  .sidebar-bottom .user-email,
  .btn-logout { display: none; }
  .user-avatar { width: 28px; height: 28px; }
  .page-header, .page-body { padding-left: 16px; padding-right: 16px; }
  .form-row { grid-template-columns: 1fr; }
  .config-bar { gap: 10px; }
}
