:root {
  --brand-900: #000000;
  --brand-800: #0B0B0B;
  --brand-700: #1C1C1C;
  --brand-600: #2E2E2E;
  --tone-500: #1A1A1A;
  --tone-300: #9C9C9C;
  --tone-100: #EAEAEA;
  --tone-50:  #F3F3F3;
  --bg:       #F2F2F2;
  --card:     #FFFFFF;
  --ink:      #0B0B0B;
  --ink-2:    #4D4D4D;
  --ink-3:    #8C8C8C;
  --line:     #E5E5E5;
  --danger:   #D2463C;
  --danger-bg:#FCECEA;
  --ok:       #1F8A5B;
  /* theme surfaces — redefined for dark mode below */
  --primary:  #0B0B0B;
  --accent-ink: #111111;
  --field:    #F6F6F6;
  --nav-bg:   rgba(255,255,255,.96);
  --grip:     #CFCFCF;
  --backdrop: #E4E4E4;
  --divider:  rgba(0,0,0,.08);
  --tint-a:   #EBEBEB;
  --tint-b:   #F1F1F1;
  --tint-c:   #F6F6F6;
  --amber-line: #F3DFB8;
  --danger-line: #F5D0CC;
  --logo-filter: none;
  --on-primary: #FFFFFF;
  color-scheme: light;
  --amber: #B7791F; --amber-bg: #FDF3E1; --green: #1F8A5B; --green-bg: #E6F4EC;
  --radius-lg: 26px;
  --radius:    20px;
  --radius-sm: 14px;
  --shadow:   0 10px 30px -14px rgba(0, 0, 0, .18);
  --shadow-lg:0 24px 50px -20px rgba(0, 0, 0, .45);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --font: "Inter", "Noto Sans Myanmar", "Pyidaungsu", "Myanmar Text", system-ui, -apple-system, sans-serif;
}

