/* Terminal workspace system; no styles leak into the public landing. */
#secondary{width:100%;min-width:0}#secondary>section{max-width:1440px;margin-inline:auto}#secondary .page-heading{margin-bottom:26px;align-items:center;gap:18px}#secondary .page-heading h1{font-size:30px;letter-spacing:-.04em;line-height:1.2;margin:0 0 8px}#secondary .page-heading .muted{font-size:14px}#secondary .stat-grid{gap:16px;margin-bottom:24px}#secondary .stat strong{font-size:30px;letter-spacing:-.035em;font-variant-numeric:tabular-nums}#secondary .panel{border-radius:14px;border-color:#353535}body:not(.theme-light) #secondary .panel{background:linear-gradient(145deg,#000000,#000000)}#secondary .panel h2{font-size:17px;letter-spacing:-.02em}#secondary .section-header{gap:15px;flex-wrap:wrap;align-items:center;margin-bottom:20px}#secondary .section-header h2{margin:0}#secondary .section-header button{font-size:12px;min-height:38px;border:1px solid #404040;border-radius:8px;color:#c1c1c1;padding:8px 12px}#secondary button.primary{color:white}#secondary input,#secondary select{min-height:44px;border-radius:8px}#secondary label{font-size:13px}#secondary .history-filters{gap:12px;grid-template-columns:repeat(5,minmax(0,1fr));margin-bottom:22px}#secondary .trader-card{padding:24px}#secondary .trader-heading h2{font-size:18px}#secondary .trader-actions button{min-height:44px}#secondary .trader-session{border-block:1px solid #333333;padding-block:16px}#secondary .trader-session strong{font-size:18px}#secondary .copy-notice{border-radius:12px;padding:20px}#secondary .settings-nav{height:fit-content;border:1px solid #353535;border-radius:12px;overflow:hidden;padding:10px;gap:4px}#secondary .settings-nav button{border-radius:7px;padding:14px;min-height:44px;text-align:left;font-size:13px}#secondary .settings-card{padding:26px}#secondary .settings-card .muted{font-size:13px;line-height:1.7}#secondary .table-wrap{border-radius:10px}#secondary th{font-size:11px;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap;color:#a4a4a4}#secondary td{font-size:13px;padding-block:16px}#secondary .empty-state{padding:40px 18px;color:#959595;font-size:14px}#secondary .ledger{margin-top:22px}#secondary .hub-side button{min-height:70px;border-radius:9px}#secondary .integration-row{font-size:14px;padding:14px 0}.pro-studio-button{font-size:12px!important;border:1px solid #404040!important;border-radius:6px!important;padding:7px 10px!important;color:#bebebe!important;white-space:nowrap}.pro-section{padding:24px;margin-top:22px}.pro-section>h2{margin:0 0 20px}.pro-eyebrow{font-size:10px;letter-spacing:.14em;color:#a6a6a6}.pro-dialog{width:min(680px,calc(100vw - 32px));max-height:calc(100dvh - 48px);overflow:auto;border:1px solid #464646;border-radius:18px;padding:28px;background:#000000;color:#e6e6e6;box-shadow:0 35px 100px #0008;overscroll-behavior:contain}.pro-dialog::backdrop{background:#0009;backdrop-filter:blur(5px)}.pro-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.pro-dialog h2{display:block;margin:5px 0 0;font-size:23px;letter-spacing:-.03em}.pro-dialog-head>button{width:36px;height:36px;border:1px solid #444444;border-radius:9px;padding:0;font-size:22px;color:#a9a9a9;flex-shrink:0}.pro-dialog .muted{font-size:13px;line-height:1.65}.pro-dialog label{display:flex;flex-direction:column;gap:9px;font-size:13px;color:#bebebe}.pro-dialog input,.pro-dialog select,.pro-dialog textarea{min-height:44px;width:100%;max-width:100%;padding:12px;border:1px solid #434343;border-radius:8px;background:#171717;color:#ebebeb;font-size:16px}.pro-dialog textarea{resize:vertical}.pro-dialog label.check{flex-direction:row;align-items:center;gap:10px;min-height:44px}.pro-dialog .check input{width:17px;height:17px;min-height:17px;accent-color:#2c91ff}.pro-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px 24px}.pro-help{font-size:12px;color:#969696;line-height:1.8;margin:18px 0}.pro-dialog .primary{min-height:46px;width:100%;border-radius:8px;margin-top:12px}.pro-shortcuts{display:flex;flex-wrap:wrap;gap:9px;padding-top:22px;margin-top:22px;border-top:1px solid #3c3c3c}.pro-shortcuts button{min-height:42px;border:1px solid #494949;border-radius:8px;padding:10px 14px;color:#c5c5c5;font-size:12px;flex:1}.pro-list{margin-top:24px}.pro-list-row{display:flex;align-items:center;gap:12px;padding:16px 0;border-bottom:1px solid #393939}.pro-list-row>span{flex:1;font-size:13px;overflow-wrap:anywhere}.pro-list-row button{border:1px solid #474747;padding:9px;font-size:12px;border-radius:7px;min-height:38px;color:#c1c1c1}.pro-empty{padding:20px 0;color:#959595;font-size:13px;line-height:1.7}.pro-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:20px}.pro-metrics>div{border-left:2px solid #474747;padding:4px 0 4px 16px;min-width:0}.pro-metrics small{display:block;font-size:12px;color:#a4a4a4;margin-bottom:10px}.pro-metrics strong{font-size:22px;letter-spacing:-.03em;line-height:1.3;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.pro-inline-actions{display:flex;flex-wrap:wrap;gap:8px}.pro-inline-actions select{font-size:12px}.pro-budget-row{display:grid;grid-template-columns:1fr auto;gap:10px 20px;padding:20px 0;border-bottom:1px solid #393939}.pro-budget-row strong{font-size:15px}.pro-budget-row>span{font-size:11px;color:#b2b2b2}.pro-budget-row small{font-size:13px;color:#a5a5a5}.pro-budget-row button{grid-column:1/-1;justify-self:start;border:1px solid #4a4a4a;border-radius:7px;padding:8px 14px;min-height:40px;font-size:12px}.pro-checklist{display:grid;grid-template-columns:1fr 1fr;gap:12px}.pro-checklist>div{padding:14px 16px;border:1px solid #3d3d3d;border-radius:9px;color:#a6a6a6;font-size:13px}.pro-checklist .done{border-color:#255b4f;color:#80c4ad;background:#143b2c22}.pro-details-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-bottom:28px}.pro-details-grid small{display:block;color:#939393;font-size:12px;margin-bottom:8px}.pro-details-grid strong{font-size:14px;font-weight:500;overflow-wrap:anywhere}.pro-dialog #proJournalForm>small{display:block;margin-top:10px}.pro-analysis-extra{display:flex;flex-direction:column;gap:8px;border-top:1px solid #3a3a3a;padding-top:20px}.pro-analysis-extra button{min-height:42px;border-radius:8px;font-size:12px;border:1px solid #484848}.theme-light .pro-dialog{background:#fff;color:#1e1e1e}.theme-light .pro-dialog input,.theme-light .pro-dialog select,.theme-light .pro-dialog textarea{background:#f4f4f4;color:#1e1e1e;border-color:#cccccc}.theme-light .pro-dialog label{color:#575757}.theme-light .pro-help,.theme-light .pro-metrics small{color:#6e6e6e}.theme-light #secondary .panel{border-color:#d0d0d0}.theme-light .pro-section button{color:#286296}.theme-light .pro-checklist>div{color:#626262}.theme-light .pro-checklist .done{color:#18694f}.theme-light .pro-list-row{border-color:#dedede}.theme-light #secondary .section-header button{color:#535353;border-color:#c4c4c4}
@media(max-width:1100px){#secondary .history-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.pro-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.pro-studio-button{padding:6px!important;font-size:11px!important}.pro-checklist{grid-template-columns:1fr}}
@media(max-width:720px){#secondary{padding:22px 0 32px}#secondary .page-heading{align-items:flex-start;margin-bottom:22px;gap:12px;flex-wrap:wrap}#secondary .page-heading h1{font-size:26px}#secondary .page-heading .muted{font-size:12px}#secondary .stat-grid{gap:10px;margin-bottom:18px}#secondary .stat{padding:16px}#secondary .stat strong{font-size:23px}#secondary .history-filters{grid-template-columns:1fr 1fr;gap:10px}#secondary .history-filters label:last-child{grid-column:1/-1}#secondary input,#secondary select{font-size:16px;min-height:46px}#secondary .panel{border-radius:12px}#secondary .settings-card,#secondary .trader-card,.pro-section{padding:20px}#secondary .settings-nav{position:static;flex-direction:row;overflow-x:auto;width:100%;flex-wrap:nowrap;white-space:nowrap;padding:6px}#secondary .settings-nav button{flex-shrink:0;padding:12px}#secondary .section-header{align-items:flex-start}#secondary .section-header h2{font-size:16px}#secondary .section-header button{min-height:42px}#secondary .pro-inline-actions{width:100%;display:grid;grid-template-columns:1fr auto}#secondary .pro-inline-actions select{font-size:12px}#secondary .trader-heading h2{font-size:18px}.pro-metrics{gap:20px 12px;grid-template-columns:1fr 1fr}.pro-metrics>div{padding-left:12px}.pro-metrics strong{font-size:19px}.pro-metrics small{font-size:11px;line-height:1.5}.pro-help{font-size:12px}.pro-dialog{position:fixed;inset:auto 0 0;margin:0;width:100%;max-width:100%;max-height:88dvh;border-radius:20px 20px 0 0;padding:25px 20px calc(25px + env(safe-area-inset-bottom))}.pro-dialog h2{font-size:22px}.pro-dialog .pro-form-grid{gap:14px}.pro-dialog .pro-form-grid .check{font-size:12px}.pro-list-row{flex-wrap:wrap;gap:10px}.pro-list-row>span{flex-basis:100%;font-size:13px}.pro-list-row button{min-height:42px;padding:10px 14px}.pro-shortcuts{gap:10px}.pro-shortcuts button{min-height:44px;flex-basis:45%}.pro-details-grid{gap:20px 15px}.pro-checklist{grid-template-columns:1fr}.pro-checklist>div{min-height:46px}.pro-budget-row{gap:12px}.pro-budget-row small{font-size:12px}#trade.analysis-mode .analysis-inspector{padding:20px}.pro-dialog input,.pro-dialog select,.pro-dialog textarea{font-size:16px}}
@media(prefers-reduced-motion:no-preference){.pro-dialog[open]{animation:proDialogEnter .2s ease-out}.pro-checklist .done{transition:border-color .2s,color .2s}.pro-studio-button:hover{background:#2e2e2e}}
@keyframes proDialogEnter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
