:root {
  --teal: #0d9488;
  --teal-deep: #0f766e;
  --teal-soft: #ccfbf1;
  --gold: #f59e0b;
  --gold-deep: #d97706;
  --coral: #e11d48;
  --sky: #0284c7;
  --ink: #134e4a;
  --muted: #5b7a76;
  --line: #99f6e4;
  --ok: #15803d;
  --danger: #be123c;
  --bg: #ecfeff;
  --card: #ffffff;
  --radius: 12px;
  --font: "Myanmar Text", "Padauk", "Noto Sans Myanmar", system-ui, sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  font-size: 14px;
  background:
    radial-gradient(700px 320px at 0% -5%, #fde68a 0%, transparent 50%),
    radial-gradient(650px 300px at 100% 0%, #99f6e4 0%, transparent 48%),
    linear-gradient(180deg, #ecfeff, #f0fdfa 45%, #fff7ed);
  padding-bottom: calc(8px + var(--safe-b));
}

button, input, select, textarea { font: inherit; }
button { cursor: pointer; touch-action: manipulation; }
.hidden { display: none !important; }

#app {
  max-width: 980px;
  margin: 0 auto;
  padding: calc(8px + var(--safe-t)) 8px 28px;
}

/* Light blue square wait spinner */
.spt-spinner-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 28px 12px;
  min-height: 120px;
}
.spt-spinner {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  background: #93c5fd;
  box-shadow: 0 0 0 2px #bfdbfe inset;
  animation: spt-spin 0.7s linear infinite;
}
.spt-spinner-wrap .muted { margin: 0; font-size: 0.85rem; }
@keyframes spt-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
img.lazy-img {
  background: #dbeafe;
  min-height: 40px;
  object-fit: cover;
}
img.lazy-img.lazy-loaded { background: transparent; }

/* —— Compact 3D buttons —— */
.btn {
  --btn-face: var(--teal);
  --btn-edge: var(--teal-deep);
  --btn-text: #fff;
  appearance: none;
  border: 0;
  border-radius: 10px;
  padding: 8px 12px;
  min-height: 36px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--btn-text);
  background: linear-gradient(180deg, color-mix(in srgb, var(--btn-face) 88%, #fff), var(--btn-face));
  box-shadow:
    0 1px 0 color-mix(in srgb, var(--btn-face) 40%, #fff) inset,
    0 -2px 0 color-mix(in srgb, var(--btn-edge) 70%, #000) inset,
    0 3px 0 var(--btn-edge),
    0 6px 10px rgba(15, 118, 110, 0.22);
  transform: translateY(0);
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}
.btn:active:not(:disabled) {
  transform: translateY(2px);
  box-shadow:
    0 1px 0 color-mix(in srgb, var(--btn-face) 40%, #fff) inset,
    0 -1px 0 color-mix(in srgb, var(--btn-edge) 70%, #000) inset,
    0 1px 0 var(--btn-edge),
    0 3px 6px rgba(15, 118, 110, 0.18);
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn.secondary {
  --btn-face: #fef3c7;
  --btn-edge: #d97706;
  --btn-text: #78350f;
}
.btn.sky {
  --btn-face: var(--sky);
  --btn-edge: #0369a1;
}
.btn.gold {
  --btn-face: var(--gold);
  --btn-edge: var(--gold-deep);
  --btn-text: #422006;
}
.btn.danger {
  --btn-face: var(--coral);
  --btn-edge: #9f1239;
}
.btn.full { width: 100%; }
.btn.sm {
  padding: 6px 9px;
  min-height: 32px;
  font-size: 0.8rem;
  border-radius: 9px;
  box-shadow:
    0 1px 0 color-mix(in srgb, var(--btn-face) 40%, #fff) inset,
    0 -1px 0 color-mix(in srgb, var(--btn-edge) 70%, #000) inset,
    0 2px 0 var(--btn-edge),
    0 4px 8px rgba(15, 118, 110, 0.18);
}
.btn.sm:active:not(:disabled) {
  transform: translateY(2px);
  box-shadow:
    0 1px 0 color-mix(in srgb, var(--btn-face) 40%, #fff) inset,
    0 1px 0 var(--btn-edge),
    0 2px 5px rgba(15, 118, 110, 0.15);
}

.remember-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 12px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--teal-deep);
  cursor: pointer;
  user-select: none;
}
.remember-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--teal);
}

.login-shell {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 12px 10px calc(16px + var(--safe-b));
}
.login-card {
  width: min(400px, 100%);
  background: linear-gradient(165deg, #fff 0%, #f0fdfa 55%, #fffbeb 100%);
  border: 1.5px solid #5eead4;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(13, 148, 136, 0.14);
  padding: 16px 14px 14px;
  text-align: center;
}
.login-card img.logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin: 0 auto 6px;
  display: block;
}
.login-card h1 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--teal-deep);
  line-height: 1.35;
}
.login-card .sub {
  margin: 4px 0 12px;
  color: var(--muted);
  font-size: 0.8rem;
}

.topbar {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
  flex-wrap: wrap;
  background: linear-gradient(120deg, rgba(255,255,255,0.92), rgba(204,251,241,0.85));
  border: 1.5px solid #5eead4;
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.1);
}
.topbar img.logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}
.topbar .brand { flex: 1; min-width: 120px; }
.topbar h1 {
  margin: 0;
  font-size: 0.92rem;
  color: var(--teal-deep);
  line-height: 1.25;
}
.topbar .meta {
  color: var(--muted);
  font-size: 0.72rem;
  margin-top: 1px;
}
.topbar-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-left: auto;
}

.tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  margin: 0 0 8px;
  padding: 0;
  overflow: visible;
}
.tabs.tabs-4,
.tabs.tabs-5,
.tabs.tabs-6,
.tabs.tabs-7,
.tabs.tabs-8,
.tabs.tabs-9 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.tabs.tabs-10,
.tabs.tabs-11,
.tabs.tabs-12,
.tabs.tabs-13 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.tabs.tabs-10 .tab,
.tabs.tabs-11 .tab,
.tabs.tabs-12 .tab,
.tabs.tabs-13 .tab {
  font-size: 0.65rem;
  padding: 5px 2px;
}
.tab {
  width: 100%;
  border: 0;
  background: linear-gradient(180deg, #fff, #ecfeff);
  color: var(--teal-deep);
  border-radius: 10px;
  padding: 6px 4px;
  min-height: 32px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  text-align: center;
  box-shadow:
    0 1px 0 #fff inset,
    0 2px 0 #14b8a6,
    0 4px 8px rgba(13, 148, 136, 0.14);
}
.tab:active { transform: translateY(1px); }
.tab.active {
  background: linear-gradient(180deg, #2dd4bf, #0d9488);
  color: #fff;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.35) inset,
    0 2px 0 #0f766e,
    0 4px 8px rgba(13, 148, 136, 0.22);
}

.card {
  background: linear-gradient(180deg, #ffffff, #f0fdfa);
  border: 1.5px solid #99f6e4;
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.08);
  padding: 10px;
  margin-bottom: 8px;
}
.card h2 {
  margin: 0 0 8px;
  font-size: 0.9rem;
  color: var(--teal-deep);
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
}
.stat {
  background: linear-gradient(145deg, #fff 0%, #ccfbf1 70%, #fef3c7 130%);
  border: 1.5px solid #5eead4;
  border-radius: 10px;
  padding: 8px;
  box-shadow: 0 3px 8px rgba(13, 148, 136, 0.08);
}
.stat .label { color: var(--muted); font-size: 0.65rem; font-weight: 600; line-height: 1.2; }
.stat .value {
  font-size: 0.85rem;
  font-weight: 800;
  margin-top: 2px;
  color: var(--teal-deep);
  word-break: break-all;
}
.stat.balance .value { color: var(--ok); }
.stat.spent .value { color: var(--coral); }

.field { text-align: left; margin-bottom: 8px; }
.field label {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 3px;
}
.field input, .field select, .field textarea {
  width: 100%;
  border: 1.5px solid #99f6e4;
  border-radius: 10px;
  padding: 8px 10px;
  min-height: 38px;
  background: #fff;
  color: var(--ink);
  font-size: 16px; /* iOS zoom prevent */
}
.field textarea { min-height: 64px; resize: vertical; font-size: 16px; }
.row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.msg {
  margin: 6px 0 0;
  color: var(--danger);
  font-size: 0.8rem;
  min-height: 1em;
}
.msg.ok { color: var(--ok); }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
  min-width: 460px;
}
th, td {
  text-align: left;
  padding: 7px 5px;
  border-bottom: 1px solid #99f6e4;
  vertical-align: top;
}
th { color: var(--muted); font-weight: 700; font-size: 0.7rem; }
.actions { display: flex; gap: 6px; flex-wrap: wrap; }

.assoc-list { display: grid; gap: 6px; }
.assoc-card {
  background: linear-gradient(160deg, #fff, #ecfeff);
  border: 1.5px solid #5eead4;
  border-radius: 10px;
  padding: 8px;
  box-shadow: 0 3px 8px rgba(13, 148, 136, 0.08);
}
.assoc-card h3 {
  margin: 0 0 4px;
  font-size: 0.9rem;
  color: var(--teal-deep);
}
.assoc-card .info {
  display: grid;
  gap: 2px;
  color: var(--muted);
  font-size: 0.75rem;
  margin-bottom: 6px;
}
.assoc-card .info strong { color: var(--ink); font-weight: 600; }
.assoc-card .actions { margin-top: 2px; }
.assoc-card .actions .btn { flex: 1; }

.expense-list { display: grid; gap: 6px; }
.expense-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
  background: linear-gradient(160deg, #fff, #ecfeff);
  border: 1.5px solid #5eead4;
  border-radius: 10px;
  padding: 8px;
}
.expense-main { flex: 1; min-width: 0; }
.expense-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: baseline;
}
.expense-amount { color: var(--coral); font-size: 0.95rem; }
.expense-date { color: var(--muted); font-size: 0.72rem; white-space: nowrap; }
.expense-meta {
  color: var(--teal-deep);
  font-size: 0.88rem;
  font-weight: 700;
  margin: 3px 0 6px;
  word-break: break-word;
}
.voucher-thumb {
  flex: 0 0 auto;
  min-width: 52px;
  height: 36px;
  align-self: center;
  padding: 0 8px;
  border: 1.5px solid #67e8f9;
  border-radius: 8px;
  background: #ecfeff;
  color: var(--teal-deep);
  font-size: 0.72rem;
  font-weight: 800;
  box-shadow: 0 2px 0 #0e7490, 0 4px 8px rgba(14, 116, 144, 0.2);
}
.voucher-thumb:active { transform: translateY(1px); }
.voucher-thumb.empty {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.75rem;
  box-shadow: none;
  border-style: dashed;
  width: 52px;
  padding: 0;
}

.force-update-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(2, 20, 18, 0.96);
  display: grid;
  place-items: center;
  padding: 18px;
}
.force-update-card {
  width: min(420px, 100%);
  background: #042f2e;
  border: 1.5px solid #5eead4;
  border-radius: 14px;
  padding: 18px 16px;
  color: #ecfeff;
  text-align: center;
}
.force-update-card h2 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  color: #fef08a;
}
.force-update-card p {
  margin: 0 0 12px;
  line-height: 1.45;
  color: #ccfbf1;
}
.force-update-meta {
  font-size: 0.85rem;
  color: #99f6e4 !important;
}
.force-update-card .btn {
  width: 100%;
  margin-top: 6px;
}
.photo-pick-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 4px;
}
.photo-pick-name {
  font-size: 0.78rem;
  color: var(--muted);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 60, 55, 0.78);
  display: grid;
  place-items: center;
  padding: 10px;
  z-index: 50;
}
.modal-card {
  position: relative;
  width: min(920px, 100%);
  max-height: 90dvh;
  background: #042f2e;
  border-radius: 12px;
  overflow: auto;
  padding: 8px;
  border: 1.5px solid #5eead4;
}
.modal-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.modal-body {
  background: #f0fdfa;
  color: var(--ink);
  border-radius: 10px;
  padding: 12px;
  margin-top: 4px;
}
.modal-body .meet-popup .meeting-head {
  border-color: #99f6e4;
}
.modal-body .meeting-decisions {
  background: #fff;
  border-color: #99f6e4;
}
.modal-body .actions {
  margin-top: 10px;
}
.modal-close {
  position: sticky;
  top: 0;
  float: right;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: #fef3c7;
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1;
  box-shadow: 0 2px 0 #d97706;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.form-actions .btn { flex: 1 1 120px; }

.chart-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 8px;
}
.chart-wrap {
  position: relative;
  height: 220px;
  background: #fff;
  border: 1.5px solid #99f6e4;
  border-radius: 10px;
  padding: 6px;
}
.month-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
}
.month-chip {
  display: inline-block;
  background: #ecfeff;
  border: 1px solid #5eead4;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 0.7rem;
  color: var(--ink);
}

