:root{--bg:#f6f8fb;--ink:#07182f;--muted:#33445f;--line:#d5dde8;--panel:#fff;--accent:#0f766e;--accent-strong:#0b5f59;--soft:#e7f3f1;--blue:#385f8f;--amber:#9f6a17;--red:#a53c38}*{box-sizing:border-box}body{color:var(--ink);background:linear-gradient(135deg,#f3faf8 0%,#f6f9fc 48%,#eef5f7 100%);margin:0;font-family:Arial,Helvetica,sans-serif}button,input,textarea{font:inherit}button{border:1px solid var(--line);background:var(--panel);min-height:34px;color:var(--ink);cursor:pointer;border-radius:7px;justify-content:center;align-items:center;gap:7px;padding:0 12px;display:inline-flex}button:disabled{cursor:progress;opacity:.66}h1,h2,h3,p{margin:0}.branded-module-page{flex-direction:column;width:min(1380px,100% - 72px);min-height:100dvh;margin:0 auto;padding:34px 0 18px;display:flex}.brand-shell{background:#ffffffe6;border:1px solid #c9dcdab8;border-radius:14px;justify-content:space-between;align-items:center;gap:14px;width:min(1180px,100% - 72px);margin:0 auto 24px;padding:10px 18px;display:flex;box-shadow:0 24px 70px #081f331f}.brand,.brand-actions{align-items:center;min-width:0;display:flex}.brand{color:var(--ink);gap:10px;font-size:16px;font-weight:800}.brand-logo{object-fit:contain;flex:none;width:112px;height:72px}.brand-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px}.brand-actions button,.secondary{color:#071b34;background:#fff;border-color:#d7e1ea;border-radius:8px;min-height:34px;font-weight:700;box-shadow:0 8px 24px #081f330f}.brand-actions button:hover,.secondary:hover{background:var(--soft);border-color:#9db7ae}.module-heading{justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:12px;padding:0 0 4px;display:flex}.module-heading h1{color:#071b34;letter-spacing:0;margin:0 0 6px;font-size:28px;font-weight:800;line-height:1.1}.module-heading p{color:#334963;max-width:900px;font-size:14px;line-height:1.28}.sessionSummary{color:var(--muted);text-align:right;flex:none;gap:8px;min-width:220px;font-size:14px;line-height:1.35;display:grid}.sessionRow{justify-content:flex-end;align-items:baseline;gap:6px;display:inline-flex}.sessionRow span{color:var(--muted);font-weight:500}.sessionRow strong{color:var(--ink);font-weight:800}.integrationPanel{background:#ffffffeb;border:1px solid #cddbe6;border-radius:8px;margin-bottom:14px;box-shadow:0 18px 50px #081f3314}.integrationSummary{color:var(--ink);cursor:pointer;align-items:center;gap:8px;padding:14px;list-style:none;display:flex}.integrationSummary::-webkit-details-marker{display:none}.integrationSummary span{font-size:16px;font-weight:800}.integrationSummary small{color:var(--muted);font-size:13px;font-weight:700}.integrationContent{gap:12px;padding:0 14px 14px;display:grid}.integrationFlow{flex-wrap:wrap;align-items:center;gap:9px;display:flex}.integrationFlow span{background:var(--soft);color:var(--ink);border:1px solid #b8d8cf;border-radius:8px;padding:8px 10px;font-weight:800}.integrationFlow b{color:var(--accent-strong)}.integrationList{gap:9px;margin:0;display:grid}.integrationList div{gap:3px;display:grid}.integrationList dt{color:var(--accent-strong);letter-spacing:.08em;text-transform:uppercase;font-size:12px;font-weight:800}.integrationList dd{color:var(--muted);margin:0;line-height:1.4}.workspace{grid-template-rows:auto auto auto auto auto auto 1fr auto;gap:14px;display:grid}.candidate-header,.uploadBand,.actionBar{justify-content:space-between;align-items:center;gap:14px;display:flex}.eyebrow{color:var(--accent);letter-spacing:0;text-transform:uppercase;font-size:11px;font-weight:700}.candidate-header h2{margin:3px 0;font-size:26px;line-height:1.1}.candidate-header span,.panelHeader span,.metric span{color:var(--muted)}.statusPill{background:var(--soft);color:var(--accent-strong);border-radius:7px;flex:none;align-items:center;gap:7px;padding:8px 10px;font-weight:700;display:inline-flex}.uploadTools{flex:1;align-items:stretch;gap:10px;min-width:0;display:flex}.dropzone{cursor:pointer;background:#ffffffe0;border:1px dashed #94aaa4;border-radius:8px;align-content:center;justify-items:center;gap:4px;min-height:92px;display:grid}.dropzone input{opacity:0;width:1px;height:1px;position:absolute}.dropzone span{font-size:14px;font-weight:700}.dropzone strong{color:var(--muted);font-size:12px}.uploadStatus{color:var(--muted);font-size:12px;font-style:normal;font-weight:700}.uploadStatus.success{color:var(--accent-strong)}.uploadStatus.error{color:var(--red)}.templateButton,.clearDataButton{background:#fff;border-color:#c7d7e2;flex:0 0 168px;min-height:92px;font-weight:800}.templateButton:hover,.clearDataButton:hover:not(:disabled){background:var(--soft)}.clearDataButton{color:var(--red)}.clearDataButton:disabled{cursor:not-allowed;opacity:.5}.summaryGrid{grid-template-columns:repeat(2,minmax(150px,1fr));gap:8px;width:min(100%,390px);display:grid}.metric{border-left:4px solid var(--line);background:#ffffffeb;border-radius:8px;gap:4px;min-height:70px;padding:11px 12px;display:grid}.metric strong{text-transform:capitalize;font-size:20px;line-height:1.08}.metric.green{border-color:var(--accent)}.metric.blue{border-color:var(--blue)}.metric.amber{border-color:var(--amber)}.metric.red{border-color:var(--red)}.tabs{gap:7px;padding-bottom:2px;display:flex;overflow-x:auto}.tabs button,.actionBar button{border:1px solid var(--line);min-height:34px;color:var(--ink);background:#fff;border-radius:7px;flex:none;padding:0 12px}.tabs button.selected{border-color:var(--ink);background:var(--ink);color:#fff}.grid{gap:14px;display:grid}.grid.two{grid-template-columns:minmax(320px,.9fr) minmax(420px,1.1fr)}.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.panel{background:#ffffffeb;border:1px solid #cddbe6;border-radius:8px;min-width:0;padding:14px;box-shadow:0 18px 50px #081f3314}.panelHeader{justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px;display:flex}.panelHeader h3{font-size:16px;line-height:1.2}.offerDetailsPanel{grid-template-columns:minmax(220px,1fr) minmax(220px,280px) minmax(240px,340px);align-items:end;gap:14px;display:grid}.offerDetailsPanel .panelHeader{margin-bottom:0}.dateField,.addressField{color:var(--ink);gap:6px;font-weight:800;display:grid}.dateField input,.addressField textarea{border:1px solid var(--line);min-height:40px;color:var(--ink);background:#fbfdff;border-radius:7px;padding:0 12px}.addressField textarea{resize:vertical;min-height:76px;padding:10px 12px}.slider{gap:8px;margin-bottom:14px;display:grid}.slider span{justify-content:space-between;gap:12px;display:flex}.slider input{width:100%;accent-color:var(--accent)}.chart{align-content:center;gap:9px;min-height:220px;display:grid}.barRow{grid-template-columns:122px minmax(120px,1fr) 88px;align-items:center;gap:10px;font-size:12px;display:grid}.barRow>span{color:var(--muted)}.barRow>strong{text-align:right}.barTrack{background:#edf2f0;border-radius:7px;height:22px;position:relative;overflow:hidden}.barTrack i{height:100%;display:block}.acceptanceBar{background:var(--accent)}.barTrack b{color:var(--ink);place-items:center;font-size:11px;display:grid;position:absolute;inset:0 8px 0 auto}.packageList{grid-template-columns:1fr auto;gap:9px;margin:0;display:grid}.packageList dt{color:var(--muted)}.packageList dd{margin:0;font-weight:700}.heat{color:#fff;text-transform:capitalize;border-radius:7px;gap:3px;padding:12px;display:grid}.heat.low{background:var(--accent)}.heat.medium{background:var(--amber)}.heat.high,.heat.critical{background:var(--red)}.compactList{color:#33403d;padding-left:18px;font-size:13px;line-height:1.38}.moduleGrid{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;display:grid}.moduleTile{border:1px solid var(--line);background:#fbfcfd;border-radius:7px;gap:6px;min-height:118px;padding:12px;display:grid}.moduleTile strong{font-size:13px}.moduleTile span{color:var(--muted);font-size:12px;line-height:1.32}.moduleTile code{color:var(--blue);overflow-wrap:anywhere;font-size:11px}.primaryModule{border-color:var(--accent);background:#f1f8f5}.actionBar{flex-wrap:wrap;justify-content:flex-end}.excelNarrativeNote{color:var(--muted);max-width:520px;margin-right:auto;font-size:13px;font-weight:700;line-height:1.35}.actionBar button:hover,.tabs button:hover{background:var(--soft)}.exportStatus{min-height:34px;color:var(--muted);align-items:center;font-size:13px;font-weight:700;display:inline-flex}.exportStatus.success{color:var(--accent-strong)}.exportStatus.error{color:var(--red)}.copyright{color:var(--muted);text-align:center;margin-top:auto;padding-top:12px;font-size:12px}.guide-button{width:44px;min-height:34px;padding:0}.guide-overlay{z-index:50;background:#07182f75;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.guide-dialog{background:#fffaf5;border:1px solid #ead8c6;width:min(100%,1040px);max-width:1040px;max-height:min(82vh,760px);overflow:auto;box-shadow:0 28px 80px #081f3347}.guide-header{border-bottom:1px solid #ead8c6;justify-content:space-between;align-items:center;gap:18px;padding:26px 28px;display:flex}.guide-header small{color:#9b1c07;letter-spacing:.12em;text-transform:uppercase;margin-bottom:10px;font-size:.78rem;font-weight:850;display:block}.guide-header h2{margin:0}.guide-close{color:#fff;background:#111;border:0;border-radius:0;flex:none;width:64px;height:64px;min-height:64px;padding:0;font-size:2rem;font-weight:300}.guide-content{grid-template-columns:repeat(2,minmax(0,1fr));gap:46px;padding:26px 28px 32px;display:grid}.guide-content h3{color:#9b1c07;margin:0 0 18px;font-size:1.35rem}.guide-item{margin-bottom:18px}.guide-item strong{margin-bottom:7px;display:block}.guide-item p{color:var(--ink);margin:0;line-height:1.45}@media (max-width:1100px){.grid.two,.grid.three,.moduleGrid{grid-template-columns:1fr}}@media (max-width:920px){.branded-module-page{width:min(100% - 28px,760px);padding:22px 0}.brand-shell{grid-template-columns:1fr;width:100%;margin-bottom:24px;padding:16px;display:grid}.brand-logo{width:104px;height:70px}.brand-actions{justify-content:stretch}.brand-actions button{flex:150px}.module-heading{grid-template-columns:1fr;display:grid}.offerDetailsPanel{grid-template-columns:1fr}.module-heading h1{font-size:28px}.candidate-header,.uploadBand,.actionBar{flex-direction:column;align-items:stretch}.uploadTools{flex-direction:column}.templateButton{flex-basis:auto;width:100%;min-height:40px}.summaryGrid{grid-template-columns:1fr;width:100%}}@media (max-width:680px){.candidate-header h2{font-size:24px}.module-heading h1{font-size:26px}.barRow{grid-template-columns:1fr}.barRow>strong{text-align:left}}.integrationVisual{grid-template-columns:minmax(220px,.9fr) 54px minmax(220px,.85fr) 54px minmax(300px,1.3fr);align-items:stretch;gap:0;padding:12px 20px 20px;display:grid}.integrationStage{background:linear-gradient(145deg,#f8fbfc,#eef7f5);border:1px solid #c6ddd9;border-radius:14px;min-height:152px;padding:18px;position:relative}.inputStage{grid-template-columns:auto 1fr;align-items:center;gap:6px 12px;display:grid}.stageIcon{color:var(--accent,var(--teal));background:#d9efeb;border-radius:12px;justify-content:center;align-items:center;width:46px;height:46px;display:flex}.stageIcon svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;width:24px;height:24px}.stageEyebrow{color:var(--accent,var(--teal));letter-spacing:.1em;text-transform:uppercase;margin-bottom:3px;font-size:11px;font-weight:900;display:block}.integrationStage strong{color:var(--ink);font-size:16px}.inputSignals{flex-wrap:wrap;grid-column:1/-1;gap:7px;margin-top:8px;display:flex}.inputSignals span,.aiOutputs span{color:var(--muted);background:#fff;border:1px solid #d5e5e2;border-radius:999px;align-items:center;gap:5px;padding:6px 9px;font-size:12px;font-weight:700;display:inline-flex}.inputSignals svg{color:var(--accent,var(--teal));width:14px;height:14px}.integrationConnector{justify-content:center;align-items:center;display:flex}.integrationConnector span{background:var(--accent,var(--teal));width:34px;height:2px;position:relative}.integrationConnector span:after{border-right:2px solid var(--accent,var(--teal));border-top:2px solid var(--accent,var(--teal));content:"";width:8px;height:8px;position:absolute;top:-4px;right:0;transform:rotate(45deg)}.aiStage{text-align:center;background:linear-gradient(145deg,#073a48,#075c64);border-color:#075c64;flex-direction:column;justify-content:center;align-items:center;display:flex;box-shadow:0 12px 30px #074a522e}.aiStage .stageEyebrow{color:#97e0d5}.aiStage strong{color:#fff}.aiOrbit{color:#a8f0df;background:#ffffff1f;border:1px solid #fff3;border-radius:50%;justify-content:center;align-items:center;width:42px;height:42px;margin-bottom:9px;display:flex}.aiOrbit svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;width:21px;height:21px}.aiOutputs{flex-wrap:wrap;justify-content:center;gap:5px;margin-top:12px;display:flex}.aiOutputs span{color:#d8f4ef;background:#ffffff1a;border-color:#ffffff29;padding:4px 7px}.outputStage{place-content:center;gap:10px;display:grid}.moduleTiles{grid-template-columns:repeat(4,minmax(56px,1fr));gap:8px;display:grid}.moduleTiles span{color:var(--accent,var(--teal));background:#fff;border:1px solid #d4e4e1;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:6px;min-height:64px;padding:7px 4px;display:flex}.moduleTiles svg{width:20px;height:20px}.moduleTiles small{color:var(--ink);text-align:center;font-size:10px;font-weight:800}.outputStage p{color:var(--muted);margin:0;font-size:12px;line-height:1.4}.integration-details,.integrationDetails{padding-top:0}.integration-list,.integrationList{display:none!important}@media (max-width:980px){.integrationVisual{grid-template-columns:1fr}.integrationConnector{min-height:36px;transform:rotate(90deg)}}@media (max-width:540px){.integration-summary small,.integrationSummary small{display:none}.integrationVisual{padding-inline:14px}.moduleTiles{grid-template-columns:repeat(2,1fr)}}
