/* Tagihan Bulanan v1.0.0 · © 2026 · by drummergimbal */
@font-face { font-family: 'PJS'; font-weight: 400; font-display: swap; src: url(fonts/pjs-400.woff2) format('woff2'); }
@font-face { font-family: 'PJS'; font-weight: 500; font-display: swap; src: url(fonts/pjs-500.woff2) format('woff2'); }
@font-face { font-family: 'PJS'; font-weight: 600; font-display: swap; src: url(fonts/pjs-600.woff2) format('woff2'); }
@font-face { font-family: 'PJS'; font-weight: 700; font-display: swap; src: url(fonts/pjs-700.woff2) format('woff2'); }
@font-face { font-family: 'PJS'; font-weight: 800; font-display: swap; src: url(fonts/pjs-800.woff2) format('woff2'); }

:root {
  --violet: #7C3AED; --violet-2: #8B5CF6; --violet-soft: #EDE9FE;
  --pink: #EC4899; --pink-soft: #FCE7F3;
  --orange: #FB923C; --orange-soft: #FFEDD5;
  --teal: #14B8A6; --teal-soft: #CCFBF1;
  --green: #10B981; --green-soft: #D1FAE5;
  --amber: #F59E0B; --amber-soft: #FEF3C7;
  --red: #EF4444; --red-soft: #FEE2E2;
  --sky: #0EA5E9; --sky-soft: #E0F2FE;
  --ink: #1F1147; --ink-2: #3B2F6B; --muted: #6E6A8F; --line: #ECE8FB;
  --bg: #F7F6FF; --card: #FFFFFF;
  --grad: linear-gradient(120deg, #7C3AED 0%, #C026D3 42%, #EC4899 70%, #FB923C 100%);
  --shadow: 0 1px 2px rgba(31,17,71,.05), 0 8px 24px rgba(91,33,182,.08);
  --shadow-lg: 0 20px 50px rgba(76,29,149,.22);
  --r: 18px; --r-sm: 12px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'PJS', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg); color: var(--ink); font-size: 15px; line-height: 1.45;
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--violet); }
.hidden { display: none !important; }

/* ---------- boot / login ---------- */
.boot { min-height: 100vh; display: grid; place-content: center; text-align: center; color: var(--muted); gap: 8px; }
.boot img { margin: 0 auto; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.06); } }

