/* ============================================================
   CSS Variables — Design tokens from DESIGN.md
   ============================================================ */
:root {
  --bg:          #0F0F0F;
  --surface:     #1A1A1A;
  --surface-el:  #242424;
  --accent:      #6C63FF;
  --success:     #4CAF50;
  --warning:     #FF9800;
  --text:        #FFFFFF;
  --text-muted:  #AAAAAA;
  --border:      #333333;
  --radius:      12px;
  --pad:         16px;
  --nav-h:       64px;
  --rest-bar-h:  0px;  /* updated via JS when rest timer is active */
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior: none;
}

body {
  display: flex;
  flex-direction: column;
  max-width: 430px;
  margin: 0 auto;
}

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

input {
  background: var(--surface-el);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
  width: 100%;
  outline: none;
}
input:focus { border-color: var(--accent); }

/* ============================================================
   App Shell
   ============================================================ */
#app {
  flex: 1;
  overflow-y: auto;
  padding-bottom: calc(var(--nav-h) + var(--rest-bar-h));
}

/* ============================================================
   Bottom Navigation
   ============================================================ */
#bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--nav-h);
  background: var(--surface);
  border-top: 1px solid var(--border);
  display: flex;
  z-index: 100;
}

.nav-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 500;
  min-height: 44px;
  transition: color 0.15s;
}
.nav-btn svg { width: 22px; height: 22px; fill: currentColor; }
.nav-btn.active { color: var(--accent); }

/* ============================================================
   Views (tab panels)
   ============================================================ */
.view { display: none; padding: var(--pad); }
.view.active { display: block; }

/* ============================================================
   Cards
   ============================================================ */
.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: var(--pad);
  margin-bottom: 12px;
  border: 1px solid var(--border);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  padding: 14px var(--pad);
  font-size: 16px;
  font-weight: 600;
  width: 100%;
  min-height: 48px;
  text-align: center;
  transition: opacity 0.15s;
}
.btn-primary:active { opacity: 0.8; }

.btn-secondary {
  background: var(--surface-el);
  color: var(--text);
  border-radius: var(--radius);
  padding: 12px var(--pad);
  font-size: 15px;
  font-weight: 500;
  width: 100%;
  min-height: 44px;
  text-align: center;
  border: 1px solid var(--border);
}

.btn-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--surface-el);
  color: var(--text-muted);
}

/* ============================================================
   Page Header
   ============================================================ */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--pad) var(--pad) 8px;
}
.page-header h1 { font-size: 22px; font-weight: 700; }

/* ============================================================
   Stats row
   ============================================================ */
.stats-row {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}
.stat-card {
  flex: 1;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 14px 12px;
  border: 1px solid var(--border);
  text-align: center;
}
.stat-card .stat-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  display: block;
}
.stat-card .stat-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ============================================================
   Loading / Empty states
   ============================================================ */
.empty-state {
  text-align: center;
  padding: 48px var(--pad);
  color: var(--text-muted);
}
.empty-state p { margin-top: 8px; font-size: 15px; }

.spinner {
  width: 32px; height: 32px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin: 40px auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   Toast notification
   ============================================================ */
#toast {
  position: fixed;
  bottom: calc(var(--nav-h) + var(--rest-bar-h) + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--surface-el);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
  z-index: 200;
}
#toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============================================================
   Modal / Sheet
   ============================================================ */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 150;
  align-items: flex-end;
  justify-content: center;
}
.modal-backdrop.open { display: flex; }

.sheet {
  background: var(--surface);
  border-radius: var(--radius) var(--radius) 0 0;
  padding: var(--pad);
  width: 100%;
  max-width: 430px;
  max-height: 80vh;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-bottom: none;
}
.sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.sheet-header h2 { font-size: 18px; font-weight: 700; }

/* ============================================================
   Active Workout — header + elapsed
   ============================================================ */
.aw-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px var(--pad);
  border-bottom: 1px solid var(--border);
}

.aw-cancel {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 18px;
  flex-shrink: 0;
}

.aw-name-input {
  flex: 1;
  background: transparent;
  border: none;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  padding: 4px 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  text-align: center;
}
.aw-name-input:focus {
  border-bottom-color: var(--accent);
  outline: none;
}

.btn-finish-workout {
  background: var(--success);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 8px;
  min-height: 36px;
  flex-shrink: 0;
}
.btn-finish-workout:active { opacity: 0.85; }

.aw-elapsed {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  padding: 8px 0 4px;
}

/* ============================================================
   Exercise Block
   ============================================================ */
.exercise-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: var(--pad) var(--pad) 0;
  overflow: hidden;
}

