/*
 * shared.css — Fee System Design System (Redesigned)
 * Design language: reference.html pattern · Color palette: sage/forest green
 */

/* ─── Fonts ─────────────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&family=DM+Mono:wght@400;500&display=swap');

/* ─── Design Tokens ─────────────────────────────────────────────────────────── */
:root {
  --primary:        #344E41;
  --primary-mid:    #3A5A40;
  --primary-light:  #588157;
  --accent:         #A3B18A;
  --accent-soft:    #EBF0E8;
  --accent-mid:     #6B8F71;
  --green:          #16A34A;
  --green-soft:     #DCFCE7;
  --red:            #DC2626;
  --red-soft:       #FEE2E2;
  --amber:          #D97706;
  --amber-soft:     #FEF3C7;
  --bg:             #EDF2EC;
  --surface:        #FFFFFF;
  --surface-2:      #F5F7F2;
  --surface-3:      #EBF0E8;
  --card:           #FFFFFF;
  --border:         #C8D5C4;
  --border-soft:    #DDE5DA;
  --text:           #1C2B1E;
  --text-1:         #1C2B1E;
  --text-2:         #2D4A30;
  --text-3:         #6B7F6C;
  --text-4:         #9AB59B;
  --muted:          #6B7F6C;
  --cream:          #DAD7CD;
  --sage-lt:        #A3B18A;
  --sage:           #588157;
  --forest:         #3A5A40;
  --dark:           #344E41;
  --radius-sm:      8px;
  --radius:         12px;
  --radius-lg:      18px;
  --radius-xl:      24px;
  --shadow-sm:      0 1px 3px rgba(28,43,30,.05), 0 2px 8px rgba(28,43,30,.04);
  --shadow:         0 2px 12px rgba(28,43,30,.08), 0 4px 24px rgba(28,43,30,.05);
  --shadow-md:      0 4px 16px rgba(28,43,30,.09);
  --shadow-lg:      0 8px 40px rgba(28,43,30,.14), 0 2px 8px rgba(28,43,30,.06);
  --shadow-xl:      0 20px 60px rgba(28,43,30,.22), 0 4px 16px rgba(28,43,30,.10);
}

/* ─── Reset ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { font-family: 'Plus Jakarta Sans', sans-serif; box-sizing: border-box; margin: 0; padding: 0; }
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(52,78,65,.18); border-radius: 99px; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text-1); min-height: 100svh; -webkit-tap-highlight-color: transparent; }

/* ─── Topbar ─────────────────────────────────────────────────────────────────── */
.topbar {
  background: linear-gradient(135deg, #1C2E21 0%, #344E41 60%, #3A5A40 100%);
  height: 58px; display: flex; align-items: center; padding: 0 20px; gap: 12px;
  box-shadow: 0 2px 24px rgba(0,0,0,.28), 0 1px 0 rgba(255,255,255,.06) inset;
  position: sticky; top: 0; z-index: 200;
}
.logo-icon {
  width: 34px; height: 34px; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; box-shadow: 0 2px 8px rgba(0,0,0,.2); color: white;
}
.logo-text strong { display: block; color: #E6F0E8; font-size: 13px; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
.logo-text span   { display: block; color: rgba(255,255,255,.4); font-size: 10px; font-weight: 500; line-height: 1.2; }
.topbar-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.topbar-brand .brand-dot { color: var(--accent); }
.topbar-spacer { flex: 1; }
.topbar-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.topbar-nav-btn, .nav-link {
  display: flex; align-items: center; gap: 6px; padding: 6px 13px; border-radius: 99px;
  font-size: 11.5px; font-weight: 700; color: rgba(255,255,255,.5); text-decoration: none;
  transition: background .18s, color .18s; white-space: nowrap; cursor: pointer;
  border: 1px solid transparent;
}
.topbar-nav-btn:hover, .nav-link:hover { background: rgba(255,255,255,.1); color: rgba(255,255,255,.85); }
.topbar-nav-btn.active, .nav-link.active { background: rgba(255,255,255,.13); color: #E6F0E8; border-color: rgba(255,255,255,.16); }

/* ─── Page Layout ────────────────────────────────────────────────────────────── */
.page-content { max-width: 1100px; margin: 0 auto; padding: 24px 16px 80px; }
@media (min-width: 640px) { .page-content { padding: 28px 24px 80px; } }

/* ─── Page Hero ──────────────────────────────────────────────────────────────── */
.page-hero { margin-bottom: 22px; }
.page-hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent-soft); border: 1px solid rgba(107,143,113,.25);
  border-radius: 99px; padding: 5px 14px;
  font-size: 10.5px; font-weight: 800; color: var(--accent-mid);
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px;
}
.page-hero h1 { font-size: clamp(18px,5vw,24px); font-weight: 800; color: var(--text-1); letter-spacing: -.03em; line-height: 1.2; }
.page-hero p  { font-size: 13px; color: var(--text-3); font-weight: 500; margin-top: 6px; }

/* ─── Stats ──────────────────────────────────────────────────────────────────── */
.stats-row { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; margin-bottom: 16px; }
@media (min-width: 560px) { .stats-row { grid-template-columns: repeat(4,1fr); } }
.stat-card {
  background: var(--surface); border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft); padding: 14px 16px; box-shadow: var(--shadow-sm);
}
.stat-label { font-size: 9.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); margin-bottom: 6px; }
.stat-value { font-size: 28px; font-weight: 900; color: var(--primary); letter-spacing: -.04em; line-height: 1; }
.stat-sub   { font-size: 10px; font-weight: 600; color: var(--text-4); margin-top: 3px; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: .875rem; margin-bottom: 1.5rem; }
@media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(2,1fr); } }
.stat-card-icon {
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg); padding: 14px 16px;
  display: flex; align-items: center; gap: .875rem; box-shadow: var(--shadow-sm);
}
.stat-icon { width: 36px; height: 36px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.si-green  { background: var(--green-soft);  color: var(--green); }
.si-amber  { background: var(--amber-soft);  color: var(--amber); }
.si-forest { background: var(--accent-soft); color: var(--primary); }
.si-cream  { background: rgba(163,177,138,.2); color: var(--primary-mid); }
.stat-val  { font-size: 1.35rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--text-1); }
.stat-lbl  { font-size: .68rem; color: var(--text-3); font-weight: 600; margin-top: .2rem; }