.login { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: var(--grad); position: relative; overflow: hidden; }
.login::before, .login::after { content: ''; position: absolute; border-radius: 50%; background: rgba(255,255,255,.12); }
.login::before { width: 420px; height: 420px; top: -140px; right: -120px; }
.login::after { width: 300px; height: 300px; bottom: -120px; left: -80px; }
.login-card { position: relative; z-index: 1; width: 100%; max-width: 400px; background: #fff; border-radius: 26px; padding: 32px 26px 22px; box-shadow: var(--shadow-lg); }
.login-card .logo { width: 76px; height: 76px; display: block; margin: -70px auto 10px; filter: drop-shadow(0 12px 20px rgba(76,29,149,.35)); }
.login-card h1 { margin: 0; text-align: center; font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.login-card .sub { text-align: center; color: var(--muted); margin: 4px 0 22px; font-size: 14px; }
.login-card .foot { text-align: center; color: var(--muted); font-size: 12px; margin-top: 18px; }
details.adv { margin-top: 12px; font-size: 13px; color: var(--muted); }
details.adv summary { cursor: pointer; }

/* ---------- form controls ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 12.5px; font-weight: 700; color: var(--ink-2); letter-spacing: .01em; }
.input, select.input, textarea.input {
  width: 100%; border: 1.5px solid var(--line); background: #FCFBFF; border-radius: var(--r-sm);
  padding: 11px 13px; outline: none; transition: border-color .15s, box-shadow .15s; min-height: 44px;
}
.input:focus { border-color: var(--violet-2); box-shadow: 0 0 0 4px rgba(139,92,246,.15); background: #fff; }
.input[readonly] { background: var(--violet-soft); color: var(--ink-2); font-weight: 700; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
@media (max-width: 520px) { .grid-2 { grid-template-columns: 1fr; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 10px 18px; font-weight: 700; font-size: 14px; min-height: 42px; transition: transform .08s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 20px rgba(192,38,211,.28); }
.btn-ghost { background: var(--violet-soft); color: var(--violet); }
.btn-light { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn-danger { background: var(--red-soft); color: #B91C1C; }
.btn-block { width: 100%; }
.btn-sm { padding: 7px 12px; min-height: 34px; font-size: 13px; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.icon-btn { width: 40px; height: 40px; border-radius: 12px; border: 0; background: rgba(255,255,255,.18); color: #fff; display: grid; place-items: center; }
.icon-btn svg, .btn svg { width: 18px; height: 18px; }

/* ---------- app shell ---------- */
.topbar { position: sticky; top: 0; z-index: 30; background: var(--grad); color: #fff; padding: calc(env(safe-area-inset-top, 0px) + 10px) 16px 0; box-shadow: 0 6px 24px rgba(124,58,237,.25); }
.topbar-row { display: flex; align-items: center; gap: 12px; max-width: 1240px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.brand img { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.2); box-shadow: 0 6px 16px rgba(0,0,0,.15); }
.brand .t1 { font-weight: 800; font-size: 18px; letter-spacing: -.02em; line-height: 1.1; }
.brand .t2 { font-size: 12px; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sync { display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.28); color: #fff; border-radius: 999px; padding: 7px 12px; font-size: 12.5px; font-weight: 700; }
.sync .dot { width: 8px; height: 8px; border-radius: 50%; background: #A7F3D0; box-shadow: 0 0 0 3px rgba(167,243,208,.35); }
.sync.busy .dot { background: #FDE68A; animation: blink 1s infinite; }
.sync.off .dot { background: #FCA5A5; box-shadow: 0 0 0 3px rgba(252,165,165,.35); }
@keyframes blink { 50% { opacity: .3; } }
.tabs { display: flex; gap: 6px; overflow-x: auto; padding: 12px 0 12px; max-width: 1240px; margin: 0 auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: 0 0 auto; border: 0; background: rgba(255,255,255,.16); color: #fff; border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; }
.tab .n { background: rgba(255,255,255,.28); border-radius: 999px; padding: 0 7px; font-size: 11px; }
.tab.active { background: #fff; color: var(--violet); box-shadow: 0 6px 16px rgba(0,0,0,.12); }
.tab.active .n { background: var(--violet-soft); }
.tab.add { background: transparent; border: 1.5px dashed rgba(255,255,255,.6); }

main { max-width: 1240px; margin: 0 auto; padding: 18px 16px calc(96px + var(--safe-b)); }
.view-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.view-head h2 { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.view-head .desc { color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.footer { text-align: center; color: var(--muted); font-size: 12px; padding: 18px 0 6px; }
.footer b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- cards & stats ---------- */
.card { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); border: 1px solid #F1EEFC; }
.card-pad { padding: 18px; }
.card h3 { margin: 0 0 12px; font-size: 15px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 14px; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { position: relative; overflow: hidden; border-radius: var(--r); padding: 16px; color: #fff; box-shadow: var(--shadow); min-height: 104px; }
.stat .k { font-size: 12px; font-weight: 700; opacity: .92; text-transform: uppercase; letter-spacing: .04em; }
.stat .v { font-size: 22px; font-weight: 800; margin-top: 8px; letter-spacing: -.02em; word-break: break-word; }
.stat .s { font-size: 12px; opacity: .9; margin-top: 2px; }
.stat::after { content: ''; position: absolute; width: 120px; height: 120px; right: -36px; top: -40px; background: rgba(255,255,255,.16); border-radius: 50%; }
.s-violet { background: linear-gradient(135deg, #7C3AED, #A855F7); }
.s-pink { background: linear-gradient(135deg, #DB2777, #F472B6); }
.s-orange { background: linear-gradient(135deg, #EA580C, #FB923C); }
.s-teal { background: linear-gradient(135deg, #0D9488, #2DD4BF); }
.s-green { background: linear-gradient(135deg, #059669, #34D399); }
.s-amber { background: linear-gradient(135deg, #D97706, #FBBF24); }
.s-sky { background: linear-gradient(135deg, #0284C7, #38BDF8); }
.s-red { background: linear-gradient(135deg, #DC2626, #F87171); }
.grid-dash { display: grid; grid-template-columns: 1.15fr 1fr; gap: 14px; }
@media (max-width: 900px) { .grid-dash { grid-template-columns: 1fr; } }

.bars .bar-row { display: grid; grid-template-columns: 110px 1fr auto; align-items: center; gap: 10px; padding: 6px 0; font-size: 13.5px; }
.bars .track { height: 12px; background: #F2EFFD; border-radius: 999px; overflow: hidden; }
.bars .fill { height: 100%; border-radius: 999px; }
.bars .val { font-weight: 700; font-size: 13px; text-align: right; min-width: 104px; }
.bars .lbl { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.cols { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; align-items: end; height: 190px; padding-top: 10px; }
.col { display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.col .b { width: 100%; max-width: 34px; border-radius: 9px 9px 4px 4px; background: var(--grad); min-height: 3px; transition: height .4s; }
.col .b.zero { background: #EEEAFB; }
.col .m { font-size: 11px; color: var(--muted); font-weight: 700; }
.col .t { font-size: 10px; color: var(--ink-2); font-weight: 700; }
.insights { display: grid; gap: 8px; }
.insight { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; background: #FAF9FF; border-radius: 12px; font-size: 13.5px; }
.insight b { text-align: right; }

/* ---------- list / table ---------- */
.toolbar { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; flex-wrap: wrap; }
.search { flex: 1; min-width: 200px; position: relative; }
.search input { padding-left: 38px; }
.search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--muted); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
@media (max-width: 700px) { .summary { grid-template-columns: repeat(2, 1fr); } }
.sum { background: #fff; border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow); border-left: 5px solid var(--violet); }
.sum .k { font-size: 11.5px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.sum .v { font-weight: 800; font-size: 17px; margin-top: 2px; }

.tbl-wrap { overflow-x: auto; border-radius: var(--r); }
table.tbl { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13.5px; background: #fff; }
.tbl th { position: sticky; top: 0; background: #FAF8FF; color: var(--ink-2); text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; padding: 11px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 11px 12px; border-bottom: 1px solid #F3F1FB; vertical-align: middle; }
.tbl tr.click { cursor: pointer; }
.tbl tr.click:hover td { background: #FBFAFF; }
.tbl .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tbl .nowrap { white-space: nowrap; }
.tbl .muted { color: var(--muted); font-size: 12.5px; }
.tbl tfoot td { font-weight: 800; background: #FAF8FF; }

.rows-m { display: none; gap: 10px; }
.rcard { background: #fff; border-radius: 16px; padding: 14px; box-shadow: var(--shadow); border-left: 5px solid var(--violet); display: grid; gap: 6px; cursor: pointer; }
.rcard .top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.rcard .nm { font-weight: 800; font-size: 15px; }
.rcard .amt { font-weight: 800; white-space: nowrap; }
.rcard .meta { color: var(--muted); font-size: 12.5px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
@media (max-width: 760px) { .tbl-desktop { display: none; } .rows-m { display: grid; } }

.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 800; white-space: nowrap; }
.b-green { background: var(--green-soft); color: #047857; }
.b-amber { background: var(--amber-soft); color: #B45309; }
.b-red { background: var(--red-soft); color: #B91C1C; }
.b-orange { background: var(--orange-soft); color: #C2410C; }
.b-sky { background: var(--sky-soft); color: #0369A1; }
.b-gray { background: #F1F0F7; color: #5B5880; }
.b-violet { background: var(--violet-soft); color: var(--violet); }
.pending { background: var(--amber-soft); color: #92400E; }

/* ---------- checklist ---------- */
.cl-wrap { overflow-x: auto; border-radius: var(--r); background: #fff; box-shadow: var(--shadow); }
table.cl { border-collapse: separate; border-spacing: 0; width: 100%; font-size: 13px; }
.cl th, .cl td { padding: 9px 8px; border-bottom: 1px solid #F3F1FB; text-align: center; white-space: nowrap; }
.cl th { background: #FAF8FF; font-size: 11.5px; text-transform: uppercase; color: var(--ink-2); position: sticky; top: 0; }
.cl td.name, .cl th.name { text-align: left; position: sticky; left: 0; background: #fff; z-index: 1; min-width: 190px; max-width: 240px; white-space: normal; box-shadow: 6px 0 10px -8px rgba(31,17,71,.25); }
.cl th.name { background: #FAF8FF; z-index: 2; }
.cl tr.sumrow td { background: #FAF8FF; font-weight: 800; font-size: 12px; color: var(--ink-2); }
.mark { width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; }
.mark svg { width: 15px; height: 15px; }
.m-ok { background: var(--green); color: #fff; box-shadow: 0 4px 10px rgba(16,185,129,.35); }
.m-wait { background: var(--amber); color: #fff; }
.m-none { background: #fff; border: 2px solid #E4E0F5; }
.cl .nm { font-weight: 700; }
.cl .sub { font-size: 11.5px; color: var(--muted); }
.progress { height: 7px; background: #EFECFB; border-radius: 99px; overflow: hidden; width: 70px; display: inline-block; vertical-align: middle; }
.progress > i { display: block; height: 100%; background: var(--grad); }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); margin: 10px 2px; align-items: center; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- calendar ---------- */
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal .dow { text-align: center; font-size: 11.5px; font-weight: 800; color: var(--muted); text-transform: uppercase; padding: 4px 0; }
.day { min-height: 86px; background: #fff; border-radius: 14px; padding: 8px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 4px; border: 2px solid transparent; cursor: pointer; text-align: left; }
.day.empty { background: transparent; box-shadow: none; cursor: default; }
.day .d { font-weight: 800; font-size: 14px; }
.day .c { font-size: 11px; font-weight: 700; color: var(--muted); }
.day .a { font-size: 11px; font-weight: 800; margin-top: auto; }
.day.paid { background: linear-gradient(160deg, #ECFDF5, #fff); border-color: #A7F3D0; }
.day.due { background: linear-gradient(160deg, #FFF7ED, #fff); border-color: #FDBA74; }
.day.late { background: linear-gradient(160deg, #FEF2F2, #fff); border-color: #FCA5A5; }
.day.today { outline: 3px solid var(--violet-2); outline-offset: 1px; }
.day.sel { border-color: var(--violet); }
@media (max-width: 600px) { .day { min-height: 62px; padding: 6px; } .day .a { display: none; } .cal { gap: 4px; } }

/* ---------- setup ---------- */
.setup-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 800px) { .setup-grid { grid-template-columns: 1fr; } }
.tagbox { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.tag { display: inline-flex; align-items: center; gap: 6px; background: var(--violet-soft); color: var(--violet); border-radius: 999px; padding: 6px 6px 6px 12px; font-weight: 700; font-size: 13px; }
.tag.ro { padding: 6px 12px; background: #F1F0F7; color: var(--ink-2); }
.tag button { border: 0; background: rgba(124,58,237,.12); color: var(--violet); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; line-height: 1; }
.tag .ed { cursor: pointer; }
.addline { display: flex; gap: 8px; }

/* ---------- FAB, modal, toast ---------- */
.fab { position: fixed; right: 18px; bottom: calc(22px + var(--safe-b)); z-index: 40; width: 60px; height: 60px; border-radius: 20px; border: 0; background: var(--grad); color: #fff; box-shadow: 0 14px 30px rgba(192,38,211,.4); display: grid; place-items: center; }
.fab svg { width: 26px; height: 26px; }
.overlay { position: fixed; inset: 0; z-index: 60; background: rgba(31,17,71,.45); backdrop-filter: blur(4px); display: flex; align-items: flex-end; justify-content: center; animation: fade .15s; }
@media (min-width: 700px) { .overlay { align-items: center; } }
@keyframes fade { from { opacity: 0; } }
.modal { width: 100%; max-width: 620px; max-height: 92vh; overflow: auto; background: #fff; border-radius: 24px 24px 0 0; padding: 20px 20px calc(18px + var(--safe-b)); box-shadow: var(--shadow-lg); animation: up .2s ease-out; }
@media (min-width: 700px) { .modal { border-radius: 24px; } }
@keyframes up { from { transform: translateY(30px); opacity: .6; } }
.modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.modal-head h3 { margin: 0; font-size: 19px; font-weight: 800; }
.modal-head .x { border: 0; background: #F3F1FB; width: 36px; height: 36px; border-radius: 12px; font-size: 18px; }
.modal-foot { display: flex; gap: 10px; justify-content: space-between; margin-top: 6px; flex-wrap: wrap; }
.modal-foot .r { display: flex; gap: 8px; margin-left: auto; }
#toast-root { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(96px + var(--safe-b)); z-index: 80; display: grid; gap: 8px; width: min(92vw, 420px); }
.toast { background: var(--ink); color: #fff; border-radius: 14px; padding: 12px 14px; font-size: 13.5px; font-weight: 600; box-shadow: var(--shadow-lg); display: flex; gap: 10px; align-items: center; justify-content: space-between; animation: up .2s; }
.toast.err { background: #B91C1C; }
.toast.ok { background: #047857; }
.toast button { border: 0; background: rgba(255,255,255,.2); color: #fff; border-radius: 10px; padding: 6px 10px; font-weight: 800; }

.empty-state { text-align: center; padding: 40px 16px; color: var(--muted); }
.empty-state .ic { width: 64px; height: 64px; margin: 0 auto 10px; border-radius: 20px; display: grid; place-items: center; background: var(--violet-soft); color: var(--violet); }
.empty-state .ic svg { width: 30px; height: 30px; }
.menu { position: absolute; right: 16px; top: 64px; background: #fff; color: var(--ink); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 8px; min-width: 220px; z-index: 50; }
.menu button { width: 100%; text-align: left; border: 0; background: none; padding: 10px 12px; border-radius: 10px; font-weight: 600; display: flex; gap: 10px; align-items: center; }
.menu button:hover { background: #F6F4FF; }
.menu .about { font-size: 12px; color: var(--muted); padding: 8px 12px 4px; border-top: 1px solid var(--line); margin-top: 4px; }
.generic td, .generic th { font-size: 12.5px; white-space: nowrap; }
.tbl td:has(> b) { min-width: 210px; }
.tbl td .muted { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 320px; }
.tbl td.muted a { display: inline-block; max-width: 180px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }

/* === Full width + dukungan landscape (v1.0.3) === */
.topbar-row,
.tabs,
main { max-width: none; }
.topbar,
main {
  padding-left:  max(16px, env(safe-area-inset-left));
  padding-right: max(16px, env(safe-area-inset-right));
}
.fab { right: calc(18px + env(safe-area-inset-right)); }
@media (orientation: landscape) and (max-height: 500px) {
  .overlay { align-items: center; }
  .modal { max-height: 94vh; border-radius: 24px; }
  main { padding-bottom: calc(80px + var(--safe-b)); }
}

/* === Geser tab bulan di laptop (v1.0.4) === */
.tabs-wrap { position: relative; }
.tabs { cursor: grab; scroll-behavior: auto; }
.tabs.dragging { cursor: grabbing; user-select: none; }
.tabs.dragging .tab { pointer-events: none; }
.tabs-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 34px; height: 34px; border-radius: 50%; border: 0;
  background: #fff; color: var(--violet); font-size: 22px; font-weight: 800; line-height: 1;
  display: none; place-items: center; padding: 0 0 3px;
  box-shadow: 0 6px 16px rgba(0,0,0,.18); cursor: pointer;
}
.tabs-nav.prev { left: -4px; }
.tabs-nav.next { right: -4px; }
@media (hover: hover) and (pointer: fine) {
  .tabs-wrap.can-left  .tabs-nav.prev,
  .tabs-wrap.can-right .tabs-nav.next { display: grid; }
}
/* Fade di tepi supaya kelihatan masih ada tab */
.tabs-wrap.can-right .tabs { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 56px), transparent); }
.tabs-wrap.can-left .tabs { -webkit-mask-image: linear-gradient(to right, transparent, #000 56px); mask-image: linear-gradient(to right, transparent, #000 56px); }
.tabs-wrap.can-left.can-right .tabs { -webkit-mask-image: linear-gradient(to right, transparent, #000 56px, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(to right, transparent, #000 56px, #000 calc(100% - 56px), transparent); }
