:root{font-family:system-ui,Segoe UI,sans-serif;color:#17343e;background:#f0f5f6;--teal:#147b77;--line:#dce7e9}*{box-sizing:border-box}body{margin:0}header{background:#12343d;color:white;padding:18px max(16px,calc((100vw - 1040px)/2));display:flex;align-items:center;justify-content:space-between;gap:10px}.brand{display:flex;align-items:center;gap:12px}.brand b{background:#147b77;padding:12px 9px;border-radius:12px}.brand small{display:block;color:#c7dbdf;font-size:12px}main{max-width:1040px;margin:auto;padding:20px 16px 105px}h1{font-size:25px;margin:0 0 8px}h2{font-size:18px;margin:0 0 12px}h3{font-size:16px;margin:0 0 6px}p{line-height:1.5}small,.muted{color:#5b717b;font-size:13px}button,input,select,textarea{font:inherit}button,a.btn{border:0;border-radius:10px;padding:12px 15px;min-height:44px;background:var(--teal);color:white;cursor:pointer;text-decoration:none;font-weight:650;display:inline-flex;align-items:center;justify-content:center;gap:6px}button:disabled{opacity:.45;cursor:not-allowed}.quiet,.secondary{background:#e5eef0;color:#16434a}.danger{background:#fff1ec;color:#a13b29}.card{background:#fff;padding:16px;border-radius:15px;border:1px solid var(--line);margin:12px 0;box-shadow:0 2px 6px #12343d06}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:10px}.grid button{min-height:76px;text-align:center}.hero{width:100%;padding:22px;font-size:19px;margin:10px 0}.row{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap}.pill{font-size:12px;background:#e9f0f1;color:#30535d;padding:5px 9px;border-radius:999px}.ok{color:#147b77}.warn{color:#9b4d13}.bar{height:9px;background:#e2ebeb;border-radius:8px;overflow:hidden;margin:12px 0}.bar>div{height:100%;background:#147b77}.task{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center}.task p{margin:4px 0}.task button{align-self:center}.tabs{display:flex;gap:8px;overflow:auto;margin:12px 0}.tabs button{white-space:nowrap}nav{position:fixed;bottom:0;background:#fff;border-top:1px solid var(--line);width:100%;display:flex;justify-content:center;gap:4px;padding:8px 6px max(8px,env(safe-area-inset-bottom));z-index:2}nav[hidden]{display:none}nav button{background:white;color:#627680;flex:1;max-width:220px;padding:9px 4px;font-size:13px}nav button.active{color:#147b77;background:#e9f5f2}label{display:block;font-size:13px;font-weight:650;margin-top:12px}input,select,textarea{display:block;width:100%;border:1px solid #bacdd1;border-radius:9px;padding:11px;margin:6px 0 10px;background:white;color:#17343e}textarea{min-height:80px}dialog{border:0;border-radius:16px;padding:20px;max-width:min(600px,94vw);width:100%;max-height:90dvh;overflow:auto;color:#17343e}dialog::backdrop{background:#12343d88}.close{background:#eaf0f2;color:#17343e}.photos{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.photos img{max-width:100%;height:130px;object-fit:contain;background:#eff4f5;border-radius:8px}.alert{background:#fff3e0;padding:12px;border-radius:10px;color:#754518;white-space:pre-line}.error{color:#a13b29;white-space:pre-line}#toast{position:fixed;bottom:80px;left:50%;transform:translateX(-50%);max-width:92%;background:#12343d;color:white;padding:14px;border-radius:10px;z-index:10;white-space:pre-line;overflow-wrap:anywhere}#toast[hidden]{display:none}.full{width:100%}.checkrow{display:flex;align-items:center;gap:8px;margin:6px}.checkrow input{width:auto;margin:0}a{color:#147b77} @media(min-width:700px){.two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.task{padding:20px}.grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}}

[hidden]{display:none!important}.alert{font-size:13px;line-height:1.45}.result-buttons{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:8px 0 16px}.result-buttons button{font-size:13px;padding:10px 6px}.modalhead{position:sticky;top:-20px;background:white;padding:4px 0 8px;z-index:1}

.role-banner{display:flex;align-items:center;gap:12px;background:linear-gradient(120deg,#073d45,#126f70);color:#fff;border-radius:16px;padding:14px 16px;margin:0 0 18px;box-shadow:0 5px 16px #082f3718}.brand-mark{width:48px;height:48px;display:grid;place-items:center;background:#08a68f;border-radius:13px;font-size:17px;font-weight:800}.role-copy{display:grid;gap:2px;flex:1}.role-copy strong{font-size:17px;letter-spacing:.02em}.role-copy span{font-size:12px;color:#d2e7e7}.role-pill{background:#ffffff1c;border:1px solid #ffffff55;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:750;white-space:nowrap}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:14px 0}.metric-grid .card{margin:0;padding:12px}.metric-grid h2{font-size:23px;margin:3px 0 0;color:#137b75}.dashboard-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0 16px}.tile-button{min-height:92px;padding:14px 10px;background:#fff;color:#123b42;border:1px solid #d8e6e6;box-shadow:0 2px 7px #102f3810;white-space:normal;line-height:1.25}.tile-button:active{background:#e8f3f2}.role-banner+h1{margin-top:4px}.metric-grid .card p{margin:0}.metric-grid .card h2{margin-top:5px}.role-banner .role-pill{max-width:42%;overflow:hidden;text-overflow:ellipsis}
@media(max-width:600px){.role-banner{padding:10px;gap:8px}.brand-mark{width:42px;height:42px}.role-copy strong{font-size:14px}.role-copy span{font-size:10px}.role-pill{font-size:10px;padding:6px 8px;max-width:40%}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tile-button{min-height:86px;font-size:14px;padding:10px 7px}}

@media(max-width:600px){nav{gap:2px;padding-left:3px;padding-right:3px}nav button{font-size:11px;padding:8px 2px;min-width:0}}

/* JOKER V9 field-first visual refresh */
header{background:linear-gradient(112deg,#073c43 0%,#0a5c5a 62%,#117b72 100%);box-shadow:0 3px 14px #0a3e4622;padding-top:12px;padding-bottom:12px}
.brand b{background:#08a68f;box-shadow:0 4px 12px #001f2328;min-width:48px;text-align:center;font-size:17px}
.brand strong{font-size:19px;letter-spacing:.025em}
main{padding-top:16px}
.role-banner{background:linear-gradient(125deg,#073c43,#0b6965 72%,#149181);border:1px solid #ffffff26}
.metric-grid .card{border-radius:14px;background:linear-gradient(160deg,#fff,#f6fbfa);border-color:#d4e6e4}
.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.tile-button{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;text-align:left;gap:6px;min-height:112px;border-radius:16px;padding:14px;background:linear-gradient(160deg,#fff,#f3faf9);box-shadow:0 3px 12px #0a55500c}
.tile-button .tile-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#ddf3ef;color:#08786e;font-size:21px;font-weight:800}
.tile-button strong{font-size:14px;line-height:1.2}
.tile-button small{font-size:11px;line-height:1.25;color:#688089;font-weight:500}
.task-card{display:grid;grid-template-columns:1fr;gap:12px;border:1px solid #d9e7e8;border-left:5px solid #94aeb1;border-radius:15px;padding:14px;background:#fff}
.task-card.terverifikasi{border-left-color:#15926e}
.task-card.menunggu-review{border-left-color:#d89b24}
.task-card.perlu-perbaikan{border-left-color:#d65c46}
.task-card.terjadwal{border-left-color:#398bc0}
.task-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.task-code{font-size:11px;font-weight:800;letter-spacing:.04em;background:#e8f4f2;color:#126d67;padding:5px 8px;border-radius:8px}
.status-chip{font-size:11px;font-weight:750;border-radius:999px;padding:5px 9px;background:#eef2f3;color:#4f6870}
.task-card.terverifikasi .status-chip{background:#e1f4ec;color:#08734e}
.task-card.menunggu-review .status-chip{background:#fff2d6;color:#885c09}
.task-card.perlu-perbaikan .status-chip{background:#ffebe6;color:#a33e2d}
.task-card h3{font-size:16px;line-height:1.35;margin:7px 0}
.task-card p{margin:4px 0;line-height:1.4}
.task-action{width:100%;min-height:46px}
button.danger{border:1px solid #f0cfc8}
dialog{box-shadow:0 18px 60px #082f3750}
dialog .card{box-shadow:none;background:#f7faf9}
#nav{box-shadow:0 -4px 16px #103d430e}
@media(min-width:700px){.dashboard-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.task-card{grid-template-columns:minmax(0,1fr) 190px;align-items:center}.task-card .task-head{grid-column:1/-1}.task-action{grid-column:2;grid-row:2}}
@media(max-width:390px){.brand strong{font-size:16px}.tile-button{min-height:104px;padding:11px}.tile-button small{font-size:10px}}

/* Navigation cleanup: one home dashboard, one compact primary bar, grouped secondary actions. */
nav button{min-height:46px;white-space:nowrap}
.menu-group{padding:14px;margin:12px 0}
.menu-group h3{margin:0 0 10px;color:#17464b}
.menu-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.menu-action{display:flex;align-items:center;justify-content:flex-start;gap:10px;min-height:72px;padding:11px;background:linear-gradient(155deg,#fff,#f4faf9);color:#16434a;border:1px solid #d8e6e6;text-align:left;white-space:normal;line-height:1.25}
.menu-action:active{background:#e8f3f2}
.menu-symbol{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:10px;background:#ddf3ef;color:#08786e;font-size:16px;font-weight:800}
.menu-copy{display:grid;gap:4px;min-width:0;text-align:left}
.menu-copy strong{font-size:13px;line-height:1.2}
.menu-copy small{font-size:11px;line-height:1.3;color:#688089;font-weight:500;white-space:normal}
@media(max-width:360px){.menu-grid{grid-template-columns:1fr}.menu-action{min-height:62px}}

/* Checklist bundles: combine compatible work cards without merging their records. */
.task-bundle{border-left:5px solid #147b77;background:linear-gradient(160deg,#fff,#f4faf9)}
.task-bundle>h3{color:#126d67;margin:0 0 8px}
.task-bundle>p{margin:5px 0}
.task-bundle-list{margin-top:12px}
.task-bundle-list>summary{cursor:pointer;list-style-position:inside;border-radius:10px;padding:11px 12px;background:#e8f4f2;color:#126d67;font-weight:750;min-height:44px}
.task-bundle-list[open]>summary{margin-bottom:10px}
.task-bundle .task-card{margin:9px 0}