/* ─── Table Card ─────────────────────────────────────────────────────────────── */
.table-card {
  background: var(--surface); border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft); box-shadow: var(--shadow); overflow: hidden;
}
.table-scroll { overflow-x: auto; }
.table-scroll::-webkit-scrollbar { height: 4px; }
.table-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

/* ─── Filter Bar ─────────────────────────────────────────────────────────────── */
.filter-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  padding: 14px 18px 12px; border-bottom: 1px solid var(--border-soft);
}
.filter-heading { font-size: 14px; font-weight: 800; letter-spacing: -.02em; color: var(--text-1); flex-shrink: 0; }
.filter-count   { font-size: .72rem; color: var(--text-3); font-weight: 500; flex-shrink: 0; }
.filter-spacer  { flex: 1; min-width: 8px; }
.search-wrap    { position: relative; flex: 1; min-width: 180px; }
.search-icon    { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--text-3); pointer-events: none; }
.search-wrap input, .search-input {
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 99px;
  padding: 8px 14px 8px 34px; font-size: 12.5px; font-weight: 500; color: var(--text-1);
  outline: none; width: 100%; transition: border-color .15s, box-shadow .15s; font-family: inherit;
}
.search-wrap input:focus, .search-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(52,78,65,.09); background: white; }
.search-wrap input::placeholder, .search-input::placeholder { color: var(--text-4); font-weight: 400; }
.filter-date-wrap {
  display: flex; align-items: center; gap: 5px; flex-shrink: 0;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 99px; padding: 0 10px; color: var(--text-3);
}
.filter-date-wrap:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(52,78,65,.09); }
.filter-date {
  border: none; background: transparent; outline: none;
  font-size: 11.5px; font-weight: 600; color: var(--text-2); font-family: inherit;
  padding: 7px 0; width: 98px; cursor: pointer;
}
.filter-date::-webkit-calendar-picker-indicator { opacity: 0.5; cursor: pointer; }
.filter-date-sep { font-size: 12px; color: var(--text-4); font-weight: 700; flex-shrink: 0; }
.filter-select, #filterStatus, #filterBrand, #filterPic {
  padding: 7px 28px 7px 12px; border-radius: 99px;
  border: 1px solid var(--border); background: var(--surface-2);
  font-size: 12px; font-weight: 600; color: var(--text-2);
  outline: none; font-family: inherit; cursor: pointer; transition: border-color .15s; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7F6C' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center;
}
#filterPic { width: 150px; appearance: none; background-image: none; border-radius: 99px; }
.filter-select:focus, #filterStatus:focus, #filterPic:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(52,78,65,.09); }
.btn-refresh, .refresh-btn, .refresh-btn-inline {
  padding: 7px 14px; border-radius: 99px; border: 1px solid var(--border); background: var(--surface-2);
  font-size: 12px; font-weight: 700; color: var(--text-2); cursor: pointer; font-family: inherit;
  transition: all .14s; display: flex; align-items: center; gap: 5px; height: auto;
}
.btn-refresh:hover, .refresh-btn:hover, .refresh-btn-inline:hover { border-color: var(--primary); color: var(--primary); }
.filter-chip {
  display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .625rem;
  background: var(--accent-soft); border: 1px solid rgba(107,143,113,.25);
  border-radius: 999px; font-size: .72rem; font-weight: 700; color: var(--primary); flex-shrink: 0;
}
.filter-chip button { background: none; border: none; cursor: pointer; padding: 0; color: var(--accent-mid); line-height: 1; display: flex; }
.clear-btn {
  padding: 7px 14px; border-radius: 99px; border: 1.5px dashed var(--border); background: none;
  font-size: 12px; font-weight: 700; color: var(--text-3); cursor: pointer; font-family: inherit;
  display: flex; align-items: center; gap: 5px; transition: .15s;
}
.clear-btn:hover { border-color: var(--primary); color: var(--primary); }
#resultCount { font-size: .72rem; color: var(--text-3); font-weight: 500; white-space: nowrap; }