.ex-block-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 14px 14px 0;
}

.ex-block-title { flex: 1; }

.ex-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.ex-muscle {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.ex-prev {
  font-size: 12px;
  color: var(--text-muted);
  padding: 6px 14px 10px;
  font-style: italic;
}

/* ============================================================
   Sets Table
   ============================================================ */
.sets-table { padding: 0 14px; }

.sets-header {
  display: grid;
  grid-template-columns: 36px 1fr 1fr 44px;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-bottom: 4px;
  text-align: center;
}
.sets-header span:first-child { text-align: left; }

.set-row {
  display: grid;
  grid-template-columns: 36px 1fr 1fr 44px;
  gap: 6px;
  align-items: center;
  margin-bottom: 6px;
  position: relative;
}

.set-num {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
}

.set-input {
  background: var(--surface-el);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: 10px 6px;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  width: 100%;
  outline: none;
  -moz-appearance: textfield;
}
.set-input:focus { border-color: var(--accent); }
.set-input::-webkit-inner-spin-button,
.set-input::-webkit-outer-spin-button { -webkit-appearance: none; }
.set-input[readonly] {
  color: var(--text-muted);
  border-color: transparent;
  background: transparent;
}

.set-check-btn {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--surface-el);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.set-check-btn.checked {
  background: var(--success);
  border-color: var(--success);
  color: #fff;
}

.set-row.completed .set-num { color: var(--success); }

.pr-badge {
  position: absolute;
  right: -4px;
  top: -6px;
  background: var(--success);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.btn-add-set {
  display: block;
  width: 100%;
  padding: 12px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  border-top: 1px solid var(--border);
  margin-top: 8px;
}
.btn-add-set:active { opacity: 0.7; }

/* ============================================================
   Exercise Picker
   ============================================================ */
.picker-sheet {
  display: flex;
  flex-direction: column;
  padding: 0;
  max-height: 88vh;
  overflow: hidden;
}

.picker-search-wrap {
  padding: 12px var(--pad);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.picker-search-wrap input {
  background: var(--surface-el);
}

.picker-scroll {
  overflow-y: auto;
  flex: 1;
  padding: 8px 0;
}

.picker-item {
  padding: 14px var(--pad);
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}
.picker-item:active { background: var(--surface-el); }
.picker-item:last-child { border-bottom: none; }

.picker-item-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.picker-item-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ============================================================
   Rest Timer Bar
   ============================================================ */
#rest-timer-bar {
  position: fixed;
  bottom: var(--nav-h);
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: var(--surface-el);
  border-top: 1px solid var(--border);
  z-index: 90;
  transition: bottom 0.2s;
}

.rest-timer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px var(--pad);
}

.rest-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  min-width: 32px;
}

#rest-countdown {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.rest-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  min-height: 32px;
}
.rest-btn-skip { color: var(--text-muted); }
.rest-btn:active { opacity: 0.7; }

.rest-progress-track {
  height: 3px;
  background: var(--border);
}
.rest-progress-fill {
  height: 100%;
  background: var(--accent);
  width: 100%;
  transition: width 1s linear;
}

/* ============================================================
   History — list cards
   ============================================================ */
.history-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px var(--pad);
  margin-bottom: 10px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.history-card:active { opacity: 0.75; }

.history-card-body { flex: 1; min-width: 0; }

.history-card-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.history-card-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 3px;
}
.history-card-exercises {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0.7;
}

/* ============================================================
   History — detail view
   ============================================================ */
.detail-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px var(--pad) 8px;
  border-bottom: 1px solid var(--border);
}

.detail-back {
  color: var(--accent);
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  min-height: 44px;
  display: flex;
  align-items: center;
  padding-right: 8px;
}

.detail-title {
  font-size: 18px;
  font-weight: 700;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.detail-meta {
  font-size: 13px;
  color: var(--text-muted);
  padding: 10px var(--pad) 4px;
}

.detail-exercise {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: 10px var(--pad) 0;
  overflow: hidden;
}

.detail-ex-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 12px 14px 8px;
}

.detail-ex-name {
  font-size: 16px;
  font-weight: 700;
}
.detail-ex-muscle {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}
.detail-ex-vol {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  padding-top: 2px;
}

.detail-set-rows {
  padding: 0 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.detail-set-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
  position: relative;
}
.detail-set-num {
  font-size: 12px;
  color: var(--text-muted);
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}
.detail-set-weight {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  min-width: 72px;
}
.detail-set-reps {
  font-size: 15px;
  color: var(--text-muted);
}
.detail-set-row .pr-badge {
  position: static;
  margin-left: 4px;
}