.year-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin-bottom: 4px;
}
.year-select {
  flex: 1 1 110px;
  min-width: 100px;
  max-width: 160px;
  min-height: 36px;
  padding: 6px 10px;
  border: 1.5px solid #5eead4;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  font-size: 0.95rem;
}
.col-matrix-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1.5px solid #99f6e4;
  border-radius: 10px;
  background: #fff;
}
.col-matrix {
  border-collapse: separate;
  border-spacing: 0;
  width: max-content;
  min-width: 100%;
  font-size: 0.72rem;
}
.col-matrix th,
.col-matrix td {
  border-bottom: 1px solid #ccfbf1;
  border-right: 1px solid #ecfeff;
  padding: 4px 3px;
  text-align: center;
  vertical-align: middle;
}
.col-matrix thead th {
  background: #f0fdfa;
  color: var(--teal-deep);
  font-weight: 800;
  position: sticky;
  top: 0;
  z-index: 2;
}
.col-matrix .col-name {
  text-align: left;
  min-width: 118px;
  max-width: 150px;
  padding: 6px 8px;
  position: sticky;
  left: 0;
  background: #fff;
  z-index: 1;
  font-weight: 700;
  font-size: 0.74rem;
  line-height: 1.25;
  word-break: break-word;
  box-shadow: 2px 0 4px rgba(13, 148, 136, 0.08);
}
.col-matrix thead .col-name {
  background: #f0fdfa;
  z-index: 3;
}
.col-matrix .col-m {
  min-width: 42px;
  width: 42px;
}
.col-matrix .col-total {
  min-width: 64px;
  font-weight: 800;
  color: var(--teal-deep);
  background: #ecfeff;
}
.col-matrix tbody tr:nth-child(even) .col-name,
.col-matrix tbody tr:nth-child(even) td {
  background: #f8fffe;
}
.col-matrix tbody tr:nth-child(even) .col-total {
  background: #e6fffa;
}
.col-matrix tfoot th,
.col-matrix tfoot td {
  background: #0f766e;
  color: #ecfeff;
  font-weight: 800;
  border-color: #0d9488;
  padding: 7px 4px;
}
.col-matrix tfoot .col-name {
  background: #0f766e;
  color: #fff;
  box-shadow: 2px 0 4px rgba(15, 118, 110, 0.25);
}
.col-matrix tfoot .col-grand {
  background: #134e4a;
  color: #fde68a;
  font-size: 0.78rem;
}
.amt-val {
  display: inline-block;
  min-height: 28px;
  line-height: 28px;
  font-weight: 700;
  color: var(--teal-deep);
}
.col-amt {
  position: relative;
  padding: 2px !important;
}
.amt-cell {
  appearance: none;
  border: 0;
  background: transparent;
  width: 100%;
  min-height: 28px;
  padding: 4px 2px;
  border-radius: 6px;
  font: inherit;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}