/* ─── Table ──────────────────────────────────────────────────────────────────── */
table { width: 100%; border-collapse: collapse; min-width: 640px; }
thead { background: var(--surface-2); border-bottom: 1px solid var(--border-soft); }
th { padding: 10px 18px; text-align: left; font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--text-3); }
.trow {
  border-bottom: 1px solid var(--border-soft); cursor: pointer;
  animation: fadeUp .25s ease-out forwards; opacity: 0; transition: background .1s, box-shadow .1s;
}
.trow:last-child { border-bottom: none; }
.trow:hover { background: var(--surface-2); box-shadow: inset 3px 0 0 var(--primary-light); }
@keyframes fadeUp { from { transform: translateY(5px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
td { padding: 12px 18px; vertical-align: middle; }
.td-mono   { font-family: 'DM Mono', monospace; font-size: 11px; font-weight: 500; color: var(--primary); }
.td-main   { font-size: 12.5px; font-weight: 700; color: var(--text-1); }
.td-sub    { font-size: 12px; color: var(--text-3); font-weight: 500; }
.td-amount { font-size: 12px; font-weight: 800; color: var(--text-1); font-family: 'DM Mono', monospace; }
.td-empty  { font-size: 11px; color: var(--text-4); }
.empty-cell { padding: 52px 1rem; text-align: center; color: var(--text-3); font-size: .85rem; font-weight: 600; }

/* ─── Pagination ─────────────────────────────────────────────────────────────── */
.table-footer, .pagination-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 18px; border-top: 1px solid var(--border-soft);
}
.row-count, .page-info { font-size: 11.5px; font-weight: 700; color: var(--text-3); }
.page-btns { display: flex; gap: .375rem; }
.page-btn {
  height: 32px; padding: 0 .75rem; border: 1.5px solid var(--border); background: var(--surface);
  border-radius: 99px; font-family: inherit; font-size: .75rem; font-weight: 700; color: var(--text-2);
  cursor: pointer; transition: border-color .15s, color .15s;
}
.page-btn:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); }
.page-btn:disabled { opacity: .35; cursor: default; }

