/* ASTRA · liquid glass UI */
:root {
  --bg: #03040b;
  --bg-2: rgba(255, 255, 255, 0.04);
  --text: #f4f3ff;
  --muted: #9aa0c3;
  --dim: #6b7197;
  --blue: #3d7bff;
  --indigo: #6a5cff;
  --violet: #a67cff;
  --pink: #f4a3c6;
  --peach: #ffc9a8;
  --grad: linear-gradient(120deg, #3d7bff 0%, #6a5cff 38%, #a67cff 64%, #f4a3c6 88%, #ffc9a8 100%);
  --grad-soft: linear-gradient(120deg, rgba(61,123,255,.28), rgba(166,124,255,.22) 55%, rgba(244,163,198,.2));
  --glass: linear-gradient(145deg, rgba(255,255,255,.10) 0%, rgba(255,255,255,.035) 45%, rgba(255,255,255,.06) 100%);
  --glass-2: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
  --stroke: rgba(255, 255, 255, 0.12);
  --stroke-2: rgba(255, 255, 255, 0.07);
  --blur: blur(26px) saturate(170%);
  --shadow: 0 24px 60px -18px rgba(0, 0, 0, .65), 0 2px 10px rgba(0, 0, 0, .25);
  --inner: inset 0 1px 0 rgba(255,255,255,.22), inset 0 -1px 0 rgba(255,255,255,.05), inset 0 0 0 1px rgba(255,255,255,.04);

  /* semantic (kept names used by app.js) */
  --gold: #f0b76a;
  --gold-2: #ffd49a;
  --gold-soft: rgba(240, 183, 106, 0.16);
  --red: #ff5a7a;
  --red-soft: rgba(255, 90, 122, 0.16);
  --green: #3ee0a1;
  --green-soft: rgba(62, 224, 161, 0.15);
  --blue-soft: rgba(61, 123, 255, 0.18);
  --accent: #b9a6ff;

  --radius: 24px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  color-scheme: dark;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { background: var(--bg); }
body {
  margin: 0; color: var(--text); background: var(--bg);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-size: 15px; line-height: 1.55; min-height: 100vh; overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font: inherit; color: inherit; }
a { color: #c9b8ff; }
::selection { background: rgba(166, 124, 255, .45); }

/* ---------- cosmic background ---------- */
.cosmos { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(1200px 700px at 110% -10%, rgba(61,123,255,.28), transparent 60%),
    radial-gradient(900px 600px at -20% 110%, rgba(166,124,255,.18), transparent 60%),
    radial-gradient(600px 400px at 50% 120%, rgba(244,163,198,.12), transparent 70%),
    #03040b; }
.cosmos i { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .7; mix-blend-mode: screen; animation: drift 26s ease-in-out infinite alternate; }
.cosmos i:nth-child(1) { width: 420px; height: 420px; left: -120px; top: 8%; background: #2f5bff; }
.cosmos i:nth-child(2) { width: 360px; height: 360px; right: -140px; top: 38%; background: #8b5cff; animation-duration: 32s; animation-delay: -8s; }
.cosmos i:nth-child(3) { width: 300px; height: 300px; left: 20%; bottom: -120px; background: #ff8ec0; opacity: .32; animation-duration: 38s; animation-delay: -16s; }
.cosmos::after { content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,.7), transparent 60%),
    radial-gradient(1px 1px at 68% 12%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(1.5px 1.5px at 82% 44%, rgba(200,210,255,.6), transparent 60%),
    radial-gradient(1px 1px at 34% 62%, rgba(255,255,255,.4), transparent 60%),
    radial-gradient(1px 1px at 90% 82%, rgba(255,220,240,.5), transparent 60%),
    radial-gradient(1px 1px at 6% 88%, rgba(255,255,255,.45), transparent 60%),
    radial-gradient(1.5px 1.5px at 52% 30%, rgba(190,180,255,.5), transparent 60%);
  animation: twinkle 7s ease-in-out infinite alternate; }
@keyframes drift { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(60px,-40px) scale(1.15); } 100% { transform: translate(-40px,50px) scale(.95); } }
@keyframes twinkle { from { opacity: .5; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .cosmos i, .cosmos::after { animation: none; } }

.app { max-width: 760px; margin: 0 auto; min-height: 100vh; padding: calc(var(--safe-t) + 14px) 16px calc(118px + var(--safe-b)); position: relative; }
.boot { display: grid; place-items: center; min-height: 80vh; }
.boot .logo-img { animation: breathe 2.4s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.06); filter: drop-shadow(0 0 30px rgba(120,120,255,.6)); } }

/* ---------- liquid glass primitive ---------- */
.card, .item, .alert, .nav-in, .icon-btn, .btn, .seg, .input, .rec-shell, .toast {
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
}
.card {
  position: relative; isolation: isolate;
  background: var(--glass);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 14px;
  box-shadow: var(--inner), var(--shadow);
  overflow: hidden;
  animation: rise .5s cubic-bezier(.2,.8,.2,1) both;
}
/* specular edge: gradient hairline that catches light */
.card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: -1;
  background: linear-gradient(135deg, rgba(255,255,255,.45), rgba(255,255,255,.04) 30%, rgba(255,255,255,0) 60%, rgba(166,124,255,.35) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
/* liquid sheen */
.card::after {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  width: 70%; height: 120px; left: -10%; top: -60px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,255,255,.14), transparent);
  filter: blur(6px);
}
.card:nth-child(2) { animation-delay: .04s; } .card:nth-child(3) { animation-delay: .08s; } .card:nth-child(4) { animation-delay: .12s; } .card:nth-child(5) { animation-delay: .16s; } .card:nth-child(6) { animation-delay: .2s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }

.hero { background: linear-gradient(145deg, rgba(61,123,255,.24), rgba(106,92,255,.14) 40%, rgba(244,163,198,.12) 100%), var(--glass); border-color: rgba(170,160,255,.28); }
.hero::after { background: radial-gradient(closest-side, rgba(180,190,255,.28), transparent); }

.card h2 { font-size: 13px; margin: 0 0 12px; display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: #d9dcff; }
.card h2 svg { width: 16px; height: 16px; flex-shrink: 0; color: #fff; }
.card h2 > svg { padding: 6px; width: 30px; height: 30px; border-radius: 10px; background: var(--grad); box-shadow: 0 6px 18px -4px rgba(106,92,255,.7), inset 0 1px 0 rgba(255,255,255,.4); }
.card h2 .count { margin-left: auto; font-size: 11px; color: var(--muted); font-weight: 700; white-space: nowrap; text-transform: none; letter-spacing: 0; padding: 3px 9px; border-radius: 99px; background: rgba(255,255,255,.06); border: 1px solid var(--stroke-2); }

.muted { color: var(--muted); }
.small { font-size: 13px; }
.empty { color: var(--muted); font-size: 14px; padding: 4px 0; }
.card.empty { padding: 18px; }
.row { display: flex; gap: 10px; align-items: center; }
.grow { flex: 1; min-width: 0; }

/* ---------- header ---------- */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 6px 2px 20px; }
.top h1 { font-size: 28px; margin: 2px 0 0; font-weight: 800; letter-spacing: -.6px; line-height: 1.15; }
.top h1 .g, .grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.top .sub { color: var(--muted); font-size: 13px; display: flex; align-items: center; gap: 8px; }
.astra-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 800; letter-spacing: 2.5px; color: #fff; padding: 4px 9px 4px 5px; border-radius: 99px; background: rgba(255,255,255,.07); border: 1px solid var(--stroke); box-shadow: var(--inner); }
.astra-chip img { width: 16px; height: 14px; object-fit: contain; }
.icon-btn { width: 44px; height: 44px; border-radius: 15px; border: 1px solid var(--stroke); background: var(--glass); box-shadow: var(--inner), 0 8px 24px -10px rgba(0,0,0,.6); display: grid; place-items: center; cursor: pointer; position: relative; color: var(--text); transition: transform .15s; flex-shrink: 0; }
.icon-btn:active { transform: scale(.94); }
.icon-btn svg { width: 20px; height: 20px; }
.dot { position: absolute; top: 8px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 10px var(--pink); }

/* ---------- stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.stat { padding: 14px 12px; border-radius: 20px; background: var(--glass-2); border: 1px solid var(--stroke-2); box-shadow: var(--inner); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); animation: rise .5s both; }
.stat b { display: block; font-size: 24px; font-weight: 800; letter-spacing: -.5px; }
.stat span { font-size: 11px; color: var(--muted); font-weight: 600; }
.stat:nth-child(1) b { color: #8fb2ff; } .stat:nth-child(2) b { color: #c7b1ff; } .stat:nth-child(3) b { color: #ffb8d4; }

/* ---------- agenda ---------- */
.agenda-item { display: flex; gap: 14px; padding: 11px 0; border-top: 1px solid var(--stroke-2); position: relative; }
.agenda-item:first-of-type { border-top: 0; padding-top: 2px; }
.agenda-time { min-width: 58px; font-weight: 800; font-variant-numeric: tabular-nums; font-size: 14px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.agenda-time span { display: block; color: var(--dim); -webkit-text-fill-color: var(--dim); font-weight: 600; font-size: 12px; }
.agenda-title { font-weight: 600; }
.agenda-loc { color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- list items ---------- */
.item { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 18px; background: var(--glass-2); border: 1px solid var(--stroke-2); box-shadow: var(--inner); cursor: pointer; text-decoration: none; color: inherit; transition: transform .18s, border-color .18s, background .18s; }
.item + .item { margin-top: 8px; }
.item:hover { border-color: rgba(170,160,255,.35); background: linear-gradient(145deg, rgba(120,110,255,.12), rgba(255,255,255,.03)); }
.item:active { transform: scale(.985); }
.item .title { font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item .meta { color: var(--muted); font-size: 12px; }
.card > .item, .card .item { background: rgba(255,255,255,.035); }
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 999px; white-space: nowrap; border: 1px solid transparent; }
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.b-done { background: var(--green-soft); color: #7ff0c3; border-color: rgba(62,224,161,.25); }
.b-proc { background: rgba(166,124,255,.16); color: #cdb8ff; border-color: rgba(166,124,255,.3); }
.b-proc::before { animation: pulse-dot 1.2s infinite; }
.b-err { background: var(--red-soft); color: #ff9cb0; border-color: rgba(255,90,122,.3); }
@keyframes pulse-dot { 50% { opacity: .25; } }
.ctx-ico { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; box-shadow: inset 0 1px 0 rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.08); }
.ctx-ico svg { width: 19px; height: 19px; }

/* ---------- checks ---------- */
.check { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-top: 1px solid var(--stroke-2); }
.check:first-of-type { border-top: 0; padding-top: 2px; }
.check input { appearance: none; width: 22px; height: 22px; border-radius: 8px; border: 1.5px solid rgba(255,255,255,.28); background: rgba(255,255,255,.04); flex-shrink: 0; margin: 1px 0 0; cursor: pointer; display: grid; place-items: center; transition: all .2s; }
.check input:checked { background: var(--grad); border-color: transparent; box-shadow: 0 4px 14px -2px rgba(106,92,255,.7); }
.check input:checked::after { content: ''; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-1px, -1px); }
.check.done .task { text-decoration: line-through; color: var(--dim); }
.task { font-weight: 550; }
.prio-tinggi { color: #ff9cb0; font-weight: 700; }
.prio-sedang { color: var(--gold-2); }
.prio-rendah { color: var(--dim); }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--stroke); background: var(--glass); box-shadow: var(--inner); border-radius: 16px; padding: 12px 18px; font-weight: 700; cursor: pointer; text-decoration: none; color: var(--text); transition: transform .15s, box-shadow .2s, filter .2s; overflow: hidden; }
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn.primary { background: var(--grad); background-size: 160% 100%; border: 0; color: #fff; text-shadow: 0 1px 8px rgba(40,20,120,.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), inset 0 -8px 16px rgba(60,30,160,.25), 0 14px 34px -10px rgba(106,92,255,.85); animation: flow 6s ease-in-out infinite alternate; }
.btn.primary::after { content: ''; position: absolute; inset: 0 0 50% 0; border-radius: inherit; background: linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,0)); pointer-events: none; }
.btn.primary:hover { filter: brightness(1.08); }
@keyframes flow { to { background-position: 100% 0; } }
.btn.danger { background: var(--red-soft); color: #ff9cb0; border-color: rgba(255,90,122,.25); }
.btn.block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn.sm { padding: 8px 12px; font-size: 13px; border-radius: 12px; }

/* ---------- forms ---------- */
.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-size: 11px; color: var(--muted); margin-bottom: 7px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; }
.input, textarea.input, select.input { width: 100%; background: rgba(255,255,255,.045); border: 1px solid var(--stroke); border-radius: 16px; padding: 13px 15px; outline: none; box-shadow: inset 0 2px 8px rgba(0,0,0,.25); transition: border-color .2s, box-shadow .2s; }
.input::placeholder { color: var(--dim); }
.input:focus { border-color: rgba(166,124,255,.7); box-shadow: inset 0 2px 8px rgba(0,0,0,.25), 0 0 0 4px rgba(106,92,255,.18); }
textarea.input { min-height: 96px; resize: vertical; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); background: rgba(255,255,255,.04); border: 1px solid var(--stroke-2); border-radius: 16px; padding: 4px; gap: 4px; box-shadow: inset 0 2px 8px rgba(0,0,0,.25); }
.seg button { border: 0; background: transparent; padding: 10px 4px; border-radius: 12px; font-weight: 700; font-size: 13px; cursor: pointer; color: var(--muted); transition: all .2s; }
.seg button.on { color: #fff; background: linear-gradient(145deg, rgba(120,110,255,.45), rgba(166,124,255,.2)); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 6px 16px -6px rgba(106,92,255,.8); }
.toggle { display: flex; align-items: center; gap: 14px; padding: 12px 0; cursor: pointer; }
.toggle input { appearance: none; width: 50px; height: 30px; border-radius: 99px; background: rgba(255,255,255,.1); border: 1px solid var(--stroke); position: relative; flex-shrink: 0; cursor: pointer; transition: background .25s; box-shadow: inset 0 2px 6px rgba(0,0,0,.35); }
.toggle input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(180deg, #fff, #d9dcff); box-shadow: 0 2px 6px rgba(0,0,0,.4); transition: transform .25s cubic-bezier(.3,1.4,.5,1); }
.toggle input:checked { background: var(--grad); border-color: transparent; }
.toggle input:checked::after { transform: translateX(20px); }

/* ---------- recorder (liquid orb) ---------- */
.rec-wrap { text-align: center; padding: 18px 8px 6px; }
.rec-btn { position: relative; width: 150px; height: 150px; border-radius: 50%; border: 0; cursor: pointer; margin: 8px auto 18px; display: grid; place-items: center; color: #fff; transition: transform .2s;
  background: radial-gradient(circle at 32% 26%, rgba(255,255,255,.65), rgba(255,255,255,0) 26%), radial-gradient(circle at 50% 60%, #6a5cff 0%, #3d7bff 45%, #1b2a8f 100%);
  box-shadow: inset 0 -14px 30px rgba(20,10,80,.55), inset 0 4px 12px rgba(255,255,255,.35), 0 0 0 10px rgba(106,92,255,.12), 0 0 0 22px rgba(106,92,255,.05), 0 24px 60px -10px rgba(80,90,255,.8); }
.rec-btn::before { content: ''; position: absolute; inset: -8px; border-radius: 50%; background: conic-gradient(from 0deg, #3d7bff, #a67cff, #f4a3c6, #ffc9a8, #3d7bff); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); opacity: .9; animation: spin 6s linear infinite; }
.rec-btn:active { transform: scale(.95); }
.rec-btn svg { width: 50px; height: 50px; filter: drop-shadow(0 2px 8px rgba(0,0,0,.35)); }
.rec-btn.live { background: radial-gradient(circle at 32% 26%, rgba(255,255,255,.55), rgba(255,255,255,0) 26%), radial-gradient(circle at 50% 60%, #ff7aa8 0%, #d64a8a 45%, #5a1a6e 100%);
  box-shadow: inset 0 -14px 30px rgba(80,10,60,.55), inset 0 4px 12px rgba(255,255,255,.35), 0 24px 60px -10px rgba(255,90,150,.8); animation: live 1.8s ease-in-out infinite; }
.rec-btn.live::before { animation-duration: 1.6s; }
.rec-btn { justify-content: center; align-items: center; }
.rec-btn.live .sq { width: 40px; height: 40px; border-radius: 12px; background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes live { 0%,100% { box-shadow: inset 0 -14px 30px rgba(80,10,60,.55), inset 0 4px 12px rgba(255,255,255,.35), 0 0 0 10px rgba(255,90,150,.14), 0 24px 60px -10px rgba(255,90,150,.8); } 50% { box-shadow: inset 0 -14px 30px rgba(80,10,60,.55), inset 0 4px 12px rgba(255,255,255,.35), 0 0 0 26px rgba(255,90,150,.04), 0 24px 70px -10px rgba(255,90,150,.95); } }
.timer { font-size: 46px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: 1px; background: linear-gradient(180deg, #fff, #b9c1ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.meter { height: 6px; background: rgba(255,255,255,.07); border-radius: 99px; overflow: hidden; margin: 14px auto 4px; max-width: 280px; box-shadow: inset 0 1px 3px rgba(0,0,0,.4); }
.meter i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 99px; box-shadow: 0 0 12px rgba(166,124,255,.8); transition: width .08s; }
.live-text { text-align: left; background: rgba(0,0,0,.25); border: 1px solid var(--stroke-2); border-radius: 16px; padding: 12px 14px; font-size: 13px; color: #cfd3f5; max-height: 180px; overflow: auto; margin-top: 14px; white-space: pre-wrap; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 12px; }
.chip { font-size: 11px; padding: 4px 9px; border-radius: 99px; background: rgba(255,255,255,.06); color: var(--muted); font-weight: 700; border: 1px solid var(--stroke-2); }
.chip.ok { background: var(--green-soft); color: #7ff0c3; }
.chip.err { background: var(--red-soft); color: #ff9cb0; }
.chip.up { background: rgba(166,124,255,.16); color: #cdb8ff; }

/* ---------- detail ---------- */
.sec { margin-top: 16px; }
.sec h3 { font-size: 11px; text-transform: uppercase; letter-spacing: 1.2px; margin: 0 0 8px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; }
.sec ul { margin: 0; padding-left: 18px; }
.sec li { margin: 5px 0; }
.sec li::marker { color: #a67cff; }
.draft { background: rgba(0,0,0,.25); border: 1px solid var(--stroke-2); border-radius: 16px; padding: 14px; white-space: pre-wrap; font-size: 14px; }
details.tx summary { cursor: pointer; font-weight: 700; padding: 6px 0; list-style: none; display: flex; align-items: center; gap: 8px; }
details.tx summary::before { content: '›'; font-size: 20px; line-height: 1; color: #a67cff; transition: transform .2s; }
details.tx[open] summary::before { transform: rotate(90deg); }
details.tx pre { white-space: pre-wrap; font-family: inherit; font-size: 13px; color: #cfd3f5; background: rgba(0,0,0,.25); border: 1px solid var(--stroke-2); padding: 14px; border-radius: 16px; max-height: 420px; overflow: auto; }
.md h1, .md h2, .md h3 { font-size: 12px; margin: 14px 0 6px; text-transform: uppercase; letter-spacing: 1px; color: #cdb8ff; }
.md h3:first-child { margin-top: 0; }
.md p { margin: 6px 0; }
.md ul { margin: 4px 0; padding-left: 18px; }
.md li::marker { color: #a67cff; }
.title-input { min-height: 0 !important; resize: none !important; overflow: hidden; line-height: 1.3; font-weight: 800 !important; font-size: 19px !important; background: transparent !important; box-shadow: none !important; border-color: transparent !important; padding-left: 0 !important; }
.title-input:focus { border-color: var(--stroke) !important; padding-left: 12px !important; background: rgba(255,255,255,.04) !important; }

/* ---------- alerts ---------- */
.alert { display: flex; gap: 12px; padding: 13px; border-radius: 18px; background: var(--glass-2); border: 1px solid var(--stroke-2); box-shadow: var(--inner); margin-bottom: 8px; cursor: pointer; transition: opacity .2s, transform .15s; animation: rise .4s both; }
.alert:active { transform: scale(.985); }
.alert.read { opacity: .5; }
.alert .lvl { width: 4px; border-radius: 99px; flex-shrink: 0; }
.lvl-info { background: linear-gradient(#3d7bff, #6a5cff); box-shadow: 0 0 10px #3d7bff; }
.lvl-action { background: linear-gradient(#a67cff, #f4a3c6); box-shadow: 0 0 10px #a67cff; }
.lvl-warning { background: linear-gradient(#ffc9a8, #f0b76a); box-shadow: 0 0 10px #f0b76a; }
.lvl-urgent { background: linear-gradient(#ff5a7a, #ff2d6b); box-shadow: 0 0 12px #ff5a7a; }

/* ---------- floating glass nav ---------- */
.nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 0 14px calc(12px + var(--safe-b)); pointer-events: none; }
.nav-in { pointer-events: auto; max-width: 440px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 7px; border-radius: 28px;
  background: linear-gradient(145deg, rgba(40,44,80,.55), rgba(20,22,45,.5)); border: 1px solid rgba(255,255,255,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), inset 0 -1px 0 rgba(255,255,255,.05), 0 18px 50px -10px rgba(0,0,0,.8), 0 0 0 1px rgba(0,0,0,.3); }
.nav a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 0 7px; border-radius: 21px; color: var(--muted); text-decoration: none; font-size: 10.5px; font-weight: 700; letter-spacing: .2px; transition: color .2s, background .25s; }
.nav a svg { width: 22px; height: 22px; transition: transform .25s cubic-bezier(.3,1.5,.5,1); }
.nav a.on { color: #fff; background: linear-gradient(145deg, rgba(106,92,255,.55), rgba(61,123,255,.25) 60%, rgba(244,163,198,.25)); box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 8px 20px -8px rgba(106,92,255,.9); }
.nav a.on svg { transform: translateY(-1px) scale(1.08); filter: drop-shadow(0 0 6px rgba(200,190,255,.8)); }
.nav a.rec-tab svg { color: #ff8fb5; }
.nav a.on.rec-tab svg { color: #fff; }

/* ---------- login ---------- */
.login { min-height: 88vh; display: flex; flex-direction: column; justify-content: center; max-width: 380px; margin: 0 auto; text-align: center; }
.login-symbol { width: 230px; max-width: 70%; margin: 0 auto -6px; filter: drop-shadow(0 0 40px rgba(90,110,255,.55)); animation: float 6s ease-in-out infinite; }
.login-word { width: 210px; max-width: 64%; margin: 8px auto 12px; opacity: .95; }
.tag { font-size: 10px; letter-spacing: 2.2px; text-transform: uppercase; color: var(--muted); font-weight: 600; line-height: 1.8; }
.glow-line { width: 120px; height: 1px; margin: 14px auto; background: linear-gradient(90deg, transparent, #a67cff, #3d7bff, transparent); box-shadow: 0 0 12px #6a5cff; }
.login .input { text-align: center; font-size: 22px; letter-spacing: 8px; margin: 26px 0 14px; padding: 16px; }
@keyframes float { 50% { transform: translateY(-10px); } }
.logo-img { width: 84px; height: 84px; border-radius: 24px; display: block; box-shadow: 0 16px 50px rgba(80,90,255,.45); }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: calc(108px + var(--safe-b)); transform: translateX(-50%) translateY(20px); background: linear-gradient(145deg, rgba(50,54,95,.8), rgba(25,27,55,.8)); border: 1px solid var(--stroke); color: var(--text); padding: 11px 18px; border-radius: 16px; font-weight: 600; font-size: 14px; opacity: 0; pointer-events: none; transition: all .3s cubic-bezier(.2,.8,.2,1); z-index: 50; max-width: calc(100% - 32px); box-shadow: var(--inner), 0 16px 40px rgba(0,0,0,.5); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.15); border-top-color: #a67cff; border-right-color: #3d7bff; animation: spin .8s linear infinite; display: inline-block; vertical-align: middle; }
.drop { display: block; border: 1.5px dashed rgba(166,124,255,.4); border-radius: 18px; padding: 20px; text-align: center; cursor: pointer; background: rgba(106,92,255,.06); font-weight: 600; transition: all .2s; }
.drop:hover { border-color: #a67cff; background: rgba(106,92,255,.12); }

@media (min-width: 720px) {
  .app { padding-top: 32px; }
  .top h1 { font-size: 34px; }
}

/* ================= v2: tasks, chat, nav ================= */
.nav-in { grid-template-columns: repeat(5, 1fr); max-width: 480px; }
.nav a { font-size: 10px; }
.nav a.rec-tab { color: #fff; }
.rec-dot { width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 32% 26%, rgba(255,255,255,.6), rgba(255,255,255,0) 30%), radial-gradient(circle at 50% 60%, #6a5cff, #3d7bff 55%, #1b2a8f); box-shadow: inset 0 -6px 12px rgba(20,10,80,.5), 0 8px 22px -4px rgba(80,90,255,.9), 0 0 0 4px rgba(10,12,30,.9); }
.rec-dot svg { width: 20px !important; height: 20px !important; color: #fff !important; }
.nav a.rec-tab.on { background: none; box-shadow: none; }
.nav a.rec-tab.on .rec-dot { background: radial-gradient(circle at 32% 26%, rgba(255,255,255,.6), rgba(255,255,255,0) 30%), radial-gradient(circle at 50% 60%, #ff7aa8, #d64a8a 55%, #5a1a6e); }

a.stat { text-decoration: none; color: inherit; display: block; }
.stat.hot { border-color: rgba(255,90,122,.45); background: linear-gradient(145deg, rgba(255,90,122,.2), rgba(255,255,255,.03)); }
.stat.hot b { color: #ff9cb0 !important; }
.stats .stat:nth-child(3) b { color: #ffb8d4; }

.ask-bar { display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 12px; margin-bottom: 14px; border-radius: 22px; text-decoration: none; color: var(--muted);
  background: linear-gradient(145deg, rgba(61,123,255,.18), rgba(166,124,255,.12) 60%, rgba(244,163,198,.1)); border: 1px solid rgba(170,160,255,.3);
  box-shadow: var(--inner), 0 10px 30px -12px rgba(106,92,255,.6); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); animation: rise .5s both; }
.ask-bar img { width: 34px; height: 28px; object-fit: contain; filter: drop-shadow(0 0 10px rgba(120,130,255,.7)); }
.ask-bar span { flex: 1; font-weight: 600; }
.ask-bar svg { width: 20px; height: 20px; color: #fff; padding: 8px; box-sizing: content-box; border-radius: 12px; background: var(--grad); }

/* tasks */
.task-row { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--stroke-2); }
.task-row:first-of-type, h2 + .task-row { border-top: 0; }
.task-main { cursor: pointer; }
.tick input { appearance: none; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.3); background: rgba(255,255,255,.04); margin: 0; cursor: pointer; display: grid; place-items: center; transition: all .25s cubic-bezier(.3,1.4,.5,1); }
.tick input:checked { background: var(--grad); border-color: transparent; box-shadow: 0 4px 14px -2px rgba(106,92,255,.8); transform: scale(1.08); }
.tick input:checked::after { content: ''; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-1px, -1px); }
.task-row.done .task { text-decoration: line-through; color: var(--dim); }
.task-row .task { font-weight: 600; line-height: 1.4; }
.task-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.pill { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 8px; background: rgba(255,255,255,.06); color: var(--muted); border: 1px solid var(--stroke-2); text-decoration: none; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill svg { width: 12px; height: 12px; flex-shrink: 0; }
.pill.link { color: #c9b8ff; }
.pill.p-hi { color: #ff9cb0; background: var(--red-soft); border-color: rgba(255,90,122,.25); }
.ctx-telkomsel { color: #ffb0c0; } .ctx-vapertize { color: #ffd49a; } .ctx-pribadi { color: #b9ccff; }
.due { font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 8px; background: rgba(255,255,255,.06); color: #cfd3f5; }
.due-late { background: rgba(255,90,122,.2); color: #ffb0c0; box-shadow: 0 0 12px -2px rgba(255,90,122,.5); }
.due-today { background: rgba(166,124,255,.22); color: #e0d4ff; }
.due-soon { background: rgba(61,123,255,.18); color: #b9ccff; }
.card h2.grp { margin-bottom: 4px; }
.card h2.grp.late { color: #ffb0c0; }
.card h2.grp.today { color: #e0d4ff; }
.quick-add { padding: 12px; }
.qa-row { display: flex; gap: 8px; }
.qa-row .input { flex: 1; }
.qa-btn { padding: 0 14px; border-radius: 14px; }
.qa-opts { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; max-height: 0; overflow: hidden; transition: max-height .3s, margin .3s; }
.qa-opts.open { max-height: 80px; margin-top: 8px; }
.sm-input { padding: 9px 10px; font-size: 13px; border-radius: 12px; min-width: 0; }
select.input { appearance: none; -webkit-appearance: none; }
input[type=date].input { color-scheme: dark; }
.seg-4 { grid-template-columns: repeat(3, 1fr); }
.seg button b { font-weight: 800; color: #c9b8ff; }
.empty-state { text-align: center; padding: 30px 18px; color: var(--muted); }
.empty-state .big svg { width: 42px; height: 42px; color: #a67cff; margin-bottom: 8px; filter: drop-shadow(0 0 12px rgba(166,124,255,.7)); }

/* bottom sheet */
.sheet-wrap { position: fixed; inset: 0; z-index: 60; background: rgba(2,3,10,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); display: flex; align-items: flex-end; justify-content: center; opacity: 0; transition: opacity .25s; }
.sheet-wrap.open { opacity: 1; }
.sheet { width: 100%; max-width: 560px; margin: 0; border-radius: 28px 28px 0 0; padding: 12px 18px calc(18px + var(--safe-b)); transform: translateY(40px); transition: transform .3s cubic-bezier(.2,.9,.3,1); background: linear-gradient(160deg, rgba(40,44,90,.92), rgba(14,16,36,.96)); animation: none; max-height: 90vh; overflow: auto; }
.sheet-wrap.open .sheet { transform: none; }
.sheet-grip { width: 42px; height: 5px; border-radius: 99px; background: rgba(255,255,255,.25); margin: 0 auto 14px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* chat */
.thread { padding-bottom: 90px; }
.msg { display: flex; gap: 10px; margin: 12px 0; animation: rise .35s both; }
.msg.user { justify-content: flex-end; }
.msg .bubble { max-width: 86%; padding: 12px 15px; border-radius: 20px; line-height: 1.55; }
.msg.user .bubble { background: var(--grad); color: #fff; border-bottom-right-radius: 6px; box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 10px 26px -10px rgba(106,92,255,.9); }
.msg.bot .bubble { background: var(--glass); border: 1px solid var(--stroke); border-bottom-left-radius: 6px; box-shadow: var(--inner), 0 12px 30px -16px rgba(0,0,0,.7); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.msg .bubble.err { color: #ffb0c0; border-color: rgba(255,90,122,.35); }
.msg .avatar { width: 30px; height: 26px; object-fit: contain; flex-shrink: 0; margin-top: 6px; filter: drop-shadow(0 0 8px rgba(120,130,255,.7)); }
.spin-slow { animation: breathe 1.6s ease-in-out infinite; }
.bubble.md p { margin: 4px 0; } .bubble.md ul, .bubble.md ol { margin: 6px 0; padding-left: 20px; }
.bubble.md h3 { margin: 10px 0 4px; }
.bubble code, .md code { background: rgba(255,255,255,.08); padding: 1px 6px; border-radius: 6px; font-size: 13px; }
.srcs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--stroke-2); }
.typing { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 13px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #a67cff; animation: bounce 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; background: #6a5cff; } .typing i:nth-child(3) { animation-delay: .3s; background: #f4a3c6; }
.typing span { margin-left: 6px; }
@keyframes bounce { 0%, 80%, 100% { transform: translateY(0); opacity: .5; } 40% { transform: translateY(-5px); opacity: 1; } }
.composer { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(96px + var(--safe-b)); width: calc(100% - 28px); max-width: 732px; z-index: 25; display: flex; align-items: flex-end; gap: 8px; padding: 7px 7px 7px 16px; border-radius: 26px;
  background: linear-gradient(145deg, rgba(40,44,85,.75), rgba(18,20,42,.8)); border: 1px solid rgba(170,160,255,.3); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 16px 40px -12px rgba(0,0,0,.8); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.composer textarea { flex: 1; background: transparent; border: 0; outline: none; resize: none; padding: 9px 0; max-height: 140px; line-height: 1.4; }
.composer textarea::placeholder { color: var(--dim); }
.send { width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer; background: var(--grad); color: #fff; display: grid; place-items: center; flex-shrink: 0; box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 6px 18px -4px rgba(106,92,255,.9); }
.send svg { width: 20px; height: 20px; }
.ask-hero { text-align: center; padding: 20px 6px; animation: rise .5s both; }
.ask-hero img { width: 120px; filter: drop-shadow(0 0 30px rgba(90,110,255,.6)); animation: float 6s ease-in-out infinite; }
.ask-hero h3 { font-size: 20px; margin: 10px 0 4px; }
.suggest { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
.chip-btn { text-align: left; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--stroke); background: var(--glass-2); box-shadow: var(--inner); color: var(--text); font-weight: 600; cursor: pointer; -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.chip-btn:active { transform: scale(.98); }
.tbl { overflow-x: auto; margin: 10px 0; border-radius: 14px; border: 1px solid var(--stroke); box-shadow: var(--inner); }
.tbl table { border-collapse: collapse; width: 100%; font-size: 13px; }
.tbl th { text-align: left; padding: 9px 12px; background: linear-gradient(120deg, rgba(61,123,255,.35), rgba(166,124,255,.3)); color: #fff; font-weight: 700; white-space: nowrap; }
.tbl td { padding: 9px 12px; border-top: 1px solid var(--stroke-2); vertical-align: top; }
.tbl tr:nth-child(even) td { background: rgba(255,255,255,.035); }
.meter-card { padding: 12px 14px; margin-bottom: 14px; border-radius: 18px; background: var(--glass-2); border: 1px solid var(--stroke-2); box-shadow: var(--inner); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); animation: rise .5s both; }
.meter-card .meter { margin: 8px 0 6px; max-width: none; }
.meter-card.warn .meter i { background: linear-gradient(90deg, #f0b76a, #ff5a7a); }
.tiny { font-size: 11px; }
.deep { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 12px; font-weight: 700; color: #e0d4ff; text-decoration: none; padding: 6px 10px; border-radius: 10px; background: linear-gradient(120deg, rgba(61,123,255,.2), rgba(244,163,198,.15)); border: 1px solid rgba(170,160,255,.3); }
.deep svg { width: 14px; height: 14px; }
.claude-btn svg { color: #ffc9a8; }

/* ================= v3: mobile-app home, calmer system ================= */
:root {
  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-snap: cubic-bezier(.2,0,0,1);
  --ease-pop: cubic-bezier(.34,1.56,.64,1);
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px;
}
/* calmer section headers everywhere: sentence case, no gradient squares */
.card h2 { font-size: 15px; text-transform: none; letter-spacing: -.1px; color: #eceeff; font-weight: 700; }
.card h2 > svg { width: 18px; height: 18px; padding: 0; background: none; box-shadow: none; color: #b9a8ff; border-radius: 0; }
.card { box-shadow: var(--inner), 0 18px 40px -24px rgba(0,0,0,.7); }
.card::after { opacity: .6; }
.card { animation-duration: .35s; }

/* page transitions (direction follows tab order) */
.app.pg-l > :not(.nav) { animation: pgL .32s var(--ease-out) both; }
.app.pg-r > :not(.nav) { animation: pgR .32s var(--ease-out) both; }
.app.pg-up > :not(.nav) { animation: pgU .32s var(--ease-out) both; }
@keyframes pgL { from { opacity: 0; transform: translateX(18px); } }
@keyframes pgR { from { opacity: 0; transform: translateX(-18px); } }
@keyframes pgU { from { opacity: 0; transform: translateY(12px); } }

/* nav: lighter active state */
.nav-in { background: linear-gradient(145deg, rgba(30,33,64,.72), rgba(14,16,36,.72)); }
.nav a.on { background: none; box-shadow: none; }
.nav a.on:not(.rec-tab)::after { content: ''; position: absolute; bottom: 2px; width: 18px; height: 3px; border-radius: 99px; background: var(--grad); box-shadow: 0 0 10px rgba(166,124,255,.9); animation: navdot .3s var(--ease-pop); }
@keyframes navdot { from { transform: scaleX(0); } }
.nav a.on svg { filter: drop-shadow(0 0 8px rgba(166,124,255,.8)); color: #fff; }
.nav a:active svg { transform: scale(.88); }
.ndot { position: absolute; top: 6px; right: calc(50% - 16px); width: 7px; height: 7px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 8px var(--pink); }
.rec-dot { animation: recglow 3s ease-in-out infinite; }
@keyframes recglow { 50% { box-shadow: inset 0 -6px 12px rgba(20,10,80,.5), 0 10px 30px -2px rgba(120,110,255,1), 0 0 0 4px rgba(10,12,30,.9); } }

/* top bar */
.h-top { display: flex; align-items: center; gap: 12px; margin: 2px 0 10px; }
.avatar-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--stroke); background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.18), rgba(255,255,255,.03)); display: grid; place-items: center; cursor: pointer; padding: 0; transition: transform .15s var(--ease-out); }
.avatar-btn img { width: 26px; height: 22px; object-fit: contain; }
.avatar-btn:active { transform: scale(.94); }
.h-date { font-size: 12px; color: var(--muted); font-weight: 600; }
.h-brand { font-size: 11px; font-weight: 800; letter-spacing: 3px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.icon-btn.ghost { background: rgba(255,255,255,.05); box-shadow: none; border-radius: 50%; }
.nbadge { position: absolute; top: -2px; right: -2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: #ff5a7a; color: #fff; font-size: 10px; font-style: normal; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 2px #03040b; animation: pop .4s var(--ease-pop); }
@keyframes pop { from { transform: scale(0); } }

/* hero */
.h-hero { position: relative; border-radius: 30px; padding: 22px 18px 16px; margin-bottom: 18px; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 90% at 100% 0%, rgba(106,92,255,.45), transparent 55%), radial-gradient(90% 80% at 0% 100%, rgba(244,163,198,.18), transparent 60%), linear-gradient(160deg, rgba(40,48,110,.55), rgba(12,14,34,.6));
  border: 1px solid rgba(170,160,255,.22); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 30px 60px -30px rgba(80,70,255,.6); }
.h-hero::before { content: ''; position: absolute; inset: -40% -20% auto auto; width: 70%; aspect-ratio: 1; z-index: -1; background: conic-gradient(from 180deg, rgba(61,123,255,.0), rgba(166,124,255,.35), rgba(244,163,198,.25), rgba(61,123,255,0)); filter: blur(40px); animation: aurora 14s linear infinite; }
@keyframes aurora { to { transform: rotate(360deg); } }
.h-hero-txt { position: relative; z-index: 1; max-width: 62%; }
.h-greet { margin: 0; color: #c9cdf2; font-size: 15px; font-weight: 600; }
.h-hero h1 { margin: 0; font-size: 40px; line-height: 1.05; font-weight: 800; letter-spacing: -1.2px; background: linear-gradient(100deg, #fff 30%, #d9ccff 60%, #ffc9e0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h-line { margin: 8px 0 0; font-size: 13.5px; color: #bfc4ea; line-height: 1.45; }
.h-orb { position: absolute; right: 6px; top: 8px; width: 132px; height: 132px; display: grid; place-items: center; }
.h-orb img { width: 92px; filter: drop-shadow(0 10px 30px rgba(90,110,255,.8)); animation: hfloat 5s ease-in-out infinite; }
.h-orb .orbit { position: absolute; inset: 8px; border-radius: 50%; border: 1px solid rgba(190,180,255,.28); transform: rotateX(70deg) rotateZ(0deg); animation: orbit 9s linear infinite; }
.h-orb .orbit::after { content: ''; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: #ffc9e0; box-shadow: 0 0 12px #f4a3c6; }
.h-orb .o2 { inset: -2px; border-color: rgba(120,160,255,.18); animation-duration: 14s; animation-direction: reverse; }
.h-orb .o2::after { background: #8fb2ff; box-shadow: 0 0 12px #3d7bff; width: 6px; height: 6px; }
@keyframes hfloat { 50% { transform: translateY(-8px) rotate(-3deg); } }
@keyframes orbit { to { transform: rotateX(70deg) rotateZ(360deg); } }
.h-stats { display: grid; grid-template-columns: auto 1fr 1fr; gap: 10px; align-items: center; margin-top: 18px; }
.ring { position: relative; width: 76px; height: 76px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 7; }
.ring-bg { stroke: rgba(255,255,255,.08); }
.ring-fg { stroke: url(#rg); stroke-linecap: round; stroke-dasharray: var(--c); stroke-dashoffset: var(--off); filter: drop-shadow(0 0 6px rgba(166,124,255,.7)); }
.intro .ring-fg { animation: ringdraw 1s var(--ease-out) both .2s; }
@keyframes ringdraw { from { stroke-dashoffset: var(--c); } }
.ring-txt { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1.05; }
.ring-txt b { font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; }
.ring-txt span { font-size: 9.5px; color: var(--muted); font-weight: 600; }
.h-stat { display: block; text-decoration: none; color: inherit; padding: 10px 12px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); transition: transform .15s var(--ease-out); }
.h-stat:active { transform: scale(.96); }
.h-stat b { display: block; font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.5px; }
.h-stat span { font-size: 11px; color: var(--muted); font-weight: 600; }
.h-stat.hot { background: rgba(255,90,122,.14); border-color: rgba(255,90,122,.35); }
.h-stat.hot b { color: #ffb0c0; }
.h-ask { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 6px 6px 6px 14px; min-height: 48px; border-radius: 99px; background: rgba(5,6,20,.45); border: 1px solid rgba(255,255,255,.12); color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; transition: border-color .2s, transform .15s var(--ease-out); }
.h-ask:active { transform: scale(.98); }
.h-ask > svg { width: 18px; height: 18px; color: #b9a8ff; }
.h-ask span { flex: 1; }
.h-ask i { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; }
.h-ask i svg { width: 18px; height: 18px; }

/* banner */
.banner { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 12px; border-radius: 20px; margin-bottom: 18px; background: rgba(255,255,255,.05); border: 1px solid var(--stroke-2); transition: opacity .2s, transform .2s; }
.banner.bye { opacity: 0; transform: scale(.97); }
.banner img { flex-shrink: 0; }
.banner b { display: block; font-size: 14px; }
.banner span { display: block; font-size: 12px; color: var(--muted); }
.banner .x { width: 32px; height: 44px; border: 0; background: none; color: var(--dim); font-size: 22px; cursor: pointer; }

/* quick actions (clay) */
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0 0 24px; }
.q { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; color: #dfe2ff; font-size: 12px; font-weight: 600; }
.q-ic { width: 68px; height: 68px; border-radius: 24px; display: grid; place-items: center; background: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.09); box-shadow: inset 0 1px 0 rgba(255,255,255,.15); transition: transform .2s var(--ease-out); }
.q-ic img { width: 56px; height: 56px; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(70,50,200,.45)); animation: qbob 4s ease-in-out infinite; animation-delay: calc(var(--i) * -1s); }
@keyframes qbob { 50% { transform: translateY(-3px) rotate(-2deg); } }
.q:active .q-ic { transform: scale(.9); }
@media (hover: hover) and (pointer: fine) { .q:hover .q-ic { transform: translateY(-2px); } .q:hover img { animation-play-state: paused; transform: scale(1.06) rotate(-4deg); transition: transform .25s var(--ease-out); } }

/* sections */
.sec2 { margin-bottom: 26px; }
.sec-h { display: flex; align-items: baseline; gap: 8px; margin: 0 2px 10px; }
.sec-h h2 { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: -.3px; }
.sec-sub { margin-left: auto; font-size: 12px; color: var(--muted); font-weight: 600; }
.sec-link { margin-left: auto; font-size: 13px; font-weight: 700; color: #c9b8ff; text-decoration: none; padding: 10px 0 10px 10px; margin-top: -10px; margin-bottom: -10px; }

/* slider */
.slider { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; margin: 0 -16px; padding: 4px 16px 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.slider::-webkit-scrollbar { display: none; }
.slider > * { scroll-snap-align: start; flex-shrink: 0; }
.dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.dots i { width: 6px; height: 6px; border-radius: 99px; background: rgba(255,255,255,.2); transition: width .3s var(--ease-out), background .3s; }
.dots i.on { width: 18px; background: var(--grad); }

.ag { width: 78%; max-width: 300px; min-height: 150px; padding: 16px; border-radius: 24px; display: flex; flex-direction: column; background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); border: 1px solid var(--stroke-2); position: relative; overflow: hidden; }
.ag.is-next, .ag.now { background: linear-gradient(150deg, rgba(61,123,255,.35), rgba(106,92,255,.25) 50%, rgba(244,163,198,.18)); border-color: rgba(170,160,255,.35); box-shadow: 0 20px 40px -24px rgba(90,80,255,.9); }
.ag.past { opacity: .55; }
.ag-top { display: flex; align-items: center; gap: 8px; }
.ag-time { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.5px; }
.ag-time em { font-style: normal; font-size: 13px; color: var(--muted); font-weight: 600; }
.ag h3 { margin: 8px 0 2px; font-size: 16px; line-height: 1.3; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ag p { margin: 0; font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ag-foot { margin-top: auto; padding-top: 10px; display: flex; }
.ag-rec { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: #fff; text-decoration: none; padding: 8px 12px; min-height: 36px; border-radius: 99px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); }
.ag-rec svg { width: 14px; height: 14px; }
.live, .nextc, .donec { margin-left: auto; font-size: 10.5px; font-weight: 800; padding: 3px 8px; border-radius: 99px; }
.live { background: rgba(255,90,122,.22); color: #ffc0cd; display: inline-flex; align-items: center; gap: 5px; }
.live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #ff5a7a; animation: pulse-dot 1.2s infinite; }
.nextc { background: rgba(255,255,255,.14); color: #fff; }
.donec { background: rgba(62,224,161,.14); color: #7ff0c3; }

/* brief */
.brief2 { position: relative; padding: 16px 16px 8px 16px; border-radius: 24px; background: linear-gradient(160deg, rgba(166,124,255,.14), rgba(255,255,255,.02)); border: 1px solid var(--stroke-2); }
.brief-ic { position: absolute; right: 12px; top: 12px; filter: drop-shadow(0 8px 12px rgba(70,50,200,.5)); animation: qbob 5s ease-in-out infinite; }
.brief-pts { margin: 0; padding: 0 44px 0 0; list-style: none; }
.brief-pts li { position: relative; padding-left: 18px; margin: 0 0 8px; font-size: 14px; line-height: 1.45; }
.brief-pts li::before { content: ''; position: absolute; left: 0; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }
.collapse { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease-out); }
.collapse > div { overflow: hidden; }
.brief2.open .collapse { grid-template-rows: 1fr; }
.brief2.open .brief-pts { display: none; }
.link-btn { border: 0; background: none; color: #c9b8ff; font-weight: 700; font-size: 13px; padding: 10px 0; min-height: 44px; cursor: pointer; }

/* task list on home */
.list2 { border-radius: 24px; padding: 2px 14px; background: rgba(255,255,255,.035); border: 1px solid var(--stroke-2); }
.list2 .task-row { padding: 14px 0; }
.list2 .task-row .task { font-size: 14.5px; }
.task-row.done .task { transition: color .3s; }
.tick input:checked { animation: tickpop .35s var(--ease-pop); }
@keyframes tickpop { 40% { transform: scale(1.25); } }

/* meeting slider cards */
.mcard { width: 64%; max-width: 250px; padding: 14px; border-radius: 22px; text-decoration: none; color: inherit; background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); border: 1px solid var(--stroke-2); transition: transform .15s var(--ease-out); }
.mcard:active { transform: scale(.97); }
.mcard .row { justify-content: space-between; }
.mcard .ctx-ico { width: 38px; height: 38px; border-radius: 12px; }
.mcard h3 { margin: 12px 0 4px; font-size: 14.5px; line-height: 1.3; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 38px; }
.mcard p { margin: 0; font-size: 12px; color: var(--muted); }
.ctxb-telkomsel { box-shadow: inset 0 3px 0 -1px rgba(255,120,150,.55); }
.ctxb-vapertize { box-shadow: inset 0 3px 0 -1px rgba(240,183,106,.6); }
.ctxb-pribadi { box-shadow: inset 0 3px 0 -1px rgba(120,160,255,.6); }

.empty-card { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 22px; background: rgba(255,255,255,.035); border: 1px dashed rgba(255,255,255,.12); }
.empty-card b { display: block; }
.empty-card span { font-size: 13px; color: var(--muted); }

/* profile sheet */
.prof { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.prof img { width: 48px; height: 42px; object-fit: contain; filter: drop-shadow(0 0 14px rgba(120,130,255,.7)); }
.prof b { display: block; font-size: 18px; }
.prof span { font-size: 12px; color: var(--muted); }
.sheet-row { width: 100%; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 4px; border: 0; border-top: 1px solid var(--stroke-2); background: none; color: var(--text); text-decoration: none; font-weight: 600; cursor: pointer; text-align: left; }
.sheet-row svg { width: 20px; height: 20px; color: #b9a8ff; }
.sheet-row em { font-style: normal; font-size: 13px; color: var(--muted); }
.danger-row, .danger-row svg { color: #ff9cb0; }

/* skeleton */
.sk { border-radius: 18px; background: linear-gradient(100deg, rgba(255,255,255,.04) 30%, rgba(255,255,255,.1) 50%, rgba(255,255,255,.04) 70%); background-size: 300% 100%; animation: shimmer 1.3s linear infinite; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -50% 0; } }
.sk-hero { min-height: 250px; }
.sk-l { height: 44px; width: 55%; margin-top: 10px; }
.sk-m { height: 16px; width: 70%; margin-top: 12px; }
.sk-row { display: flex; gap: 12px; margin-bottom: 18px; overflow: hidden; }
.sk-card { height: 150px; flex: 0 0 78%; border-radius: 24px; }
.sk-q { height: 68px; border-radius: 24px; }
.sk-block { height: 160px; border-radius: 24px; }

/* first-visit stagger (only once per session) */
.intro > * { animation: rise .5s var(--ease-out) both; }
.intro > *:nth-child(2) { animation-delay: .06s; } .intro > *:nth-child(3) { animation-delay: .12s; } .intro > *:nth-child(4) { animation-delay: .18s; } .intro > *:nth-child(5) { animation-delay: .24s; } .intro > *:nth-child(6) { animation-delay: .3s; } .intro > *:nth-child(7) { animation-delay: .36s; }
.intro .q { animation: rise .45s var(--ease-out) both; animation-delay: calc(.15s + var(--i) * 50ms); }

@media (min-width: 720px) {
  .h-hero { padding: 28px; }
  .h-hero h1 { font-size: 52px; }
  .h-orb { width: 170px; height: 170px; right: 24px; }
  .h-orb img { width: 120px; }
  .ag { width: 300px; }
  .quick { gap: 16px; }
}
@media (max-width: 360px) {
  .h-hero h1 { font-size: 34px; }
  .h-orb { width: 110px; height: 110px; }
  .h-orb img { width: 74px; }
  .h-stats { grid-template-columns: auto 1fr; }
  .h-stats .h-stat.hot { grid-column: 2; }
  .q-ic { width: 60px; height: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  .h-hero::before, .h-orb img, .h-orb .orbit, .q-ic img, .brief-ic, .rec-dot, .sk, .intro > *, .intro .q, .app[class*="pg-"] > *, .ring-fg { animation: none !important; }
  .collapse { transition: none; }
}

/* ================= v4: consistent mobile-app pages ================= */
/* page header */
.ph { display: flex; align-items: center; gap: 12px; margin: 4px 0 18px; min-height: 52px; }
.ph-txt { min-width: 0; }
.ph h1 { margin: 0; font-size: 32px; line-height: 1.1; font-weight: 800; letter-spacing: -.8px; }
.ph h1:empty { display: none; }
.ph-sub { margin: 0 0 2px; font-size: 13px; color: var(--muted); font-weight: 600; }
.ph-clay { width: 60px; height: 60px; object-fit: contain; flex-shrink: 0; filter: drop-shadow(0 10px 14px rgba(70,50,200,.5)); animation: qbob 4.5s ease-in-out infinite; }
.ph-act { display: flex; gap: 6px; align-items: center; }
.ph-act .icon-btn { width: 44px; height: 44px; }
.ph-back svg { width: 22px; height: 22px; }

/* animated segmented tabs */
.tabs { position: relative; display: grid; grid-template-columns: repeat(var(--n), 1fr); padding: 4px; margin-bottom: 20px; border-radius: 99px; background: rgba(255,255,255,.05); border: 1px solid var(--stroke-2); }
.tabs::before { content: ''; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / var(--n)); border-radius: 99px; background: linear-gradient(135deg, rgba(106,92,255,.7), rgba(61,123,255,.45) 60%, rgba(244,163,198,.4)); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 6px 18px -6px rgba(106,92,255,.9); transform: translateX(calc(var(--i) * 100%)); transition: transform .35s var(--ease-out); }
.tabs button { position: relative; z-index: 1; border: 0; background: none; min-height: 40px; border-radius: 99px; font-weight: 700; font-size: 13.5px; color: var(--muted); cursor: pointer; transition: color .2s; }
.tabs button.on { color: #fff; }
.tabs button b { font-weight: 800; color: #d9ccff; }
.tabs button:active { transform: scale(.97); }

/* filter chips */
.fchips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px 18px; padding: 2px 16px; }
.fchips::-webkit-scrollbar { display: none; }
.fchip { flex-shrink: 0; border: 1px solid var(--stroke); background: rgba(255,255,255,.04); color: var(--muted); border-radius: 99px; padding: 0 16px; min-height: 38px; font-weight: 700; font-size: 13px; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .12s var(--ease-out); }
.fchip.on { color: #fff; border-color: rgba(170,160,255,.55); background: rgba(106,92,255,.3); }
.fchip:active { transform: scale(.95); }
.fchip:disabled { opacity: .5; }
.m-hero .fchips, .form-surface .fchips { margin: 10px 0 0; padding: 0; }

/* search pill */
.search { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px; margin-bottom: 12px; border-radius: 99px; background: rgba(255,255,255,.05); border: 1px solid var(--stroke); transition: border-color .2s, box-shadow .2s; }
.search:focus-within { border-color: rgba(166,124,255,.7); box-shadow: 0 0 0 4px rgba(106,92,255,.15); }
.search svg { width: 18px; height: 18px; color: var(--muted); flex-shrink: 0; }
.search input { flex: 1; border: 0; background: none; outline: none; font-size: 15px; min-width: 0; }
.search input::placeholder { color: var(--dim); }

/* list rows */
.row2 { display: flex; align-items: center; gap: 12px; padding: 12px 0; min-height: 60px; text-decoration: none; color: inherit; border-top: 1px solid var(--stroke-2); transition: opacity .15s; }
.row2:first-child { border-top: 0; }
.row2:active { opacity: .6; }
.row2 .t { font-weight: 650; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row2 .m { font-size: 12px; color: var(--muted); }
.row2 .ctx-ico { width: 40px; height: 40px; border-radius: 13px; }
.chev svg { width: 16px; height: 16px; color: var(--dim); transform: rotate(180deg); }
.sec-h .h3 { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: 0; display: flex; align-items: center; gap: 6px; }
.sec-h .h3.late { color: #ffb0c0; }
.sec-h .h3.today { color: #e0d4ff; }
.dotr { width: 7px; height: 7px; border-radius: 50%; background: #ff5a7a; box-shadow: 0 0 8px #ff5a7a; animation: pulse-dot 1.4s infinite; }
.grp-in { animation: rise .4s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 50ms); }
#tl { transition: opacity .15s; }
#tl.fading { opacity: .5; }
.list2 .check { padding: 13px 0; }
.list2 .check:first-child { border-top: 0; }

/* quick add */
.qa2 { margin-bottom: 14px; }
.qa2 .qa-row { align-items: center; gap: 8px; padding: 5px 5px 5px 4px; border-radius: 99px; background: rgba(255,255,255,.05); border: 1px solid var(--stroke); }
.qa2 .qa-row:focus-within { border-color: rgba(166,124,255,.7); }
.qa2 .input { background: none; border: 0; box-shadow: none; padding: 10px 12px; }
.qa2 .input:focus { box-shadow: none; }
.qa2 .send svg { width: 20px; height: 20px; }

/* skeleton list */
.sk-list { padding: 6px 14px; }
.sk-line { display: flex; align-items: center; gap: 12px; padding: 12px 0; }
.sk-dot { width: 40px; height: 40px; border-radius: 13px; flex-shrink: 0; }
.sk-t { display: block; height: 13px; width: 70%; border-radius: 8px; }
.sk-s { display: block; height: 10px; width: 40%; border-radius: 8px; margin-top: 8px; }
.empty-card.big { padding: 20px 18px; border-style: solid; background: linear-gradient(160deg, rgba(106,92,255,.12), rgba(255,255,255,.02)); animation: rise .4s var(--ease-out) both; }
.empty-card.big img { animation: qbob 4s ease-in-out infinite; filter: drop-shadow(0 8px 12px rgba(70,50,200,.5)); }

/* accordions */
.acc { border-radius: 20px; background: rgba(255,255,255,.035); border: 1px solid var(--stroke-2); padding: 0 16px; margin-bottom: 10px; }
.acc > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; min-height: 52px; font-weight: 700; font-size: 14.5px; }
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--muted); }
.acc > summary::after { content: ''; margin-left: auto; width: 8px; height: 8px; border-right: 2px solid #a67cff; border-bottom: 2px solid #a67cff; transform: rotate(45deg) translateY(-3px); transition: transform .25s var(--ease-out); flex-shrink: 0; }
.acc[open] > summary::after { transform: rotate(225deg) translateY(-2px); }
.acc[open] { padding-bottom: 14px; }
.acc[open] > :not(summary) { animation: rise .3s var(--ease-out) both; }
.acc.tx summary::before { display: none; }
.acc pre { white-space: pre-wrap; font-family: inherit; font-size: 13px; color: #cfd3f5; max-height: 420px; overflow: auto; margin: 0; }
.up-acc > summary { min-height: 64px; }
.up-acc > summary b { display: block; font-size: 14.5px; }
.up-acc > summary .small { display: block; font-weight: 500; }

/* surfaces */
.surface { border-radius: 22px; padding: 16px; background: rgba(255,255,255,.035); border: 1px solid var(--stroke-2); }
.lead-p { margin: 0; font-size: 15px; line-height: 1.6; color: #e6e8ff; }
.blist { margin: 0; padding-left: 18px; }
.blist li { margin: 6px 0; line-height: 1.5; }
.blist li::marker { color: #a67cff; }
.people { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--stroke-2); }
.pp { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; background: var(--grad); color: #fff; margin-right: -12px; box-shadow: 0 0 0 2px #0b0c1c; }
.pp:nth-last-child(2) { margin-right: 6px; }
.prog { height: 6px; border-radius: 99px; background: rgba(255,255,255,.07); overflow: hidden; margin: 0 2px 10px; }
.prog i { display: block; height: 100%; border-radius: 99px; background: var(--grad); transition: width .4s var(--ease-out); }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.btn-row.end { margin: 4px 0 10px; }
.proc { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 12px; border-radius: 14px; background: rgba(166,124,255,.12); color: #d9ccff; font-size: 13px; }

/* meeting hero */
.m-hero { position: relative; overflow: hidden; border-radius: 28px; padding: 18px; margin-bottom: 24px; border: 1px solid rgba(170,160,255,.22);
  background: radial-gradient(100% 80% at 100% 0%, rgba(106,92,255,.35), transparent 60%), linear-gradient(160deg, rgba(40,48,110,.45), rgba(12,14,34,.5)); }
.ctxh-telkomsel { background: radial-gradient(100% 80% at 100% 0%, rgba(255,90,122,.25), transparent 60%), linear-gradient(160deg, rgba(40,48,110,.45), rgba(12,14,34,.5)); }
.ctxh-vapertize { background: radial-gradient(100% 80% at 100% 0%, rgba(240,183,106,.25), transparent 60%), linear-gradient(160deg, rgba(40,48,110,.45), rgba(12,14,34,.5)); }
.m-hero .title-input { margin-top: 10px; font-size: 22px !important; letter-spacing: -.3px; }

/* record */
.rec-stage { position: relative; text-align: center; padding: 18px 8px 16px; margin-bottom: 20px; border-radius: 32px; overflow: hidden; isolation: isolate;
  background: radial-gradient(80% 60% at 50% 30%, rgba(106,92,255,.3), transparent 70%), linear-gradient(180deg, rgba(20,24,60,.5), rgba(8,9,24,.3)); border: 1px solid rgba(170,160,255,.18); }
.rec-halo { position: absolute; left: 50%; top: 96px; width: 0; height: 0; z-index: -1; }
.rec-halo i { position: absolute; left: -90px; top: -90px; width: 180px; height: 180px; border-radius: 50%; border: 1px solid rgba(166,124,255,.35); opacity: 0; animation: halo 3.6s var(--ease-out) infinite; }
.rec-halo i:nth-child(2) { animation-delay: 1.2s; } .rec-halo i:nth-child(3) { animation-delay: 2.4s; }
@keyframes halo { 0% { transform: scale(.8); opacity: .8; } 100% { transform: scale(1.9); opacity: 0; } }
.is-live .rec-halo i { border-color: rgba(255,110,160,.5); animation-duration: 1.8s; }
.rec-stage .rec-btn { margin: 14px auto 14px; }
.rec-stage .timer { font-size: 52px; line-height: 1.1; }
.rec-status { font-size: 13px; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 22px; }
.rec-status .live { margin: 0; }
.rec-stage .meter { max-width: 220px; }
.form-surface { border-radius: 24px; padding: 14px; background: rgba(255,255,255,.035); border: 1px solid var(--stroke-2); }
.form-surface .toggle { padding: 14px 0 4px; }
.form-surface .acc { margin: 12px 0 0; background: rgba(0,0,0,.15); }
.pill-field { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px; border-radius: 99px; background: rgba(255,255,255,.05); border: 1px solid var(--stroke); }
.pill-field:focus-within { border-color: rgba(166,124,255,.7); }
.pill-field svg { width: 18px; height: 18px; color: var(--muted); flex-shrink: 0; }
.pill-field input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 15px; }
.pill-field input::placeholder { color: var(--dim); }
.field-row { margin-top: 12px; }
.fl { display: block; font-size: 12px; font-weight: 700; color: var(--muted); }
.hint { margin: 10px 4px 0; font-size: 12px; color: var(--dim); text-align: center; }
.drop { display: flex; align-items: center; justify-content: center; gap: 8px; }
.drop svg { width: 18px; height: 18px; }

/* ask */
.ask-orb { position: relative; right: auto; top: auto; margin: 0 auto; width: 150px; height: 150px; }
.ask-orb img { width: 100px; }
.ask-hero h3 { font-size: 22px; letter-spacing: -.3px; margin-top: 4px; }
.chip-btn { display: flex; align-items: center; gap: 12px; min-height: 56px; border-radius: 20px; background: rgba(255,255,255,.04); animation: rise .4s var(--ease-out) both; animation-delay: calc(.1s + var(--i) * 50ms); transition: border-color .2s, transform .12s var(--ease-out); }
.chip-btn img { flex-shrink: 0; filter: drop-shadow(0 4px 6px rgba(70,50,200,.4)); }
.chip-btn:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) { .chip-btn:hover { border-color: rgba(166,124,255,.5); } }

/* alerts */
.alert { border-radius: 20px; background: rgba(255,255,255,.035); }

@media (prefers-reduced-motion: reduce) {
  .ph-clay, .rec-halo i, .grp-in, .acc[open] > :not(summary), .empty-card.big, .empty-card.big img, .chip-btn, .dotr { animation: none !important; }
  .tabs::before { transition: none; }
}
.ask-hero p svg { width: 14px; height: 14px; vertical-align: -2px; color: #ffc9a8; }
.ask-hero .suggest { text-align: left; }
.ask-hero .chip-btn img { width: 32px; height: 32px; object-fit: contain; animation: none; }

/* ================= v5: personal avatar ================= */
.avatar-btn.me { padding: 0; overflow: hidden; border: 2px solid transparent; background: linear-gradient(#0b0c1c, #0b0c1c) padding-box, var(--grad) border-box; }
.avatar-btn.me img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.h-brand { display: flex; align-items: center; gap: 5px; }
.h-brand img { width: 14px; height: 12px; object-fit: contain; }
.h-me { position: absolute; right: -6px; top: 0; width: 150px; height: 150px; }
.h-me img { position: relative; width: 150px; height: 150px; object-fit: cover; border-radius: 50%;
  -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 52%, transparent 71%); mask-image: radial-gradient(circle at 50% 45%, #000 52%, transparent 71%);
  transform-origin: 50% 90%; animation: hello 5s var(--ease-out) infinite; }
@keyframes hello { 0%, 60%, 100% { transform: rotate(0) translateY(0); } 66% { transform: rotate(-4deg) translateY(-3px); } 72% { transform: rotate(3deg) translateY(-3px); } 78% { transform: rotate(-2deg); } 84% { transform: rotate(0); } }
.h-me .orbit { position: absolute; inset: 14px; border-radius: 50%; border: 1px solid rgba(190,180,255,.3); transform: rotateX(72deg); animation: orbit 9s linear infinite; z-index: 1; pointer-events: none; }
.h-me .orbit::after { content: ''; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: #ffc9e0; box-shadow: 0 0 12px #f4a3c6; }
.h-me .o2 { inset: 4px; border-color: rgba(120,160,255,.2); animation-duration: 14s; animation-direction: reverse; }
.h-me .o2::after { background: #8fb2ff; box-shadow: 0 0 12px #3d7bff; width: 6px; height: 6px; }
@keyframes orbit { from { transform: rotateX(72deg) rotateZ(0); } to { transform: rotateX(72deg) rotateZ(360deg); } }
.hi { position: absolute; left: -2px; top: 26px; z-index: 2; padding: 4px 10px; border-radius: 14px 14px 14px 4px; font-size: 12px; font-weight: 800; color: #1a1440; background: linear-gradient(120deg, #fff, #ffe3ef); box-shadow: 0 8px 20px -8px rgba(0,0,0,.6); animation: hipop 5s var(--ease-pop) infinite; transform-origin: 0 100%; }
@keyframes hipop { 0%, 58% { transform: scale(0); opacity: 0; } 64%, 92% { transform: scale(1); opacity: 1; } 100% { transform: scale(0); opacity: 0; } }
.intro .hi { animation-delay: .6s; }
.prof img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; filter: none; border: 2px solid transparent; background: linear-gradient(#0b0c1c, #0b0c1c) padding-box, var(--grad) border-box; }
.msg .me-av { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; filter: none; margin-top: 4px; }
@media (min-width: 720px) { .h-me { right: 20px; width: 180px; height: 180px; } .h-me img { width: 180px; height: 180px; } }
@media (max-width: 360px) { .h-me { width: 120px; height: 120px; } .h-me img { width: 120px; height: 120px; } }
@media (prefers-reduced-motion: reduce) { .h-me img, .h-me .orbit, .hi { animation: none !important; } .hi { transform: none; opacity: 1; } }

/* ================= v6: avatar polish, profile sheet, notifications ================= */
/* hero avatar: transparent cutout, soft glow, fades into the card */
.h-me { position: absolute; right: 0; top: 2px; width: 140px; height: 186px; }
.h-me img { position: relative; z-index: 1; width: 140px; height: 186px; object-fit: contain; border-radius: 0; filter: drop-shadow(0 14px 18px rgba(20,10,80,.55));
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 96%); mask-image: linear-gradient(to bottom, #000 62%, transparent 96%);
  transform-origin: 50% 100%; animation: meFloat 6s ease-in-out infinite; }
@keyframes meFloat { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-5px) rotate(-1.2deg); } }
.me-glow { position: absolute; left: 50%; top: 42%; width: 150px; height: 150px; margin: -75px 0 0 -75px; border-radius: 50%; background: radial-gradient(closest-side, rgba(166,124,255,.75), rgba(106,92,255,.35) 55%, transparent); filter: blur(6px); animation: glowPulse 6s ease-in-out infinite; }
@keyframes glowPulse { 50% { transform: scale(1.08); opacity: .85; } }
.me-ring { position: absolute; left: 50%; top: 40%; width: 128px; height: 128px; margin: -64px 0 0 -64px; border-radius: 50%; border: 1px solid rgba(210,200,255,.28); }
.me-ring.r2 { width: 158px; height: 158px; margin: -79px 0 0 -79px; border-color: rgba(210,200,255,.12); }
.me-ring::after { content: ''; position: absolute; top: 50%; left: -3px; width: 6px; height: 6px; border-radius: 50%; background: #ffc9e0; box-shadow: 0 0 10px #f4a3c6; }
.me-ring.r2::after { left: auto; right: 12px; top: 10px; background: #8fb2ff; box-shadow: 0 0 10px #3d7bff; }
.me-ring { animation: spin 18s linear infinite; } .me-ring.r2 { animation-duration: 26s; animation-direction: reverse; }
.h-me .hi { left: -18px; top: 44px; z-index: 2; }
.h-me .orbit { display: none; }
@media (min-width: 720px) { .h-me { right: 24px; width: 170px; height: 226px; } .h-me img { width: 170px; height: 226px; } }
@media (max-width: 360px) { .h-me { width: 116px; height: 154px; } .h-me img { width: 116px; height: 154px; } }
.avatar-btn.me { box-shadow: 0 6px 16px -6px rgba(106,92,255,.8); }

/* profile sheet */
.prof-sheet { padding-bottom: calc(22px + var(--safe-b)); }
.prof2 { text-align: center; padding: 4px 0 16px; }
.prof-av { position: relative; width: 92px; height: 92px; margin: 0 auto 10px; border-radius: 50%; padding: 3px; background: var(--grad); box-shadow: 0 14px 30px -12px rgba(106,92,255,.9); }
.prof-av > img { width: 86px; height: 86px; border-radius: 50%; display: block; }
.prof-badge { position: absolute; right: -2px; bottom: 2px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #0e1030; border: 2px solid #1c1f48; }
.prof-badge img { width: 18px; height: 15px; object-fit: contain; }
.prof2 h3 { margin: 0; font-size: 20px; letter-spacing: -.3px; }
.prof2 p { margin: 2px 0 10px; color: var(--muted); font-size: 13px; }
.prof-tags { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.prof-tags span { font-size: 11.5px; font-weight: 700; padding: 5px 10px; border-radius: 99px; background: rgba(255,255,255,.07); border: 1px solid var(--stroke-2); color: #d9dcff; }
.prof-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 4px 0 14px; border-radius: 20px; background: rgba(255,255,255,.05); border: 1px solid var(--stroke-2); }
.prof-stats div { text-align: center; padding: 12px 4px; }
.prof-stats div + div { border-left: 1px solid var(--stroke-2); }
.prof-stats b { display: block; font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.prof-stats span { font-size: 11px; color: var(--muted); font-weight: 600; }
.set-group { border-radius: 20px; background: rgba(255,255,255,.04); border: 1px solid var(--stroke-2); padding: 0 12px; margin-bottom: 12px; }
.set-row { width: 100%; display: flex; align-items: center; gap: 12px; min-height: 54px; border: 0; background: none; color: var(--text); text-decoration: none; font: inherit; font-weight: 600; cursor: pointer; text-align: left; }
.set-row + .set-row { border-top: 1px solid var(--stroke-2); }
.set-row:active { opacity: .6; }
.set-ic { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: rgba(106,92,255,.2); color: #c9b8ff; flex-shrink: 0; }
.set-ic svg { width: 18px; height: 18px; }
.set-row em { font-style: normal; font-size: 12.5px; font-weight: 700; color: #c9b8ff; }
.set-row em.on { color: #7ff0c3; }
.set-row em.cnt { min-width: 22px; height: 22px; padding: 0 7px; border-radius: 99px; background: #ff5a7a; color: #fff; display: grid; place-items: center; font-size: 11px; }
.set-note { font-size: 12px; color: var(--dim); margin: -4px 6px 12px; }
.danger-row .set-ic { background: rgba(255,90,122,.15); color: #ff9cb0; }

/* notifications */
.a-list { display: flex; flex-direction: column; gap: 10px; }
.a-card { position: relative; width: 100%; display: flex; gap: 12px; align-items: flex-start; text-align: left; padding: 14px 14px 14px 12px; border-radius: 22px; border: 1px solid var(--stroke-2); background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); color: var(--text); font: inherit; cursor: pointer; overflow: hidden; transition: transform .15s var(--ease-out), opacity .25s; }
.a-card::before { content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: var(--lv, #6a5cff); }
.a-card:active { transform: scale(.98); }
.lv-urgent { --lv: #ff5a7a; background: linear-gradient(160deg, rgba(255,90,122,.16), rgba(255,255,255,.02)); border-color: rgba(255,90,122,.3); }
.lv-action { --lv: #a67cff; }
.lv-warning { --lv: #f0b76a; }
.lv-info { --lv: #3d7bff; }
.a-card.read { opacity: .55; background: rgba(255,255,255,.025); }
.a-card.read::before { opacity: .3; }
.a-ic { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; flex-shrink: 0; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); }
.a-ic img { width: 36px; height: 36px; object-fit: contain; }
.a-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding-right: 10px; }
.a-top { display: flex; align-items: center; gap: 8px; }
.a-lv { font-size: 10.5px; font-weight: 800; letter-spacing: .3px; color: var(--lv); }
.a-time { margin-left: auto; font-size: 11.5px; color: var(--dim); font-weight: 600; white-space: nowrap; }
.a-title { font-weight: 700; font-size: 14.5px; line-height: 1.35; }
.a-text { font-size: 13px; color: var(--muted); line-height: 1.45; white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.a-go { align-self: flex-start; margin-top: 6px; font-size: 12px; font-weight: 700; color: #d9ccff; padding: 5px 12px; border-radius: 99px; background: rgba(166,124,255,.16); border: 1px solid rgba(166,124,255,.3); }
.a-dot { position: absolute; right: 12px; top: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--lv); box-shadow: 0 0 10px var(--lv); }
.a-card:not(.read) .a-time { color: #c9cdf2; }
.a-empty { text-align: center; padding: 26px 20px; border-radius: 28px; background: radial-gradient(70% 60% at 50% 30%, rgba(106,92,255,.25), transparent 70%); animation: rise .4s var(--ease-out) both; }
.a-empty img { display: block; margin: 0 auto 10px; object-fit: contain; -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent); mask-image: linear-gradient(to bottom, #000 70%, transparent); animation: meFloat 6s ease-in-out infinite; }
.a-empty b { display: block; font-size: 17px; }
.a-empty span { display: block; font-size: 13px; color: var(--muted); max-width: 260px; margin: 4px auto 0; }
#apush .banner { margin-bottom: 14px; }

@media (prefers-reduced-motion: reduce) {
  .h-me img, .me-glow, .me-ring, .a-empty, .a-empty img { animation: none !important; }
}
.h-me { top: 12px; }
.h-hero-txt { max-width: 56%; }
.set-row { padding: 0; }
.h-stats, .h-ask { position: relative; z-index: 2; }
.h-stat { background: rgba(22,24,58,.72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.h-stat.hot { background: rgba(70,22,48,.72); }

/* ================= v7: detail polish ================= */
:root {
  --r-pill: 999px; --r-card: 22px; --r-sm: 14px;
  --accent-grad: linear-gradient(135deg, #5d6bff 0%, #7b61ff 50%, #9d7bff 100%);
  --pad-surface: 18px;
}
/* no backdrop blur on form controls: it showed as a lighter box over glows */
.input, textarea.input, select.input, .seg, .btn { -webkit-backdrop-filter: none; backdrop-filter: none; }

/* one checkbox for every task-like item */
.tick { display: inline-grid; flex-shrink: 0; }
.tick input, .check .tick input {
  -webkit-appearance: none; appearance: none; margin: 0; width: 24px; height: 24px; border-radius: 50%; cursor: pointer;
  border: 0; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1.75px rgba(255,255,255,.3);
  transition: background-color .2s var(--ease-out), box-shadow .2s var(--ease-out), transform .2s var(--ease-pop);
}
.tick input::after, .check .tick input::after { content: none !important; }
.tick input:checked, .check .tick input:checked {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px 14px no-repeat, var(--accent-grad);
  box-shadow: 0 4px 12px -3px rgba(110,90,255,.8);
}
.tick input:focus-visible { outline: 2px solid #a67cff; outline-offset: 2px; }
.tick::before { content: ''; position: absolute; }
.check { gap: 14px; }
.check .tick { padding-top: 1px; }
.task-row .tick { padding-top: 0; }
.task-row.done .task, .check.done .task { color: var(--dim); text-decoration-color: rgba(255,255,255,.35); }

/* progress bar uses the same accent */
.prog { height: 5px; margin: 0 0 12px; }
.prog i { background: var(--accent-grad); }

/* tabs and chips: cleaner accent (no muddy peach end) */
.tabs::before { background: var(--accent-grad); }
.fchip.on { background: rgba(123,97,255,.28); border-color: rgba(157,123,255,.6); }

/* quick add: fully pill, nothing inside draws its own box */
.qa2 .qa-row { padding: 4px 4px 4px 6px; border-radius: var(--r-pill); }
.qa2 .input { border-radius: var(--r-pill); padding: 11px 14px; min-height: 44px; }
.qa2 .send { width: 44px; height: 44px; }
.qa-opts .input { border-radius: var(--r-sm); }

/* meeting title: text never touches an edge */
.m-hero .title-input, .title-input {
  display: block; width: calc(100% + 24px); margin: 12px -12px 0 !important; padding: 8px 12px !important;
  border-radius: var(--r-sm); border: 1px solid transparent !important; background: transparent !important; box-shadow: none !important;
  transition: background-color .2s, border-color .2s;
}
.m-hero .title-input:focus, .title-input:focus { background: rgba(255,255,255,.06) !important; border-color: rgba(166,124,255,.5) !important; padding-left: 12px !important; }
@media (hover: hover) and (pointer: fine) { .m-hero .title-input:hover:not(:focus) { background: rgba(255,255,255,.03) !important; } }
.m-hero { padding: 20px; }
.m-hero .fchips { margin-top: 12px; }

/* comfortable inner spacing for every surface */
.surface { padding: var(--pad-surface); }
.list2 { padding: 4px var(--pad-surface); }
.acc { padding: 0 var(--pad-surface); }
.draft { padding: 14px 16px; border-radius: var(--r-sm); line-height: 1.6; }
.lead-p { line-height: 1.65; }

/* pills and chips: consistent height and alignment */
.task-meta { gap: 6px; }
.pill, .due { display: inline-flex; align-items: center; min-height: 24px; padding: 0 9px; border-radius: 8px; line-height: 1; }
.badge { min-height: 24px; }

/* consistent focus ring */
.input:focus-visible, .fchip:focus-visible, .tabs button:focus-visible, .row2:focus-visible, .a-card:focus-visible, .set-row:focus-visible, .q:focus-visible { outline: 2px solid #a67cff; outline-offset: 2px; }

/* desktop: keep content comfortable, not stretched */
@media (min-width: 900px) {
  .app { max-width: 720px; }
  .ph h1 { font-size: 36px; }
}

/* ================= v8: one page width everywhere (fit to screen) ================= */
:root { --page-max: 720px; --gutter: 16px; }
.app { max-width: calc(var(--page-max) + var(--gutter) * 2) !important; padding-left: var(--gutter); padding-right: var(--gutter); }
.nav { padding: 0 var(--gutter) calc(12px + var(--safe-b)); }
.nav-in { max-width: var(--page-max) !important; }
.composer { width: calc(100% - var(--gutter) * 2); max-width: var(--page-max); }
.toast { max-width: min(calc(100% - var(--gutter) * 2), var(--page-max)); }
.sheet { max-width: calc(var(--page-max) + var(--gutter) * 2); }
.slider, .fchips { margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); scroll-padding: 0 var(--gutter); }
@media (min-width: 768px) {
  /* inside the centered column, sliders stay within the column edges */
  .slider, .fchips { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; scroll-padding: 0; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
  .app { padding-top: 24px; }
}

/* ================= v9: bottom nav (capsule + separate Rekam) ================= */
.nav-bar { pointer-events: auto; max-width: var(--page-max); margin: 0 auto; display: flex; align-items: center; gap: 10px; }
.nav-pill { flex: 1; min-width: 0; height: 64px; padding: 6px; border-radius: 999px; display: flex; align-items: center; justify-content: space-between; gap: 2px;
  background: linear-gradient(160deg, rgba(40,44,82,.82), rgba(16,18,40,.86)); border: 1px solid rgba(255,255,255,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 18px 40px -14px rgba(0,0,0,.85);
  -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%); }
.nav .nt { --nt-on-bg: #eceaff; position: relative; flex: 0 0 auto; height: 52px; min-width: 52px; padding: 0 14px; border-radius: 999px; display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 0;
  color: #9aa0c8; text-decoration: none; font-size: 14px; font-weight: 700; letter-spacing: 0; background: transparent; box-shadow: none;
  transition: background-color .35s var(--ease-out), color .25s, padding .35s var(--ease-out), flex-grow .35s var(--ease-out); }
.nav .nt::after, .nav a.nav-rec::after { content: none !important; }
.nav .nt .nt-ic { display: grid; place-items: center; width: 24px; height: 24px; }
.nav .nt svg { width: 24px; height: 24px; filter: none !important; transform: none; transition: transform .3s var(--ease-pop); }
.nav .nt .nt-lb { max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; transition: max-width .35s var(--ease-out), opacity .2s, margin .35s var(--ease-out); }
.nav .nt.on { color: #14123a; background: var(--nt-on-bg); padding: 0 18px 0 14px; box-shadow: 0 6px 18px -8px rgba(160,150,255,.7), inset 0 -2px 0 rgba(20,18,58,.06); }
.nav .nt.on .nt-lb { max-width: 90px; opacity: 1; margin-left: 8px; }
.nav .nt.on svg { animation: ntPop .35s var(--ease-pop); }
@keyframes ntPop { 0% { transform: scale(.7); } 100% { transform: scale(1); } }
.nav .nt:not(.on):active svg { transform: scale(.86); }
@media (hover: hover) and (pointer: fine) { .nav .nt:not(.on):hover { color: #fff; background: rgba(255,255,255,.06); } }
.nav .nt:focus-visible, .nav .nav-rec:focus-visible { outline: 2px solid #a67cff; outline-offset: 2px; }

.nav a.nav-rec { flex: none; width: 64px; height: 64px; padding: 0; border-radius: 50%; display: grid; place-items: center; color: #fff; text-decoration: none;
  background: radial-gradient(circle at 30% 24%, rgba(255,255,255,.45), transparent 36%), linear-gradient(140deg, #4f5bff, #6a4dff 55%, #8f6bff);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4), inset 0 -6px 14px rgba(40,20,140,.35), 0 14px 30px -10px rgba(90,80,255,.95);
  transition: transform .2s var(--ease-pop), box-shadow .3s; }
.nav a.nav-rec svg { width: 26px; height: 26px; color: #fff; filter: none; }
.nav a.nav-rec:active { transform: scale(.9); }
.nav a.nav-rec.on { background: radial-gradient(circle at 30% 24%, rgba(255,255,255,.45), transparent 36%), linear-gradient(140deg, #4f5bff, #6a4dff 55%, #8f6bff); box-shadow: 0 0 0 3px rgba(3,4,11,.9), 0 0 0 5px rgba(166,124,255,.8), 0 14px 30px -10px rgba(90,80,255,.95); }
.nav a.nav-rec.live { background: radial-gradient(circle at 30% 24%, rgba(255,255,255,.4), transparent 36%), linear-gradient(140deg, #ff5a8a, #d6428a); animation: recLive 1.6s ease-in-out infinite; }
.nr-sq { width: 20px; height: 20px; border-radius: 6px; background: #fff; }
@keyframes recLive { 50% { box-shadow: 0 0 0 8px rgba(255,90,138,.15), 0 14px 30px -10px rgba(255,90,138,.9); } }
@media (max-width: 360px) { .nav .nt { padding: 0 11px; min-width: 46px; } .nav .nt.on { padding: 0 14px 0 11px; } .nav a.nav-rec { width: 58px; height: 58px; } .nav-pill { height: 58px; } }
@media (min-width: 560px) { .nav-pill { padding: 6px 10px; } }
@media (prefers-reduced-motion: reduce) { .nav .nt, .nav .nt .nt-lb, .nav .nt svg { transition: none; animation: none; } .nav a.nav-rec.live { animation: none; } }

/* ================= v10: nav fit + contrast fix ================= */
.nav-pill { overflow: hidden; gap: 0; padding: 5px; }
.nav a.nt { flex: 1 1 0; min-width: 40px; padding: 0; }
.nav a.nt.on { flex: 0 0 auto; padding: 0 16px 0 12px; }
.nav a.nt .nt-lb { font-size: 13.5px; }
.nav a.nt.on .nt-lb { max-width: 76px; margin-left: 7px; }
/* old ".nav a.on svg { color:#fff }" made the filled icon white on the light chip */
.nav a.nt svg, .nav a.nt.on svg { color: inherit; }
.nav a.nt { color: #b7bce3; }
.nav a.nt.on { color: #17144a; }
@media (max-width: 340px) {
  .nav a.nt.on .nt-lb { display: none; }
  .nav a.nt.on { padding: 0 14px; }
}
/* v11: stable page height, no scroll clamp jump */
html { scroll-behavior: auto; overscroll-behavior-y: auto; }
html.standalone, html.standalone body { overscroll-behavior-y: none; }
.app { min-height: 100vh; min-height: 100dvh; }
/* v12: page transitions must never widen the page (Meeting's full-bleed chips slid 18px past the edge,
   Chrome Android then grew the layout viewport and the bottom menu dropped for a moment) */
html, body { overflow-x: clip; }
.app { overflow-x: clip; }
@keyframes pgL { from { opacity: 0; transform: translateX(10px); } }
@keyframes pgR { from { opacity: 0; transform: translateX(-10px); } }

/* ================= v13: quick add options, composer ================= */
.qa-opts { display: grid; grid-template-rows: 0fr; max-height: none; overflow: visible; margin: 0; gap: 0; grid-template-columns: 1fr; transition: grid-template-rows .3s var(--ease-out), margin .3s var(--ease-out); }
.qa-opts.open { grid-template-rows: 1fr; max-height: none; margin-top: 12px; }
.qa-inner { overflow: hidden; min-height: 0; display: flex; flex-direction: column; gap: 10px; }
.qa-line { display: flex; align-items: center; gap: 10px; min-width: 0; }
.qa-line .fl { flex: 0 0 64px; font-size: 12px; font-weight: 700; color: var(--muted); }
.qa-line .fchips { flex: 1; min-width: 0; margin: 0; padding: 2px 0; }
.qa-line .fchip { min-height: 36px; padding: 0 14px; font-size: 13px; }
.date-chip { position: relative; display: inline-flex; align-items: center; gap: 6px; }
.date-chip svg { width: 15px; height: 15px; }
.date-chip input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; padding: 0; margin: 0; color-scheme: dark; }
.date-chip input::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; cursor: pointer; opacity: 0; }
.qa2 .send:disabled { opacity: .5; }

/* chat composer: one tidy line like the home ask bar */
.composer { bottom: calc(76px + 12px + var(--safe-b)); min-height: 54px; padding: 6px 6px 6px 18px; align-items: center; border-radius: 999px; }
.composer textarea { padding: 8px 0; font-size: 15px; line-height: 1.4; max-height: 110px; min-height: 22px; }
.composer textarea::placeholder { color: #8e93bd; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.composer .send { width: 42px; height: 42px; }
.thread { padding-bottom: calc(76px + 12px + 54px + 28px + var(--safe-b)); }
/* v13b: sheets and form labels in the same calm style */
.field > span { text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 700; color: #b7bce3; }
.sheet-title { margin: 0 0 14px; font-size: 18px; font-weight: 800; letter-spacing: -.2px; }
.sheet .fchips { margin: 0; padding: 2px 0; }
.sheet textarea#et { min-height: 48px; resize: none; overflow: hidden; line-height: 1.45; }
.sheet .input { border-radius: 16px; }
.sheet-actions { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.sheet-actions .btn { min-height: 46px; }
input[type=date].input { min-height: 48px; }
/* v13c: toast at the top (never covers the composer, list or menu), tidy headers */
.toast { top: calc(var(--safe-t) + 14px); bottom: auto; transform: translateX(-50%) translateY(-16px); width: max-content; min-width: 180px; max-width: min(calc(100% - var(--gutter) * 2), 420px); text-align: center; border-radius: 999px; padding: 12px 20px; line-height: 1.35; z-index: 80;
  background: linear-gradient(145deg, rgba(48,52,98,.96), rgba(24,26,56,.96)); }
.toast.show { transform: translateX(-50%) translateY(0); }
.qa2 .input:focus, .qa2 .input:focus-visible { outline: none; box-shadow: none; border: 0; }
.ph h1 { font-size: clamp(26px, 8.2vw, 32px); }
@media (max-width: 380px) { .ph-act { gap: 4px; } .ph-act .icon-btn { width: 40px; height: 40px; } .ph-act .icon-btn svg { width: 18px; height: 18px; } }
.acc > summary em { white-space: nowrap; }
@media (max-width: 400px) { .form-surface .acc > summary em { display: none; } }
/* v14: quick-add detail card (tiles) */
.qa2 { position: relative; }
.qa2:has(.qa-opts.open) .qa-row { border-color: rgba(166,124,255,.6); box-shadow: 0 0 0 4px rgba(124,97,255,.12); }
.qa-card { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 16px; border-radius: 24px; background: linear-gradient(160deg, rgba(123,97,255,.12), rgba(255,255,255,.035) 40%, rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.09); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 18px 40px -24px rgba(0,0,0,.8); }
.qa-grp { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.qa-gh { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 2px; }
.qa-gh span { font-size: 12px; font-weight: 700; letter-spacing: .02em; color: var(--muted); }
.qa-gh em { font-style: normal; font-size: 12px; color: var(--dim); padding: 3px 10px; border-radius: 99px; background: rgba(255,255,255,.05); transition: color .15s, background .15s; }
.qa-gh em.on { color: #d9d0ff; background: rgba(124,97,255,.22); }
.qa-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.qa-tile { --tc: #9d7bff; position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; min-height: 44px; padding: 10px; border-radius: 16px; border: 1px solid rgba(255,255,255,.07); background: rgba(255,255,255,.035); color: var(--text); font: inherit; text-align: left; cursor: pointer; touch-action: manipulation; transition: transform .12s var(--ease-out, ease-out), background .15s, border-color .15s, box-shadow .15s; }
.qa-tile:active { transform: scale(.96); }
@media (hover: hover) and (pointer: fine) { .qa-tile:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); } }
.qa-tile:focus-visible, .qa-tile:has(input:focus-visible) { outline: 2px solid var(--tc); outline-offset: 2px; }
.qa-ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 11px; color: var(--tc); background: color-mix(in srgb, var(--tc) 16%, transparent); flex-shrink: 0; transition: background .15s, color .15s; }
.qa-ic svg { width: 17px; height: 17px; }
.qa-tx { display: flex; flex-direction: column; gap: 1px; min-width: 0; width: 100%; }
.qa-tx b { font-size: 13.5px; font-weight: 700; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qa-tx small { font-size: 11.5px; color: var(--dim); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qa-ok { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--tc); color: #0b0a1f; opacity: 0; transform: scale(.4); transition: opacity .15s, transform .25s cubic-bezier(.34,1.56,.64,1); }
.qa-ok svg { width: 11px; height: 11px; }
.qa-tile.on { background: color-mix(in srgb, var(--tc) 14%, rgba(255,255,255,.02)); border-color: color-mix(in srgb, var(--tc) 60%, transparent); box-shadow: 0 8px 22px -14px var(--tc), inset 0 1px 0 rgba(255,255,255,.08); }
.qa-tile.on .qa-ic { background: var(--tc); color: #0b0a1f; }
.qa-tile.on .qa-tx small { color: color-mix(in srgb, var(--tc) 55%, #fff); }
.qa-tile.on .qa-ok { opacity: 1; transform: scale(1); }
.qa-tile.date-chip { display: flex; }
.qa-tile.date-chip svg { width: 17px; height: 17px; }
.qa-tile.date-chip .qa-ok svg { width: 11px; height: 11px; }
.qa-foot { display: flex; justify-content: flex-end; gap: 8px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.06); }
.qa-foot .btn { min-height: 40px; padding: 0 16px; border-radius: 99px; }
.btn.ghost { background: transparent; border-color: transparent; box-shadow: none; color: var(--muted); }
.btn.ghost:hover { color: var(--text); background: rgba(255,255,255,.05); }
.qa-go svg { width: 16px; height: 16px; }
.qa-go:disabled { opacity: .55; }
@media (min-width: 560px) {
  .qa-card { padding: 20px; gap: 18px; }
  .qa-tile { flex-direction: row; align-items: center; gap: 12px; padding: 12px 14px; min-height: 60px; }
  .qa-ic { width: 36px; height: 36px; border-radius: 12px; }
  .qa-ok { top: 50%; right: 12px; margin-top: -9px; }
  .qa-tile .qa-tx { padding-right: 20px; }
  .qa-tx b { font-size: 14px; }
}
@media (max-width: 340px) { .qa-tile { padding: 8px; } .qa-tx small { display: none; } }
@media (prefers-reduced-motion: reduce) { .qa-tile, .qa-ok { transition: none; } }

/* v14: install banner + sheet */
.inst-ic { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 13px; overflow: hidden; background: linear-gradient(145deg, rgba(123,97,255,.35), rgba(61,123,255,.15)); box-shadow: inset 0 1px 0 rgba(255,255,255,.18); }
.inst-ic img { width: 100%; height: 100%; object-fit: cover; }
.inst-ic.big { width: 64px; height: 64px; border-radius: 18px; box-shadow: 0 12px 30px -12px rgba(123,97,255,.8), inset 0 1px 0 rgba(255,255,255,.2); }
.inst-ban { background: linear-gradient(120deg, rgba(123,97,255,.16), rgba(255,255,255,.04) 60%); border-color: rgba(157,123,255,.28); }
.inst-sheet { padding-bottom: calc(20px + var(--safe-b)); }
.inst-head { display: flex; align-items: center; gap: 14px; padding: 10px 4px 18px; }
.inst-head h3 { margin: 0 0 4px; font-size: 20px; }
.inst-head p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.45; }
.inst-steps { list-style: none; margin: 0 0 16px; padding: 6px 14px; border-radius: 20px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); }
.inst-steps li { display: flex; gap: 12px; padding: 12px 0; animation: pgU .3s var(--ease-out) both; animation-delay: calc(var(--i) * 50ms); }
.inst-steps li + li { border-top: 1px solid rgba(255,255,255,.06); }
.inst-n { display: grid; place-items: center; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-grad); color: #fff; font-size: 13px; font-weight: 800; }
.inst-steps .st { display: block; font-size: 14px; font-weight: 500; line-height: 1.35; }
.inst-steps .st b { font-weight: 800; }
.inst-steps small { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); line-height: 1.4; }
.inst-sheet .sheet-actions .btn { flex: 1; }
/* v14: pull to refresh (installed app only) */
.ptr { position: fixed; z-index: 70; left: 50%; top: calc(var(--safe-t) - 40px); width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: #cfc6ff; background: rgba(28,30,62,.95); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 10px 24px -10px rgba(0,0,0,.8); opacity: 0; transform: translate(-50%, 0); pointer-events: none; }
.ptr svg { width: 18px; height: 18px; }
.ptr.ready { color: #fff; background: #5d4fe0; }
.ptr.back { transition: transform .25s var(--ease-out), opacity .2s; }
.ptr.spin { transition: transform .2s var(--ease-out); opacity: 1; }
.ptr.spin svg { animation: ptrspin .7s linear infinite; }
@keyframes ptrspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ptr.spin svg { animation: none; } .inst-steps li { animation: none; } }
/* v15: email */
.m-list { padding: 0 14px; }
.m-row { display: flex; align-items: flex-start; gap: 12px; width: 100%; padding: 14px 0; border: 0; border-top: 1px solid var(--stroke-2); background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; touch-action: manipulation; transition: opacity .15s, transform .12s; }
.m-list .m-row:first-child { border-top: 0; }
.m-row:active { transform: scale(.985); }
.m-row.is-done { opacity: .6; }
.m-av { --h: 250; flex-shrink: 0; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 14px; font-size: 14px; font-weight: 800; letter-spacing: .02em; color: hsl(var(--h) 90% 86%); background: linear-gradient(145deg, hsl(var(--h) 70% 50% / .38), hsl(var(--h) 70% 40% / .14)); box-shadow: inset 0 1px 0 rgba(255,255,255,.12); }
.m-av.big { width: 48px; height: 48px; border-radius: 16px; font-size: 16px; }
.m-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.m-top { display: flex; align-items: center; gap: 6px; min-width: 0; }
.m-top b { font-size: 13px; font-weight: 600; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-top time { margin-left: auto; flex-shrink: 0; font-size: 12px; color: var(--dim); }
.m-ext { flex-shrink: 0; font-style: normal; font-size: 10.5px; font-weight: 700; padding: 1px 7px; border-radius: 99px; color: #ffd49a; background: rgba(240,183,106,.14); }
.m-sub { font-size: 14.5px; font-weight: 650; line-height: 1.35; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-dot { display: inline-block; width: 7px; height: 7px; margin: 0 6px 1px 0; border-radius: 50%; background: var(--accent-grad); vertical-align: middle; }
.m-row.unread .m-top b { color: var(--text); }
.m-sum { font-size: 12.5px; line-height: 1.45; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.m-act { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; max-width: 100%; margin-top: 4px; padding: 4px 10px 4px 8px; border-radius: 99px; font-size: 12px; font-weight: 600; color: #d9d0ff; background: rgba(124,97,255,.18); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-act svg { width: 13px; height: 13px; flex-shrink: 0; }
.m-empty-ic { display: grid; place-items: center; width: 56px; height: 56px; flex-shrink: 0; border-radius: 18px; color: #b9ccff; background: linear-gradient(145deg, rgba(61,123,255,.3), rgba(166,124,255,.1)); }
.m-empty-ic svg { width: 26px; height: 26px; }
.mail-sheet { padding-bottom: calc(16px + var(--safe-b)); }
.ms-head { display: flex; align-items: center; gap: 12px; padding: 10px 2px 14px; }
.ms-head b { display: block; font-size: 15px; }
.ms-head small { display: block; font-size: 12px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ms-head .grow { min-width: 0; }
.mlv { flex-shrink: 0; font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 99px; }
.mlv-hi { color: #ffb0c0; background: rgba(255,90,122,.16); }
.mlv-info { color: #b9ccff; background: rgba(61,123,255,.16); }
.mlv-low { color: var(--dim); background: rgba(255,255,255,.06); }
.ms-subj { margin: 0 2px 4px; font-size: 19px; line-height: 1.35; }
.ms-when { margin: 0 2px 14px; font-size: 12.5px; color: var(--dim); }
.ms-ai { padding: 14px 16px; border-radius: 20px; margin-bottom: 12px; background: linear-gradient(150deg, rgba(123,97,255,.18), rgba(61,123,255,.06)); border: 1px solid rgba(157,123,255,.22); }
.ms-ai-h { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: #cfc6ff; }
.ms-ai-h svg { width: 14px; height: 14px; }
.ms-ai p { margin: 8px 0 0; font-size: 14px; line-height: 1.5; }
.ms-ai .ms-do b { color: #d9d0ff; }
.ms-ai small { display: block; margin-top: 8px; font-size: 11.5px; color: var(--dim); }
.ms-prev { padding: 12px 16px; border-radius: 18px; margin-bottom: 12px; background: rgba(255,255,255,.035); border: 1px solid var(--stroke-2); }
.ms-prev span { font-size: 12px; font-weight: 700; color: var(--muted); }
.ms-prev p { margin: 6px 0 0; font-size: 13px; line-height: 1.55; color: #c9cbe6; overflow-wrap: anywhere; }
.ms-att { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.ms-att span { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 6px 10px; border-radius: 12px; font-size: 12px; background: rgba(255,255,255,.05); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ms-att svg { width: 14px; height: 14px; flex-shrink: 0; }
.ms-actions .btn { flex: 1; }
.ms-open { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--muted); text-decoration: none; }
.ms-open svg { width: 15px; height: 15px; }
/* v16: agenda today / next day switch */
.ag-h { align-items: center; }
.ag-seg { --i: 0; position: relative; display: grid; grid-template-columns: 1fr 1fr; margin-left: auto; padding: 3px; border-radius: 99px; background: rgba(255,255,255,.05); border: 1px solid var(--stroke-2); }
.ag-seg-pill { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 99px; background: var(--accent-grad); box-shadow: 0 6px 16px -8px rgba(123,97,255,.9); transform: translateX(calc(var(--i) * 100%)); transition: transform .28s var(--ease-out); }
.ag-seg button { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 34px; padding: 0 14px; border: 0; background: none; color: var(--muted); font: inherit; font-size: 13px; font-weight: 650; white-space: nowrap; cursor: pointer; touch-action: manipulation; transition: color .15s; }
.ag-seg button.on { color: #fff; }
.ag-seg b { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; font-size: 11px; line-height: 18px; text-align: center; background: rgba(255,255,255,.1); }
.ag-seg button.on b { background: rgba(255,255,255,.25); }
.ag-tent { font-size: 11.5px; font-weight: 600; color: #ffd49a; padding: 3px 9px; border-radius: 99px; background: rgba(240,183,106,.14); margin-right: auto; }
.ag-swap { animation: agSwap .28s var(--ease-out) both; }
@keyframes agSwap { from { opacity: 0; transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) { .ag-seg-pill { transition: none; } .ag-swap { animation: none; } }
/* v17: meeting prep */
.ag-foot { align-items: center; gap: 8px; }
.ag-acts { display: inline-flex; gap: 6px; margin-left: auto; }
.ag-prep { cursor: pointer; font: inherit; font-size: 12px; font-weight: 700; background: linear-gradient(135deg, rgba(93,107,255,.45), rgba(157,123,255,.3)); border-color: rgba(157,123,255,.45); }
.ag-recb { width: 36px; padding: 0; justify-content: center; }
.prep-hero { position: relative; padding: 18px; border-radius: 26px; margin-bottom: 14px; overflow: hidden; background: radial-gradient(120% 90% at 100% 0%, rgba(157,123,255,.35), transparent 60%), linear-gradient(160deg, rgba(61,123,255,.16), rgba(255,255,255,.03)); border: 1px solid rgba(157,123,255,.25); }
.prep-hero.sk-card { height: auto; }
.prep-when { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: #cfc6ff; }
.prep-when svg { width: 15px; height: 15px; }
.prep-hero h2 { margin: 8px 0 4px; font-size: 21px; line-height: 1.3; letter-spacing: -.3px; }
.prep-loc { margin: 0; font-size: 13px; color: var(--muted); }
.prep-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.prep-chips span { font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 99px; background: rgba(255,255,255,.08); color: #dcdcf5; }
.prep-chips .kw { background: rgba(124,97,255,.2); color: #d9d0ff; }
.prep-body { padding: 16px 18px; border-radius: 24px; margin-bottom: 18px; background: rgba(255,255,255,.035); border: 1px solid var(--stroke-2); font-size: 14.5px; line-height: 1.55; }
.prep-body.md h3 { margin: 16px 0 6px; font-size: 12px; }
.prep-body.md p:first-child { margin-top: 0; }
.prep-body.md li { margin: 3px 0; }
.prep-loading { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 13px; color: #cfc6ff; }
.prep-loading svg { width: 18px; height: 18px; animation: spin 1.6s linear infinite; }
.clamp2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; white-space: normal !important; }
.prep-actions { display: flex; gap: 8px; margin: 6px 0 12px; }
.prep-actions .btn { flex: 1; min-height: 48px; }
.prep-actions .btn svg { width: 17px; height: 17px; }
.btn.busy svg { animation: spin 1s linear infinite; }
@media (prefers-reduced-motion: reduce) { .prep-loading svg, .btn.busy svg { animation: none; } }
/* v18: Tim ASTRA (Hermes) + laporan */
.composer.has-mode { padding-left: 6px; }
.mode-btn { flex-shrink: 0; display: inline-flex; align-items: center; gap: 5px; height: 40px; padding: 0 12px 0 10px; border-radius: 99px; border: 1px solid var(--stroke); background: rgba(255,255,255,.05); color: var(--muted); font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; touch-action: manipulation; transition: background .15s, color .15s, border-color .15s; }
.mode-btn svg { width: 15px; height: 15px; }
.mode-btn.m-tim { color: #fff; border-color: transparent; background: var(--accent-grad); box-shadow: 0 6px 16px -8px rgba(123,97,255,.9); }
.mode-btn:active { transform: scale(.96); }
.team-pill { display: inline-flex; align-items: center; gap: 6px; color: #d9d0ff; background: rgba(124,97,255,.18); }
.team-pill svg { width: 13px; height: 13px; }
.bubble.typing .tick { font-style: normal; font-size: 12px; color: var(--dim); margin-left: 6px; font-variant-numeric: tabular-nums; }
.rep-row { display: flex; align-items: flex-start; gap: 12px; padding: 14px 0; border-top: 1px solid var(--stroke-2); color: inherit; text-decoration: none; }
.m-list .rep-row:first-child { border-top: 0; }
.rep-row:active { transform: scale(.985); }
.ag-av { --c: #b9a6ff; flex-shrink: 0; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 14px; font-size: 13px; font-weight: 800; color: #0b0a1f; background: linear-gradient(145deg, var(--c), color-mix(in srgb, var(--c) 55%, #1b1a4a)); box-shadow: inset 0 1px 0 rgba(255,255,255,.3); }
.rep-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.rs { font-style: normal; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 99px; }
.rs-ok { color: #9ff0cf; background: rgba(62,224,161,.14); }
.rs-hold { color: #ffd49a; background: rgba(240,183,106,.16); }
.rs-wait { color: #b9ccff; background: rgba(61,123,255,.16); }
.rs-arc { color: var(--dim); background: rgba(255,255,255,.06); }
.rep-hero h2 { margin-top: 12px; }
.rep-by { display: flex; align-items: center; gap: 10px; }
.rep-by b { display: block; font-size: 14px; }
.rep-by small { display: block; font-size: 12px; color: var(--muted); }
.rep-hero .rep-meta { margin-top: 10px; }
.rep-ceo { margin-bottom: 14px; }
.rep-acc { margin-bottom: 12px; }
.rep-acc .md { padding: 4px 2px 10px; font-size: 14px; line-height: 1.55; }
.rep-src { margin: 0; padding: 4px 4px 10px 20px; display: grid; gap: 6px; font-size: 13px; color: #c8cbe8; overflow-wrap: anywhere; }

/* v19: cek parameter + tim agen */
.btn.sm { height: 34px; padding: 0 12px; font-size: 12.5px; gap: 6px; }
.btn.sm svg { width: 15px; height: 15px; }
.rep-acc summary .rs { margin-left: 6px; }
.chk { list-style: none; margin: 0; padding: 4px 0 10px; display: grid; gap: 8px; }
.chk li { display: flex; gap: 10px; align-items: flex-start; }
.chk li > span { flex-shrink: 0; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 8px; font-size: 13px; font-weight: 800; }
.chk li > span svg { width: 13px; height: 13px; }
.chk li.ok > span { color: #9ff0cf; background: rgba(62,224,161,.14); }
.chk li.warn > span { color: #ffd49a; background: rgba(240,183,106,.16); }
.chk li.bad > span { color: #ffb3b3; background: rgba(255,99,99,.16); }
.chk b { display: block; font-size: 13px; font-weight: 700; }
.chk small { display: block; font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.tc-grid { display: grid; gap: 10px; }
.tc { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 14px; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid var(--stroke-2); }
.tc b { font-size: 14px; }
.tc small { display: block; font-size: 12px; color: var(--muted); }
.tc-st { flex-basis: 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.tc-st span { display: grid; gap: 1px; text-align: center; padding: 8px 4px; border-radius: 12px; background: rgba(255,255,255,.04); font-size: 11px; color: var(--muted); }
.tc-st span b { font-size: 16px; color: var(--text, #fff); font-variant-numeric: tabular-nums; }
.ls-grp { margin-top: 12px; }
.ls-h { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.ls-h .ag-av { width: 26px; height: 26px; border-radius: 9px; font-size: 10px; }
.ls { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ls li { display: flex; align-items: center; gap: 8px; padding: 8px 6px 8px 12px; border-radius: 12px; background: rgba(255,255,255,.04); font-size: 13px; line-height: 1.45; }
.ls li span { flex: 1; min-width: 0; }
.agp-seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; margin: 4px 0 10px; }
.agp-seg button { display: grid; justify-items: center; gap: 4px; padding: 10px 4px; border-radius: 14px; border: 1px solid var(--stroke); background: rgba(255,255,255,.04); color: var(--muted); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.agp-seg button .ag-av { width: 32px; height: 32px; border-radius: 11px; font-size: 11px; }
.agp-seg button.on { color: #fff; border-color: rgba(124,97,255,.7); background: rgba(124,97,255,.16); }
.sheet .input + .input { margin-top: 8px; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.md-img { display: block; margin: 10px 0; }
.md-img img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--stroke-2); }
/* v20: biaya tim */
.cost-card { padding: 16px; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid var(--stroke-2); }
.cost-card.over { border-color: rgba(240,183,106,.6); }
.cost-top { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.cost-top b { font-size: 26px; font-variant-numeric: tabular-nums; }
.cost-top span { font-size: 12.5px; color: var(--muted); }
.cost-bar { height: 8px; margin: 10px 0 12px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.cost-bar i { display: block; height: 100%; border-radius: inherit; background: var(--accent-grad); }
.cost-card.over .cost-bar i { background: linear-gradient(90deg, #f0b76a, #ff7a7a); }
.cost-ag { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.cost-ag > span { display: grid; justify-items: center; gap: 3px; padding: 8px 4px; border-radius: 12px; background: rgba(255,255,255,.04); }
.cost-ag .ag-av { width: 26px; height: 26px; border-radius: 9px; font-size: 10px; }
.cost-ag b { font-size: 12.5px; font-variant-numeric: tabular-nums; }
.cost-ag small { font-size: 10.5px; color: var(--muted); text-align: center; }
.cost-top-list { list-style: none; margin: 0; padding: 4px 0 8px; display: grid; gap: 6px; font-size: 13px; }
.cost-top-list li { display: flex; justify-content: space-between; gap: 10px; }
.cost-top-list span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #c8cbe8; }
.sheet label { display: block; margin: 10px 0 4px; }

/* v21: agenda switch, menu 8, anggaran */
.ag-seg { --i: 0; flex: 0 0 auto; width: 196px; padding: 4px; background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.09); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 8px 20px -14px rgba(0,0,0,.8); }
.ag-seg-pill { top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); background: linear-gradient(135deg, #5b7cff, #8b6cff 55%, #b98cff); box-shadow: 0 8px 18px -8px rgba(123,97,255,.95), inset 0 1px 0 rgba(255,255,255,.35); }
.ag-seg button { min-height: 36px; padding: 0 10px; gap: 7px; font-size: 13px; letter-spacing: -.01em; }
.ag-seg b { min-width: 20px; height: 20px; line-height: 20px; font-size: 11px; font-weight: 800; color: var(--muted); background: rgba(255,255,255,.08); font-variant-numeric: tabular-nums; }
.ag-seg button.on b { color: #3b2ea8; background: #fff; }
.quick { row-gap: 16px; }
.q > span:last-child { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; letter-spacing: -.01em; }
.q-ic { position: relative; }
.q-dot { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; font-style: normal; font-size: 11px; font-weight: 800; line-height: 20px; text-align: center; color: #fff; background: #ff5a7a; box-shadow: 0 0 0 2px var(--bg, #05050f); }
.budget { display: block; margin: 0 2px 14px; padding: 14px 16px; border-radius: 18px; text-decoration: none; color: inherit; background: rgba(255,255,255,.05); border: 1px solid var(--stroke-2); }
.budget-h { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; font-weight: 650; }
.budget-h b { font-size: 18px; font-variant-numeric: tabular-nums; }
.budget-bar { position: relative; height: 10px; margin: 10px 0 8px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.budget-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #3d7bff, #8b6cff, #c58cff); transition: width .6s var(--ease-out); }
.budget-bar s { position: absolute; top: 0; bottom: 0; width: 2px; background: rgba(255,255,255,.35); }
.budget.warn .budget-bar i { background: linear-gradient(90deg, #8b6cff, #f0b76a); }
.budget.hot .budget-bar i { background: linear-gradient(90deg, #f0b76a, #ff5a7a); }
.budget.hot .budget-h b { color: #ffb3b3; }
.budget-f { display: flex; justify-content: space-between; gap: 8px; font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.more-sheet .budget { margin: 4px 0 14px; }
.more-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 8px; padding-bottom: 6px; }
.more-it { display: grid; justify-items: center; gap: 6px; padding: 0; border: 0; background: none; color: #dfe2ff; font: inherit; font-size: 11.5px; font-weight: 600; text-align: center; text-decoration: none; cursor: pointer; }
.more-ic { position: relative; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 18px; color: #cfc4ff; background: linear-gradient(160deg, rgba(124,97,255,.22), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.09); }
.more-ic svg { width: 22px; height: 22px; }
.more-ic em { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 99px; font-style: normal; font-size: 10.5px; font-weight: 800; line-height: 18px; color: #fff; background: #ff5a7a; }
.more-it:active .more-ic { transform: scale(.92); }
/* v22: tanya ringkas + riwayat */
.ask-tools { display: inline-flex; align-items: center; padding: 4px; border-radius: 99px; background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.1); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 10px 24px -14px rgba(0,0,0,.8); }
.ask-tools a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 99px; color: #dfe2ff; transition: background .15s, transform .12s; }
.ask-tools a svg { width: 19px; height: 19px; }
.ask-tools a:active { transform: scale(.92); }
.ask-tools a:last-child { color: #fff; background: linear-gradient(135deg, #5b7cff, #8b6cff 55%, #b98cff); box-shadow: 0 8px 18px -8px rgba(123,97,255,.95), inset 0 1px 0 rgba(255,255,255,.3); }
.ask-tools a.off { opacity: .55; }
.ask-tools i { width: 1px; height: 20px; margin: 0 4px; background: rgba(255,255,255,.12); }
.ask-hero { padding: 36px 6px 8px; }
.ask-hero h3 { font-size: 22px; margin: 14px 0 4px; }
.ask-hero p { margin: 0; }
.sugg { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.sugg-chip { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px 0 9px; border-radius: 99px; border: 1px solid var(--stroke); background: rgba(255,255,255,.05); color: #dfe2ff; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; animation: rise .4s var(--ease-out) both; animation-delay: calc(.1s + var(--i) * 50ms); }
.sugg-chip img { width: 22px; height: 22px; }
.sugg-chip:active { transform: scale(.96); }
@media (hover: hover) and (pointer: fine) { .sugg-chip:hover { border-color: rgba(166,124,255,.5); } }
.hist-search { position: relative; display: block; margin: 0 0 6px; }
.hist-search svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.hist-search .input { padding-left: 42px; border-radius: 99px; }
.hist-row .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .sugg-chip { animation: none; } }
/* v23: header ringkas, agenda, biaya */
.ph { min-height: 44px; margin: 2px 0 16px; }
.ph h1, .ph h1 { font-size: 24px; letter-spacing: -.4px; line-height: 1.15; }
@media (min-width: 900px) { .ph h1 { font-size: 28px; } }
.ph-sub { display: none; }
.sec-link.link-btn { font-size: 13px; font-weight: 700; }
.ag-top { min-width: 0; }
.ag-time { white-space: nowrap; }
.ag-time em { margin-left: 0; }
.ag-flags { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; }
.ag-flags .live, .ag-flags .nextc, .ag-flags .donec { margin-left: 0; }
.ag-top .ag-tent { margin: 0; padding: 3px 8px; font-size: 10.5px; font-weight: 800; line-height: 1.2; white-space: nowrap; }
.cost-card { padding: 16px 16px 6px; }
.cost-top b { font-size: 24px; }
.cost-ag > span { gap: 4px; padding: 10px 4px; }
.cost-ag small { font-size: 11px; }
.cost-ag b { font-size: 13px; }
.cost-note { margin: 10px 2px 4px; font-size: 11.5px; color: var(--dim); }
.cost-acc { margin: 8px -4px 10px; padding: 0 12px; background: rgba(0,0,0,.18); }
.cost-top-list { list-style: none; margin: 0; padding: 0 0 4px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; counter-reset: none; }
.cost-top-list li { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 8px 0; border-top: 1px solid var(--stroke-2); }
.cost-top-list li:first-child { border-top: 0; }
.cost-top-list .ag-av { width: 24px; height: 24px; border-radius: 8px; font-size: 9.5px; }
.cost-top-list .ct { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; color: #c8cbe8; }
.cost-top-list b { flex-shrink: 0; font-size: 13px; font-variant-numeric: tabular-nums; }
/* v24: avatar karakter agen */
.ag-av.has-img { padding: 0; overflow: hidden; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 6px 14px -8px color-mix(in srgb, var(--c) 80%, #000); }
.ag-av.has-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tc .ag-av { width: 48px; height: 48px; border-radius: 16px; }
.rep-by .ag-av { width: 44px; height: 44px; }
.rec-note { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0 2px; padding: 10px 12px; border-radius: 14px; background: rgba(61,123,255,.1); border: 1px solid rgba(61,123,255,.22); font-size: 12.5px; line-height: 1.45; color: #c9d6ff; }
.rec-note svg { flex-shrink: 0; width: 18px; height: 18px; margin-top: 1px; }
/* v25: email sheet */
.ms-inv { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; padding: 12px 14px; border-radius: 16px; background: rgba(61,123,255,.1); border: 1px solid rgba(61,123,255,.25); }
.ms-inv-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: #b9ccff; background: rgba(61,123,255,.18); flex-shrink: 0; }
.ms-inv-ic svg { width: 20px; height: 20px; }
.ms-inv b { display: block; font-size: 14px; }
.ms-inv small { display: block; font-size: 12.5px; color: var(--muted); }
.ms-more { font-style: normal; color: var(--dim); }
.ms-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 14px 0 6px; }
.ms-q { display: grid; justify-items: center; gap: 6px; padding: 0; border: 0; background: none; color: #dfe2ff; font: inherit; font-size: 11.5px; font-weight: 600; text-align: center; text-decoration: none; cursor: pointer; }
.ms-q > span { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 17px; color: #cfc4ff; background: linear-gradient(160deg, rgba(124,97,255,.22), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.09); }
.ms-q svg { width: 21px; height: 21px; }
.ms-q:active > span { transform: scale(.92); }
.ms-draft { margin: 10px 0 4px; padding: 14px; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid var(--stroke-2); }
.ms-draft-h { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.ms-draft-h b { font-size: 14px; margin-right: auto; }
.ms-int { display: flex; gap: 4px; flex-wrap: wrap; }
.ms-int button { height: 28px; padding: 0 10px; border-radius: 99px; border: 1px solid var(--stroke); background: none; color: var(--muted); font: inherit; font-size: 11.5px; font-weight: 700; cursor: pointer; }
.ms-int button.on { color: #fff; border-color: transparent; background: rgba(124,97,255,.35); }
.ms-draft textarea { font-size: 14px; line-height: 1.5; }
.ms-draft-a { display: flex; gap: 8px; justify-content: flex-end; margin: 10px 0 6px; flex-wrap: wrap; }
.ms-full { font-size: 14px; line-height: 1.55; color: #d6d9f5; overflow-wrap: anywhere; margin-top: 6px; }
.ms-full.clip { max-height: 260px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.ms-exp { display: block; margin-top: 8px; font-size: 13px; font-weight: 700; color: #c9b8ff; }

/* ================= v26: persistent menu, lighter page transitions ================= */
.view { display: contents; }
.app.pg-l > :not(.nav), .app.pg-r > :not(.nav), .app.pg-up > :not(.nav) { animation: none; }
.app.pg-l > .view > :not(.composer) { animation: pgL2 .22s var(--ease-out) both; }
.app.pg-r > .view > :not(.composer) { animation: pgR2 .22s var(--ease-out) both; }
.app.pg-up > .view > :not(.composer) { animation: pgU2 .22s var(--ease-out) both; }
.app[class*="pg-"] > .view > .composer { animation: pgFade .22s ease-out both; }
@keyframes pgFade { from { opacity: 0; } }
@keyframes pgL2 { from { opacity: 0; transform: translate3d(8px, 0, 0); } }
@keyframes pgR2 { from { opacity: 0; transform: translate3d(-8px, 0, 0); } }
@keyframes pgU2 { from { opacity: 0; transform: translate3d(0, 6px, 0); } }
.app.quiet .view *, .app.quiet .view *::before, .app.quiet .view *::after { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) { .app > .view > * { animation: none !important; } }

/* ================= v27: IRAM Pulse ================= */
.pl-eye { font-size: 11px; font-weight: 800; letter-spacing: 1.6px; color: var(--gold-2); }
.pl-hero { position: relative; overflow: hidden; margin: 0 0 14px; padding: 18px; border-radius: 26px; border: 1px solid rgba(240,183,106,.28);
  background: radial-gradient(110% 80% at 100% 0%, rgba(240,183,106,.26), transparent 60%), radial-gradient(90% 90% at 0% 100%, rgba(106,92,255,.28), transparent 60%), linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); box-shadow: var(--inner); }
.pl-hero h2 { margin: 6px 0 2px; font-size: 22px; line-height: 1.25; letter-spacing: -.3px; }
.pl-period { margin: 0; color: var(--muted); font-size: 13px; }
.pl-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.pl-stats div { padding: 10px 6px; border-radius: 16px; text-align: center; background: rgba(255,255,255,.06); border: 1px solid var(--stroke-2); min-width: 0; }
.pl-stats b { display: block; font-size: 22px; line-height: 1.1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pl-stats span { display: block; margin-top: 2px; font-size: 10.5px; color: var(--muted); line-height: 1.2; }
.pl-sec, .pl-lob { margin: 18px 0; }
.pl-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 2px 10px; font-size: 17px; }
.pl-h small { font-size: 12px; font-weight: 600; color: var(--muted); }
.pl-hl { display: grid; gap: 8px; }
.pl-hl-i { display: flex; gap: 12px; padding: 14px; border-radius: 20px; background: var(--glass-2); border: 1px solid var(--stroke-2); }
.pl-hl-i > span { flex: none; width: 28px; height: 28px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 14px; color: #1a1330; background: linear-gradient(135deg, var(--gold-2), var(--gold)); }
.pl-hl-i b { display: block; font-size: 15px; margin-bottom: 3px; }
.pl-hl-i p { margin: 0; font-size: 13.5px; line-height: 1.5; color: #d9d8ee; }
.pl-kw { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 4px; }
.pl-kw i, .pl-nums i { font-style: normal; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: rgba(166,124,255,.14); border: 1px solid rgba(166,124,255,.25); color: #ddd2ff; }
.pl-jump { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-top: 10px; padding-bottom: 4px; position: sticky; top: 0; z-index: 5; background: linear-gradient(var(--bg) 70%, transparent); }
.pl-jump::-webkit-scrollbar { display: none; }
.pl-jump button { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; font: inherit; font-size: 13px; font-weight: 600; color: var(--text); background: var(--glass-2); border: 1px solid var(--stroke); cursor: pointer; }
.pl-jump button b { font-size: 11px; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; background: rgba(240,183,106,.22); color: var(--gold-2); }
.pl-card { padding: 16px; border-radius: 22px; margin-bottom: 10px; background: var(--glass); border: 1px solid var(--stroke); box-shadow: var(--inner); }
.pl-co { font-size: 11.5px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--accent); }
.pl-card h4 { margin: 5px 0 4px; font-size: 16.5px; line-height: 1.35; letter-spacing: -.2px; }
.pl-src { display: block; font-size: 12px; color: var(--dim); }
.pl-card > p { margin: 10px 0 0; font-size: 14px; line-height: 1.6; color: #dedcf2; }
.pl-nums { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pl-nums i { background: rgba(240,183,106,.12); border-color: rgba(240,183,106,.28); color: var(--gold-2); }
.pl-entry { margin-top: 12px; padding: 12px; border-radius: 16px; background: linear-gradient(150deg, rgba(61,123,255,.14), rgba(166,124,255,.08)); border: 1px solid rgba(106,92,255,.3); }
.pl-eh { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #a9c3ff; }
.pl-eh svg { width: 13px; height: 13px; }
.pl-entry > p { margin: 6px 0 0; font-size: 13.5px; line-height: 1.55; }
.pl-prod { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.pl-prod li { display: grid; gap: 2px; padding: 9px 10px; border-radius: 12px; background: rgba(0,0,0,.18); }
.pl-prod b { font-size: 13px; color: #fff; }
.pl-prod span { font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.pl-read { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--accent); text-decoration: none; }
.pl-read svg { width: 14px; height: 14px; }
.pl-ref { display: inline-grid; place-items: center; min-width: 16px; height: 16px; padding: 0 3px; margin-left: 2px; border-radius: 5px; font-size: 10px; font-weight: 700; vertical-align: 2px; line-height: 1; text-decoration: none; color: var(--gold-2); background: rgba(240,183,106,.16); }
.pl-act .md { padding: 14px; border-radius: 20px; background: var(--glass-2); border: 1px solid var(--stroke-2); }
.pl-tile { display: flex; align-items: center; gap: 10px; margin: 4px 0 14px; padding: 14px; border-radius: 22px; border: 1px solid rgba(240,183,106,.28);
  background: radial-gradient(120% 120% at 100% 0%, rgba(240,183,106,.2), transparent 55%), var(--glass); box-shadow: var(--inner); }
.pl-tile-main { flex: 1; min-width: 0; display: grid; gap: 2px; color: inherit; text-decoration: none; }
.pl-tile-main b { font-size: 15.5px; }
.pl-tile-main small { font-size: 12px; color: var(--muted); line-height: 1.35; }
.pl-tile.unread .pl-tile-main b::after { content: ''; display: inline-block; width: 7px; height: 7px; margin-left: 6px; border-radius: 50%; background: var(--gold); vertical-align: 2px; }
.pl-tile .btn { flex: none; }
.pl-busy { flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--gold-2); }
.pl-busy i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: plb 1.2s ease-in-out infinite; }
@keyframes plb { 50% { opacity: .3; transform: scale(.7); } }
@media (max-width: 370px) { .pl-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pl-full { margin: 2px 0 4px; font-size: 11.5px; font-weight: 600; letter-spacing: .2px; color: var(--gold-2); opacity: .85; }

/* ================= v28: jeda rekaman ================= */
.rec-btn.live svg { width: 54px; height: 54px; }
.rec-btn.live.paused { animation: none; filter: saturate(.55) brightness(.85); }
.rec-btn.live.paused::before { animation-play-state: paused; opacity: .45; }
.rec-btn.live.paused svg { transform: translateX(3px); }
.timer.paused { opacity: .55; animation: pz 1.6s ease-in-out infinite; }
@keyframes pz { 50% { opacity: .3; } }
.rec-status .live.paused { background: rgba(240,183,106,.18); color: var(--gold-2); }
.rec-status .live.paused::before { background: var(--gold); animation: none; }
.rec-ctl { display: flex; justify-content: center; gap: 10px; margin: 14px 0 4px; }
.rec-ctl .btn { min-width: 132px; justify-content: center; gap: 8px; }
.rec-ctl .btn svg { width: 16px; height: 16px; }
.rec-ctl .rec-pause.on { background: linear-gradient(135deg, #6a5cff, #a67cff); border-color: transparent; color: #fff; }
.rec-ctl .rec-end { color: #ffd0de; border-color: rgba(255,90,138,.4); background: rgba(255,90,138,.12); }
.rec-ctl .rec-end .nr-sq { width: 12px; height: 12px; border-radius: 3px; background: #ff7aa8; }
.nav a.nav-rec { display: flex !important; flex-direction: row !important; align-items: center !important; justify-content: center !important; gap: 0 !important; line-height: 0; }
.nav a.nav-rec::before { content: none !important; }
.nr-sq { display: block; flex: none; margin: 0; }

/* ================= v29: brief pagi dan penutup hari ================= */
.bf-eye { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: 1.4px; color: #c9b8ff; }
.bf-eye svg { width: 14px; height: 14px; }
.bf-card { position: relative; padding: 16px; border-radius: 24px; background: radial-gradient(120% 80% at 100% 0%, rgba(255,201,168,.16), transparent 55%), linear-gradient(160deg, rgba(166,124,255,.16), rgba(255,255,255,.03)); border: 1px solid rgba(166,124,255,.22); box-shadow: var(--inner); }
.bf-card-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.bf-card-h b { display: block; margin-top: 3px; font-size: 18px; letter-spacing: -.2px; }
.bf-count { font-size: 22px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bf-prog { height: 6px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; margin: 12px 0 10px; }
.bf-prog i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--grad); transition: width .45s var(--ease-out); }
.bf-focus { display: grid; gap: 6px; }
.bf-chk { display: flex; align-items: flex-start; gap: 11px; width: 100%; text-align: left; padding: 10px 12px; border-radius: 16px; border: 1px solid var(--stroke-2); background: rgba(255,255,255,.04); color: var(--text); font: inherit; cursor: pointer; transition: background .2s, border-color .2s; }
.bf-chk:active { transform: scale(.99); }
.bf-box { flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 8px; display: grid; place-items: center; border: 1.6px solid rgba(201,184,255,.55); color: transparent; transition: all .2s var(--ease-out); }
.bf-box svg { width: 14px; height: 14px; }
.bf-t { font-size: 14px; line-height: 1.45; }
.bf-chk.on { background: rgba(62,224,161,.07); border-color: rgba(62,224,161,.22); }
.bf-chk.on .bf-box { background: linear-gradient(135deg, #3ee0a1, #2bb3a0); border-color: transparent; color: #03140e; transform: scale(1.05); }
.bf-chk.on .bf-t { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(154,160,195,.6); }
.bf-more-n { display: inline-block; margin: 8px 2px 0; font-size: 13px; font-weight: 600; color: var(--accent); text-decoration: none; }
.bf-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.bf-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 99px; font-size: 12.5px; font-weight: 600; color: var(--text); text-decoration: none; background: rgba(255,255,255,.06); border: 1px solid var(--stroke-2); }
.bf-chip svg { width: 14px; height: 14px; color: var(--accent); }
.bf-chip em { font-style: normal; color: #ff9bb4; }
.bf-tip-mini { display: flex; gap: 8px; margin-top: 12px; padding: 10px 12px; border-radius: 14px; background: rgba(240,183,106,.08); border: 1px solid rgba(240,183,106,.2); font-size: 13px; line-height: 1.45; color: #efe3d0; }
.bf-tip-mini svg { flex: none; width: 16px; height: 16px; margin-top: 1px; color: var(--gold-2); }
.bf-tip-mini span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bf-open { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 13.5px; font-weight: 700; color: var(--accent); text-decoration: none; }
.bf-open svg { width: 14px; height: 14px; }

.dl-bar { display: grid; gap: 10px; margin-bottom: 14px; }
.dl-date { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 700; font-size: 15px; }
.dl-date .icon-btn { width: 38px; height: 38px; }
.dl-next svg { transform: rotate(180deg); }
.dl-date .icon-btn:disabled { opacity: .3; }
.bf-full { display: grid; gap: 12px; }
.bf-sec { padding: 14px; border-radius: 22px; background: var(--glass-2); border: 1px solid var(--stroke-2); }
.bf-sec h3 { display: flex; align-items: center; gap: 9px; margin: 0 0 10px; font-size: 16px; }
.bf-sec h3 em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: rgba(166,124,255,.16); color: #d7ccff; }
.bf-hic { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(61,123,255,.35), rgba(166,124,255,.35)); color: #fff; }
.bf-hic svg { width: 16px; height: 16px; }
.bf-fok .bf-prog { margin-top: 0; }
.bf-tip { background: radial-gradient(120% 100% at 100% 0%, rgba(240,183,106,.18), transparent 60%), var(--glass-2); border-color: rgba(240,183,106,.25); }
.bf-tip .bf-hic { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #2a1a06; }
.bf-ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.bf-ul li { position: relative; padding-left: 16px; font-size: 14px; line-height: 1.5; }
.bf-ul li::before { content: ''; position: absolute; left: 2px; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--grad); }
.bf-note { margin: 10px 0 0; font-size: 12.5px; color: var(--muted); }
.bf-ag { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--stroke-2); }
.bf-ag:first-of-type { border-top: 0; padding-top: 2px; }
.bf-time { flex: none; width: 56px; padding: 7px 0; border-radius: 12px; text-align: center; background: rgba(61,123,255,.14); border: 1px solid rgba(61,123,255,.25); }
.bf-time b { display: block; font-size: 14px; }
.bf-time i { display: block; font-style: normal; font-size: 11px; color: var(--muted); }
.bf-ag.clash .bf-time { background: rgba(255,90,122,.12); border-color: rgba(255,90,122,.3); }
.bf-ag-b { min-width: 0; }
.bf-ag-b b { display: block; font-size: 14.5px; line-height: 1.35; }
.bf-ag-b span { display: block; margin-top: 3px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.bf-tags { display: flex; gap: 6px; margin-top: 6px; }
.bf-tags:empty { display: none; }
.bf-ag-note { display: block; font-size: 13px; color: var(--muted); padding: 10px 2px 0; }
.bf-mail { display: flex; gap: 10px; padding: 9px 0; border-top: 1px solid var(--stroke-2); }
.bf-mail:first-of-type { border-top: 0; padding-top: 0; }
.bf-ini { flex: none; width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; font-size: 12px; font-weight: 800; background: linear-gradient(135deg, #3d7bff, #a67cff); }
.bf-mail b { display: block; font-size: 13.5px; }
.bf-mail > div > span { display: block; font-size: 13px; line-height: 1.45; color: var(--muted); }

.cl-card { position: relative; display: flex; align-items: center; gap: 12px; margin-bottom: 10px; padding: 14px; border-radius: 22px; overflow: hidden; color: inherit; text-decoration: none;
  background: radial-gradient(100% 120% at 0% 0%, rgba(106,92,255,.35), transparent 60%), linear-gradient(160deg, #141638, #0b0c22); border: 1px solid rgba(166,124,255,.3); box-shadow: var(--inner); }
.cl-moon { position: relative; flex: none; width: 46px; height: 46px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff4dc, #ffd49a 55%, #d99a4e); box-shadow: 0 0 24px rgba(255,212,154,.55); }
.cl-moon i { position: absolute; right: -6px; top: -4px; width: 38px; height: 38px; border-radius: 50%; background: #10122e; }
.cl-moon.big { width: 84px; height: 84px; margin: 0 auto 12px; }
.cl-moon.big i { width: 70px; height: 70px; right: -12px; top: -8px; background: var(--bg); }
.cl-txt { flex: 1; min-width: 0; display: grid; gap: 2px; }
.cl-txt b { font-size: 16px; }
.cl-txt small { font-size: 12px; color: var(--muted); }
.cl-score { flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 18px; background: rgba(255,212,154,.1); border: 1px solid rgba(255,212,154,.3); }
.cl-score b { font-size: 20px; line-height: 1; color: var(--gold-2); }
.cl-score i { font-style: normal; font-size: 10px; color: var(--muted); }
.cl-empty .btn { margin-top: 12px; }

.cl-hero { position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; padding: 20px 18px; margin-bottom: 12px; border-radius: 28px;
  background: radial-gradient(90% 100% at 100% 0%, rgba(255,212,154,.18), transparent 55%), radial-gradient(100% 120% at 0% 100%, rgba(106,92,255,.4), transparent 60%), linear-gradient(160deg, #15173c, #090a1d); border: 1px solid rgba(166,124,255,.3); }
.cl-stars i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff; opacity: .7; animation: twk 3s ease-in-out infinite; }
.cl-stars i:nth-child(1) { left: 12%; top: 18%; } .cl-stars i:nth-child(2) { left: 46%; top: 10%; animation-delay: .6s; } .cl-stars i:nth-child(3) { left: 70%; top: 80%; animation-delay: 1.2s; }
.cl-stars i:nth-child(4) { left: 28%; top: 86%; animation-delay: 1.8s; } .cl-stars i:nth-child(5) { left: 88%; top: 40%; animation-delay: 2.4s; }
@keyframes twk { 50% { opacity: .15; } }
.cl-hero-t { flex: 1; min-width: 0; position: relative; }
.cl-hero-t h2 { margin: 6px 0 6px; font-size: 22px; line-height: 1.25; letter-spacing: -.3px; }
.cl-hero-t p { margin: 0; font-size: 13.5px; line-height: 1.5; color: #d9d6f2; }
.cl-ring { position: relative; flex: none; width: 96px; height: 96px; }
.cl-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.cl-ring circle { fill: none; stroke-width: 8; }
.cl-ring .bg { stroke: rgba(255,255,255,.08); }
.cl-ring .fg { stroke: url(#clg); stroke-linecap: round; stroke-dasharray: var(--c); stroke-dashoffset: var(--c); animation: clr 1.2s .2s var(--ease-out) forwards; }
@keyframes clr { to { stroke-dashoffset: var(--off); } }
.cl-ring div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.cl-ring b { font-size: 28px; line-height: 1; }
.cl-ring span { font-size: 10.5px; color: var(--muted); }
.cl-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.cl-st { display: grid; gap: 2px; padding: 12px; border-radius: 18px; color: inherit; text-decoration: none; background: var(--glass-2); border: 1px solid var(--stroke-2); min-width: 0; }
.cl-st svg { width: 18px; height: 18px; color: var(--accent); margin-bottom: 4px; }
.cl-st b { font-size: 24px; line-height: 1.1; }
.cl-st span { font-size: 12px; color: var(--muted); line-height: 1.3; }
.cl-box { margin-bottom: 12px; padding: 14px; border-radius: 22px; background: var(--glass-2); border: 1px solid var(--stroke-2); }
.cl-box h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 15.5px; }
.cl-box h3 svg { width: 17px; height: 17px; color: var(--accent); }
.cl-refl { background: linear-gradient(150deg, rgba(61,123,255,.14), rgba(166,124,255,.08)); border-color: rgba(106,92,255,.3); }
.cl-refl p { margin: 0; font-size: 14.5px; line-height: 1.6; }
.cl-wins { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.cl-wins li { display: flex; gap: 10px; font-size: 14px; line-height: 1.45; }
.cl-wins li span { flex: none; width: 22px; height: 22px; border-radius: 8px; display: grid; place-items: center; background: linear-gradient(135deg, #3ee0a1, #2bb3a0); color: #03140e; }
.cl-wins li span svg { width: 13px; height: 13px; }
.cl-tl { position: relative; display: grid; gap: 2px; }
.cl-tl-i { position: relative; display: grid; grid-template-columns: 44px 14px minmax(0, 1fr); gap: 8px; padding: 6px 0; color: inherit; text-decoration: none; }
.cl-tl-i time { font-size: 13px; font-weight: 700; color: var(--muted); padding-top: 1px; }
.cl-tl-i > i { position: relative; }
.cl-tl-i > i::before { content: ''; position: absolute; left: 3px; top: 5px; width: 8px; height: 8px; border-radius: 50%; background: #6a5cff; box-shadow: 0 0 0 3px rgba(106,92,255,.2); }
.cl-tl-i > i::after { content: ''; position: absolute; left: 6px; top: 16px; bottom: -12px; width: 2px; background: rgba(255,255,255,.08); }
.cl-tl-i:last-child > i::after { display: none; }
.cl-tl-i.rec > i::before { background: #ff5a8a; box-shadow: 0 0 0 3px rgba(255,90,138,.2); }
.cl-tl-i b { display: block; font-size: 14px; line-height: 1.35; }
.cl-tl-i span { display: block; font-size: 12.5px; color: var(--muted); }
.cl-pend { border-color: rgba(255,90,122,.2); }
.cl-pend h3 svg { color: #ff9bb4; }
.cl-tmr h3 svg { color: var(--gold-2); }
.cl-pr { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--stroke-2); }
.cl-pr:first-of-type { border-top: 0; padding-top: 2px; }
.cl-pr > span { flex: none; width: 28px; height: 28px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; color: #1a1330; background: linear-gradient(135deg, var(--gold-2), var(--gold)); }
.cl-pr b { display: block; font-size: 14.5px; line-height: 1.35; }
.cl-pr small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.cl-tmr-ag { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.cl-tmr-ag span { display: inline-flex; gap: 6px; max-width: 100%; padding: 6px 10px; border-radius: 99px; font-size: 12px; background: rgba(255,255,255,.05); border: 1px solid var(--stroke-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cl-tmr-ag b { color: var(--gold-2); }
.cl-quote { position: relative; margin: 4px 0 12px; padding: 22px 20px 18px; border-radius: 24px; overflow: hidden;
  background: radial-gradient(120% 100% at 0% 0%, rgba(244,163,198,.2), transparent 55%), radial-gradient(120% 100% at 100% 100%, rgba(61,123,255,.22), transparent 55%), #0e1030; border: 1px solid rgba(244,163,198,.25); }
.cl-qm { position: absolute; left: 12px; top: -18px; font-size: 96px; line-height: 1; font-family: Georgia, serif; color: rgba(244,163,198,.25); }
.cl-quote blockquote { position: relative; margin: 0; font-size: 18px; line-height: 1.45; font-weight: 600; letter-spacing: -.2px; }
.cl-quote figcaption { margin-top: 10px; font-size: 13px; color: var(--pink); }
.cl-quote figcaption::before { content: '- '; }
.cl-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 4px 2px 8px; font-size: 12px; color: var(--dim); }
@media (max-width: 370px) { .cl-hero { flex-direction: column; align-items: flex-start; } .cl-ring { align-self: center; } }

.bf-card .bf-chk:nth-child(n+4) { display: none; }
.bf-mail .bf-ini { display: grid; }

/* ================= v30: status unggah rekaman, kamus istilah ================= */
.upl { display: grid; justify-items: center; gap: 8px; margin-top: 14px; }
.upl-bar { display: flex; gap: 3px; height: 8px; max-width: 260px; }
.upl-bar i { width: 8px; border-radius: 3px; background: rgba(255,255,255,.12); }
.upl-bar i.ok { background: linear-gradient(180deg, #3ee0a1, #2bb3a0); }
.upl-bar i.up { background: #a67cff; animation: uplp 1s ease-in-out infinite; }
.upl-bar i.err { background: #ff9bb4; }
@keyframes uplp { 50% { opacity: .35; } }
.upl-t { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); text-align: center; }
.upl-t b { color: var(--text); }
.upl-t svg { width: 14px; height: 14px; color: #3ee0a1; flex: none; }
.upl-t.warn svg { color: #ff9bb4; }
.upl-sp { width: 10px; height: 10px; border-radius: 50%; border: 2px solid rgba(166,124,255,.35); border-top-color: #a67cff; animation: spin .8s linear infinite; flex: none; }
.kor { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 2px 12px; font-size: 12.5px; color: var(--muted); }
.kor > span { display: inline-flex; align-items: center; gap: 5px; width: 100%; }
.kor > span svg { width: 14px; height: 14px; color: var(--accent); }
.kor i { font-style: normal; padding: 4px 9px; border-radius: 99px; background: rgba(166,124,255,.12); border: 1px solid rgba(166,124,255,.22); color: var(--text); }
.kor s { color: #ff9bb4; margin-right: 6px; }
.kam-in { display: grid; grid-template-columns: minmax(0,1fr) 20px minmax(0,1fr); align-items: center; gap: 6px; margin: 12px 0; }
.kam-in > span svg { width: 16px; height: 16px; transform: rotate(180deg); color: var(--muted); }
.kam-rs { margin-bottom: 8px; }
.kam-h { display: flex; align-items: center; gap: 8px; margin: 14px 0 8px; font-size: 14px; }
.kam-h em { font-style: normal; font-size: 11px; padding: 2px 8px; border-radius: 99px; background: rgba(166,124,255,.16); }
.kam-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; max-height: 34vh; overflow: auto; }
.kam-list li { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: rgba(255,255,255,.04); font-size: 13px; }
.kam-list li > span { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; }
.kam-list li s { color: #ff9bb4; }
.kam-list li svg { width: 12px; height: 12px; transform: rotate(180deg); color: var(--muted); flex: none; }
.kam-list em { font-style: normal; font-size: 11px; color: var(--dim); }
.kam-list em.on { color: #7ff0c3; }
.kam-list .x { position: static; }
.kam-rs { display: flex !important; flex-direction: row !important; align-items: center; gap: 12px; }
.kam-rs > div { flex: 1; min-width: 0; }
.kam-list .x { width: 28px; height: 28px; border: 0; border-radius: 8px; background: rgba(255,255,255,.06); color: var(--muted); font-size: 18px; line-height: 1; cursor: pointer; }

/* ================= v31: rekam untuk agenda ================= */
.ragd-h { margin: 16px 0 8px; }
.ragd { display: grid; gap: 8px; }
.ragd-i { position: relative; display: flex; align-items: stretch; gap: 12px; padding: 10px 10px 10px 10px; border-radius: 20px; cursor: pointer; overflow: hidden;
  background: radial-gradient(120% 140% at 0% 0%, rgba(61,123,255,.18), transparent 55%), var(--glass-2); border: 1px solid var(--stroke); box-shadow: var(--inner); transition: border-color .2s, transform .15s; }
.ragd-i:active { transform: scale(.99); }
.ragd-i.live { background: radial-gradient(120% 140% at 0% 0%, rgba(255,90,138,.22), transparent 55%), var(--glass-2); border-color: rgba(255,90,138,.35); }
.ragd-i.on { border-color: rgba(166,124,255,.8); box-shadow: var(--inner), 0 0 0 3px rgba(166,124,255,.18); }
.ragd-time { flex: none; width: 58px; border-radius: 14px; display: grid; place-content: center; text-align: center; gap: 1px; background: linear-gradient(160deg, #3d7bff, #6a5cff); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 8px 18px -8px rgba(61,123,255,.8); }
.ragd-i.live .ragd-time { background: linear-gradient(160deg, #ff6a95, #c43d86); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 8px 18px -8px rgba(255,90,138,.8); }
.ragd-time b { font-size: 17px; line-height: 1.1; color: #fff; }
.ragd-time span { font-size: 11px; color: rgba(255,255,255,.75); }
.ragd-b { flex: 1; min-width: 0; display: grid; gap: 5px; align-content: center; padding: 2px 0; }
.ragd-title { font-size: 14.5px; line-height: 1.35; overflow-wrap: anywhere; }
.ragd-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.ragd-tags em { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; padding: 3px 8px; border-radius: 99px; font-style: normal; font-size: 11px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ragd-tags em svg { width: 11px; height: 11px; flex: none; }
.rg-online { color: #a9c3ff; background: rgba(61,123,255,.16); }
.rg-offline { color: #d7ccff; background: rgba(166,124,255,.16); }
.rg-soon { color: var(--gold-2); background: rgba(240,183,106,.15); }
.rg-live { color: #ffb3c7; background: rgba(255,90,138,.18); }
.rg-live i { width: 6px; height: 6px; border-radius: 50%; background: #ff5a8a; animation: uplp 1.2s ease-in-out infinite; }
.ragd-meta { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--muted); }
.ragd-meta svg { width: 12px; height: 12px; }
.ragd-go { flex: none; align-self: center; width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; color: #fff; cursor: pointer;
  background: radial-gradient(circle at 32% 26%, rgba(255,255,255,.5), transparent 40%), linear-gradient(140deg, #ff6a95, #c43d86); box-shadow: 0 8px 18px -8px rgba(255,90,138,.9); }
.ragd-go svg { width: 20px; height: 20px; }
.ragd-go:active { transform: scale(.92); }

/* v32: date switcher as one pill, no look-alike of the page back button */
.dl-bar { display: grid; gap: 10px; margin-bottom: 16px; }
.dl-date { display: flex; align-items: center; gap: 4px; height: 48px; padding: 4px; border-radius: 16px; background: var(--glass-2); border: 1px solid var(--stroke-2); font-size: 14.5px; }
.dl-arrow { flex: none; width: 40px; height: 40px; border: 0; border-radius: 12px; display: grid; place-items: center; color: var(--text); background: transparent; cursor: pointer; transition: background .2s; }
@media (hover: hover) { .dl-arrow:hover:not(:disabled) { background: rgba(255,255,255,.08); } }
.dl-arrow:focus { outline: none; }
.dl-arrow:focus-visible { outline: 2px solid #a67cff; outline-offset: 1px; }
.dl-arrow:active:not(:disabled) { transform: scale(.94); }
.dl-arrow svg { width: 18px; height: 18px; }
.dl-arrow:disabled { opacity: .2; cursor: default; }
.dl-next svg { transform: rotate(180deg); }
.dl-label { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; }
.dl-label svg { width: 16px; height: 16px; color: var(--accent); flex: none; }
.dl-label b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; }
.dl-label em { font-style: normal; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 99px; color: #7ff0c3; background: rgba(62,224,161,.12); }
.dl-today { flex: none; height: 30px; padding: 0 10px; border-radius: 10px; border: 1px solid rgba(166,124,255,.35); background: rgba(166,124,255,.12); color: #d7ccff; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }

/* v33: action item -> tugas on request */
.check .act-task { flex: none; align-self: center; display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 11px; border-radius: 10px; font: inherit; font-size: 12px; font-weight: 700; white-space: nowrap; cursor: pointer;
  color: #d7ccff; background: rgba(166,124,255,.12); border: 1px solid rgba(166,124,255,.3); transition: all .2s; }
.check .act-task svg { width: 13px; height: 13px; }
.check .act-task.on { color: #7ff0c3; background: rgba(62,224,161,.1); border-color: rgba(62,224,161,.3); }
.check .act-task:disabled { opacity: .5; }
.act-all { margin-top: 10px; }
.act-all svg { width: 14px; height: 14px; }
@media (max-width: 420px) { .check .act-task .lg { display: none; } .check .act-task { padding: 0 9px; } }
.check .act-task .sm { display: none; }
@media (max-width: 420px) { .check .act-task .sm { display: inline; } }
.check .act-task i { font-style: normal; }

/* v34: lampiran email -> Knowledge ASTRA */
.ms-kn { display: flex; align-items: center; gap: 12px; margin: -4px 0 12px; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.ms-kn .grow { min-width: 0; }
.ms-kn b { display: block; font-size: 13.5px; }
.ms-kn small { display: block; font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kn-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0; color: #c9b8ff; background: rgba(139,92,246,.16); }
.kn-ic.ok { color: #7ee2a8; background: rgba(34,197,94,.14); }
.kn-ic svg { width: 17px; height: 17px; }
.kn-ic .spinner { width: 14px; height: 14px; }

/* v35: SIGNAL gambar, tindak lanjut, bagikan PDF */
.rep-per { margin: 2px 0 8px; font-size: 12.5px; color: var(--muted); }
.pl-card.has-img { padding-top: 0; overflow: hidden; }
.pl-img { margin: 0 -16px 14px; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, rgba(61,123,255,.18), rgba(166,124,255,.12)); }
.pl-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pl-todo { margin-top: 12px; display: grid; gap: 6px; }
.pl-todo-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2px; }
.pl-todo-h span { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #7ee2a8; }
.pl-todo-h svg { width: 13px; height: 13px; }
.pl-todo-n { font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--muted); }
.pl-act-row { display: flex; align-items: stretch; gap: 6px; }
.pl-act-row .pl-chk { flex: 1; min-width: 0; padding: 9px 11px; font-size: 13.5px; line-height: 1.4; }
.pl-act-row { align-items: center; }
.pl-mk { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--stroke-2); background: rgba(255,255,255,.04); color: var(--muted); cursor: pointer; padding: 0; }
.pl-mk svg { width: 16px; height: 16px; }
.pl-mk svg + svg, .pl-mk.on svg:first-child { display: none; }
.pl-mk.on svg + svg { display: block; }
.pl-mk.on { color: #7ee2a8; border-color: rgba(62,224,161,.3); background: rgba(62,224,161,.08); }
.pl-mk:active { transform: scale(.94); }
#rshare.busy svg { animation: plb 1s ease-in-out infinite; }
.pl-askimg { margin: 14px 0 0; }
.pdf-ready { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid var(--stroke-2); margin-bottom: 10px; }
.pdf-ready b { display: block; font-size: 14px; word-break: break-all; }
.pdf-ready small { color: var(--muted); font-size: 12px; }
.btn.wide { width: 100%; justify-content: center; }
.kam-auto { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 2px; padding: 10px 12px; border-radius: 14px; background: rgba(139,92,246,.1); border: 1px solid rgba(139,92,246,.22); font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.kam-auto svg { width: 15px; height: 15px; flex: none; margin-top: 1px; color: #c9b8ff; }
.kam-auto b { color: var(--text); }

/* v36: ubah hasil meeting */
.sec-h .sum-edit { margin-left: auto; }
.sum-edit svg { width: 14px; height: 14px; }
.sum-edited { display: flex; align-items: center; gap: 6px; margin: -4px 2px 10px; font-size: 12px; color: #7ee2a8; }
.sum-edited svg { width: 13px; height: 13px; }
.se-f { display: grid; gap: 6px; margin: 12px 0 0; }
.se-f > span { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.se-f > span em { font-style: normal; font-weight: 500; margin-left: 6px; opacity: .75; }
.se-f textarea { resize: vertical; font-size: 14px; line-height: 1.45; }
.se-act { display: grid; gap: 6px; padding: 10px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid var(--stroke-2); margin-bottom: 8px; }
.se-meta { display: grid; grid-template-columns: 1fr 1fr 92px 36px; gap: 6px; }
.se-meta .input { min-width: 0; padding: 9px 10px; font-size: 13px; }
.se-x { border: 1px solid var(--stroke-2); border-radius: 12px; background: rgba(255,90,100,.08); color: #ff8a8d; font-size: 20px; cursor: pointer; }
@media (max-width: 400px) { .se-meta { grid-template-columns: 1fr 1fr; } .se-meta .se-p { grid-column: 1; } }
.se-more { margin-top: 12px; }
.kam-les li span { font-size: 13px; line-height: 1.45; }
.se-x { width: 38px; height: 38px; justify-self: end; align-self: center; line-height: 1; }

/* v37: pelajaran dari CEO */
.lsx-head { display: flex; align-items: flex-start; gap: 12px; margin: 0 2px 12px; }
.lsx-head h2 { margin: 0 0 3px; }
.lsx-head p { margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.lsx-head .btn { flex: none; }
.lsx-head .btn svg { width: 14px; height: 14px; }
.lsx-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 12px; }
.lsx-tabs::-webkit-scrollbar { display: none; }
.lsx-tab { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 999px; border: 1px solid var(--stroke-2); background: rgba(255,255,255,.04); color: var(--muted); font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.lsx-tab .ag-av { width: 28px; height: 28px; border-radius: 50%; }
.lsx-tab b { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; display: grid; place-items: center; font-size: 11px; background: rgba(255,255,255,.08); }
.lsx-tab.on { color: var(--text); border-color: color-mix(in srgb, var(--c) 55%, transparent); background: color-mix(in srgb, var(--c) 16%, transparent); }
.lsx-tab.on b { background: var(--c); color: #0b0c1a; }
.lsx-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lsx-card { position: relative; padding: 12px 48px 13px 16px; border-radius: 18px; background: var(--glass); border: 1px solid var(--stroke); box-shadow: var(--inner); overflow: hidden; transition: opacity .2s, transform .2s, border-color .2s; }
.lsx-card::before { content: ''; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 0 3px 3px 0; background: var(--c); }
.lsx-card.more { display: none; }
.lsx-list.open .lsx-card.more { display: block; }
.lsx-card.gone { opacity: 0; transform: translateX(24px); }
.lsx-card p { margin: 6px 0 0; font-size: 14px; line-height: 1.55; color: #e4e2f5; }
.lsx-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.lsx-kind, .lsx-hit { font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; }
.lsx-kind { color: color-mix(in srgb, var(--c) 80%, #fff); background: color-mix(in srgb, var(--c) 16%, transparent); }
.lsx-hit { display: inline-flex; align-items: center; gap: 4px; color: var(--gold-2); background: rgba(240,183,106,.13); text-transform: none; letter-spacing: 0; font-weight: 700; font-size: 11px; }
.lsx-hit svg { width: 11px; height: 11px; }
.lsx-date { margin-left: auto; font-size: 11.5px; color: var(--dim); }
.lsx-off { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; display: grid; place-items: center; padding: 0; border-radius: 10px; border: 0; background: transparent; color: var(--dim); cursor: pointer; transition: background .2s, color .2s, width .2s; }
.lsx-off svg { width: 15px; height: 15px; }
.lsx-off:active { background: rgba(255,255,255,.08); }
.lsx-card.ask { border-color: rgba(255,110,120,.35); }
.lsx-card.ask .lsx-off { width: auto; padding: 0 10px; color: #ff8a8d; background: rgba(255,90,100,.12); font-size: 12px; font-weight: 700; }
.lsx-card.ask .lsx-date { visibility: hidden; }
.lsx-all { display: block; margin: 10px auto 0; font-weight: 700; }
.lsx-empty { display: flex; gap: 10px; align-items: center; padding: 14px; border-radius: 18px; background: rgba(255,255,255,.04); color: var(--muted); font-size: 13px; }
.lsx-empty svg { width: 18px; height: 18px; flex: none; color: #c9b8ff; }
.lsx-empty p { margin: 0; }
.lsx-head h2 { font-size: 17px; font-weight: 700; letter-spacing: -.2px; }
.lsx-tabs { margin: 0; padding-left: 2px; padding-right: 2px; }

/* v38: laporan tim dan arsip SIGNAL */
.rep-grp { margin-top: 16px; }
.rep-day { display: flex; align-items: center; gap: 8px; margin: 0 4px 8px; font-size: 12px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--muted); }
.rep-day span { font-size: 11px; padding: 1px 7px; border-radius: 999px; background: rgba(255,255,255,.07); letter-spacing: 0; }
.rep-list { display: grid; gap: 8px; }
.rep-card { position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 14px 12px 14px 14px; border-radius: 20px; text-decoration: none; color: inherit; background: var(--glass); border: 1px solid var(--stroke); box-shadow: var(--inner); overflow: hidden; transition: transform .15s; }
.rep-card:active { transform: scale(.985); }
.rep-card::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--c); opacity: .0; }
.rep-card.unread::before { opacity: 1; }
.rep-card.hold { border-color: rgba(255,170,90,.35); background: linear-gradient(135deg, rgba(255,170,90,.08), transparent 60%), var(--glass); }
.rep-card .ag-av { width: 44px; height: 44px; border-radius: 14px; flex: none; }
.rc-body { flex: 1; min-width: 0; display: grid; gap: 4px; }
.rc-top { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.rc-top b { font-weight: 700; }
.rc-kind { font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: .3px; padding: 2px 7px; border-radius: 999px; color: color-mix(in srgb, var(--c) 80%, #fff); background: color-mix(in srgb, var(--c) 15%, transparent); }
.rc-top time { margin-left: auto; font-size: 12px; color: var(--dim); }
.rc-title { font-size: 15px; font-weight: 700; line-height: 1.35; letter-spacing: -.1px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rep-card:not(.unread) .rc-title { font-weight: 600; color: #d9d8ee; }
.rc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 2px; }
.rc-new { font-style: normal; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: var(--c); color: #0b0c1a; }
.rc-role { font-size: 11.5px; color: var(--dim); }
.rc-go { align-self: center; color: var(--dim); }
.rc-go svg { width: 16px; height: 16px; }

.sg-tile { position: relative; margin: 4px 0 6px; border-radius: 24px; overflow: hidden; border: 1px solid rgba(240,183,106,.3); background: radial-gradient(120% 120% at 100% 0%, rgba(240,183,106,.18), transparent 55%), var(--glass); box-shadow: var(--inner); }
.sg-tile-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.sg-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8,9,20,.94) 20%, rgba(8,9,20,.6) 70%, rgba(8,9,20,.35)); pointer-events: none; }
.sg-tile > :not(.sg-tile-bg) { position: relative; z-index: 1; }
.sg-tile-main { display: grid; gap: 4px; padding: 16px 16px 10px; color: inherit; text-decoration: none; }
.sg-tile-main b { font-size: 17px; line-height: 1.3; letter-spacing: -.2px; max-width: 30ch; }
.sg-tile-main small { font-size: 12.5px; color: #c9c7e8; }
.sg-tile.unread .sg-tile-main b::after { content: ''; display: inline-block; width: 8px; height: 8px; margin-left: 6px; border-radius: 50%; background: var(--gold); vertical-align: middle; }
.sg-tile-foot { display: flex; align-items: center; gap: 10px; padding: 0 16px 14px; }
.sg-all { margin-left: auto; display: inline-flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 700; color: var(--gold-2); text-decoration: none; }
.sg-all svg { width: 15px; height: 15px; }

.sg-full { margin: -6px 2px 14px; font-size: 12.5px; font-weight: 600; color: var(--gold-2); }
.sg-hero { display: block; border-radius: 26px; overflow: hidden; text-decoration: none; color: inherit; background: var(--glass); border: 1px solid rgba(240,183,106,.28); box-shadow: var(--inner), 0 20px 40px -24px rgba(0,0,0,.8); }
.sg-cover { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #2b2160, #14162e); }
.sg-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sg-cover::after { content: ''; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(10,11,24,.85)); }
.sg-badge { position: absolute; left: 14px; bottom: 12px; z-index: 1; font-size: 13px; font-weight: 800; letter-spacing: .5px; padding: 6px 12px; border-radius: 999px; background: var(--gold); color: #1a1206; }
.sg-new { position: absolute; right: 14px; top: 12px; z-index: 1; font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: rgba(10,11,24,.7); color: var(--gold-2); border: 1px solid rgba(240,183,106,.4); }
.sg-hero-b { padding: 14px 16px 16px; display: grid; gap: 10px; }
.sg-hero-b h2 { margin: 0; font-size: 22px; letter-spacing: -.4px; }
.sg-hl { margin: 0; padding: 0; list-style: none; counter-reset: hl; display: grid; gap: 6px; }
.sg-hl li { counter-increment: hl; display: flex; gap: 10px; font-size: 14px; line-height: 1.4; }
.sg-hl li::before { content: counter(hl); flex: none; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font-size: 11.5px; font-weight: 800; background: rgba(240,183,106,.16); color: var(--gold-2); }
.sg-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sg-stats span { display: grid; gap: 1px; padding: 10px; border-radius: 14px; background: rgba(255,255,255,.05); font-size: 11.5px; color: var(--muted); }
.sg-stats b { font-size: 20px; color: var(--text); letter-spacing: -.3px; }
.sg-lobs { display: flex; flex-wrap: wrap; gap: 6px; }
.sg-lobs i { font-style: normal; font-size: 11.5px; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: rgba(166,124,255,.13); color: #d4c7ff; }
.sg-read { justify-content: center; }
.sg-read svg { width: 16px; height: 16px; }
.sg-list { display: grid; gap: 8px; }
.sg-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 10px; border-radius: 20px; text-decoration: none; color: inherit; background: var(--glass); border: 1px solid var(--stroke); }
.sg-thumb { flex: none; width: 72px; height: 54px; border-radius: 13px; overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, #2b2160, #14162e); }
.sg-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sg-thumb b { font-size: 20px; color: var(--gold-2); }
.sg-row .grow { min-width: 0; display: grid; gap: 1px; }
.sg-row .grow b { font-size: 15px; }
.sg-row .grow b .m-dot { display: inline-block; margin-left: 6px; vertical-align: middle; }
.sg-row small { font-size: 12px; color: var(--muted); }
.sg-row em { font-style: normal; font-size: 11.5px; color: var(--dim); }
.sg-go { color: var(--dim); }
.sg-go svg { width: 16px; height: 16px; }
.sg-per { margin: -6px 0 0; font-size: 12.5px; color: var(--muted); }

/* v39: kesehatan (WHOOP) */
.hl-ring { position: relative; flex: none; }
.hl-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.hl-ring circle { fill: none; stroke-width: 9; stroke-linecap: round; }
.hl-ring .bg { stroke: rgba(255,255,255,.08); }
.hl-ring .fg { transition: stroke-dashoffset .8s cubic-bezier(.2,.9,.3,1); }
.hl-ring > div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.hl-ring b { font-size: 22px; letter-spacing: -.5px; line-height: 1; }
.hl-ring span { font-size: 10.5px; color: var(--muted); margin-top: 3px; }
.hl-card { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; padding: 12px 12px 12px 12px; border-radius: 22px; text-decoration: none; color: inherit; background: radial-gradient(120% 140% at 0% 50%, color-mix(in srgb, var(--c) 18%, transparent), transparent 60%), var(--glass); border: 1px solid color-mix(in srgb, var(--c) 30%, transparent); box-shadow: var(--inner); }
.hl-card .hl-ring b { font-size: 17px; }
.hl-card .grow { min-width: 0; display: grid; gap: 2px; }
.hl-eye { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 800; letter-spacing: 1.2px; color: var(--c); }
.hl-eye svg { width: 12px; height: 12px; }
.hl-card b { font-size: 16px; }
.hl-card small { font-size: 12.5px; color: var(--muted); }
.hl-hero { padding: 18px 16px; border-radius: 26px; background: radial-gradient(90% 80% at 30% 20%, color-mix(in srgb, var(--c) 22%, transparent), transparent 70%), var(--glass); border: 1px solid color-mix(in srgb, var(--c) 30%, transparent); box-shadow: var(--inner); }
.hl-rings { display: flex; align-items: center; justify-content: center; gap: 18px; }
.hl-side { display: grid; gap: 10px; }
.hl-side .hl-ring b { font-size: 16px; }
.hl-zone { text-align: center; margin-top: 12px; display: grid; gap: 2px; }
.hl-zone b { font-size: 20px; letter-spacing: -.3px; }
.hl-zone span { font-size: 12.5px; color: var(--muted); }
.hl-adv { display: flex; gap: 8px; margin: 12px 0 0; padding: 10px 12px; border-radius: 14px; background: rgba(0,0,0,.2); font-size: 13.5px; line-height: 1.5; }
.hl-adv svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--c); }
.hl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0 0; }
.hl-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hl-m { padding: 10px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid var(--stroke-2); display: grid; gap: 2px; }
.hl-m b { font-size: 18px; letter-spacing: -.3px; color: var(--c); }
.hl-m b small { font-size: 11px; font-weight: 600; margin-left: 1px; color: var(--muted); }
.hl-m span { font-size: 11px; color: var(--muted); }
.hl-note { margin: 8px 4px 0; font-size: 12.5px; color: var(--muted); }
.hl-sleep { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.hl-sleep b { font-size: 26px; letter-spacing: -.5px; }
.hl-sleep span { font-size: 12.5px; color: var(--muted); }
.hl-stage { display: flex; height: 12px; border-radius: 6px; overflow: hidden; margin: 10px 0 8px; gap: 2px; }
.hl-legend { display: flex; flex-wrap: wrap; gap: 10px; font-size: 11.5px; color: var(--muted); }
.hl-legend span { display: inline-flex; align-items: center; gap: 5px; }
.hl-legend i { width: 9px; height: 9px; border-radius: 3px; }
.hl-bars { display: flex; align-items: flex-end; gap: 4px; height: 120px; padding-top: 14px; }
.hl-bar { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 3px; }
.hl-bar i { width: 100%; max-width: 18px; border-radius: 5px 5px 2px 2px; }
.hl-bv { font-size: 9px; color: var(--dim); }
.hl-bar em { font-style: normal; font-size: 10px; color: var(--dim); }
.hl-ws { display: grid; gap: 8px; }
.hl-w { display: flex; align-items: center; gap: 10px; }
.hl-ws-s { flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; font-weight: 800; color: #6fb6ff; background: rgba(111,182,255,.12); }
.hl-w .grow { display: grid; gap: 1px; min-width: 0; }
.hl-w small { font-size: 12px; color: var(--muted); }
.hl-foot { margin: 14px 4px 0; font-size: 12px; color: var(--dim); }
.hl-setup { padding: 16px; border-radius: 24px; background: var(--glass); border: 1px solid var(--stroke); display: grid; gap: 10px; }
.hl-setup-h { display: flex; gap: 12px; }
.hl-setup-h > svg { width: 30px; height: 30px; flex: none; color: #ff8a8d; }
.hl-setup-h b { font-size: 17px; }
.hl-setup-h p { margin: 4px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.hl-steps { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 13.5px; line-height: 1.5; }
.hl-steps a { color: var(--accent); }
.hl-copy { display: inline-block; margin-top: 3px; padding: 4px 8px; border-radius: 8px; background: rgba(255,255,255,.07); font-size: 12px; word-break: break-all; cursor: copy; }
#hsync.busy svg { animation: spin 1s linear infinite; }
.cl-health { display: block; text-decoration: none; color: inherit; }
.cl-health .hl-mini { margin-top: 8px; }
.hl-warn { background: rgba(245,196,81,.08); border: 1px solid rgba(245,196,81,.25); }
.hl-warn svg { color: #f5c451; }

/* v40: menu ikon lebih kecil tanpa goyang, kartu kesehatan rapi */
.q-ic { width: 58px; height: 58px; border-radius: 20px; }
.q-ic img { width: 44px; height: 44px; animation: none !important; }
@media (hover: hover) and (pointer: fine) { .q:hover img { transform: none; } }
@media (max-width: 380px) { .q-ic { width: 54px; height: 54px; } .q-ic img { width: 40px; height: 40px; } }
.hl-card { background: var(--glass); border: 1px solid var(--stroke); box-shadow: var(--inner); position: relative; overflow: hidden; }
.hl-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 120% at 12% 50%, color-mix(in srgb, var(--c) 16%, transparent), transparent 70%); pointer-events: none; }
.hl-card > * { position: relative; }
.hl-ring.dim .fg { opacity: .45; }
.hl-ring.dim b { color: var(--muted); }
.hl-grid-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 16px 4px 8px; }
.hl-grid-h h3 { margin: 0; font-size: 15px; }
.hl-pill { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(245,196,81,.12); color: #f5c451; }
.hl-pill.ok { background: rgba(62,224,161,.12); color: #7ee2a8; }
.hl-grid-h + .hl-grid { margin-top: 0; }
.hl-m em { font-style: normal; font-size: 10.5px; color: var(--dim); }
.hl-foot { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 18px 4px 4px; }
.set-list { display: grid; gap: 10px; }
.danger-zone { margin-top: 10px; padding: 14px; border-radius: 16px; border: 1px solid rgba(255,90,122,.25); background: rgba(255,90,122,.06); display: grid; gap: 8px; }
.danger-zone p { margin: 0; }
.btn.danger:disabled { opacity: .45; }
.ph-act { display: flex; gap: 8px; }
.hl-pill { white-space: nowrap; }
.hl-pill svg { width: 12px; height: 12px; flex: none; }
.danger-zone .toggle { display: flex; align-items: center; gap: 10px; }
.danger-zone .toggle > div { margin: 0; }
/* v41: kesehatan rapi */
.hl-m { align-content: start; }
.hl-grid { margin-bottom: 16px; }
.hl-page .cl-box, #hs .cl-box { margin-bottom: 14px; }
#hs .sec2.cl-box { margin-bottom: 14px; }
#hs .cl-box h3 { margin: 0 0 10px; }
.hl-need { height: 8px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; margin: 10px 0 8px; }
.hl-need i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #ff6b76, #f5c451); }
.hl-nap { border-color: rgba(245,196,81,.22); }

/* v42: body intelligence */
.bi-load, .bi-plan, .bi-bed, .bi-night, .bi-mirror { margin: 0 0 12px; border-radius: 22px; background: var(--glass); border: 1px solid var(--stroke); box-shadow: var(--inner); }
.bi-load { display: flex; align-items: center; gap: 14px; padding: 14px; border-color: color-mix(in srgb, var(--c) 30%, transparent); }
.bi-load h3 { margin: 0 0 6px; font-size: 15px; }
.bi-gauge { position: relative; width: 108px; flex: none; }
.bi-gauge svg { width: 100%; display: block; }
.bi-gauge path { fill: none; stroke-width: 10; stroke-linecap: round; }
.bi-gauge .bg { stroke: rgba(255,255,255,.08); }
.bi-gauge .fg { stroke: var(--c); transition: stroke-dashoffset .8s var(--ease-out); }
.bi-gauge > div { position: absolute; left: 0; right: 0; bottom: -2px; text-align: center; display: grid; }
.bi-gauge b { font-size: 26px; line-height: 1; letter-spacing: -.5px; }
.bi-gauge span { font-size: 10.5px; color: var(--muted); }
.bi-parts { display: flex; flex-wrap: wrap; gap: 5px; }
.bi-parts i { font-style: normal; font-size: 11.5px; font-weight: 600; padding: 4px 8px; border-radius: 10px; background: rgba(255,255,255,.06); }
.bi-parts em { font-style: normal; color: var(--muted); font-weight: 500; }
.bi-plan { padding: 14px 16px 16px; background: radial-gradient(90% 70% at 100% 0%, rgba(166,124,255,.14), transparent 60%), var(--glass); }
.bi-head { display: flex; align-items: center; justify-content: space-between; }
.bi-head .icon-btn { width: 36px; height: 36px; }
.bi-head .icon-btn.busy svg { animation: spin 1s linear infinite; }
.bi-plan h3 { margin: 4px 0 4px; font-size: 19px; letter-spacing: -.3px; }
.bi-sum { margin: 0 0 12px; font-size: 13.5px; line-height: 1.5; color: #d9d8ee; }
.bi-tl { display: grid; gap: 0; }
.bi-b { display: grid; grid-template-columns: 50px 14px 1fr; gap: 8px; align-items: stretch; }
.bi-b time { font-size: 13px; font-weight: 700; display: grid; align-content: start; padding-top: 6px; }
.bi-b time small { font-size: 10.5px; font-weight: 500; color: var(--dim); }
.bi-b > i { position: relative; }
.bi-b > i::before { content: ''; position: absolute; left: 6px; top: 0; bottom: 0; width: 2px; background: rgba(255,255,255,.08); }
.bi-b > i::after { content: ''; position: absolute; left: 2px; top: 10px; width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 25%, transparent); }
.bi-b > div { margin: 3px 0; padding: 7px 10px; border-radius: 12px; background: color-mix(in srgb, var(--c) 10%, transparent); border-left: 2px solid var(--c); display: grid; }
.bi-b em { font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--c); }
.bi-b b { font-size: 13.5px; font-weight: 600; }
.bi-h4 { margin: 14px 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--muted); }
.bi-move { padding: 10px 12px; border-radius: 14px; background: rgba(0,0,0,.2); margin-bottom: 8px; display: grid; gap: 6px; }
.bi-move p { margin: 0; font-size: 13px; color: var(--muted); }
.bi-move .btn { justify-self: start; }
.bi-draft { font-size: 13px; line-height: 1.5; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.05); white-space: pre-wrap; }
.bi-defer { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 6px; }
.bi-defer label { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; padding: 8px 10px; border-radius: 12px; background: rgba(255,255,255,.04); }
.bi-defer input { margin-top: 3px; accent-color: #a67cff; }
.bi-tips { margin: 12px 0 0; padding-left: 18px; display: grid; gap: 4px; font-size: 13px; color: #d9d8ee; }
.bi-empty { display: flex; align-items: center; gap: 10px; }
.bi-empty p { margin: 2px 0 0; }
.bi-bed { display: flex; align-items: center; gap: 12px; padding: 14px; background: linear-gradient(135deg, rgba(79,70,229,.2), rgba(20,22,46,.4)), var(--glass); }
.bi-moon { width: 44px; height: 44px; flex: none; border-radius: 14px; display: grid; place-items: center; background: rgba(179,155,255,.16); color: #c9b8ff; }
.bi-moon svg { width: 22px; height: 22px; }
.bi-bed small { font-size: 11.5px; color: var(--muted); }
.bi-bed b { display: block; font-size: 26px; letter-spacing: -.5px; line-height: 1.1; }
.bi-bed p { margin: 2px 0 0; font-size: 12.5px; color: var(--muted); }
.bi-night { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; font-size: 13px; }
.bi-night svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: #c9b8ff; }
.bi-night p { margin: 0; }
.bi-mirror { display: flex; align-items: center; gap: 12px; padding: 12px 14px; text-decoration: none; color: inherit; margin-bottom: 18px; }
.bi-mirror > span { width: 38px; height: 38px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(240,183,106,.14); color: var(--gold-2); }
.bi-mirror > span svg, .bi-mirror > svg { width: 17px; height: 17px; }
.bi-mirror > svg { color: var(--dim); }
.bi-mirror .grow { display: grid; min-width: 0; }
.bi-mirror small { font-size: 12px; color: var(--muted); }
.bi-mhero { padding: 16px; border-radius: 24px; background: radial-gradient(90% 80% at 0% 0%, rgba(240,183,106,.16), transparent 60%), var(--glass); border: 1px solid rgba(240,183,106,.25); margin-bottom: 12px; }
.bi-mhero h2 { margin: 6px 0; font-size: 22px; letter-spacing: -.4px; }
.bi-mhero p { margin: 0; font-size: 14px; line-height: 1.55; color: #d9d8ee; }
.hl-m em.up { color: #7ee2a8; }
.hl-m em.down { color: #ff8a8d; }
.bi-pat { padding: 10px 0; border-top: 1px solid var(--stroke-2); display: grid; gap: 4px; }
.bi-pat:first-of-type { border-top: 0; padding-top: 0; }
.bi-pat p { margin: 0; font-size: 13.5px; line-height: 1.5; color: #d9d8ee; }
.bi-pat .btn { justify-self: start; margin-top: 4px; }

/* ---------- v43: kesehatan ringkas + rencana energi interaktif ---------- */
.hl-strip { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; padding: 10px 12px; border-radius: 20px; text-decoration: none; color: inherit; background: var(--glass); border: 1px solid var(--stroke-2); position: relative; overflow: hidden; }
.hl-strip::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 140% at 6% 50%, color-mix(in srgb, var(--c) 14%, transparent), transparent 70%); pointer-events: none; }
.hl-strip > * { position: relative; }
.hl-strip .hl-ring b { font-size: 14px; }
.hl-strip .hl-ring circle { stroke-width: 10; }
.hl-strip .grow { min-width: 0; display: grid; gap: 1px; }
.hl-strip b { font-size: 15px; }
.hl-strip small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#hs .tabs { margin-bottom: 14px; }
.hl-pane { animation: fadeUp .25s var(--ease-out); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
#hs .cl-box { background: rgba(255,255,255,.025); box-shadow: none; }
#hs .hl-hero { box-shadow: none; }
.hl-trh { display: flex; flex-direction: column; gap: 8px; }
.hl-trh h3 { margin: 0; }
.hl-trh .fchips { margin: 0; }

.bi-plan { padding: 14px 14px 10px; }
.bi-top { display: flex; align-items: flex-start; gap: 10px; }
.bi-top .grow { min-width: 0; }
.bi-plan h3 { margin: 4px 0 0; font-size: 18px; line-height: 1.25; }
.bi-lring { border: 0; background: none; padding: 0; margin: -2px -2px 0 0; cursor: pointer; color: inherit; border-radius: 50%; }
.bi-lring .hl-ring b { font-size: 16px; color: var(--c); }
.bi-lring .hl-ring span { font-size: 9px; margin-top: 1px; }
.bi-lring .hl-ring circle { stroke-width: 10; }
.bi-lring[aria-expanded="true"] { box-shadow: 0 0 0 2px color-mix(in srgb, var(--c) 50%, transparent); }
.bi-why { margin: 10px 0 0; padding: 10px 12px; border-radius: 14px; background: rgba(0,0,0,.22); display: grid; gap: 4px; font-size: 12.5px; }
.bi-why b { font-size: 12.5px; }
.bi-why em { font-style: normal; color: var(--muted); }
.bi-sum { margin: 8px 0 12px; font-size: 13px; color: var(--muted); }
.bi-now { position: relative; padding: 12px 14px; border-radius: 18px; background: linear-gradient(135deg, color-mix(in srgb, var(--c) 20%, transparent), color-mix(in srgb, var(--c) 5%, transparent)); border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); display: grid; gap: 4px; animation: fadeUp .25s var(--ease-out); }
.bi-now-t { display: flex; justify-content: space-between; align-items: center; }
.bi-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: #fff; }
.bi-kind { font-size: 10.5px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--c); }
.bi-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 0 var(--c); animation: biPulse 1.8s infinite; }
@keyframes biPulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--c) 70%, transparent); } 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.bi-now-l { font-size: 17px; line-height: 1.3; letter-spacing: -.2px; }
.bi-now-m { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); }
.bi-now-m span:last-child { color: #fff; font-weight: 700; white-space: nowrap; }
.bi-prog { height: 5px; border-radius: 3px; background: rgba(255,255,255,.1); overflow: hidden; margin-top: 4px; }
.bi-prog i { display: block; height: 100%; border-radius: 3px; background: var(--c); transition: width .6s var(--ease-out); }
.bi-next { margin-top: 6px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.08); font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bi-next b { color: #fff; margin: 0 2px; }
.bi-bar { position: relative; height: 30px; margin: 14px 0 4px; border-radius: 10px; background: rgba(255,255,255,.04); }
.bi-seg { position: absolute; top: 3px; bottom: 3px; border: 0; padding: 0; border-radius: 6px; background: color-mix(in srgb, var(--c) 70%, transparent); cursor: pointer; transition: transform .15s, opacity .2s, box-shadow .2s; box-shadow: inset -1px 0 0 rgba(10,10,20,.6); }
.bi-seg.past { opacity: .35; }
.bi-seg.cur { background: var(--c); }
.bi-seg.sel { transform: scaleY(1.25); box-shadow: 0 0 0 2px #fff; z-index: 2; opacity: 1; }
.bi-seg:active { transform: scaleY(1.15); }
.bi-nowm { position: absolute; top: -4px; bottom: -4px; width: 2px; margin-left: -1px; border-radius: 1px; background: #fff; box-shadow: 0 0 8px rgba(255,255,255,.8); pointer-events: none; z-index: 3; }
.bi-nowm::before { content: ''; position: absolute; top: -3px; left: -3px; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.bi-ticks { position: relative; display: flex; justify-content: space-between; height: 14px; font-size: 10px; color: var(--dim); }
.bi-ticks em { position: absolute; transform: translateX(-50%); font-style: normal; }
.bi-legend { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 4px; font-size: 11px; color: var(--muted); }
.bi-legend span { display: inline-flex; align-items: center; gap: 4px; }
.bi-legend i { width: 8px; height: 8px; border-radius: 2px; }
.bi-acc { border-top: 1px solid var(--stroke-2); }
.bi-acc:first-of-type { margin-top: 8px; }
.bi-acc summary { list-style: none; display: flex; align-items: center; gap: 8px; padding: 11px 2px; cursor: pointer; font-size: 13.5px; font-weight: 700; }
.bi-acc summary::-webkit-details-marker { display: none; }
.bi-acc summary span { flex: 1; }
.bi-acc summary em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--muted); }
.bi-acc summary svg { width: 15px; height: 15px; color: var(--dim); transform: rotate(90deg); transition: transform .2s; }
.bi-acc[open] summary svg { transform: rotate(-90deg); }
.bi-acc > :not(summary) { animation: fadeUp .2s var(--ease-out); }
.bi-acc .bi-tips { margin: 0 0 12px; }
.bi-acc .btn { margin-bottom: 12px; }
.bi-rows { display: grid; gap: 2px; padding-bottom: 8px; }
.bi-row { display: flex; align-items: center; gap: 10px; padding: 7px 4px; border-radius: 12px; cursor: pointer; transition: background .15s, opacity .2s; }
.bi-row:active { background: rgba(255,255,255,.05); }
.bi-row.cur { background: color-mix(in srgb, var(--c) 10%, transparent); }
.bi-row time { width: 40px; flex: none; font-size: 12.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.bi-dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--c); }
.bi-row .grow { min-width: 0; display: grid; }
.bi-row b { font-size: 13.5px; font-weight: 600; }
.bi-row small { font-size: 11px; color: var(--muted); }
.bi-row.ok { opacity: .5; }
.bi-row.ok b { text-decoration: line-through; }
.bi-chk { width: 28px; height: 28px; flex: none; border-radius: 9px; border: 1.5px solid rgba(255,255,255,.2); background: none; color: #0b0c18; font-weight: 900; font-size: 15px; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; }
.bi-chk[aria-pressed="true"] { background: #3ee0a1; border-color: #3ee0a1; }
.bi-chk:active { transform: scale(.9); }
.bi-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 8px; border-top: 1px solid var(--stroke-2); font-size: 11.5px; color: var(--dim); }
.bi-re { display: inline-flex; align-items: center; gap: 5px; border: 0; background: none; color: var(--muted); font-size: 12px; font-weight: 700; padding: 6px 4px; cursor: pointer; }
.bi-re svg { width: 13px; height: 13px; }
.bi-re.busy svg { animation: spin 1s linear infinite; }
.bi-bed { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 12px; padding: 12px 14px; }
.bi-bed .bi-moon { width: 38px; height: 38px; border-radius: 12px; }
.bi-bed .bi-moon svg { width: 18px; height: 18px; }
.bi-bed b { font-size: 22px; }
.bi-bed-r { text-align: right; display: grid; }
.bi-bed-r b { font-size: 15px; color: #c9b8ff; }
.bi-bed-s { grid-column: 1 / -1; margin: 2px 0 0; font-size: 12px; color: var(--muted); }
.bi-night { display: flex; gap: 8px; align-items: flex-start; margin: 0 4px 12px; padding: 0; background: none; border: 0; box-shadow: none; font-size: 12.5px; color: var(--muted); }
.bi-night svg { width: 14px; height: 14px; flex: none; margin-top: 2px; color: #c9b8ff; }
.bi-why[hidden] { display: none; }
.hl-trh .fchips { padding-left: 0; padding-right: 0; }
/* v63b: percakapan fokus tanpa menu bawah */
.app.in-chat > nav.nav { transform: translateY(130%); opacity: 0; pointer-events: none; transition: transform .3s var(--ease-out), opacity .2s; }
.app > nav.nav { transition: transform .3s var(--ease-out), opacity .2s; }
.app.in-chat .composer { bottom: calc(12px + var(--safe-b)); }
.app.in-chat .thread { padding-bottom: calc(12px + 54px + 28px + var(--safe-b)); }
/* v65: tambah tugas cepat tanpa panel besar */
.qa3 { position: relative; }
.qm { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .28s var(--ease-out), opacity .2s, margin .28s var(--ease-out); }
.qm.open { grid-template-rows: 1fr; opacity: 1; margin-top: 10px; }
.qm-in { overflow: hidden; min-height: 0; }
.qm-line { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 4px; }
.qm-line::-webkit-scrollbar { display: none; }
.qm-chip, .qm-opt, .qm-x { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--stroke); background: rgba(255,255,255,.04); color: var(--muted); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; touch-action: manipulation; transition: background .15s, color .15s, border-color .15s, transform .12s; animation: qmIn .2s var(--ease-out) both; }
.qm-line > :nth-child(2) { animation-delay: .03s; } .qm-line > :nth-child(3) { animation-delay: .06s; } .qm-line > :nth-child(4) { animation-delay: .09s; } .qm-line > :nth-child(5) { animation-delay: .12s; }
@keyframes qmIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.qm-chip svg { width: 15px; height: 15px; color: var(--qc); }
.qm-chip.set { color: #fff; border-color: color-mix(in srgb, var(--qc) 45%, transparent); background: color-mix(in srgb, var(--qc) 14%, transparent); }
.qm-chip::after { content: ''; width: 6px; height: 6px; margin-left: 2px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .6; }
.qm-opt.on { color: #0b0a1f; background: var(--qc); border-color: var(--qc); }
.qm-x { padding: 0; width: 36px; justify-content: center; color: #fff; background: rgba(124,97,255,.35); border-color: rgba(170,160,255,.5); }
.qm-x svg { width: 16px; height: 16px; }
.qm-chip:active, .qm-opt:active, .qm-x:active { transform: scale(.94); }
.qm-date { position: absolute; left: 0; bottom: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.qa3 .send.busy svg { animation: spin 1s linear infinite; }
.qm-line { flex-wrap: wrap; overflow: visible; }
/* v66: tambah tugas lewat sheet */
.qa-open { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 54px; margin: 0 0 16px; padding: 0 8px 0 18px; border-radius: 99px; border: 1px solid var(--stroke); background: rgba(255,255,255,.05); color: var(--dim); font: inherit; font-size: 15px; text-align: left; cursor: pointer; transition: border-color .15s, transform .12s; }
.qa-open span { flex: 1; order: 0; }
.qa-open svg { order: 1; width: 42px; height: 42px; padding: 11px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #6a5cff, #a67cff 60%, #f4a3c6); box-shadow: 0 6px 18px -6px rgba(106,92,255,.9); }
.qa-open:active { transform: scale(.98); border-color: rgba(166,124,255,.6); }
.qs-wrap { align-items: flex-end; }
.qs { padding-top: 10px; display: flex; flex-direction: column; gap: 12px; }
.qs-head { display: flex; align-items: center; justify-content: space-between; }
.qs-head .sheet-title { margin: 0; }
.qs-x { width: 36px; height: 36px; }
.qs-x svg { width: 16px; height: 16px; }
.qs-title { width: 100%; resize: none; border: 0; outline: none; background: rgba(255,255,255,.05); border: 1px solid var(--stroke); border-radius: 18px; padding: 14px 16px; color: var(--text); font: inherit; font-size: 17px; font-weight: 600; line-height: 1.35; min-height: 52px; }
.qs-title:focus { border-color: rgba(166,124,255,.7); box-shadow: 0 0 0 4px rgba(124,97,255,.14); }
.qs-title::placeholder { color: var(--dim); font-weight: 500; }
.qs-hint { display: flex; align-items: center; gap: 6px; margin: -4px 4px 0; font-size: 12.5px; color: var(--muted); animation: fadeUp .2s var(--ease-out); }
.qs-hint svg { width: 13px; height: 13px; color: #cbb8ff; flex: none; }
.qs-hint b { color: #e3dbff; }
.qs-list { border-radius: 18px; background: rgba(255,255,255,.035); border: 1px solid var(--stroke-2); overflow: hidden; }
.qs-f + .qs-f { border-top: 1px solid var(--stroke-2); }
.qs-row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 0 14px; border: 0; background: none; color: var(--text); font: inherit; font-size: 14.5px; cursor: pointer; text-align: left; }
.qs-row:active { background: rgba(255,255,255,.04); }
.qs-row > span { flex: 1; font-weight: 600; }
.qs-row > b { font-weight: 700; font-size: 14px; color: var(--muted); transition: color .15s; }
.qs-row > svg { width: 15px; height: 15px; color: var(--dim); transform: rotate(90deg); transition: transform .2s; }
.qs-f.open .qs-row > svg { transform: rotate(-90deg); }
.qs-ic { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 10px; color: var(--qc); background: color-mix(in srgb, var(--qc) 16%, transparent); transition: color .15s, background .15s; }
.qs-ic svg { width: 16px; height: 16px; }
.qs-opts { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s var(--ease-out); }
.qs-f.open .qs-opts { grid-template-rows: 1fr; }
.qs-opts > div { overflow: hidden; min-height: 0; }
.qs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 2px 14px 14px; }
.qs-grid.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.qs-o { position: relative; display: grid; gap: 1px; min-height: 52px; padding: 8px 12px; border-radius: 14px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.04); color: var(--text); font: inherit; text-align: left; cursor: pointer; touch-action: manipulation; transition: background .15s, border-color .15s, transform .12s; }
.qs-o b { font-size: 13.5px; }
.qs-o small { font-size: 11px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qs-o:active { transform: scale(.96); }
.qs-o.on { border-color: color-mix(in srgb, var(--qc) 65%, transparent); background: color-mix(in srgb, var(--qc) 18%, transparent); box-shadow: 0 8px 20px -14px var(--qc); }
.qs-o.on b { color: color-mix(in srgb, var(--qc) 55%, #fff); }
.qs-pick input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.qs-save { min-height: 52px; font-size: 15px; }
.qs-save:disabled { opacity: .45; }
.qs-save.busy svg { animation: spin 1s linear infinite; }
.qs .qs-pick { display: grid !important; flex-direction: column; align-items: start; align-content: center; margin: 0; }
.qs-grid:not(.g3) > :last-child { grid-column: 1 / -1; min-height: 44px; }
