:root{--navy:#153a5b;--blue:#1f6feb;--bg:#f4f7fb;--line:#dfe6ee;--text:#1f2937;--muted:#667085;--green:#18794e;--orange:#b54708;--red:#b42318}*{box-sizing:border-box}body{margin:0;font:14px/1.45 system-ui,-apple-system,Segoe UI,sans-serif;color:var(--text);background:var(--bg)}a{text-decoration:none;color:inherit}.app-shell{display:grid;grid-template-columns:240px 1fr;min-height:100vh}.sidebar{background:#102e49;color:white;padding:24px 16px}.brand{font-size:22px;font-weight:800}.brand span{font-weight:500}.brand.big{font-size:28px;color:var(--navy)}nav{margin-top:30px;display:grid;gap:7px}nav a{padding:10px 12px;border-radius:8px;color:#dce9f5}nav a:hover{background:#1b4568;color:white}.nav-title{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#87a8c1;margin:16px 12px 4px}.topbar{height:68px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 26px}.topbar small{display:block;color:var(--muted)}.content{padding:26px;max-width:1500px}.grid{display:grid;gap:18px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.metrics{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:18px}.card{background:white;border:1px solid var(--line);border-radius:14px;padding:20px;box-shadow:0 3px 16px rgba(30,55,80,.05);margin-bottom:18px}.card.link:hover{border-color:var(--blue);transform:translateY(-1px)}.card h2{margin:5px 0;font-size:28px}.card h3{margin-top:0}.muted,small{color:var(--muted)}.row{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:11px 0;border-bottom:1px solid #eef2f6}.row:last-child{border-bottom:0}.row small{display:block}.btn{display:inline-block;border:1px solid #c7d2df;border-radius:8px;padding:8px 12px;background:white;cursor:pointer;font-weight:600}.btn.primary{background:var(--blue);color:white;border-color:var(--blue)}.btn.danger{border-color:#efb4b4;color:var(--red)}.full{width:100%}.actions{display:flex;gap:8px;justify-content:flex-end;margin:0 0 16px}.alert{padding:12px 14px;border-radius:9px;background:#eaf3fb;margin-bottom:14px}.alert.error{background:#fdecec;color:var(--red)}.alert.warning{background:#fff3e8;color:var(--orange)}.alert.success{background:#eaf7ef;color:var(--green)}.badge,.status{padding:4px 8px;border-radius:999px;background:#edf3f8;font-size:12px;font-weight:700}.status.ok{background:#eaf7ef;color:var(--green)}.status.warn{background:#fff3e8;color:var(--orange)}.table{overflow:auto}.table table{width:100%;border-collapse:collapse}.table th,.table td{text-align:left;padding:10px;border-bottom:1px solid var(--line);vertical-align:top}.table th{font-size:12px;color:var(--muted);background:#f8fafc}.form-control,input,select,textarea{width:100%;border:1px solid #cfd8e3;border-radius:8px;padding:9px 10px;background:white}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.form-grid label,.login-card label{font-weight:700;display:block;margin:7px 0}.question{padding:16px 0;border-bottom:1px solid var(--line)}.question label{display:block;font-weight:700;margin-bottom:8px}.login-body{display:grid;place-items:center;min-height:100vh;background:linear-gradient(135deg,#eef5fb,#f8fafc)}.login-card{width:min(420px,92vw);padding:34px;background:white;border-radius:18px;box-shadow:0 14px 50px rgba(20,55,85,.12)}.center{text-align:center}.block{display:block;margin-top:8px;word-break:break-all}.toolbar{display:flex;gap:8px;margin-bottom:18px}.mt{margin-top:16px}pre{white-space:pre-wrap;word-break:break-word;background:#f7f9fc;padding:12px;border-radius:8px}@media(max-width:900px){.app-shell{grid-template-columns:1fr}.sidebar{position:relative}.grid.two,.grid.three,.metrics,.form-grid{grid-template-columns:1fr}.content{padding:16px}.topbar{padding:0 16px}}
.brand-sub{font-size:11px;color:#a8c2d8;margin-top:3px}.nav-badge{display:inline-block;min-width:20px;text-align:center;padding:1px 6px;border-radius:999px;background:#f04438;color:#fff;font-size:10px;margin-left:6px}.user-chip{padding:6px 10px;border-radius:999px;background:#f1f5f9;color:#475467;font-size:12px}.metric-label{text-transform:uppercase;letter-spacing:.05em;font-size:11px;color:var(--muted)}.metric-value{font-size:30px;font-weight:800;margin-top:4px}.metric-sub{font-size:12px;color:var(--muted)}.section-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:4px 0 12px}.section-title h2,.section-title h3{margin:0}.pill{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;background:#edf3f8;font-size:11px;font-weight:700}.pill.ok{background:#eaf7ef;color:var(--green)}.pill.warn{background:#fff3e8;color:var(--orange)}.pill.bad{background:#fdecec;color:var(--red)}.stack{display:grid;gap:10px}.compact{font-size:12px}.progress{height:8px;border-radius:999px;background:#e8eef5;overflow:hidden}.progress>span{display:block;height:100%;background:var(--blue)}.kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.hero{background:linear-gradient(135deg,#153a5b,#1f6feb);color:#fff;border:none}.hero small,.hero .muted{color:#dce9f5}.tabs{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.tab{padding:7px 10px;border-radius:8px;background:#f2f5f8;font-size:12px}.empty{padding:22px;text-align:center;color:var(--muted);border:1px dashed #ccd6e0;border-radius:10px}.code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}.right{text-align:right}.nowrap{white-space:nowrap}.w-auto{width:auto}.danger-zone{border-color:#f3b6b2}.toolbar.wrap{flex-wrap:wrap}.muted-box{padding:12px;background:#f8fafc;border-radius:9px;color:#667085}.score{font-size:22px;font-weight:800}.score.low{color:var(--red)}.score.mid{color:var(--orange)}.score.high{color:var(--green)}@media(max-width:1100px){.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.kpi-grid{grid-template-columns:1fr}}
.toast{position:fixed;right:20px;bottom:20px;max-width:380px;background:#102e49;color:#fff;padding:14px 16px;border-radius:12px;box-shadow:0 16px 40px rgba(0,0,0,.22);z-index:9999;cursor:pointer}.toast strong,.toast span{display:block}.toast span{font-size:12px;color:#dce9f5;margin-top:4px}
.nav-logout{margin:0}.nav-link-button{display:block;width:100%;border:0;background:transparent;color:inherit;text-align:left;padding:.65rem .8rem;cursor:pointer;font:inherit}.nav-link-button:hover{background:rgba(255,255,255,.06)}

/* Guided wizard */
.wizard-hero{overflow:hidden}.compact-kpis{margin-top:18px}.compact-number{font-size:24px}.wizard-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 18px}.wizard-step{border:1px solid var(--line);background:#fff;border-radius:14px;padding:14px;text-align:left;cursor:pointer;display:grid;grid-template-columns:34px 1fr;column-gap:10px;align-items:center;color:var(--text)}.wizard-step span{grid-row:1/3;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#e8eef5;color:var(--navy);font-weight:800}.wizard-step b{font-size:13px}.wizard-step small{font-size:11px}.wizard-step.active{border-color:var(--blue);box-shadow:0 0 0 3px rgba(31,111,235,.10)}.wizard-step.active span{background:var(--blue);color:white}.wizard-step.done span{background:var(--green);color:white}.wizard-panel[hidden]{display:none}.wizard-help{margin-top:14px;padding:11px 13px;border-radius:9px;background:#f5f8fc;color:var(--muted);font-size:12px}.filter-box{border:1px solid var(--line);border-radius:12px;padding:14px;background:#fbfcfe}.filter-box label{display:block;font-weight:700;margin-bottom:7px}.filter-box small{display:block;margin-top:8px}.checkline{display:flex!important;align-items:center;gap:8px;font-weight:600!important;margin:10px 0}.checkline input{width:auto}.wizard-actions{position:sticky;bottom:12px;z-index:20;display:flex;justify-content:space-between;align-items:center;gap:10px;box-shadow:0 12px 34px rgba(16,46,73,.14)}.wizard-actions-right{display:flex;gap:8px;flex-wrap:wrap}.input-error{border-color:var(--red)!important;box-shadow:0 0 0 3px rgba(180,35,24,.08)!important}.errorlist{margin:6px 0 0;padding:0;list-style:none;color:var(--red);font-size:12px}
/* Friendly errors */
.error-shell{min-height:62vh;display:grid;place-items:center}.error-card{width:min(720px,100%);text-align:center;padding:34px}.error-code{font-size:72px;line-height:1;font-weight:900;color:var(--navy);letter-spacing:-.05em}.request-id{margin:22px auto;padding:14px;border-radius:12px;background:#f7f9fc;max-width:560px}.request-id span,.request-id small{display:block;color:var(--muted)}.request-id code{display:block;margin:6px 0;font-size:13px;word-break:break-all}.error-actions{justify-content:center;flex-wrap:wrap;margin-top:22px}
@media(max-width:800px){.wizard-steps{grid-template-columns:1fr 1fr}.wizard-actions{position:static;align-items:stretch;flex-direction:column}.wizard-actions-right{display:grid}.wizard-actions .btn{width:100%}}
.next-action-panel{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:18px;padding:16px;border-radius:12px;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.22)}.next-action-panel strong{display:block;margin-top:4px;color:white}.eyebrow{font-size:10px;text-transform:uppercase;letter-spacing:.1em;color:#dce9f5}.next-action-cta form{margin:0}.next-action-cta .btn{white-space:nowrap;background:white;color:var(--navy);border-color:white}@media(max-width:760px){.next-action-panel{align-items:stretch;flex-direction:column}.next-action-cta .btn{width:100%}}

/* v2.4 guided enterprise UX */
.page-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin:0 0 18px}.page-heading h1{margin:2px 0 4px;font-size:28px;color:var(--navy)}.page-heading-actions{display:flex;gap:8px;flex-wrap:wrap}.eyebrow.dark{color:var(--blue);font-weight:800}.wizard-progress-shell{margin:0 0 12px}.wizard-progress-meta{display:flex;justify-content:space-between;gap:16px;font-size:12px;color:var(--muted);margin-bottom:6px}.wizard-progress{height:6px}.wizard-progress>span{transition:width .25s ease}.wizard-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px;align-items:start}.wizard-main{min-width:0}.wizard-aside{position:sticky;top:86px;margin:0}.wizard-card{border-radius:16px}.field-group>small{display:block;margin-top:6px}.filter-box-head{display:flex;justify-content:space-between;align-items:center;gap:8px}.select-search{margin:0 0 8px;padding:8px 10px;background:#fff}.safety-filter{background:#f9fbff}.mini-note{margin-top:10px;padding:8px 10px;border-radius:8px;background:#eef5ff;color:#31506c;font-size:11px}.summary-list{display:grid;gap:0}.summary-list>div{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:10px 0;border-bottom:1px solid #edf1f5}.summary-list>div:last-child{border-bottom:0}.summary-list span{color:var(--muted);font-size:12px}.summary-list strong{text-align:right;font-size:12px;max-width:65%}.summary-security{margin:14px 0;padding:12px;border-radius:10px;background:#f7fafc}.summary-security strong{font-size:12px}.summary-security ul{margin:8px 0 0;padding-left:18px;color:var(--muted);font-size:11px}.review-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:18px}.review-summary>div,.preview-kpi{padding:12px;border:1px solid var(--line);border-radius:10px;background:#fafcff}.review-summary span{display:block;color:var(--muted);font-size:11px}.review-summary strong{display:block;margin-top:5px;font-size:12px}.preview-result{border-top:1px solid var(--line);padding-top:18px}.preview-result.preview-stale{opacity:.65;position:relative}.preview-result.preview-stale:after{content:'Preview stale — jalankan ulang';position:absolute;right:12px;top:12px;background:#fff3e8;color:var(--orange);padding:5px 8px;border-radius:999px;font-size:10px;font-weight:800}.preview-empty{padding:34px}.wizard-actions-left{display:flex;align-items:center;gap:12px}.wizard-step:focus-visible,.btn:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(31,111,235,.25);outline-offset:2px}.wizard-step[aria-current="step"]{background:#f8fbff}.candidate-toolbar{display:grid;grid-template-columns:minmax(260px,1fr) auto auto;gap:10px;margin-bottom:12px}.cycle-stepper{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:0 0 18px}.cycle-step{display:flex;align-items:center;gap:9px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:11px}.cycle-step>span{display:grid;place-items:center;width:28px;height:28px;min-width:28px;border-radius:50%;background:#e9eef4;color:var(--navy);font-size:12px;font-weight:800}.cycle-step strong,.cycle-step small{display:block}.cycle-step strong{font-size:12px}.cycle-step small{font-size:10px}.cycle-step.done{border-color:#b9dfcc;background:#f7fcf9}.cycle-step.done>span{background:var(--green);color:#fff}.cycle-step.active{border-color:#91b9f5;background:#f6f9ff;box-shadow:0 0 0 2px rgba(31,111,235,.08)}.cycle-step.active>span{background:var(--blue);color:#fff}.cycle-step.attention{border-color:#f2c59f;background:#fffaf5}.cycle-step.attention>span{background:var(--orange);color:#fff}.campaign-kpis .progress{margin:8px 0}.campaign-info-grid{align-items:stretch}.campaign-info-grid>.card{height:100%}.compact-summary strong{font-size:11px}.candidate-card{padding-bottom:10px}details summary{cursor:pointer;font-weight:700;margin-top:8px}.btn[disabled]{opacity:.5;cursor:not-allowed}.btn.loading{position:relative;pointer-events:none;opacity:.75}.btn.loading:after{content:'';display:inline-block;width:12px;height:12px;margin-left:8px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:spin .65s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
@media(max-width:1100px){.wizard-layout{grid-template-columns:1fr}.wizard-aside{position:static}.cycle-stepper{grid-template-columns:repeat(3,minmax(0,1fr))}.review-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.page-heading{flex-direction:column}.page-heading-actions{width:100%}.page-heading-actions .btn{flex:1;text-align:center}.candidate-toolbar{grid-template-columns:1fr}.candidate-toolbar .w-auto{width:100%}.cycle-stepper{grid-template-columns:1fr 1fr}.review-summary{grid-template-columns:1fr}.wizard-progress-meta{align-items:flex-start;flex-direction:column;gap:3px}.wizard-actions-left{display:grid}.wizard-actions-right{width:100%}}

/* v2.5 wizard-first application shell */
.guided-shell{display:grid;gap:16px}.guided-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px}.guided-step{border:1px solid var(--line);background:#fff;border-radius:12px;padding:11px;display:flex;align-items:center;gap:9px;cursor:pointer;text-align:left}.guided-step span{display:grid;place-items:center;width:28px;height:28px;min-width:28px;border-radius:50%;background:#e8eef5;font-weight:800}.guided-step.active{border-color:var(--blue);background:#f7faff}.guided-step.active span{background:var(--blue);color:#fff}.guided-step.done span{background:var(--green);color:#fff}.guided-progress{height:6px;background:#e8eef5;border-radius:999px;overflow:hidden}.guided-progress>span{display:block;height:100%;background:var(--blue);transition:width .2s ease}.guided-panel[hidden]{display:none}.guided-footer{position:sticky;bottom:12px;z-index:30;display:flex;justify-content:space-between;gap:10px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px 14px;box-shadow:0 12px 34px rgba(16,46,73,.13)}.guided-footer .actions{margin:0}.guided-status{font-size:12px;color:var(--muted)}.question-section{border:1px solid var(--line);border-radius:14px;padding:18px;background:#fff}.question-section-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:10px}.question-index{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#eef4ff;color:var(--blue);font-weight:800;margin-right:7px}.response-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.response-summary .card{margin:0;padding:14px}.wizard-callout{padding:14px;border-radius:12px;background:#f7faff;border:1px solid #dce8fb}.wizard-callout strong{display:block;margin-bottom:4px}.wizard-role-home{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px}.wizard-role-card{border:1px solid var(--line);background:#fff;border-radius:14px;padding:16px}.wizard-role-card .step-no{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--navy);color:#fff;font-weight:800;margin-bottom:10px}.wizard-role-card h3{margin:0 0 6px}.wizard-role-card .btn{margin-top:10px}.guided-review{display:grid;gap:10px}.guided-review .summary-list{background:#fafcff;border:1px solid var(--line);border-radius:12px;padding:0 14px}.report-wizard .guided-panel>.card:first-child{margin-top:0}.subject-wizard .guided-panel{min-height:220px}.setup-checklist{display:grid;gap:8px}.setup-check{display:flex;gap:10px;align-items:flex-start;padding:10px;border:1px solid var(--line);border-radius:10px;background:#fbfcfe}.setup-check span{display:grid;place-items:center;min-width:24px;height:24px;border-radius:50%;background:#eaf7ef;color:var(--green);font-weight:800}.setup-check.warn span{background:#fff3e8;color:var(--orange)}
@media(max-width:760px){.guided-footer{position:static;align-items:stretch;flex-direction:column}.guided-footer .actions{display:grid;width:100%}.response-summary{grid-template-columns:1fr}.guided-steps{grid-template-columns:1fr 1fr}}

/* v2.7 professional reporting spacing & privacy presentation */
.report-hero{padding:24px}.report-hero-head{align-items:flex-start}.report-hero h2{margin:6px 0 10px;font-size:28px}.report-subtitle{margin:3px 0;color:#e3edf7}.report-campaign{margin-top:10px}.report-actions{display:flex;gap:8px;flex-wrap:wrap}.report-privacy-note{margin-top:18px;padding:12px 14px;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.10);border-radius:12px;line-height:1.55}.report-steps strong,.report-steps small{display:block}.report-steps strong{margin-bottom:3px}.report-section-heading{margin:4px 0 18px}.report-section-heading .eyebrow{display:block;margin-bottom:6px}.report-section-heading h2{margin:0 0 8px;font-size:22px}.report-section-heading p{margin:0;max-width:860px;line-height:1.6}.report-kpis{margin-bottom:16px}.report-kpis .card small{display:block;margin-top:6px;line-height:1.45}.report-overview-grid{align-items:stretch}.report-chart-card{overflow:hidden}.report-chart-card svg{display:block;max-width:100%;height:auto;margin:10px auto 0}.report-view-list{display:grid;gap:8px}.report-view-row{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:13px 0;border-bottom:1px solid var(--line)}.report-view-row:last-child{border-bottom:0}.report-view-row strong,.report-view-row small{display:block}.report-view-row small{margin-top:3px;color:var(--muted)}.report-table-card table{min-width:720px}.report-comments{display:grid;gap:12px}.report-comment{padding:16px;border:1px solid var(--line);border-radius:12px;background:#fbfcfe}.report-comment-meta{margin-bottom:9px}.report-comment h4{margin:0 0 8px;line-height:1.45}.report-comment p{margin:0;line-height:1.65;white-space:pre-wrap}.report-ai{white-space:pre-wrap;word-break:break-word;background:#f7f9fc;padding:12px;border-radius:10px;border:1px solid var(--line)}
@media(max-width:760px){.report-hero{padding:18px}.report-hero-head{flex-direction:column}.report-actions{width:100%}.report-actions .btn{flex:1;text-align:center}.report-view-row{align-items:flex-start;flex-direction:column}.report-view-row .right{text-align:left}.report-section-heading h2{font-size:20px}}

/* v2.8 polished spacing, contrast, direct rating cards */
.guided-shell{gap:20px}.guided-panel{min-width:0}.guided-panel>.card,.guided-panel>.grid{margin-top:0}.section-title{gap:18px}.section-title>div>h2,.section-title>div>h3{margin-bottom:6px}.section-title>div>small,.section-title>div>p{display:block;margin-top:4px}.subsection-title{margin:22px 0 12px}.subsection-title h3,.subsection-title h4{margin:0 0 5px}.subsection-title small{display:block;color:var(--muted);line-height:1.55}
.setup-checklist.spaced-checklist{gap:12px}.setup-check{padding:14px;gap:12px;align-items:flex-start}.setup-check>div{min-width:0}.setup-check strong{display:block;margin:1px 0 5px;line-height:1.35}.setup-check small{display:block;color:var(--muted);line-height:1.55}.setup-check span{font-size:13px;box-shadow:inset 0 0 0 1px rgba(24,121,78,.12)}
.high-contrast-ribbon{gap:10px}.high-contrast-ribbon .guided-step{background:#fff;border:1px solid #bcc9d8;color:#203244;min-height:68px}.high-contrast-ribbon .guided-step strong{display:block;color:#153a5b;font-size:13px;line-height:1.25;margin-bottom:4px}.high-contrast-ribbon .guided-step small{display:block;color:#52677c;font-size:11px;line-height:1.3}.high-contrast-ribbon .guided-step>span{background:#dfe8f2;color:#153a5b}.high-contrast-ribbon .guided-step.active{background:#153a5b;border-color:#153a5b;box-shadow:0 0 0 3px rgba(21,58,91,.13)}.high-contrast-ribbon .guided-step.active strong,.high-contrast-ribbon .guided-step.active small{color:#fff}.high-contrast-ribbon .guided-step.active>span{background:#fff;color:#153a5b}.high-contrast-ribbon .guided-step.done{background:#edf8f2;border-color:#8fc7a8}.high-contrast-ribbon .guided-step.done strong{color:#0d5d3b}.high-contrast-ribbon .guided-step.done small{color:#35634f}.high-contrast-ribbon .guided-step.done>span{background:#18794e;color:#fff}
.hero-subline{margin:6px 0 0!important}.hero-copy{margin:16px 0 0!important;line-height:1.65}.question-section-head h2{margin:5px 0 8px}.question-section-head p{margin:0;line-height:1.6}.question-card{border-top:1px solid var(--line);padding:22px 0}.question-card:first-of-type{border-top:0;padding-top:8px}.question-card-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:start;margin-bottom:14px}.question-card-head h3{margin:0;font-size:15px;line-height:1.55}.question-card-head p{margin:6px 0 0;line-height:1.55}
.rating-criteria-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px}.rating-criteria-card{padding:15px;border:1px solid #cfd9e5;border-radius:13px;background:#fff}.rating-criteria-head{display:flex;align-items:center;gap:9px;margin-bottom:8px}.rating-criteria-card p{margin:0;color:#52677c;line-height:1.55}.rating-value-badge{display:inline-grid;place-items:center;min-width:30px;height:30px;padding:0 8px;border-radius:8px;background:#153a5b;color:#fff;font-weight:800;font-size:12px}
.rating-choice-grid{border:0;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}.rating-choice-grid.input-error{padding:10px;border:2px solid var(--red);border-radius:14px;background:#fff8f7}.rating-choice-card{display:block;cursor:pointer;position:relative}.rating-choice-card input{position:absolute;opacity:0;pointer-events:none}.rating-choice-body{display:block;height:100%;padding:15px;border:1.5px solid #bcc9d8;border-radius:14px;background:#fff;transition:border-color .15s,box-shadow .15s,transform .15s}.rating-choice-title{display:flex;align-items:center;gap:9px;margin-bottom:8px}.rating-choice-title strong{color:#153a5b;line-height:1.3}.rating-choice-description{display:block;color:#52677c;font-size:12px;line-height:1.55}.rating-choice-card:hover .rating-choice-body{border-color:#6f95bb;transform:translateY(-1px)}.rating-choice-card input:focus-visible + .rating-choice-body{outline:3px solid rgba(31,111,235,.28);outline-offset:2px}.rating-choice-card input:checked + .rating-choice-body{border-color:#1f6feb;background:#f2f7ff;box-shadow:0 0 0 3px rgba(31,111,235,.12)}.rating-choice-card input:checked + .rating-choice-body:after{content:'Dipilih';display:inline-block;margin-top:10px;padding:3px 7px;border-radius:999px;background:#1f6feb;color:#fff;font-size:10px;font-weight:800}
.entity-list{display:grid;gap:10px}.entity-row{display:flex;justify-content:space-between;align-items:center;gap:14px;border:1px solid var(--line);border-radius:12px;padding:13px}.entity-row.selected{background:#f5f9ff;border-color:#8fb3dd}.entity-row strong,.entity-row small{display:block}.entity-row small{margin-top:4px;color:var(--muted)}.entity-editor{border:1px solid var(--line);border-radius:14px;padding:15px;margin-bottom:12px;background:#fbfcfe}.inset-card{background:#f7faff;box-shadow:none}.rating-admin-list{display:grid;gap:12px}.rating-admin-row{display:grid;grid-template-columns:100px minmax(0,1fr) auto;gap:12px;align-items:start;border:1px solid var(--line);border-radius:14px;padding:14px;background:#fbfcfe}.rating-admin-value span{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin-bottom:5px}.rating-admin-value input{font-weight:800;text-align:center}.rating-admin-content{display:grid;gap:8px}.rating-label-input{font-weight:750;color:#153a5b}.rating-admin-actions{display:grid;gap:7px}.compact-stack{gap:2px}.configuration-hero h2{margin:6px 0 8px}.configuration-hero p{line-height:1.6}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:900px){.rating-admin-row{grid-template-columns:1fr}.rating-admin-actions{display:flex;flex-wrap:wrap}.rating-choice-grid{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.rating-choice-grid,.rating-criteria-grid{grid-template-columns:1fr}.question-card-head{grid-template-columns:auto 1fr}.question-card-head>.pill{grid-column:2}.high-contrast-ribbon{grid-template-columns:1fr}.rating-admin-actions{display:grid}}

/* 3.1 responsive/accessible spacing safeguards. */
:where(.badge,.status,.pill,.nav-badge,.user-chip){
  max-width:100%;min-height:24px;align-items:center;line-height:1.45;
  overflow-wrap:anywhere;white-space:normal;vertical-align:middle;
}
:where(.row,.actions,.toolbar,.section-title,.question-card-head,.rating-choice-card){min-width:0}
:where(.row,.actions,.toolbar,.section-title){flex-wrap:wrap}
:where(.card,.question-card,.wizard-role-card,.guided-step){overflow-wrap:anywhere;min-width:0}
:where(.form-control,input,select,textarea){min-width:0;max-width:100%}
:where(button,a,input,select,textarea):focus-visible{
  outline:3px solid #3478c0;outline-offset:3px;
}
.rating-choice-card{min-width:0;line-height:1.55}
.rating-choice-body{min-width:0}
.rating-choice-description{line-height:1.5;overflow-wrap:anywhere}
@media(max-width:640px){
  .content{padding:12px}
  .card{padding:16px}
  .guided-step{min-width:0;padding:12px}
  .guided-footer .actions>*{width:100%}
  .table{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition-duration:0.01ms!important;animation-duration:0.01ms!important}}

/* Score-policy summary: readable at desktop and narrow devices. */
.report-weight-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:12px 0}
.report-weight-chip{border:1px solid #d7e1ed;border-radius:12px;padding:14px;display:flex;flex-direction:column;gap:7px;background:#f8fbff;color:#173a63}
.report-weight-chip span{font-size:1.4rem;font-weight:750}
@media(max-width:720px){.report-weight-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
