/* ======================================================================================
   Sync365 v2: bingkai dan komponen gaya aplikasi perbankan.
   Satu lajur, kad bulat, sasaran sentuh 44px+, satu tindakan utama. Fon tidak berubah
   (IBM Plex Sans, Instrument Serif, IBM Plex Mono). Dimuatkan SELEPAS app.css/extra.css.
   ====================================================================================== */
:root {
  --r-card: 22px; --r-ctl: 14px;
  --sh-card: 0 1px 2px rgba(13,14,11,.04), 0 12px 32px -16px rgba(13,14,11,.14);
  --sh-pop: 0 -8px 40px rgba(13,14,11,.16), 0 0 0 1px rgba(13,14,11,.05);
  --hero-bg: #0e100c; --hero-ink: #f3f4ee; --hero-ink2: #a4a79b; --hero-line: rgba(255,255,255,.1);
  --tab-h: 68px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --sh-card: 0 0 0 1px rgba(255,255,255,.06); --sh-pop: 0 -8px 40px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08); --hero-bg: #171a13; }
}
:root[data-theme="dark"] { --sh-card: 0 0 0 1px rgba(255,255,255,.06); --sh-pop: 0 -8px 40px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08); --hero-bg: #171a13; }

body { font-size: 15px; background: var(--bg); }

/* ---- kawalan sejagat (turut menukar paparan lama: admin, poster, borang) ---- */
.btn { height: 44px; padding: 0 18px; border-radius: var(--r-ctl); font-size: 15px; font-weight: 550; gap: 8px; }
.btn.sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 12px; }
.btn.xl { height: 52px; padding: 0 24px; font-size: 16px; font-weight: 600; border-radius: 16px; }
.btn.icon { width: 44px; padding: 0; } .btn.sm.icon { width: 36px; }
.btn.pri { box-shadow: 0 6px 18px -8px color-mix(in srgb, var(--accent) 80%, transparent); }
.btn svg.i { width: 18px; height: 18px; }
.in { height: 48px; padding: 0 14px; border-radius: var(--r-ctl); font-size: 16px; }
textarea.in { padding: 12px 14px; min-height: 96px; }
.chip { height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; }
.note { border: 0; border-radius: 16px; padding: 14px 16px; }
.field label { font-size: 13px; }
.seg { border-radius: 12px; padding: 3px; } .seg button { height: 34px; padding: 0 16px; border-radius: 9px; font-size: 14px; }
.err { border-radius: 12px; }
.toast { bottom: calc(var(--tab-h) + 22px + env(safe-area-inset-bottom)); border-radius: 14px; height: 48px; }
.tray { right: 20px; bottom: 20px; border-radius: 16px; box-shadow: var(--sh-pop); text-decoration: none; color: inherit; }

/* ---- bingkai ---- */
.v-shell { display: grid; grid-template-columns: 252px minmax(0, 1fr); min-height: 100vh; }
.v-rail { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 6px; padding: 22px 14px 16px; border-right: 1px solid var(--rule); background: var(--bg); }
.v-rail .brand { display: flex; align-items: center; gap: 10px; padding: 4px 12px 22px; font-size: 18px; }
.v-rail nav { display: grid; gap: 4px; }
.v-nav { position: relative; display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 14px; border-radius: var(--r-ctl); color: var(--ink2); font-weight: 500; transition: background .12s, color .12s; }
.v-nav:hover { background: var(--hover); color: var(--ink); }
.v-nav[aria-current="page"] { background: var(--panel); color: var(--ink); box-shadow: var(--sh-card); font-weight: 600; }
.v-nav svg.i { width: 21px; height: 21px; }
.v-nav .dot, .v-tab .dot { margin-left: auto; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--warn); color: #231700; font: 600 12px/22px var(--f-ui); text-align: center; font-style: normal; }
.v-addbtn { margin: 18px 4px 0; width: calc(100% - 8px); }
.v-who { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-ctl); }
.v-who:hover { background: var(--hover); } .v-who b { display: block; font-size: 14px; } .v-who span { display: block; font-size: 12px; color: var(--ink3); }
.v-av { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font: 600 18px var(--f-ui); }
.v-av.sm { width: 36px; height: 36px; font-size: 15px; }
.v-page { width: 100%; max-width: 780px; margin: 0 auto; padding: 44px 32px 120px; outline: none; min-width: 0; }
.v-page.enter > * { animation: fadein .28s both; }
.v-tabs { display: none; }

