/* Ranca Walini Asri UI/UX 1.2.0 — local system fonts, no external dependencies. */
:root{color-scheme:dark;--bg:#071b38;--surface:#0d294a;--panel:#102f52;--field:#091f3b;--ink:#f3f8ff;--muted:#b5c9df;--line:#2b4a6b;--blue:#35c9f4;--primary:#0879d1;--radius:18px;--shadow:0 6px 20px #00000014;--nav-clearance:calc(108px + env(safe-area-inset-bottom,0px))}
*{box-sizing:border-box}html{min-height:100%;scroll-padding-top:20px;scroll-padding-bottom:var(--nav-clearance)}body{margin:0;min-height:100vh;background:linear-gradient(160deg,#0b2b50 0,#071b38 480px);color:var(--ink);font:15px/1.6 system-ui,-apple-system,"Segoe UI",sans-serif;-webkit-text-size-adjust:100%}a{color:#75ddff;text-decoration:none}a:hover{text-decoration:underline}h1,h2,h3,h4,p{margin-top:0}h1,h2,h3{overflow-wrap:anywhere}h1{font-size:clamp(25px,3vw,34px);line-height:1.2;letter-spacing:-.7px;margin-bottom:10px}h2{font-size:20px;line-height:1.35;letter-spacing:-.3px;margin-bottom:14px}h3{font-size:17px;line-height:1.4;margin-bottom:10px}p{margin-bottom:16px;overflow-wrap:anywhere}small,.muted{color:var(--muted)}small{font-size:12px}.ui-icon{width:22px;height:22px;flex:0 0 auto;vertical-align:middle}img,video,canvas{max-width:100%}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
button,.button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;max-width:100%;border:1px solid #329bdf;border-radius:12px;background:linear-gradient(115deg,#0879d1,#086bae);color:#fff;padding:11px 18px;cursor:pointer;font:inherit;font-size:14px;font-weight:650;line-height:1.5;text-align:center;text-decoration:none;gap:8px;overflow-wrap:anywhere;touch-action:manipulation}button:hover,.button:hover{background:#1185d4;text-decoration:none}button:disabled{opacity:.48;cursor:not-allowed;box-shadow:none}.secondary{background:#163b61;border-color:#496d91;color:#f1f8ff}.secondary:hover{background:#204b73}.ghost{background:transparent;color:#bceeff;border-color:#416285}.ghost:hover{background:#163758}.danger{background:#862e43;border-color:#d17b8f;color:#fff}.danger:hover{background:#a23a50}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:22px;margin-bottom:18px;box-shadow:var(--shadow);min-width:0;overflow-wrap:anywhere}.card>:last-child{margin-bottom:0}.auth{width:calc(100% - 32px);max-width:490px;margin:7vh auto;padding:32px}.auth-brand{display:flex;align-items:center;gap:14px;padding-bottom:24px;margin-bottom:24px;border-bottom:1px solid var(--line)}.auth-brand picture{flex:0 0 64px}.auth-brand img{display:block;width:64px;height:64px}.auth-brand strong{display:block;font-size:19px;line-height:1.3}.auth-brand small{display:block;margin-top:4px;font-size:12px}.auth h1{font-size:clamp(24px,5vw,31px)}.auth form{display:grid;gap:18px}.auth form>button{width:100%}.auth label{display:grid;gap:8px;color:#d5e4f4;font-size:14px;font-weight:600}.auth .muted{font-size:12px;margin-top:20px}.eyebrow{display:block;font-size:10px;letter-spacing:1.7px;font-weight:750;color:#76dfff;margin-bottom:8px}.alert,.success{padding:14px 16px;border-radius:12px;border:1px solid #bb7589;background:#49223a;color:#ffe6ee;overflow-wrap:anywhere}.success{background:#103f39;border-color:#3c9582;color:#c7fff0}.empty{color:var(--muted);padding:30px 20px;text-align:center;background:#0a2341;border:1px dashed #3e6285;border-radius:var(--radius);grid-column:1/-1;margin:0 0 18px}.row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.row>*{min-width:0}.pre{white-space:pre-wrap}pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;background:#071b38;padding:16px;border-radius:12px}.table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-color:#547a9e #091f3b;scrollbar-width:thin}table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}th,td{padding:14px 12px;border-bottom:1px solid var(--line);vertical-align:top;min-width:90px;overflow-wrap:anywhere}th{background:#102f52;font-size:12px;font-weight:650;color:#dbeafa}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#153455}td a{display:inline-block;padding-block:4px}td input[type=checkbox]{margin:0;vertical-align:middle}details>summary{cursor:pointer;font-weight:650;min-height:48px;display:flex;align-items:center;gap:10px;overflow-wrap:anywhere}details:not(.profile)>summary::before{content:"+";flex:0 0 22px;color:#75ddff;font-size:22px;line-height:1;font-weight:400}details[open]:not(.profile)>summary::before{content:"−"}details[open]>summary{margin-bottom:16px}details:not(.card):not(.profile){margin-top:16px;border-top:1px solid var(--line);padding-top:6px}.activity{padding:16px 0;border-bottom:1px solid var(--line)}.activity:last-child{border:0}.activity strong{font-size:14px}.activity p{margin:5px 0;color:var(--muted);font-size:13px}.activity small{display:inline-block;font-size:12px}.badge,.status{display:inline-flex;align-items:center;gap:7px;font-size:12px;border:1px solid #4c7093;border-radius:8px;padding:5px 9px;background:#153c61;color:#d6edff;font-weight:650;line-height:1.4;max-width:100%;overflow-wrap:anywhere}.status::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor;flex-shrink:0}.mendesak{background:#48243b;border-color:#b9637d;color:#ffd5e2}.segera{background:#423521;border-color:#9d8050;color:#ffe0a3}.biasa,.status-belum{background:#163b60;color:#c6eaff}.status-sedang{background:#153e5d;border-color:#397eab;color:#a8e4ff}.status-periksa{background:#3b324f;border-color:#8b72b3;color:#eadcff}.status-selesai{background:#123e35;border-color:#3d927d;color:#b2f7df}.status-perbaiki{background:#423521;border-color:#9d8050;color:#ffe0a3}.photo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:16px}figure{margin:0;min-width:0}.photo-grid img{display:block;width:100%;max-height:340px;object-fit:cover;border-radius:12px;border:1px solid var(--line)}figcaption{font-size:12px;color:var(--muted);padding:9px 0;overflow-wrap:anywhere}.camera-stage{position:relative;overflow:hidden;border:1px solid #3f6589;border-radius:14px;background:#091f3b;min-height:190px;display:grid;place-items:center}.camera video,.camera .capture-preview{display:block;width:100%;max-height:440px;object-fit:contain;background:#06152b}.camera video{min-height:190px}.camera-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:9px;min-height:190px;padding:24px;color:var(--muted)}.camera-placeholder strong{font-size:14px;color:var(--ink)}.camera-symbol{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#173e63;color:#8be4ff}.camera-message{font-size:13px;margin:12px 0;min-height:22px}.camera[data-state=error] .camera-message{color:#ffd5e2}.camera-actions{display:flex;gap:10px;flex-wrap:wrap}.camera-actions button{flex:1;min-width:110px}.camera+button{margin-top:2px}.check{display:flex;align-items:center;gap:10px}.check input{width:22px;min-height:22px;flex:0 0 22px}.narrow{max-width:660px;margin-inline:auto}dt{font-size:12px;color:var(--muted)}dd{margin:3px 0 14px;font-weight:600;overflow-wrap:anywhere}[hidden]{display:none!important}:focus-visible{outline:3px solid #7de3ff;outline-offset:3px}.skip-link{position:fixed;left:16px;top:-100px;z-index:200;background:#123c62;padding:12px;border-radius:8px}.skip-link:focus{top:12px}.report-cards{display:none}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:26px 0 14px}.section-heading h2{margin:0}.section-heading>a{font-size:13px;font-weight:650;padding-block:8px}.inline-meta{display:flex;gap:9px;align-items:center;color:var(--muted);font-size:12px}.report-total{font-size:13px;color:var(--muted);margin:20px 0}.report-card dl{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:14px 0 0}.report-card dd{font-weight:500;font-size:13px;margin:3px 0 0}.report-card h3{margin:14px 0 7px}.report-card p{font-size:13px;margin-bottom:12px}.camera-noscript{color:#ffd5e2}
/* Shared fields also cover standalone login/installer/error views. */
input,select,textarea{width:100%;min-width:0;min-height:48px;background:var(--field);border:1px solid #496d91;border-radius:11px;padding:11px 12px;color:var(--ink);font:inherit;font-size:16px}input::placeholder,textarea::placeholder{color:#9db7d1}input:focus,select:focus,textarea:focus{border-color:#6ddaff}input[type=checkbox]{width:22px;min-height:22px;padding:0;accent-color:#35c9f4}input[type=file]{font-size:13px;padding:9px}input::file-selector-button{border:1px solid #557b9f;border-radius:6px;background:#173d62;color:#fff;padding:6px 10px;margin-right:10px}select{color-scheme:dark}textarea{min-height:120px;resize:vertical}button[data-original-label]{white-space:normal}
input,select,textarea{font-weight:400}.detail-assignee-label{margin-top:20px}

html{scroll-padding-top:112px}section[id]{scroll-margin-top:112px}.editable-table{min-width:660px}.editable-table th:first-child{width:32%}.editable-table td{min-width:100px}.editable-table .table-actions{display:flex;flex-wrap:wrap;gap:8px;min-width:180px}.table-actions form{margin:0}.table-actions button,.table-actions .button{min-height:44px;font-size:12px;padding:9px 12px}.row-editor{margin:0!important;border:0!important;padding:0!important}.row-editor>summary{font-size:13px;min-width:100px}.row-editor .form{min-width:220px;max-width:360px}.table-description{display:block;margin-top:5px;font-size:12px;color:var(--muted)}.camera[data-tap-open="1"] .camera-placeholder{width:100%;border:0;border-radius:0;background:#091f3b;box-shadow:none;color:var(--muted);font-weight:400;min-height:190px}.camera[data-tap-open="1"] .camera-placeholder:hover{background:#12395a}.camera[data-tap-open="1"] .camera-placeholder:focus-visible{outline-offset:-5px}.camera[data-tap-open="1"] .camera-placeholder .camera-symbol{width:56px;height:56px}.camera[data-tap-open="1"] .camera-placeholder .ui-icon{width:28px;height:28px}@media print{.profile-capabilities{display:none!important}}

/* v1.3.2: navigation and dashboard hierarchy; original palette retained. */
.workflow-hint{padding:14px 16px;border-left:3px solid var(--blue);background:var(--field);border-radius:0 12px 12px 0;font-size:14px}
.permission-guide p{max-width:76ch}.stats:empty{display:none}.page-title h1{margin-bottom:10px}
