/* REV5.10: Self-contained, accessible, mobile-first command center. */
.thcc-root,.thcc-root *,[data-thcc-launch],[data-thcc-launch] *{box-sizing:border-box}
.thcc-root{position:fixed;inset:0;z-index:2147483100;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#213047}
.thcc-scrim{position:absolute;inset:0;background:rgba(9,21,39,.62);backdrop-filter:blur(5px)}
.thcc-panel{position:absolute;inset:3vh max(12px,calc((100vw - 900px)/2));width:auto;max-height:94dvh;display:flex;flex-direction:column;overflow:hidden;background:#f8fafc;border-radius:24px;box-shadow:0 28px 90px rgba(13,22,35,.28);border:1px solid rgba(255,255,255,.86)}
.thcc-panel>[data-thcc-body]{overflow:auto;min-height:0;overscroll-behavior:contain;scrollbar-width:thin}
.thcc-header{background:linear-gradient(126deg,#541e30 0%,#801c2d 55%,#273554 100%);color:#fff;padding:24px 28px 29px;display:flex;justify-content:space-between;gap:14px;align-items:start}
.thcc-eyebrow{display:block;font-size:10px;font-weight:800;letter-spacing:.16em;color:#ffe2e0;margin-bottom:8px}
.thcc-header h2{font-size:27px;line-height:1.17;letter-spacing:-.035em;margin:0 0 8px;font-weight:800;color:#fff}
.thcc-header p{font-size:13px;line-height:1.5;margin:0;color:#f4dfe5}
.thcc-icon-close{appearance:none;border:1px solid rgba(255,255,255,.28);border-radius:12px;flex:none;width:43px;height:43px;display:grid;place-items:center;color:#fff;background:rgba(255,255,255,.12);cursor:pointer}
.thcc-icon-close:hover{background:rgba(255,255,255,.25)}
.thcc-inner{padding:20px 24px 26px}
.thcc-hero{display:flex;gap:13px;align-items:center;background:#fff;border:1px solid #e8edf4;box-shadow:0 5px 16px rgba(30,50,85,.04);border-radius:17px;padding:13px 16px;margin:0 0 15px}
.thcc-hero-icon{width:44px;height:44px;border-radius:13px;background:#f8e8ea;color:#8b2836;display:grid;place-items:center;flex:none}
.thcc-hero-copy{display:grid;gap:2px;flex:1;min-width:0}
.thcc-hero-copy strong{font-size:14px;font-weight:800}.thcc-hero-copy span{font-size:12px;color:#526078;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.thcc-hero-copy small{font-size:11px;color:#64748b}
.thcc-refresh{width:42px;height:42px;border:0;border-radius:12px;background:#f0f3f8;display:grid;place-items:center;color:#44536d;cursor:pointer;flex:none}
.thcc-refresh:hover{background:#e1e8f0}
.thcc-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:24px}
.thcc-kpis>div{border:1px solid #e6eaf2;background:white;padding:14px;border-radius:17px;display:grid;gap:5px;min-width:0}
.thcc-kpis span{color:#53647b;font-size:11px;font-weight:700;line-height:1.3}.thcc-kpis strong{font-size:29px;font-weight:850;letter-spacing:-.04em;line-height:1.1;color:#27334b}.thcc-kpis small{font-size:10px;color:#718096;line-height:1.3}
.thcc-kpis>div.hot{background:#fff6f5;border-color:#f1d4d1}.thcc-kpis>div.hot strong{color:#af2937}
.thcc-section-head{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-bottom:12px}.thcc-section-head h3{font-size:18px;margin:0 0 4px;letter-spacing:-.02em}.thcc-section-head p{margin:0;color:#68758a;font-size:12px;line-height:1.5}.thcc-section-head>span{font-size:11px;color:#718096;white-space:nowrap}
.thcc-filters{display:flex;gap:8px;overflow-x:auto;padding:2px 1px 11px;scrollbar-width:none}.thcc-filters::-webkit-scrollbar{display:none}.thcc-filters button{font-family:inherit;border:1px solid #e1e6ed;border-radius:999px;background:#fff;color:#3e4b60;padding:9px 13px;font-size:12px;font-weight:750;cursor:pointer;flex:none;min-height:38px}.thcc-filters button.active{border-color:#7a2538;background:#7a2538;color:#fff}
.thcc-tasks{display:grid;gap:10px}
.thcc-task{display:flex;align-items:flex-start;gap:13px;padding:16px;background:#fff;border:1px solid #e3e9f0;border-radius:17px;box-shadow:0 3px 10px rgba(20,43,78,.025)}
.thcc-task[data-level=KRITIS]{border-left:4px solid #b5273b}.thcc-task[data-level=TINGGI]{border-left:4px solid #c47e3e}
.thcc-task-icon{width:41px;height:41px;border-radius:12px;background:#f4e8ee;color:#802e46;display:grid;place-items:center;flex:none}
.thcc-task-content{min-width:0;flex:1}.thcc-task-top{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:6px}
.thcc-type{font-size:10px;letter-spacing:.03em;font-weight:800;color:#68758a;text-transform:uppercase}
.thcc-priority{font-size:10px;line-height:1.2;font-weight:800;padding:3px 7px;border-radius:7px;background:#e9edf2;color:#526078}.thcc-priority.kritis{color:#9b1f31;background:#fee8eb}.thcc-priority.tinggi{color:#9e5e1b;background:#fff2dc}
.thcc-task-content strong{display:block;font-size:14px;line-height:1.45;color:#1d2a40;margin-bottom:3px}.thcc-task-content p{font-size:12px;line-height:1.55;color:#58667a;margin:0 0 10px;overflow-wrap:anywhere}.thcc-meta{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:12px}.thcc-meta span{display:flex;align-items:center;gap:5px;color:#768398;font-size:11px}
.thcc-task-action{appearance:none;min-height:38px;padding:8px 12px;border-radius:10px;border:1px solid #e9cfd3;background:#fff5f6;color:#81243a;font-size:12px;display:inline-flex;align-items:center;gap:8px;font-family:inherit;font-weight:800;cursor:pointer}.thcc-task-action:hover{background:#ffe9ec}
.thcc-empty{text-align:center;padding:44px 20px;display:grid;justify-items:center;gap:8px;border:1px dashed #d7dee8;border-radius:16px;background:white;color:#42604f}.thcc-empty strong{color:#263b31;font-size:15px}.thcc-empty p{font-size:12px;color:#718096;line-height:1.6;max-width:320px;margin:0}
.thcc-footer-notice{font-size:11px;line-height:1.65;color:#718096;margin:16px 0 0}
.thcc-fab{position:fixed;z-index:2147482450;right:16px;bottom:calc(94px + env(safe-area-inset-bottom));border:1px solid rgba(255,255,255,.55);border-radius:999px;background:linear-gradient(115deg,#7d2337,#283854);color:white;box-shadow:0 10px 25px rgba(80,25,47,.26);padding:11px 16px;font-family:inherit;display:inline-flex;gap:8px;align-items:center;font-size:12px;font-weight:850;min-height:44px;cursor:pointer;max-width:calc(100vw - 30px)}
.thcc-fab:hover{filter:brightness(1.08)}
.thcc-menu-tile{min-height:63px!important;display:flex!important;gap:10px!important;align-items:center!important;padding:10px 12px!important;text-align:left!important;border:1px solid #e2e7ee!important;border-radius:14px!important;background:white!important;color:#26364e!important;font-family:inherit!important;font-size:13px!important;font-weight:750!important;cursor:pointer!important}
.thcc-menu-tile svg{flex:none;color:#87293a}
.thcc-sidebar-item{min-height:42px;display:flex;align-items:center;gap:9px;padding:9px 12px;width:100%;border:0;border-radius:10px;background:#fff3f5;color:#872438;text-align:left;font-weight:800;font-size:13px;cursor:pointer}
.thcc-admin-tile{display:flex;align-items:center;gap:12px;background:#fff!important;border:1px solid #e1e6ee!important;border-radius:14px;padding:16px;color:#672638!important;font-weight:800;cursor:pointer}
body.thcc-open{overflow:hidden!important}
.thcc-root :is(button):focus-visible,[data-thcc-launch]:focus-visible{outline:3px solid #d5925c;outline-offset:3px}
@media(max-width:979px){.thcc-sidebar-item,.thcc-admin-tile{display:none}.thcc-panel{inset:auto 0 0;max-height:95dvh;border-radius:24px 24px 0 0}.thcc-header{padding:21px 17px 22px}.thcc-header h2{font-size:23px}.thcc-header p{font-size:12px}.thcc-inner{padding:15px 13px calc(23px + env(safe-area-inset-bottom))}.thcc-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:21px}.thcc-kpis>div{padding:12px}.thcc-kpis strong{font-size:27px}.thcc-section-head h3{font-size:17px}.thcc-task{padding:12px;gap:10px}.thcc-task-icon{width:36px;height:36px}.thcc-task-content p{font-size:12px}}
@media(min-width:980px){.thcc-fab{bottom:24px;right:22px;font-size:13px;padding:13px 17px}.thcc-menu-tile{display:none!important}}
@media(max-width:360px){.thcc-fab{font-size:11px;padding:9px 12px}.thcc-hero{padding:11px}.thcc-section-head>span{display:none}}
@media(prefers-reduced-motion:reduce){.thcc-root *{scroll-behavior:auto!important;transition:none!important}}