/* ---------- dark theme (black) ---------- */
:root[data-theme="dark"] {
  --brand-900: #121212;
  --brand-800: #1A1A1A;
  --brand-700: #262626;
  --brand-600: #363636;
  --tone-500: #E6E6E6;
  --tone-300: #A3A3A3;
  --tone-100: #2A2A2A;
  --tone-50:  #1F1F1F;
  --bg:       #0A0A0A;
  --card:     #151515;
  --ink:      #F2F2F2;
  --ink-2:    #B5B5B5;
  --ink-3:    #7D7D7D;
  --line:     #2A2A2A;
  --danger:   #F08A80;
  --danger-bg:#3A1D24;
  --danger-line: #5A2A31;
  --amber:    #EDB660;
  --amber-bg: #33281A;
  --amber-line: #4E3B20;
  --green:    #2FA772;
  --green-bg: #12301F;
  --primary:  #F2F2F2;
  --accent-ink: #EDEDED;
  --field:    #1C1C1C;
  --nav-bg:   rgba(21,21,21,.94);
  --grip:     #3A3A3A;
  --backdrop: #000000;
  --divider:  rgba(255,255,255,.08);
  --tint-a:   #1E1E1E;
  --tint-b:   #1A1A1A;
  --tint-c:   #171717;
  --shadow:   0 10px 30px -14px rgba(0,0,0,.7);
  --shadow-lg:0 24px 50px -20px rgba(0,0,0,.85);
  --logo-filter: brightness(0) invert(.93);
  --on-primary: #0B0B0B;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --brand-900: #121212;
    --brand-800: #1A1A1A;
    --brand-700: #262626;
    --brand-600: #363636;
    --tone-500: #E6E6E6;
    --tone-300: #A3A3A3;
    --tone-100: #2A2A2A;
    --tone-50:  #1F1F1F;
    --bg:       #0A0A0A;
    --card:     #151515;
    --ink:      #F2F2F2;
    --ink-2:    #B5B5B5;
    --ink-3:    #7D7D7D;
    --line:     #2A2A2A;
    --danger:   #F08A80;
    --danger-bg:#3A1D24;
    --danger-line: #5A2A31;
    --amber:    #EDB660;
    --amber-bg: #33281A;
    --amber-line: #4E3B20;
    --green:    #2FA772;
    --green-bg: #12301F;
    --primary:  #F2F2F2;
    --accent-ink: #EDEDED;
    --field:    #1C1C1C;
    --nav-bg:   rgba(21,21,21,.94);
    --grip:     #3A3A3A;
    --backdrop: #000000;
    --divider:  rgba(255,255,255,.08);
    --tint-a:   #1E1E1E;
    --tint-b:   #1A1A1A;
    --tint-c:   #171717;
    --shadow:   0 10px 30px -14px rgba(0,0,0,.7);
    --shadow-lg:0 24px 50px -20px rgba(0,0,0,.85);
    --logo-filter: brightness(0) invert(.93);
    --on-primary: #0B0B0B;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; }
body {
  -webkit-text-size-adjust: 100%;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
a { color: inherit; text-decoration: none; }
svg.i { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.num { font-variant-numeric: tabular-nums; letter-spacing: -.02em; }

.app {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100dvh;
  position: relative;
  padding-bottom: calc(110px + var(--safe-b));
}

/* ---------- top / headers ---------- */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(18px + var(--safe-t)) 20px 6px;
}
.avatar {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--primary); color: var(--on-primary);
  font-weight: 600; font-size: 17px;
  box-shadow: 0 0 0 3px var(--card), var(--shadow);
}
.avatar.sm { width: 42px; height: 42px; font-size: 15px; box-shadow: none; }
.avatar.tint { background: var(--tone-100); color: var(--accent-ink); }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--card); color: var(--ink);
  box-shadow: var(--shadow);
}
.icon-btn.glass { background: rgba(255,255,255,.1); color: #fff; box-shadow: none; }
.brand-chip { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13px; color: var(--ink-2); }
.brand-chip img { height: 26px; filter: var(--logo-filter); }

.greet { padding: 14px 20px 18px; }
.greet small { color: var(--ink-3); font-size: 14px; }
.greet h1 { margin: 2px 0 0; font-size: 24px; font-weight: 600; letter-spacing: -.01em; }

.hero-head {
  background: radial-gradient(120% 90% at 100% 0%, var(--brand-600) 0%, var(--brand-800) 55%, var(--brand-900) 100%);
  color: #fff;
  padding: calc(16px + var(--safe-t)) 20px 72px;
  border-radius: 0 0 34px 34px;
}
.hero-head .row { display: flex; align-items: center; justify-content: space-between; }
.hero-head h1 { margin: 22px 0 0; font-size: 26px; line-height: 1.25; font-weight: 600; }
.hero-head h1 span { color: var(--tone-300); display: block; }
.hero-head .sub { color: rgba(255,255,255,.65); font-size: 13px; margin-top: 4px; }
.search {
  margin-top: 18px; display: flex; gap: 10px;
}
.search label {
  flex: 1; display: flex; align-items: center; gap: 10px;
  background: var(--card); color: var(--ink-3); border-radius: 999px; padding: 0 18px; height: 50px;
}
.search input { border: 0; outline: 0; flex: 1; min-width: 0; color: var(--ink); background: transparent; font-size: 16px; -webkit-appearance: none; appearance: none; }
.overlap { margin-top: -50px; position: relative; padding: 0 16px; }

/* ---------- cards ---------- */
.section { padding: 0 16px; margin-bottom: 16px; }
.card { background: var(--card); border-radius: var(--radius-lg); padding: 18px; box-shadow: var(--shadow); }
.card-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.card-title h2 { margin: 0; font-size: 15px; font-weight: 600; }
.card-title a, .link { font-size: 13px; color: var(--tone-500); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }

.brand-card {
  position: relative; overflow: hidden;
  background: radial-gradient(130% 120% at 100% 0%, var(--brand-600) 0%, var(--brand-800) 50%, var(--brand-900) 100%);
  color: #fff; border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-lg);
}
.brand-card .label { font-size: 13px; color: rgba(255,255,255,.7); }
.brand-card .big { font-size: 34px; font-weight: 600; margin: 4px 0 2px; line-height: 1.15; }
.brand-card .big small { font-size: 15px; font-weight: 500; color: rgba(255,255,255,.7); margin-left: 4px; }
.brand-card .meta { font-size: 13px; color: rgba(255,255,255,.7); }
.brand-card .mark {
  position: absolute; right: -26px; top: -18px; width: 150px; opacity: .07; pointer-events: none;
}
.spark { display: flex; align-items: flex-end; gap: 6px; height: 64px; margin-top: 16px; }
.spark div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.spark i { display: block; width: 100%; border-radius: 6px; background: rgba(255,255,255,.18); min-height: 4px; }
.spark div.today i { background: #fff; }
.spark span { font-size: 10px; color: rgba(255,255,255,.55); font-style: normal; line-height: 1; }

.tint-card { background: linear-gradient(135deg, var(--tint-a), var(--tint-b) 60%, var(--tint-c)); border-radius: var(--radius-lg); padding: 16px 18px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; row-gap: 14px; }
.stats > div { padding: 2px 0 2px 14px; border-left: 1px solid var(--divider); min-width: 0; }
.stats > div:nth-child(odd) { border-left: 0; padding-left: 0; }
.stats > div:nth-child(n+3) { border-top: 1px solid var(--divider); padding-top: 12px; }
.stats .k { font-size: 12px; color: var(--ink-2); }
.stats .v { font-size: 18px; font-weight: 600; margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stats .u { font-size: 11px; color: var(--ink-3); }

.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; text-align: center; }
.quick a { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-2); font-weight: 500; }
.quick .qi { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--tone-50); color: var(--accent-ink); border: 1px solid var(--line); }
.quick a:first-child .qi { background: var(--tone-100); border-color: transparent; }

