:root {
  --bg: #f4f6f9;
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --text: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --primary: #0f766e;
  --primary-soft: #ccfbf1;
  --casual: #d97706;
  --casual-soft: #fef3c7;
  --sick: #dc2626;
  --sick-soft: #fee2e2;
  --duty: #7c3aed;
  --duty-soft: #ede9fe;
  --shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
}

.hidden {
  display: none !important;
}

.app-shell {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100dvh;
  padding-bottom: 84px;
}

.topbar {
  background: var(--primary);
  color: #ffffff;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(15, 118, 110, 0.25);
}

.topbar h1 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}

.subtitle {
  margin: 0;
  font-size: 12px;
  opacity: 0.85;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.custom-select {
  position: relative;
}

.year-pill-btn {
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-weight: 700;
  padding: 0 12px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  backdrop-filter: blur(6px);
}

.year-pill-btn .chev {
  font-size: 11px;
  opacity: 0.9;
}

.custom-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 136px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 6px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 2px;
  animation: menuPop 0.14s ease-out;
}

.custom-menu.hidden {
  display: none;
}

@keyframes menuPop {
  from { opacity: 0; transform: translateY(-6px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.custom-option {
  width: 100%;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  padding: 9px 10px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
}

.custom-option:hover {
  background: var(--surface-alt);
}

.custom-option.active {
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 800;
}

.custom-option .check {
  font-size: 13px;
}

.icon-btn {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.28);
}

.greeting-card {
  background: linear-gradient(135deg, #0f766e 0%, #115e59 100%);
  color: #ffffff;
  border-radius: 16px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-shadow: 0 6px 18px rgba(15, 118, 110, 0.22);
}

.greeting-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.avatar-badge {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.22);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  flex-shrink: 0;
  overflow: hidden;
}

.avatar-badge img,
.prof-avatar-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.avatar-upload-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 0;
}

.prof-avatar-preview {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--primary-soft);
  color: var(--primary);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  overflow: hidden;
  flex-shrink: 0;
}