@media (max-width: 899px) {
  .v-shell { display: block; }
  .v-rail { display: none; }
  .v-page { padding: calc(20px + env(safe-area-inset-top)) 16px calc(var(--tab-h) + 40px + env(safe-area-inset-bottom)); }
  .v-tabs { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; height: calc(var(--tab-h) + env(safe-area-inset-bottom)); padding: 0 6px env(safe-area-inset-bottom);
    display: grid; grid-template-columns: 1fr 1fr 76px 1fr 1fr; align-items: center; background: color-mix(in srgb, var(--bg) 90%, transparent); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-top: 1px solid var(--rule); }
  .v-tab { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: var(--tab-h); color: var(--ink3); font-size: 11.5px; font-weight: 550; letter-spacing: 0; }
  .v-tab svg.i { width: 24px; height: 24px; } .v-tab[aria-current="page"] { color: var(--ink); } .v-tab[aria-current="page"] svg.i { color: var(--accent-text); }
  .v-tab .dot { position: absolute; top: 8px; left: calc(50% + 6px); margin: 0; min-width: 18px; height: 18px; font-size: 11px; line-height: 18px; padding: 0 5px; }
  .v-fab { justify-self: center; width: 60px; height: 60px; margin-top: -26px; border: 0; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; cursor: pointer;
    box-shadow: 0 10px 26px -6px color-mix(in srgb, var(--accent) 70%, transparent), 0 0 0 5px var(--bg); transition: transform .12s; }
  .v-fab:active { transform: scale(.94); } .v-fab svg.i { width: 28px; height: 28px; stroke-width: 2.2; }
  .tray { left: 16px; right: 16px; width: auto; bottom: calc(var(--tab-h) + 16px + env(safe-area-inset-bottom)); }
}

/* ---- kepala halaman ---- */
.v-head { display: flex; align-items: flex-end; gap: 12px; margin-bottom: 22px; }
.v-h1 { font: 400 40px/1.05 var(--f-display); letter-spacing: -.02em; }
.v-sub { margin-top: 6px; color: var(--ink2); font-size: 14.5px; line-height: 1.45; }
.v-h2 { font: 600 17px/1.2 var(--f-ui); letter-spacing: -.01em; margin-bottom: 12px; }
.v-sec { margin-top: 30px; } .v-sec-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; } .v-sec-h .v-h2 { margin: 0; }
.v-link { display: inline-flex; align-items: center; gap: 2px; color: var(--accent-text); font-weight: 550; font-size: 14px; } .v-link svg.i { width: 16px; height: 16px; }
.v-foot { margin-top: 16px; color: var(--ink3); font-size: 12.5px; line-height: 1.5; text-align: center; }

/* ---- kad dan baris ---- */
.v-card { background: var(--panel); border-radius: var(--r-card); box-shadow: var(--sh-card); border: 1px solid var(--rule); overflow: hidden; }
.v-card.list > * + *, .v-card > .v-dim + .v-dim, .v-card > .v-acc + .v-acc, .v-card > .v-linkrow + .v-linkrow { border-top: 1px solid var(--rule); }
.v-ico { flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--hover); color: var(--ink2); }
.v-ico svg.i { width: 20px; height: 20px; } .v-ico.big { width: 48px; height: 48px; border-radius: 15px; background: var(--accent-tint); color: var(--accent-text); } .v-ico.big svg.i { width: 23px; height: 23px; }
.v-row { width: 100%; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 0; background: none; text-align: left; cursor: pointer; min-height: 72px; transition: background .1s; }
.v-row:hover, .v-linkrow:hover, .v-asp:hover { background: var(--hover); }
.v-row .t { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; white-space: normal; font-weight: 550; font-size: 15px; line-height: 1.3; } .v-row .m { display: block; margin-top: 3px; color: var(--ink3); font-size: 13px; }
.v-pill { flex: none; display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: var(--hover); color: var(--ink2); white-space: nowrap; }
.v-pill.ok { background: var(--accent-tint); color: var(--accent-text); } .v-pill.warn { background: var(--warn-tint); color: var(--warn-text); } .v-pill.bad { background: var(--danger-tint); color: var(--danger-text); }
.v-month { padding: 14px 16px 6px; font-size: 12.5px; font-weight: 600; color: var(--ink3); letter-spacing: .02em; text-transform: uppercase; background: var(--bg); }
.v-search { margin-bottom: 12px; }
.v-chips { display: flex; gap: 8px; margin-bottom: 16px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; } .v-chips::-webkit-scrollbar { display: none; }
.v-chip { flex: none; height: 38px; padding: 0 16px; border: 1px solid var(--rule2); border-radius: 999px; background: var(--panel); font-size: 14px; font-weight: 550; color: var(--ink2); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.v-chip i { font-style: normal; font-size: 12px; background: var(--hover); border-radius: 999px; padding: 1px 8px; }
.v-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); } .v-chip[aria-pressed="true"] i { background: rgba(255,255,255,.2); color: inherit; }
.v-why { margin: -4px 0 14px; padding: 12px 14px; border-radius: 14px; background: var(--warn-tint); color: var(--warn-text); font-size: 14px; line-height: 1.45; }
.v-bulk { margin-bottom: 14px; } .v-bulk .btn { width: 100%; }