/* ---------- lists ---------- */
.list { display: flex; flex-direction: column; }
.item {
  display: flex; align-items: center; gap: 12px; padding: 12px 0;
  border-top: 1px solid var(--line); text-align: left; width: 100%;
}
.item:first-child { border-top: 0; padding-top: 2px; }
.item .body { flex: 1; min-width: 0; }
.item .t { font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item .s { font-size: 12.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item .amt { font-weight: 600; font-size: 15px; text-align: right; white-space: nowrap; }
.item .amt small { display: block; font-size: 11.5px; color: var(--ink-3); font-weight: 500; }
.bar { height: 6px; background: var(--tone-50); border-radius: 99px; margin-top: 8px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--ink); border-radius: 99px; }

.day-head { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 600; color: var(--ink-3); padding: 14px 6px 8px; }
.day-group { background: var(--card); border-radius: var(--radius); padding: 6px 16px; box-shadow: var(--shadow); }

.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 16px 14px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; height: 36px; padding: 0 16px; border-radius: 999px; font-size: 13px; font-weight: 500;
  background: var(--card); color: var(--ink-2); border: 1px solid var(--line);
}
.chip.on { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.range { display: flex; gap: 10px; padding: 0 16px 14px; }
.range input { flex: 1; min-width: 0; }

.sum-strip {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--card); border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow);
}
.sum-strip .k { font-size: 12px; color: var(--ink-3); }
.sum-strip .v { font-size: 20px; font-weight: 600; }

.empty { text-align: center; padding: 34px 20px; color: var(--ink-3); font-size: 14px; }
.empty svg { width: 42px; height: 42px; stroke-width: 1.4; color: var(--tone-300); margin-bottom: 8px; }
.more { display: block; width: 100%; margin-top: 14px; height: 46px; border-radius: 999px; background: var(--card); font-weight: 600; color: var(--accent-ink); box-shadow: var(--shadow); }

.badge { display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 99px; background: var(--tone-50); color: var(--accent-ink); vertical-align: middle; }
.badge.admin { background: var(--primary); color: var(--on-primary); }
.badge.off { background: var(--danger-bg); color: var(--danger); }

