/* ===== MODEL 2 — "Glassy Dashboard V2" (kaca buram di atas ruangan hangat) ===== */
html[data-model=m2] {
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --scene:
    radial-gradient(58% 26% at 50% -4%, rgba(74,48,30,.92), transparent 70%),
    radial-gradient(14% 10% at 22% 6%, rgba(104,70,44,.85), transparent 70%),
    radial-gradient(16% 10% at 77% 6%, rgba(104,70,44,.85), transparent 70%),
    radial-gradient(26% 62% at -3% 62%, rgba(40,30,24,.95), transparent 72%),
    radial-gradient(22% 30% at 6% 98%, rgba(54,40,32,.9), transparent 70%),
    radial-gradient(30% 64% at 104% 42%, rgba(255,251,245,.98), transparent 72%),
    radial-gradient(16% 22% at 12% 30%, rgba(247,196,128,.75), transparent 70%),
    radial-gradient(70% 26% at 50% 106%, rgba(116,84,58,.85), transparent 70%),
    radial-gradient(18% 14% at 88% 92%, rgba(255,255,255,.7), transparent 70%),
    linear-gradient(180deg, #a98a6c 0%, #dccbb6 30%, #e7dccd 55%, #d4bfa5 82%, #a88b6e 100%);
  --bg: var(--scene);
  --ink: #1C1916; --ink-2: #4A423A; --ink-3: #7B7066; --line: rgba(255,255,255,.5); --line-2: rgba(70,50,30,.2);
  --card: rgba(255,255,255,.34); --card-2: rgba(255,255,255,.42); --card-line: rgba(255,255,255,.6);
  --shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 14px 34px -22px rgba(70,44,20,.45);
  --accent: #1A1714; --on-accent: #fff; --accent-soft: rgba(26,23,20,.1); --accent-ink: #1A1714; --focus: #1A1714;
  --orange: #E8572A;
  --dark: #1A1714; --on-dark: #fff;
  --seg-bg: rgba(255,255,255,.28); --seg-line: rgba(255,255,255,.5); --seg-on: #1A1714; --seg-on-ink: #fff;
  --hero-bg: linear-gradient(150deg, #27AE88 0%, #148A6A 55%, #0E6B53 100%); --hero-ink: #fff; --hero-ink-2: rgba(255,255,255,.8);
  --good: #14735A; --good-soft: rgba(39,174,136,.2); --bad: #B3341D; --bad-soft: rgba(232,87,42,.18); --warn: #85570A; --warn-soft: rgba(233,178,31,.24); --info: #2B5CB3; --info-soft: rgba(46,111,216,.16);
  --track: rgba(255,255,255,.5); --bar-fill: #148A6A; --hover: rgba(255,255,255,.32); --input-bg: rgba(255,255,255,.62);
  --sheet-bg: rgba(244,237,228,.9); --backdrop: rgba(40,28,18,.22);
  --tip-bg: rgba(26,23,20,.92); --tip-ink: #fff; --r-card: 22px; --r-in: 14px; --gap: 16px;
  --grid: rgba(60,45,30,.14); --bar: rgba(255,255,255,.9); --bar-bg: rgba(255,255,255,.5); --bar-stripe: rgba(255,255,255,.9); --bar-hi-a: #F06A38; --bar-hi-b: #E04F22; --bar-fut: rgba(60,45,30,.3); --tag-bg: #1A1714; --tag-ink: #fff;
  --c1: #E35A2B; --c2: #2E6FD8; --c3: #B98A0C; --c4: #8A4FC7; --c5: #2F9E5B; --stack-1: #1A1714; --stack-2: #1E9C77;
  --spark: #148A6A; --mini: rgba(255,255,255,.8); --mini-last: #E8572A; --ring: #E8572A;
  --avatar-bg: rgba(255,255,255,.6); --avatar-ink: #1A1714;
  --bnav-bg: rgba(255,255,255,.4); --bnav-line: rgba(255,255,255,.6); --bnav-ink: #1C1916; --bnav-ink-2: #5F544A; --bnav-on: #1C1916; --fab-bg: #fff; --fab-ink: #1A1714; --fab-shadow: rgba(70,44,20,.35);
  --login-art-bg: transparent; --login-art-ink: #1C1916; --login-chip-bg: rgba(255,255,255,.4);
  --tile-ic-bg: #1A1714; --nota-desk: rgba(255,255,255,.35); --nota-accent: #148A6A; --th-bg: rgba(255,255,255,.35);
  --glass: rgba(255,255,255,.24); --glass-line: rgba(255,255,255,.55);
}
html[data-model=m2] body { background: var(--scene); background-attachment: fixed; background-color: #cdb79e; }
html[data-model=m2] body::after { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .18; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E"); mix-blend-mode: soft-light; }
.glass { background: var(--glass); border: 1px solid var(--glass-line); backdrop-filter: blur(26px) saturate(150%); -webkit-backdrop-filter: blur(26px) saturate(150%); box-shadow: inset 0 1px 0 rgba(255,255,255,.65), 0 18px 40px -24px rgba(60,36,16,.5); }

html[data-model=m2] { --pop-bg: rgba(247,240,231,.86); --pop-line: rgba(255,255,255,.78); --pop-shadow: inset 0 1px 0 rgba(255,255,255,.85), 0 32px 64px -24px rgba(60,36,16,.55); --pop-hover: rgba(255,255,255,.62); --pop-field: rgba(255,255,255,.5); --r-pop: 22px; --sel-bg: rgba(232,87,42,.26); --scroll: rgba(70,46,24,.28); --scroll-hi: rgba(70,46,24,.46); --rel-bg: rgba(26,23,20,.09); --filter-hover: rgba(255,255,255,.46); --in-hover: rgba(70,50,30,.38); --pick-shadow: 0 8px 16px -8px rgba(26,23,20,.6); }
html[data-model=m2] .pop { backdrop-filter: blur(30px) saturate(170%); -webkit-backdrop-filter: blur(30px) saturate(170%); }

/* ---------- bar atas ---------- */
.m2-top { position: sticky; top: 14px; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; margin: 14px 26px 0 26px; padding: 0 9px; border-radius: 999px; }
.m2-user { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 14px; color: var(--ink); padding-right: 10px; }
.m2-user .av { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(140deg, #f2e6d8, #c9ad8c); display: grid; place-items: center; font-weight: 700; font-size: 13px; box-shadow: inset 0 0 0 2px rgba(255,255,255,.7); }
.m2-ask { flex: 0 1 460px; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 8px 0 10px; border-radius: 999px; background: rgba(255,255,255,.22); border: 1px solid rgba(255,255,255,.45); color: var(--ink-2); font-size: 14px; text-align: left; transition: background .2s; }
.m2-ask:hover { background: rgba(255,255,255,.36); }
.m2-ask .typed { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m2-ask .typed::after { content: ''; display: inline-block; width: 1.5px; height: 1em; margin-left: 2px; background: var(--ink-2); vertical-align: -2px; animation: blink 1.1s steps(1) infinite; }
.m2-ask kbd { font: inherit; font-size: 12px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; background: rgba(255,255,255,.5); color: var(--ink-3); }
.orb { width: 26px; height: 26px; border-radius: 50%; flex: none; background: radial-gradient(circle at 35% 30%, #fff 0 8%, #c9b5ff 25%, #7b5cf0 60%, #3a2a9a 100%); box-shadow: 0 0 14px rgba(123,92,240,.55); animation: orb 4s ease-in-out infinite; }
@keyframes orb { 50% { box-shadow: 0 0 22px rgba(123,92,240,.85); transform: scale(1.06); } }
@keyframes blink { 50% { opacity: 0; } }
.m2-top-r { display: flex; gap: 8px; }
.m2-circ { position: relative; width: 44px; height: 44px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--ink); box-shadow: 0 6px 16px -8px rgba(60,36,16,.5); }
.m2-circ .dot-badge { box-shadow: 0 0 0 2px #fff; }
.m2-circ.on { background: #1A1714; color: #fff; }

/* ---------- rail kiri ---------- */
.m2-rail { position: fixed; z-index: 55; left: 30px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 6px; padding: 8px; border-radius: 999px; }
.m2-rail a, .m2-rail button { position: relative; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); transition: background .25s, color .25s; }
.m2-rail .ic { width: 18px; height: 18px; }
.m2-rail a:hover, .m2-rail button:hover { color: var(--ink); background: rgba(255,255,255,.3); }
.m2-rail a.on { background: #fff; color: var(--ink); box-shadow: 0 6px 14px -8px rgba(60,36,16,.6); }
.m2-rail .sep { height: 1px; margin: 4px 8px; background: rgba(255,255,255,.6); }
.m2-rail [data-label]:hover::after { content: attr(data-label); position: absolute; left: 54px; top: 50%; transform: translateY(-50%); white-space: nowrap; padding: 6px 12px; border-radius: 999px; background: rgba(26,23,20,.9); color: #fff; font-size: 12.5px; font-weight: 500; pointer-events: none; }

/* ---------- panel kaca utama ---------- */
.m2-panel { position: relative; margin: 18px 26px 0 104px; min-height: calc(100vh - 110px); border-radius: 36px; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.55); backdrop-filter: blur(34px) saturate(155%); -webkit-backdrop-filter: blur(34px) saturate(155%); box-shadow: inset 0 1px 0 rgba(255,255,255,.75), 0 50px 90px -40px rgba(60,34,12,.55); }
.m2-page { padding: 34px 40px 130px; }

/* ---------- dock bawah ---------- */
.m2-dock { position: fixed; z-index: 60; left: 50%; bottom: 20px; transform: translateX(calc(-50% + 39px)); display: flex; align-items: center; gap: 6px; height: 60px; padding: 0 8px; border-radius: 999px; max-width: calc(100vw - 150px); }
.dock-tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.dock-tabs::-webkit-scrollbar { display: none; }
.dock-tabs a { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-2); white-space: nowrap; transition: background .25s, color .25s, box-shadow .25s; }
.dock-tabs a:hover { color: var(--ink); }
.dock-tabs a.on { background: #fff; color: var(--ink); box-shadow: 0 8px 18px -10px rgba(60,36,16,.6); font-weight: 600; }
.dock-tabs .nb { background: var(--orange); color: #fff; }
.m2-plus { width: 46px; height: 46px; border-radius: 50%; flex: none; background: #fff; color: var(--ink); display: grid; place-items: center; box-shadow: 0 8px 18px -8px rgba(60,36,16,.6); transition: transform .2s; }
.m2-plus:hover { transform: rotate(90deg); }
.m2-plus .ic { stroke-width: 2.6; }

/* ---------- kartu & komponen kaca ---------- */
html[data-model=m2] .card, html[data-model=m2] .kpi { background: var(--card); border: 1px solid var(--card-line); box-shadow: var(--shadow); }
html[data-model=m2] .kpi.hero { background: var(--hero-bg); border-color: rgba(255,255,255,.3); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 18px 34px -18px rgba(14,107,83,.65); }
html[data-model=m2] .page-head h1, .m2-head h1 { font-weight: 600; letter-spacing: -.03em; }
html[data-model=m2] .page-head .sub, .m2-head p { color: var(--ink-3); }
html[data-model=m2] .btn { background: rgba(255,255,255,.55); border-color: rgba(255,255,255,.7); }
html[data-model=m2] .btn.primary, html[data-model=m2] .btn.dark { background: #1A1714; color: #fff; border-color: transparent; }
html[data-model=m2] .btn.light, .btn.light { background: #fff; color: var(--ink); border-color: transparent; box-shadow: 0 6px 14px -10px rgba(60,36,16,.6); }
html[data-model=m2] .btn.wa { background: #1c9e50; color: #fff; }
html[data-model=m2] .filter, html[data-model=m2] .chip-btn { background: rgba(255,255,255,.4); border-color: rgba(255,255,255,.6); }
html[data-model=m2] .chip-btn.on { background: #1A1714; color: #fff; }
html[data-model=m2] .icon-btn { background: rgba(255,255,255,.5); border-color: rgba(255,255,255,.7); }
html[data-model=m2] .tbl thead th { background: rgba(255,255,255,.4); border-bottom: 0; }
html[data-model=m2] .tbl thead th:first-child { border-radius: 14px 0 0 14px; }
html[data-model=m2] .tbl thead th:last-child { border-radius: 0 14px 14px 0; }
html[data-model=m2] .card.flush .tbl thead tr { box-shadow: none; }
html[data-model=m2] .card.flush > .card-body { margin: 0 -12px; }
html[data-model=m2] .tbl { border-collapse: separate; border-spacing: 0; }
html[data-model=m2] .tbl td { border-bottom-color: rgba(255,255,255,.45); }
html[data-model=m2] .tbl tr.row-link:hover td { background: rgba(255,255,255,.3); }
html[data-model=m2] .bar { background: rgba(255,255,255,.55); }
html[data-model=m2] .remind-list li, html[data-model=m2] .metric, html[data-model=m2] .sum-box, html[data-model=m2] .ph-row, html[data-model=m2] .bp-row, html[data-model=m2] .pc, html[data-model=m2] .set-row, html[data-model=m2] .set-li, html[data-model=m2] .menu-tile, html[data-model=m2] .catat-tile, html[data-model=m2] .total-box, html[data-model=m2] .pc-stats div, html[data-model=m2] .sampel-box { background: rgba(255,255,255,.42); }
html[data-model=m2] .sheet { backdrop-filter: blur(30px) saturate(140%); -webkit-backdrop-filter: blur(30px) saturate(140%); border-left: 1px solid rgba(255,255,255,.6); }
html[data-model=m2] .set-nav { background: rgba(255,255,255,.34); }
html[data-model=m2] .set-nav button.on { background: #1A1714; }
html[data-model=m2] .kpi-ic, html[data-model=m2] .ch-ic, html[data-model=m2] .t-ic { background: rgba(255,255,255,.6); }
html[data-model=m2] .chart .stk.s2 { fill: var(--stack-2); }
html[data-model=m2] .chart .rg-val.hot { stroke: #1A1714; }
html[data-model=m2] .badge { background: rgba(255,255,255,.5); }
html[data-model=m2] .badge.good { background: var(--good-soft); } html[data-model=m2] .badge.bad { background: var(--bad-soft); } html[data-model=m2] .badge.warn { background: var(--warn-soft); } html[data-model=m2] .badge.info { background: var(--info-soft); }
html[data-model=m2] .badge.accent { background: rgba(232,87,42,.18); color: #B3341D; }
html[data-model=m2] .bar.accent i { background: var(--orange); }
.pill-s { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; background: rgba(255,255,255,.55); font-size: 11.5px; font-weight: 600; font-style: normal; color: var(--ink-2); white-space: nowrap; }

/* ---------- beranda ---------- */
.m2-head { margin-bottom: 22px; }
.m2-head h1 { font-size: clamp(28px, 2.8vw, 38px); line-height: 1.1; }
.m2-head p { margin-top: 6px; font-size: 14px; }
.m2-r1 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr); gap: var(--gap); margin-bottom: var(--gap); }
.m2-r2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.05fr); gap: var(--gap); margin-bottom: 30px; }
.m2-r3 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: var(--gap); align-items: start; }
.m2-r3 .m2-goals { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.m2-col { display: grid; gap: var(--gap); align-content: start; }
.m2-balance { display: flex; flex-direction: column; gap: 10px; }
.gb-top { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; color: var(--ink-2); font-weight: 500; }
.cur { display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 10px; border-radius: 999px; background: rgba(255,255,255,.55); font-size: 12px; font-weight: 600; }
.cur .ic { width: 12px; height: 12px; }
.gb-big { font-size: clamp(26px, 2.3vw, 34px); font-weight: 600; letter-spacing: -.03em; }
.gb-sub { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-3); flex-wrap: wrap; }
.gb-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.gb-btns .btn { height: 46px; }
.gb-wallets { margin-top: 6px; padding: 14px; border-radius: 18px; background: rgba(255,255,255,.7); box-shadow: inset 0 1px 0 #fff; }
.gw-h { font-size: 12.5px; margin-bottom: 10px; display: flex; gap: 4px; }
.gw-h span { color: var(--ink-3); }
.gw-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.gw { display: grid; gap: 2px; padding: 10px; border-radius: 14px; background: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.9); transition: transform .2s; }
.gw:hover { transform: translateY(-2px); }
.gw .flag { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #F2ECE4; margin-bottom: 4px; }
.gw .flag .ic { width: 14px; height: 14px; }
.gw small { font-size: 11.5px; color: var(--ink-3); font-weight: 600; }
.gw b { font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; }
.gw em { font-style: normal; font-size: 11px; color: var(--ink-3); }
.m2-quad { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 12px; border-radius: var(--r-card); background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.5); box-shadow: inset 0 1px 0 rgba(255,255,255,.6); }
.m2-tile { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 18px; background: rgba(255,255,255,.5); border: 1px solid rgba(255,255,255,.7); box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 10px 22px -18px rgba(60,36,16,.6); cursor: pointer; min-width: 0; transition: transform .25s; }
.m2-tile:hover { transform: translateY(-2px); }
.mt-top { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; color: var(--ink-2); font-weight: 500; }
.mt-ic { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.75); flex: none; }
.mt-ic .ic { width: 14px; height: 14px; }
.mt-val { font-size: clamp(17px, 1.42vw, 23px); font-weight: 600; letter-spacing: -.03em; margin-top: auto; white-space: nowrap; }
.mt-sub { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 11.5px; color: var(--ink-3); }
.m2-tile.teal { background: var(--hero-bg); color: #fff; border-color: rgba(255,255,255,.3); box-shadow: 0 16px 30px -16px rgba(14,107,83,.8); position: relative; overflow: hidden; }
.m2-tile.teal::after { content: ''; position: absolute; right: -10px; bottom: -10px; width: 60px; height: 60px; background: rgba(255,255,255,.18); transform: rotate(45deg); border-radius: 10px; }
.m2-tile.teal .mt-top, .m2-tile.teal .mt-sub { color: rgba(255,255,255,.82); }
.m2-tile.teal .mt-ic { background: rgba(255,255,255,.22); color: #fff; }
.m2-tile.teal .delta { background: rgba(255,255,255,.22); color: #fff; }
.m2-income { display: flex; flex-direction: column; }
.g-inner { flex: 1; padding: 14px 14px 6px; border-radius: 18px; background: rgba(255,255,255,.72); box-shadow: inset 0 1px 0 #fff; }
.gi-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 12.5px; flex-wrap: wrap; }
.g-inner .legend { font-size: 12px; }
.g-inner .legend .sw { width: 8px; height: 8px; border-radius: 50%; }
.legend .sw.s1 { background: var(--c1); }
.m2-income .legend .sw.s1 { background: var(--stack-1); } .m2-income .legend .sw.s2 { background: var(--stack-2); }
.lim-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.lim-list li > div { display: flex; justify-content: space-between; font-size: 13.5px; margin-bottom: 5px; }
.lim-list li small { font-size: 11.5px; color: var(--ink-3); }
.lim-list li.low span, .lim-list li.low b { color: var(--bad); }
.lim-list .bar { height: 7px; }
.auto-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.auto-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.45); }
.auto-list li:last-child { border-bottom: 0; }
.auto-list li > div { flex: 1; display: grid; min-width: 0; }
.auto-list b { font-size: 13.5px; font-weight: 600; }
.auto-list small { font-size: 12px; color: var(--ink-3); }
.al-ic { width: 36px; height: 36px; border-radius: 12px; background: rgba(255,255,255,.6); display: grid; place-items: center; flex: none; }
.al-ic .ic { width: 17px; height: 17px; }
.al-ic.warn { color: var(--warn); } .al-ic.bad { color: var(--bad); } .al-ic.info { color: var(--info); }
.al-go { height: 32px; padding: 0 14px; border-radius: 999px; background: var(--orange); color: #fff; font-size: 12.5px; font-weight: 600; white-space: nowrap; box-shadow: 0 6px 14px -8px rgba(232,87,42,.8); }
.m2-recent .card-head { margin-bottom: 10px; }
.ra-search, .ra-filter { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px; background: rgba(255,255,255,.45); font-size: 13px; color: var(--ink-2); }
.ra-search .ic, .ra-filter .ic { width: 15px; height: 15px; }
.m2-sec { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin: 6px 0 14px; flex-wrap: wrap; }
.m2-sec h2 { font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.m2-sec p { color: var(--ink-3); font-size: 13.5px; margin-top: 2px; }
.m2-goals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.m2-goal { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 16px 18px; border-radius: 22px; background: rgba(255,255,255,.38); border: 1px solid rgba(255,255,255,.6); box-shadow: inset 0 1px 0 rgba(255,255,255,.75), 0 14px 30px -22px rgba(60,36,16,.6); cursor: pointer; text-align: center; transition: transform .25s, background .25s; }
.m2-goal:hover { transform: translateY(-3px); background: rgba(255,255,255,.48); }
.gl-top { width: 100%; display: flex; justify-content: space-between; align-items: center; }
.gl-ic { width: 32px; height: 32px; border-radius: 10px; background: rgba(214,230,255,.8); display: grid; place-items: center; color: #2B5CB3; }
.st-pemeliharaan .gl-ic { background: rgba(212,240,224,.85); color: #14735A; }
.st-panen .gl-ic { background: rgba(255,220,204,.9); color: #B3341D; }
.st-kosong .gl-ic, .st-persiapan .gl-ic { background: rgba(236,226,255,.85); color: #6A4FC7; }
.gl-ic .ic { width: 16px; height: 16px; }
.gl-date { height: 26px; padding: 0 10px; border-radius: 999px; background: rgba(255,255,255,.65); display: inline-flex; align-items: center; font-size: 11.5px; font-weight: 600; color: var(--ink-2); }
.gl-ring { position: relative; width: 118px; height: 118px; margin: 4px 0 6px; }
.gl-ring .chart { width: 118px; }
.gl-pct { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.gl-pct b { font-size: 22px; font-weight: 600; letter-spacing: -.02em; line-height: 1; }
.gl-pct small { font-size: 11px; color: var(--ink-3); margin-top: 2px; }
.gl-name { font-size: 15px; font-weight: 600; }
.gl-sub { font-size: 12px; color: var(--ink-3); }
.gl-btn { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 16px; margin-top: 10px; border-radius: 999px; background: #fff; font-size: 12.5px; font-weight: 600; box-shadow: 0 6px 14px -10px rgba(60,36,16,.7); }
.gl-btn .ic { width: 14px; height: 14px; }
.m2-goal.add { justify-content: center; border-style: dashed; border-width: 1.5px; background: rgba(255,255,255,.18); color: var(--ink-2); min-height: 260px; }
.add-c { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.7); margin-bottom: 8px; }
.m2-goal.add small { color: var(--ink-3); font-size: 12px; }
html[data-model=m2] .chart .rg-track { stroke: rgba(255,255,255,.7); }

/* kolam: tabungan & panen terdekat */
.m2-sav { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: var(--gap); margin-bottom: var(--gap); }
.m2-sav-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 20px; align-items: center; }
.sv-l small, .sv-r > small { color: var(--ink-2); font-size: 13px; font-weight: 500; }
.sv-big { display: block; font-size: clamp(30px, 3vw, 40px); font-weight: 600; letter-spacing: -.03em; margin: 4px 0 8px; }
.sv-prog { margin-top: 22px; display: grid; gap: 6px; }
.sv-prog .bar { height: 10px; width: 70%; }
.sv-prog small { font-size: 12px; color: var(--ink-3); }
.sv-r { padding: 14px; border-radius: 18px; background: rgba(255,255,255,.35); }
.sv-r .chart .bar { fill: rgba(255,255,255,.92); }

/* donat kategori */
.m2-donut { display: grid; gap: 14px; }
.dn-wrap { position: relative; }
.dn-c { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; pointer-events: none; }
.dn-c b { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.dn-c small { font-size: 11.5px; color: var(--ink-3); }
.dn-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dn-legend li { display: grid; grid-template-columns: 10px minmax(70px, 1fr) 1.4fr 40px; gap: 10px; align-items: center; font-size: 13px; }
.dn-legend .sw { width: 10px; height: 10px; border-radius: 50%; }
.dn-legend span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl-bar { height: 6px; border-radius: 6px; background: rgba(255,255,255,.55); overflow: hidden; }
.dl-bar i { display: block; height: 100%; border-radius: inherit; }
.dn-legend b { text-align: right; font-size: 12.5px; }

/* login kaca */
html[data-model=m2] .login { grid-template-columns: 1.15fr minmax(380px, 500px); padding: 24px; gap: 24px; }
html[data-model=m2] .login-art { background: transparent; padding: 24px 12px; }
html[data-model=m2] .login-art .brand { padding: 8px 16px 8px 8px; border-radius: 999px; align-self: flex-start; background: rgba(255,255,255,.3); border: 1px solid rgba(255,255,255,.55); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
html[data-model=m2] .la-copy h2 { color: #1C1916; }
html[data-model=m2] .login-card { border-radius: 36px; background: rgba(255,255,255,.26); border: 1px solid rgba(255,255,255,.6); backdrop-filter: blur(34px) saturate(150%); -webkit-backdrop-filter: blur(34px) saturate(150%); box-shadow: inset 0 1px 0 rgba(255,255,255,.75), 0 50px 90px -40px rgba(60,34,12,.55); }
html[data-model=m2] .login-models a.on { background: #1A1714; }

/* ---------- responsif ---------- */
@media (max-width: 1300px) {
  .m2-r1 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .m2-income { grid-column: 1 / -1; }
  .dock-tabs a { padding: 0 13px; }
}
@media (max-width: 1100px) {
  .m2-r2, .m2-sav, .m2-r3 { grid-template-columns: minmax(0, 1fr); }
  .m2-goals, .m2-r3 .m2-goals { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .m2-ask { flex-basis: 300px; }
}
@media (max-width: 900px) {
  .m2-r1 { grid-template-columns: minmax(0, 1fr); }
  .m2-goals, .m2-r3 .m2-goals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .m2-sav-main { grid-template-columns: minmax(0, 1fr); }
  .m2-user .nm { display: none; }
}
@media (max-width: 759px) {
  .m2-top { margin: 10px 10px 0; height: 56px; padding: 0 6px; top: 10px; }
  .m2-ask { flex: 1; min-width: 0; height: 42px; }
  .m2-user { padding-right: 0; }
  .m2-ask kbd, .m2-top-r a { display: none; }
  .m2-rail, .m2-dock { display: none; }
  .m2-panel { margin: 12px 8px 0; border-radius: 28px; }
  .m2-page { padding: 22px 14px 110px; }
  .m2-quad { padding: 8px; gap: 8px; }
  .m2-tile { padding: 12px; }
  .mt-val { font-size: 17px; letter-spacing: -.035em; }
  .gl-ring .chart { height: 100px !important; }
  .gw-list { grid-template-columns: 1fr 1fr; }
  .m2-goals, .m2-r3 .m2-goals { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .m2-goal { padding: 12px 10px 14px; }
  .gl-ring, .gl-ring .chart { width: 100px; height: 100px; }
  .gl-btn { padding: 0 12px; }
  html[data-model=m2] .login { grid-template-columns: 1fr; padding: 12px; }
}
@media (max-width: 400px) {
  .m2-quad { grid-template-columns: minmax(0, 1fr); }
  .mt-val { font-size: 22px; }
}
