:root{font-family:"Segoe UI","Malgun Gothic",system-ui,sans-serif;color:#23334a;background:#f3f5f9;--blue:#1763df;--green:#148574;--red:#bf4556;--line:#e4eaf2}*{box-sizing:border-box}body{margin:0;font-size:13px}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0}button:disabled{opacity:.4;cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #9bbff6;outline-offset:2px}a{text-decoration:none;color:inherit}.sidebar{position:fixed;inset:0 auto 0 0;width:215px;background:#112239;color:#aebed3;padding:32px 20px;display:flex;flex-direction:column}.brand{display:flex;gap:11px;align-items:center;color:white;font-size:12px;letter-spacing:1px;font-weight:700}.brand>b{width:36px;height:36px;display:grid;place-items:center;background:#ecc053;color:#18283e;border-radius:9px;font-size:21px}.brand small{display:block;font-size:8px;letter-spacing:1.7px;color:#a5b6cd;margin-top:6px}.caption{font-size:9px;letter-spacing:2px;margin:50px 12px 12px;color:#7087a4}.nav{background:none;color:#b4c2d5;text-align:left;padding:15px 12px;border-radius:7px;margin:3px 0;font-size:12px}.nav.active,.nav:hover{background:#263b59;color:white}.sidebar-foot{margin-top:auto;font-size:10px;color:#9cb0cd;line-height:2}.sidebar-foot small{font-size:9px;color:#718bac}.workspace{margin-left:215px}header{height:73px;background:white;border-bottom:1px solid var(--line);padding:0 38px;display:flex;align-items:center;justify-content:space-between;color:#8290a6;font-size:11px}header b{color:#425773;margin-left:7px}#keyStatus{font-size:10px}main{max-width:1450px;margin:auto;padding:32px 38px 45px}.steps{display:flex;align-items:center;gap:16px;max-width:580px;margin-bottom:36px}.steps button{background:none;color:#7386a1;font-size:11px;padding:0}.steps i{height:1px;background:#d5dfec;flex:1}.heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:27px}.eyebrow{font-size:9px;font-weight:700;letter-spacing:2px;color:#7c8ba2;margin:0 0 11px}h1{font-size:30px;letter-spacing:-1.2px;margin:0 0 11px;font-weight:700}h2{font-size:15px;letter-spacing:-.4px;margin:0 0 12px}p{font-size:12px;color:#7b8aa1;line-height:1.7;margin:8px 0}.primary,.secondary,.danger-button{padding:12px 17px;border-radius:6px;font-size:11px;font-weight:650}.primary{background:var(--blue);color:white;box-shadow:0 3px 9px #1763df18}.primary:hover{background:#1052be}.secondary{background:white;border:1px solid #dae3f0;color:#526781}.secondary:hover{background:#f2f6fc}.danger-button{background:#b94453;color:white}.full{width:100%;margin:8px 0}.layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:23px;align-items:start}.card{background:white;border:1px solid var(--line);border-radius:10px;padding:24px;margin-bottom:20px;min-width:0;box-shadow:0 2px 8px #162c5103}.card-head{display:flex;justify-content:space-between;align-items:start;margin-bottom:20px;gap:15px}.card-head span{font-size:9px;letter-spacing:1px;color:#a1aec0}.sticky{position:sticky;top:24px}.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:14px 0}.fields.three{grid-template-columns:repeat(3,minmax(0,1fr))}label{display:flex;flex-direction:column;gap:8px;font-size:10px;color:#687991;font-weight:600;min-width:0}input,select{width:100%;min-width:0;background:#fbfcfe;border:1px solid #dce4ef;border-radius:6px;padding:10px;color:#314763;height:40px;font-size:12px}label small{font-size:9px;color:#97a5b8;font-weight:400;line-height:1.5}.line{display:flex;justify-content:space-between;gap:15px;margin:18px 0;line-height:1.5;font-size:10px}.line>span{color:#8c9aad}.line b{text-align:right;font-size:10px;font-weight:600}.hint{background:#f5f8fd;border:1px solid #e7edf7;border-radius:7px;padding:14px;color:#70839d;font-size:10px;line-height:1.8;margin:15px 0}.small{font-size:9px}details{margin:15px 0}summary{cursor:pointer;color:#6b809e;font-size:11px;font-weight:600}details[open] summary{margin-bottom:15px}.actions{display:flex;gap:10px;flex-wrap:wrap}textarea,pre{width:100%;background:#f6f8fb;border:1px solid #e3eaf4;border-radius:7px;padding:15px;line-height:1.7;font:11px Consolas,monospace;color:#677b94;white-space:pre-wrap;word-break:break-word;overflow:auto}textarea{min-height:280px;margin-top:15px}pre{max-height:400px}.node{background:#fafcfe;border:1px solid #e2eaf5;border-radius:8px;padding:15px;margin:12px 0}.node-head{display:flex;align-items:center;gap:10px;margin-bottom:13px}.node-head select{width:auto;max-width:200px;font-size:10px;height:32px;padding:5px}.node-head b{color:#92a4bd;font-size:10px}.delete{background:none;color:#9daec4;font-size:17px;margin-left:auto}.condition-body{display:grid;grid-template-columns:minmax(0,1fr) 100px minmax(0,1fr);gap:12px}.operand label{margin-bottom:9px}.operand select,.operand input{font-size:11px;height:35px;padding:7px}.params{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.operator{padding-top:18px}.operator select{font-size:10px;padding:5px}.group-controls{display:flex;align-items:center;gap:15px;margin-bottom:16px}.group-controls label{max-width:230px}.group-controls span{font-size:10px;color:#97a6bb}.nested{margin-left:10px}#notice{padding:14px 18px;color:#365f99;background:#edf5ff;border:1px solid #d4e3fa;border-radius:7px;margin-bottom:22px;font-size:12px;line-height:1.7}#notice.error{background:#fff3f4;border-color:#efdae0;color:#a64b5e}.toolbar{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:20px}.tag{font-size:10px;background:#edf6f2;border:1px solid #d8eae2;color:#498874;padding:6px 10px;border-radius:5px}.tag.danger{background:#fff1f2;border-color:#edd2d7;color:#a9495a}.segmented{display:flex;gap:4px;margin-left:auto;background:#e5ebf4;padding:3px;border-radius:7px}.segmented button{background:none;color:#7990ad;border-radius:5px;padding:7px 12px;font-size:10px}.segmented .active{background:white;color:#315f9e}.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.kpis .card{padding:21px}.kpis span{color:#8797ac;font-size:10px}.kpis strong{display:block;font-size:27px;margin:17px 0 10px;font-weight:650;letter-spacing:-1px;font-variant-numeric:tabular-nums}.kpis small{font-size:9px;color:#9aabbe}.positive{color:var(--green)}.negative{color:var(--red)}#yearChart{height:200px;display:flex;gap:18px;align-items:end;justify-content:space-around;padding:12px;border-bottom:1px solid var(--line)}.year-column{height:100%;display:flex;flex:1;flex-direction:column;justify-content:end;align-items:center;gap:9px}.year-column b{font-size:11px;font-weight:600;font-variant-numeric:tabular-nums}.bar{background:#92cdbc;border-radius:4px 4px 0 0;width:65%;max-width:70px;min-height:3px}.bar.negative{background:#dea2ad}.year-column span{font-size:10px;color:#98a6b9}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:11px;font-variant-numeric:tabular-nums;white-space:nowrap}th,td{padding:14px 10px;text-align:right;border-bottom:1px solid #edf1f7}th:first-child,td:first-child{text-align:left}th{color:#8da0b9;background:#fafcff;font-weight:500}th button{background:none;font:inherit;color:inherit;padding:0}tbody tr:hover{background:#fafcff}.next{display:flex;align-items:center;justify-content:space-between;gap:25px;border-left:3px solid var(--blue)}.empty{text-align:center;padding:65px 25px}.empty button{margin-top:18px}.loader{width:32px;height:32px;border:3px solid #e1eaf7;border-top-color:var(--blue);border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 25px}@keyframes spin{to{transform:rotate(360deg)}}ul{font-size:11px;color:#7d8fa7;line-height:2;padding-left:19px}#readiness{font-size:11px;line-height:1.8;color:#6b829f;margin-top:14px}#eventList{max-height:330px;overflow:auto}.event-row{display:grid;grid-template-columns:80px 170px 1fr;gap:14px;border-bottom:1px solid var(--line);padding:12px 0;font-size:11px}.event-row time{color:#a0aec0}.position{padding:13px;background:#f3f7fe;border:1px solid #dce8fb;border-radius:7px;font-size:11px;margin-top:14px}footer{padding:0 38px 25px;color:#9eacbf;font-size:9px}dialog{max-width:500px;width:calc(100% - 30px);border:1px solid #d5dfed;border-radius:12px;padding:30px;color:#314862;box-shadow:0 20px 100px #11243f44}dialog::backdrop{background:#14284280;backdrop-filter:blur(3px)}dialog label{margin:20px 0}.check{flex-direction:row;align-items:center;line-height:1.8}.check input{width:17px;height:17px;flex-shrink:0}[hidden]{display:none!important}
@media(max-width:1100px){.sidebar{width:180px;padding:28px 15px}.workspace{margin-left:180px}main{padding:27px}.layout{grid-template-columns:1fr}.sticky{position:static}.fields.three{grid-template-columns:repeat(3,1fr)}}
#comparisonRows td:first-child{white-space:normal;min-width:280px;max-width:420px}#comparisonRows td:first-child b{font-weight:600}#comparisonRows td:first-child p{font-size:10px;margin:6px 0 0;line-height:1.6}
@media(max-width:640px){.sidebar{position:static;width:100%;padding:18px;display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.brand{grid-column:1/-1;margin-bottom:10px}.caption,.sidebar-foot{display:none}.nav{font-size:10px;padding:10px}.workspace{margin:0}header{height:53px;padding:0 18px;font-size:9px}main{padding:23px 16px}.steps{gap:8px;margin-bottom:26px}.steps button{font-size:10px}.heading{display:block}.heading>.primary,.heading>.secondary,.heading>.tag{margin-top:14px}h1{font-size:25px}p{font-size:11px}.card{padding:18px}.fields,.fields.three{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.condition-body{grid-template-columns:1fr}.operator{padding:0}.operator select{width:150px}.group-controls{display:block}.group-controls>span{display:block;margin-top:8px}.node{padding:12px}.node-head{flex-wrap:wrap}.kpis{grid-template-columns:repeat(2,1fr);gap:10px}.kpis strong{font-size:24px}.kpis .card{padding:17px}.next{display:block}.next button{margin-top:14px;width:100%}.toolbar .segmented{margin-left:0}.event-row{grid-template-columns:65px 1fr}.event-row span{grid-column:1/-1}#yearChart{gap:8px;height:170px}.year-column b{font-size:9px}footer{padding:0 16px 25px}dialog{padding:22px}.brand{font-size:11px}}
.strategy-explanation,.flow-check{margin-top:24px;padding:20px;background:#f5f8fc;border:1px solid #dce4ef;border-radius:12px;overflow-wrap:anywhere}.timeline-stage{border-left:3px solid #2268dc;padding:10px 16px;margin:12px 0;background:white;border-radius:0 8px 8px 0}.timeline-stage p{margin:8px 0;font-size:13px}.target-example{padding:16px;font-size:13px;line-height:1.8;border:1px solid #dce4ef;border-radius:10px;margin-top:12px}.node-head label{min-width:150px;max-width:220px}.node-head{flex-wrap:wrap}#flowResult p{font-size:13px;overflow-wrap:anywhere}#checkFlow{margin:16px 0}

.compute-advice{margin:18px 0;padding:14px;border:1px solid #cfe0ee;border-radius:10px;background:#edf6ff;font-size:13px;line-height:1.6}.compute-advice p{margin:6px 0}.compute-advice.heavy{background:#fff8e6;border-color:#ead197}.compute-policy{margin:14px 0;font-size:12px;line-height:1.7}.compute-policy ul{padding-left:18px}.indicator-contract{padding:14px 0;border-bottom:1px solid #e5eaf1}.indicator-contract p{margin:6px 0}.indicator-contract a,.operand a{display:block;margin-top:6px;font-size:12px}.indicator-contract small{display:block}

.precompute-panel summary{font-weight:600;cursor:pointer}.precompute-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}.precompute-choices label{display:flex;align-items:flex-start;gap:8px;padding:10px;border:1px solid #e3e8f0;border-radius:8px;font-size:12px}.precompute-choices input{width:auto;flex:none;margin-top:2px}#precomputeStatus{padding:12px;background:#edf5fc;border-radius:8px;font-size:12px;line-height:1.7}@media(max-width:720px){.precompute-choices{grid-template-columns:1fr}}
.signed-out>.sidebar,.signed-out>.workspace,.signed-out>dialog{display:none}
.signed-in>#authScreen{display:none}
#authScreen{min-height:100vh;display:grid;place-items:center;background:#eef2f7;padding:48px 24px}
.auth-layout{display:grid;grid-template-columns:1.1fr 1fr;max-width:1100px;width:100%;min-height:660px;border-radius:24px;overflow:hidden;box-shadow:0 24px 80px #14243918;background:white}
.auth-intro{padding:60px 48px;background:linear-gradient(145deg,#122236,#1b3654);color:#dae6f4;display:flex;flex-direction:column;justify-content:center;gap:24px}
.auth-intro .brand{margin-bottom:35px;color:white}.auth-intro h1{font-size:34px;line-height:1.55;letter-spacing:-1.5px;color:white;margin:0}.auth-intro p{line-height:1.85;color:#b8cbe0}.auth-intro .eyebrow{color:#d8b653;margin:0}.auth-intro small{color:#99b0c8;line-height:1.7}.auth-facts{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.auth-facts span{padding:9px 12px;border:1px solid #496079;border-radius:7px;font-size:12px;color:#d1deec}
.auth-panel{padding:52px 44px;align-self:center}.auth-panel h2{font-size:28px;margin:12px 0 28px}.auth-tabs{display:flex;border-bottom:1px solid #dce3ec;margin-bottom:28px}.auth-tabs button{flex:1;border:0;background:transparent;padding:14px;color:#8190a3;font-weight:600;border-bottom:2px solid transparent}.auth-tabs button.active{color:#173759;border-bottom-color:#173759}.auth-panel form>label,.auth-passwords label{display:flex;flex-direction:column;gap:9px;margin-bottom:18px;font-size:13px;font-weight:600;color:#455a72}.auth-panel input:not([type=checkbox]){width:100%;height:46px;padding:12px 14px;border:1px solid #d5deea;border-radius:8px;background:#fbfcfe;font:inherit}.auth-panel input:focus{outline:2px solid #2d73b950;outline-offset:1px}.auth-passwords{display:grid;grid-template-columns:1fr 1fr;gap:14px}.auth-panel .check{flex-direction:row;align-items:flex-start;line-height:1.6;font-weight:400}.auth-privacy{font-size:12px;color:#5d6e82;line-height:1.8;margin:12px 0 18px}.auth-privacy summary{cursor:pointer;color:#36516f}.auth-caption{font-size:12px;line-height:1.7;color:#8190a3;margin-top:18px}#authMessage{font-size:13px;line-height:1.7;color:#ae4b49;margin-top:18px;min-height:22px}.account-menu{margin-top:auto;display:flex;flex-direction:column;gap:12px;padding-top:24px;font-size:12px;color:#d4e0ef}.account-menu button{background:#ffffff12;border:1px solid #ffffff25;border-radius:6px;color:#d4e0ef;padding:9px;cursor:pointer}.account-menu+.sidebar-foot{position:static;margin-top:20px}
@media(max-width:760px){#authScreen{padding:20px 12px}.auth-layout{grid-template-columns:1fr;min-height:auto}.auth-intro{padding:28px;gap:12px}.auth-intro .brand{margin-bottom:12px}.auth-intro h1{font-size:24px}.auth-intro>p:not(.eyebrow),.auth-intro>small,.auth-facts{display:none}.auth-panel{padding:30px 26px}.auth-passwords{grid-template-columns:1fr}.account-menu{margin-top:10px}}

.backtest-only [data-page="trade"],.backtest-only #researchReport .next{display:none!important}#jobProgress{width:min(440px,90%);height:20px;accent-color:#2563eb}#tradeCurve svg{display:block;width:100%;min-height:150px}#combinationExplorer .filters{display:flex;gap:12px;align-items:end;flex-wrap:wrap}#combinationExplorer .filters label{flex:1;min-width:130px}

.backtest-only .sidebar small{display:none}#tradeCsv{display:inline-flex;text-decoration:none;cursor:pointer}#tradeRows td,#combinationRows td{vertical-align:top}#combinationRows td:first-child{min-width:240px;max-width:400px;white-space:normal}#tradeCurve text{font-size:13px;fill:#64748b}

#researchReport .table-wrap:has(#tradeRows){max-height:420px;overflow:auto}#combinationExplorer .table-wrap{max-height:620px;overflow:auto}#researchReport .table-wrap:has(#tradeRows) th,#combinationExplorer th{position:sticky;top:0;background:#f8fafc;z-index:1}#accountHistoryRows button{margin:3px}#researchBusy .actions{justify-content:center}

#tradeYear{width:130px;flex:none}#tradeCsv{white-space:nowrap;min-width:95px;justify-content:center}#researchReport .card-head:has(#tradeYear) h2{flex:1}#combinationExplorer .filters{margin-bottom:14px}

.recovery-panel{margin-top:24px}.recovery-panel h3{font-size:16px;margin:18px 0}.recovery-panel .actions{flex-wrap:wrap}.recovery-panel .actions button{font-size:12px}#accountDialog{width:min(580px,calc(100vw - 32px));max-height:90vh;overflow:auto}#manageAccount{width:100%;margin-bottom:8px}

.operand h4{margin:0 0 12px;color:#405b7d;font-size:11px}.operator select{font-size:16px;font-weight:650}

.condition-tools{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:20px 0}.condition-tools details,.pattern-panel details{margin-top:10px;padding:12px;background:#f4f7fc;border-radius:8px}.condition-tools summary,.pattern-panel summary{cursor:pointer;color:#315ea8}.pattern-panel{padding:20px;border:1px solid #dbe5f4;border-radius:12px;margin:20px 0}.pattern-panel label{display:block;margin:12px 0}.pattern-panel p{line-height:1.7}@media(max-width:600px){.condition-tools{grid-template-columns:1fr}}

/* Research workspace: readable type, clear sections, restrained instrumentation. */
:root{--blue:#166d78;--line:#dce5e9}body{background:#edf2f4;color:#203940}main{max-width:1500px}h1{font-size:34px;letter-spacing:-1px}p{color:#536c75;font-size:13px}label{font-size:12px;color:#415e68}.card{border-radius:16px;padding:28px;box-shadow:0 6px 24px #213e4806}.card-head{border-bottom:1px solid #e7edef;padding-bottom:16px}.primary{background:#166d78;border-radius:9px;font-size:13px}.primary:hover{background:#105963}.secondary{border-radius:9px;font-size:12px}.sidebar{background:#142c35}.nav.active{background:#244650}.hint{color:#48636d;background:#f0f6f6}.node{background:#f8fbfb;border-color:#dbe8e9}.timeline-stage{border-left:3px solid #348a91;padding:12px 16px;margin:12px 0;background:#f5f9f9}#marketChoices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:220px;overflow:auto;gap:7px;padding:9px;background:#f7fafb;border:1px solid #d7e4e7;border-radius:10px}#marketChoices label{flex-direction:row;align-items:center;padding:9px;background:white;border-radius:7px;font-size:11px;cursor:pointer}#marketChoices label:has(input:checked){background:#dff0ef;color:#155b62}#marketChoices input{height:16px;width:16px;accent-color:#166d78;flex-shrink:0}#comparisonRows td:first-child p{font-size:12px;color:#425e68;line-height:1.9}th,td{font-size:12px}.account-menu{margin-top:24px}@media(max-width:640px){.sidebar{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.sidebar .brand{width:100%;margin:0}.sidebar .nav{flex:1;min-height:40px}.account-menu{display:flex;width:100%;flex-direction:row;align-items:center;padding-top:4px;margin-top:0}.account-menu button{padding:7px 10px}.card{padding:20px}.fields{grid-template-columns:1fr}.heading h1{font-size:28px}#marketChoices{max-height:190px}.layout{gap:12px}}

.study-summary p{margin:5px 0;font-size:12px;color:#48626c}.study-summary ul{white-space:normal;font-size:12px;color:#38535f;line-height:1.85;padding-left:20px}.study-summary details{margin:10px 0}.study-summary summary{color:#166d78}#accountHistoryRows td:nth-child(2){white-space:normal;min-width:280px;max-width:480px}#comparisonRows td:first-child{max-width:460px}

#marketChoices label[hidden]{display:none}.study-summary pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;max-height:260px;overflow:auto;background:#f4f7f8;padding:12px;border-radius:8px}

.study-summary{font-size:12px;line-height:1.7}.study-summary details{margin-top:8px}.study-summary summary{color:#166d78;cursor:pointer}.study-summary ul{padding-left:18px;line-height:1.9}#marketSelection{font-size:12px;color:#166d78;margin:8px 0 0;line-height:1.7;overflow-wrap:anywhere}
@media(max-width:640px){.table-wrap:has(#accountHistoryRows){overflow:visible}.table-wrap:has(#accountHistoryRows) thead{display:none}#accountHistoryRows,#accountHistoryRows tr,#accountHistoryRows td{display:block;width:100%;min-width:0;max-width:none;text-align:left}#accountHistoryRows tr{border:1px solid #dce7e9;border-radius:10px;padding:14px;margin:12px 0;background:#fbfdfd}#accountHistoryRows td{padding:6px 0;border:0;white-space:normal}#accountHistoryRows td:first-child{font-size:11px;color:#71838a}#accountHistoryRows td:last-child{display:flex;gap:8px}}

.history-result{padding:10px 12px;margin-bottom:8px;background:#f1f7f7;border-radius:8px}.history-result p{margin:4px 0;font-size:12px}.history-result b{color:#166d78}#accountHistoryRows td{vertical-align:top}#accountHistoryRows td:nth-child(4){min-width:235px;white-space:normal}@media(max-width:640px){#accountHistoryRows td:nth-child(4){min-width:0}}

.study-summary dl{display:grid;grid-template-columns:minmax(90px,1fr) minmax(60px,1fr);gap:5px 12px;margin:8px 0 14px}.study-summary dt{color:#627880}.study-summary dd{margin:0;overflow-wrap:anywhere}.study-summary li>details{padding:4px 0;font-size:11px}
#refreshAccountHistory{white-space:nowrap;flex-shrink:0}

.tick-fields{border:1px solid #dce5ef;border-radius:12px;padding:16px;margin:12px 0 20px}.tick-fields:disabled{opacity:.55}.tick-fields legend{padding:0 8px;color:#355579}#tickSettingsCard .check{margin:16px 0;font-weight:600}
.backtest-only #previewLive{display:none!important}
#secondResearchYears{display:flex;gap:10px 16px;flex-wrap:wrap}
#secondResearchYears label{display:inline-flex;align-items:center;gap:6px;margin:0}
#secondResearchSettings fieldset{min-width:0;border:1px solid #dce5f2;border-radius:10px;padding:12px}
.support-periods{margin-top:22px;padding-top:18px;border-top:1px solid #dce5f2}.support-period-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:14px 0}.support-period-button{display:flex;flex-direction:column;align-items:center;gap:7px;padding:14px 6px!important;min-width:0}.support-period-button strong{font-size:12px}.support-period-button span{font-size:11px;color:#617892}.support-period-button[aria-pressed=true]{background:#e9f2ff;border-color:#2a65d6;color:#164da3}.support-symbol-list{font-size:12px;line-height:1.9;overflow-wrap:anywhere;padding:10px;background:#f6f9fd;border-radius:8px}.support-periods details{margin:10px 0}.support-periods summary{cursor:pointer;font-size:12px;color:#315879}@media(max-width:640px){.support-period-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

#eventList{max-height:330px;overflow:auto;overscroll-behavior:contain}.execution-table thead{position:sticky;top:0;background:white;z-index:1}.execution-table td:first-child{font-weight:600}

.w-pattern-diagram{display:block;width:100%;max-width:640px;height:auto;margin:10px auto;background:#f4faf9;border-radius:10px}.w-pattern-card p{line-height:1.8}.w-pattern-card small{display:block;line-height:1.6}.w-pattern-card pre{white-space:pre-wrap;overflow-wrap:anywhere}

.pattern-guide-diagram{display:block;width:100%;max-width:640px;height:auto;background:#f4f9fa;border-radius:10px;margin:14px auto}.pattern-guide-intro ol{font-size:12px;color:#526780;line-height:1.9}.guided-pattern-card small{display:block;line-height:1.65}.guided-pattern-card pre{white-space:pre-wrap;overflow-wrap:anywhere}.guided-pattern-card p{line-height:1.8}

.inspection-plot{min-height:210px}.inspection-chart{display:block;width:100%;height:auto;min-height:210px;background:#f4f9fa;border-radius:10px}.inspection-events{max-height:260px;overflow:auto}.pattern-inspection{overflow-anchor:none}.pattern-inspection details{margin:12px 0}.pattern-inspection .hint{min-height:42px}#flowResult[data-stale="true"]:before{content:"조건이 변경되었습니다. 아래는 이전 검사 결과입니다. 다시 확인해주세요.";display:block;padding:12px;background:#fff3d8;color:#795922}#conditions details{scroll-margin-top:20px}
.condition-example{margin:20px 0;padding:20px;border:1px solid #cce1dd;border-radius:14px;background:#f5faf9;overflow-anchor:none}.condition-example-chart{display:block;width:100%;max-height:360px;min-height:150px}.condition-example details{margin-top:12px}.example-trace-node{margin:8px 0;padding:10px;border-left:3px solid #7fa99e;background:#fff}.example-trace-node .example-trace-node{margin-left:12px}.example-trace-node small{display:block}.condition-example[data-status="loading"]{opacity:.8}

.inline-condition-example{margin-top:16px;padding:16px;border-radius:12px;background:#f1f8f7;border:1px solid #d3e6e2}.inline-condition-example small{display:block;color:#61788d}.inline-condition-example .condition-example-chart{max-height:235px}.condition-example>summary{font-weight:600;cursor:pointer}

.example-entry-steps{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.example-entry-steps span{background:#e6f1f2;border-radius:8px;padding:10px;flex:1;min-width:130px}.example-combination{border-left:3px solid #b7c6d0;padding:10px 12px;margin:8px 0;background:#f7fafb;border-radius:6px}.example-combination.is-met{border-color:#168572}.example-combination strong{display:block;color:#52647b;margin-top:5px}.example-combination.is-met>strong{color:#168572}


.example-legend{display:flex;gap:10px 20px;flex-wrap:wrap;margin:14px 0;font-size:13px;line-height:1.6}.example-legend>span{display:inline-flex;align-items:center;gap:7px}.example-legend i{display:inline-block;width:24px;height:3px;flex:0 0 24px}


#build{overflow-anchor:none}.inline-condition-example,.example-rule-card{overflow-anchor:none}.example-moments{display:grid;gap:10px;padding:0;list-style:none}.example-moments li{display:flex;flex-direction:column;gap:5px;border-left:3px solid;padding:10px 12px;background:#fff;overflow-wrap:anywhere}.inline-condition-example>b{display:block;line-height:1.8;overflow-wrap:anywhere}.condition-example-chart{overflow:visible}


.market-state-example{margin:16px 0}.market-state-example img{display:block;width:100%;height:auto;max-width:100%;border-radius:12px;pointer-events:none;user-select:none}.market-state-example figcaption{font-size:12px;color:#607789;margin-top:8px}


#researchPreparingDialog{max-width:440px;width:calc(100% - 40px);border:0;border-radius:18px;padding:30px;text-align:center;color:#264158}#researchPreparingDialog::backdrop{background:rgba(21,40,57,.42)}.research-spinner{width:44px;height:44px;margin:0 auto 18px;border:4px solid #dceaea;border-top-color:#168572;border-radius:50%;animation:research-spin .85s linear infinite}@keyframes research-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.research-spinner{animation-duration:2.5s}}#researchReport [hidden]{display:none!important}


.universe-kpi{padding:18px 12px;background:#f1f7f6;border-radius:10px;min-width:0}.universe-kpi strong{display:block;margin-top:8px;overflow-wrap:anywhere}#universeOverview .table-wrap{max-height:560px}#universeOverview th{position:sticky;top:0;z-index:1}