/* ---------- bottom nav ---------- */
.nav {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: calc(14px + var(--safe-b)); z-index: 20;
  width: calc(100% - 32px); max-width: 448px;
  background: var(--nav-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: 999px; padding: 8px; display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 16px 40px -14px rgba(0,0,0,.3);
}
.nav a {
  height: 48px; min-width: 48px; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 8px;
  color: var(--ink-3); font-size: 14px; font-weight: 600; transition: background .2s, color .2s, padding .2s;
}
.nav a span { display: none; }
.nav a.on { background: var(--primary); color: var(--on-primary); padding: 0 18px; }
.nav a.on span { display: inline; }
.nav .fab {
  width: 52px; height: 52px; border-radius: 50%; background: var(--primary);
  color: var(--on-primary); display: grid; place-items: center; box-shadow: 0 10px 20px -8px rgba(0,0,0,.55);
}
.nav .fab svg { width: 24px; height: 24px; stroke-width: 2.2; }

/* ---------- forms ---------- */
.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-size: 13px; font-weight: 500; color: var(--ink-2); margin-bottom: 6px; }
.input {
  width: 100%; height: 52px; border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: var(--field); padding: 0 16px; outline: none; font-size: 16px; transition: border .15s, background .15s;
}
/* iOS renders date inputs centred and shorter than other fields */
input[type="date"].input { -webkit-appearance: none; appearance: none; display: flex; align-items: center; text-align: left; min-width: 0; }
input[type="date"].input::-webkit-date-and-time-value { text-align: left; margin: 0; }
textarea.input { height: 84px; padding: 14px 16px; resize: none; }
.input:focus { border-color: var(--tone-500); background: var(--card); }
.input.amount { font-size: 26px; font-weight: 600; height: 64px; }
.amount-wrap { position: relative; }
.amount-wrap::after { content: "Ks"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--ink-3); font-weight: 600; }
.amount-chips { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.amount-chips button { height: 32px; padding: 0 12px; border-radius: 99px; background: var(--tone-50); color: var(--accent-ink); font-size: 12.5px; font-weight: 600; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.btn {
  height: 56px; width: 100%; border-radius: 999px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 8px 0 24px; font-weight: 600; font-size: 15px;
  background: radial-gradient(140% 140% at 0% 0%, var(--brand-600), var(--brand-800) 60%, var(--brand-900));
  color: #fff; box-shadow: var(--shadow-lg);
}
.btn .go { width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--brand-800); display: grid; place-items: center; }
.btn[disabled] { opacity: .6; }
.btn.center { justify-content: center; padding: 0 24px; }
.btn-ghost { height: 50px; width: 100%; border-radius: 999px; background: var(--tone-50); color: var(--accent-ink); font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px; }
.btn-danger { height: 50px; width: 100%; border-radius: 999px; background: var(--danger-bg); color: var(--danger); font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px; }
.err { color: var(--danger); font-size: 13px; min-height: 18px; margin: -4px 0 10px; }

/* ---------- login ---------- */
.login { min-height: 100dvh; display: flex; flex-direction: column; }
.login .top {
  background: radial-gradient(120% 90% at 100% 0%, var(--brand-600) 0%, var(--brand-800) 55%, var(--brand-900) 100%);
  color: #fff; padding: calc(56px + var(--safe-t)) 28px 96px; border-radius: 0 0 40px 40px; position: relative; overflow: hidden;
}
.login .top .mark-bg { position: absolute; right: -60px; bottom: -40px; width: 260px; opacity: .06; }
.login .logo-tile { width: 64px; height: 64px; border-radius: 20px; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); }
.login .logo-tile img { width: 34px; }
.login h1 { font-size: 30px; font-weight: 600; margin: 28px 0 0; line-height: 1.2; letter-spacing: -.01em; }
.login h1 span { display: block; color: var(--tone-300); }
.login .tag { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-top: 10px; }
.login form { margin: -60px 18px 0; position: relative; }
.login .foot { text-align: center; color: var(--ink-3); font-size: 12px; margin: auto 0 calc(24px + var(--safe-b)); padding-top: 24px; }
.pw { position: relative; }
.pw button { position: absolute; right: 6px; top: 6px; width: 40px; height: 40px; display: grid; place-items: center; color: var(--ink-3); }

/* ---------- sheet ---------- */
.scrim { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 40; opacity: 0; transition: opacity .2s; }
.sheet {
  position: fixed; left: 50%; bottom: 0; z-index: 41; width: 100%; max-width: 480px;
  transform: translate(-50%, 100%); transition: transform .28s cubic-bezier(.2,.8,.2,1);
  background: var(--bg); border-radius: 30px 30px 0 0; max-height: 92dvh; overflow-y: auto;
  padding: 10px 18px calc(22px + var(--safe-b));
}
.sheet.open { transform: translate(-50%, 0); }
.scrim.open { opacity: 1; }
.sheet .grip { width: 42px; height: 5px; border-radius: 9px; background: var(--grip); margin: 0 auto 12px; }
.sheet .head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.sheet .head h3 { margin: 0; font-size: 19px; font-weight: 600; }
.sheet .head .icon-btn { width: 38px; height: 38px; box-shadow: none; }
.sheet .stack { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.sheet .info { font-size: 12px; color: var(--ink-3); text-align: center; margin-top: 10px; }

.toast {
  position: fixed; left: 50%; top: calc(16px + var(--safe-t)); transform: translate(-50%, -140%);
  background: var(--primary); color: var(--on-primary); padding: 12px 18px; border-radius: 999px; font-size: 14px; font-weight: 500;
  z-index: 60; visibility: hidden; opacity: 0; transition: transform .25s, opacity .25s, visibility .25s; box-shadow: var(--shadow-lg); width: max-content; max-width: calc(100% - 32px); text-align: center;
}
.toast.show { transform: translate(-50%, 0); visibility: visible; opacity: 1; }
.toast.bad { background: var(--danger); }

.loading { display: grid; place-items: center; padding: 60px 0; }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--tone-100); border-top-color: var(--accent-ink); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.profile-card { display: flex; align-items: center; gap: 14px; }
.menu .item { padding: 15px 0; }
.menu .item .qi { width: 40px; height: 40px; border-radius: 12px; background: var(--tone-50); color: var(--accent-ink); display: grid; place-items: center; }
.menu .item.danger .qi { background: var(--danger-bg); color: var(--danger); }
.menu .item.danger .t { color: var(--danger); }
.chev { color: var(--ink-3); }