/* ---- Utama ---- */
.v-hello { margin-bottom: 18px; } .v-hello .k { color: var(--ink3); font-size: 14.5px; } .v-name { font: 400 44px/1.05 var(--f-display); letter-spacing: -.02em; }
.v-hero { position: relative; overflow: hidden; border-radius: 28px; background: var(--hero-bg); color: var(--hero-ink); padding: 26px 24px 22px; box-shadow: 0 24px 50px -28px rgba(13,14,11,.55); }
.v-hero::before { content: ""; position: absolute; right: -90px; top: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(closest-side, rgba(44,240,201,.22), transparent); pointer-events: none; }
.v-hero > * { position: relative; }
.v-hero-top { display: flex; align-items: center; gap: 22px; }
.v-ringbox { position: relative; flex: none; width: 112px; height: 112px; }
.v-ring .tr { stroke: rgba(255,255,255,.12); } .v-ring .fg { stroke: #2cf0c9; animation: ringin 1s cubic-bezier(.2,.7,.2,1) both; }
@keyframes ringin { from { stroke-dashoffset: var(--c); } }
.v-pcbig { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font: 600 32px/1 var(--f-ui); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.v-pcbig small { font-size: 14px; font-weight: 500; color: var(--hero-ink2); margin: 8px 0 0 2px; align-self: center; }
.v-hl { font-size: 15px; color: var(--hero-ink2); } .v-hp { margin-top: 6px; font-size: 13.5px; line-height: 1.45; color: var(--hero-ink2); }
.v-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 22px; border-top: 1px solid var(--hero-line); }
.v-stats > * { padding: 16px 8px 0 0; display: block; color: inherit; } .v-stats > * + * { padding-left: 16px; border-left: 1px solid var(--hero-line); }
.v-stats b { display: block; font: 600 24px/1.1 var(--f-ui); letter-spacing: -.02em; font-variant-numeric: tabular-nums; } .v-stats b.warn { color: #ffc24a; }
.v-stats span { display: block; margin-top: 4px; font-size: 12.5px; color: var(--hero-ink2); }
.v-hero.blank { padding: 30px 24px; } .v-hero.blank h2 { font: 400 32px/1.1 var(--f-display); letter-spacing: -.01em; } .v-hero.blank p { margin: 10px 0 22px; color: var(--hero-ink2); line-height: 1.5; max-width: 46ch; }
.v-att { display: flex; gap: 14px; padding: 16px; margin-bottom: 10px; border-radius: 20px; background: var(--panel); border: 1px solid var(--rule); box-shadow: var(--sh-card); }
.v-att.warn { background: var(--warn-tint); border-color: transparent; box-shadow: none; } .v-att.warn .v-ico { background: color-mix(in srgb, var(--warn) 24%, transparent); color: var(--warn-text); }
.v-att b { display: block; font-size: 15.5px; } .v-att p { margin-top: 3px; font-size: 14px; color: var(--ink2); line-height: 1.45; }
.v-acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.v-dim-h { width: 100%; display: flex; align-items: center; gap: 14px; padding: 16px; border: 0; background: none; text-align: left; cursor: pointer; }
.v-dim-h:hover { background: var(--hover); }
.v-dim-h b { display: block; font-size: 15.5px; } .v-dim-h .m { display: block; margin: 2px 0 10px; font-size: 13px; color: var(--ink3); }
.v-dim-h .bar { height: 7px; border-radius: 4px; } .v-dim-h .bar i { border-radius: 4px; }
.v-pc { font: 600 17px var(--f-ui); font-variant-numeric: tabular-nums; } .v-dim-h > svg.i { width: 18px; height: 18px; color: var(--ink3); transition: transform .18s; } .v-dim.open .v-dim-h > svg.i { transform: rotate(90deg); }
.v-dim-b { border-top: 1px solid var(--rule); background: color-mix(in srgb, var(--bg) 60%, var(--panel)); }
.v-asp { display: flex; align-items: center; gap: 12px; padding: 13px 16px; min-height: 60px; } .v-asp + .v-asp { border-top: 1px solid var(--rule); }
.v-asp .t { display: block; font-size: 14.5px; font-weight: 500; line-height: 1.3; } .v-asp .m { display: block; margin-top: 2px; font-size: 12.5px; color: var(--ink3); }
.v-n { flex: none; text-align: right; font-size: 13px; font-weight: 600; color: var(--ink2); } .v-n em { display: block; margin-top: 2px; font-style: normal; font-size: 12px; font-weight: 600; color: var(--warn-text); }
.sq { width: 10px; height: 10px; border-radius: 50%; flex: none; }

/* aktiviti (lajur Laporan dan Utama) */
.act-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; min-height: 76px; border: 0; border-radius: 0; background: none; }
.act-row:hover { background: var(--hover); }
.act-date { flex: none; width: 48px; height: 52px; border-radius: 14px; background: var(--hover); display: grid; place-content: center; text-align: center; line-height: 1.1; }
.act-date b { font: 600 19px var(--f-ui); } .act-date span { font-size: 11px; color: var(--ink3); text-transform: uppercase; letter-spacing: .04em; }
.act-row .t { font-weight: 550; font-size: 15px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .act-row .m { margin-top: 3px; font-size: 13px; color: var(--ink3); } .act-row > svg.i { width: 18px; height: 18px; color: var(--ink3); flex: none; }

/* ---- Akaun ---- */
.v-me { display: flex; align-items: center; gap: 16px; padding: 20px; margin-bottom: 16px; border-radius: var(--r-card); background: var(--panel); border: 1px solid var(--rule); box-shadow: var(--sh-card); }
.v-me .v-av { width: 56px; height: 56px; font-size: 22px; } .v-me b { display: block; font-size: 17px; } .v-me span { display: block; font-size: 13.5px; color: var(--ink3); margin-top: 1px; }
.v-acc summary, .v-linkrow { display: flex; align-items: center; gap: 14px; padding: 14px 16px; min-height: 72px; cursor: pointer; list-style: none; width: 100%; border: 0; background: none; text-align: left; color: inherit; }
.v-acc summary::-webkit-details-marker { display: none; } .v-acc summary:hover { background: var(--hover); }
.v-acc b, .v-linkrow b { display: block; font-size: 15.5px; } .v-acc summary span span, .v-linkrow .grow span { display: block; font-size: 13px; color: var(--ink3); margin-top: 1px; font-weight: 400; }
.v-acc summary > svg.i, .v-linkrow > svg.i { width: 18px; height: 18px; color: var(--ink3); transition: transform .18s; } .v-acc[open] summary > svg.i { transform: rotate(90deg); }
.v-acc-b { padding: 6px 16px 20px; border-top: 1px solid var(--rule); } .v-acc-b > :first-child { margin-top: 14px; }
a.v-linkrow { margin-bottom: 16px; background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r-card); box-shadow: var(--sh-card); }
.v-card > .v-linkrow { margin: 0; border: 0; border-radius: 0; box-shadow: none; background: none; } .v-card > .v-linkrow:hover { background: var(--hover); }
.v-card + .v-card { margin-top: 16px; } .v-me + .v-card, .v-card + a.v-linkrow { margin-top: 0; } a.v-linkrow + .v-card { margin-top: 0; }
.v-card + a.v-linkrow, .v-card + .v-card { margin-top: 16px; }
.v-end { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

/* ---- helaian (Tambah, butiran bukti, modal) ---- */
.scrim { background: rgba(8,9,7,.5); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.v-sheet, .modal, .peek { background: var(--bg); }
.v-sheet { position: fixed; z-index: 42; left: 50%; bottom: 0; transform: translateX(-50%); width: min(520px, 100vw); max-height: 92vh; overflow-y: auto; padding: 8px 20px calc(24px + env(safe-area-inset-bottom)); border-radius: 28px 28px 0 0; box-shadow: var(--sh-pop); animation: sheetup .26s cubic-bezier(.2,.8,.2,1); }
.v-grab { width: 40px; height: 5px; border-radius: 3px; background: var(--rule2); margin: 6px auto 10px; }
.v-sheet-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; } .v-sheet-h h2 { font: 400 30px/1.1 var(--f-display); letter-spacing: -.01em; }
@keyframes sheetup { from { transform: translate(-50%, 24px); opacity: 0; } }
.v-addlist { display: grid; gap: 10px; }
.v-addrow { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px; border: 1px solid var(--rule); border-radius: 20px; background: var(--panel); text-align: left; cursor: pointer; transition: background .1s, transform .1s; }
.v-addrow:hover { background: var(--hover); } .v-addrow:active { transform: scale(.985); } .v-addrow b { display: block; font-size: 16px; } .v-addrow span span { display: block; margin-top: 2px; font-size: 13.5px; color: var(--ink3); } .v-addrow > svg.i { width: 18px; height: 18px; color: var(--ink3); }
@media (min-width: 700px) { .v-sheet { bottom: auto; top: 50%; transform: translate(-50%, -50%); border-radius: 28px; animation: sheetin .22s cubic-bezier(.2,.8,.2,1); } @keyframes sheetin { from { transform: translate(-50%, -48%); opacity: 0; } } .v-grab { display: none; } }

@media (max-width: 699px) {
  .modal { top: auto; bottom: 0; left: 0; right: 0; transform: none; width: auto; max-height: 92vh; border-radius: 28px 28px 0 0; padding: 22px 18px calc(24px + env(safe-area-inset-bottom)); animation: sheetup2 .26s cubic-bezier(.2,.8,.2,1); }
  .peek { top: auto; right: 0; left: 0; bottom: 0; width: auto; max-height: 94vh; border-radius: 28px 28px 0 0; padding: 14px 18px calc(24px + env(safe-area-inset-bottom)); animation: sheetup2 .26s cubic-bezier(.2,.8,.2,1); }
  @keyframes sheetup2 { from { transform: translateY(28px); opacity: 0; } }
}
@media (min-width: 700px) { .modal { border-radius: 28px; } .peek { border-radius: 28px 0 0 28px; } }
.modal h2 { font-size: 30px; }

/* ---- butiran bukti ---- */
.evp .ttl { font: 400 30px/1.12 var(--f-display); }
.v-stat { display: flex; gap: 12px; padding: 14px 16px; border-radius: 18px; background: var(--hover); margin-bottom: 14px; }
.v-stat .v-sd { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--panel); } .v-stat .v-sd svg.i { width: 18px; height: 18px; }
.v-stat b { display: block; font-size: 15px; } .v-stat p { margin-top: 2px; font-size: 14px; color: var(--ink2); line-height: 1.45; }
.v-stat.ok { background: var(--accent-tint); } .v-stat.ok .v-sd { color: var(--accent-text); }
.v-stat.warn { background: var(--warn-tint); } .v-stat.warn .v-sd { color: var(--warn-text); } .v-stat.bad { background: var(--danger-tint); } .v-stat.bad .v-sd { color: var(--danger-text); }
.v-confirm { margin: -2px 0 16px; } .v-confirm .btn { width: 100%; }
.evp .v-edit > summary { font-weight: 600; }
.evp .acts { margin-top: 20px; }

/* ---- kemajuan muat naik ---- */
.ulog { margin: 16px 0 4px; border: 1px solid var(--rule); border-radius: var(--r-card); background: var(--panel); box-shadow: var(--sh-card); padding: 4px 6px 6px; overflow: hidden; }
.ulog .ul { border-radius: 16px; }

/* ---- halaman aspek, aktiviti, laporan (paparan sedia ada) ---- */
.page, .main { max-width: none; }
.ahead .title, .title { font: 400 38px/1.08 var(--f-display); letter-spacing: -.02em; }
.stats3 { gap: 10px; } .stats3 > div { border-radius: 18px; border: 1px solid var(--rule); background: var(--panel); padding: 14px 16px; }
.empty { padding: 56px 8px; } .empty .big { font-size: 34px; }
.sh { margin-top: 30px; } .sh h2 { font-size: 17px; font-weight: 600; }

/* ---- auth, onboarding: ikut rupa baharu ---- */
.auth, .authbox { border-radius: 28px; }

@media (max-width: 560px) {
  .v-h1 { font-size: 34px; } .v-name { font-size: 38px; }
  .v-hero { border-radius: 26px; padding: 22px 18px 18px; } .v-hero-top { gap: 16px; } .v-ringbox { width: 96px; height: 96px; } .v-ringbox svg { width: 96px; height: 96px; } .v-pcbig { font-size: 27px; }
  .v-stats b { font-size: 21px; }
}
/* gerakan dikurangkan (tetapan sistem, melainkan pengguna menghidupkan gerakan penuh) */
html[data-reduce] .v-ring .fg, html[data-reduce] .v-sheet, html[data-reduce] .modal, html[data-reduce] .peek { animation: none !important; }

/* ---- butiran bukti: tajuk berbilang baris dan aspek bertindan ---- */
.evp textarea.ttl { display: block; resize: none; overflow: hidden; height: auto; min-height: 40px; }
.evp .p.stack { display: block; padding: 8px 0 4px; } .evp .p.stack > label { display: block; margin-bottom: 8px; }
.evp .tags { gap: 8px; } .evp .tags .code { max-width: 100%; }
.evp .tags .btn.ghost { border: 1px dashed var(--rule2); }

/* ---- halaman butiran aktiviti, laporan, aspek ---- */
.v-back { display: inline-flex; align-items: center; gap: 4px; height: 40px; margin: -6px 0 10px -6px; padding: 0 12px 0 6px; border-radius: 12px; color: var(--ink2); font-weight: 550; font-size: 15px; }
.v-back:hover { background: var(--hover); color: var(--ink); } .v-back svg.i { width: 18px; height: 18px; transform: rotate(180deg); }
.v-kind { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.v-rep { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 16px; margin-bottom: 10px; border-radius: 20px; background: var(--panel); border: 1px solid var(--rule); box-shadow: var(--sh-card); }
.v-rep b { display: block; font: 600 20px var(--f-ui); letter-spacing: -.01em; } .v-rep span { display: block; font-size: 14px; color: var(--ink2); } .v-rep em { display: block; margin-top: 4px; font-style: normal; font-size: 13px; color: var(--ink3); }
.v-more { margin-top: 18px; } .v-more > summary { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 4px; cursor: pointer; font-weight: 600; font-size: 15.5px; list-style: none; }
.v-more > summary::-webkit-details-marker { display: none; } .v-more > summary svg.i { width: 16px; height: 16px; color: var(--ink3); transition: transform .18s; } .v-more[open] > summary svg.i { transform: rotate(90deg); }

.ulog .ulh { padding: 12px 10px 8px; } .ulog .ul { display: flex; gap: 12px; align-items: flex-start; padding: 12px 10px; border-radius: 14px; cursor: default; } .ulog .ul.done { cursor: pointer; } .ulog .ul.done:hover { background: var(--hover); }
.ulog .ul + .ul { border-top: 1px solid var(--rule); }
.ulog .sti { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--hover); color: var(--ink2); } .ulog .sti svg.i { width: 18px; height: 18px; }
.ulog .sti.ok { background: var(--accent-tint); color: var(--accent-text); } .ulog .sti.warn { background: var(--warn-tint); color: var(--warn-text); }
.ulog .pbar { margin-top: 8px; height: 4px; border-radius: 2px; background: var(--hover); overflow: hidden; position: relative; } .ulog .pbar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 40%; background: var(--accent); border-radius: 2px; animation: pbar 1.2s ease-in-out infinite; }
@keyframes pbar { from { transform: translateX(-100%); } to { transform: translateX(260%); } }

@media print {
  .v-rail, .v-tabs, .v-back, .tray, .toast { display: none !important; }
  .v-shell { display: block; } .v-page { padding: 0; max-width: none; }
  .v-page.enter > * { animation: none; }
}

.v-stack { display: grid; gap: 8px; justify-items: stretch; } .v-stack .btn { width: 100%; }

.v-sum { display: flex; padding: 6px 0; } .v-sum > div { flex: 1; padding: 14px 18px; } .v-sum > div + div { border-left: 1px solid var(--rule); }
.v-sum b { display: block; font: 600 28px/1.1 var(--f-ui); letter-spacing: -.02em; font-variant-numeric: tabular-nums; } .v-sum b.warn { color: var(--warn-text); } .v-sum span { display: block; margin-top: 4px; font-size: 13px; color: var(--ink3); }
