@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
:root{color-scheme:light;--bg:#f7f7f5;--ink:#17140f;--muted:#625e56;--edge:#e4e0d8;--gold:#c49a35;--gold-fill:linear-gradient(135deg,#e5c66a,#c99a2e 55%,#a67c1f);font:14px/1.45 Inter,system-ui,sans-serif;background:var(--bg);color:var(--ink)}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,select{cursor:pointer}button,a,select,input{touch-action:manipulation}button{color:inherit}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #aa7a19;outline-offset:3px}button:hover{filter:brightness(1.05)}[hidden]{display:none!important}.skip{position:fixed;top:-100px;z-index:10;background:white;padding:10px}.skip:focus{top:0}
aside{display:none}header{position:sticky;top:0;z-index:2;display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-height:56px;padding:8px 12px;background:#1a1a1a;color:#eee;border-bottom:1px solid #34312a}.brand{display:flex;gap:9px;align-items:center;font-size:13px;white-space:nowrap}.brand small{display:block;color:#b7ae99;font-size:9px;letter-spacing:.11em}.mark,.avatar{display:grid;place-items:center;flex:none;width:36px;height:36px;border:1px solid #bb9338;border-radius:9px;background:var(--gold-fill);color:#111;font-weight:800}.avatar{margin-left:auto;width:31px;height:31px;font-size:11px}.filters{display:flex;align-items:center;gap:6px;flex-wrap:wrap}select,.compare{color:#eee;background:#242424;border:1px solid #403d35;border-radius:9px;padding:6px;font-size:11px;min-height:34px}.compare{display:flex;align-items:center;gap:2px}input[type=checkbox]{accent-color:var(--gold)}#custom{padding:8px 12px;background:#fcf7e9;display:flex;gap:10px;flex-wrap:wrap}#custom input{max-width:130px}
main{max-width:1320px;margin:auto;padding:12px 12px 86px}.notice{background:#fff9e9;color:#5b4519;border:1px dashed #c8ae75;border-radius:10px;padding:8px 11px;font-size:11px}.crumb{margin:14px 0 8px;color:var(--muted);font-size:11px}.hero{display:flex;align-items:center;justify-content:space-between;gap:8px;background:radial-gradient(ellipse at 95% 0,#6d5626 0%,#262015 50%,#10100f 92%);border:1px solid #584820;border-radius:18px;padding:18px;margin:0 0 14px;color:#fff;min-height:120px}.hero img{width:69px;height:69px;object-fit:contain}.hero p{margin:4px 0 0;color:#e0d7c4;font-size:12px}.badge{display:inline-flex;align-items:center;border-radius:8px;padding:2px 7px;background:#f8ecc6;color:#5b4517;font-size:10px;font-weight:800;letter-spacing:.05em;vertical-align:middle}h1{font-size:23px;line-height:1.16;margin:5px 0}h2{font-size:15px;margin:0}h3{font-size:13px;margin:0 0 8px}p{margin:6px 0}section{margin-bottom:14px}.section-title{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 8px}.section-title small,.muted{color:var(--muted);font-size:11px}
.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.kpi{position:relative;border:1px solid #ffffff24;box-shadow:0 2px 4px #20150012;border-radius:13px;text-align:left;min-height:91px;padding:10px 11px;color:#fff;background:linear-gradient(135deg,#24786d,#144c44);overflow-wrap:anywhere}.violet{background:linear-gradient(135deg,#744ec7,#49318d)}.blue{background:linear-gradient(135deg,#346bd3,#18387e)}.amber{background:linear-gradient(135deg,#9b6e23,#664a1c)}.green{background:linear-gradient(135deg,#237c58,#144d36)}.kpi span{display:block;font-size:11px;color:#fff}.kpi strong{display:block;margin:4px 0;font-size:clamp(16px,4.5vw,22px);line-height:1.15;font-weight:800}.kpi small{font-size:10px;color:#f8f3e7}.panel{background:#fff;border:1px solid var(--edge);border-radius:14px;padding:12px;box-shadow:0 1px 3px #2d230a0a;min-width:0}.panels{display:grid;gap:14px}.rows{display:grid;gap:6px}.row{display:flex;justify-content:space-between;align-items:center;gap:9px;width:100%;min-height:44px;text-align:left;background:transparent;border:1px solid var(--edge);border-radius:9px;padding:7px 9px}.row:hover{background:#fbf7ed}.row strong{white-space:nowrap}.row .muted{display:block}.identity{display:flex;align-items:center;gap:8px}.initials{display:grid;place-items:center;border-radius:50%;width:32px;height:32px;background:#f6eaca;color:#593e15;font-size:10px;font-weight:800;flex:none}
.chart-scroll{overflow:auto}.chart{display:grid;align-items:end;gap:5px;min-height:150px;padding:0 1px 4px}.bucket{text-align:center;min-width:0}.bars{height:112px;display:flex;align-items:end;justify-content:center;gap:3px;border-bottom:1px solid var(--edge);background:repeating-linear-gradient(to top,white 0 27px,#eeeae1 27px 28px)}.bar{display:grid;align-items:end;height:100%;width:46%;max-width:33px;min-width:20px;border:0;background:none;padding:0}.bar i{display:block;border-radius:4px 4px 0 0;background:#b89132;min-height:3px}.bar.prev i{background:#8664d3}.bucket small{font-size:9px;display:block;white-space:nowrap}.legend{display:flex;gap:12px;flex-wrap:wrap;font-size:11px;color:var(--muted);margin-top:5px}.legend span::before{content:'';display:inline-block;width:8px;height:8px;border-radius:2px;background:#b89132;margin-right:5px}.legend .prev::before{background:#8664d3}.donut{aspect-ratio:1;max-width:148px;margin:12px auto;display:grid;place-items:center;border-radius:50%;background:conic-gradient(#b89132 0 var(--occupied),#17837a var(--occupied) var(--idle),#a9a29a var(--idle) 100%)}.donut button{border:0;background:white;border-radius:50%;width:68%;height:68%;font-size:19px;font-weight:800}.donut small{display:block;font-size:10px;color:var(--muted)}
.bottom{position:fixed;bottom:0;inset-inline:0;z-index:3;display:grid;grid-template-columns:repeat(5,1fr);background:#1a1a1a;padding:3px 3px max(4px,env(safe-area-inset-bottom));border-top:1px solid #4d4028}.nav{display:flex;align-items:center;gap:8px;padding:9px;border:1px solid transparent;background:none;color:inherit;border-radius:8px;text-decoration:none;text-align:left;min-height:44px}.nav svg{width:17px;height:17px;flex:none}.bottom .nav{flex-direction:column;justify-content:center;gap:2px;color:#d8d3c7;font-size:10px;padding:4px 1px}.nav[aria-current=page],.bottom .nav[aria-current=page]{color:#f3cf75;background:#3b3020;border-color:#5e4a2a}.bottom button{width:100%}
dialog{color:var(--ink);background:var(--bg);border:1px solid var(--edge);padding:0;width:min(100%,610px);max-width:100%;max-height:88dvh;border-radius:18px 18px 0 0;margin:auto auto 0;box-shadow:0 -5px 45px #0003}dialog::backdrop{background:#0a0a08a5}.sheet-head{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:8px 14px;position:sticky;top:0;background:var(--bg);border-bottom:1px solid var(--edge);z-index:1;font-size:11px;color:var(--muted)}.sheet-head button,.action{min-height:44px;border:1px solid var(--edge);border-radius:9px;padding:7px 11px;background:white}.action.gold{background:var(--gold-fill);border-color:#ba9134;color:#14100a;font-weight:700}#detail,#menu-nav{padding:14px}#detail h2{font-size:20px}#detail .amount{font-size:25px;font-weight:800;margin:6px 0}dl{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px 12px;margin:12px 0}dt{font-weight:700}dd{margin:0;overflow-wrap:anywhere}.actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}#sheet.full{height:100dvh;max-height:100dvh;border-radius:0}#sheet.full #detail{max-width:740px;margin:auto}
@media(max-width:380px){.mobile.brand b{display:none}.hero img{width:57px;height:57px}header{gap:5px;padding-inline:8px}.filters{gap:4px}}
@media(min-width:690px){main{padding:18px 20px 90px}.grid{grid-template-columns:repeat(4,minmax(0,1fr))}.panels{grid-template-columns:1.35fr 1fr}.hero{padding:22px}.hero img{width:83px;height:83px}dialog{margin:auto;border-radius:18px}#sheet.full{width:min(95%,850px);height:auto;max-height:95dvh;border-radius:18px}}
@media(min-width:1000px){body{display:grid;grid-template-columns:222px minmax(0,1fr)}aside{display:flex;flex-direction:column;position:sticky;top:0;height:100dvh;background:#141413;color:#d9d4c7;border-right:1px solid #2d2a23;padding:16px 10px}aside .brand{margin:0 4px 24px}aside footer{margin-top:auto;font-size:10px;color:#efd28c;padding:10px;border-top:1px solid #3c3528}aside footer small{float:right}.bottom,.mobile{display:none}header{padding-inline:20px}.grid{gap:12px}.kpi{min-height:100px;padding:13px}.hero{min-height:140px}main{padding-bottom:25px}}
.hero img{width:100px;height:72px}.donut{position:relative;background:none;isolation:isolate}.donut svg{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg);z-index:-1}.donut circle{pointer-events:stroke;cursor:pointer}.donut circle:hover{stroke-width:18}.donut button{width:60%;height:60%}.bar:focus-visible{outline-offset:-2px}
@media(min-width:690px){.hero img{width:133px;height:85px}}
.bar{position:relative}.bar i{position:absolute;inset-inline:0}.bars{position:relative}.bars::before{content:'';position:absolute;bottom:var(--zero,0%);inset-inline:0;border-top:1px solid #d7d1c6;pointer-events:none}

/* Executive Hybrid · translucent ivory and champagne */
:root{
  --bg:#f7f5ef;
  --ink:#211d17;
  --muted:#625c52;
  --edge:#51402624;
  --gold:#c49a35;
  --hero-gradient:radial-gradient(ellipse at 94% 0%,#aa772cc9,transparent 62%),
    linear-gradient(105deg,#17140f,#392718 72%,#4d331a);
  --gold-fill:linear-gradient(135deg,#e5c66a,#c99a2e 55%,#a67c1f);
  background:#f7f5ef;
}
.workspace{
  min-height:100vh;
  background:radial-gradient(ellipse at 89% 3%,#e8d9b980,transparent 40rem),
    radial-gradient(ellipse at 15% 35%,#fffdf5 0%,transparent 38rem),#f5f2eb;
}
header,.bottom{
  background:#1b1915ed;
  border-color:#c6a9762c;
  backdrop-filter:blur(18px) saturate(.78);
}
aside{background:#211e19;border-color:#514533}
select,.compare{background:#ffffff0b;border-color:#ffffff22}
.mark,.avatar{border-color:#d2b684}
.notice{background:#fffbef80;border:1px solid #a5874c44;color:#665331}
.hero{
  background:var(--hero-gradient);
  border-color:#8b622e;
  border-radius:16px;
  box-shadow:0 6px 22px #4e3b2110,inset 0 1px #fff1;
  backdrop-filter:blur(16px) saturate(.75);
}
.hero p{color:#e6ded0}
.badge{background:#ede0c4c9;color:#514126}
.hero .badge{background:#efdcb923;color:#f3e4c2;border:1px solid #efdcb947}
.panel,.kpi{
  background:linear-gradient(145deg,#ffffffb8,#ffffff55);
  border:1px solid var(--edge);
  box-shadow:0 3px 12px #49382108,inset 0 1px #ffffffc0;
  backdrop-filter:blur(16px) saturate(.76);
}
.kpi{
  --tint:#6e685a;
  border-radius:11px;
  min-height:80px;
  padding:9px 11px;
  background:linear-gradient(145deg,#ffffffc4,color-mix(in srgb,var(--tint) 9%,#fff9));
}
.kpi.violet{--tint:#796982}.kpi.blue{--tint:#607284}
.kpi.teal,.kpi.green{--tint:#5b7266}.kpi.amber{--tint:#ab8850}
.kpi strong{color:var(--ink);font-weight:700}
.kpi span{color:#514b41}
.kpi small{color:#665b47}
.row{border-color:#6f58331f;background:#ffffff32}
.row:hover{background:#f2e8d570}
.bars{background:repeating-linear-gradient(to top,transparent 0 27px,#73624314 27px 28px)}
.bar i,.legend span::before{background:#b18832}
.bar.prev i,.legend .prev::before{background:#8b817b}
.nav[aria-current=page],.bottom .nav[aria-current=page]{background:#c4a36b22;border-color:#c4a36b47;color:#f0dcb3}
dialog,.sheet-head{background:#faf7efed;backdrop-filter:blur(20px) saturate(.8)}
dialog::backdrop{background:#211c1666;backdrop-filter:blur(4px)}
.action,.sheet-head button,.donut button{background:#fffaf2d9}
.action.gold{border-color:#af8b4d}
@media(min-width:1000px){.kpi{min-height:86px;padding:10px 13px}}

.daily-legend{display:flex;gap:5px 14px;flex-wrap:wrap;margin:8px 0 12px;color:var(--muted);font-size:11px}
.daily-legend span::before{content:'';display:inline-block;width:13px;height:3px;border-radius:2px;vertical-align:middle;margin-right:5px;background:var(--series)}
.daily-frame{display:flex;gap:6px}.daily-frame .chart-scroll{flex:1;min-width:0}.daily-plot{position:relative;min-width:calc(var(--days) * 34px);height:224px}
.daily-frame .chart-scroll:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.daily-plot svg{display:block;width:100%;height:190px;pointer-events:none}
.daily-plot line{stroke:#79674730;vector-effect:non-scaling-stroke}
.daily-plot polyline{fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.daily-axis{position:relative;display:flex;flex-direction:column;justify-content:space-between;align-items:end;padding-top:7px;height:185px;min-width:28px;color:var(--muted);font-size:9px;white-space:nowrap}
.daily-axis b{position:absolute;right:0;top:-10px;font-weight:600}
.daily-targets{position:absolute;inset:0;display:grid;grid-template-columns:repeat(var(--days),minmax(0,1fr))}
.daily-targets button,.future-day{display:flex;align-items:flex-end;justify-content:center;background:transparent;border:0;border-radius:5px;padding:0 0 10px;color:var(--ink);font-size:11px}
.daily-targets button:hover,.daily-targets button:focus-visible{background:#a5823d26;outline-offset:-2px}
.future-day{color:#817b70}
.panels>:has(.daily-frame){grid-column:1/-1}

.treemap-total{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:8px 0}
.treemap-total strong{font-size:17px}
.treemap{display:grid;grid-template-columns:var(--left) minmax(0,1fr);height:clamp(210px,55vw,255px);border-radius:11px;overflow:hidden;background:radial-gradient(ellipse at 18% 8%,#fffaf0b3,transparent 75%),#eee7d74d}
.treemap-column{display:grid;min-width:0;min-height:0}
.treemap-tile{--branch-glass:color-mix(in srgb,var(--branch-site) 38%,var(--branch-pastel));display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:3px;min-width:0;min-height:0;padding:7px 10px;text-align:left;overflow:hidden;border:1px solid #ffffffa8;background:#ffffff66;color:#29231b;
  background:linear-gradient(145deg,color-mix(in srgb,var(--branch-glass) 60%,#ffffffa6),color-mix(in srgb,var(--branch-glass) 84%,#ffffff42));
  box-shadow:inset 0 1px 0 #ffffff90;backdrop-filter:blur(12px) saturate(.85)}
.treemap-tile span{font-size:11px;font-weight:600;line-height:1.2;color:#29231b;color:color-mix(in srgb,var(--branch-color) 60%,#241d14)}
.treemap-tile strong{font-size:clamp(18px,5vw,26px);line-height:1.12}
.treemap-tile small{font-size:10px;white-space:nowrap}
.treemap-tile:focus-visible{outline:2px solid var(--branch-color);outline-offset:-3px}

.daily-axis span{position:absolute;right:0;transform:translateY(-50%)}
.daily-plot .zero-line{stroke:#79674770}

.kpi.kpi-featured{background:var(--hero-gradient);border-color:#8b622e;box-shadow:inset 0 1px #fff1}
.kpi-featured strong{color:#fff}
.kpi-featured span,.kpi-featured small{color:#f3e6d1}

.kpi-countries>span:first-child{font-weight:700;margin-bottom:3px}
.kpi-countries .country-line{display:flex;justify-content:space-between;align-items:baseline;gap:6px}
.kpi-countries .country-line span,.kpi-countries .country-line b{font-size:10px}
.kpi-countries .country-line b{white-space:nowrap;color:var(--ink)}
.kpi-countries small{display:block;margin-top:3px}

.rank-filter{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:7px;font-size:12px;font-weight:600}
.rank-filter select{background:#fffaf1;color:var(--ink);border-color:var(--edge);font-size:12px;min-height:38px}
.winner-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:12px}
.winner{--metal:#555d68;--shine:#d7dfe8;display:flex;flex-direction:column;align-items:center;gap:3px;min-width:0;text-align:center;padding:9px 3px;border:1px solid color-mix(in srgb,var(--metal) 32%,white);border-radius:12px;background:linear-gradient(155deg,#ffffffb5,var(--shine));color:#211d17}
.winner-2{--metal:#82601f;--shine:#eedbb2}.winner-3{--metal:#686c73;--shine:#e1e2e4}
.therapist-portrait{display:grid;place-items:center;flex:none;width:49px;aspect-ratio:1;border-radius:50%;background:#e9dfca url('therapists-demo.jpg') var(--photo-x) var(--photo-y)/500% 200% no-repeat;border:2px solid #fff9;color:transparent;font-size:10px}
.winner-name{font-weight:700;max-width:100%;overflow-wrap:anywhere}
.winner strong{font-size:clamp(10px,2.75vw,15px);overflow-wrap:anywhere;line-height:1.2}
.winner small{font-size:10px;color:var(--metal)}
.rank-more{margin-top:10px}.rank-more summary{min-height:44px;padding:11px 9px;cursor:pointer;border:1px solid var(--edge);border-radius:9px;background:#ffffff61;font-size:12px;font-weight:700}.rank-more[open] .rows{margin-top:6px}.rank-more summary:focus-visible{outline:2px solid var(--gold);outline-offset:2px}.therapist-rank-row .therapist-portrait{width:32px}.rank-index{width:1.5em;text-align:center;color:var(--muted);font-weight:700}
@media(min-width:690px){.winner-grid{gap:12px}.winner{padding:12px}.therapist-portrait{width:63px}}

.winner-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.23fr) minmax(0,.96fr);align-items:end}
.winner{grid-row:1}
.winner-1{grid-column:2;min-height:193px;justify-content:center;box-shadow:0 5px 16px #56647524}
.winner-2{grid-column:1;min-height:171px;justify-content:center}
.winner-3{grid-column:3;min-height:154px;justify-content:center}
.winner-1 .therapist-portrait{width:clamp(56px,12vw,76px)}
.winner-3 .therapist-portrait{width:clamp(42px,9vw,56px)}
@media(min-width:690px){.winner-1{min-height:235px}.winner-2{min-height:212px}.winner-3{min-height:191px}}

.trophy{position:relative;display:block;flex:none;width:clamp(62px,22vw,127px);max-width:100%;aspect-ratio:1}
.trophy::before{content:'';position:absolute;inset:0;background:url('podium-shield.png') center/contain no-repeat}
.winner-1 .trophy{width:clamp(78px,27vw,157px)}
.winner-1 .trophy::before{filter:hue-rotate(253deg) saturate(.61)}
.winner-3 .trophy{width:clamp(53px,20vw,110px)}
.winner-3 .trophy::before{filter:grayscale(1)}
.winner-rank{position:absolute;top:69.6%;left:50%;transform:translate(-50%,-50%);font-size:clamp(8px,2.25vw,13px);font-weight:800;color:#231a10;white-space:nowrap;text-shadow:0 1px 1px #fffd}
.winner-1 .winner-rank{color:#321c30}
.winner-3 .winner-rank{color:#242424}

.branch-therapist-board{grid-column:1/-1}
.branch-therapist-grid{display:grid;gap:12px;margin-top:10px}
.branch-therapist-card{min-width:0;padding:10px;border-radius:12px;border:1px solid color-mix(in srgb,var(--branch-site) 44%,white);background:linear-gradient(145deg,color-mix(in srgb,var(--branch-pastel) 32%,#fff9),#fff8)}
.branch-therapist-card .winner-grid{gap:4px;margin-top:8px}
.branch-therapist-card .winner{padding:5px 2px;min-height:0}
.branch-therapist-card .winner-1{min-height:136px}
.branch-therapist-card .winner-2{min-height:121px}
.branch-therapist-card .winner-3{min-height:110px}
.branch-therapist-card .trophy{width:55px}
.branch-therapist-card .winner-1 .trophy{width:68px}
.branch-therapist-card .winner-3 .trophy{width:48px}
.branch-therapist-card .winner-rank{font-size:8px}
.branch-therapist-card .winner .therapist-portrait{width:30px}
.branch-therapist-card .winner-1 .therapist-portrait{width:36px}
.branch-therapist-card .winner-name,.branch-therapist-card .winner strong{font-size:11px}
.branch-therapist-card .therapist-rank-row .therapist-portrait{width:26px}
.branch-therapist-card .therapist-rank-row{font-size:12px}
@media(min-width:690px){.branch-therapist-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

.branch-room-card .winner{justify-content:center}
.branch-room-card .rank-secondary{display:block;font-size:10px;color:var(--muted)}

.home-revenue-branches{grid-column:1/-1}
.home-revenue-branches>.panel{margin-bottom:0}

.referral-list{max-height: min(65dvh,620px);overflow:auto;padding:2px 4px 2px 2px;scrollbar-gutter:stable}
.referral-list .row strong{flex:none}

.treemap-with-charges{height:clamp(310px,72vw,370px)}
.charge-lines{display:grid;gap:2px;width:100%}
.charge-lines>span{display:flex;justify-content:space-between;flex-wrap:wrap;column-gap:4px}
.charge-lines b{white-space:nowrap}
.treemap-with-charges .charge-lines{border-top:1px solid #29231b30;margin-top:3px;padding-top:4px}
.treemap-with-charges .charge-lines span,.treemap-with-charges .charge-lines b{font-size:10px;line-height:1.15}
.treemap-with-charges .charge-lines>span:last-child span,.treemap-with-charges .charge-lines>span:last-child b{font-weight:800}
.treemap-collection{display:grid;gap:5px;margin-top:8px}
.treemap-collection .charge-lines{grid-template-columns:repeat(3,minmax(0,1fr));font-size:11px;gap:7px}
.treemap-collection .charge-lines>span{display:grid}

/* HAWK R&D: label mode demo (NP v1.1 §2, data sintetis hanya di mode demo yang jelas) */
.demo-banner{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:6px 12px;background:#3a2a12;color:#f6e7c4;font-size:11px;line-height:1.35;border-bottom:1px solid #6b4f24}
.demo-banner b{padding:1px 7px;border-radius:999px;background:#f8c308;color:#1a1a1a;font-size:10px;letter-spacing:.06em}
.live-blocked{max-width:640px;margin:48px auto;padding:24px;border-radius:16px;background:#fffdf7;border:1px solid #e3d6b8;color:#2b2416;font-size:14px;line-height:1.5}