.install-banner { display: flex; align-items: center; gap: 12px; }
.install-banner .body { flex: 1; font-size: 13px; color: var(--ink-2); }
.install-banner .body b { display: block; color: var(--ink); font-size: 14px; }
.install-banner button { flex: none; white-space: nowrap; height: 38px; padding: 0 16px; border-radius: 99px; background: var(--primary); color: var(--on-primary); font-weight: 600; font-size: 13px; }

.toggle { display: flex; background: var(--field); border-radius: 999px; padding: 4px; }
.toggle button { flex: 1; height: 42px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--ink-2); }
.toggle button.on { background: var(--card); color: var(--ink); box-shadow: 0 4px 12px -6px rgba(0,0,0,.25); }

@media (min-width: 520px) {
  body { background: var(--backdrop); }
  .app { background: var(--bg); box-shadow: 0 0 60px -20px rgba(0,0,0,.2); }
}

/* ---------- iPhone install guide ---------- */
.steps { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.steps li { display: flex; align-items: center; gap: 14px; background: var(--card); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); font-size: 14px; color: var(--ink-2); }
.steps li b { color: var(--ink); }
.steps .n { width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: var(--on-primary); font-weight: 600; display: grid; place-items: center; flex: none; }
.steps .ios-ic { width: 34px; height: 34px; border-radius: 9px; background: var(--tone-50); color: #0A84FF; display: grid; place-items: center; flex: none; margin-left: auto; }
.steps .ios-ic svg { width: 20px; height: 20px; }

/* ---------- approvals ---------- */
a.chip { display: inline-flex; align-items: center; }
.pill { display: inline-block; vertical-align: 2px; margin-left: 4px; font-size: 10.5px; font-weight: 600; letter-spacing: .02em; padding: 1px 7px; border-radius: 99px; }
.pill.pending { background: var(--amber-bg); color: var(--amber); }
.pill.rejected { background: var(--danger-bg); color: var(--danger); }

.status-note { display: flex; gap: 12px; align-items: flex-start; border-radius: var(--radius-sm); padding: 12px 14px; margin-bottom: 14px; font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.status-note svg.i { width: 18px; height: 18px; margin-top: 1px; }
.status-note b { display: block; color: var(--ink); font-size: 14px; }
.status-note.pending { background: var(--amber-bg); } .status-note.pending svg { color: var(--amber); }
.status-note.rejected { background: var(--danger-bg); } .status-note.rejected svg { color: var(--danger); }
.status-note.info { background: var(--tone-50); } .status-note.info svg { color: var(--accent-ink); }

.review-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.btn-approve { height: 50px; width: 100%; border-radius: 999px; background: var(--green); color: #fff; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 10px 20px -12px rgba(31,138,91,.7); }
.btn-approve:disabled, .mini:disabled { opacity: .6; }

.approval-card {
  display: flex; align-items: center; gap: 14px; padding: 14px 14px 14px 16px; border-radius: var(--radius-lg);
  background: var(--amber-bg); color: var(--ink); border: 1px solid var(--amber-line);
}
.approval-card .ac-ic { width: 42px; height: 42px; border-radius: 50%; background: var(--card); color: var(--amber); display: grid; place-items: center; flex: none; }
.approval-card .body { flex: 1; min-width: 0; font-size: 13px; color: var(--ink-2); }
.approval-card .body b { display: block; font-size: 14.5px; color: var(--ink); }
.approval-card .go { width: 38px; height: 38px; border-radius: 50%; background: var(--primary); color: var(--on-primary); display: grid; place-items: center; flex: none; }
.approval-card.warn { background: var(--danger-bg); border-color: var(--danger-line); }
.approval-card.warn .ac-ic { color: var(--danger); }

.quick .qi { position: relative; }
.quick .qi .dot { position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: var(--danger); color: #fff; font-size: 11px; font-weight: 700; font-style: normal; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--card); }

.ap-list { padding-top: 8px; padding-bottom: 8px; }
.ap-row { border-top: 1px solid var(--line); padding-bottom: 12px; }
.ap-row:first-child { border-top: 0; }
.ap-row .item { border-top: 0; padding-bottom: 8px; }
.ap-row:first-child .item { padding-top: 6px; }
.ap-reason { display: flex; gap: 6px; align-items: flex-start; font-size: 12.5px; color: var(--danger); background: var(--danger-bg); border-radius: 10px; padding: 8px 10px; margin-left: 54px; }
.ap-reason svg.i { width: 14px; height: 14px; margin-top: 2px; }
.ap-actions { display: flex; gap: 8px; justify-content: flex-end; }
.mini { height: 36px; padding: 0 14px; border-radius: 99px; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.mini svg.i { width: 16px; height: 16px; }
.mini.approve { background: var(--green); color: #fff; }
.mini.reject { background: var(--danger-bg); color: var(--danger); }

/* dark: soften pure-white accents */
:root[data-theme="dark"] .spark div.today i, :root[data-theme="dark"] .btn .go { background: #E8EDF7; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .spark div.today i, :root:not([data-theme="light"]) .btn .go { background: #E8EDF7; }
}

/* ---------- appearance picker ---------- */
.theme-row { padding: 14px 0 6px; border-top: 1px solid var(--line); }
.theme-row .t { font-weight: 600; font-size: 15px; margin-bottom: 10px; display: flex; align-items: center; gap: 12px; }
.theme-row .t .qi { width: 40px; height: 40px; border-radius: 12px; background: var(--tone-50); color: var(--accent-ink); display: grid; place-items: center; }
.theme-row .toggle button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 13.5px; }
.theme-row .toggle svg.i { width: 16px; height: 16px; }
.topbar .right { display: flex; align-items: center; gap: 12px; }
.list > .theme-row:first-child { border-top: 0; padding-top: 4px; }

/* ---------- developer credit ---------- */
.credit { margin-top: 6px; font-size: 12px; color: var(--ink-3); }
.credit a { color: var(--ink-2); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.credit a:hover, .credit a:focus-visible { color: var(--ink); text-decoration-color: currentColor; }
.role-hint { font-size: 12.5px; color: var(--ink-3); margin-top: 8px; padding-left: 4px; }
.badge.staff { background: var(--field); color: var(--ink-2); border: 1px solid var(--line); }
.me-chip { display: flex; align-items: center; gap: 12px; background: var(--field); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 14px; }
.me-chip .avatar.sm { width: 36px; height: 36px; font-size: 13px; }
.me-chip b { display: block; font-size: 15px; }
.me-chip small { display: block; font-size: 12px; color: var(--ink-3); }

/* ---------- categories ---------- */
.cat-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-pick button {
  height: 38px; padding: 0 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  background: var(--field); color: var(--ink-2); border: 1px solid var(--line);
}
.cat-pick button.on { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.cat-pick button:disabled { opacity: .55; }
.cat-pick button.on:disabled { opacity: 1; }
.cat-pick .s { font-size: 13px; color: var(--ink-3); }
.cat-chips { padding-top: 0; }
.cat-chips .chip { height: 32px; font-size: 12.5px; padding: 0 13px; }
.card-title .s { font-size: 12.5px; color: var(--ink-3); }
.cat-row .t { font-size: 14.5px; }
.cat-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--tone-50); color: var(--accent-ink); display: grid; place-items: center; flex: none; }

/* ---------- remember me ---------- */
.check { display: flex; align-items: center; gap: 12px; margin: 2px 0 14px; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--primary); flex: none; margin: 0; }
.check b { display: block; font-size: 14px; font-weight: 600; }
.check small { display: block; font-size: 12px; color: var(--ink-3); }
.install-banner .btn-mini { flex: none; white-space: nowrap; height: 38px; padding: 0 16px; border-radius: 99px; background: var(--primary); color: var(--on-primary); font-weight: 600; font-size: 13px; display: inline-flex; align-items: center; }
