/* SML Monitor — palette asli, satu sistem tampilan. */
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/plus-jakarta-sans-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:500;font-display:swap;src:url(fonts/plus-jakarta-sans-latin-500-normal.woff2) format('woff2')}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/plus-jakarta-sans-latin-600-normal.woff2) format('woff2')}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:700;font-display:swap;src:url(fonts/plus-jakarta-sans-latin-700-normal.woff2) format('woff2')}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:800;font-display:swap;src:url(fonts/plus-jakarta-sans-latin-800-normal.woff2) format('woff2')}

:root{font-family:"Plus Jakarta Sans","Segoe UI",Inter,Arial,sans-serif;color:#10232b;background:#f7f9f7;font-size:14px;line-height:1.5;--navy:#071a22;--ink:#10232b;--green:#2bc97c;--orange:#ef743d;--muted:#51636a;--line:#dce6e2;--soft:#eff5f2;--link:#17694c;--sidebar-width:248px}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit;color:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}h1{font-size:clamp(28px,2.5vw,36px);line-height:1.18;letter-spacing:-1.2px;font-weight:750}h2{font-size:20px;line-height:1.35;letter-spacing:-.5px;font-weight:700}h3{font-size:18px;letter-spacing:-.35px}p{color:var(--muted)}[hidden]{display:none!important}:focus-visible{outline:3px solid #ac461b;outline-offset:4px}.sidebar :focus-visible,.auth-story :focus-visible,.overview :focus-visible{outline-color:var(--orange)}.eyebrow{display:block;color:var(--link);font-size:14px;letter-spacing:1.7px;font-weight:750;margin-bottom:12px}
.brand{display:flex;align-items:center;gap:10px;width:fit-content}.brand i{width:10px;height:34px;border-radius:4px;transform:skew(-12deg);background:linear-gradient(var(--green) 67%,var(--orange) 67%)}.brand b{font-size:34px;line-height:1;letter-spacing:-1.8px}.brand>span{padding-left:11px;margin-left:2px;border-left:1px solid var(--line);font-size:14px;line-height:1.4;color:var(--muted)}.brand small{display:block;font-size:14px}
.sidebar{width:var(--sidebar-width);height:100dvh;position:fixed;inset:0 auto 0 0;padding:30px 16px 0;display:flex;flex-direction:column;background:var(--navy);color:#f7f9f7;z-index:40}.sidebar>.brand{margin:0 12px 34px}.sidebar .brand>span{color:#a8bbc2;border-color:#3b5158}.company-label{font-size:14px;font-weight:650;color:#a8bbc2;letter-spacing:1.5px;margin:0 12px 9px}select,input,textarea{border:1px solid #bdcec6;border-radius:8px;background:#fff;padding:11px 13px;max-width:100%;min-width:0;min-height:46px}#company{width:100%;padding:13px 10px;margin-bottom:24px;color:#f7f9f7;background:#152d36;border-color:#355059;font-size:14px;font-weight:650;text-overflow:ellipsis}#navigation{display:flex;flex-direction:column;gap:5px;overflow-y:auto;overscroll-behavior:contain;padding:0 0 18px;scrollbar-width:thin;scrollbar-color:#4e686f transparent}#navigation button,.sidebar-bottom>button{display:flex;align-items:center;gap:11px;text-align:left;border:0;border-radius:8px;background:transparent;color:#bdcdd1;padding:12px;min-height:46px;font-size:14px;font-weight:550;flex-shrink:0}#navigation button:hover,.sidebar-bottom>button:hover{background:#19333b;color:#fff}#navigation button.selected{background:var(--green);color:var(--navy);font-weight:750}.nav-icon{width:19px;height:19px;flex-shrink:0;display:inline-flex}.nav-icon svg,.ui-icon svg,.stat-icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.ui-icon{width:21px;height:21px;display:inline-flex;vertical-align:middle;flex-shrink:0}.pro{margin-left:auto;padding:3px 5px;border-radius:4px;color:#ffd1ba;background:#452f2a;font-size:14px;font-weight:750;letter-spacing:.7px}.nav-label{color:#8ea6af;font-size:14px;letter-spacing:1.5px;padding:20px 12px 7px}.sidebar-bottom{background:var(--navy);margin-top:auto;padding-top:8px}.sidebar-bottom>button{width:100%}.user{display:flex;align-items:center;gap:10px;border-top:1px solid #2c434b;padding:18px 4px}.avatar{width:35px;height:35px;flex-shrink:0;display:inline-grid;place-items:center;border-radius:10px;background:#e5f2ec;color:#145139;font-size:14px;font-weight:750}.user .avatar{background:#28453f;color:#8becb7}.user>div{min-width:0;flex:1}.user strong{display:block;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user small{font-size:14px;color:#a8bbc2}.user button{background:transparent;border:0;color:#bdcdd1;width:35px;min-height:40px;font-size:22px}
.main{margin-left:var(--sidebar-width);min-height:100dvh;display:flex;flex-direction:column}.topbar{height:82px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 32px;border-bottom:1px solid var(--line);background:#fff}.topbar>div:first-of-type{display:flex;gap:10px;font-size:14px;min-width:0}.topbar strong{font-weight:700}.breadcrumb{color:var(--muted)}.top-actions{display:flex;align-items:center;gap:22px;flex-shrink:0}.timezone{font-size:14px;color:var(--muted)}
.btn{display:inline-flex;justify-content:center;align-items:center;gap:10px;min-height:46px;padding:12px 18px;border-radius:8px;border:1px solid var(--green);color:var(--navy);background:var(--green);font-size:14px;font-weight:750;transition:background .15s,border-color .15s}.btn:hover{background:#45d58e;border-color:#45d58e}.btn.secondary{background:#fff;color:var(--ink);border-color:#bdcec6}.btn.secondary:hover{background:#edf5f0;border-color:#7ba691}.btn.compact{padding:10px 14px;min-height:42px;font-size:14px}.top-actions .btn,.personal-clock .btn,.auth-form form .btn{background:var(--orange);border-color:var(--orange);color:var(--navy)}.top-actions .btn:hover,.personal-clock .btn:hover,.auth-form form .btn:hover{background:#fa8957;border-color:#fa8957}.text-button{border:0;background:none;color:var(--link);padding:7px 0;min-height:32px;font-size:14px;font-weight:700;display:inline-block}.text-button:hover{text-decoration:underline;text-underline-offset:4px}#content{max-width:1650px;width:100%;margin-inline:auto;padding:32px;flex:1}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px}.page-heading p{font-size:14px;line-height:1.7;max-width:650px;margin-top:12px}.heading-actions{display:flex;gap:10px;flex-shrink:0}
.overview{border-radius:15px;color:#f7f9f7;background:radial-gradient(circle at 83% 35%,#174c4c 0,#0b2a32 31%,#071a22 67%);overflow:hidden;margin-bottom:20px}.overview-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:25px 28px 23px}.overview-heading h2{font-size:23px;font-weight:650;letter-spacing:-.6px}.overview .eyebrow{color:var(--green);margin-bottom:7px;font-size:14px}.overview-date{font-size:14px;color:#e2edeb;text-align:right;flex-shrink:0}.overview-date>span{display:block;color:#b3c9cb;font-size:14px;margin-top:3px}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:0 28px 25px}.stats article{position:relative;padding:6px 24px 0;border-left:1px solid #436064}.stats article:first-child{border-left:0;padding-left:0}.stats article:last-child{padding-right:0}.stats article>small{font-size:14px;font-weight:650;letter-spacing:1px;display:block;color:#c6d7d8;padding-right:32px;min-height:32px}.stats article>strong{display:block;font-size:50px;line-height:1.05;font-weight:650;letter-spacing:-2px;margin-top:4px;font-variant-numeric:tabular-nums}.stats strong>span{font-size:14px;font-weight:450;letter-spacing:0;margin-left:9px;color:#b3c9cb}.stats article:first-child>strong{color:var(--green)}.stats article:last-child>strong{color:#ffa879}.stats p{font-size:14px;color:#b3c9cb;margin-top:13px}.stat-icon{position:absolute;right:21px;top:3px;width:26px;height:26px;color:#a0bcba}.stats article:last-child .stat-icon{right:0;color:#fca373}.stats article:first-child .stat-icon{color:var(--green)}.overview-footer{display:flex;justify-content:space-between;gap:18px;padding:13px 28px;border-top:1px solid #3a565c;color:#c6d7d8;background:#071a2233;font-size:14px}.overview-footer>span:first-child{display:inline-flex;align-items:center;gap:7px}.overview-footer .ui-icon{width:15px;height:15px;color:var(--green)}
.quick-work{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:26px;padding:19px 22px;border:1px solid var(--line);border-left:3px solid var(--green);border-radius:9px;background:#fff}.quick-work strong{display:block;font-size:14px;margin-bottom:3px}.quick-work>div>span{color:var(--muted);font-size:14px}.quick-actions{display:flex;align-items:center;gap:20px;flex-shrink:0}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 290px;align-items:start;gap:22px}.panel{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;min-width:0}.panel-heading{display:flex;align-items:center;justify-content:space-between;padding:23px;gap:16px}.panel-heading .eyebrow{font-size:14px;margin-bottom:8px}.panel-heading p{font-size:14px;margin-top:7px}.panel-heading .text-button{flex-shrink:0}.table-scroll{width:100%;overflow-x:auto}table{border-collapse:collapse;width:100%;white-space:nowrap;text-align:left}th{color:var(--muted);background:#f0f5f2;border-block:1px solid var(--line);font-size:14px;font-weight:700;letter-spacing:.55px;padding:14px 17px}td{font-size:14px;color:#385059;border-bottom:1px solid #eaf0ed;padding:18px 17px;font-variant-numeric:tabular-nums}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#f7faf8}td strong{color:var(--ink);font-weight:650;font-size:14px}.person{display:flex;align-items:center;gap:10px}.person strong,.person small{display:block}.person small{color:var(--muted);font-size:14px;margin-top:3px}.person .avatar{width:32px;height:32px;font-size:14px}.badge{display:inline-block;padding:5px 9px;border-radius:5px;background:#eaf0ed;color:#435b53;font-size:14px;line-height:1.4;white-space:nowrap;font-weight:600}.badge.in{background:#e2f6eb;color:#12683e}.badge.out{background:#eaf0f3;color:#365563}.badge.none{background:#fff0e4;color:#934818}.panel-footnote{border-top:1px solid var(--line);color:var(--muted);padding:15px 23px;font-size:14px;line-height:1.7}.dashboard-aside{display:grid;gap:18px;min-width:0}
.personal-clock{background:#fff;border:1px solid var(--line);border-top:3px solid var(--orange);border-radius:12px;padding:22px}.personal-clock-heading{display:flex;align-items:center;gap:9px;margin-bottom:20px}.personal-clock-heading .ui-icon{color:#af471c}.personal-clock-heading .eyebrow{margin:0;font-size:14px;color:#6a4c39}.personal-clock h2{font-size:24px;letter-spacing:-.7px;line-height:1.25}.personal-clock>p{font-size:14px;margin-top:11px;overflow-wrap:anywhere}.personal-clock-status{display:flex;gap:7px;align-items:center;font-size:14px;font-weight:650;color:var(--muted);margin-top:21px}.status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#70878f;flex-shrink:0}.personal-clock .personal-clock-hint{font-size:14px;line-height:1.8;margin-top:10px}.personal-clock .btn{width:100%;margin-top:21px;justify-content:flex-start}.button-arrow{margin-left:auto;font-size:19px}.personal-clock>small{display:block;color:var(--muted);font-size:14px;line-height:1.7;margin-top:12px}.personal-clock.is-active{border-top-color:var(--green)}.is-active .personal-clock-heading .ui-icon,.is-active .personal-clock-heading .eyebrow,.is-active .personal-clock-status{color:var(--link)}.is-active .status-dot{background:#148c51;box-shadow:0 0 0 3px #e0f5e9}.personal-session{margin-top:12px;background:#eff8f2;padding:13px;border-radius:7px}.personal-session strong{display:block;font-size:14px;overflow-wrap:anywhere}.personal-session span{display:block;font-size:14px;color:var(--muted);margin-top:5px}.attention{padding:22px}.attention .eyebrow{color:#a24821;font-size:14px}.attention h2{font-size:18px}.attention p{font-size:14px;line-height:1.8;margin:12px 0}.review-item{padding:12px 0;border-top:1px solid var(--line)}.review-item strong{display:block;font-size:14px}.review-item small{font-size:14px;color:var(--muted)}.assistant-card{padding:22px;border-radius:12px;background:#eaf3ee;border:1px solid #cde0d5}.assistant-symbol{width:29px;height:29px;color:var(--link);display:block;margin-bottom:12px}.assistant-card p{font-size:14px;margin:10px 0;line-height:1.8}.assistant-card>small{display:block;margin-top:9px;color:var(--muted);font-size:14px}
.setup-banner{background:#edf7f0;border:1px solid #c9e3d4;border-radius:12px;padding:25px;display:grid;grid-template-columns:1fr 1.35fr;gap:28px;margin-bottom:24px}.setup-banner h2{margin-top:14px;font-size:23px}.setup-banner p{margin-top:10px;font-size:14px}.setup-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.setup-steps button{padding:16px 12px;text-align:left;border:1px solid #c9ded1;border-radius:9px;background:#fff}.setup-steps button:hover{background:#f5fff8;border-color:#53a578}.setup-steps button>span{display:grid;place-items:center;width:26px;height:26px;border-radius:7px;background:var(--green);color:var(--navy);font-size:14px;font-weight:750;margin-bottom:14px}.setup-steps strong{display:block;font-size:14px}.setup-steps small{display:block;color:var(--muted);font-size:14px;margin-top:5px}.app-footer{display:flex;justify-content:space-between;gap:20px;padding:24px 32px;font-size:14px;color:var(--muted);margin-top:auto}.app-footer>span:first-child{color:var(--ink);font-weight:700}#demo-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#dfeee6;color:#254a3b;padding:8px 32px;font-size:14px;border-bottom:1px solid #c6ddcf}#demo-banner label{display:flex;align-items:center;gap:8px;margin-left:auto}#demo-banner select{font-size:14px;min-height:28px;padding:4px 6px;background:#fff;border-color:#a2beaf}#demo-banner button{border:0;color:#254a3b;background:none;font-size:14px;text-decoration:underline;padding:5px 0}
.note{margin-top:20px;background:#edf5f0;color:#355347;border:1px solid #d0e2d8;border-left:3px solid #71a98b;padding:17px 20px;border-radius:8px;font-size:14px;line-height:1.8}.note p{color:inherit}.empty{padding:50px 26px;text-align:center}.empty-symbol{display:inline-grid;place-items:center;width:66px;height:66px;font-size:33px;border-radius:18px;background:#e6f3ec;color:var(--link);margin-bottom:23px}.empty h3{font-size:22px;margin-bottom:13px}.empty p{font-size:14px;max-width:490px;line-height:1.8;margin:auto}.empty .btn{margin-top:25px}.loading{padding:80px 24px;text-align:center;color:var(--muted)}.tabs{display:flex;gap:6px;border-bottom:1px solid var(--line);margin-bottom:24px;overflow-x:auto}.tabs button{border:0;border-bottom:3px solid transparent;background:none;padding:14px 17px;color:var(--muted);font-size:14px;white-space:nowrap}.tabs button.active{color:var(--link);font-weight:700;border-bottom-color:var(--green)}.tabs button span{background:#e5f0e9;border-radius:4px;padding:2px 5px;font-size:14px;margin-left:5px}.row-actions{display:flex;gap:18px}.sub{display:block;color:var(--muted);font-size:14px;margin-top:4px}
.site-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.site-visual{height:160px;background:#ecf4ef;position:relative;overflow:hidden}.site-visual svg{width:100%;height:100%}.site-visual>span{position:absolute;bottom:9px;left:12px;font-size:14px;background:#ffffffeb;color:#3d6351;padding:3px 7px;border-radius:4px}.site-body{padding:23px}.site-body h2{font-size:22px;margin:13px 0 10px;overflow-wrap:anywhere}.site-body p{font-size:14px;margin:9px 0}.site-body small{font-size:14px;color:var(--muted)}.map-link{display:block;margin-top:18px}.filter-bar{display:flex;align-items:end;flex-wrap:wrap;gap:16px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:22px;margin-bottom:24px}.filter-bar label{font-size:14px;color:var(--muted);flex:1;min-width:140px}.filter-bar input,.filter-bar select{display:block;margin-top:7px;width:100%;font-size:14px}.filter-bar .btn{min-height:46px}.report-summary{display:flex;gap:45px;align-items:center;padding:2px 3px 25px}.report-summary small{font-size:14px;letter-spacing:1px;font-weight:650;color:var(--muted)}.report-summary strong{display:block;font-size:34px;font-weight:650;color:var(--ink);letter-spacing:-1px}.report-summary p{font-size:14px;max-width:260px;margin-left:auto}.muted{color:var(--muted);font-size:14px}.section-gap{margin-top:24px}.schedule-list{display:grid;gap:18px;margin-top:25px}.schedule-card{padding:26px;display:flex;justify-content:space-between;gap:24px}.schedule-card h2{margin-top:13px}.schedule-card p{font-size:14px;margin-top:8px}.schedule-card>div:last-child{text-align:right}.schedule-card>div:last-child strong{font-size:26px;font-weight:650}.schedule-card small{font-size:14px;color:var(--muted)}.rules{padding:0 26px}.rules>div{display:flex;align-items:baseline;gap:28px;padding:24px 0;border-bottom:1px solid var(--line);font-size:14px}.rules>div:last-child{border:0}.rules span{min-width:160px;color:var(--muted)}.rules strong{font-weight:600}
.ai-panel{max-width:830px;margin:auto;padding:50px;text-align:center}.ai-orb{width:86px;height:86px;display:grid;place-items:center;border-radius:22px;background:var(--navy);color:var(--green);font-size:45px;margin:0 auto 26px}.ai-panel h2{font-size:27px}.ai-panel>p{font-size:14px;max-width:450px;margin:14px auto 28px;line-height:1.8}.suggestions{display:grid;grid-template-columns:1fr 1fr;gap:14px}.suggestions button{text-align:left;border:1px solid #cddfd4;border-radius:8px;background:#f8fbf9;padding:20px;font-size:14px}.suggestions button:hover{background:#eaf6ee}.billing-card{max-width:700px;padding:30px}.billing-card h2{font-size:26px;margin:20px 0}.billing-card p{font-size:14px;line-height:1.8;margin-bottom:24px}.help-list{padding:8px 28px}.help-list details{padding:23px 0;border-bottom:1px solid var(--line)}.help-list details:last-child{border:0}.help-list summary{font-size:15px;font-weight:650;cursor:pointer}.help-list p{font-size:14px;line-height:1.8;max-width:720px;margin-top:16px}
.auth{display:grid;grid-template-columns:1fr 1fr;min-height:100dvh;background:#fff}.auth-story{min-height:100dvh;display:flex;flex-direction:column;justify-content:space-between;gap:65px;padding:44px 10%;color:#f7f9f7;background:radial-gradient(circle at 83% 35%,#174c4c 0,#0b2a32 31%,#071a22 67%)}.auth-story .brand>span{color:#bdcdd1;border-color:#42606a}.auth-story .eyebrow{color:var(--green)}.auth-story h1{font-size:clamp(40px,4.5vw,70px);font-weight:750;line-height:1.1;letter-spacing:-2.5px}.auth-story em{font-style:normal;color:var(--green)}.auth-story>div>p{max-width:370px;margin-top:26px;color:#bed0d3;font-size:15px;line-height:1.9}.auth-story>small{font-size:14px;color:#b4c8cd}.auth-illustration{display:flex;gap:18px;align-items:center;max-width:410px;background:#132f37;border:1px solid #42646b;border-left:3px solid var(--orange);border-radius:10px;padding:22px;margin-top:38px}.auth-illustration>span{width:46px;height:46px;display:grid;place-items:center;flex-shrink:0;border-radius:12px;background:var(--green);color:var(--navy);font-size:28px}.auth-illustration small{font-size:14px;letter-spacing:1px;color:#bad0d3}.auth-illustration strong{display:block;font-size:14px;margin:7px 0}.auth-illustration p{color:#bed0d3;font-size:14px}.auth-form{max-width:500px;width:100%;padding:55px 42px;align-self:center;justify-self:center}.auth-form h2{font-size:34px;letter-spacing:-1px}.auth-form>p{font-size:14px;margin:13px 0 28px}.auth-form label,dialog label{display:block;font-size:14px;font-weight:600;margin-top:19px}.auth-form input,dialog input,dialog select,dialog textarea{display:block;width:100%;margin-top:7px;padding:13px;font-size:14px}.auth-form .btn{width:100%;margin-top:26px;justify-content:space-between}.auth-form .btn.secondary{margin-top:0;justify-content:center;font-size:14px}.auth-divider{margin-top:30px;margin-bottom:17px;border-top:1px solid var(--line);padding-top:26px;text-align:center;font-size:14px;letter-spacing:1.2px;color:var(--muted)}.auth-form>.small{font-size:14px;line-height:1.8;margin-top:22px}
#message{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:calc(100vw - 32px);width:max-content;z-index:80;background:var(--navy);color:#fff;border-left:4px solid var(--green);padding:16px 23px;border-radius:9px;box-shadow:0 8px 30px #071a2233;font-size:14px}#message.error{background:#7e3022;border-left-color:#ffb790}dialog{width:510px;max-width:calc(100% - 32px);max-height:calc(100dvh - 40px);border:1px solid var(--line);border-top:4px solid var(--green);border-radius:14px;padding:32px;color:var(--ink);box-shadow:0 30px 90px #071a2255}dialog::backdrop{background:#071a22b3;backdrop-filter:blur(4px)}dialog h2{font-size:27px;padding-right:18px;margin-bottom:15px}dialog p{font-size:14px;line-height:1.8}dialog .eyebrow{margin-top:4px}dialog .close{position:absolute;top:8px;right:10px;font-size:28px;background:none;border:0;padding:0 8px;color:var(--muted)}dialog .btn{width:100%;margin-top:23px}dialog .form-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}dialog .small{font-size:14px;line-height:1.8;margin-top:17px}dialog .text-button{margin-top:12px}dialog textarea{font-size:14px;overflow-wrap:anywhere}fieldset{border:1px solid #cddfd4;border-radius:8px;padding:13px;margin:20px 0 0}legend{color:var(--muted);font-size:14px}.days{display:flex;flex-wrap:wrap;gap:12px}.days label{display:flex;gap:6px;align-items:center;font-size:14px;margin:0}.days input{width:auto;margin:0;min-height:20px;accent-color:#17694c}.gps-info{margin-top:22px;padding:19px;border-radius:8px;background:#edf5f0;color:#335644;font-size:14px;line-height:1.8}#gps-status{margin-top:14px;color:#915023;font-size:14px}body:has(dialog[open]){overflow:hidden}.busy button,.busy input,.busy select{pointer-events:none}.busy .btn{opacity:.65}.skip{position:fixed;left:10px;top:-80px;background:#fff;color:var(--ink);padding:12px;z-index:100}.skip:focus{top:10px}#menu-toggle,#menu-scrim{display:none}.small{font-size:14px}
.demo-screen-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 24px}.demo-screen-toolbar p{font-size:14px;line-height:1.7;margin-top:9px;max-width:650px}.demo-screen-toolbar .btn{flex-shrink:0}.demo-screen-frame{display:block;width:100%;height:calc(100dvh - 260px);min-height:660px;border:0;border-top:1px solid var(--line);background:#f3f7f8}.demo-screen-help{padding:17px 24px;font-size:14px;line-height:1.8;border-top:1px solid var(--line)}
@media(min-width:1600px){#content{padding:40px}.topbar{padding-inline:40px}.dashboard-grid{grid-template-columns:minmax(0,1fr) 315px}.stats article>strong{font-size:58px}}
@media(max-width:1240px){:root{--sidebar-width:230px}#content{padding:26px}.topbar{padding-inline:26px}.timezone{display:none}.dashboard-grid{grid-template-columns:1fr}.dashboard-aside{grid-template-columns:1fr 1fr}.dashboard-aside .assistant-card{grid-column:1/-1}.setup-banner{grid-template-columns:1fr}.site-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stats article{padding-inline:19px}.stats article>small{font-size:14px}.stat-icon{right:15px;width:22px;height:22px}.quick-work{flex-wrap:wrap}.auth-story{padding:40px}}
@media(max-width:850px){:root{--sidebar-width:252px}.sidebar{transform:translateX(-100%);visibility:hidden;transition:transform .2s}.sidebar.open{transform:translateX(0);visibility:visible}.sidebar.open+#menu-scrim{display:block;position:fixed;inset:0;width:100%;height:100dvh;border:0;background:#071a2280;z-index:35}.main{margin-left:0}.topbar{height:72px;position:sticky;top:0;z-index:25;gap:12px;padding-inline:20px}.topbar>div:first-of-type{margin-right:auto}.breadcrumb{display:none}#menu-toggle{display:block;border:1px solid #bdcec6;background:#fff;border-radius:7px;min-width:42px;min-height:42px;font-size:18px}.auth-story{padding:32px}.auth-story h1{font-size:43px;letter-spacing:-1.8px}.auth-form{padding:40px 28px}.auth-illustration{padding:17px;gap:12px}.auth-illustration strong{font-size:14px}#demo-banner{padding-inline:20px}}
@media(max-width:580px){#content{padding:25px 16px}.page-heading{flex-direction:column;align-items:flex-start;gap:17px;margin-bottom:23px}.page-heading h1{font-size:28px}.page-heading p{font-size:14px}.heading-actions{width:100%}.topbar{padding-inline:16px;gap:10px}.topbar>div:first-of-type{font-size:14px}.top-actions .btn{gap:7px;padding:10px;font-size:14px}.top-actions .ui-icon{width:17px;height:17px}#demo-banner{flex-wrap:wrap;padding:9px 16px;gap:6px 12px}#demo-banner>span{flex-basis:100%;font-size:14px}#demo-banner label{margin-left:0}.overview-heading{padding:22px 20px;align-items:flex-start}.overview-heading h2{font-size:22px}.overview-date{display:none}.stats{grid-template-columns:1fr;padding:0 20px 10px}.stats article,.stats article:first-child,.stats article:last-child{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;padding:19px 0 20px 39px;border:0;border-top:1px solid #426067}.stats article>small{grid-column:1;font-size:14px;min-height:0;padding:0;letter-spacing:.7px}.stats article>strong{grid-column:2;grid-row:1/3;align-self:center;font-size:36px;margin:0}.stats strong>span{display:block;text-align:right;font-size:14px;margin:4px 0 0}.stats p{grid-column:1;margin-top:7px;font-size:14px}.stats .stat-icon,.stats article:last-child .stat-icon{left:0;right:auto;top:21px;width:23px;height:23px}.overview-footer{padding:13px 20px;flex-direction:column;gap:6px;font-size:14px}.quick-work{padding:17px;gap:15px}.quick-actions{gap:18px;flex-wrap:wrap}.quick-work>div>span{font-size:14px}.dashboard-aside{grid-template-columns:1fr}.panel-heading{padding:20px 17px;flex-wrap:wrap}.panel-heading h2{font-size:20px}.panel-heading p{font-size:14px}.panel-footnote{padding:15px 17px}.personal-clock{padding:23px}.app-footer{padding:20px 16px;font-size:14px;flex-wrap:wrap;gap:8px}.setup-banner{padding:21px 18px;gap:19px}.setup-banner h2{font-size:22px}.setup-steps{grid-template-columns:1fr}.setup-steps button{display:grid;grid-template-columns:29px 1fr;gap:2px 11px;padding:13px}.setup-steps button>span{grid-row:span 2;align-self:center;margin:0}.setup-steps small{margin:0}.site-grid{grid-template-columns:1fr}.tabs button{padding:12px 10px;font-size:14px}.filter-bar{padding:17px;gap:14px}.filter-bar label{min-width:100%}.report-summary{flex-wrap:wrap;gap:18px 30px}.report-summary strong{font-size:30px}.report-summary p{flex-basis:100%;max-width:none;margin-left:0}.rules{padding-inline:20px}.rules>div{flex-direction:column;gap:9px;padding:21px 0;font-size:14px}.rules span{font-size:14px}.schedule-card{flex-direction:column;gap:20px;padding:23px}.schedule-card>div:last-child{text-align:left}.ai-panel{padding:30px 20px}.ai-panel h2{font-size:24px}.suggestions{grid-template-columns:1fr}.help-list{padding-inline:21px}.help-list summary{font-size:14px}.help-list p,.note{font-size:14px}.billing-card{padding:25px}.empty{padding:40px 23px}.empty p{font-size:14px}.auth{grid-template-columns:1fr}.auth-story{min-height:unset;padding:28px;gap:40px}.auth-story h1{font-size:40px;letter-spacing:-1.8px}.auth-story>div>p{font-size:14px;margin-top:19px}.auth-story>small,.auth-illustration{display:none}.auth-form{padding:37px 27px}.auth-form h2{font-size:30px}dialog{padding:29px 23px}dialog h2{font-size:24px}dialog .form-row{grid-template-columns:1fr;gap:0}#message{bottom:15px;padding:13px 17px}.demo-screen-toolbar{flex-direction:column;align-items:flex-start;padding:19px}.demo-screen-toolbar p,.demo-screen-help{font-size:14px}.demo-screen-frame{min-height:650px;height:80dvh}.demo-screen-help{padding:17px 19px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
/* Two invitation channels share the same staff role and clear delivery status. */
.invite-methods{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:24px 0}
.invite-methods button{display:flex;align-items:center;gap:10px;text-align:left;padding:14px 12px;border:1px solid #bdcec6;border-radius:9px;background:#fff;font-size:14px;font-weight:700;min-height:75px}
.invite-methods button.selected{background:#071a22;color:#f7f9f7;border-color:#071a22;box-shadow:inset 0 -3px 0 #2bc97c}
.invite-methods .ui-icon{color:#17694c;width:23px;height:23px}
.invite-methods .selected .ui-icon{color:#2bc97c}
.invite-methods small{display:block;font-size:14px;line-height:1.6;font-weight:400;color:#51636a;margin-top:4px}
.invite-methods .selected small{color:#bed0d3}
.invite-channel h3{font-size:18px;margin-bottom:8px}
.invite-channel>p{font-size:14px}
#invite-link{background:#f0f5f2;color:#10232b;font-size:14px;line-height:1.7;resize:vertical;min-height:92px}
.invite-link-meta{display:flex;align-items:center;flex-wrap:wrap;gap:9px;font-size:14px;color:#51636a;margin-top:12px}
.invite-link-actions{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px 18px;margin-top:14px}
.invite-link-actions .text-button{margin:0}
.danger-text{color:#983c27}
@media(max-width:390px){.invite-methods{grid-template-columns:1fr}.invite-methods button{min-height:64px}.invite-methods small{font-size:14px}}
.modal-feedback{background:#fff0e9;border:1px solid #e7b39c;color:#8b341d;border-radius:8px;padding:14px 16px;margin:0 0 20px;font-size:14px;line-height:1.7;overflow-wrap:anywhere}
.modal-feedback.info{background:#edf5f0;border-color:#c9dfd1;color:#245a3c}
dialog p,dialog h2{overflow-wrap:anywhere}
.staff-workspace{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr);gap:22px;margin-bottom:24px}.staff-clock-card{padding:30px;border-radius:16px;color:#f7f9f7;background:radial-gradient(circle at 87% 20%,#174c4c,#071a22 76%);border:1px solid #2b5053}.staff-clock-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:28px}.staff-clock-symbol{width:32px;height:32px;color:var(--green)}.staff-clock-card .badge{background:#183e3a;color:#b4f0d0;border:1px solid #365c51;font-size:14px}.staff-clock-card h2{color:#fff;font-size:clamp(27px,2.5vw,35px);line-height:1.25;letter-spacing:-.7px}.staff-clock-card>p{color:#c7ddda;font-size:15px;line-height:1.8;margin-top:13px;max-width:600px}.staff-clock-card p strong{color:#fff}.staff-clock-card .staff-primary-clock{display:flex;justify-content:space-between;width:100%;min-height:72px;margin-top:27px;padding:18px 24px;background:var(--green);color:var(--navy);border-color:var(--green);font-size:25px;border-radius:11px}.staff-clock-card.is-working .staff-primary-clock{background:var(--orange);border-color:var(--orange)}.staff-clock-card>.small,.staff-clock-card>small{display:block;color:#b7ceca;font-size:14px;line-height:1.8;margin-top:11px}.staff-clock-card>.text-button{color:#92edb9;min-height:44px;margin-top:9px;font-size:14px;text-align:left}.staff-clock-card>.recovery-callout{margin-top:18px;color:#173b2d;font-size:14px}.staff-day-card{padding:28px;background:#fff;border:1px solid var(--line);border-radius:14px}.staff-day-card h2{font-size:23px}.staff-day-card dl{margin:24px 0 15px;display:grid;gap:18px}.staff-day-card dl>div{border-bottom:1px solid var(--line);padding-bottom:14px}.staff-day-card dt{font-size:14px;color:var(--muted)}.staff-day-card dd{margin:6px 0 0;font-size:18px;font-weight:650;color:var(--ink)}.staff-day-card dd small{font-size:14px;font-weight:400;color:var(--muted)}.staff-shortcuts{display:flex;flex-wrap:wrap;gap:0 19px}.staff-shortcuts .text-button{font-size:14px;min-height:43px}.staff-history{margin-top:24px}.report-error{background:#fff4ec;border:1px solid #eac5ac;border-left:4px solid var(--orange);border-radius:9px;padding:24px}.report-error>strong{font-size:18px}.report-error p{font-size:14px;line-height:1.8;margin:10px 0 19px}.report-error .btn{margin-top:0}@media(max-width:900px){.staff-workspace{grid-template-columns:1fr}.staff-day-card dl{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.staff-day-card dl>div{border-bottom:0;padding:0}.staff-day-card dd{font-size:16px}}@media(max-width:580px){.staff-clock-card{padding:24px 21px}.staff-clock-top{margin-bottom:23px}.staff-clock-card h2{font-size:29px}.staff-clock-card>p{font-size:15px}.staff-clock-card .staff-primary-clock{min-height:76px;margin-top:24px;font-size:27px}.staff-day-card{padding:23px 20px}.staff-day-card dl{grid-template-columns:1fr;gap:15px}.staff-day-card dl>div{display:flex;justify-content:space-between;align-items:baseline;gap:15px;border-bottom:1px solid var(--line);padding-bottom:14px}.staff-day-card dd{margin:0;text-align:right}.staff-clock-card .badge{font-size:14px}.staff-shortcuts{flex-direction:column}.staff-shortcuts .text-button{font-size:14px}.staff-history th{font-size:14px}.staff-history td{font-size:14px}}

/* Readable operational screens */
.app-footer{color:#45594f;font-size:14px}.panel-footnote,.overview-footer,.quick-work>div>span{display:none}.page-heading .eyebrow{display:none}.session-duration{display:block;font-size:32px;margin:16px 0}#company-name{padding:14px 8px;font-size:16px}.staff-history{margin-top:24px}

/* Compact layouts retain readable type and touch targets. */
.site-road-map{height:220px;width:100%;z-index:0;background:#eef3f0}.map-error{padding:12px;color:#873b26;background:#fff2e9;font-size:14px}.site-card{overflow:hidden}.site-body h2{margin-top:0}.site-body{padding:18px}.invite-methods{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.invite-methods button{min-height:48px;padding:10px;justify-content:center;font-size:14px}.billing-layout{display:grid;grid-template-columns:minmax(280px,.85fr) minmax(0,1.15fr);gap:24px}.billing-setup{padding:24px}.billing-setup label{display:block;margin-top:16px;font-size:14px;font-weight:600}.billing-setup input,.billing-setup select{display:block;width:100%;margin-top:6px}.billing-setup .btn{width:100%;margin-top:20px}.billing-price{font-size:30px;font-weight:750;margin:14px 0}.billing-price small{font-size:14px;font-weight:400}.billing-quote{padding-top:20px;margin-top:20px;border-top:1px solid var(--line)}.billing-invoice{padding:20px;border-top:1px solid var(--line)}.billing-invoice>div:first-child{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}.billing-invoice p{font-size:14px;margin:8px 0}.billing-invoice .text-button{margin-top:8px}.assistant-header .eyebrow{font-size:18px;letter-spacing:0}.assistant-header p{margin-top:8px}.assistant-guide h2{font-size:20px}.assistant-guide>.eyebrow{display:none}.assistant-mode{white-space:normal}.assistant-conversation{min-width:0}.assistant-message-list{min-height:240px}.assistant-plan-actions button{min-height:44px}body[data-role="staff"] #open-clock{display:none}.staff-clock-card h1{font-size:24px;color:#fff}.staff-clock-card h2{font-size:20px;margin-top:16px}.staff-clock-card>p{margin-top:6px}.staff-clock-card .staff-primary-clock{justify-content:center;font-size:24px;min-height:56px;margin-top:18px}.page-heading h1{line-height:1.2}.app-footer{padding-block:16px}.topbar{min-height:64px}
@media(max-width:600px){
 #content{padding:18px 14px}.page-heading{margin-bottom:18px;gap:12px}.page-heading h1{font-size:27px}.page-heading>div>p{margin-top:6px}.page-heading .btn{min-height:44px}.topbar{padding:10px 14px}.topbar #page-title{font-size:16px}.staff-clock-card{padding:22px}.staff-history .panel-heading{padding:16px}.staff-history th,.staff-history td{padding:12px;font-size:14px}.staff-history table{min-width:420px}.site-road-map{height:200px}.site-grid{gap:16px}.site-body{padding:16px}.site-body h2{font-size:20px}.site-body .text-button{min-height:44px;display:inline-flex;align-items:center}.billing-layout{grid-template-columns:1fr;gap:16px}.billing-setup{padding:20px}.billing-setup input,.billing-setup select,dialog input,dialog textarea,dialog select{font-size:16px;min-height:44px}.billing-invoice{padding:16px}.billing-invoice>div:first-child strong{font-size:20px}dialog{padding:25px 18px;max-width:calc(100% - 20px);max-height:calc(100dvh - 20px)}dialog h2{font-size:24px;margin-bottom:10px}.invite-methods{grid-template-columns:repeat(3,minmax(0,1fr));margin:18px 0}.invite-methods button{min-height:48px;font-size:14px}.assistant-header{margin-bottom:16px;gap:8px}.assistant-header h1{font-size:26px}.assistant-header p{font-size:14px}.assistant-mode{padding:6px 10px}.assistant-message-list{padding:18px 14px;max-height:48dvh;gap:16px}.assistant-message p{line-height:1.6}.assistant-composer{padding:14px}.assistant-composer form>div{display:flex;align-items:flex-end;gap:8px}.assistant-composer textarea{min-height:74px;flex:1;min-width:0}.assistant-composer .btn{min-width:66px;min-height:44px;padding:10px}.assistant-composer small{line-height:1.5}.assistant-guide{padding:18px}.assistant-prompts{display:grid;grid-template-columns:1fr;gap:8px}.assistant-prompts button{min-height:44px;padding:12px}.assistant-plan-actions{gap:8px}.assistant-plan-actions .btn{flex:1 1 auto}.filter-bar{gap:12px}.filter-bar label{min-width:calc(50% - 6px)}.setup-banner{padding:18px}.setup-steps button{min-height:62px}.app-footer{padding:16px;color:#45594f}
}

.invite-methods{grid-template-columns:1fr 1fr}

/* Paket (gaya halaman paket ala Jibble, warna SML) */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.plans{margin-bottom:28px}.plans-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;flex-wrap:wrap;margin-bottom:22px}.plans-head h2{font-size:24px;max-width:620px}.plans-head p{margin-top:6px;max-width:620px}
.plan-toggle{display:inline-flex;padding:4px;border:1px solid var(--line);border-radius:999px;background:#fff}.plan-toggle button{min-height:44px;padding:8px 18px;border:0;border-radius:999px;background:transparent;font-weight:700;color:var(--muted);display:inline-flex;align-items:center;gap:8px}.plan-toggle button[aria-checked="true"]{background:var(--orange);color:#1b1b1b}.plan-save{font-size:12px;font-weight:800;padding:2px 8px;border-radius:999px;background:#fff3;border:1px solid currentColor}.plan-toggle button[aria-checked="false"] .plan-save{color:#a94a1d;border-color:#f3c9b4;background:#fff4ee}
.plan-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.plan-card{position:relative;background:#fff;border:1px solid var(--line);border-radius:16px;padding:28px 26px 24px;display:flex;flex-direction:column;gap:10px}.plan-card.current{border-color:#9fd9bb;box-shadow:0 0 0 3px #e3f6ec}.plan-card.plan-pro{border:2px solid var(--navy)}.plan-card h3{font-size:24px;color:var(--orange)}.plan-card.plan-pro h3{color:var(--navy)}.plan-tag{position:absolute;top:-13px;left:22px;background:var(--orange);color:#1b1b1b;font-size:12px;font-weight:800;padding:4px 12px;border-radius:999px}
.plan-desc{min-height:42px}.plan-price{font-size:30px;font-weight:800;color:var(--ink);letter-spacing:-.8px;margin-top:4px}.plan-price small{font-size:14px;font-weight:500;color:var(--muted);letter-spacing:0}.plan-bill{font-size:14px;min-height:42px}.plan-card .btn{justify-content:center;min-height:48px;margin:6px 0 8px}.plan-plus{font-weight:700;color:var(--ink)}
.plan-card ul{list-style:none;margin:4px 0 0;padding:0;display:grid;gap:10px}.plan-card li{position:relative;padding-left:26px;color:var(--ink);line-height:1.45}.plan-card li::before{content:"";position:absolute;left:2px;top:4px;width:12px;height:7px;border-left:2.5px solid var(--green);border-bottom:2.5px solid var(--green);transform:rotate(-45deg)}
.plan-compare-toggle{margin:18px 0 0;min-height:44px;font-weight:700;letter-spacing:.4px}.plan-table-wrap{overflow-x:auto;margin-top:10px;border:1px solid var(--line);border-radius:14px;background:#fff}.plan-table{width:100%;border-collapse:collapse;min-width:460px}.plan-table th,.plan-table td{padding:14px 18px;border-bottom:1px solid var(--line);text-align:left}.plan-table thead th{font-size:15px;letter-spacing:.6px;text-transform:uppercase}.plan-table td,.plan-table thead th:not(:first-child){text-align:center;width:28%}.plan-table tbody th{font-weight:500}.plan-group th{background:#fdf3ec;font-size:13px;font-weight:800;letter-spacing:.8px}.plan-yes{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50%;border:1.5px solid var(--orange);color:var(--orange);font-weight:800}.plan-no{color:#9aa8a3}.plan-foot{font-size:13px;margin-top:14px}
@media(max-width:760px){.plan-cards{grid-template-columns:1fr}.plans-head h2{font-size:21px}.plan-toggle{width:100%}.plan-toggle button{flex:1;justify-content:center;padding:8px 10px}.plan-card{padding:24px 20px 20px}.plan-desc,.plan-bill{min-height:0}}
.brand b{font-family:"Segoe UI",Arial,sans-serif}
@media(max-width:580px){.stack-table table{min-width:0!important;width:100%}.stack-table thead{display:none}.stack-table tbody,.stack-table tr,.stack-table td{display:block;width:100%}.stack-table tr{padding:14px 16px;border-bottom:1px solid var(--line)}.stack-table td{padding:4px 0!important;border:0!important}.stack-table td:first-child{font-size:15px}.stack-table td .text-button,.stack-table td button{min-height:44px;margin-right:14px}}
.quota-note{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px;margin:-6px 0 20px;padding:12px 16px;border:1px solid var(--line);border-radius:12px;background:#fff}.quota-note strong{color:var(--ink)}.quota-note span{color:var(--muted)}.quota-note .text-button{margin-left:auto;min-height:44px;font-weight:700}.quota-note.full{border-color:#f3c9b4;background:#fff7f2}
@media(max-width:580px){.quota-note .text-button{margin-left:0}}

/* ===== Tampilan ringkas: lebih padat, data bisa digulir (0.4.7) ===== */
:root{--sidebar-width:228px}
.sidebar{padding-top:22px}
.topbar{height:60px;min-height:60px}
#content{padding:20px 26px}
.page-heading{margin-bottom:16px;gap:16px}
h1{font-size:clamp(24px,2.1vw,30px);letter-spacing:-.8px}
.page-heading>div>p{margin-top:4px}
.eyebrow{margin-bottom:6px;font-size:12px;letter-spacing:1.4px}
.overview{margin-bottom:14px}
.overview-heading{padding:16px 22px 10px}
.stats{padding:0 22px 16px}
.panel-heading{padding:14px 18px;gap:12px}
.panel-heading h2{font-size:18px}
.tabs{margin-bottom:14px}
.filter-bar{padding:14px 16px;gap:12px;margin-bottom:14px}
.report-summary{gap:28px;padding:0 3px 12px}
th{padding:10px 14px;font-size:12.5px;letter-spacing:.5px}
td{padding:10px 14px}
/* Data panjang digulir di dalam panel; judul kolom tetap terlihat */
.table-scroll{max-height:min(64vh,680px);overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.table-scroll thead th{position:sticky;top:0;z-index:2}
.recovery-list,.tm-list,.schedule-list,.billing-invoices>article:first-of-type~*{scroll-margin-top:70px}
.recovery-list,.tm-list{max-height:min(56vh,560px);overflow:auto;overscroll-behavior:contain}
.billing-invoices{max-height:min(70vh,760px);overflow:auto}
.scroll-hint{display:block;padding:8px 14px;font-size:12px;color:var(--muted);border-top:1px solid var(--line);background:#fafcfb}
/* Daftar Memulai */
.setup-checklist{display:block;padding:16px 18px;margin-bottom:14px}
.setup-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}
.setup-head h2{font-size:18px;margin-top:6px}
.setup-head .text-button{min-height:40px}
.setup-progress{height:6px;width:min(320px,60vw);background:#d6eadf;border-radius:99px;margin-top:8px;overflow:hidden}
.setup-progress i{display:block;height:100%;background:var(--green);border-radius:99px;transition:width .3s}
.setup-checklist .setup-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.setup-checklist .setup-steps li>div,.setup-checklist .setup-steps li>button{display:flex;align-items:center;gap:10px;width:100%;min-height:58px;padding:10px 12px;border:1px solid #cfe5d8;border-radius:10px;background:#fff;text-align:left}
.setup-checklist .setup-steps li{display:flex}
.setup-checklist .setup-steps li>span.step-mark+div{display:block}
.setup-checklist .setup-steps li.done{opacity:.75}
.setup-checklist .setup-steps li.next>button{border-color:var(--green);box-shadow:0 0 0 2px #d7f3e4}
.setup-checklist .setup-steps strong{display:block;font-size:14px;color:var(--ink)}
.setup-checklist .setup-steps small{display:block;font-size:12.5px;color:var(--muted);line-height:1.35}
.step-mark{flex:none;width:22px;height:22px;border-radius:50%;border:2px solid #9fd2b6;display:grid;place-items:center;font-size:12px;font-weight:800;color:#fff}
.done .step-mark{background:var(--green);border-color:var(--green)}
.step-go{margin-left:auto;color:var(--link);font-weight:800}
.setup-checklist .setup-steps li:not(.done)>div{border-style:dashed}
/* Kartu dan grid lebih rapat */
.site-grid{gap:14px}.site-road-map{height:180px}.site-body{padding:14px}
.plans{margin-bottom:18px}.plan-card{padding:22px 22px 18px}
@media(max-width:1100px){.setup-checklist .setup-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){
 #content{padding:12px 12px 20px}
 .topbar{height:56px;min-height:56px}
 .page-heading{margin-bottom:12px;gap:10px}
 .page-heading h1{font-size:24px}
 .overview-heading{padding:14px 16px 8px}
 .stats{padding:0 16px 8px}
 .stats article,.stats article:first-child,.stats article:last-child{padding:12px 0 12px 34px}
 .stats article>strong{font-size:30px}
 .panel-heading{padding:12px 14px}
 .table-scroll{max-height:72vh}
 .recovery-list,.tm-list{max-height:62vh}
 .setup-checklist{padding:14px}
 .setup-checklist .setup-steps{grid-template-columns:1fr;gap:6px}
 .setup-checklist .setup-steps li>div,.setup-checklist .setup-steps li>button{min-height:52px}
 .filter-bar{padding:12px;gap:10px}
 .site-road-map{height:160px}
}
/* Ringkas tahap 2 */
.quick-work{padding:12px 18px;margin-bottom:14px}
.quick-work strong{margin:0}
.personal-clock{padding:20px}
.assistant-card{padding:18px 20px}
@media(max-width:580px){
 .page-heading{flex-direction:row;align-items:flex-start;justify-content:space-between}
 .page-heading>div:first-child{min-width:0}
 .heading-actions{width:auto;flex:none}
 .heading-actions .btn[data-action="refresh"]{width:42px;height:42px;min-height:42px;padding:0 0 0 13px;overflow:hidden;white-space:nowrap;justify-content:flex-start}
 .overview-heading{padding:12px 14px 6px}
 .overview-heading h2{font-size:18px}
 .overview-heading .eyebrow{display:none}
 .stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:0 8px 10px;gap:0}
 .stats article,.stats article:first-child,.stats article:last-child{display:flex;flex-direction:column;align-items:flex-start;padding:8px 8px 4px;border:0;border-left:1px solid #426067}
 .stats article:first-child{border-left:0}
 .stats article>small{font-size:11px;letter-spacing:.4px;order:2;margin-top:2px}
 .stats article>strong{font-size:28px;order:1;display:flex;align-items:baseline;gap:4px}
 .stats strong>span{display:inline;font-size:12px;margin:0}
 .stats p,.stats .stat-icon,.stats article:last-child .stat-icon{display:none}
 .quick-work{padding:10px 12px;gap:8px;flex-wrap:nowrap}
 .quick-work>div:first-child{display:none}
 .quick-actions{width:100%;justify-content:space-between;gap:10px;flex-wrap:nowrap}
 .personal-clock{padding:16px}
}
@media(max-width:580px){
 .heading-actions .btn[data-action="refresh"]{font-size:0;padding:0;justify-content:center}
 .heading-actions .btn[data-action="refresh"]::before{content:"↻";font-size:19px;line-height:1}
 .stack-table tr{display:flex!important;flex-wrap:wrap;align-items:center;gap:0 10px;padding:10px 14px}
 .stack-table td{width:auto!important;padding:2px 0!important;font-size:13.5px}
 .stack-table td:first-child{flex-basis:100%}
 .stack-table td:last-child:has(button){flex-basis:100%;display:flex!important;gap:4px}
 .stack-table td:last-child:not(:has(*)):empty{display:none!important}
 .stack-table td .text-button,.stack-table td button{min-height:44px;margin-right:10px}
}
/* ===== Lokasi kerja: peta semua area + daftar (konsep era spreadsheet) ===== */
.loc-layout{display:grid;grid-template-columns:minmax(0,1fr) clamp(360px,34%,720px);gap:16px;align-items:stretch}
.loc-map-card,.loc-list-card{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;min-width:0}
.loc-map-card{display:flex;flex-direction:column}
.loc-map{flex:1;min-height:min(66vh,620px);background:#e9efec}
.loc-legend{display:flex;flex-wrap:wrap;gap:6px 18px;padding:10px 16px;border-top:1px solid var(--line);font-size:12.5px;color:var(--muted)}
.loc-legend span{display:inline-flex;align-items:center;gap:7px}
.loc-dot{flex:none;position:relative;display:inline-block;width:12px;height:12px;border-radius:50%;background:#8a9aa3;box-sizing:border-box}
.loc-dot.v-new{background:#1f9d61;box-shadow:0 0 0 3px rgba(31,157,97,.22)}
.loc-dot.v-mid{background:#ef743d}
.loc-dot.v-old{background:transparent;border:2px solid #8a9aa3}
.loc-dot.v-live{background:#14a35a;box-shadow:0 0 0 2px rgba(43,201,124,.3)}
.loc-dot.v-live::before,.loc-dot.v-live::after{content:"";position:absolute;inset:-2px;border-radius:50%;border:2px solid #2bc97c;opacity:0;animation:loc-ripple 1.7s ease-out infinite}
.loc-dot.v-live::after{animation-delay:.85s}
@keyframes loc-ripple{0%{transform:scale(.7);opacity:.85}100%{transform:scale(2.6);opacity:0}}
@keyframes loc-glow{0%,100%{box-shadow:0 0 0 3px rgba(43,201,124,.28),0 0 8px 2px rgba(43,201,124,.55)}50%{box-shadow:0 0 0 6px rgba(43,201,124,.12),0 0 14px 4px rgba(43,201,124,.7)}}
.loc-pin-wrap{background:none;border:0}.loc-pin{display:block;width:16px;height:16px;margin:4px;border-radius:50%;background:#8a9aa3;border:3px solid #fff;box-shadow:0 1px 4px rgba(7,26,34,.45)}
.loc-pin.v-new{background:#1f9d61}.loc-pin.v-mid{background:#ef743d}.loc-pin.v-old{background:#8a9aa3}
.loc-pin.v-live{background:#14a35a;box-shadow:0 0 0 4px rgba(43,201,124,.3),0 0 12px 4px rgba(43,201,124,.7);animation:loc-glow 1.8s ease-in-out infinite}
.loc-live-text{color:#0f6b45;font-weight:700}
.loc-mid-text{color:#a24a14;font-weight:600}
@media(prefers-reduced-motion:reduce){.loc-pin.v-live{animation:none}.loc-dot.v-live::before,.loc-dot.v-live::after{animation:none;opacity:0}.loc-dot.v-live{box-shadow:0 0 0 4px rgba(43,201,124,.35)}}
.loc-list-card{display:flex;flex-direction:column;max-height:calc(min(66vh,620px) + 44px)}
.loc-list-head{padding:14px 16px 12px;border-bottom:1px solid var(--line)}
.loc-list-head h2{font-size:16px}
.loc-list-head input{width:100%;margin-top:10px;min-height:42px;padding:9px 12px;border:1px solid var(--line);border-radius:9px;background:#f4f7f5;font:inherit;font-size:14px}
.loc-list{overflow:auto;overscroll-behavior:contain;padding:4px;display:grid;gap:0;align-content:start}
.loc-item{display:flex;align-items:flex-start;gap:6px;border:1px solid transparent;border-left:3px solid transparent;border-radius:10px;padding:2px 4px 2px 0;transition:background .15s}
.loc-item:hover{background:#f5f8f6}
.loc-item.is-selected{background:#e7f5ee;border-color:#bfe3cf;border-left-color:var(--green)}
.loc-item[hidden]{display:none}
.loc-pick{flex:1;min-width:0;display:flex;gap:10px;align-items:flex-start;text-align:left;background:none;border:0;padding:10px 4px 10px 10px;cursor:pointer;font:inherit;color:inherit}
.loc-pick .loc-dot{margin-top:5px}
.loc-text{min-width:0;display:block}
.loc-text strong{font-size:14.5px;color:var(--ink);margin-right:6px}
.loc-type{display:inline-block;font-size:11.5px;font-weight:700;color:#12683e;background:#e2f6eb;border-radius:5px;padding:1px 6px;vertical-align:1px}
.loc-text small{display:block;font-size:12.5px;color:var(--muted);margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.loc-actions{flex:none;display:flex;flex-direction:column;align-items:flex-end;gap:2px;padding-top:6px}
.loc-edit{border:0;background:#e2f6eb;color:#12683e;font:inherit;font-weight:700;font-size:13px;border-radius:8px;padding:7px 12px;cursor:pointer;min-height:34px}
.loc-edit:hover{background:#cdeedc}
.loc-route{font-size:12px;color:var(--link);font-weight:700;padding:4px 6px;text-decoration:none}
.loc-none{padding:16px;color:var(--muted);font-size:14px}
.site-edit-form{display:grid;gap:14px;margin-top:14px}
.site-edit-form label{display:grid;gap:6px;font-weight:650;font-size:14px}
.site-edit-form fieldset{border:1px solid var(--line);border-radius:10px;padding:10px 12px;margin:0}
.site-edit-form legend{font-weight:650;font-size:14px;padding:0 4px}.site-edit-form legend span{font-weight:400;color:var(--muted);font-size:12.5px}
.pic-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:4px 10px;max-height:220px;overflow:auto}
.pic-option{display:flex!important;grid-template-columns:none!important;align-items:center;gap:8px!important;font-weight:500!important;min-height:36px}
.modal-actions{display:flex;justify-content:flex-end;gap:10px}
@media(max-width:1100px){.loc-layout{grid-template-columns:minmax(0,1fr) 300px}}
@media(max-width:820px){.loc-layout{grid-template-columns:1fr}.loc-map{min-height:42vh}.loc-list-card{max-height:none}.loc-list{max-height:60vh}}
@media(max-width:580px){.loc-map{min-height:38vh}.loc-legend{font-size:11.5px;gap:4px 12px;padding:8px 12px}.loc-list-head{padding:12px}.loc-text small{white-space:normal}}
.site-edit-form .pic-option{display:flex!important;align-items:center;justify-content:flex-start;gap:9px!important;padding:6px 4px;border-radius:7px;cursor:pointer;text-align:left}
.site-edit-form .pic-option:hover{background:#f2f7f4}
.site-edit-form .pic-option input{appearance:auto;-webkit-appearance:checkbox;width:18px!important;height:18px!important;min-height:0!important;min-width:0;padding:0!important;margin:0;flex:none;accent-color:var(--green);box-shadow:none}
.site-edit-form .pic-option span{flex:1;min-width:0;font-size:14px}
.site-edit-form fieldset{padding:6px 12px 10px}
.site-edit-form legend{line-height:1.4}
.pic-list{padding-top:4px}
/* Lokasi kerja di HP: seperti era spreadsheet — tanpa peta, daftar area memenuhi layar */
.loc-list-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:0 6px}
.loc-list-head input{grid-column:1/-1}
.loc-list-head input.loc-search-few{display:none}
.loc-head-tools{display:flex;align-items:center;gap:2px}
.loc-add-mobile,.loc-search-toggle,.loc-mobile-hint{display:none}
@media(max-width:640px){
 body:has(.loc-layout) .page-heading .heading-actions{display:none}
 body:has(.loc-layout) .page-heading{margin-bottom:8px}
 body:has(.loc-layout) .page-heading h1{font-size:20px}
 body:has(.loc-layout) .page-heading p{font-size:11px;line-height:1.4;margin-top:2px}
 body:has(.loc-layout) .quota-note{padding:8px 12px;margin-bottom:8px;font-size:12px}
 .loc-layout{display:flex;flex-direction:column;height:calc(100dvh - 210px);min-height:380px}
 .loc-map-card{display:none}
 .loc-list-card{flex:1;min-height:0;max-height:none;border-radius:14px}
 .loc-list-head{padding:6px 8px 6px 12px}
 .loc-list-head h2{font-size:14px;line-height:1.35}
 .loc-add-mobile{display:inline-flex;font-size:12px;padding:6px 10px;min-height:44px;white-space:nowrap;border-radius:9px;box-shadow:none}
 .loc-search-toggle{display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:10px;background:transparent;color:#2f8077;cursor:pointer}
 .loc-search-toggle[aria-expanded="true"]{background:#e7f5ee}
 .loc-list-head input,.loc-list-head input.loc-search-few{display:none;margin-top:2px}
 .loc-list-head.search-open input{display:block}
 .loc-mobile-hint{display:block;grid-column:1/-1;margin:2px 0 0;font-size:10.5px;line-height:1.4;color:var(--muted)}
 .loc-list{flex:1;min-height:0;max-height:none;padding:5px;-webkit-overflow-scrolling:touch}
 .loc-item{margin-bottom:3px}
 .loc-pick{padding:11px 4px 11px 9px}
 .loc-text strong{font-size:13px}
 .loc-text small{font-size:11px;line-height:1.5}
 .loc-type{font-size:10px}
 .loc-edit{font-size:12px;padding:7px 9px;min-height:44px}
}
@media(max-width:640px){.loc-desk-hint{display:none}}
/* Peta tidak boleh menutupi menu samping / dialog di HP */
.leaflet-container{isolation:isolate;z-index:0}
.sidebar{z-index:1200}
.sidebar.open+#menu-scrim{z-index:1100}
dialog{z-index:1300}
.muted{color:var(--muted)}
/* Kursi Pro */
.seat-panel{padding:16px 18px;margin-bottom:16px}
.seat-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.seat-head h2{font-size:18px}.seat-head p{font-size:13.5px;color:var(--muted);margin-top:3px}
.seat-grace{margin-top:10px;padding:10px 12px;border-left:3px solid var(--orange);background:#fff4ea;border-radius:6px;font-size:13.5px;color:#7a3b12}
.seat-note{font-size:12.5px;color:var(--muted);margin:10px 0 8px}
.seat-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:6px;max-height:340px;overflow:auto}
.seat-item{display:flex;align-items:center;gap:9px;padding:9px 10px;border:1px solid var(--line);border-radius:9px;cursor:pointer;background:#fff;min-height:44px}
.seat-item.on{border-color:#bfe3cf;background:#f1faf5}
.seat-item input{appearance:auto;width:18px;height:18px;margin:0;accent-color:var(--green);flex:none}
.seat-name{flex:1;min-width:0;font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.seat-tag{flex:none;font-size:11px;font-weight:700;color:var(--muted)}
.seat-item.on .seat-tag{color:#12683e}
@media(max-width:580px){.seat-head{flex-direction:column}.seat-list{grid-template-columns:1fr}}
/* Memulihkan sesi saat halaman dimuat ulang: jangan kedipkan halaman masuk */
body.resuming #auth{visibility:hidden}
/* Pop-up aplikasi seluler */
.app-prompt{display:grid;gap:10px;text-align:left}
.app-prompt h2{font-size:24px;line-height:1.2;margin:4px 0 2px}
.app-prompt p{font-size:15px;line-height:1.55;color:#33484f;margin:0}
.app-prompt-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:14px;background:#e2f6eb;color:#12683e}
.app-prompt-icon svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.app-prompt-get{margin-top:6px;justify-content:center;background:var(--orange);color:#fff;min-height:50px;font-size:16px}
.app-prompt-hint{font-size:12.5px!important;color:var(--muted)!important}
.app-prompt-web{justify-self:center;min-height:44px;font-size:15px;color:#33484f}
/* ===== Tinjauan UX 0.4.13: target sentuh >= 44px & teks terbaca di HP ===== */
@media (pointer:coarse){
 .btn,.text-button,#menu-toggle,.top-actions .btn,.heading-actions .btn{min-height:44px}
 #menu-toggle,.heading-actions .btn[data-action="refresh"]{min-width:44px}
 .row-actions .text-button,.loc-route,.loc-edit{min-height:44px;display:inline-flex;align-items:center}
 .leaflet-touch .leaflet-bar a{width:40px;height:40px;line-height:40px;font-size:20px}
 .tm-tools input,.tm-icon-btn{min-height:44px;height:44px}
 .tm-icon-btn{width:44px}
}
@media(max-width:580px){
 .stats article>small{font-size:12px}
 .tm-live,.tm-hist{font-size:10.5px}
 .tm-status-text{font-size:12px}
 .tm-row1 strong{font-size:14px}
 .tm-row2{font-size:12px}
 .tm-row3{font-size:12px}
 .tm-role,.tm-src{font-size:11px}
 .tm-legend{font-size:11px}
 #tm-map .person-map-tip .tip-title{font-size:13px}
 #tm-map .person-map-tip small,#tm-map .person-map-tip .tip-job{font-size:12px}
 body:has(.loc-layout) .page-heading p{font-size:12px}
 .loc-mobile-hint{font-size:12px}
 .loc-text small{font-size:12px}
 .loc-type{font-size:11px}
 .loc-route{font-size:13px}
}
@media(max-width:640px){.loc-type{font-size:11.5px}.tm-muted{font-size:12px}}
/* ===== Beranda ala Jibble (0.4.21) ===== */
.dash-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:16px;align-items:start;margin-bottom:16px}
.dash-main{display:grid;gap:16px;min-width:0}
.dash-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}
.dc-card{padding:16px 18px}
.dc-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:10px}
.dc-head h2{font-size:17px}.dc-head p{font-size:13px;color:var(--muted);margin-top:2px}
.dc-range{display:inline-flex;border:1px solid var(--line);border-radius:10px;padding:3px;background:#f4f7f5;gap:2px}
.dc-range button{border:0;background:none;font:inherit;font-size:13px;font-weight:700;color:#46606a;padding:7px 12px;border-radius:8px;cursor:pointer;min-height:36px}
.dc-range button[aria-selected="true"]{background:#fff;color:#12683e;box-shadow:0 1px 3px rgba(7,26,34,.12)}
.dc-body{display:grid;grid-template-columns:150px minmax(0,1fr);gap:14px;align-items:center}
.dc-totals{display:grid;gap:12px;margin:0}
.dc-totals dt{font-size:12px;font-weight:700;letter-spacing:.4px;color:var(--muted);text-transform:uppercase;display:flex;align-items:center;gap:6px}
.dc-totals dt i{width:9px;height:9px;border-radius:50%;display:inline-block}
.dc-totals dd{margin:2px 0 0;font-size:20px;font-weight:800;color:var(--ink);font-variant-numeric:tabular-nums}
.dc-plot{min-width:0}
.dc-bars{width:100%;height:auto;display:block}
.dc-grid{stroke:#e6ecea;stroke-width:1}
.dc-ax{font:600 11px 'Plus Jakarta Sans',system-ui,sans-serif;fill:#6b7f86}
.dc-ax.dc-today{fill:#0b2530;font-weight:800}
.dc-ax.dc-hol{fill:#c2410c}
.dc-holdot,.dc-hol-key{fill:#c2410c;color:#c2410c}
.dc-col .dc-hit{fill:transparent}
.dc-col:hover .dc-hit{fill:rgba(7,26,34,.04)}
.dc-col.is-future .dc-ax{fill:#b6c2c7}
.dc-note{font-size:12px;color:var(--muted);margin-top:8px;line-height:1.5}
.dc-donut{display:grid;grid-template-columns:130px minmax(0,1fr);gap:12px;align-items:center}
.dc-donut svg{width:130px;height:130px}
.dc-dn-l{font:600 10px 'Plus Jakarta Sans',system-ui,sans-serif;fill:#6b7f86}
.dc-dn-v{font:800 14px 'Plus Jakarta Sans',system-ui,sans-serif;fill:#0b2530}
.dc-legend{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.dc-legend li{display:grid;grid-template-columns:10px minmax(0,1fr) auto;column-gap:7px;align-items:center;font-size:13px}
.dc-legend i{width:10px;height:10px;border-radius:3px}
.dc-legend span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ink)}
.dc-legend b{font-variant-numeric:tabular-nums}
.dc-legend small{grid-column:2/4;color:var(--muted);font-size:12px}
.dc-empty{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:13px}.dc-empty svg{width:90px;height:90px}
.dc-ring-empty{fill:none;stroke:#e6ecea;stroke-width:16}
.at-list{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.at-list li{display:flex;align-items:center;gap:10px;padding:9px 10px;border:1px solid var(--line);border-radius:10px}
.at-list li>div{flex:1;min-width:0}.at-list b{display:block;font-size:14px}.at-list small{display:block;font-size:12px;color:var(--muted);margin-top:1px}
.at-ico{flex:none;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font-weight:800;font-size:13px;background:#eef2f4;color:#46606a}
.at-warn .at-ico{background:#fff1e6;color:#b4521f}.at-ok .at-ico{background:#e2f6eb;color:#12683e}.at-hol .at-ico{background:#fdebe4;color:#c2410c}
.at-hols{margin-top:12px;border-top:1px solid var(--line);padding-top:10px}
.at-hols-head{display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:800;letter-spacing:.5px;text-transform:uppercase;color:var(--muted)}
.at-hols ul{list-style:none;margin:6px 0 0;padding:0;display:grid;gap:4px}
.at-hols li{display:grid;grid-template-columns:62px minmax(0,1fr) auto;gap:8px;font-size:13px;align-items:baseline}
.at-hols li b{color:#c2410c}.at-hols li small{color:var(--muted);font-size:12px}
.at-none{font-size:13px;color:var(--muted);margin-top:6px}
.rs-card{padding:16px 16px 10px;position:sticky;top:12px}
.rs-card h2{font-size:17px;text-align:center}
.rs-tabs{display:grid;grid-template-columns:repeat(3,1fr);margin:10px 0;border-bottom:1px solid var(--line)}
.rs-tabs button{border:0;background:none;font:inherit;padding:6px 4px 9px;cursor:pointer;border-bottom:3px solid transparent;min-height:56px}
.rs-tabs b{display:block;font-size:22px;font-weight:800;color:#46606a}
.rs-tabs span{display:block;font-size:11px;font-weight:800;letter-spacing:.6px;text-transform:uppercase;color:var(--muted)}
.rs-tabs button[aria-selected="true"]{border-bottom-color:var(--orange)}
.rs-tabs button[aria-selected="true"] b,.rs-tabs button[aria-selected="true"] span{color:#c2410c}
.rs-search input{width:100%;min-height:42px;border:1px solid var(--line);border-radius:9px;padding:8px 12px;font:inherit;font-size:14px;background:#f4f7f5}
.rs-list{list-style:none;margin:8px 0 0;padding:0;max-height:min(60vh,560px);overflow:auto;overscroll-behavior:contain}
.rs-list li{display:flex;gap:10px;align-items:flex-start;padding:9px 4px;border-bottom:1px solid #eef2f0}
.rs-list li>div{min-width:0}.rs-list b{font-size:14px;margin-right:6px}.rs-list em{font-style:normal;font-size:11.5px;font-weight:700;color:#46606a;background:#eef2f4;border-radius:99px;padding:1px 8px}
.rs-list small{display:block;font-size:12.5px;color:var(--muted);margin-top:2px}
.rs-dot{flex:none;width:9px;height:9px;border-radius:50%;margin-top:6px;background:#94a3b8}
.rs-in .rs-dot{background:#22b573;box-shadow:0 0 0 3px #d9f5e6}.rs-out .rs-dot{background:#64748b}
.rs-empty{font-size:13px;color:var(--muted);text-align:center;padding:24px 8px}
.hol-form{display:grid;grid-template-columns:150px minmax(0,1fr) auto;gap:10px;align-items:end;margin:12px 0}
.hol-form label{display:grid;gap:5px;font-size:13px;font-weight:650}
.hol-list{list-style:none;margin:0;padding:0;max-height:46vh;overflow:auto;display:grid;gap:6px}
.hol-row{display:flex;align-items:center;gap:10px;padding:9px 10px;border:1px solid var(--line);border-radius:9px}
.hol-row>div{flex:1;min-width:0}.hol-row b{display:block;font-size:13px;color:#c2410c}.hol-row span{display:block;font-size:14px}.hol-row small{display:block;font-size:12px;color:var(--muted)}
.hol-row.is-off{opacity:.6}.hol-row.is-off b{color:var(--muted)}
.hol-toggle{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:650;min-height:44px}
.hol-toggle input{appearance:auto;width:18px;height:18px;margin:0;accent-color:var(--green)}
@media(max-width:1180px){.dash-grid{grid-template-columns:minmax(0,1fr) 300px}.dash-row{grid-template-columns:1fr}}
@media(max-width:900px){.dash-grid{grid-template-columns:1fr}.rs-card{position:static;order:-1}.dash-grid>.rs-card{grid-row:1}}
@media(max-width:580px){
 .dc-card{padding:14px}
 .dc-head{flex-wrap:wrap}
 .dc-body{grid-template-columns:1fr}
 .dc-totals{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
 .dc-totals dd{font-size:16px}.dc-totals dt{font-size:11px}
 .dc-donut{grid-template-columns:100px minmax(0,1fr)}.dc-donut svg{width:100px;height:100px}
 .hol-form{grid-template-columns:1fr}
 .rs-list{max-height:52vh}
}

.hol-feed{display:flex;gap:10px;align-items:center;justify-content:space-between;background:#f3f8f5;border:1px solid #d6e9de;border-radius:10px;padding:8px 10px;margin:0 0 10px;font-size:13px;color:#33433b}
.hol-feed .btn,dialog .hol-feed .btn{flex:none;width:auto;margin:0;min-height:36px;padding:6px 14px;font-size:13px}.hol-err{color:#b4442a}

.session-duration,.session-timer,.dash-timer,.clock-live strong,.clock-live b,.live-now{font-variant-numeric:tabular-nums;font-feature-settings:"tnum"}
.session-duration{display:block;font-size:clamp(34px,4vw,46px);font-weight:750;letter-spacing:-1px;color:#fff;margin-top:6px}
.session-timer{display:block;margin-top:6px;font-size:24px;font-weight:700;color:var(--ink)}
.dash-timer{font-weight:650;color:#1f7a50}
.clock-live{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 10px;margin:4px 0 10px;padding:12px 14px;border-radius:12px;background:#071a22;color:#fff}
.clock-live strong{font-size:34px;font-weight:750;letter-spacing:-.5px}.clock-live>span{color:#9fcbb5;font-size:13px}
.clock-live small{flex-basis:100%;color:#c7ddda;font-size:13px}.clock-live b{color:#7ff0b6;font-size:15px}

.forgot-top{margin:-4px 0 10px}.forgot-top .text-button{font-weight:700;color:#17694c;min-height:40px;padding:0}
.out-flag{color:#b4442a!important;font-weight:600}.recovery-hint{display:block;margin-top:6px;font-weight:400;color:#51636a;font-size:13px;line-height:1.5}

.flag-chip{display:inline-block;background:#fff4c7;color:#7a5600;border:1px solid #f0d77a;border-radius:999px;padding:1px 8px;font-size:12px;font-weight:600;margin:2px 4px 2px 0;font-style:normal}
.fallback-note{border-left-color:#e3b322}.rule-check{display:flex!important;gap:10px;align-items:flex-start;margin:10px 0 0!important;font-weight:400!important}
.rule-check input{width:auto!important;margin:3px 0 0!important;min-height:18px;accent-color:#17694c}.rule-check b{display:block;font-size:14px}.rule-check small{display:block;color:#51636a;font-size:13px;line-height:1.5}

/* 0.4.21 · multi check-in */
.where-now{display:flex;flex-direction:column;gap:2px;margin:6px 0 12px;padding:12px 14px;border-radius:12px;background:#f2f7f4;border:1px solid #dbe9e1}
.where-now small{font-size:12px;letter-spacing:.6px;text-transform:uppercase;color:#4c6b5c;font-weight:700}
.where-now strong{font-size:18px;line-height:1.3;color:var(--ink)}.where-now span{font-size:13px;color:#51636a}
.where-now .pin{display:inline-block;width:9px;height:9px;border-radius:50%;background:#e0a51a;margin:0 7px 2px 0;vertical-align:middle}
.staff-clock-card .where-now{background:#ffffff14;border-color:#ffffff26}.staff-clock-card .where-now small{color:#9fdcbc}
.staff-clock-card .where-now strong{color:#fff;font-size:clamp(22px,2.4vw,30px)}.staff-clock-card .where-now span{color:#c7ddda}
.scc-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px}.scc-top p{color:#c7ddda;font-size:14px;margin-top:4px}
.scc-status{flex:none;font-size:12px;font-weight:700;padding:5px 10px;border-radius:999px;background:#ffffff1a;color:#d9efe4;border:1px solid #ffffff2e}
.staff-clock-card.is-working .scc-status{background:#1f9d6133;color:#9ff0c6;border-color:#1f9d6166}
.scc-sub{color:#c7ddda;font-size:14px;margin-top:6px}
.scc-actions{display:grid;grid-template-columns:1fr 1.4fr;gap:10px;margin-top:22px}
.scc-actions .btn{min-height:64px;margin:0!important;font-size:20px;border-radius:11px;justify-content:center}
.staff-clock-card .scc-actions .btn.secondary{background:transparent;color:#fff;border:1.5px solid #ffffff66}
.staff-clock-card.is-working .scc-actions .staff-primary-clock{background:var(--orange);border-color:var(--orange);color:var(--navy)}
.stale-banner{margin-top:16px;padding:12px 14px;border-radius:10px;background:#fff4c7;color:#5e4300;font-size:14px;font-weight:600}
.clock-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:6px}
dialog .clock-actions .btn{margin:0;min-height:52px}dialog .btn.btn-out{background:var(--orange);border-color:var(--orange);color:var(--navy)}
dialog .leave-btn{display:block;margin:12px auto 0;font-weight:600;color:#17694c}
.note-step{padding:12px 14px;border-radius:10px;background:#fff8e1;border-left:3px solid #e0a51a;margin-bottom:4px}.note-step p{margin:4px 0 0;font-size:14px}
.note-suggest{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.chip-btn{border:1px solid #cfe0d6;background:#f5faf7;color:#27463a;border-radius:999px;padding:6px 11px;font-size:13px;cursor:pointer;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chip-btn:hover{background:#e8f4ed}.step-links{display:flex;justify-content:space-between;margin-top:6px}
.tl{list-style:none;margin:0;padding:4px 0 0;display:flex;flex-direction:column}
.tl-row{display:grid;grid-template-columns:122px 1fr auto;gap:12px;align-items:baseline;padding:10px 0 10px 16px;border-left:2px solid #cfe0d6;position:relative;font-size:14px}
.tl-row::before{content:"";position:absolute;left:-6px;top:15px;width:10px;height:10px;border-radius:50%;background:#1f9d61;box-shadow:0 0 0 3px #fff}
.tl-place::before{background:#94a3b8}.tl-travel{color:#51636a;border-left-style:dashed}.tl-travel::before{background:#fff;border:2px solid #ef743d;width:6px;height:6px;left:-6px}
.tl-time{color:#51636a;font-variant-numeric:tabular-nums;white-space:nowrap}.tl-name{min-width:0;color:var(--ink);font-weight:600}.tl-travel .tl-name{font-weight:500;color:#51636a}
.tl-name small{display:block;font-weight:400;color:#51636a;font-size:12px}.tl-dur{font-variant-numeric:tabular-nums;white-space:nowrap;color:#33433b}
.staff-history .tl{padding:6px 18px 12px 26px}
.tl-details{margin-top:6px}.tl-details summary{cursor:pointer;color:#17694c;font-size:13px;font-weight:600}.tl-details .tl{margin-top:6px;min-width:300px}
@media(max-width:580px){.scc-actions{grid-template-columns:1fr}.scc-actions .btn{min-height:60px}.tl-row{grid-template-columns:1fr auto;gap:2px 10px}.tl-time{grid-column:1/-1;font-size:12px}.clock-actions{grid-template-columns:1fr}.staff-history .tl{padding:4px 12px 10px 20px}}
/* 0.4.22: dialog absen — durasi kerja jadi angka utama */
.clock-live.is-working strong{font-size:40px}
.clock-live.is-working>span{color:#9fcbb5;font-size:13px}
.where-now .reg-ok{font-style:normal;font-size:12px;font-weight:700;color:#17694c;background:#dff3e8;border-radius:999px;padding:2px 8px;margin-left:6px;vertical-align:middle}
#modal-title:focus{outline:none}
/* 0.4.22: jeda antar sesi di alur hari ini */
.tl-break{color:#8a6d1f;background:repeating-linear-gradient(135deg,#fbf6e9 0 8px,#fffdf7 8px 16px);border-left-style:dotted;border-left-color:#d9b55a}
.tl-break::before{background:#fff;border:2px solid #d9b55a;width:6px;height:6px;left:-6px}
.tl-break .tl-name{font-weight:600;color:#7a5d12}.tl-break .tl-name small{color:#8a6d1f}
.manager-clock{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:start;margin-bottom:18px}
.manager-clock .staff-history{margin:0}
@media (max-width:900px){.manager-clock{grid-template-columns:1fr}}
.daily-table td{vertical-align:top}.daily-table .tl-details{margin-top:6px}
.day-sessions{list-style:none;margin:10px 0 0;padding:10px 0 0;border-top:1px dashed #dbe9e1;display:grid;gap:8px;font-size:13px}
.day-sessions li{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}.day-sessions .recovery-report-actions{display:inline-flex;gap:8px}
/* 0.4.22: kartu absen Pemilik/Admin di Beranda — versi ringkas */
.manager-clock .staff-clock-card{padding:18px 20px}
.manager-clock .staff-clock-card h1{font-size:19px}
.manager-clock .staff-clock-card h2{font-size:17px;margin-top:10px}
.manager-clock .staff-clock-card .scc-sub{font-size:13px}
.manager-clock .staff-clock-card .session-duration{font-size:34px}
.manager-clock .staff-clock-card .staff-primary-clock,.manager-clock .staff-clock-card .scc-actions .btn{min-height:46px;font-size:17px;margin-top:12px;padding:10px 18px}
.manager-clock .staff-clock-card .where-now{margin:8px 0}
.manager-clock .staff-clock-card:only-child{max-width:560px}
.manager-clock:has(> :only-child){grid-template-columns:1fr}
/* 0.4.24: laporan absensi seperti era spreadsheet — rincian per staf, rekap, ekspor Excel/PDF */
.filter-quick{flex-basis:100%;display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:4px}
.filter-quick .chip-btn{min-height:38px;padding:6px 14px;border-radius:999px;border:1px solid #cddfd4;background:#f2f7f4;color:#33504a;font-weight:600;font-size:14px;cursor:pointer}
.filter-quick .chip-btn.selected{background:#071a22;border-color:#071a22;color:#fff}
.view-toggle{margin-left:auto;display:inline-flex;padding:4px;border-radius:12px;background:#eef4f1;border:1px solid #d7e4dd}
.view-toggle button{min-height:36px;padding:6px 16px;border:0;border-radius:9px;background:transparent;color:#51636a;font-weight:700;font-size:14px;cursor:pointer}
.view-toggle button[aria-pressed="true"]{background:#fff;color:var(--ink);box-shadow:0 1px 3px #071a2222}
.report-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0}
.report-stats .stat{padding:16px 18px;border-radius:14px;background:#fff;border:1px solid var(--line)}
.report-stats .stat b{display:block;font-size:26px;letter-spacing:-.5px;color:var(--ink);font-variant-numeric:tabular-nums}
.report-stats .stat span{font-size:13px;color:#51636a}
.export-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;border-radius:14px;background:#fff;border:1px solid var(--line)}
.export-bar strong{display:block}.export-bar span{font-size:13px;color:#51636a}
.export-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.export-actions .btn{margin:0}.export-actions .text-button{margin:0 0 0 4px}
.report-note{font-size:12.5px;color:#51636a;line-height:1.7;margin:10px 2px 16px}
.person-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(360px,1fr));gap:16px}
.pcard{background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px 18px}
.pcard-head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding-bottom:10px;border-bottom:1px solid #e5eee9}
.pcard-head h3{font-size:17px}.pill{display:inline-block;padding:4px 10px;border-radius:999px;background:#e3f4ea;color:#17694c;font-weight:700;font-size:13px;white-space:nowrap}
.day{padding:12px 0;border-bottom:1px dashed #dbe9e1}.day:last-child{border-bottom:0;padding-bottom:0}
.day-head{display:flex;justify-content:space-between;align-items:center;gap:8px;font-weight:700}
.day-meta{font-size:13px;color:#51636a;margin:6px 0 8px;line-height:1.6}
.chips4{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}
.hchip{font-size:12.5px;font-weight:600;padding:3px 9px;border-radius:999px;border:1px solid}
.hchip.k{background:#e3f4ea;border-color:#bfe3cf;color:#17694c}.hchip.l{background:#fdf3dc;border-color:#f0d99a;color:#7a5d12}
.hchip.p{background:#eef2f6;border-color:#d5dde6;color:#465567}.hchip.s{background:#efe9fb;border-color:#d8cbf3;color:#5b4aa8}
.hchip.j{background:#fff;border-color:#e2d3a5;border-style:dashed;color:#8a6d1f}.hchip.o{background:#e8f0fa;border-color:#c9d9ef;color:#2f5f9b}
.loc{display:flex;gap:8px;align-items:baseline;font-size:13.5px;padding:3px 0;color:var(--ink)}
.loc .tag{flex:none;font-size:10.5px;font-weight:800;letter-spacing:.06em;padding:2px 6px;border-radius:5px;background:#e3f4ea;color:#17694c}
.loc.lainnya .tag{background:#fdf3dc;color:#7a5d12}.loc.singgah .tag{background:#efe9fb;color:#5b4aa8}
.dist{font-size:12.5px;color:#51636a;margin:4px 0 6px}
table.recap td.num,table.recap th.num{text-align:right;font-variant-numeric:tabular-nums}
table.recap tfoot td{font-weight:700;background:#f2f7f4;border-top:2px solid #cddfd4}
@media (max-width:900px){.report-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.person-cards{grid-template-columns:1fr}.view-toggle{margin-left:0}}
.settings-h{font-size:18px;margin:22px 0 10px}
/* 0.4.26: rincian harian tersusun seperti perhitungan */
table.calc{width:100%;border-collapse:collapse;margin:8px 0 6px;font-size:14px}
table.calc th,table.calc td{padding:6px 0;border-bottom:1px solid #edf3ef;vertical-align:top;background:none}
table.calc th{text-align:left;font-weight:500;color:#33504a}
table.calc th small{display:block;font-size:12px;color:#6b7f78;font-weight:400;margin-top:1px}
table.calc td{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--ink)}
table.calc tr.calc-total th,table.calc tr.calc-total td{border-top:2px solid #cddfd4;font-weight:700;color:var(--ink);font-size:15px;padding-top:8px}
table.calc tr.calc-sub th{padding-left:16px;position:relative}
table.calc tr.calc-sub th::before{content:"";position:absolute;left:4px;top:13px;width:6px;height:1px;background:#9fb3ab}
table.calc tr.calc-gap th,table.calc tr.calc-gap td{border-top:2px solid #cddfd4;padding-top:8px}
table.calc tr.calc-ot td b{color:#2f5f9b}table.calc tr:last-child th,table.calc tr:last-child td{border-bottom:0}
.calc-warn{margin:6px 0 4px;padding:8px 10px;border-radius:8px;background:#fdf3dc;color:#7a5d12;font-size:13px;line-height:1.6}

/* 0.4.27: sesi dipotong di 24.00 WIB */

/* 0.4.32: kartu paket lebih rapat dan rata */
.plan-tag{position:static;align-self:flex-start;margin:0 0 2px}
.plan-desc,.plan-bill{min-height:0}
.plan-card{gap:8px;padding:20px 22px 18px}
.plan-card .btn{min-height:44px;margin:4px 0 6px}
.plan-price{margin-top:2px}
.plans-head{margin-bottom:14px}
.plan-card ul{gap:8px}

/* 0.4.34 — Paket & tagihan muat satu layar; nama staf disembunyikan (dibuka lewat "Atur staf"). */
.seat-panel{padding:12px 18px;margin-bottom:12px}
.seat-row{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.seat-title{min-width:0}.seat-title h2{font-size:17px;margin:0}.seat-title p{font-size:13.5px;color:var(--muted);margin:2px 0 0}.seat-title b{color:var(--ink)}
progress.seat-bar{appearance:none;-webkit-appearance:none;flex:1 1 160px;min-width:120px;height:8px;border:0;border-radius:99px;background:#e3ece7;overflow:hidden}
progress.seat-bar::-webkit-progress-bar{background:#e3ece7;border-radius:99px}
progress.seat-bar::-webkit-progress-value{background:var(--green);border-radius:99px}
progress.seat-bar::-moz-progress-bar{background:var(--green);border-radius:99px}
.seat-toggle{margin-left:auto;background:none;border:0;color:#12683e;font-weight:700;font-size:13.5px;min-height:36px;padding:4px 2px;cursor:pointer}
.seat-more{margin-top:10px;border-top:1px solid var(--line);padding-top:10px}
.seat-more .seat-list{max-height:180px}
.page-heading{margin-bottom:12px}
.plans{margin-bottom:10px}
.plans-head{margin-bottom:12px}.plans-head h2{font-size:21px;margin:0}.plans-head p{margin:4px 0 0;font-size:14px}
.plan-cards{gap:14px}
.plan-card{padding:16px 22px 16px;gap:6px}
.plan-card h3{font-size:22px;margin:0}
.plan-price{font-size:28px}
.plan-bill{font-size:13.5px;line-height:1.45}
.plan-card .btn{min-height:42px;margin:2px 0 4px}
.plan-plus{margin:2px 0 0;font-weight:700;font-size:14px}
.plan-card ul{gap:6px;margin-top:2px}.plan-card li{font-size:14px;line-height:1.4}
.plan-compare-toggle{margin:6px 0 0;min-height:36px}
.plan-foot{font-size:12.5px;line-height:1.5;margin:6px 0 0;color:var(--muted)}

/* Notifikasi: kecil dan tidak menutupi tombol; hilang sendiri (diatur di app.js). */
#message{padding:12px 20px}
.billing-toggle{display:block;margin:4px 0 10px;min-height:36px;font-weight:700;font-size:14px}
.seat-panel{padding:10px 18px;margin-bottom:10px}
.plan-card{padding:14px 22px 14px}
.plan-card ul{gap:5px}
.plan-compare-toggle,.billing-toggle{margin:2px 0 0;min-height:32px}
.plan-foot{margin:2px 0 0}
.billing-toggle{margin:0}
#content{padding-bottom:12px}
.plans-head{margin-bottom:8px}.plans-head h2{font-size:19px}.plans-head p{margin-top:2px}
.plan-card h3{font-size:20px}.plan-price{font-size:26px;margin-top:0}
.plan-card .btn{min-height:40px;margin:0 0 2px}
.page-heading h1{font-size:30px}
.page-heading{margin-bottom:8px}

/* 0.4.36 — Paket & tagihan: satu jalur sederhana (pilih staf → total → tagihan → transfer). */
.upgrade{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,410px);gap:30px;padding:24px 28px;align-items:start;margin-bottom:12px}
.up-left h2{font-size:25px;line-height:1.2;margin:0 0 10px}
.up-price{margin:0}.up-price strong{font-size:36px;font-weight:800;letter-spacing:-1px;color:var(--ink)}.up-price span{font-size:15px;color:var(--muted)}
.up-sub{margin:2px 0 14px;font-size:14px;color:var(--muted)}
.up-list{list-style:none;margin:0 0 14px;padding:0;display:grid;gap:8px}
.up-list li{position:relative;padding-left:26px;color:var(--ink);font-size:15px;line-height:1.4}
.up-list li::before{content:"";position:absolute;left:3px;top:5px;width:11px;height:6px;border-left:2px solid var(--green);border-bottom:2px solid var(--green);transform:rotate(-45deg)}
.up-free{margin:0;padding:12px 14px;border-radius:10px;background:#f3f6f4;color:#45594f;font-size:13.5px;line-height:1.5}.up-free b{display:block;margin-bottom:6px;color:#2e4339;font-size:13px}.up-free ul{list-style:none;margin:0;padding:0;display:grid;gap:4px}.up-free li{position:relative;padding-left:20px}.up-free li::before{content:"";position:absolute;left:2px;top:6px;width:9px;height:5px;border-left:2px solid #8aa196;border-bottom:2px solid #8aa196;transform:rotate(-45deg)}
.up-wait{margin:0;padding:14px;border-radius:10px;background:#fff7e8;color:#684d22;font-size:14px}
.calc{background:#f2faf5;border:1px solid #cde6d7;border-radius:14px;padding:18px 20px;display:grid;gap:10px}
.calc h3{margin:0;font-size:16px}
.stepper{display:flex;align-items:center;gap:8px}
.stepper button{width:46px;height:46px;border-radius:50%;border:1px solid #b6d4c3;background:#fff;color:#12683e;font-size:24px;font-weight:700;line-height:1;cursor:pointer;display:grid;place-items:center;padding:0}
.stepper button:disabled{opacity:.4;cursor:default}
.stepper input{width:96px;min-height:46px;text-align:center;font-size:24px;font-weight:800;border:1px solid #b6d4c3;border-radius:10px;background:#fff;padding:4px;-moz-appearance:textfield}
.stepper input::-webkit-outer-spin-button,.stepper input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.stepper-unit{font-size:15px;color:var(--muted);margin-left:2px}
.calc-hint{margin:0;font-size:13.5px;color:var(--muted);line-height:1.45}
.calc-total{display:grid;gap:2px;padding:10px 0;border-top:1px dashed #b6d4c3;border-bottom:1px dashed #b6d4c3}
.calc-total span{font-size:13px;color:var(--muted)}.calc-total strong{font-size:32px;font-weight:800;letter-spacing:-1px;color:var(--ink)}.calc-total small{font-size:12.5px;color:var(--muted);line-height:1.45}
.calc-go{width:100%;min-height:50px;font-size:16px}
.calc-note{margin:0;font-size:13px;color:#8a5a1d;line-height:1.45}
.calc-steps{list-style:none;margin:0;padding:0;display:grid;gap:5px;font-size:13px;color:var(--muted)}
.calc-steps b{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#dff1e6;color:#12683e;font-size:12px;margin-right:6px}
.calc-close{justify-self:start}
.calc-panel{max-width:460px;margin-bottom:12px}
.pro-status{padding:16px 20px;margin-bottom:12px}
.pro-top{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:10px}
.pro-top p{margin:0;font-size:15px}
.pro-pill{display:inline-block;padding:4px 12px;border-radius:99px;background:#dff1e6;color:#12683e;font-weight:800;font-size:13px}
.pro-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.pro-actions .btn{min-height:46px}
.pro-note{margin:0;color:var(--muted);font-size:14px}
.pay-card{padding:18px 22px;margin-bottom:12px;border:2px solid #f0b48c;background:#fffaf5}
.pay-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.pay-head h2{margin:0;font-size:19px}
.pay-small{margin:4px 0 0;font-size:13px;color:var(--muted);line-height:1.45}
.pay-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:14px 0 10px}
.pay-label{display:block;font-size:12.5px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.4px;margin-bottom:2px}
.pay-total{display:block;font-size:34px;font-weight:800;letter-spacing:-1px;color:var(--ink);margin:2px 0}
.pay-acc{display:block;font-size:22px;font-weight:800;color:var(--ink);margin:2px 0;overflow-wrap:anywhere}
.pay-grid .btn{margin-top:8px}
.pay-after{margin:6px 0 0;padding:10px 12px;border-radius:10px;background:#f2faf5;font-size:14px}
.pay-help{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:8px 0 0;padding:14px 16px;border-radius:12px;border:1.5px solid #ef743d;background:#fff4ec}.pay-help>div{display:grid;gap:3px;min-width:220px;flex:1}.pay-help b{font-size:15px;color:#8f3a12}.pay-help span{font-size:13.5px;color:#5b4a40}.pay-help-btn{background:#25a244;border-color:#25a244;color:#fff;min-height:44px;white-space:nowrap}.pay-help-btn:hover{background:#1f8a39}
.pay-test{margin:10px 0 4px;padding:10px 12px;border-radius:10px;background:#fff0e0;color:#7a3b12;font-size:14px}
.pay-actions{display:flex;gap:18px;flex-wrap:wrap;margin-top:10px}
.text-button.danger{color:#a3341d}
.hist{padding:14px 20px;margin-bottom:10px}.hist h2{font-size:16px;margin:0 0 6px}
.hist-list{list-style:none;margin:0;padding:0}
.hist-list li{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:14px;align-items:center;padding:9px 0;border-top:1px solid var(--line)}
.hist-main{display:grid;min-width:0}.hist-main small{color:var(--muted);font-size:12.5px}
.hist-sum{font-weight:700}
.badge.hist-paid{background:#dff1e6;color:#12683e}
/* 0.4.79 — Perbandingan Gratis dan Pro di atas halaman: hanya yang berbeda, kolom Pro ditandai. */
.vs{padding:22px 24px 20px;margin-bottom:14px}
.vs-head h2{font-size:22px;line-height:1.25;letter-spacing:-.3px}.vs-head p{margin:6px 0 14px;font-size:14px;color:var(--muted);max-width:560px}
.vs-grid{position:relative;--c1:64px;--c2:80px}
.vs-grid::before{content:"";position:absolute;right:0;top:0;bottom:0;width:var(--c2);border-radius:14px;background:#eef8f2;border:1px solid #d3ecdd;box-sizing:border-box}
.vs-row{position:relative;display:grid;grid-template-columns:minmax(0,1fr) var(--c1) var(--c2);align-items:stretch}
.vs-row>*{padding:13px 6px}.vs-row .vs-free,.vs-row .vs-pro{display:flex;align-items:center;justify-content:center;text-align:center}
.vs-row:not(.vs-top)>*{border-top:1px solid var(--line)}.vs-row:not(.vs-top)>.vs-pro{border-top-color:#d3ecdd}
.vs-row:nth-child(2)>*{border-top-color:transparent}
.vs-top>*{padding:12px 6px;font-size:12px;font-weight:800;letter-spacing:.9px;text-transform:uppercase;color:var(--muted)}.vs-top>.vs-pro{color:var(--link)}
.vs-name{padding-left:0!important}.vs-name b{display:block;font-size:15px;line-height:1.3;color:var(--ink)}
.vs-name small{display:block;margin-top:2px;font-size:13px;line-height:1.4;color:var(--muted)}
.vs-yes{display:inline-block;position:relative;width:24px;height:24px;border-radius:50%;background:var(--green)}
.vs-yes::after{content:"";position:absolute;left:7px;top:6px;width:10px;height:5px;border-left:2.2px solid var(--navy);border-bottom:2.2px solid var(--navy);transform:rotate(-45deg)}
.vs-no{color:#9aa8a3;font-size:16px}
.vs-val{display:block;font-size:13.5px;font-weight:700;line-height:1.25;color:var(--ink)}
.vs-pro .vs-val{color:var(--link)}
.free-has{padding:22px 24px 8px;margin-bottom:14px}
.fh-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:28px}
.fh-list li{display:flex;gap:12px;align-items:flex-start;padding:13px 0;border-top:1px solid var(--line)}
.fh-list .vs-yes{flex:none;width:22px;height:22px;margin-top:1px}.fh-list .vs-yes::after{left:6px;top:5.5px}
.fh-list b{display:block;font-size:15px;line-height:1.3;color:var(--ink)}
.fh-list small{display:block;margin-top:2px;font-size:13px;line-height:1.45;color:var(--muted)}
@media(max-width:580px){.free-has{padding:18px 16px 4px}.fh-list{grid-template-columns:1fr}.fh-list b{font-size:14.5px}.fh-list small{font-size:12.5px}.vs{padding:18px 16px 16px}.vs-head h2{font-size:20px}.vs-grid{--c1:58px;--c2:74px}.vs-name b{font-size:14.5px}.vs-name small{font-size:12.5px}.vs-val{font-size:12.5px}.vs-row>*{padding:12px 4px}}
@media(max-width:860px){
 .upgrade{grid-template-columns:1fr;padding:18px 16px;gap:18px}
 .up-left h2{font-size:22px}.up-price strong{font-size:30px}
 .pay-grid{grid-template-columns:1fr;gap:14px}.pay-total{font-size:30px}
 .pay-card{padding:16px}.calc-panel{max-width:none}
 .hist-list li{grid-template-columns:minmax(0,1fr) auto}.hist-list .badge{grid-column:1/-1;justify-self:start}
}
.pay-note{margin:8px 0 0;padding:8px 12px;border-radius:9px;background:#f2faf5;color:#245a3c;font-size:13.5px;line-height:1.5}

/* 0.4.39: tagihan lewat batas bayar / transfer sedang diperiksa */
.late-card{border-left:4px solid var(--orange,#ef743d);padding:16px 20px;margin-bottom:16px}
.late-card h2{margin:0 0 6px;font-size:1.05rem}
.late-card p{margin:6px 0;line-height:1.45}
/* 0.4.41: penjelasan tombol Tambah staf / Perpanjang */
.pro-actions{flex-wrap:wrap}
.pro-actions .pro-note{flex:1 0 100%;margin:2px 0 0;line-height:1.45}

/* 0.4.45: rincian harian mudah dipindai: Clock In / Clock Out / Jam kerja, bilah pembagian waktu, lalu legenda */
.day-key{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:10px 0 12px}
.dk{background:#f6faf7;border:1px solid #e1ece6;border-radius:12px;padding:9px 12px;min-width:0}
.dk>span{display:block;font-size:12px;color:#51636a;font-weight:600}
.dk>b{display:block;margin-top:2px;font-size:20px;line-height:1.25;font-weight:750;font-variant-numeric:tabular-nums;color:var(--ink)}
.dk>small{display:block;margin-top:2px;font-size:11.5px;line-height:1.35;color:#6b7f78}
.dk-main{grid-column:1/-1;background:#e8f6ee;border-color:#bfe3cf}.dk-main>b{font-size:24px;color:#0f5a3f}
.dk .badge{font-size:13px;padding:3px 8px;vertical-align:middle}
.day-bar{display:block;width:100%;height:10px;border-radius:5px;background:#e8eeea;overflow:hidden}
.day-bar rect.p-site,.dot.p-site{fill:#22b573;background:#22b573}
.day-bar rect.p-place,.dot.p-place{fill:#94a3b8;background:#94a3b8}
.day-bar rect.p-travel,.dot.p-travel{fill:#ef743d;background:#ef743d}
.day-bar rect.p-s1,.dot.p-s1{fill:#0f7a4a;background:#0f7a4a}
.day-bar rect.p-s2,.dot.p-s2{fill:#86d9b0;background:#86d9b0}
.day-bar rect.p-s3,.dot.p-s3{fill:#4f9d7c;background:#4f9d7c}
.day-bar rect.p-stop,.dot.p-stop{fill:#8b5cf6;background:#8b5cf6}
.day-parts{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:7px;font-size:14px}
.day-parts li{display:grid;grid-template-columns:12px 1fr auto;gap:9px;align-items:start}
.dot{width:10px;height:10px;border-radius:50%;margin-top:5px;display:block}
.dp-name{color:#33504a;line-height:1.35;min-width:0}.dp-name small{display:block;font-size:12px;color:#6b7f78;overflow-wrap:anywhere}
.day-parts b{font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--ink)}
.day-empty{margin:10px 0 0;font-size:13.5px;color:#6b7f78}
.day-foot{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 14px;margin:12px 0 4px;padding-top:9px;border-top:1px dashed #dbe9e1;font-size:13.5px;color:#51636a}
.day-foot b{color:var(--ink);font-variant-numeric:tabular-nums}.day-foot b.ot{color:#2f5f9b}

/* 0.4.46: tabel waktu gaya Jibble (Rincian) */
.ts{padding:0;overflow:hidden}
.ts-hint{margin:0;padding:10px 16px 14px;font-size:13px;color:#6b7f78}
.ts-table{width:100%;border-collapse:collapse;font-size:15px}
.ts-table th,.ts-table td{padding:12px 16px;text-align:left;border-bottom:1px solid #e9f0ec;vertical-align:middle;background:none}
.ts-table thead th{font-size:12px;letter-spacing:.4px;text-transform:uppercase;color:#51636a;background:#f4f8f5;white-space:nowrap}
.ts-table .num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.ts-table td{font-variant-numeric:tabular-nums;white-space:nowrap}
.ts-table .ts-row{cursor:pointer}.ts-table .ts-row:hover{background:#f6faf7}
.ts-name{border:0;background:none;padding:0;font-weight:700;font-size:15px;color:var(--ink);text-align:left;cursor:pointer;text-decoration:underline;text-decoration-color:#b9d7c6;text-underline-offset:3px}
.ts-name:hover{text-decoration-color:var(--green)}
.ts-table tfoot th,.ts-table tfoot td{background:#f4f8f5;border-top:2px solid #cddfd4;border-bottom:0;font-weight:700}
.ts-table b.ot,.ts-grid b.ot{color:#2f5f9b}
.ts-scroll{overflow:auto;overscroll-behavior:contain;max-width:100%}
.ts-grid{border-collapse:separate;border-spacing:0;font-size:14px;min-width:100%}
.ts-grid th,.ts-grid td{padding:0;border-bottom:1px solid #eef3f0;text-align:center;font-variant-numeric:tabular-nums;white-space:nowrap;background:#fff}
.ts-grid thead th{position:sticky;top:0;z-index:2;background:#f4f8f5;padding:8px 6px;font-weight:600;color:#51636a;border-bottom:1px solid #dce6e2}
.ts-day span{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.3px}.ts-day b{display:block;font-size:15px;color:var(--ink)}
.ts-day.wk{background:#eef2ef}
.ts-sticky{position:sticky;left:0;z-index:3;text-align:left!important;padding:10px 14px!important;min-width:150px;max-width:210px;overflow:hidden;text-overflow:ellipsis;font-weight:700;color:var(--ink);box-shadow:1px 0 0 #dce6e2}
.ts-grid thead .ts-sticky{z-index:4}
.ts-cell{min-width:58px;height:48px;position:relative}
.ts-cell button{width:100%;height:100%;min-height:48px;border:0;background:transparent;font:inherit;font-weight:700;color:var(--ink);cursor:pointer;padding:0 6px}
.ts-cell button:hover{outline:2px solid var(--green);outline-offset:-2px}
.ts-cell.lv1{background:#e3f4ea}.ts-cell.lv2{background:#b6e5cb}.ts-cell.lv3{background:#6fd09b}
.ts-cell.none{color:#b6c3bd}.ts-cell.none.wk{background:#f4f6f5}
.ts-cell.ot::after{content:"";position:absolute;top:5px;right:5px;width:8px;height:8px;border-radius:50%;background:#2f5f9b;pointer-events:none}
.ts-cell.hol::before{content:"";position:absolute;top:5px;left:5px;width:8px;height:8px;border-radius:50%;background:#ef743d;pointer-events:none}
.ts-grid .num,.ts-grid .ts-total{padding:0 14px;font-weight:700;background:#f4f8f5;min-width:70px;text-align:right}
.ts-grid tfoot th,.ts-grid tfoot td{background:#f4f8f5;border-top:2px solid #cddfd4;border-bottom:0;padding:9px 6px;font-weight:700;font-size:13px}
.ts-grid tfoot .ts-sum{color:#33504a}
.ts-legend{list-style:none;margin:0;padding:12px 16px 2px;display:flex;flex-wrap:wrap;gap:6px 18px;font-size:13px;color:#51636a}
.ts-legend li{display:flex;align-items:center;gap:7px}
.lg{display:inline-block;width:16px;height:16px;border-radius:4px;border:1px solid #d3e2d9}
.lg.lv1{background:#e3f4ea}.lg.lv2{background:#b6e5cb}.lg.lv3{background:#6fd09b}.lg.ot{background:#2f5f9b;border-radius:50%;width:10px;height:10px}.lg.hol{background:#ef743d;border-radius:50%;width:10px;height:10px}
.badge.warn{background:#fdf3dc;color:#7a5d12}
@media (max-width:640px){.ts-table th,.ts-table td{padding:10px 10px;font-size:14px}.ts-sticky{min-width:112px}}
.ts-src{list-style:none;margin:6px 0 0;padding:0;display:grid;gap:5px;white-space:normal}
.ts-src li{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.ts-src .recovery-report-actions{display:inline-flex;gap:8px;flex-wrap:wrap}
.ts-cell.rev button{box-shadow:inset 0 0 0 2px #e0a526}

/* 0.4.47: tab Timesheet / Persetujuan terpisah; baris tipis satu nama satu baris, tidak tebal */
.rtabs{display:flex;gap:4px;border-bottom:1px solid #dce6e2;margin:0 0 16px}
.rtab{position:relative;border:0;background:none;padding:12px 16px;font-size:15px;font-weight:600;color:#6b7f78;cursor:pointer;display:inline-flex;gap:8px;align-items:center}
.rtab:hover{color:var(--ink)}.rtab[aria-selected="true"]{color:var(--ink)}
.rtab[aria-selected="true"]::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:3px;border-radius:3px 3px 0 0;background:var(--green)}
.rcount{min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:#ef743d;color:#fff;font-size:12px;font-weight:700;display:inline-grid;place-items:center}
.ts-av{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#eef2ef;color:#6b7f78;font-size:12px;font-weight:600;margin-right:10px;vertical-align:middle;flex:none}
.ts-table th,.ts-table td{padding:6px 16px;font-size:14px;line-height:1.3;font-weight:400}
.ts-table thead th{padding:9px 16px;font-weight:600}
.ts-table tbody th{white-space:nowrap}
.ts-name{display:inline-block;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle;font-weight:500;font-size:14px;text-decoration:none}
.ts-name:hover{text-decoration:underline;text-decoration-color:var(--green)}
.ts-table td b{font-weight:500}.ts-table tfoot th,.ts-table tfoot td,.ts-table tfoot b{font-weight:600}
.ts-table td .badge{font-size:12px;padding:2px 8px;margin-right:4px}
.ts-link{border:0;cursor:pointer;font:inherit;font-size:12px}
.ts-sticky{padding:5px 12px!important;font-weight:500!important;font-size:14px!important;white-space:nowrap}
.ts-sticky .ts-nm{vertical-align:middle}
.ts-cell{height:36px;min-width:54px}
.ts-cell button{min-height:36px;font-weight:500;font-size:13.5px}
.ts-grid .num,.ts-grid .ts-total,.ts-grid .ts-total b{font-weight:600}
.ts-grid thead th{padding:6px}.ts-day b{font-size:14px;font-weight:600}
.ts-grid tfoot th,.ts-grid tfoot td{padding:7px 6px;font-weight:600}

/* 0.4.48: warna gaya Jibble untuk seluruh tab Absensi & laporan (Timesheet, Persetujuan, Kartu, Rekap) */
/* tab: oranye saat aktif */
.rtab[aria-selected="true"]{color:#c4501f}
.rtab[aria-selected="true"]::after{background:var(--orange)}
.rtab:hover{color:#c4501f}
/* pilihan periode & tampilan: terpilih = oranye lembut seperti Jibble */
#report-filter .filter-quick .chip-btn.selected{background:#fff1ea;border-color:var(--orange);color:#b8420f}
#report-filter .filter-quick .chip-btn:hover:not(.selected){background:#fff7f2;border-color:#f2b79c}
#report-filter .view-toggle{background:#fff;border:1px solid #e1e8e4;padding:3px}
#report-filter .view-toggle button[aria-pressed="true"]{background:#fff1ea;color:#b8420f;box-shadow:inset 0 0 0 1.5px var(--orange)}
#report-filter .view-toggle button:hover:not([aria-pressed="true"]){background:#f5f8f6}
#report-filter .btn{background:var(--orange);border-color:var(--orange);color:#fff}
#report-filter .btn:hover{background:#d9622d}
/* kartu ringkasan berwarna */
.report-stats .stat{border-top:4px solid var(--green);background:linear-gradient(180deg,#f1fbf5,#fff 60%)}
.report-stats .stat:nth-child(1) b{color:#0f5a3f}
.report-stats .stat:nth-child(2){border-top-color:#4f7fbf;background:linear-gradient(180deg,#eef4fc,#fff 60%)}.report-stats .stat:nth-child(2) b{color:#2f5f9b}
.report-stats .stat:nth-child(3){border-top-color:var(--orange);background:linear-gradient(180deg,#fff3ec,#fff 60%)}.report-stats .stat:nth-child(3) b{color:#c4501f}
.report-stats .stat:nth-child(4){border-top-color:#8a6fc2;background:linear-gradient(180deg,#f5f1fc,#fff 60%)}.report-stats .stat:nth-child(4) b{color:#5f3f9c}
/* tombol ekspor */
.export-bar .btn.secondary{border-color:#bfe3cf;color:#0f5a3f;background:#f1fbf5}
.export-bar .btn.secondary:hover{background:#e0f5e9}
.export-bar{border-left:4px solid var(--green)}
/* bulatan inisial berwarna */
.ts-av.av0{background:#fde6dc;color:#b8420f}.ts-av.av1{background:#dff3e8;color:#17694c}.ts-av.av2{background:#e0ebf8;color:#2f5f9b}
.ts-av.av3{background:#f1e4f7;color:#7a3f94}.ts-av.av4{background:#fdf0d2;color:#8a5a1d}.ts-av.av5{background:#dcf1f1;color:#1d6f73}
.pcard-head h3{display:flex;align-items:center;gap:0}
/* tabel Timesheet */
.ts-table thead th{background:#fff4ee;color:#b8420f;border-bottom:2px solid #f7cdb9}
.ts-table .ts-row:hover{background:#fff8f4}
.ts-table tbody td.num:nth-of-type(3){color:#0f5a3f;font-weight:600}
.ts-table tfoot th,.ts-table tfoot td{background:#f1fbf5;border-top:2px solid #bfe3cf;color:#0f5a3f}
.badge.warn{background:#ffe9dc;color:#b8420f}
.ts-grid thead th{background:#fff4ee;border-bottom:2px solid #f7cdb9;color:#b8420f}
.ts-day.wk{background:#fbeee6}
.ts-day.today b{display:inline-grid;place-items:center;min-width:26px;height:26px;border-radius:13px;background:var(--orange);color:#fff}
.ts-day.today span{color:#c4501f;font-weight:700}
.ts-grid .ts-total{color:#0f5a3f;background:#f1fbf5}
.ts-grid tfoot th,.ts-grid tfoot td{background:#f1fbf5;border-top:2px solid #bfe3cf;color:#0f5a3f}
.ts-cell.lv1{background:#e6f6ed}.ts-cell.lv2{background:#a9e2c4}.ts-cell.lv3{background:#4fc487}.ts-cell.lv3 button{color:#053b27}
.ts-cell.none.wk{background:#fbf3ee}
.ts-sticky{background:#fff}
/* tab Persetujuan */
.recovery-panel{border-top:4px solid var(--orange)}
.recovery-heading{background:linear-gradient(180deg,#fff3ec,#fff)}
.recovery-count{background:var(--orange)!important;color:#fff!important;border-color:var(--orange)!important}
.recovery-row{border-left:4px solid #f2b79c}
.recovery-person strong{color:#b8420f}
/* Kartu & rincian hari */
.pcard{border-top:4px solid var(--green)}
.pcard-head{background:linear-gradient(180deg,#f1fbf5,#fff);margin:-16px -18px 0;padding:14px 18px 10px}
.pill{background:#fff1ea;color:#b8420f}
.dk:nth-child(1){background:#eef4fc;border-color:#cfe0f3}.dk:nth-child(1)>span{color:#2f5f9b}
.dk:nth-child(2){background:#fff3ec;border-color:#f7d3c0}.dk:nth-child(2)>span{color:#b8420f}
.dk-main{background:#e3f6ec;border-color:#a9e2c4}
/* Rekap */
table.recap thead th{background:#fff4ee;color:#b8420f;border-bottom:2px solid #f7cdb9}
table.recap tfoot td{background:#f1fbf5;color:#0f5a3f;border-top:2px solid #bfe3cf}
table.recap td strong{font-weight:500}table.recap td .num b,table.recap td.num b{font-weight:600}

/* 0.4.49 — Beranda: angka utama + kartu aksi, gerak halus */
.kpis{display:grid;grid-template-columns:1.5fr repeat(3,minmax(0,1fr));gap:14px;margin-bottom:16px}
.kpi{position:relative;display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:2px;padding:16px 18px;border:1px solid var(--line);border-top:4px solid var(--green);border-radius:14px;background:linear-gradient(180deg,#f1fbf5,#fff 62%);color:var(--ink);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;animation:kpiin .4s ease both}
.kpi small{font-size:11.5px;font-weight:700;letter-spacing:.5px;color:#51636a}
.kpi strong{font-size:38px;line-height:1.1;font-weight:700;letter-spacing:-1px;font-variant-numeric:tabular-nums;color:#0f5a3f;margin-top:4px}
.kpi strong span{font-size:14px;font-weight:500;letter-spacing:0;color:#51636a;margin-left:6px}
.kpi p{font-size:13px;color:#51636a;margin-top:4px}
button.kpi{cursor:pointer;font:inherit}
button.kpi:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(7,26,34,.10)}
button.kpi:focus-visible{outline:3px solid #2bc97c;outline-offset:2px}
.kpi:nth-child(2){animation-delay:.05s}.kpi:nth-child(3){animation-delay:.1s}.kpi:nth-child(4){animation-delay:.15s}
.kpi-hero{border:0;color:#f7f9f7;background:radial-gradient(circle at 85% 20%,#174c4c 0,#0b2a32 38%,#071a22 78%);padding:18px 22px;gap:4px}
.kpi-hero small{color:#9fd8bd}.kpi-hero strong{font-size:52px;color:#fff;margin-top:2px}.kpi-hero strong span{color:#b8cdc6}.kpi-hero p{color:#c8d9d3}
.kpi-bar{width:100%;height:8px;border-radius:99px;background:rgba(255,255,255,.16);margin:8px 0 2px;overflow:hidden}
.kpi-bar i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#2bc97c,#7be3ae);transform-origin:left;animation:barfill .7s .15s ease-out both}
.kpi-cta{margin-top:10px;border:0;border-radius:10px;background:var(--orange);color:#fff;font-weight:700;padding:9px 14px}
.kpi-in strong{color:#0f5a3f}
.kpi-live{position:absolute;top:16px;right:16px;width:10px;height:10px;border-radius:50%;background:#22b573;animation:livepulse 2s ease-out infinite}
.kpi-none{border-top-color:#4f7fbf;background:linear-gradient(180deg,#eef4fc,#fff 62%)}.kpi-none strong{color:#2f5f9b}
.kpi-act{border-top-color:#c9d3d0;background:linear-gradient(180deg,#f4f7f5,#fff 62%)}.kpi-act strong{color:#51636a}
.kpi-act.has{border-top-color:var(--orange);background:linear-gradient(180deg,#fff3ec,#fff 62%)}.kpi-act.has strong{color:#c4501f}.kpi-act.has p{color:#b8420f;font-weight:600}
.rs-in .rs-dot{animation:livepulse 2s ease-out infinite}
.rs-list li,.at-list li,.at-hols li{transition:background-color .15s ease}
.rs-list li:hover,.at-list li:hover{background:#f6faf8}
.dash-grid>*,.dash-row>*{animation:kpiin .4s .12s ease both}
.dc-col rect[rx]{transform-box:fill-box;transform-origin:50% 100%;animation:barrise .5s ease-out both;animation-delay:calc(var(--i,0)*16ms)}
.dc-donut circle[stroke-dasharray]{animation:fadein .6s ease both}
.rtab{transition:background-color .15s ease,color .15s ease,border-color .15s ease}
.rtabs~*{animation:fadein .25s ease both}
@keyframes kpiin{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes fadein{from{opacity:0}to{opacity:1}}
@keyframes barrise{from{transform:scaleY(0)}to{transform:scaleY(1)}}
@keyframes barfill{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes livepulse{0%{box-shadow:0 0 0 0 rgba(34,181,115,.45)}70%{box-shadow:0 0 0 8px rgba(34,181,115,0)}100%{box-shadow:0 0 0 0 rgba(34,181,115,0)}}
@media(max-width:900px){.kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.kpi-hero{grid-column:1/-1}}
@media(max-width:580px){.kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.kpi{padding:12px 14px}.kpi strong{font-size:30px}.kpi-hero strong{font-size:42px}.kpi-act{grid-column:1/-1}.kpi-live{top:12px;right:12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}

/* 0.4.50 — warna & gerak halus untuk Staf, Lokasi Kerja, Jadwal, Pengaturan */
.tabs button.active{color:#b8420f;border-bottom:3px solid var(--orange);background:#fff1ea;border-radius:10px 10px 0 0}
.tabs button.active span{background:#fde6dc;color:#b8420f}
.tabs button{transition:background-color .15s ease,color .15s ease}
.who-cell{display:flex;align-items:center;gap:10px}.who-cell .ts-av{margin-right:0;width:32px;height:32px;font-size:13px}.who-cell strong{display:block;font-weight:500}
.panel table thead th{background:#fff4ee;color:#b8420f;border-bottom:2px solid #f7cdb9}
.panel table tbody tr{transition:background-color .15s ease}.panel table tbody tr:hover{background:#fbfdfc}
.badge.role-owner{background:#f1e4f7;color:#6a3a85}.badge.role-admin{background:#e0ebf8;color:#2f5f9b}.badge.role-staff{background:#dff3e8;color:#17694c}
.status-pill{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;padding:3px 10px;border-radius:999px}
.status-pill::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
.status-pill.on{background:#e2f6eb;color:#12683e}.status-pill.off{background:#eef1f0;color:#6b7f78}
.loc-list-head{background:linear-gradient(180deg,#fff4ee,#fff);border-bottom:1px solid #f7cdb9}
.loc-list-head h2{color:#8f3510}
.loc-item{transition:background-color .15s ease,transform .15s ease}.loc-item:hover{background:#f6faf8}
.loc-item.is-selected{box-shadow:inset 3px 0 0 var(--orange)}
.quota-note{border-left:4px solid var(--orange)}
.settings-h{display:flex;align-items:center;gap:10px}.settings-h::before{content:"";width:4px;height:18px;border-radius:2px;background:var(--orange)}
.rules{border-top:4px solid var(--green)}
.rules>div>span{color:#b8420f;font-weight:600}
.rules>div{transition:background-color .15s ease}.rules>div:hover{background:#fbfdfc}
.empty-symbol{background:#fff1ea;color:#b8420f}
#content>.panel,#content>.empty,#content>.note,#content>.loc-layout,#content>.rules{animation:fadein .3s ease both}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
.row-actions{flex-wrap:wrap}

/* 0.4.53 — kartu ringkasan Staf, Lokasi, Paket; Jadwal */
.kpis-n3{grid-template-columns:1.5fr repeat(2,minmax(0,1fr))}
.kpis-n4{grid-template-columns:1.5fr repeat(3,minmax(0,1fr))}
.kpi-new{border-top-color:var(--green)}
.kpi-cta-tile{border-top-color:var(--orange);background:linear-gradient(180deg,#fff3ec,#fff 62%)}.kpi-cta-tile strong{color:#c4501f}
.kpi-cta-tile p{color:#b8420f;font-weight:600}
.pro-status .pro-top{margin-bottom:8px}
.schedule-card{border-left:4px solid var(--orange);transition:transform .18s ease,box-shadow .18s ease}.schedule-card:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(7,26,34,.08)}
.schedule-card strong{color:#0f5a3f;font-size:22px}
.empty .btn{margin-top:14px}.empty p{max-width:520px;margin-inline:auto}
@media(max-width:900px){.kpis-n3{grid-template-columns:repeat(2,minmax(0,1fr))}.kpis-n4{grid-template-columns:repeat(3,minmax(0,1fr))}.kpis-n3 .kpi-hero,.kpis-n4 .kpi-hero{grid-column:1/-1}}
@media(max-width:580px){.kpis-n4{grid-template-columns:repeat(2,minmax(0,1fr))}.kpis-n3{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* 0.4.54 — tombol tema */
.top-actions{display:flex;align-items:center;gap:10px}
.theme-toggle{width:42px;height:42px;display:inline-grid;place-items:center;border:1px solid var(--line);border-radius:12px;background:#fff;color:#10232b;font-size:19px;line-height:1;transition:background-color .15s ease,border-color .15s ease,transform .15s ease}
.theme-toggle:hover{background:#eff5f2;border-color:#bcd2c8}.theme-toggle:active{transform:scale(.94)}
@media(max-width:580px){.theme-toggle{width:40px;height:40px}}

#content:focus,#content:focus-visible{outline:none}
/* Foto profil */
.has-photo{padding:0!important;overflow:hidden;font-size:0!important;background:#dfe7e3}
.has-photo img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.ts-av.has-photo,.tm-av.has-photo{border-radius:50%}
.tm-av{width:26px;height:26px;font-size:11px;margin-right:6px}
.photo-form{display:grid;gap:14px;justify-items:center;text-align:center;margin-top:14px}
.photo-preview{display:grid;place-items:center;width:132px;height:132px;border-radius:50%;background:#eef2ef;color:#6b7f78;font-size:46px;font-weight:700;overflow:hidden}
.photo-preview img{display:block;width:100%;height:100%;object-fit:cover}
.photo-pick{cursor:pointer;display:inline-flex;align-items:center;justify-content:center}
.photo-form small{color:var(--muted,#51636a)}
.user button.avatar{width:35px;min-height:35px;height:35px;padding:0;border:0;font:inherit;font-size:14px;font-weight:700;cursor:pointer;border-radius:10px;flex:none}
.user button.avatar:focus-visible{outline:2px solid #8becb7;outline-offset:2px}

/* 0.4.59 — kartu angka sejajar di HP: dua kolom (Paket, Staf) dan tiga kolom (Lokasi) */
@media(max-width:580px){
 .kpis[class*="kpis-n"] .kpi-act{grid-column:auto}
 .kpis-n4.loc-kpis{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 .kpis-n4.loc-kpis .kpi-hero{grid-column:1/-1}
 .kpis-n4.loc-kpis .kpi{padding:10px 10px 12px}
 .kpis-n4.loc-kpis .kpi small{font-size:10.5px;letter-spacing:.2px}
 .kpis-n4.loc-kpis .kpi strong{font-size:28px}
 .kpis-n4.loc-kpis .kpi p{font-size:11.5px;line-height:1.3}
}
/* 0.4.60: tombol ajakan di spanduk demo */
.demo-cta{margin-left:auto;background:#2ecc82;color:#06241a;font-weight:700;font-size:14px;line-height:1;padding:9px 14px;border-radius:999px;text-decoration:none;white-space:nowrap}
.demo-cta:hover{background:#27b874}
#demo-banner .demo-cta+label{margin-left:0}
@media(max-width:580px){#demo-banner{align-items:center}#demo-banner>span{flex-basis:auto;flex:1 1 60%}.demo-cta{margin-left:0}}

/* 0.4.62: banner demo disembunyikan; kartu uji coba/daftar di sidebar; ganti peran demo lewat ?role= */
#demo-banner{display:none!important}
#side-card:empty{display:none}
.side-card{margin:0 4px 12px;padding:12px 14px;border-radius:12px;background:rgba(239,116,61,.14);border:1px solid rgba(239,116,61,.38);display:grid;gap:6px;color:#ffd9c2;font-size:13px;line-height:1.4}
.side-card strong{color:#fff;font-size:14px}
.side-card .btn{width:100%;justify-content:center;text-align:center;text-decoration:none}

/* Foto/inisial staf di daftar "Siapa yang bekerja"; titik status jadi lencana di sudut avatar */
.rs-list li{align-items:center}
.rs-avw{position:relative;flex:none;width:36px;height:36px}
.rs-av{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#eef2ef;color:#6b7f78;font-size:13px;font-weight:700}
.rs-av img{width:100%;height:100%;border-radius:50%;object-fit:cover;display:block}
.rs-avw .rs-dot{position:absolute;right:-1px;bottom:-1px;width:11px;height:11px;margin:0;border:2px solid #fff;box-shadow:none!important;animation:none!important}
.rs-in .rs-avw .rs-dot{background:#22b573}

/* 0.4.63: kartu hitung mundur uji coba Pro (otomatis aktif saat mendaftar) */
.side-card .sc-label{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#ffb98f}
.side-card .sc-count{color:#fff;font-size:14px}.side-card .sc-count b{font-size:28px;line-height:1;margin-right:4px;font-variant-numeric:tabular-nums}
.side-card .sc-bar{display:block;height:6px;border-radius:99px;background:rgba(255,255,255,.14);overflow:hidden}
.side-card .sc-bar i{display:block;height:100%;border-radius:99px;background:#ef743d}
.side-card .sc-note{font-size:12px;color:#ffd9c2}
.side-card .btn.ghost{background:transparent;border:1px solid rgba(255,185,143,.55);color:#ffd9c2}.side-card .btn.ghost:hover{background:rgba(255,185,143,.14)}
.side-card.ended{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.22)}.side-card.ended .sc-count{font-size:16px;font-weight:700}
.side-card.soon{background:rgba(220,60,50,.16);border-color:rgba(255,120,110,.5)}.side-card.soon .sc-bar i{background:#ff7a6e}
/* Pengaturan → Layar TV */
.tvp{padding:22px;display:grid;gap:14px}.tvp-lead{color:var(--ink);max-width:70ch}.tvp-warn{background:#fff4ec;border:1px solid #f7d2bd;border-left:3px solid var(--orange);border-radius:8px;padding:12px 14px;font-size:14px}
.tvp-how{margin:0;padding-left:1.3em;color:#355347;font-size:14px;line-height:1.8}.tvp-how strong{color:var(--ink);background:#edf7f0;padding:1px 7px;border-radius:6px}
.tvp-form{display:grid;grid-template-columns:minmax(150px,200px) minmax(180px,1fr) auto;gap:12px;align-items:end}.tvp-form label{display:grid;gap:6px;font-size:13px;font-weight:700;color:#355347}
.tvp-form input,.tvp-rename input{min-height:46px;padding:10px 12px;border:1px solid var(--line,#d6e2dc);border-radius:8px;background:#fff;font-size:16px;width:100%}.tvp-form input[name=code]{letter-spacing:.18em;font-weight:800;font-size:20px;font-variant-numeric:tabular-nums}
.tvp-h{margin:6px 0 0;font-size:15px;display:flex;gap:10px;align-items:baseline}.tvp-h span{font-size:13px;font-weight:400;color:#5d746a}
.tvp-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}.tvp-item{display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid var(--line,#d6e2dc);border-radius:10px;background:#fff}
.tvp-dot{width:10px;height:10px;border-radius:50%;background:#b7c4bd;flex:0 0 auto}.tvp-dot.on{background:var(--green)}
.tvp-info{flex:1;min-width:0;display:grid;gap:2px}.tvp-info span{font-size:13px;color:#5d746a}.tvp-act{display:flex;gap:14px;flex:0 0 auto}.tvp-danger{color:#b4381a}
.tvp-rename{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.tvp-rename input{min-height:38px;width:220px;font-size:14px}
.tvp-empty,.tvp-fine{font-size:13px;color:#5d746a}
@media(max-width:700px){.tvp-form{grid-template-columns:1fr}.tvp-item{flex-wrap:wrap}.tvp-act{width:100%}}

.side-card .text-button{background:none;border:0;padding:0;color:#ffd9c2;font:inherit;font-size:12px;text-align:left;text-decoration:underline;cursor:pointer}
.keep-panel{margin:14px 0}.keep-panel h2{margin:0 0 6px;font-size:18px}.keep-panel p{margin:0 0 12px;color:var(--muted);font-size:14px;line-height:1.5}
.keep-list{display:grid;gap:8px;margin:0 0 14px;max-height:min(42vh,288px);overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:2px 6px 2px 2px;scrollbar-width:thin}.keep-item{display:flex;gap:12px;align-items:center;padding:10px 12px;border:1px solid var(--line,#d6e2dc);border-radius:10px;cursor:pointer;min-height:44px}
.keep-item input{width:20px;height:20px;flex:0 0 auto;accent-color:#22b573}.keep-item strong{display:block;font-size:14px}.keep-item small{display:block;color:var(--muted);font-size:12px}.keep-item.is-off{opacity:.78}
/* 0.4.81 — Daftar lokasi: tombol tidak lagi terdorong ke pojok. Teks membungkus, tombol Ubah dan Arah ada satu baris di bawah teks. */
.loc-list{overflow-x:hidden}
.loc-item{display:block;padding:0}
.loc-pick{display:flex;width:100%;min-width:0;box-sizing:border-box;padding:12px 12px 6px 12px}
.loc-text{flex:1;min-width:0;overflow-wrap:anywhere}
.loc-text strong{display:inline;line-height:1.35}
.loc-text small{white-space:normal;overflow:visible;text-overflow:clip;line-height:1.45}
.loc-text small:nth-of-type(1){display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.loc-actions{display:flex;flex-direction:row;align-items:center;gap:8px;padding:0 12px 12px 32px}
.loc-edit{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 16px;border:1px solid #b9e0c9;background:#e2f6eb;color:#0f6b45;font-size:13.5px;font-weight:700;border-radius:9px}
.loc-route{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 14px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--link);font-size:13.5px;font-weight:700}
.loc-route:hover{background:#f2f7f4}
:root[data-theme=dark] .loc-edit{background:#14281f;border-color:#24503a;color:#7fe0ae}
:root[data-theme=dark] .loc-route{background:#121b1e;border-color:var(--line);color:#7fe0ae}
@media(max-width:580px){.loc-actions{padding-left:30px}.loc-edit,.loc-route{min-height:44px;font-size:14px}}

/* 0.4.81 — Jadwal khusus */
.special{margin-top:36px;padding-top:28px;border-top:1px solid var(--line)}
.special-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px}
.special-head h2{margin:2px 0 4px;font-size:22px}
.special-head p{margin:0;max-width:60ch;color:var(--muted)}
.special-head .btn{flex:none;white-space:nowrap}
.rule-list{display:grid;gap:12px}
.rule-card{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:18px 20px;background:#fff;border:1px solid var(--line);border-left:4px solid var(--green);border-radius:14px}
.rule-card.scheduled{border-left-color:#c9a227}.rule-card.paused{border-left-color:#aab8bd;opacity:.8}
.rule-main{min-width:0;flex:1}
.rule-title{display:flex;align-items:center;flex-wrap:wrap;gap:8px 10px}
.rule-title h3{margin:0;font-size:17px;overflow-wrap:anywhere}
.rule-scope{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 8px}
.rule-chip{display:inline-block;max-width:100%;padding:3px 10px;border-radius:999px;background:var(--soft);color:var(--ink);font-size:13px;overflow-wrap:anywhere}
.rule-chip b{margin-right:4px;color:#17694c;font-weight:700}
.rule-main p{margin:0;color:var(--muted);font-size:13px}
.rule-time{display:flex;flex-direction:column;align-items:flex-end;gap:2px;flex:none}
.rule-time strong{font-size:20px;color:#0f5a3f;white-space:nowrap}
.rule-time small{color:var(--muted)}
.rule-time .text-button{margin-top:6px;min-height:44px;padding:0 4px}
.rule-empty{display:grid;gap:4px;padding:22px 24px;border:1px dashed #b9cbc3;border-radius:14px;background:#fbfdfc}
.rule-empty span{color:var(--muted);max-width:62ch}
.sched-hint{display:block;margin-top:2px;color:var(--muted)}.sched-hint.special{color:#17694c;font-weight:600}
.pick-group{margin:12px 0}.pick-group>b{display:block;margin-bottom:6px;font-size:13px}
.pick-list{display:flex;flex-wrap:wrap;gap:6px;max-height:130px;overflow:auto;padding:2px}
.pick{display:inline-flex;align-items:center;gap:6px;margin:0;padding:6px 12px;min-height:36px;border:1px solid var(--line);border-radius:999px;background:#fff;font-size:13px;font-weight:500;cursor:pointer}
.pick input{width:auto;min-height:0;margin:0;accent-color:#17694c}
.pick:has(input:checked){background:#e6f6ee;border-color:#2bc97c}
.pick-hint{margin:6px 0 0;color:var(--muted);font-size:12.5px}.pick-none{margin:0;color:var(--muted);font-size:13px}
@media(max-width:580px){.special-head{flex-direction:column}.rule-card{flex-direction:column;gap:10px}.rule-time{flex-direction:row;align-items:baseline;flex-wrap:wrap;gap:8px}.rule-time .text-button{margin:0 0 0 auto}.pick{min-height:44px}}

/* 0.4.82 — Jadwal saya */
.my-sched{margin:8px 0 0;color:var(--muted);font-size:13px}.my-sched b{color:var(--ink);margin-right:4px}.my-sched.special{color:#17694c}
.my-sched-card{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:24px 0 18px;padding:18px 22px;border-left:4px solid var(--green)}
.my-sched-card.special{border-left-color:#17694c;background:#f3fbf7}
.my-sched-card h2{margin:2px 0 4px;font-size:19px;overflow-wrap:anywhere}.my-sched-card p{margin:0;color:var(--muted);font-size:13px}
.my-sched-time{display:flex;flex-direction:column;align-items:flex-end;flex:none}.my-sched-time strong{font-size:22px;color:#0f5a3f;white-space:nowrap}.my-sched-time small{color:var(--muted)}
@media(max-width:580px){.my-sched-card{flex-direction:column;align-items:flex-start;gap:8px}.my-sched-time{align-items:flex-start}}
.rule-card.ended{border-left-color:#aab8bd;opacity:.65}
/* 0.4.86 — Singgah: daftar per hari, nama, alamat, tautan Maps */
.singgah{margin:16px 0 4px;padding:14px 16px;border:1px solid #f5d3bf;border-left:4px solid #ef743d;border-radius:12px;background:#fff8f3}
.sg-head{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:8px}.sg-head h4{margin:0;font-size:15px;color:var(--ink)}.sg-head span{font-size:13px;color:var(--muted);white-space:nowrap}
.sg-list{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.sg-item{display:grid;gap:3px;min-width:0;padding-top:12px;border-top:1px dashed #f0cdb8}.sg-item:first-child{padding-top:0;border-top:0}
.sg-top{display:flex;justify-content:space-between;gap:12px;align-items:baseline}.sg-name{font-size:15px;color:var(--ink);overflow-wrap:anywhere}.sg-dur{font-variant-numeric:tabular-nums;font-weight:700;color:#b4501f;white-space:nowrap}
.sg-time{font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums}
.sg-addr{margin:2px 0 0;font-size:13px;line-height:1.45;color:#51636a;overflow-wrap:anywhere}.sg-addr.sg-none{font-style:italic;color:var(--muted)}
.sg-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin-top:6px}.sg-actions .btn{min-height:36px;padding:6px 14px;font-size:13px;width:auto;flex:none}
.sg-link{display:inline-flex;align-items:center;gap:6px;min-height:36px;font-size:13px;font-weight:700;color:#0f5a3f;text-decoration:underline;text-decoration-color:#bfe6d2;text-decoration-thickness:2px;text-underline-offset:4px}.sg-link::before{content:"";width:9px;height:9px;border-radius:50% 50% 50% 0;transform:rotate(-45deg);background:#ef743d;flex:none}.sg-link:hover{text-decoration-color:#22b573}.sg-link:focus-visible{outline:3px solid #22b573;outline-offset:2px;border-radius:4px}
.tl-singgah .tl-name{font-weight:600;color:var(--ink)}.tl-singgah .tl-name small{display:block;font-weight:400;color:#51636a;margin-top:2px}.tl-singgah::before{background:#8b5cf6}
.tl-singgah .sg-link{margin-left:8px}
@media(max-width:580px){.singgah{padding:12px}.sg-top{flex-direction:column;gap:2px}.sg-actions .btn{min-height:44px}.sg-link{min-height:44px}}
/* 0.4.87 — dialog Jadwal khusus lebih lebar di laptop: tiga daftar pilihan berdampingan */
@media(min-width:900px){
 #modal:has(#rule-form){width:min(980px,calc(100vw - 64px));max-width:none}
 #rule-form .pick-hint{max-width:none}
 #rule-form fieldset:first-of-type{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 18px}
 #rule-form fieldset:first-of-type>legend,#rule-form fieldset:first-of-type>.pick-hint{grid-column:1/-1}
 #rule-form fieldset:first-of-type .pick-list{max-height:260px}
}

/* 0.4.88 — Jam kerja lokasi (timesheet per lokasi): panel, grafik batang bertumpuk, daftar staf, matriks */
.sh{--sh-n:#22b573;--sh-o:#ef743d;--sh-heat:34,181,115;--sh-surface:#fcfcfb;display:flex;flex-direction:column;gap:16px;min-width:0}
.sh-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.sh-head h2{font-size:22px;letter-spacing:-.5px;line-height:1.25;overflow-wrap:anywhere}
.sh-head p{margin-top:2px;font-size:13px;color:var(--muted)}
.sh-close{flex:none;width:44px;height:44px;border:1px solid var(--line);border-radius:10px;background:#fff;font-size:24px;line-height:1;color:var(--ink)}
.sh-tabs,.sh-periods{display:flex;gap:6px;flex-wrap:wrap}
.sh-tabs button,.sh-periods button{min-height:44px;padding:8px 14px;border:1px solid var(--line);border-radius:999px;background:#fff;font-weight:650;font-size:13px;color:var(--ink)}
.sh-tabs button[aria-selected=true],.sh-periods button[aria-pressed=true]{background:var(--navy);border-color:var(--navy);color:#fff}
.sh-tabs{padding-bottom:2px;border-bottom:1px solid var(--line)}
.sh-body{display:flex;flex-direction:column;gap:18px;min-width:0}
.sh-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.sh-kpi{padding:12px 14px;border:1px solid var(--line);border-top:3px solid var(--sh-n);border-radius:10px;background:#fff;min-width:0}
.sh-kpi.sh-kpi-ot{border-top-color:var(--sh-o)}
.sh-kpi span{display:block;font-size:11.5px;font-weight:700;letter-spacing:.9px;text-transform:uppercase;color:var(--muted)}
.sh-kpi strong{display:block;margin-top:3px;font-size:26px;line-height:1.1;letter-spacing:-.8px;font-weight:780}
.sh-kpi strong em{font-style:normal;font-size:13px;font-weight:650;letter-spacing:0;color:var(--muted)}
.sh-kpi small{display:block;margin-top:3px;font-size:12px;color:var(--muted)}
.sh-chart,.sh-people{min-width:0}
.sh-chart-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:8px}
.sh-chart-head h3{font-size:15px;font-weight:750}
.sh-legend{display:flex;gap:14px;font-size:12.5px;color:var(--muted)}
.sh-legend span{display:inline-flex;align-items:center;gap:6px}
.sh-sw{display:inline-block;width:10px;height:10px;border-radius:3px;flex:none}
.sh-swn{background:var(--sh-n)}.sh-swo{background:var(--sh-o)}
.sh-chart-box{position:relative;border:1px solid var(--line);border-radius:12px;background:var(--sh-surface);padding:10px 6px 2px;min-height:200px}
.sh-svg{display:block;max-width:100%;overflow:visible}
.sh-n{fill:var(--sh-n)}.sh-o{fill:var(--sh-o)}
.sh-grid{stroke:#e5ece8;stroke-width:1}.sh-base{stroke:#bfcdc6;stroke-width:1}
.sh-axis{font-size:11px;fill:#51636a;font-family:inherit}.sh-fut{opacity:.45}
.sh-hit{fill:transparent;outline:none;cursor:default}.sh-hit.on,.sh-hit:focus-visible{fill:rgba(34,181,115,.10)}
.sh-hit:focus-visible{stroke:#17694c;stroke-width:1.5}
.sh-tip{position:absolute;top:6px;z-index:3;display:flex;flex-direction:column;gap:3px;min-width:132px;padding:9px 11px;border-radius:9px;background:var(--navy);color:#f7f9f7;font-size:12.5px;line-height:1.35;box-shadow:0 6px 20px #071a2230;pointer-events:none}
.sh-tip[hidden]{display:none}
.sh-tip b{font-size:13px}.sh-tip span{display:flex;align-items:center;gap:6px}.sh-tip .sh-tip-sub{color:#a8bbc2}
.sh-person{border:1px solid var(--line);border-radius:10px;background:#fff;margin-bottom:8px}
.sh-person>summary{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 14px;min-height:56px;cursor:pointer;list-style:none}
.sh-person>summary::-webkit-details-marker{display:none}
.sh-person[open]>summary{border-bottom:1px solid var(--line)}
.sh-pname{display:flex;flex-direction:column;min-width:0;text-align:left}
.sh-pname strong{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sh-pname small{font-size:12px;color:var(--muted)}
.sh-track{display:flex;gap:2px;height:10px;border-radius:5px;background:#edf3f0;overflow:hidden}
.sh-track i{display:block;height:100%}.sh-tn{background:var(--sh-n)}.sh-to{background:var(--sh-o)}
.sh-ptotal{font-weight:750;font-size:14px;min-width:64px;text-align:right}
.sh-days{padding:4px 14px 10px;overflow-x:auto}
.sh-days table,.sh-matrix table{width:100%;border-collapse:collapse;font-size:13px}
.sh-days th,.sh-days td{padding:7px 8px;text-align:left;border-bottom:1px solid #edf3f0;white-space:nowrap}
.sh-days th{font-size:11.5px;letter-spacing:.7px;text-transform:uppercase;color:var(--muted)}
.sh-days i{font-style:normal;color:var(--muted)}.sh-ot-text{color:#a8431a}
.sh-sites{display:flex;flex-direction:column;gap:8px}
.sh-site{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;padding:10px 14px;min-height:56px;border:1px solid var(--line);border-radius:10px;background:#fff;text-align:left}
.sh-site.cur{border-color:var(--sh-n);box-shadow:inset 3px 0 0 var(--sh-n)}
.sh-matrix{overflow-x:auto;border:1px solid var(--line);border-radius:10px;background:#fff}
.sh-matrix th,.sh-matrix td{padding:9px 8px;text-align:right;border-bottom:1px solid #edf3f0;white-space:nowrap}
.sh-matrix thead th{font-size:11.5px;letter-spacing:.5px;color:var(--muted);vertical-align:bottom;max-width:108px;white-space:normal;line-height:1.3}
.sh-matrix .sh-sticky{position:sticky;left:0;text-align:left;background:#fff;z-index:1;font-weight:650;border-right:1px solid var(--line);max-width:150px;overflow:hidden;text-overflow:ellipsis}
.sh-matrix .sh-cur{color:#17694c;box-shadow:inset 0 -3px 0 var(--sh-n)}
.sh-matrix .sh-zero{color:#9aaab1}.sh-matrix .sh-sum{font-weight:750}
.sh-matrix tfoot th,.sh-matrix tfoot td{border-top:2px solid var(--line);border-bottom:0}
.sh-fine{font-size:12.5px;line-height:1.7;color:var(--muted)}
.sh-state{display:flex;flex-direction:column;align-items:center;gap:10px;padding:34px 18px;text-align:center}
.sh-state h3{font-size:17px}.sh-state p{max-width:440px}
.sh-lock-icon{display:grid;place-items:center;width:56px;height:56px;border-radius:16px;background:#e6f3ec;font-size:26px}
.sh-none{border:1px dashed var(--line);border-radius:12px;background:#fbfdfc}
.sh-spin{width:26px;height:26px;border:3px solid var(--line);border-top-color:var(--sh-n);border-radius:50%;animation:sh-rot .8s linear infinite}
@keyframes sh-rot{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.sh-spin{animation:none}}
.sh-foot{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}.sh-foot .btn{width:auto;flex:0 0 auto}
.sh-empty-note{padding:14px;color:var(--muted)}
.loc-hours{color:#17694c;font-weight:650}
.loc-hours-btn{border:1px solid #bdcec6;background:#fff;color:var(--ink);font:inherit;font-weight:700;font-size:13px;border-radius:8px;padding:7px 12px;min-height:34px;cursor:pointer}
.loc-hours-btn:hover{background:#f3f8f5}
.loc-hours-all{white-space:nowrap}
@media(min-width:900px){#modal:has(.sh){width:min(960px,calc(100vw - 64px));max-width:none}}
@media(max-width:640px){
 .sh-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
 .sh-kpi strong{font-size:23px}
 .sh-head h2{font-size:19px}
 .sh-person>summary,.sh-site{grid-template-columns:minmax(0,1fr) auto;row-gap:8px}
 .sh-person .sh-track,.sh-site .sh-track{grid-column:1/-1;order:3}
 .loc-hours-btn{font-size:12px;padding:7px 9px;min-height:44px}
 .sh-foot .btn{flex:1 1 auto}
}
@media(max-width:640px){.sh-matrix thead th{max-width:84px;font-size:11px}.sh-matrix .sh-sticky{max-width:104px}}

/* 0.4.92 — Tab Singgah (ringkas: satu baris per singgah) */
.sg-lead{margin:0 0 12px}.sg-lead p{margin:0 0 6px;font-size:14px;line-height:1.55;color:#40545c}.sg-lead b{color:var(--ink)}
.sg-info summary{display:inline-block;cursor:pointer;font-size:13px;font-weight:600;color:var(--link);min-height:32px;line-height:32px}
.sg-info ul{margin:4px 0 0;padding-left:18px;font-size:13px;line-height:1.55;color:#40545c}
.report-stats.sg-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 14px}
.sg-stats .stat{padding:14px 16px}.sg-stats .stat b{font-size:24px}
.sg-bar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;margin:0 0 12px}
.sg-filter{display:flex;flex-wrap:wrap;gap:8px}.sg-filter .chip-btn{min-height:40px}
.sg-n{display:inline-block;min-width:20px;padding:0 6px;margin-left:4px;border-radius:999px;background:rgba(16,35,43,.08);font-size:12px;text-align:center;font-variant-numeric:tabular-nums}
.sg-places{background:#fff;border:1px solid var(--line);border-radius:12px;margin:0 0 12px}
.sg-places>summary{display:flex;align-items:center;gap:8px;padding:12px 16px;cursor:pointer;font-weight:700;font-size:14px;min-height:46px;list-style:none}
.sg-places>summary::-webkit-details-marker{display:none}
.sg-places>summary span{font-size:12px;background:var(--soft);border-radius:999px;padding:0 8px;color:var(--muted)}
.sg-places>summary::after,.sg-person>summary::after{content:"";margin-left:auto;width:8px;height:8px;border-right:2px solid #6b7f78;border-bottom:2px solid #6b7f78;transform:rotate(45deg);flex:none;transition:transform .15s}
.sg-places[open]>summary::after,.sg-person[open]>summary::after{transform:rotate(-135deg)}
.sg-places ol{list-style:none;margin:0;padding:0 16px 12px;display:grid;gap:10px}
.sg-places li{display:flex;justify-content:space-between;gap:12px;align-items:center;padding-top:10px;border-top:1px dashed var(--line)}
.sg-places li div{display:grid;min-width:0}.sg-places li b{font-size:14px;overflow-wrap:anywhere}.sg-places li span{font-size:13px;color:var(--muted)}
.sg-people{display:grid;gap:10px}
.sg-person{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.sg-person>summary{display:flex;align-items:center;gap:10px;padding:12px 16px;cursor:pointer;list-style:none;min-height:50px}
.sg-person>summary::-webkit-details-marker{display:none}
.sg-person>summary b{flex:1;min-width:0;font-size:15px;overflow-wrap:anywhere}
.sg-person>summary em{font-style:normal;font-size:13px;color:var(--muted)}
.sg-person>summary span{font-size:14px;font-weight:700;color:#b4501f;font-variant-numeric:tabular-nums;white-space:nowrap}
.sg-head-row,.sg-row{display:grid;grid-template-columns:118px minmax(0,1fr) 84px 170px;gap:6px 14px;align-items:start;padding:10px 16px}
.sg-head-row{border-top:1px solid var(--line);background:var(--soft);font-size:12px;font-weight:700;color:var(--muted);letter-spacing:.02em;padding-top:7px;padding-bottom:7px}
.sg-rows{list-style:none;margin:0;padding:0}
.sg-row{border-top:1px solid var(--line)}.sg-row:first-child{border-top:0}
.sg-when{display:grid;line-height:1.35}.sg-when b{font-size:14px}.sg-when span{font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums}
.sg-where{display:grid;gap:2px;min-width:0}.sg-where>b{font-size:14.5px;overflow-wrap:anywhere}
.sg-addr{font-size:13px;line-height:1.45;color:#51636a;overflow-wrap:anywhere}.sg-addr.sg-none{font-style:italic;color:var(--muted)}
.sg-links{display:flex;flex-wrap:wrap;gap:4px 14px;align-items:center;margin-top:2px}.sg-links .text-button{min-height:32px;font-size:13px}
.sg-len b{font-size:15px;color:#b4501f;font-variant-numeric:tabular-nums;white-space:nowrap}
.sg-select{width:100%;min-height:40px;border:1px solid #cdd9d4;border-radius:10px;background:#fff;color:var(--ink);font:inherit;font-size:13.5px;font-weight:600;padding:0 10px}
.sg-select-work{background:#dff6e9;border-color:#a9dcc0;color:#14633f}.sg-select-personal{background:#e6edf5;border-color:#bccde0;color:#34506b}.sg-select-ignore{background:#eef0ef;color:#5c6b66}
.sg-mark{display:inline-block;padding:3px 10px;border-radius:999px;font-size:12.5px;font-weight:700}
.sg-mark-work{background:#dff6e9;color:#14633f}.sg-mark-personal{background:#e6edf5;color:#34506b}.sg-mark-ignore{background:#eef0ef;color:#5c6b66}
.sg-none-tag{font-size:13px;color:var(--muted)}
@media(max-width:700px){
 .report-stats.sg-stats{gap:8px}.sg-stats .stat{padding:12px}.sg-stats .stat b{font-size:20px}.sg-stats .stat span{font-size:12px}
 .sg-head-row{display:none}
 .sg-row{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"when len" "where where" "tag tag";padding:12px 16px}
 .sg-when{grid-area:when;display:flex;gap:8px;align-items:baseline}.sg-len{grid-area:len;text-align:right}.sg-where{grid-area:where}.sg-tag{grid-area:tag}
 .sg-bar .btn{width:100%}
}
.sg-bar-r{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.sg-view button{min-height:40px}
.sg-placecard>summary{align-items:flex-start;padding:14px 16px}
.sg-pin{flex:none;width:12px;height:12px;margin-top:5px;border-radius:50% 50% 50% 0;background:var(--orange);transform:rotate(-45deg)}
.sg-ptitle{flex:1;min-width:0;display:grid;gap:2px}.sg-ptitle b{font-size:16px;line-height:1.3;overflow-wrap:anywhere}.sg-ptitle small{font-size:13px;line-height:1.4;color:var(--muted);overflow-wrap:anywhere}
.sg-psum{display:grid;justify-items:end;gap:1px;flex:none}.sg-psum span{font-size:15px;font-weight:700;color:#b4501f;font-variant-numeric:tabular-nums}.sg-psum em{font-style:normal;font-size:12.5px;color:var(--muted);white-space:nowrap}
.sg-placecard>summary::after{margin-top:6px}
.sg-ptools{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;justify-content:space-between;padding:0 16px 12px 38px}
.sg-ptools .sg-place-select{width:auto;min-width:190px}
@media(max-width:700px){.sg-bar-r{width:100%}.sg-bar-r .btn{flex:1}.sg-ptools{padding-left:16px}.sg-ptools .sg-place-select{width:100%}}

.ts-table small.cont{display:block;font-size:11px;font-weight:600;color:var(--muted);line-height:1.2}
.rs-hint{margin:8px 0 0;font-size:12px;color:var(--muted);text-align:center}
@media(max-width:700px){.rs-list{max-height:46vh}}
.site-danger{display:grid;gap:6px;justify-items:start;border-top:1px solid var(--line);padding-top:8px}
.site-danger .danger{background:none;border:0;color:#b42318;font-weight:650;font-size:14px;padding:8px 0;min-height:40px;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.site-danger small{color:var(--muted);font-size:13px;line-height:1.45}

.card-actions{display:flex;gap:4px;justify-content:flex-end;margin-top:6px}.card-actions .text-button{min-height:44px;padding:0 10px}

/* Filter laporan: di HP dipadatkan. Satu baris ringkasan (ketuk untuk membuka tanggal, lokasi, staf), lalu rentang cepat yang bisa digeser, lalu pilihan tampilan. Di layar lebar tidak berubah. */
.filter-summary{display:none}
.filter-fields{display:contents}
.fq-chips{display:contents}
@media(max-width:760px){
 #report-filter.filter-bar{display:flex;flex-direction:column;align-items:stretch;gap:8px;padding:10px}
 #report-filter .filter-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:46px;width:100%;padding:0 14px;border:1px solid #d7e4dd;border-radius:12px;background:#fff;color:var(--ink);font:inherit;font-size:14px;font-weight:650;text-align:left;cursor:pointer}
 #report-filter .fs-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 #report-filter .fs-edit{flex:none;color:#b8420f;font-size:13px;font-weight:800}
 #report-filter .filter-summary:focus-visible{outline:2px solid var(--orange);outline-offset:2px}
 #report-filter .filter-fields{display:none}
 #report-filter.is-open .filter-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:end}
 #report-filter .filter-fields label{min-width:0}
 #report-filter .filter-fields input,#report-filter .filter-fields select{width:100%;min-width:0}
 #report-filter .filter-fields .btn{grid-column:1/-1;width:100%}
 #report-filter .filter-quick{flex-basis:auto;flex-direction:column;align-items:stretch;gap:8px;margin-top:0}
 #report-filter .fq-chips{display:flex;gap:6px;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}
 #report-filter .fq-chips::-webkit-scrollbar{display:none}
 #report-filter .fq-chips .chip-btn{flex:none;min-height:36px;padding:4px 14px;font-size:13px}
 #report-filter .view-toggle{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;margin:0}
 #report-filter .view-toggle button{min-height:36px;padding:4px 8px}
}

/* Kartu hari 0.4.153 */
.dc .day-head{font-size:13px;color:var(--muted);font-weight:600}
.dc-top{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-top:8px}
.dc-total{display:block;font-size:34px;line-height:1;font-weight:700;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.dc-sub{display:block;margin-top:6px;font-size:12.5px;color:var(--muted)}
.dc-chips{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px;max-width:230px}
.dc-chips span{font-size:11.5px;font-weight:600;color:#4b5852;background:#eef2ef;border-radius:99px;padding:3px 10px;white-space:nowrap}
.dc-bar{position:relative;height:10px;border-radius:5px;background:#e8edea;overflow:hidden;margin-top:14px}
.dc-bar i{position:absolute;top:0;bottom:0}
.dc-bar u{position:absolute;top:0;bottom:0;width:1px;background:#fff}
.dc-axis{position:relative;height:14px;margin-top:3px;font-size:11px;color:#6a7770;font-variant-numeric:tabular-nums}
.dc-axis span{position:absolute}.dc-axis span:nth-child(2),.dc-axis span:nth-child(3),.dc-axis span:nth-child(4){transform:translateX(-50%)}
.b-g{background:#22b573}.b-o{background:#ef743d}.b-l{background:#9aa4b2}.b-pc{background:#3b6fd8}
.dc-rows{margin-top:6px}
.dc-row{padding:9px 0;border-top:1px solid #edf1ee}
.dc-main{display:flex;align-items:flex-start;gap:10px}
.dc-dot{flex:none;width:10px;height:10px;border-radius:50%;margin-top:6px}
.dc-txt{flex:1 1 auto;min-width:0}.dc-txt b{display:block;font-size:14px;font-weight:600;line-height:1.35}.dc-txt small{display:block;font-size:12.5px;color:var(--muted);margin-top:1px}
.dc-dur{flex:none;font-size:14px;font-weight:700;font-variant-numeric:tabular-nums}
.dc-more{margin:6px 0 0 20px}.dc-more summary{cursor:pointer;font-size:12.5px;font-weight:600;color:var(--link)}
.dc-kids{list-style:none;margin:8px 0 0;padding:0 0 0 12px;border-left:2px solid #e6ebe8;display:flex;flex-direction:column;gap:6px;font-size:13px}
.dc-kids li{display:flex;justify-content:space-between;gap:10px}.dc-kids b{font-weight:600;font-variant-numeric:tabular-nums}
.dc-warn{display:flex;align-items:center;gap:10px;background:#fbf3df;border-radius:10px;padding:8px 12px;margin:6px 0;font-size:12.5px;color:#6b4a0a}
.dc-warn span{flex:1 1 auto}.dc-link{flex:none;border:0;background:none;padding:0;font-weight:700;color:var(--link);cursor:pointer}
@media (max-width:520px){.dc-top{flex-direction:column;align-items:flex-start}.dc-chips{justify-content:flex-start;max-width:none}}

.dc-now{position:absolute;top:0;bottom:0;width:2px;margin-left:-1px;background:#14201b;border-radius:1px}
.pay-help-ok{border-color:#25a244;background:#eefaf1}.pay-help-ok b{color:#17692c}.pay-reject{color:#a3341a;font-weight:600}.claim-pick{position:relative;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;overflow:hidden}.claim-pick input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;font-size:0}.claim-pick:focus-within{outline:3px solid #1d6fd8;outline-offset:2px}.claim-list{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:10px}.claim-item{display:grid;grid-template-columns:1fr auto;gap:6px 12px;padding:12px 14px;border:1px solid #d8dfd9;border-radius:12px;background:#fff}.claim-main{display:grid;gap:2px;min-width:0}.claim-main small{color:#5a655d;overflow-wrap:anywhere}.claim-sum{display:grid;gap:4px;justify-items:end}.claim-acts{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px;align-items:center}.claim-ask{font-size:13.5px;font-weight:600}.claim-img{grid-column:1/-1;max-width:100%;max-height:70vh;object-fit:contain;border-radius:8px;border:1px solid #d8dfd9;background:#f4f6f4}.claim-menunggu{background:#fff4ec;color:#8f3a12}.claim-disetujui{background:#e6f6ea;color:#17692c}.claim-ditolak{background:#fdecec;color:#a3341a}
.claim-admin{margin-bottom:14px}

/* 0.4.180 — Paket: dua kartu berdampingan (Gratis tenang, Pro menonjol), tabel perbandingan tiga kelompok di balik tombol. */
.pl{margin:16px 0 18px}
.pl-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:stretch}
.pl-card{position:relative;display:flex;flex-direction:column;gap:8px;padding:26px 26px 22px;border:1px solid var(--line);border-radius:18px;background:#fff}
.pl-card h2{font-size:24px;line-height:1.2;letter-spacing:-.4px;margin:0}
.pl-lead{margin:0;color:var(--muted);font-size:14.5px;line-height:1.5}
.pl-price{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0 0}
.pl-price strong{font-size:36px;line-height:1.1;letter-spacing:-1px;color:var(--ink);font-variant-numeric:tabular-nums}
.pl-price span{font-size:14px;color:var(--muted)}
.pl-bill{margin:0;font-size:13.5px;line-height:1.5;color:var(--muted)}
.pl-now{margin:10px 0 0;padding:11px 14px;border-radius:10px;background:#eef1f0;color:#5d716a;font-size:14px;font-weight:700;text-align:center}
.pl-plus{margin:14px 0 0;font-size:14px;font-weight:800;color:var(--ink)}
.pl-list{list-style:none;margin:6px 0 0;padding:0;display:grid;gap:10px}
.pl-list li{display:flex;gap:10px;align-items:flex-start;font-size:14.5px;line-height:1.4;color:var(--ink)}
.pl-list .vs-yes{flex:none;width:20px;height:20px;margin-top:0}.pl-list .vs-yes::after{left:5.5px;top:5px;width:9px;height:4.5px}
.pl-free{background:#fafcfb}.pl-free .vs-yes{background:#b8c9c1}
.pl-pro{border:2px solid var(--green);padding:25px 25px 21px;box-shadow:0 8px 28px rgba(34,181,115,.12)}
.pl-badge{position:absolute;top:-13px;left:24px;padding:4px 12px;border-radius:999px;background:var(--green);color:var(--navy);font-size:12.5px;font-weight:800}
.pl-pro .calc{margin-top:8px;padding:0;border:0;box-shadow:none;background:none}
.pl-pro .calc h3{font-size:15px;margin:0 0 8px}
.pl-pro .calc-steps{display:none}
.pl .up-wait{margin:8px 0 0;padding:12px 14px;border-radius:10px;background:#fff6e8;color:#8a5a1d;font-size:14px}
.pl>.plan-compare-toggle{display:block;margin:16px auto 0}
.pl .vs{margin-top:12px}
.vs-grid{--c1:96px;--c2:104px}
.vs-group>*{padding:18px 0 6px!important;border-top:0!important}
.vs-group .vs-gname{font-size:12px;font-weight:800;letter-spacing:.9px;text-transform:uppercase;color:var(--link)}
@media(max-width:760px){.pl-grid{grid-template-columns:1fr;gap:22px}.pl-pro{order:-1}.pl-card{padding:22px 18px 18px}.pl-pro{padding:21px 17px 17px}.pl-price strong{font-size:32px}.vs-grid{--c1:76px;--c2:84px}}

/* 0.4.181 — Daftar lokasi ringkas: nama 2 baris, satu baris info, aksi jadi tombol ikon di kanan. */
.loc-list .loc-item{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:4px;padding:0;border:0;border-bottom:1px solid var(--line);border-radius:0}
.loc-list .loc-item .loc-pick{padding:5px 2px 5px 8px;width:auto}
.loc-list .loc-pick .loc-dot{margin-top:4px}
.loc-list .loc-name{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13.5px;line-height:1.3;margin:0}
.loc-meta{display:flex;flex-wrap:wrap;align-items:center;gap:1px 8px;margin-top:1px;font-size:12.5px;line-height:1.35;color:var(--muted)}
.loc-meta>[hidden]{display:none}
.loc-meta .loc-type{margin-right:0}
.loc-meta .loc-who b{color:var(--ink);font-weight:600}
.loc-meta .loc-seen b,.loc-meta .loc-seen .loc-mid-text{font-weight:700}
.loc-list .loc-item .loc-side{display:flex;flex-direction:column;align-items:flex-end;gap:7px;padding:10px 10px 10px 0}
.loc-list .loc-item .loc-actions{display:flex;flex-direction:row;gap:4px;padding:0;opacity:.6;transition:opacity .15s}
.loc-list .loc-item:hover .loc-actions,.loc-list .loc-item.is-selected .loc-actions,.loc-list .loc-item:focus-within .loc-actions{opacity:1}
.loc-list .loc-actions .loc-edit,.loc-list .loc-actions .loc-hours-btn,.loc-list .loc-actions .loc-route{display:inline-grid;place-items:center;width:34px;height:34px;min-height:34px;padding:0;border-radius:8px;border:1px solid var(--line);background:#fff;color:#0f6b45;font-size:0}
.loc-list .loc-actions .loc-edit{background:#e2f6eb;border-color:#b9e0c9}
.loc-list .loc-actions .loc-edit:hover,.loc-list .loc-actions .loc-hours-btn:hover,.loc-list .loc-actions .loc-route:hover{background:#d3efe0}
@media(max-width:820px),(hover:none){.loc-list .loc-item .loc-actions{opacity:1}.loc-list .loc-actions .loc-edit,.loc-list .loc-actions .loc-hours-btn,.loc-list .loc-actions .loc-route{width:44px;height:44px;min-height:44px}}
:root[data-theme=dark] .loc-list .loc-actions .loc-edit{background:#14281f;border-color:#24503a;color:#7fe0ae}
:root[data-theme=dark] .loc-list .loc-actions .loc-hours-btn,:root[data-theme=dark] .loc-list .loc-actions .loc-route{background:#121b1e;border-color:var(--line);color:#7fe0ae}
:root[data-theme=dark] .loc-meta .loc-who b{color:#d5eaf4}
.loc-list .loc-meta .loc-hours{font-weight:500;color:var(--muted);margin:0}
.loc-list .loc-item .loc-side{gap:3px;padding:4px 6px 4px 0}
.loc-list .loc-actions .loc-edit,.loc-list .loc-actions .loc-hours-btn,.loc-list .loc-actions .loc-route{width:30px;height:30px;min-height:30px}
.loc-list .loc-actions svg{width:15px;height:15px}
.loc-list .loc-item.has-switch .loc-pick{padding-right:4px}
.loc-list .loc-item .loc-side .loc-switch{position:static;top:auto;right:auto;min-width:0;min-height:0;padding:0;gap:3px;align-items:center}
.loc-list .loc-item .loc-side .loc-switch-text{font-size:10.5px}
.loc-list .loc-meta .loc-seen{white-space:nowrap}

/* 0.4.185 — Layar lebar: bilah atas dilebur. Tombol tema dan Clock In sejajar di ujung kanan baris judul halaman (posisi dihitung skrip: --hd-top, --hd-right). */
@media(min-width:851px) and (pointer:fine){
 html:not(.app-mode) body.hd-inline .topbar{height:0;min-height:0;padding:0;border:0;background:none;position:relative;z-index:6;overflow:visible}
 html:not(.app-mode) body.hd-inline .topbar>div:first-of-type,html:not(.app-mode) body.hd-inline .topbar #menu-toggle{display:none}
 html:not(.app-mode) body.hd-inline .top-actions{position:absolute;top:var(--hd-top,26px);right:var(--hd-right,26px);gap:12px}
 html:not(.app-mode) body.hd-inline .page-heading{padding-right:196px;min-height:46px}
 html:not(.app-mode) body.hd-inline .page-heading .heading-actions{justify-content:flex-end}
}

/* 0.4.187 — Lokasi kerja di layar lebar: peta dan daftar memanjang sampai dasar layar (daftar yang panjang digulir di dalam kartunya). */
@media(min-width:821px) and (pointer:fine){
 body:has(.loc-layout) #content{display:flex;flex-direction:column}
 body:has(.loc-layout) .loc-layout{flex:1 1 auto;min-height:480px;grid-template-rows:minmax(0,1fr)}
 body:has(.loc-layout) .loc-map-card,body:has(.loc-layout) .loc-list-card{min-height:0;max-height:none}
 body:has(.loc-layout) .loc-map{min-height:0}
 body:has(.loc-layout) .loc-list{flex:1 1 0;min-height:0}
}

/* 0.4.190 balon peta tim di HP: turun satu tingkat, maksimal 2 baris; laptop tetap ukuran semula */
@media(max-width:850px){
html body #tm-map .leaflet-tooltip.person-map-tip{max-width:min(260px,calc(100vw - 60px))}
html body #tm-map .person-map-tip .tip-title{font-size:12px;line-height:1.3;margin-bottom:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body #tm-map .person-map-tip small{display:block;font-size:11px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body #tm-map .person-map-tip .tip-job{font-size:10px}
}

/* 0.4.192 HP (browser DAN aplikasi Android): skala ringkas. Laptop tidak berubah. */
@media(max-width:580px){
 html #content{padding:12px 12px 14px}
 html.app-mode #content{padding:12px 12px calc(84px + env(safe-area-inset-bottom,0px))}
 html .topbar{min-height:48px;height:48px;padding:6px 12px;gap:8px}
 html #menu-toggle,html .topbar .theme-toggle{min-width:34px;min-height:34px;width:34px;height:34px;font-size:15px}
 html .topbar .btn,html .topbar #open-clock{min-height:34px;padding:0 11px;font-size:13px}
 html .topbar #page-title{font-size:15px}
 html .page-heading{margin-bottom:10px;gap:8px}
 html .page-heading h1{font-size:20px;letter-spacing:-.5px}
 html.app-mode .page-heading:not(:has(button,.btn,a.btn)){display:none}
 html .page-heading>div>p,html .page-heading p{font-size:12.5px;margin-top:2px}
 html .eyebrow{font-size:10.5px;letter-spacing:1.1px;margin-bottom:4px}
 html .kpis{gap:8px;margin-bottom:8px}
 html .kpi{padding:9px 12px;border-radius:12px;border-top-width:3px}
 html .kpi small{font-size:10px;letter-spacing:.3px}
 html .kpi strong{font-size:22px;margin-top:1px}
 html .kpi strong span{font-size:12px;margin-left:4px}
 html .kpi p{font-size:11.5px;margin-top:1px}
 html .kpi-hero{padding:11px 14px}
 html .kpi-hero strong{font-size:30px}
 html .kpi-bar{height:5px;margin:5px 0 2px}
 html .report-stats{gap:6px;margin:8px 0}
 html .report-stats .stat{padding:8px 10px;border-radius:10px;border-top-width:3px}
 html .report-stats .stat b{font-size:18px;line-height:1.2}
 html .report-stats .stat span{font-size:11px;line-height:1.3;display:block}
 html .rtabs{margin:0 0 8px}
 html .rtab{padding:8px 12px;font-size:13px}
 html .filter-bar{padding:8px 10px;margin-bottom:8px;border-radius:12px;gap:8px}
 html .filter-summary{min-height:34px;padding:0 10px;font-size:13px;border-radius:10px}
 html .filter-quick{gap:6px;margin-top:6px}
 html .fq-chips{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;gap:6px}
 html .chip-btn{min-height:30px;padding:3px 11px;font-size:12px;white-space:nowrap;flex:none}
 html .view-toggle{padding:2px;border-radius:10px;margin-left:0;width:100%}
 html .view-toggle button{min-height:30px;padding:3px 10px;font-size:12px;flex:1}
 html .export-bar{padding:8px 12px;gap:8px;border-radius:12px}
 html .export-bar strong{font-size:13.5px}
 html .export-bar span{font-size:11.5px}
 html .export-bar .btn,html .export-bar .text-button{min-height:34px;padding:0 12px;font-size:12.5px}
 html .tabs{margin-bottom:8px}
 html .tabs button{padding:8px 10px;font-size:13px}
 html .field-hint{font-size:12px}
 html .staff-list .row-actions{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0 2px;overflow-x:auto;scrollbar-width:none;margin:0 -6px}
 html .staff-list .row-actions::-webkit-scrollbar{display:none}
 html .staff-list .row-actions .text-button{flex:none;min-height:40px;margin:0;padding:0 6px;font-size:13px;font-weight:700;white-space:nowrap}
}

/* 0.4.193 HP: Staf (satu kartu ringkas per orang), Lokasi kerja, Laporan lapangan. Laptop tidak berubah. */
@media(max-width:580px){
 /* Staf: avatar+nama kiri, peran & status kanan, tindakan satu baris */
 html body .staff-list tbody tr{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:0 6px;padding:8px 12px;border-bottom:1px solid var(--line)}
 html body .staff-list tbody td{display:block;width:auto;min-width:0;padding:0!important;margin:0;border:0!important;font-size:11.5px;color:var(--muted,#5d7068)}
 html body .staff-list tbody td:nth-child(1){grid-column:1;grid-row:1;font-size:13.5px;color:var(--ink)}
 html body .staff-list tbody td:nth-child(3){grid-column:2;grid-row:1}
 html body .staff-list:not(.has-cols) tbody td:nth-child(5),html body .staff-list.has-cols tbody td:nth-child(7){grid-column:3;grid-row:1}
 html body .staff-list tbody td:nth-child(2){grid-column:1/-1;grid-row:2;margin:2px 0 0 40px}
 html body .staff-list tbody td:nth-child(2):has(.muted:only-child){display:none}
 html body .staff-list tbody td:nth-child(4){display:none}
 html body .staff-list.has-cols tbody td:nth-child(5),html body .staff-list.has-cols tbody td:nth-child(6){grid-column:1/-1;margin:2px 0 0 40px}
 html body .staff-list.has-cols tbody td:nth-child(5):has(.muted:only-child),html body .staff-list.has-cols tbody td:nth-child(6):has(.muted:only-child){display:none}
 html body .staff-list tbody td:last-child{grid-column:1/-1;grid-row:9;width:auto;margin:4px 0 0;padding-top:0!important;border-top:1px solid var(--line)!important}
 html body .staff-list .who-cell{gap:8px}
 html body .staff-list .who-cell .ts-av{width:32px;height:32px;font-size:12px;flex:none}
 html body .staff-list .who-cell strong{font-size:13.5px;font-weight:600;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 html body .staff-list .who-cell small.sub{display:block;font-size:11.5px;line-height:1.25;max-width:calc(100vw - 190px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 html body .staff-list .badge,html body .staff-list .status-pill{font-size:10.5px;padding:2px 7px;border-radius:999px;line-height:1.4}
 html body .staff-list .row-actions{display:flex;flex-wrap:nowrap;gap:0 4px;justify-content:space-between;overflow-x:auto;scrollbar-width:none;margin:0 -4px}
 html body .staff-list .row-actions .text-button{flex:none;min-height:34px;margin:0;padding:0 5px;font-size:12px;font-weight:700;white-space:nowrap}
 /* Lokasi kerja */
 html body .loc-list .loc-item{padding:0 2px;gap:0 4px}
 html body .loc-list .loc-name{font-size:12.5px;line-height:1.25;font-weight:650}
 html body .loc-list .loc-meta{font-size:11.5px;gap:1px 8px;line-height:1.3}
 html body .loc-list .loc-meta *{font-size:11.5px}
 html body .loc-list .loc-type{padding:1px 7px;font-size:11px}
 html body .loc-list .loc-side .loc-edit,html body .loc-list .loc-side .loc-hours-btn,html body .loc-list .loc-side .loc-route{width:34px;height:34px;min-height:34px}
 html body .loc-list-head{padding:8px 10px}
 html body .loc-list-head h2,html body .loc-list-head strong{font-size:13.5px}
 html body .loc-list-head p{font-size:11.5px}
}

/* 0.4.194 tombol "Atur" per orang. Laptop tetap menampilkan semua tombol; HP hanya satu tombol Atur. */
.staff-more{display:none}
.staff-menu{display:grid;gap:6px;margin:12px 0 8px}
.staff-menu .text-button{display:flex;align-items:center;min-height:46px;padding:0 14px;border:1px solid var(--line);border-radius:10px;font-size:15px;font-weight:700;margin:0;justify-content:flex-start;background:#fff}
.staff-menu .text-button.danger{color:#a3341d}
@media(max-width:580px){
 html body .staff-list .row-actions .text-button:not(.staff-more){display:none}
 html body .staff-list .row-actions .staff-more{display:inline-flex;align-items:center;justify-content:center;min-height:30px;width:100%;padding:0 10px;font-size:12.5px;font-weight:700;border:1px solid #cfe0d6;border-radius:8px;background:#f5faf7;color:#0f5a3f}
 html body .staff-list tbody tr{display:grid!important;grid-template-columns:40px auto auto minmax(0,1fr) auto;align-items:center;gap:8px 8px;padding:13px 14px}
 html body .staff-list tbody td{display:block;width:auto;margin:0!important;min-width:0;max-width:none;grid-column:auto;grid-row:auto;order:0}
 html body .staff-list tbody td:nth-child(1){grid-column:1/5;grid-row:1}
 html body .staff-list tbody td:last-child{grid-column:5;grid-row:1;border-top:0!important;width:auto}
 html body .staff-list tbody tr::after{display:none}
 html body .staff-list tbody td:nth-child(3){grid-column:2;grid-row:2}
 html body .staff-list:not(.has-cols) tbody td:nth-child(5),html body .staff-list.has-cols tbody td:nth-child(7){grid-column:3;grid-row:2}
 html body .staff-list tbody td:nth-child(2){grid-column:4/6;grid-row:2;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 html body .staff-list.has-cols tbody td:nth-child(5){grid-column:2/5;grid-row:3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 html body .staff-list.has-cols tbody td:nth-child(6){grid-column:5;grid-row:3;text-align:right}
 html body .staff-list .row-actions{margin:0;overflow:visible;display:block}
 html body .staff-list .row-actions .staff-more{width:auto;min-height:32px;padding:0 14px}
 html body .staff-list tbody td:has(>.muted:only-child),html body .staff-list.has-cols tbody td.col-komp:has(.muted),html body .staff-list.has-cols tbody td.col-koef:empty{display:none}
 html body .staff-list tbody td:nth-child(4){display:none}
 html body .staff-list .who-cell{gap:10px}
 html body .staff-list .who-cell .ts-av{width:40px;height:40px;font-size:14px}
 html body .staff-list .who-cell strong{font-size:14px}
 html body .staff-list .comp-use{display:none!important}
}

/* 0.4.197 Beranda HP: 4 kartu (2x2), tab daftar tanpa angka besar karena angkanya sudah ada di kartu */
.kpi-out{display:none}
@media(max-width:580px){
 html body .kpis .kpi-out{display:flex;border-top-color:#8aa0b5;background:linear-gradient(180deg,#f3f6fa,#fff 62%)}
 html body .kpis .kpi-out strong{color:#46606a}
 html body .kpis .kpi-act{grid-column:auto}
 html body .rs-tabs{margin:6px 0 8px}
 html body .rs-tabs button{min-height:36px;padding:6px 4px 7px}
 html body .rs-tabs b{display:none}
 html body .rs-tabs span{font-size:11px;letter-spacing:.2px;white-space:nowrap}
 html body .rs-card h2{font-size:15px}
}

/* 0.4.198 Beranda HP: judul & tab "Siapa yang bekerja" dihapus; kartu di atas jadi pemilih daftar */
@media(max-width:580px){
 html body .rs-card>h2,html body .rs-card .rs-tabs{display:none}
 html body .kpis .kpi.is-sel{box-shadow:0 0 0 2px var(--orange)}
 html body .rs-card{padding-top:10px}
}

/* 0.4.202 HP: daftar Beranda & tabel Absensi hanya menampilkan sekitar 4 baris, sisanya digulir di dalam kotaknya */
@media(max-width:580px){
 html body .rs-card .rs-list{max-height:270px;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
 html body .panel.ts>.table-scroll{max-height:250px;overflow:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
 html body .panel.ts .ts-table thead th{position:sticky;top:0;z-index:2}
}

/* Kartu absensi admin, mengikuti rincian di aplikasi staf. */
.dc2-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-top:2px}
.dc2-head>span{font-size:18px;font-weight:750;color:var(--ink)}
.dc2-total{font-size:28px;line-height:1;font-weight:750;letter-spacing:-.03em;font-variant-numeric:tabular-nums;color:var(--ink)}
.dc2-meta,.dc2-status,.dc2-km{margin:6px 0 0;font-size:13px;color:var(--muted);line-height:1.45}
.dc2-meta b{color:var(--ink);font-variant-numeric:tabular-nums}
.dc2-meta b.ot{color:#2f5f9b}
.dc2-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px}
.dc2-cards>div{background:#f3f6f4;border-radius:14px;padding:10px 10px 8px;min-width:0}
.dc2-cards i{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:6px;vertical-align:middle}
.dc2-cards small{font-size:12.5px;color:#5c6b64;vertical-align:middle}
.dc2-cards b{display:block;margin-top:4px;font-size:16px;font-variant-numeric:tabular-nums;color:var(--ink)}
.dc2 .tl-details{margin-top:8px}
.dc2 .tl-details>summary{color:#1f9d61;font-weight:650;cursor:pointer}
.dc2 .tl-details .when-open{display:none}
.dc2 .tl-details[open] .when-closed{display:none}
.dc2 .tl-details[open] .when-open{display:inline}
.dc2 .tl{margin:8px 0 0}
:root[data-theme=dark] .dc2-cards>div{background:#162226}
:root[data-theme=dark] .dc2-cards small{color:#9aada6}

.sg2-lead{margin:0 0 12px;font-size:13.5px;line-height:1.45;color:#5c6e76}
.sg2-meta{margin:-4px 0 12px;font-size:13px;color:#5c6e76}
.sg2-bar{display:grid;gap:8px;margin:0 0 12px}
.sg2-bar-r{display:flex;align-items:center;justify-content:space-between;gap:8px}
.sg2-bar-r .view-toggle{flex:1}
.sg2-bar-r .text-button{flex:none;min-height:40px;padding:0 4px}
.sg2-list{display:grid;gap:12px}
.sg2-card{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden}
.sg2-card>summary{display:flex;align-items:flex-start;gap:10px;padding:14px;cursor:pointer;list-style:none}
.sg2-card>summary::-webkit-details-marker{display:none}
.sg2-card>summary::after{content:"";margin-left:4px;margin-top:6px;width:8px;height:8px;border-right:2px solid #6b7f78;border-bottom:2px solid #6b7f78;transform:rotate(45deg);flex:none}
.sg2-card[open]>summary::after{transform:rotate(-135deg);margin-top:8px}
.sg2-card .sg-psum{margin-left:auto}
.sg2-card .sg-psum em{white-space:normal;text-align:right}
.sg2-who{flex:1;min-width:0;font-size:16px;line-height:1.3}
.sg2-tools{display:grid;gap:8px;padding:0 14px 12px 36px}
.sg2-bulk{display:grid;gap:4px;font-size:12px;font-weight:650;color:#5c6e76}
.sg2-visits{list-style:none;margin:0;padding:0 10px 12px;display:grid;gap:8px}
.sg2-visit{background:transparent;border-radius:0;padding:8px 0 4px}
.sg2-vtop{display:flex;justify-content:space-between;align-items:baseline;gap:10px}
.sg2-vtop b{font-size:15px;line-height:1.3}
.sg2-vtop span{font-weight:750;color:#b4501f;font-variant-numeric:tabular-nums;white-space:nowrap}
.sg2-vsub{margin-top:2px;font-size:13px;line-height:1.4;color:#5c6e76}
.sg2-note{display:block;margin-top:4px;font-size:12.5px;color:#5c6e76}
.sg2-vtag{margin-top:8px}
:root[data-theme=dark] .sg2-card{background:#121b1e}
:root[data-theme=dark] .sg2-visit{background:#0d1619}
:root[data-theme=dark] .sg2-lead,:root[data-theme=dark] .sg2-meta,:root[data-theme=dark] .sg2-vsub,:root[data-theme=dark] .sg2-bulk{color:#9aada6}

.sg2-card .sg-ptitle b{font-size:14.5px}
.sg2-card .sg-ptitle small{font-size:12.5px}
.sg2-card .sg-psum span{font-size:13.5px}
.sg2-card .sg-psum em{font-size:12px}
.sg2-who{font-size:14.5px}
.sg2-visit{padding:8px 10px}
.sg2-vtop b{font-size:14px}
.sg2-vtop span{font-size:13px;font-weight:700}
.sg2-vsub{font-size:12.5px}
.sg2-lead,.sg2-meta{font-size:12.5px}

.sg2-card>summary{display:flex;align-items:flex-start;gap:10px}
.sg2-title{flex:1;min-width:0;display:grid;gap:2px}
.sg2-title b{font-size:14.5px;line-height:1.3}
.sg2-title em{font-style:normal;font-size:12.5px;line-height:1.35;color:#5c6e76}
.sg2-dur{font-size:13.5px;font-weight:700;color:#b4501f;font-variant-numeric:tabular-nums;white-space:nowrap}
.sg2-addr{display:block;font-size:12.5px;line-height:1.4;color:#5c6e76}
.sg2-all{display:flex;align-items:center;justify-content:space-between;gap:8px}
.sg2-all>span:first-child{font-size:12.5px;color:#5c6e76}
.sg2-marks{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.sg2-all .sg2-marks{margin-top:0}
.sg2-m{min-height:32px;padding:0 12px;border-radius:999px;border:1px solid #d7e0db;background:#fff;color:#3d5148;font:inherit;font-size:12.5px;font-weight:650}
.sg2-m[aria-pressed=true].is-work{background:#dff6e9;border-color:#8fceb0;color:#14633f}
.sg2-m[aria-pressed=true].is-personal{background:#e7eef6;border-color:#b7cbe2;color:#34506b}
.sg2-m[aria-pressed=true].is-ignore{background:#eef0ef;border-color:#d5dbd8;color:#5c6b66}
:root[data-theme=dark] .sg2-m{background:#0e171a;border-color:#2a3a36;color:#d5eaf4}
:root[data-theme=dark] .sg2-title em,:root[data-theme=dark] .sg2-addr{color:#9aada6}

.sg2-tools{display:flex;flex-wrap:wrap;align-items:center;gap:4px 14px;padding:0 14px 2px 36px}
.sg2-visits{padding:4px 10px 10px;gap:0}
.sg2-visit{background:transparent;border-radius:0;padding:8px 4px 8px 26px;border-top:1px solid #ece7df}
.sg2-visit:first-child{border-top:0}
.sg2-marks{margin-top:4px}
.sg2-m{min-height:30px;padding:0 10px;font-size:12px}
:root[data-theme=dark] .sg2-visit{border-top-color:#243036}

.sg2-head{display:flex;align-items:flex-start;gap:10px;padding:14px 14px 0}
.sg2-addr{margin:6px 14px 0 36px;font-size:12.5px;line-height:1.4;color:#5c6e76}
.sg2-visit{background:transparent;border:0;border-radius:0;padding:8px 14px 8px 36px}
.sg2-visits{padding:4px 0 10px;gap:0}

.fq-tools{display:flex;align-items:center;gap:8px;width:100%}
#report-filter .fq-tools .view-toggle{width:auto;flex:1;margin:0}
.unduh-wrap{position:relative;flex:none}
.unduh-btn{min-height:36px;padding:0 12px;border-radius:10px;border:1px solid #e1e8e4;background:#fff;color:#0f5a3f;font:inherit;font-size:13px;font-weight:750;white-space:nowrap}
.unduh-menu{position:absolute;right:0;top:calc(100% + 6px);z-index:30;min-width:156px;padding:6px;border-radius:12px;background:#fff;border:1px solid var(--line);box-shadow:0 10px 28px #071a2226;display:grid}
.unduh-menu[hidden]{display:none}
.unduh-menu button{min-height:40px;padding:0 12px;border:0;border-radius:8px;background:transparent;text-align:left;font:inherit;font-size:14px;font-weight:650;color:var(--ink)}
.unduh-menu button:hover{background:#f4f7f5}
:root[data-theme=dark] .unduh-btn,:root[data-theme=dark] .unduh-menu{background:#121b1e;color:#d5eaf4}
:root[data-theme=dark] .unduh-menu button{color:#d5eaf4}

#report-filter{position:relative;z-index:8;overflow:visible}
.fq-tools,.filter-quick,.unduh-wrap{overflow:visible}
.unduh-menu{z-index:40}

.staff-cal-wait{color:#51636a;padding:24px 4px}
.staff-cal-card,.staff-cal-detail{padding:16px;border-radius:16px;background:#fff;border:1px solid var(--line);margin-bottom:12px}
.cal-nav{display:flex;align-items:center;gap:8px}
.cal-nav>div{flex:1;text-align:center}
.cal-nav strong{display:block;font-size:18px}
.cal-nav span{display:block;margin-top:2px;font-size:12.5px;color:#51636a}
.cal-nav button{width:40px;height:40px;border:0;border-radius:12px;background:#f3f6f4;font-size:22px;line-height:1}
.cal-nav button:disabled{opacity:.35}
.cal-week,.cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
.cal-week{margin:12px 0 6px;text-align:center;font-size:12px;font-weight:700;color:#51636a}
.cal-cell{position:relative;min-height:46px;border:0;border-radius:12px;background:transparent;color:#51636a;font:inherit;font-weight:650}
.cal-cell b{font-weight:750}
.cal-work{background:#e5f6ec;color:#0f7a4a}
.cal-holiday{background:#fff3df;color:#8a5a12}
.cal-none{opacity:.45}
.cal-today{box-shadow:inset 0 0 0 2px #0f7a4a}
.cal-on{background:#071a22;color:#fff;box-shadow:none}
.cal-dot{position:absolute;width:6px;height:6px;border-radius:50%}
.cal-in{left:50%;bottom:5px;transform:translateX(-50%);background:#1f9d61}
.cal-on .cal-in{background:#fff}
.cal-khusus{top:5px;right:5px;background:#ef743d}
.cal-legend{display:flex;flex-wrap:wrap;gap:8px 14px;margin-top:12px;font-size:12px;color:#51636a}
.cal-legend span{display:inline-flex;align-items:center;gap:6px}
.cal-legend .sw{width:14px;height:14px;border-radius:4px;display:inline-block}
.cal-legend .work{background:#e5f6ec}
.cal-legend .off{background:#fff;box-shadow:inset 0 0 0 1.5px #d5e0da}
.cal-legend .hol{background:#fff3df}
.cal-legend .in{width:8px;height:8px;border-radius:50%;background:#1f9d61}
.cal-legend .khusus{width:8px;height:8px;border-radius:50%;background:#ef743d}
.staff-cal-detail p{margin:0;color:#51636a;font-size:13px}
.staff-cal-detail h2{margin:6px 0 0;font-size:19px}
.staff-cal-detail span{display:block;margin-top:6px;color:#51636a;font-size:14px}
.staff-cal-detail em{display:inline-block;margin-top:10px;padding:3px 8px;border-radius:999px;background:#fff3df;color:#8a5a12;font-style:normal;font-size:12px;font-weight:700}

dialog:has(.set-sheet){padding:22px 16px 16px}
.set-who{display:flex;align-items:center;gap:12px;margin:0 0 14px}
.set-who h2{margin:0;padding:0;font-size:22px;line-height:1.2}
.set-who p{margin:3px 0 0;color:var(--muted);font-size:13px;line-height:1.35}
.set-group{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff}
.set-group+.set-group{margin-top:10px}
.set-row{display:flex;width:100%;align-items:center;gap:12px;min-height:58px;padding:10px 12px;border:0;border-bottom:1px solid var(--line);background:transparent;text-align:left;font:inherit;color:inherit}
.set-row:last-child{border-bottom:0}
.set-row i{width:32px;height:32px;border-radius:10px;background:#eef6f1;color:#0f5a3f;display:grid;place-items:center;flex:none}
.set-row span{min-width:0}
.set-row b{display:block;font-size:15px;font-weight:700}
.set-row small{display:block;margin-top:1px;color:var(--muted);font-size:12.5px;font-weight:500;line-height:1.3}
.set-row em{margin-left:auto;color:#9aada4;font-style:normal;font-size:22px;line-height:1}
.set-group.is-quiet .set-row:last-child i{background:#fdece7;color:#a3341d}
.set-group.is-quiet .set-row:last-child b{color:#a3341d}
:root[data-theme=dark] .set-group{background:#162126}
:root[data-theme=dark] .set-row i{background:#1d3330;color:#8fd7b0}
:root[data-theme=dark] .set-group.is-quiet .set-row:last-child i{background:#3a221c;color:#f0a090}

.set-fields label{display:block;margin:0 0 8px;font-size:13px;font-weight:650}
.set-block{margin-top:14px}
.set-block h3{margin:0 0 8px;font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.set-roles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.set-roles label{margin:0;border:1px solid var(--line);border-radius:10px;padding:10px 6px;text-align:center;font-size:14px;font-weight:700}
.set-roles input{position:absolute;opacity:0;pointer-events:none}
.set-roles label:has(input:checked),.set-roles label.is-on{border-color:#0f5a3f;background:#eef6f1;color:#0f5a3f}
.set-fields .rule-check{margin-bottom:6px}
dialog:has(.set-sheet) .btn{margin-top:12px}
:root[data-theme=dark] .set-roles label:has(input:checked){background:#1d3330;color:#8fd7b0;border-color:#2f6a52}

dialog:has(.set-sheet){position:fixed;top:max(10px,env(safe-area-inset-top));left:10px;right:10px;bottom:auto;width:auto;max-width:none;height:auto;max-height:calc(100svh - 20px);margin:0;padding:16px 14px 12px;overflow:auto}
.set-sheet,.set-fields,.set-block,.set-who,.set-roles,.set-group{min-width:0;max-width:100%}
.set-who{padding-right:28px;margin-bottom:8px}
.set-who h2{font-size:20px;overflow-wrap:anywhere}
.set-fields label{margin:0 0 10px!important}
.set-fields input:not([type=checkbox]):not([type=radio]){width:100%;max-width:100%;margin-top:4px}
.set-roles input{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;margin:0!important;padding:0!important;overflow:hidden;clip:rect(0 0 0 0)}
.set-block{margin-top:12px}
.set-block h3{margin:0 0 6px}
dialog:has(.set-sheet) .btn{position:sticky;bottom:0}

@media(max-width:580px){
 html body .staff-list.has-cols tbody td:nth-child(7),html body .staff-list:not(.has-cols) tbody td:nth-child(5){display:none!important}
 html body .staff-list.has-cols tbody td.col-komp{grid-column:3;grid-row:2;font-weight:650;color:var(--ink)}
 html body .staff-list.has-cols tbody td.col-koef{grid-column:5;grid-row:2;text-align:right;white-space:nowrap}
 html body .staff-list.has-cols tbody td:nth-child(2){grid-column:4;grid-row:2}
}

.sh-matrix{overflow:auto;max-height:min(68vh,720px);-webkit-overflow-scrolling:touch}
.sh-matrix table{width:max-content;min-width:100%}
.sh-matrix th,.sh-matrix td{min-width:76px}
.sh-matrix .sh-sticky{min-width:180px;max-width:240px}

html body .panel.ts>.ts-scroll{max-height:calc(100dvh - 196px);min-height:280px;overflow:auto;cursor:grab;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
html body .panel.ts>.ts-scroll.is-grab{cursor:grabbing;user-select:none}
html body .panel.ts>.ts-scroll::-webkit-scrollbar{width:14px;height:14px}
html body .panel.ts>.ts-scroll::-webkit-scrollbar-thumb{background:#8aa0a8;border-radius:8px;border:3px solid transparent;background-clip:padding-box}
html body .ts-grid{width:max-content;min-width:100%}
html body .ts-grid thead th{position:sticky;top:0;z-index:3}
html body .ts-grid .ts-total,html body .ts-grid thead th.num{position:sticky;right:0;z-index:3}
html body .ts-grid thead th.num{z-index:5}
html body .ts-grid tfoot th,html body .ts-grid tfoot td{position:sticky;bottom:0;z-index:3}

/* HP: peta, pesan, dan tabel absensi mentok ke bawah layar, bukan berhenti di tengah. */
@media (max-width:700px){
 .main:has(#team-map-root),.main:has(#arahan-root),.main:has(.panel.ts){height:100dvh;max-height:100dvh;overflow:hidden}
 .main:has(#team-map-root) #content,.main:has(#arahan-root) #content,.main:has(.panel.ts) #content{flex:1 1 auto;min-height:0;overflow:hidden;display:flex;flex-direction:column;padding-bottom:4px}
 #content:has(#arahan-root){min-height:0}
 #team-map-root,#arahan-root{flex:1 1 auto;min-height:0;height:auto!important;max-height:none!important}
 #arahan-root .arh,#arahan-root .arh.arh-wa{flex:1;height:100%!important;max-height:none!important;min-height:0!important}
 #content:has(.panel.ts)>*{flex:0 0 auto}
 #content:has(.panel.ts) .panel.ts{flex:1 1 auto;min-height:0;display:flex;flex-direction:column}
 html body .panel.ts>.table-scroll,html body .panel.ts>.ts-scroll{flex:1 1 auto;min-height:140px;max-height:none!important}
}

.page-heading .heading-actions .btn[data-action="refresh"]{
 width:auto;height:auto;min-width:max-content;min-height:34px;padding:6px 12px;
 border-radius:999px;border:1px solid #d7e6de;background:#f7fbf8;color:#1f5f46;
 box-shadow:none;white-space:nowrap;font-size:13px;font-weight:700;line-height:1;
 overflow:visible;justify-content:center;gap:6px;
}
.page-heading .heading-actions .btn[data-action="refresh"]::before{content:none}
.page-heading .heading-actions .btn[data-action="refresh"]:hover{background:#e8f6ee;border-color:#c9e3d4}
@media (pointer:coarse){
 .page-heading .heading-actions .btn[data-action="refresh"]{min-height:36px;padding:7px 14px}
}

.top-actions .btn.top-invite{min-height:34px;padding:6px 12px;border-radius:10px;font-size:13px;white-space:nowrap;background:var(--green);border-color:var(--green);color:var(--navy)}
.top-actions .btn.top-invite:hover{background:#45d58e;border-color:#45d58e}
@media(max-width:580px){.top-actions .btn.top-invite{min-height:32px;padding:5px 10px;font-size:12.5px}}

/* Tablet sentuh dan aplikasi Android di layar lebar memakai kerangka HP, bukan sidebar laptop. */
@media (max-width:1400px) and (pointer:coarse){
 :root{--sidebar-width:252px}
 .sidebar{transform:translateX(-100%);visibility:hidden}
 .sidebar.open{transform:none;visibility:visible}
 .sidebar.open+#menu-scrim{display:block;position:fixed;inset:0;width:100%;height:100dvh;border:0;background:#071a2280;z-index:35}
 .main{margin-left:0}
 .breadcrumb{display:none}
 #menu-toggle{display:block}
 .topbar{height:48px;min-height:48px;position:sticky;top:0;z-index:25;gap:8px;padding:6px 12px}
 #content{padding:12px 12px max(14px, env(safe-area-inset-bottom, 0px))}
 .page-heading h1{font-size:20px}
 .main:has(#team-map-root),.main:has(#arahan-root),.main:has(.panel.ts),.main:has(#jadwal-root),.main:has(#staff-cal){height:100dvh;max-height:100dvh;overflow:hidden}
}
html.app-mode .sidebar{transform:translateX(-100%);visibility:hidden}
html.app-mode .sidebar.open{transform:none;visibility:visible}
html.app-mode .main{margin-left:0}
html.app-mode #menu-toggle{display:block}
html.app-mode .breadcrumb{display:none}
html.app-mode .topbar{height:48px;min-height:48px;position:sticky;top:0}

/* Tablet: tab Staf memakai susunan HP, bukan tabel lebar. */
@media (max-width:1400px){
 html body .staff-list.stack-table thead{display:none}
 html body .staff-list table{min-width:0!important;width:100%}
display:none}
.staff-menu{display:grid;gap:6px;margin:12px 0 8px}
.staff-menu .text-button{display:flex;align-items:center;min-height:46px;padding:0 14px;border:1px solid var(--line);border-radius:10px;font-size:15px;font-weight:700;margin:0;justify-content:flex-start;background:#fff}
.staff-menu .text-button.danger{color:#a3341d}
@media(max-width:580px){
 html body .staff-list .row-actions .text-button:not(.staff-more){display:none}
 html body .staff-list .row-actions .staff-more{display:inline-flex;align-items:center;justify-content:center;min-height:30px;width:100%;padding:0 10px;font-size:12.5px;font-weight:700;border:1px solid #cfe0d6;border-radius:8px;background:#f5faf7;color:#0f5a3f}
 html body .staff-list tbody tr{display:grid!important;grid-template-columns:40px auto auto minmax(0,1fr) auto;align-items:center;gap:8px 8px;padding:13px 14px}
 html body .staff-list tbody td{display:block;width:auto;margin:0!important;min-width:0;max-width:none;grid-column:auto;grid-row:auto;order:0}
 html body .staff-list tbody td:nth-child(1){grid-column:1/5;grid-row:1}
 html body .staff-list tbody td:last-child{grid-column:5;grid-row:1;border-top:0!important;width:auto}
 html body .staff-list tbody tr::after{display:none}
 html body .staff-list tbody td:nth-child(3){grid-column:2;grid-row:2}
 html body .staff-list:not(.has-cols) tbody td:nth-child(5),html body .staff-list.has-cols tbody td:nth-child(7){grid-column:3;grid-row:2}
 html body .staff-list tbody td:nth-child(2){grid-column:4/6;grid-row:2;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 html body .staff-list.has-cols tbody td:nth-child(5){grid-column:2/5;grid-row:3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 html body .staff-list.has-cols tbody td:nth-child(6){grid-column:5;grid-row:3;text-align:right}
 html body .staff-list .row-actions{margin:0;overflow:visible;display:block}
 html body .staff-list .row-actions .staff-more{width:auto;min-height:32px;padding:0 14px}
 html body .staff-list tbody td:has(>.muted:only-child),html body .staff-list.has-cols tbody td.col-komp:has(.muted),html body .staff-list.has-cols tbody td.col-koef:empty{display:none}
 html body .staff-list tbody td:nth-child(4){display:none}
 html body .staff-list .who-cell{gap:10px}
 html body .staff-list .who-cell .ts-av{width:40px;height:40px;font-size:14px}
 html body .staff-list .who-cell strong{font-size:14px}
 html body .staff-list .comp-use{display:none!important}

}

/* HP: komputer dan koefisien satu baris dengan jabatan. */
@media(max-width:580px){
 html body .staff-list.has-cols tbody tr{grid-template-columns:40px auto auto minmax(0,1fr) auto auto}
 html body .staff-list.has-cols tbody td:nth-child(1){grid-column:1/6;grid-row:1}
 html body .staff-list.has-cols tbody td:last-child{grid-column:6;grid-row:1}
 html body .staff-list.has-cols tbody td:nth-child(3){grid-column:2;grid-row:2}
 html body .staff-list.has-cols tbody td:nth-child(7){grid-column:3;grid-row:2}
 html body .staff-list.has-cols tbody td:nth-child(2){grid-column:4;grid-row:2}
 html body .staff-list.has-cols tbody td:nth-child(5){grid-column:5;grid-row:2;margin:0!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 html body .staff-list.has-cols tbody td:nth-child(6){grid-column:6;grid-row:2;margin:0!important;text-align:right;white-space:nowrap}
}

html body .staff-list.has-cols th.col-koef:empty,html body .staff-list.has-cols td.col-koef:empty{display:none}

.loc-docs{display:inline-flex;gap:4px;align-items:center}
.loc-docs em{font-style:normal;font-size:10px;font-weight:700;color:#fff;background:#1f8a4c;border-radius:999px;padding:1px 5px;letter-spacing:.01em}

.auth-form form .btn{justify-content:center;gap:8px;color:#fff;font-weight:600}
.auth-form form .btn:hover{color:#fff}
.pw-label{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-top:19px}
.pw-label label{margin-top:0}
.pw-label .text-button{padding:0;min-height:0;font-size:13px;font-weight:600}
.pw-box{position:relative}
.pw-box input{padding-right:44px}
.pw-eye{position:absolute;right:6px;top:calc(50% + 3px);transform:translateY(-50%);width:36px;height:36px;display:grid;place-items:center;border:0;background:transparent;color:#5c7278;padding:0}
.pw-eye:hover{color:#10232b}

#report-filter .filter-quick>.view-toggle{margin-left:auto;width:auto;flex:none}
#report-filter .filter-quick>.fq-tools{width:auto;flex:none;justify-content:flex-end}
html.opening-demo #auth{display:none!important}
html.opening-demo body{background:#10241f}

.people-search{display:flex;align-items:center;gap:8px;margin:0 0 12px;padding:0 12px;min-height:44px;border:1px solid var(--line);border-radius:12px;background:var(--soft)}
.people-search svg{flex:none;color:#2f8077}
.people-search input{flex:1;min-width:0;height:42px;border:0;outline:0;background:transparent;font-size:16px}
.staff-list tr.people-miss{display:none!important}
.people-none{margin:10px 4px 0;color:var(--muted);font-size:13px}

@media(max-width:900px){
 html,body{overflow-x:clip;max-width:100%}
 .main{margin-left:0;max-width:100%}
 input,select,textarea{font-size:16px}
}

/* 0698 iPhone: muat selebar layar, tanpa cubit. Menu samping tidak pakai transform (WebKit menggeser halaman). */
@media(max-width:850px){
 html,body{overflow-x:clip;width:100%;max-width:100%;-webkit-text-size-adjust:100%;text-size-adjust:100%;overscroll-behavior-x:none}
 .sidebar{transform:none;left:calc(-1 * var(--sidebar-width) - 32px)}
 .sidebar.open{transform:none;left:0;visibility:visible}
 .main{margin-left:0;max-width:100%;min-width:0}
 #content,.kpis,.kpi,.dash-grid,.dash-main,.dc-card,.dc-plot,.topbar{min-width:0;max-width:100%}
 .top-actions{min-width:0}
 .rs-search input,.people-search input,input,select,textarea{font-size:16px}
 .dc-bars{width:100%;max-width:100%;height:auto}
}

/* 0.4.212 HP: Rincian, Kartu, Rekap, dan Unduh satu baris. */
@media(max-width:850px){
 #report-filter .filter-quick{flex-direction:row;flex-wrap:wrap;align-items:center}
 #report-filter .fq-chips{flex:1 0 100%}
 #report-filter .filter-quick>.view-toggle{display:inline-flex;width:auto;flex:1 1 auto;margin:0;min-width:0}
 #report-filter .filter-quick>.view-toggle button{flex:1;min-height:34px;padding:3px 8px}
 #report-filter .filter-quick>.fq-tools{width:auto;flex:none;margin:0}
}

html.app-mode .main:has(#team-map-root) #content{padding-bottom:calc(52px + env(safe-area-inset-bottom,0px))!important}
html.app-mode .tm-list{padding-bottom:20px}

/* HP: tindakan staf kembali satu baris teks, seperti sebelumnya. Bukan lembar Atur yang tinggi. */
@media (max-width:900px){
 html body .staff-list tbody tr{display:flex!important;flex-wrap:wrap;align-items:center;gap:4px 10px;padding:12px 14px}
 html body .staff-list tbody td{display:block!important;width:auto!important;grid-column:auto!important;grid-row:auto!important;margin:0!important;padding:0!important}
 html body .staff-list tbody td:first-child{width:100%!important}
 html body .staff-list tbody td:last-child{width:100%!important;margin-top:4px!important;border-top:0!important}
 html body .staff-list .row-actions{display:flex!important;flex-wrap:nowrap;gap:0 12px;overflow-x:auto;justify-content:flex-start;margin:0;scrollbar-width:none}
 html body .staff-list .row-actions .text-button{display:inline-flex!important;min-height:36px;margin:0;padding:0;border:0!important;background:transparent!important;width:auto!important;border-radius:0;font-size:13.5px;font-weight:700;white-space:nowrap}
 html body .staff-list .row-actions .staff-more{display:none!important}
}

/* Timesheet: keterangan warna dihilangkan. Total tidak menimpa kolom hari terakhir. */
html body .ts-legend{display:none}
html body .ts-grid .ts-total,html body .ts-grid thead th.num{position:static;right:auto}

/* Angka total tidak dikunci: tidak menempel di kanan atau di bawah, dan tidak dipotong. */
html body .ts-grid .ts-total,
html body .ts-grid thead th.num,
html body .ts-grid tfoot th,
html body .ts-grid tfoot td{
  position:static !important;
  right:auto !important;
  bottom:auto !important;
  left:auto !important;
  overflow:visible;
  max-width:none;
}
html body .ts-grid tfoot .ts-sum,
html body .ts-grid .ts-total{
  width:auto;
  min-width:max-content;
  white-space:nowrap;
}

/* Tabel timesheet: huruf turun satu tingkat. */
html body .ts-grid{font-size:13px}
html body .ts-grid .ts-sticky{font-size:13px !important}
html body .ts-grid .ts-day span{font-size:10px}
html body .ts-grid .ts-day b{font-size:13px}
html body .ts-grid .ts-cell button{font-size:12.5px}
html body .ts-grid tfoot th,html body .ts-grid tfoot td{font-size:12px}

/* Label Total di kiri tetap menutup angka hari yang sudah tergeser. Angka hari yang kelihatan tetap lepas. */
html body .ts-grid tfoot th.ts-sticky{
  position:sticky !important;
  left:0 !important;
  right:auto !important;
  bottom:auto !important;
  z-index:6 !important;
  background:#f1fbf5;
}

/* Live Monitor: daftar komputer + layar langsung dari SML Desktop. */
.lm{display:flex;flex-direction:column;gap:8px}
.lm-list{display:flex;flex-direction:column;min-height:0;max-height:min(46dvh,420px);overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
.lm-list-h{position:sticky;top:0;z-index:1;margin:0;padding:11px 14px 8px;background:#fff;font-size:11px;font-weight:650;letter-spacing:.06em;text-transform:uppercase;color:#8b969e}
.lm-av.sm{width:36px;height:36px;font-size:13px}
.lm-row{display:flex;align-items:center;gap:12px;width:100%;margin:0;padding:8px 14px;border:0;border-top:1px solid var(--line);border-radius:0;background:transparent;color:inherit;font:inherit;font-weight:500;text-align:left;min-height:52px;flex:none;cursor:pointer}
.lm-row:first-child{border-top:0}
.lm-row:hover{background:#f4f7f6}
.lm-row.on{background:#eef6f2}
.lm-row b{display:block;font-size:14px;font-weight:650;line-height:1.2}
.lm-row small{display:block;margin-top:1px;color:var(--muted);font-size:12px;font-weight:500;letter-spacing:.02em}
.lm-row.dim{opacity:.45}
.lm-row.dim .lm-av{filter:grayscale(1)}
.lm-row.dim b{font-weight:600;color:#8b969e}
.lm-row.dim small{color:#a8b2ae}
.lm-dot{flex:none;width:8px;height:8px;border-radius:99px;background:#c5ced0}
.lm-dot.live{background:#0f7a57;box-shadow:0 0 0 4px rgba(15,122,87,.15)}
.lm-none{padding:18px 16px;color:var(--muted);font-size:13px}
.lm-stage{display:flex;flex-direction:column;min-width:0}
.lm-slide{height:4px;background:#e7eeea;overflow:hidden}
.lm-slide i{display:block;height:100%;width:100%;background:#1f9d61;transform-origin:left center;animation:lmSlide var(--lm-dur,15s) linear forwards;animation-delay:var(--lm-delay,0ms)}
@keyframes lmSlide{from{transform:scaleX(0)}to{transform:scaleX(1)}}
.lm-bar{display:flex;align-items:center;gap:12px;padding:12px 14px;border-bottom:1px solid var(--line)}
.lm-who{display:flex;align-items:center;gap:10px;min-width:0}
.lm-av{flex:none;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;overflow:hidden;background:#0f7a57;color:#fff;font-size:15px;font-weight:700}
.lm-av img{width:100%;height:100%;object-fit:cover;display:block}
.lm-who b{display:block;font-size:15px;font-weight:700;letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.15}
.lm-who div span{color:var(--muted);font-size:12px;line-height:1.2}
.lm-gauge{margin-left:auto;display:flex;flex-direction:column;align-items:center;width:62px;flex:none;line-height:1}
.lm-gauge svg{width:62px;height:34px;display:block}
.lm-gauge b{margin-top:3px;font-size:12px;font-weight:650;color:#16352c;font-variant-numeric:tabular-nums}
.lm-bar em{display:inline-flex;align-items:center;gap:6px;flex:none;align-self:center;font-style:normal;font-size:12px;font-weight:650;color:#6b7876;background:#f1f3f2;border-radius:99px;padding:5px 10px}
.lm-bar em.on{color:#0d5c40;background:#e5f6ee}
.lm-bar em.wait{color:#8a4b12;background:#fff1e4}
.lm-bar em.seen{color:#0d5c40;background:#e7f6ee}
.lm-bar em.seen::before{content:"";width:7px;height:7px;border-radius:99px;background:#12a36b;box-shadow:0 0 0 0 rgba(18,163,107,.55);animation:lmLive 1.6s ease-out infinite}
@keyframes lmLive{70%{box-shadow:0 0 0 6px transparent}100%{box-shadow:0 0 0 0 transparent}}
.lm-screen{position:relative;aspect-ratio:16/9;min-height:0;display:grid;place-items:center;overflow:hidden;background:#0c1014;color:#d5dde3;cursor:pointer}
.lm-screen.has-shot{display:block}
.lm-shot{display:block;width:100%;height:auto;background:#0c1014}
.lm-screen.has-shot .lm-shot{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.lm-shot.lm-atas{z-index:2;opacity:0;transition:opacity .5s ease}
.lm-shot.lm-atas.lm-in{opacity:1}
.lm-screen.has-shot .lm-empty,.lm-screen.has-shot .lm-wait{display:none}
.lm-wait{width:28px;height:28px;border-radius:50%;border:2px solid rgba(255,255,255,.16);border-top-color:#7dcea0;animation:lmWait .7s linear infinite}
@keyframes lmWait{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.lm-wait{animation:none;border-color:#7dcea0}}
.lm-empty{max-width:440px;text-align:center}
.lm-empty b{display:block;font-size:18px;font-weight:650;color:#fff;margin-bottom:8px}
.lm-empty p{color:#aeb8c0;font-size:13.5px;line-height:1.55}
.lm-screen time{position:absolute;top:8px;right:8px;padding:3px 8px;border-radius:99px;background:rgba(8,12,16,.72);color:#fff;font-size:11px;letter-spacing:.02em;font-variant-numeric:tabular-nums}
.lm-note{margin:0;padding:10px 16px 12px;font-size:12px;color:var(--muted);border-top:1px solid var(--line)}
.lm-heat{padding:10px 12px 12px;border-bottom:1px solid var(--line);background:#fff}
.lm-heat-row{display:grid;grid-template-columns:22px minmax(0,1fr) 32px;align-items:center;gap:6px;margin:2px 0;border-radius:2px}
.lm-heat-row b{font-size:12px;font-weight:500;color:#7a888c;font-variant-numeric:tabular-nums;line-height:1}
.lm-heat-row.is-now{box-shadow:inset 0 0 0 1px #fbd3bf}
.lm-heat-row.is-now b{color:#ef743d;font-weight:700}
.lm-cells{display:grid;grid-template-columns:repeat(60,minmax(0,1fr));gap:1px;height:12px}
.lm-cells i{display:block;border-radius:0;background:#f0f3f2;min-width:0}
.lm-cells i.on{background:#2f6fd0}
.lm-cells i.low{background:#c5d8f6}
.lm-cells i.fut{background:#f7f8f7}
.lm-cells i.now{position:relative;z-index:1;border-radius:2px;background:#ef743d}
.lm-heat-row em{font-style:normal;font-size:12px;font-weight:500;text-align:right;color:#3d5158;font-variant-numeric:tabular-nums}
.lm-curiga{margin:0;padding:7px 14px 8px;font-size:12px;font-weight:600;color:#8a4b12;background:#fff8f1;border-bottom:1px solid #f3e2d2}
@media(max-width:850px){
 .lm-page .page-heading{margin-bottom:8px}
 .lm-page .page-heading p{display:none}
 .lm-cells{height:13px}
}