/* ============================================================
   Utility
   ============================================================ */
.hidden { display: none !important; }

/* ============================================================
   Login Screen
   ============================================================ */
#login-screen {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 300;
  padding: var(--pad);
}

.login-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 320px;
  gap: 12px;
}

.login-logo {
  width: 72px;
  height: 72px;
  background: var(--accent);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.login-logo svg {
  width: 40px;
  height: 40px;
  fill: #fff;
}

.login-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
}

.login-sub {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  padding: 14px var(--pad);
  transition: background 0.15s, border-color 0.15s;
  margin-top: 8px;
}
.btn-google:active { background: var(--surface-el); }
.google-icon { width: 20px; height: 20px; flex-shrink: 0; }

/* ============================================================
   Segmented control (Progress tab sub-nav)
   ============================================================ */
.seg-control-wrap {
  padding: 12px var(--pad) 4px;
}
.seg-control {
  display: flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 3px;
  gap: 3px;
}
.seg-btn {
  flex: 1;
  padding: 9px 8px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  transition: background 0.15s, color 0.15s;
  min-height: 38px;
}
.seg-btn.active {
  background: var(--surface-el);
  color: var(--text);
}

/* ============================================================
   Filter pills (PR muscle group filter)
   ============================================================ */
.filter-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px var(--pad) 4px;
  scrollbar-width: none;
}
.filter-pills::-webkit-scrollbar { display: none; }

.filter-pill {
  flex-shrink: 0;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  white-space: nowrap;
  min-height: 34px;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.filter-pill.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ============================================================
   PR Dashboard (M4)
   ============================================================ */
.pr-group-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px var(--pad) 6px;
}

.pr-group-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: 0 var(--pad);
  overflow: hidden;
}

.pr-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--pad);
}
.pr-row-border {
  border-bottom: 1px solid var(--border);
}

.pr-row-left { flex: 1; min-width: 0; }

.pr-exercise-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pr-date {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 3px;
}

.pr-row-right {
  text-align: right;
  flex-shrink: 0;
  margin-left: 12px;
}
.pr-weight {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
}
.pr-unit {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}
.pr-reps {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ============================================================
   Charts (M5)
   ============================================================ */
.chart-section {
  padding: 16px var(--pad) 0;
}
.chart-section + .chart-section {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  margin-top: 24px;
}

.chart-section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.exercise-select {
  width: 100%;
  background: var(--surface-el);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 15px;
  padding: 11px 12px;
  margin-bottom: 12px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23AAAAAA' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}
.exercise-select:focus { border-color: var(--accent); }

.chart-canvas-wrap {
  position: relative;
  height: 220px;
  width: 100%;
}
.chart-canvas-wrap canvas {
  border-radius: 8px;
}

.chart-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  padding: 0 var(--pad);
}

.bw-log-form {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}
.bw-log-form input {
  flex: 1;
}
.bw-log-btn {
  width: auto;
  padding: 12px 20px;
  flex-shrink: 0;
}

/* ============================================================
   Library group label
   ============================================================ */
.library-group-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 0 8px;
}

/* ============================================================
   Library Search
   ============================================================ */
.library-search-wrap {
  padding: 12px var(--pad) 4px;
}
.library-search-wrap input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 15px;
  padding: 10px 14px;
  outline: none;
}
.library-search-wrap input:focus {
  border-color: var(--accent);
}

/* ============================================================
   Exercise Detail Sheet (M7)
   ============================================================ */
.ex-detail-sheet {
  max-height: 90vh;
  overflow-y: auto;
}
.ex-detail-body {
  padding: 16px var(--pad) 32px;
}
.ex-detail-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.ex-detail-badge {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 4px 12px;
}
.ex-detail-badge-eq {
  border-color: var(--accent);
  color: var(--accent);
}
.ex-detail-video {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
  background: #000;
}
.ex-detail-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.ex-detail-section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.ex-detail-instructions p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
}

/* ============================================================
   Maintenance Screen
   ============================================================ */
#maintenance-screen {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  z-index: 9999;
}
.maintenance-card {
  text-align: center;
  max-width: 320px;
}
.maintenance-icon {
  width: 48px;
  height: 48px;
  fill: var(--accent);
  margin-bottom: 20px;
}
.maintenance-card h1 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}
.maintenance-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   Feedback Button
   ============================================================ */
#feedback-btn {
  position: fixed;
  bottom: 84px;
  right: 16px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
  z-index: 100;
  transition: transform 0.15s, opacity 0.15s;
}
#feedback-btn:hover { transform: scale(1.08); }
#feedback-btn svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}