.amt-cell.has {
  background: #ccfbf1;
  color: var(--teal-deep);
}
.amt-cell.empty {
  color: #94a3b8;
  font-weight: 600;
}
.amt-cell:active {
  background: #99f6e4;
}
.amt-empty {
  color: #cbd5e1;
}
.amt-del {
  appearance: none;
  position: absolute;
  top: 0;
  right: 0;
  width: 14px;
  height: 14px;
  padding: 0;
  border: 0;
  border-radius: 0 0 0 5px;
  background: #fda4af;
  color: #9f1239;
  font-size: 0.65rem;
  line-height: 1;
  font-weight: 800;
  cursor: pointer;
  opacity: 0.85;
}
.amt-del:active { background: #e11d48; color: #fff; }

.attendee-grid {
  display: grid;
  gap: 6px;
  max-height: 180px;
  overflow: auto;
  padding: 6px;
  border: 1.5px solid #99f6e4;
  border-radius: 10px;
  background: #f8fffe;
}
.attendee-chip {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.attendee-chip input {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: var(--teal);
  flex: 0 0 auto;
}
.field textarea {
  width: 100%;
  min-height: 110px;
  resize: vertical;
  border: 1.5px solid #99f6e4;
  border-radius: 10px;
  padding: 8px 10px;
  background: #fff;
  color: var(--ink);
}
.meeting-list { display: grid; gap: 6px; }
.meeting-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px 10px;
  width: 100%;
  text-align: left;
  appearance: none;
  border: 1.5px solid #5eead4;
  border-radius: 10px;
  padding: 10px 12px;
  background: linear-gradient(160deg, #fff, #ecfeff);
  box-shadow: 0 3px 8px rgba(13, 148, 136, 0.08);
  cursor: pointer;
  font: inherit;
}
.meeting-row:active {
  transform: translateY(1px);
  background: #ccfbf1;
}
.meeting-row.emergency-row {
  border-color: #fda4af;
  background: linear-gradient(160deg, #fff, #fff1f2);
}
.meeting-row.emergency-row .meeting-date { color: #be123c; }
.notice-file { margin-top: 4px; }
.notice-row {
  display: grid;
  gap: 6px;
}
.notice-row .meeting-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.notice-open-text {
  display: grid;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.notice-list-thumb {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  border: 1px solid #99f6e4;
  background: #fff;
}
.notice-has-photo {
  font-size: 0.78rem;
  color: var(--sky);
  font-weight: 600;
}
.notice-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 2px 4px;
}
.notice-photo-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.notice-photo-preview {
  display: block;
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  border-radius: 10px;
  background: #042f2e;
}
.notice-caption .meeting-decisions {
  margin-top: 8px;
}
.photo-slots {
  display: grid;
  gap: 8px;
}
.photo-slot {
  display: grid;
  gap: 6px;
  padding: 8px;
  border: 1.5px dashed #5eead4;
  border-radius: 10px;
  background: #f8fffe;
}
.photo-slot input[type="file"] {
  width: 100%;
  font-size: 0.78rem;
}
.photo-preview {
  display: flex;
  align-items: center;
  gap: 8px;
}
.photo-preview img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  border: 1.5px solid #5eead4;
}
.meet-photo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.meeting-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid #ccfbf1;
}
.meeting-date {
  font-size: 1rem;
  color: var(--teal-deep);
}
.meeting-loc {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}
.meeting-block { margin-bottom: 8px; }
.meeting-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--muted);
  margin-bottom: 4px;
}
.meeting-attendees {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.meet-chip {
  display: inline-block;
  background: #ccfbf1;
  border: 1px solid #5eead4;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--teal-deep);
}
.meeting-decisions {
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--ink);
  background: #fff;
  border: 1px solid #ecfeff;
  border-radius: 8px;
  padding: 8px;
}
mark.meet-hit {
  background: #fde68a;
  color: #78350f;
  padding: 0 2px;
  border-radius: 3px;
}

@media (min-width: 720px) {
  body { font-size: 15px; }
  #app { padding: 16px 16px 40px; }
  .topbar { padding: 10px 12px; gap: 12px; }
  .topbar img.logo { width: 44px; height: 44px; }
  .topbar h1 { font-size: 1.1rem; }
  .tab {
    padding: 8px 6px;
    min-height: 34px;
    font-size: 0.82rem;
  }
  .card { padding: 12px; }
  .card h2 { font-size: 0.98rem; }
  .stat .value { font-size: 1.1rem; }
  .stat .label { font-size: 0.78rem; }
  .btn { min-height: 40px; padding: 9px 14px; }
}
