
:root{font-family:Arial,'Segoe UI',sans-serif;color:#e8f0fb;background:#091322}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at 80% 0%,#17304c 0%,#091322 42%);min-height:100vh}button,input,select{font:inherit}button{cursor:pointer}a{color:#69ddce}header{position:sticky;top:0;z-index:5;background:#0c1929ee;backdrop-filter:blur(10px);border-bottom:1px solid #263c50;padding:15px max(22px,calc((100vw - 1240px)/2));display:flex;align-items:center;justify-content:space-between;gap:16px}.logo{font-size:25px;font-weight:800;color:#75e4d0}.small{font-size:12px;color:#a9b8cc}.nav{display:flex;gap:8px;flex-wrap:wrap}.nav button{background:transparent;color:#b9cce0;border:0;padding:10px;border-radius:9px}.nav button.active,.nav button:hover{background:#1a3349;color:white}main{max-width:1240px;margin:auto;padding:26px 20px 70px}.hero{padding:34px;background:linear-gradient(120deg,#183a50,#102039);border:1px solid #315367;border-radius:22px;display:flex;justify-content:space-between;gap:25px;align-items:center}.hero h1{font-size:clamp(28px,4vw,45px);margin:0 0 10px}.hero p{color:#c1d2e2;line-height:1.8;max-width:700px}.pill{display:inline-block;padding:6px 10px;border-radius:20px;background:#183d43;color:#7ee8d3;font-size:12px}.btn{background:#58d4bb;color:#09252a;border:0;border-radius:11px;padding:12px 17px;font-weight:700}.ghost{background:#1b3146;color:#e5f2ff;border:1px solid #36516a}.notice{background:#302a1b;border:1px solid #6c5a30;color:#f3dca1;border-radius:12px;padding:12px 15px;margin:17px 0;font-size:13px;line-height:1.7}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:18px 0 30px}.stat,.panel,.forecast{background:#112236;border:1px solid #2a4158;border-radius:17px;padding:20px}.stat strong{font-size:26px;display:block;margin:9px 0;color:#f4fbff}.stat span{color:#9cb1c6;font-size:13px}h2{font-size:24px;margin:30px 0 17px}h3{margin:0 0 12px}.toolbar{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:17px}.toolbar input,.toolbar select,input[type=number]{border:1px solid #35526c;background:#0b1a2c;color:#f4f8ff;padding:12px;border-radius:10px;min-width:150px}.toolbar input{flex:1;min-width:200px}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.forecast{display:flex;flex-direction:column;gap:12px}.forecast h3{font-size:18px;line-height:1.5;margin:0}.forecast p{color:#aebfd2;line-height:1.65;margin:0;flex:1;font-size:14px}.meta{display:flex;gap:7px;flex-wrap:wrap}.chip{border-radius:6px;background:#223a50;color:#b8d2e8;font-size:12px;padding:5px 8px}.prob{display:flex;align-items:center;justify-content:space-between}.prob b{font-size:24px;color:#76e3ce}.bar{height:7px;background:#2b3d52;border-radius:9px;overflow:hidden}.bar i{display:block;height:100%;background:linear-gradient(90deg,#4b9df5,#68e5c4)}.forecast footer{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #2b4156;padding-top:12px;color:#9fb2c6;font-size:12px}.two{display:grid;grid-template-columns:1fr 1fr;gap:16px}.panel p{color:#adbed0;line-height:1.75}.fields{display:grid;grid-template-columns:1fr 1fr;gap:15px}.field label{display:block;margin-bottom:8px;font-size:13px;color:#b7cbde}.field input[type=range]{width:100%;accent-color:#62dbc6}.field output{color:#76e3ce;font-weight:bold}.result{background:#0b1b2a;padding:18px;border-radius:12px;margin-top:16px;border:1px solid #294459}.result strong{font-size:28px;color:#75e4d0}.scenario{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:12px}.scenario div{background:#172f43;border-radius:10px;padding:13px}.scenario b{display:block;margin-bottom:6px}.scenario span{font-size:13px;color:#afc4d6}.sources{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.source{display:block;text-decoration:none;background:#142b3f;border:1px solid #2c4c62;padding:16px;border-radius:12px}.source b{display:block;color:#eaf7ff;margin-bottom:6px}.source span{font-size:13px;color:#a4bace}.tablewrap{overflow:auto}table{width:100%;border-collapse:collapse;min-width:570px}th,td{text-align:right;border-bottom:1px solid #2c4359;padding:13px 8px;font-size:13px}th{color:#9fb9cf}td{color:#e5f0fb}.good{color:#77dfb6}.bad{color:#ffa69e}.empty{text-align:center;padding:35px;color:#b1c2d4}.hidden{display:none!important}.modal{position:fixed;inset:0;background:#020a13c9;z-index:10;display:flex;align-items:center;justify-content:center;padding:18px}.modalbox{max-width:660px;width:100%;max-height:90vh;overflow:auto;background:#13273b;border:1px solid #426078;border-radius:20px;padding:25px}.modalbox p{line-height:1.8;color:#c2d0de}.close{float:left;background:none;border:0;color:white;font-size:25px}.chart{width:100%;height:170px;display:block}.footer{text-align:center;color:#8ba2b9;font-size:12px;margin-top:45px}.badge-ai{color:#9ac1ff}.ranking{display:flex;flex-direction:column;gap:9px}.rank{display:flex;gap:12px;align-items:center;padding:11px;border-radius:10px;background:#192e42}.rank strong{color:#75e4d0;font-size:20px}.rank span{flex:1}.rank small{color:#9eb4c8}@media(max-width:900px){.grid{grid-template-columns:repeat(2,1fr)}.stats{grid-template-columns:repeat(2,1fr)}.two{grid-template-columns:1fr}.hero{display:block}}@media(max-width:600px){header{position:static;display:block}.nav{margin-top:10px}.grid,.sources,.fields,.scenario{grid-template-columns:1fr}.hero{padding:22px}.stats{gap:8px}.stat{padding:13px}.stat strong{font-size:21px}}
#tracker input{border:1px solid #35526c;background:#0b1a2c;color:#f4f8ff;padding:12px;border-radius:10px}#tracker .stats{gap:9px}#tracker .stat{padding:12px}#tracker .stat strong{font-size:22px}#trackedTable button{margin:3px;padding:7px 9px;font-size:12px}.muted{color:#9eb4c8}
/* QA-09 migrated static HTML style attributes; original declarations preserved. */
[data-qa09-style="h1"]{width:100%}
[data-qa09-style="h2"]{margin-top:12px}
[data-qa09-style="h3"]{margin-top:14px}
[data-qa09-style="h4"]{grid-template-columns:repeat(2,1fr);margin:10px 0}
[data-qa09-style="h5"]{display:inline-block;cursor:pointer}
[data-qa09-style="h6"]{color:#aebfd0}
[data-qa09-style="h7"]{margin-top:17px}
[data-qa09-style="h8"]{margin-top:16px}
[data-qa09-style="h9"]{display:none}
[data-qa09-style="h10"]{width:95%;min-height:60px}
[data-qa09-style="h11"]{white-space:pre-wrap;overflow:auto}
[data-qa09-style="h12"]{width:95%}
[data-qa09-style="h13"]{white-space:pre-wrap}
[data-qa09-style="h14"]{width:90%}
[data-qa09-style="h15"]{width:70%}
[data-qa09-style="h16"]{width:95%;min-height:55px}
[data-qa09-style="h17"]{white-space:pre-wrap;overflow:auto;direction:ltr;text-align:left}
[data-qa09-style="h18"]{min-width:260px;flex:1}
[data-qa09-style="h19"]{width:100%;background:#0b1a2c;color:#fff;border:1px solid #35526c;border-radius:10px;padding:12px}
[data-qa09-style="h20"]{white-space:pre-wrap;direction:ltr;text-align:left;padding:12px;background:#091421;border-radius:8px;overflow:auto}

/* QA-12: CSP-safe discrete visual widths and dynamic form visibility */
.mv-prob-0{width:0%}
.mv-prob-1{width:1%}
.mv-prob-2{width:2%}
.mv-prob-3{width:3%}
.mv-prob-4{width:4%}
.mv-prob-5{width:5%}
.mv-prob-6{width:6%}
.mv-prob-7{width:7%}
.mv-prob-8{width:8%}
.mv-prob-9{width:9%}
.mv-prob-10{width:10%}
.mv-prob-11{width:11%}
.mv-prob-12{width:12%}
.mv-prob-13{width:13%}
.mv-prob-14{width:14%}
.mv-prob-15{width:15%}
.mv-prob-16{width:16%}
.mv-prob-17{width:17%}
.mv-prob-18{width:18%}
.mv-prob-19{width:19%}
.mv-prob-20{width:20%}
.mv-prob-21{width:21%}
.mv-prob-22{width:22%}
.mv-prob-23{width:23%}
.mv-prob-24{width:24%}
.mv-prob-25{width:25%}
.mv-prob-26{width:26%}
.mv-prob-27{width:27%}
.mv-prob-28{width:28%}
.mv-prob-29{width:29%}
.mv-prob-30{width:30%}
.mv-prob-31{width:31%}
.mv-prob-32{width:32%}
.mv-prob-33{width:33%}
.mv-prob-34{width:34%}
.mv-prob-35{width:35%}
.mv-prob-36{width:36%}
.mv-prob-37{width:37%}
.mv-prob-38{width:38%}
.mv-prob-39{width:39%}
.mv-prob-40{width:40%}
.mv-prob-41{width:41%}
.mv-prob-42{width:42%}
.mv-prob-43{width:43%}
.mv-prob-44{width:44%}
.mv-prob-45{width:45%}
.mv-prob-46{width:46%}
.mv-prob-47{width:47%}
.mv-prob-48{width:48%}
.mv-prob-49{width:49%}
.mv-prob-50{width:50%}
.mv-prob-51{width:51%}
.mv-prob-52{width:52%}
.mv-prob-53{width:53%}
.mv-prob-54{width:54%}
.mv-prob-55{width:55%}
.mv-prob-56{width:56%}
.mv-prob-57{width:57%}
.mv-prob-58{width:58%}
.mv-prob-59{width:59%}
.mv-prob-60{width:60%}
.mv-prob-61{width:61%}
.mv-prob-62{width:62%}
.mv-prob-63{width:63%}
.mv-prob-64{width:64%}
.mv-prob-65{width:65%}
.mv-prob-66{width:66%}
.mv-prob-67{width:67%}
.mv-prob-68{width:68%}
.mv-prob-69{width:69%}
.mv-prob-70{width:70%}
.mv-prob-71{width:71%}
.mv-prob-72{width:72%}
.mv-prob-73{width:73%}
.mv-prob-74{width:74%}
.mv-prob-75{width:75%}
.mv-prob-76{width:76%}
.mv-prob-77{width:77%}
.mv-prob-78{width:78%}
.mv-prob-79{width:79%}
.mv-prob-80{width:80%}
.mv-prob-81{width:81%}
.mv-prob-82{width:82%}
.mv-prob-83{width:83%}
.mv-prob-84{width:84%}
.mv-prob-85{width:85%}
.mv-prob-86{width:86%}
.mv-prob-87{width:87%}
.mv-prob-88{width:88%}
.mv-prob-89{width:89%}
.mv-prob-90{width:90%}
.mv-prob-91{width:91%}
.mv-prob-92{width:92%}
.mv-prob-93{width:93%}
.mv-prob-94{width:94%}
.mv-prob-95{width:95%}
.mv-prob-96{width:96%}
.mv-prob-97{width:97%}
.mv-prob-98{width:98%}
.mv-prob-99{width:99%}
.mv-prob-100{width:100%}
.mv-detail-subtitle{margin-top:22px}
.mv-form-full{width:100%}
.mv-form-spacing{margin-top:12px}
.mv-form-row{margin:12px 0}
#evaluationResults.mv-evaluation-visible{display:block}