/* ─── Badges ─────────────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: .2rem; padding: 3px 10px; border-radius: 999px;
  font-size: 9.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
}
.badge-done      { background: var(--green-soft); color: var(--green); border: 1px solid #BBF7D0; }
.badge-validate  { background: rgba(59,130,246,.1); color: #1d4ed8; border: 1px solid rgba(59,130,246,.2); }
.badge-pengajuan { background: var(--amber-soft); color: var(--amber); border: 1px solid #FDE68A; }
.badge-pending   { background: var(--red-soft); color: var(--red); border: 1px solid #FECACA; }

/* ─── Forms ──────────────────────────────────────────────────────────────────── */
.form-input {
  width: 100%; height: 42px; padding: 0 .875rem; border: 1.5px solid var(--border);
  border-radius: var(--radius); background: var(--surface-2); font-family: inherit;
  font-size: .875rem; font-weight: 500; color: var(--text-1); outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.form-input:focus { border-color: var(--primary-light); box-shadow: 0 0 0 3px rgba(88,129,87,.1); background: white; }
.form-input::placeholder { color: var(--text-4); font-weight: 400; }
select.form-input { appearance: none; cursor: pointer; }

/* ─── Buttons ────────────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .65rem 1.25rem; background: var(--primary); color: white;
  border: none; border-radius: var(--radius); font-family: inherit;
  font-size: .85rem; font-weight: 700; cursor: pointer;
  transition: background .15s, transform .1s; box-shadow: 0 3px 10px rgba(52,78,65,.28);
}
.btn-primary:hover { background: #1C2E21; }
.btn-primary:active { transform: scale(.98); }
.btn-primary:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: .35rem; padding: .5rem .875rem;
  background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius);
  font-family: inherit; font-size: .8rem; font-weight: 600; color: var(--text-1);
  cursor: pointer; transition: border-color .15s, background .15s;
}
.btn-ghost:hover { border-color: var(--primary-light); background: var(--accent-soft); }
.icon-btn {
  background: none; border: none; color: var(--text-4); cursor: pointer; padding: .35rem;
  border-radius: .5rem; display: inline-flex; transition: color .15s, background .15s;
}
.icon-btn:hover { color: var(--primary); background: var(--accent-soft); }

/* ─── Dropdown ───────────────────────────────────────────────────────────────── */
.dropdown-wrap { position: relative; }
.dd-menu {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0;
  background: var(--surface); border: 1.5px solid var(--primary);
  border-radius: var(--radius); box-shadow: var(--shadow-lg); max-height: 14rem; overflow-y: auto; z-index: 9999;
}
.dd-menu::-webkit-scrollbar { width: 4px; }
.dd-menu::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.dd-item {
  padding: 9px 14px; font-size: 12.5px; font-weight: 500; color: var(--text-1);
  cursor: pointer; border-bottom: 1px solid var(--border-soft); transition: background .1s; white-space: nowrap;
}
.dd-item:last-child { border-bottom: none; }
.dd-item:hover { background: var(--surface-2); color: var(--primary); }

/* ─── Section Label ──────────────────────────────────────────────────────────── */
.section-label {
  font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-mid); display: flex; align-items: center; gap: .4rem; margin-bottom: .875rem;
}
.section-label::after { content: ''; flex: 1; height: 1px; background: var(--border-soft); }