.avatar-upload-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mini-upload-btn {
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.mini-remove-btn {
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid #fecaca;
  background: var(--sick-soft);
  color: var(--sick);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.mini-remove-btn.hidden {
  display: none;
}

.grade-chips {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}

.grade-chip {
  padding: 8px 4px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--surface-alt);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.grade-chip.active {
  background: var(--primary-soft);
  color: var(--primary);
  border-color: var(--primary);
}

.greeting-text {
  min-width: 0;
}

.greeting-title {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.greeting-sub {
  font-size: 12px;
  opacity: 0.88;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-edit-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
}

.content {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.summary-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 14px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.summary-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.summary-header h2 {
  margin: 0;
  font-size: 15px;
}

.as-of-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.as-of-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.as-of-btn {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
  background: var(--surface-alt);
  color: var(--text);
  cursor: pointer;
}

.as-of-cal {
  margin-bottom: 12px;
}

.clear-mini {
  border: none;
  background: #e2e8f0;
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
}

.clear-mini.hidden {
  display: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.stat-box {
  padding: 10px 6px;
  border-radius: 12px;
  text-align: center;
}

.casual-box {
  background: var(--casual-soft);
  border: 1px solid #fde68a;
}

.sick-box {
  background: var(--sick-soft);
  border: 1px solid #fecaca;
}

.duty-box {
  background: var(--duty-soft);
  border: 1px solid #ddd6fe;
}

.stat-label {
  font-size: 12px;
  font-weight: 700;
}

.stat-value {
  font-size: 24px;
  font-weight: 800;
  margin-top: 2px;
}

.stat-rem {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 2px;
}

.stat-rem.danger {
  color: var(--sick);
}

.prog-track {
  width: 100%;
  height: 5px;
  background: rgba(15, 23, 42, 0.1);
  border-radius: 4px;
  margin-top: 6px;
  overflow: hidden;
}

.prog-fill {
  height: 100%;
  width: 0%;
  border-radius: 4px;
  transition: width 0.25s ease;
}

.prog-fill.casual { background: var(--casual); }
.prog-fill.sick { background: var(--sick); }
.prog-fill.duty { background: var(--duty); }

.override-badge {
  font-size: 11px;
  font-weight: 700;
  color: #92400e;
  background: #fef3c7;
  border: 1px solid #fde68a;
  border-radius: 8px;
  padding: 4px 8px;
}

.alert-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
}

.alert-header h3 {
  margin: 0;
  color: var(--sick);
}

.alert-icon {
  font-size: 22px;
}

.alert-reasons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.alert-reason-item {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.4;
}

.override-box {
  margin-bottom: 12px;
}

.danger-btn {
  width: 100%;
  padding: 13px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  background: var(--sick);
  color: #ffffff;
}

.rules-list {
  margin: 0 0 16px;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: var(--text);
}

.limits-card {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 14px;
}

.limits-title {
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 8px;
}

.limits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.limits-grid .field span {
  font-size: 11px;
}

.limits-grid .field input {
  padding: 8px;
  font-size: 14px;
  text-align: center;
  font-weight: 700;
}

.casual-box .stat-value { color: var(--casual); }
.sick-box .stat-value { color: var(--sick); }
.duty-box .stat-value { color: var(--duty); }

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.filter-pills {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  width: 100%;
  background: var(--surface);
  padding: 5px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.filter-pill {
  border: none;
  background: transparent;
  padding: 8px 4px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
}

.filter-pill.active {
  background: var(--primary-soft);
  color: var(--primary);
}

.leave-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.empty-state {
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: 14px;
  padding: 28px 16px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

.leave-card {
  background: var(--surface);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.leave-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.leave-date {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
}

.badges {
  display: flex;
  align-items: center;
  gap: 6px;
}

.type-badge {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 20px;
  text-transform: uppercase;
}

.type-badge.casual { background: var(--casual-soft); color: var(--casual); }
.type-badge.sick { background: var(--sick-soft); color: var(--sick); }
.type-badge.duty { background: var(--duty-soft); color: var(--duty); }

.dur-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  background: #f1f5f9;
  color: #475569;
}

.leave-reason {
  font-size: 14px;
  color: var(--text);
  word-break: break-word;
}

.running-totals {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 7px 10px;
  font-size: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.running-label {
  font-weight: 700;
  color: var(--text-muted);
}

.running-counts {
  display: flex;
  gap: 10px;
  font-weight: 700;
}

.rc-casual { color: var(--casual); }
.rc-sick { color: var(--sick); }
.rc-duty { color: var(--duty); }

.card-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 2px;
}

.text-btn {
  background: none;
  border: none;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  padding: 2px 4px;
}

.text-btn.danger {
  color: var(--sick);
}

.fab {
  position: fixed;
  bottom: 18px;
  right: max(16px, calc(50% - 224px));
  background: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: 28px;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(15, 118, 110, 0.35);
  cursor: pointer;
  z-index: 20;
}

/* Modal / Bottom Sheet */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 50;
}

.modal-backdrop.hidden {
  display: none;
}

.bottom-sheet {
  width: 100%;
  max-width: 480px;
  background: var(--surface);
  border-radius: 20px 20px 0 0;
  padding: 12px 18px 24px;
  box-shadow: 0 -8px 30px rgba(15, 23, 42, 0.2);
}

.sheet-handle {
  width: 42px;
  height: 4px;
  background: #cbd5e1;
  border-radius: 4px;
  margin: 0 auto 12px;
}

.bottom-sheet h3 {
  margin: 0 0 12px;
  font-size: 18px;
  text-align: center;
}

.sheet-hint {
  margin: -6px 0 14px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

.leave-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field span {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.field input,
.field textarea {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 15px;
  font-family: inherit;
  background: var(--surface-alt);
  color: var(--text);
}

.seg-grid {
  display: grid;
  gap: 8px;
}

.seg-grid.three { grid-template-columns: repeat(3, 1fr); }
.seg-grid.two { grid-template-columns: repeat(2, 1fr); }

.seg-btn,
.dur-btn {
  padding: 10px 8px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-alt);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
}

.seg-btn.active[data-type="casual"] { background: var(--casual-soft); color: var(--casual); border-color: var(--casual); }
.seg-btn.active[data-type="sick"] { background: var(--sick-soft); color: var(--sick); border-color: var(--sick); }
.seg-btn.active[data-type="duty"] { background: var(--duty-soft); color: var(--duty); border-color: var(--duty); }
.dur-btn.active { background: var(--primary-soft); color: var(--primary); border-color: var(--primary); }

.form-actions {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 10px;
  margin-top: 4px;
}

.bottom-sheet {
  max-height: 92dvh;
  overflow-y: auto;
}

.field-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.multi-mode-wrap {
  display: inline-flex;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2px;
  gap: 2px;
}

.multi-mode-wrap.hidden {
  display: none;
}

.mode-chip {
  border: none;
  background: transparent;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
}

.mode-chip.active {
  background: var(--primary);
  color: #ffffff;
}

.date-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 15px;
  font-weight: 700;
  background: var(--surface-alt);
  color: var(--text);
  cursor: pointer;
}

.date-notice {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 8px;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.date-notice.weekend-note {
  background: #e0f2fe;
  color: #075985;
  border-color: #bae6fd;
}

.date-notice.hidden {
  display: none;
}

.inline-cal {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px;
  background: var(--surface);
  margin-top: 2px;
}

.inline-cal.hidden {
  display: none;
}

.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.cal-month-label {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
}

.cal-nav {
  border: 1px solid var(--border);
  background: var(--surface-alt);
  border-radius: 8px;
  width: 32px;
  height: 30px;
  font-size: 12px;
  cursor: pointer;
}

.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.cal-weekdays .sun { color: var(--sick); }
.cal-weekdays .sat { color: #1d4ed8; }

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.cal-day {
  aspect-ratio: 1 / 1;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--surface-alt);
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  padding: 0;
}

.cal-day.empty {
  background: transparent;
  cursor: default;
}

.cal-day.weekend {
  background: #f1f5f9;
  color: #475569;
}

.cal-day.sun {
  color: var(--sick);
}

.cal-day.sat {
  color: #1d4ed8;
}

.cal-day.holiday {
  background: #fef3c7;
  border-color: #f59e0b;
  color: #92400e;
}

.cal-day.selected,
.cal-day.selected span {
  background: var(--primary) !important;
  color: #ffffff !important;
  border-color: var(--primary) !important;
}

.cal-day .hol-star {
  font-size: 8px;
  line-height: 1;
  margin-top: 1px;
}

.cal-day .lv-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sick);
  position: absolute;
  top: 3px;
  right: 3px;
}

.cal-day .lv-dot.casual { background: var(--casual); }
.cal-day .lv-dot.sick { background: var(--sick); }
.cal-day .lv-dot.duty { background: var(--duty); }

.cal-day.selected .lv-dot {
  border: 1px solid #ffffff;
}

.cal-legend {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--text-muted);
}

.cal-legend span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.cal-legend .dot {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  display: inline-block;
}

.cal-legend .dot.wknd { background: #cbd5e1; }
.cal-legend .dot.hol { background: #f59e0b; }
.cal-legend .dot.lv { background: var(--sick); border-radius: 50%; }

.primary-btn,
.secondary-btn {
  width: 100%;
  padding: 13px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-align: center;
  display: block;
}

.primary-btn {
  background: var(--primary);
  color: #ffffff;
}

.secondary-btn {
  background: var(--surface-alt);
  color: var(--text);
  border: 1px solid var(--border);
}

.toast {
  position: fixed;
  bottom: 84px;
  left: 50%;
  transform: translateX(-50%);
  background: #0f172a;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.25);
  z-index: 100;
  max-width: calc(100vw - 32px);
  text-align: center;
  animation: menuPop 0.16s ease-out;
}

.toast.hidden {
  display: none;
}

.toast.error {
  background: var(--sick);
}

.about-hero {
  background: linear-gradient(135deg, #0f766e 0%, #115e59 100%);
  color: #ffffff;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 14px;
}

.about-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.about-app-name {
  font-size: 17px;
  font-weight: 800;
}

.about-ver-pill {
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.about-hero-sub {
  margin: 0;
  font-size: 12px;
  opacity: 0.92;
  line-height: 1.45;
}

.guide-heading {
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}

.guide-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.guide-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px;
}

.guide-icon {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.guide-icon.teal { background: var(--primary); }
.guide-icon.amber { background: var(--casual); }
.guide-icon.blue { background: #2563eb; font-size: 13px; }
.guide-icon.slate { background: #475569; font-size: 13px; }

.guide-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.guide-text {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 2px;
}

.support-card {
  background: var(--primary-soft);
  border: 1px solid #99f6e4;
  border-radius: 14px;
  padding: 12px;
  text-align: center;
  margin-bottom: 14px;
}

.support-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.support-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  margin: 2px 0 8px;
}

.support-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.support-pill {
  background: #ffffff;
  color: var(--primary);
  border: 1px solid #99f6e4;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.backup-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}
