/* Consistent hierarchy, comfortable density and semantic colors for trading workflows. */
body{font-weight:400;font-size:14px;line-height:1.65;background:var(--bg);color:var(--txt)}
body :is(h1,h2,h3,h4){color:var(--txt);font-family:'Outfit','Segoe UI',sans-serif;font-weight:600;text-wrap:balance}
body :is(.hero-title,.sys-title,.learning-title){font-size:clamp(30px,3.3vw,46px);line-height:1.16;letter-spacing:-.035em;max-width:900px}
body :is(.hero-desc,.sys-lead,.learning-lead){font-size:15px;line-height:1.8;font-weight:400;max-width:760px;color:var(--txt2)}
body .wrap{max-width:1280px}body.has-sidebar .hero{padding:92px 28px 24px}body.has-sidebar :is(.learning-hero,.sys-hero){padding:92px 28px 28px}body :is(.hero,.learning-hero,.sys-hero)>.wrap{width:100%;margin-inline:auto}
body .sec{padding:28px 0}body :is(.sec-head,.chapter-head){padding:0 0 16px;background:none;border-radius:0;border-bottom:1px solid var(--line);box-shadow:none;backdrop-filter:none;gap:16px}body .sec-title{font-size:24px;line-height:1.25;letter-spacing:-.025em}body .sec-num{font-family:'JetBrains Mono',monospace;color:var(--accent)}body .sec-sub{color:var(--txt3);font-size:12px}
body :is(.form-card,.sys-card,.review-panel,.chapter,.reporter-card){padding:26px;border-radius:var(--radius-lg)}body :is(.lesson,.pd-kpi,.kpi-cell,.review-account,.cal-year-card){border-radius:var(--radius-md)}body :is(.lesson h4,.sys-card h3){line-height:1.4}body :is(.lesson p,.lesson li){font-size:14px;font-weight:400;line-height:1.8}.chapter-code,.learning-kicker,.review-eyebrow,.pd-eyebrow{font-weight:500;letter-spacing:.12em}
body :is(.f-lbl,.tool-field label){font-size:11px;font-weight:500;color:var(--txt2);letter-spacing:.06em;margin-bottom:8px}body :is(.f-input,.f-select,.tool-input,.tool-select,.tool-area){border-radius:10px;min-height:44px;font-size:14px;font-weight:400;box-shadow:inset 0 1px 2px rgba(0,0,0,.025)}body textarea{line-height:1.7}body input::placeholder,body textarea::placeholder{color:var(--txt3);opacity:1}body :is(input,select,textarea):focus{border-color:var(--accent)}
body .btn{min-height:44px;padding:11px 18px;line-height:1.4;letter-spacing:.025em;font-weight:500;font-size:12px;border-radius:10px}body .btn-primary{background:var(--accent);color:var(--on-accent);border-color:var(--accent);box-shadow:var(--btn-shadow)}body .btn-primary:hover{background:var(--accent2);color:var(--on-accent)}body .btn-ghost{background:var(--card-bg);color:var(--txt2);border-color:var(--line2)}body .btn-ghost:hover{background:var(--hov);color:var(--txt)}body button:disabled{opacity:.5;cursor:not-allowed}body .workspace-shortcuts a:first-child{color:var(--on-accent)}body .workspace-shortcuts{margin-top:24px}
body .performance-dashboard{margin-top:28px;padding-top:24px}body .pd-header h2{font-size:23px}body .pd-kpi{padding:18px}body .pd-kpi strong{font-size:clamp(18px,1.65vw,25px);letter-spacing:-.035em}body .pd-kpi span{font-size:11px;font-weight:500;color:var(--txt2)}body .pd-panel{padding:22px;border-radius:18px}body .pd-note{font-size:12px;color:var(--txt3)}body .pd-segments button{min-height:40px}body .pd-segments button[aria-pressed=true]{background:var(--tag);color:var(--accent);border-color:rgba(var(--gold),.25)}
body .tk-table th{padding:14px 16px;font-size:10px;letter-spacing:.06em;background:var(--bg2);color:var(--txt2)}body .tk-table td{padding:14px 16px;border-bottom:1px solid var(--line);font-size:13px}body .tk-table tbody tr:hover{transform:none;background:var(--hov)}body :is(.tbl-wrap,.month-table){border-radius:16px;border:1px solid var(--line2);background:var(--card-bg)}body .tk-table{background:transparent}body :is(.kpi-val,.stat-n){font-variant-numeric:tabular-nums}body .positive,body .pos{color:var(--pos)}body .negative,body .neg{color:var(--neg)}
body.has-sidebar .cloud-account{margin:0 auto 24px;max-width:calc(100% - 56px);padding:20px 24px;display:block}body .cloud-account strong{font-size:14px}body .cloud-account p{font-size:12px;margin:4px 0 0}.account-details{margin-top:12px;border-top:1px solid var(--line);padding-top:12px}.account-details summary{color:var(--accent);cursor:pointer;font-size:12px;font-weight:500}.account-details .cloud-account-actions{padding-top:16px}.account-details input{min-height:44px}
body .workspace-sidebar{background:var(--nav-bg)}body .sidebar-group a{font-size:13px;min-height:44px}body .sidebar-group h2{font-size:10px;color:var(--txt3);letter-spacing:.11em}body .sidebar-brand{padding-bottom:20px}body .sidebar-group{margin:18px 0}body .workspace-location{font-weight:500}body .sidebar-toggle{background:var(--card-bg)}body .theme-tog{border:1px solid var(--line2)}body footer{margin-top:24px}body .foot-in{background:none;color:var(--txt3);font-size:12px}
body .review-controls{padding:18px;background:var(--tag);border:1px solid var(--line);border-radius:14px}body .review-panel{max-width:1224px}body .reporter-card ol{list-style:none;counter-reset:install;padding-left:0}body .reporter-card ol>li{counter-increment:install;position:relative;padding:0 0 22px 44px;margin:20px 0;border-bottom:1px solid var(--line)}body .reporter-card ol>li::before{content:counter(install,decimal-leading-zero);position:absolute;left:0;top:0;font:500 12px 'JetBrains Mono',monospace;color:var(--accent);background:var(--tag);border:1px solid var(--line2);padding:6px;border-radius:8px}body .reporter-card h2{font-size:22px}body .reporter-warning{border-radius:0 10px 10px 0}body .reporter-card td{min-width:170px}body .reporter-card td:first-child{font-weight:500;color:var(--txt)}
body :where(a,button,input,select,textarea,summary):focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(min-width:1500px){body .form-grid{gap:22px}}
@media(max-width:900px){body.has-sidebar :is(.hero,.sys-hero,.learning-hero){padding:84px 18px 20px}body.has-sidebar .cloud-account{max-width:calc(100% - 36px)}}
@media(max-width:600px){body.has-sidebar :is(.hero,.sys-hero,.learning-hero){padding:80px 12px 16px}[data-theme] body :is(.hero,.sys-hero,.learning-hero)>.wrap{padding:20px 16px}body.has-sidebar .cloud-account{max-width:calc(100% - 24px);padding:16px}body :is(.form-card,.sys-card,.review-panel,.chapter,.reporter-card){padding:18px}body .pd-panel{padding:12px}body .sec{padding:22px 0}body .sec-title{font-size:21px}body .hero-title{font-size:32px}body .review-controls{padding:12px}body .pd-kpi strong{font-size:21px}body .workspace-shortcuts a{white-space:normal;font-size:12px}body .reporter-card ol>li{padding-left:38px}body .btn{min-height:44px}}