/* ─── Toggle ─────────────────────────────────────────────────────────────────── */
.toggle-input { opacity: 0; width: 0; height: 0; position: absolute; }
.toggle-slider {
  width: 38px; height: 21px; background: var(--border); border-radius: 999px;
  cursor: pointer; position: relative; transition: background .2s; display: block;
}
.toggle-slider::after {
  content: ''; position: absolute; width: 15px; height: 15px; background: white;
  border-radius: 50%; top: 3px; left: 3px; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.toggle-input:checked + .toggle-slider { background: var(--primary-light); }
.toggle-input:checked + .toggle-slider::after { transform: translateX(17px); }

/* ─── Modal ──────────────────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(10,20,12,.55);
  z-index: 1000; display: none; align-items: flex-end; justify-content: center;
  backdrop-filter: blur(4px); padding: 0;
}
.modal-overlay.open { display: flex; }
@media (min-width: 600px) { .modal-overlay { align-items: center; padding: 20px; } }

/* ─── Doc chips ──────────────────────────────────────────────────────────────── */
.doc-chip {
  display: inline-flex; align-items: center; gap: .25rem; font-size: .68rem; font-weight: 700;
  background: var(--primary); color: white; padding: .2rem .55rem;
  border-radius: .4rem; text-decoration: none; transition: background .15s;
}
.doc-chip:hover { background: #1C2E21; }
.doc-link-tracker {
  display: inline-flex; align-items: center; gap: .35rem; font-size: .78rem;
  font-weight: 700; color: var(--primary); text-decoration: underline; text-underline-offset: 3px;
}

/* ─── Skeleton ───────────────────────────────────────────────────────────────── */
.loading-skeleton {
  animation: shimmer 1.4s infinite;
  background: linear-gradient(90deg, var(--border) 25%, var(--surface-3) 50%, var(--border) 75%);
  background-size: 200% 100%; color: transparent !important; pointer-events: none;
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ─── Toast ──────────────────────────────────────────────────────────────────── */
#toast {
  position: fixed; bottom: -5rem; left: 50%; transform: translateX(-50%);
  background: var(--text-1); color: white; display: flex; align-items: center; gap: .5rem;
  padding: .7rem 1.25rem; border-radius: 999px; font-size: .8rem; font-weight: 700;
  opacity: 0; transition: bottom .35s cubic-bezier(.34,1.56,.64,1), opacity .25s;
  z-index: 9999; white-space: nowrap; box-shadow: 0 6px 24px rgba(0,0,0,.18);
  pointer-events: none; border: 1px solid rgba(255,255,255,.08);
}
#toast.show { bottom: 1.75rem; opacity: 1; }

/* ─── Misc ───────────────────────────────────────────────────────────────────── */
.hidden { display: none !important; }
.uppercase { text-transform: uppercase; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.spin { animation: spin .8s linear infinite; }

/* ─── Mobile Global Improvements ────────────────────────────────────────────── */
@media (max-width: 600px) {
  /* Page layout */
  .page-content { padding: 16px 12px 100px; }

  /* Hero */
  .page-hero { margin-bottom: 14px; }
  .page-hero h1 { font-size: 20px; }
  .page-hero p  { font-size: 12px; }

  /* Stats: tighter on mobile */
  .stats-row { gap: 8px; margin-bottom: 12px; }
  .stat-card { padding: 12px 14px; border-radius: var(--radius); }
  .stat-value { font-size: 24px; }

  /* Table card */
  .table-card { border-radius: var(--radius-lg); }

  /* Filter bar layout — fully stacked */
  .filter-bar {
    flex-direction: column; align-items: stretch;
    gap: 8px; padding: 12px 14px 10px;
  }
  .filter-bar-top {
    display: flex; align-items: center; gap: 8px; width: 100%;
  }
  .filter-heading { font-size: 13px; }
  .filter-spacer  { flex: 1; }
  .search-wrap    { width: 100%; min-width: 0; }
  .search-wrap input, .search-input { font-size: 14px; height: 42px; border-radius: 10px; }
  .filter-bar-filters { display: flex; gap: 6px; width: 100%; }
  .filter-bar-filters > * { flex: 1; min-width: 0; }
  .filter-select, #filterStatus { height: 40px; font-size: 13px; border-radius: 10px; }
  .pic-ac-input { width: 100% !important; height: 40px !important; border-radius: 10px !important; }
  .filter-date-wrap { border-radius: 10px; width: 100%; }
  .filter-date { width: calc(50% - 15px); font-size: 12px; }
  .btn-refresh { height: 38px; padding: 0 12px; }

  /* Pagination: bigger touch targets */
  .page-btn { height: 40px; padding: 0 18px; font-size: .8rem; }
  .table-footer, .pagination-bar { padding: 12px 14px; }

  /* Toast: above safe area */
  #toast { bottom: -5rem; }
  #toast.show { bottom: max(1.5rem, env(safe-area-inset-bottom, 1.5rem)); }

  /* Topbar: condensed */
  .topbar { height: 52px; padding: 0 12px; gap: 8px; }
  .topbar-nav-btn, .nav-link { padding: 5px 9px; font-size: 10.5px; gap: 4px; }
  /* Sembunyikan label teks logo di mobile — sisakan icon saja */
  .logo-text { display: none; }
  /* Kurangi ukuran logo icon */
  .logo-icon { width: 30px; height: 30px; }
  /* Logout button: icon saja di mobile */
  .topbar-logout .logout-label { display: none; }

  /* Mobile card: active state for tap feedback */
  .m-card:active { transform: scale(.985); box-shadow: var(--shadow-sm); }
  .m-card { border-radius: var(--radius-lg); padding: 14px 15px; }
  .m-card-name { font-size: 13.5px; }

  /* Buttons: min 44px tap target */
  .btn-primary { min-height: 44px; font-size: .9rem; }
  .modal-close  { width: 36px; height: 36px; }
}