:root{--bg:#0d0d0d;--panel:#151515;--line:#2b2b2b;--gold:#f0c040;--muted:#aaa;color-scheme:dark}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:#f5f5f5;font:14px/1.65 'Noto Sans KR','Malgun Gothic',Arial,sans-serif}a{color:inherit;text-decoration:none}button,input{font:inherit}[hidden]{display:none!important}header{border-bottom:1px solid var(--line)}.header-inner{max-width:1480px;margin:auto;display:flex;align-items:center;min-height:68px;padding:0 36px;gap:40px;overflow-x:auto}.logo{font-family:Impact,'Arial Narrow',sans-serif;font-size:24px;letter-spacing:3px;flex-shrink:0}nav{display:flex;align-self:stretch;gap:28px;flex-shrink:0}nav a{display:flex;align-items:center;font-size:12px;color:var(--muted);white-space:nowrap;border-bottom:2px solid transparent}nav a:hover{color:white}nav a.active{color:var(--gold);border-color:var(--gold)}main{max-width:1480px;padding:36px;margin:auto}.heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px}.eyebrow{font-size:10px;letter-spacing:2.2px;color:var(--gold);margin:0 0 8px}h1{font:600 34px/1.25 Arial,sans-serif;letter-spacing:-1px;margin:0}.subtitle{color:var(--muted);font-size:13px;margin:10px 0 0}.period{border:1px solid #49402a;background:#201d13;color:var(--gold);padding:7px 14px;border-radius:30px;font-size:12px}.workspace{display:grid;grid-template-columns:350px minmax(0,1fr);gap:24px;align-items:start}.panel{border:1px solid var(--line);background:var(--panel);border-radius:12px}.panel-title{padding:20px 24px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.panel-title h2{font-size:18px;margin:0}.panel-title>span{color:var(--muted);font-size:11px}.form-section{padding:20px 24px;border-bottom:1px solid var(--line)}h3{font-size:13px;margin:0 0 16px;font-weight:600}h3 em{color:var(--gold);font:11px Arial;margin-right:10px}.upload{border:1px dashed #555044;background:#1b1a17;padding:20px 10px;display:flex;flex-direction:column;align-items:center;text-align:center;border-radius:8px;cursor:pointer;position:relative}.upload:hover,.upload.drag,.upload:focus-within{border-color:var(--gold);background:#252117}.upload svg{height:26px;width:26px;stroke:var(--gold);fill:none;stroke-width:1.6;margin-bottom:10px}.upload strong{font-size:12px;font-weight:500;max-width:260px;overflow-wrap:anywhere}.upload>span{font-size:10px;color:var(--muted);margin-top:7px}.upload input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.note{color:var(--muted);font-size:11px;line-height:1.8;margin:10px 0 0}.file-info{font-size:11px;color:#75c5a0;margin:6px 0 0;overflow-wrap:anywhere}.file-info:empty{display:none}.sources{display:flex;gap:10px}.sources label{cursor:pointer;border:1px solid #404040;flex:1;border-radius:6px;padding:9px 12px;display:flex;gap:9px;align-items:center;font-size:12px}.sources label:has(input:checked){border-color:var(--gold);background:#252115}.sources input{accent-color:var(--gold);width:15px;height:15px;margin:0}.field{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px}.field>label{font-size:12px;flex-shrink:0}.input-wrap{border:1px solid #3e3e3e;background:#0f0f0f;border-radius:5px;display:flex;align-items:center;width:158px;height:38px;overflow:hidden}.input-wrap:focus-within{border-color:var(--gold)}.input-wrap input{width:100%;min-width:0;border:0;background:transparent;color:white;padding:8px;text-align:right;outline:none;font-size:13px;font-variant-numeric:tabular-nums;appearance:textfield}.input-wrap input::-webkit-inner-spin-button{appearance:none}.input-wrap>span{font-size:10px;color:var(--muted);padding-right:9px;white-space:nowrap}.field:has(input:disabled){opacity:.4}.fixed{display:flex;justify-content:space-between;margin-top:18px;border-top:1px solid var(--line);padding-top:14px;font-size:12px}.fixed strong{font-weight:500}.fixed small{font-size:10px;color:var(--muted);margin-left:8px}.form-bottom{padding:22px 24px}#run{border:0;border-radius:6px;background:var(--gold);color:#15120b;font-weight:700;font-size:13px;padding:13px 16px;width:100%;cursor:pointer;display:flex;justify-content:space-between}#run:hover{background:#ffd36a}#run:disabled{opacity:.65;cursor:wait}.privacy{font-size:10px;line-height:1.7;color:var(--muted);text-align:center;margin:12px 0 0}.error{font-size:12px;color:#ffb5a9;background:#351d1b;border:1px solid #723930;border-radius:6px;padding:10px;margin:0 0 14px}.results{display:flex;flex-direction:column;gap:16px;min-width:0}.chart-panel{padding:26px 28px;min-height:560px}.result-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.result-heading h2{font-size:21px;letter-spacing:-.6px;margin:0}.badge{font-size:10px;color:var(--muted);border:1px solid #3b3b3b;border-radius:20px;padding:4px 10px;white-space:nowrap}.badge.complete{color:#75c5a0;border-color:#3d604c}.badge.stale{color:var(--gold);border-color:#6b5b2e}.empty{min-height:402px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center}.symbol{font-size:40px;width:72px;height:72px;border-radius:50%;border:1px solid #453c24;background:#211d13;color:var(--gold);line-height:70px;margin-bottom:22px}.empty h3{font-size:16px;margin-bottom:8px}.empty p{font-size:12px;color:var(--muted);line-height:1.9;margin:0}.spinner{border:2px solid #4a4129;border-top-color:var(--gold);border-radius:50%;width:42px;height:42px;animation:spin 1s linear infinite;margin-bottom:24px}@keyframes spin{to{transform:rotate(360deg)}}.legend{display:flex;gap:16px;flex-wrap:wrap;font-size:10px;color:#cecece;margin-top:24px;align-items:center}.legend label,.legend>span{display:flex;gap:5px;align-items:center}.legend label{cursor:pointer}.legend input{accent-color:var(--gold);width:12px;height:12px;margin:0 3px 0 0}.legend i{width:16px;border-top:2px dashed;display:inline-block}.legend .ppa{color:var(--gold);border-top-style:solid}.green{color:#75c5a0}.blue{color:#8daeea}.gray{color:#bebebe}#chart{width:100%;display:block;overflow:visible;touch-action:pan-y;margin-top:8px}#chart text{font-family:'Malgun Gothic',Arial,sans-serif;font-size:12px;fill:#aaa}#chart .grid{stroke:#303030;stroke-width:1}#chart .axis-title{font-size:12px;fill:#ccc}#chart .plot{fill:none;stroke-width:2.5;stroke-linejoin:round}#chart .ref{fill:none;stroke-width:1.5;stroke-dasharray:7 5}#chart .hit{fill:transparent;cursor:crosshair}.chart-help{font-size:11px;color:var(--muted);margin:0 0 20px;text-align:center}.slider-label{display:flex;justify-content:space-between;font-size:11px;color:var(--muted)}#slider{width:100%;accent-color:var(--gold);margin:10px 0 22px;cursor:pointer}.metrics{display:grid;grid-template-columns:1fr 1.3fr 1.5fr 1fr;gap:12px;padding:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.metrics>div{display:flex;flex-direction:column;gap:6px}.metrics span{color:var(--muted);font-size:10px}.metrics strong{font-size:18px;font-weight:500;letter-spacing:-.5px;white-space:nowrap}#capacity{font-size:15px;padding-top:3px}.warnings{font-size:12px;line-height:1.8;color:var(--gold);background:#282316;border-radius:6px;padding:12px;margin:14px 0 0}.explanation{padding:20px 24px}.explanation h3{font-size:12px;margin-bottom:9px}.explanation p{color:var(--muted);font-size:12px;line-height:1.85;margin:6px 0}.explanation strong{color:#ddd;font-weight:500}.info{display:inline-block;border:1px solid #776334;color:var(--gold);border-radius:50%;height:17px;width:17px;font:12px Georgia;text-align:center;line-height:15px;margin-right:7px}.model-notes summary{cursor:pointer;font-size:12px;padding:16px 24px;list-style:none;display:flex;justify-content:space-between}.model-notes summary::-webkit-details-marker{display:none}.notes-content{padding:0 24px 18px;font-size:11px;color:var(--muted)}.notes-content dl{margin:14px 0;display:grid;grid-template-columns:1fr 1fr;gap:10px 24px}.notes-content dl>div{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid #292929;padding-bottom:7px}.notes-content dd{margin:0;color:#d0d0d0;text-align:right}.notes-content p{line-height:1.9}footer{max-width:1408px;margin:12px auto 0;border-top:1px solid var(--line);padding:24px 0 32px;display:flex;justify-content:space-between;font-size:11px;color:var(--muted)}footer a{letter-spacing:2px;color:#ddd}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible{outline:2px solid var(--gold);outline-offset:4px}
@media(max-width:1100px){.workspace{grid-template-columns:320px minmax(0,1fr);gap:18px}.form-section,.form-bottom,.panel-title{padding-left:20px;padding-right:20px}.chart-panel{padding:22px 20px}.field{gap:8px}.input-wrap{width:143px}.metrics{grid-template-columns:1fr 1fr;gap:18px}.notes-content dl{grid-template-columns:1fr}footer{margin-left:36px;margin-right:36px}}
@media(max-width:800px){.header-inner{padding:0 20px;gap:24px;min-height:60px}.logo{font-size:20px}nav{gap:20px}nav a{font-size:11px;min-height:60px}main{padding:28px 20px}.heading{align-items:flex-start;gap:14px}h1{font-size:27px}.subtitle{font-size:12px}.period{font-size:10px;padding:5px 9px;white-space:nowrap;margin-top:22px}.workspace{grid-template-columns:1fr}.input-wrap{width:52%;max-width:240px}.chart-panel{min-height:440px}.empty{min-height:290px}.result-heading h2{font-size:18px}.legend{gap:12px}.chart-help{font-size:10px}.explanation p{font-size:11px}footer{margin:0 20px;padding:20px 0;font-size:10px;gap:20px}.notes-content dl{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.spinner{animation:none}}

.advanced{border-bottom:1px solid var(--line)}.advanced>summary{padding:20px 24px;display:flex;justify-content:space-between;cursor:pointer;font-size:13px;font-weight:600;list-style:none}.advanced summary::-webkit-details-marker{display:none}.advanced em{color:var(--gold);font:11px Arial;margin-right:10px}.expand{color:var(--gold)}.advanced[open] .expand{transform:rotate(45deg)}.advanced-content{padding:0 24px 22px}.advanced-content h4{font-size:12px;color:var(--gold);margin:24px 0 0}.advanced .field{flex-wrap:wrap;gap:6px}.advanced .input-wrap{width:155px}.advanced select{font:inherit;font-size:12px;background:#0f0f0f;color:white;border:1px solid #3e3e3e;border-radius:5px;padding:8px;max-width:155px}.annual-smp{margin-top:14px}.annual-smp summary{cursor:pointer;font-size:12px;color:var(--gold)}.annual-smp label{display:block}.annual-smp textarea{width:100%;resize:vertical;font:12px/1.7 Arial;background:#0f0f0f;color:white;border:1px solid #444;border-radius:5px;padding:8px;margin-top:8px}.notes-content dd{overflow-wrap:anywhere}.notes-content dl>div{min-width:0}

.legend .realtime{color:#ef997d}.legend .equal{color:#c0a5ed;border-top-style:dotted}.curve-picker{display:flex;gap:12px;align-items:center;justify-content:space-between;margin:0 0 18px;font-size:12px}.curve-picker select{background:#171717;color:#eee;border:1px solid #444;border-radius:5px;padding:8px;font:inherit}

.axis-switch{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:20px 0 6px;font-size:11px;color:var(--muted)}.axis-switch button{cursor:pointer;background:#1c1c1c;border:1px solid #444;color:#aaa;border-radius:6px;padding:7px 12px;font-size:12px}.axis-switch button[aria-pressed="true"]{border-color:var(--gold);color:var(--gold);background:#282315}.marginal-detail{font-size:12px;color:var(--gold);line-height:1.8;margin:14px 0 0}.results .heading{margin-bottom:5px}.results h1{font-size:29px}.results .period{white-space:nowrap}.workspace{grid-template-columns:340px minmax(0,1fr)}@media(max-width:800px){.workspace{grid-template-columns:1fr}.results h1{font-size:25px}.results .heading{flex-wrap:wrap}.results .period{margin-top:0}}

#axis-range{background:#1c1c1c;color:#ccc;border:1px solid #444;border-radius:5px;padding:6px;font:11px inherit}.axis-range-label{margin-left:auto}

#chart .bridge{fill:none;stroke-width:1.6;opacity:.5;stroke-linecap:round}#chart .plot{stroke-linecap:round}

.jump-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:18px 0 8px}.jump-row input{width:90px;background:#171717;color:#eee;border:1px solid #444;border-radius:6px;padding:8px}.jump-row button{padding:8px 16px;background:#f0c040;color:#151515;border:0;border-radius:6px;cursor:pointer}.jump-row label{font-size:13px}

.repair-panel{padding:22px 24px}.repair-panel h2{font-size:18px}.repair-panel>p{font-size:12px;line-height:1.8}.repair-period{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:16px}.repair-period p{flex-basis:100%}.repair-period label{font-size:12px}.repair-panel input,.repair-panel button{border:1px solid #555;border-radius:5px;padding:9px;background:#171717;color:#eee;font:inherit;font-size:12px}.repair-panel button{cursor:pointer}.repair-panel button:disabled{opacity:.5;cursor:default}.repair-panel #repair-apply{background:var(--gold);color:#151515;font-weight:600;margin-top:14px}.repair-error{color:#ffb5a9}.repair-table-scroll{overflow:auto;max-height:400px;margin-top:12px}.repair-panel table{border-collapse:collapse;width:100%;font-size:11px;white-space:nowrap}.repair-panel th,.repair-panel td{border-bottom:1px solid #444;padding:9px;text-align:left}.repair-panel th{background:#252525;position:sticky;top:0}.repair-pagination{display:flex;align-items:center;justify-content:flex-end;gap:12px;font-size:11px;margin-top:10px}.repair-period[hidden],.repair-panel[hidden]{display:none}

