@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');
:root{font-family:'DM Sans',sans-serif;color:#202a27;background:#f6f7f3;font-synthesis:none;--ink:#202a27;--muted:#7b827d;--line:#e6e9e2;--green:#3c7155;--lime:#d3ed93;--negative:#c46257;--surface:#fff;--shadow:0 3px 15px #263b2904}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}button{color:inherit}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #a7cc6a;outline-offset:3px}svg{display:block;flex-shrink:0}button svg{width:18px;height:18px}h1,h2,h3,p{margin:0}h1,h2,h3,.brand{font-family:Manrope,sans-serif}h1{font-size:29px;letter-spacing:-1.1px;font-weight:750;line-height:1.3}h2{font-size:16px;font-weight:750;letter-spacing:-.35px}h3{font-size:14px;font-weight:700}button{border:0}.shell{min-height:100vh;display:grid;grid-template-columns:228px minmax(0,1fr)}.sidebar{position:fixed;inset:0 auto 0 0;width:228px;background:#fff;border-right:1px solid var(--line);padding:32px 20px 20px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:10px;padding:0 14px;font-size:27px;letter-spacing:2px;font-weight:800;text-decoration:none}.brand-icon{color:#648c44;font-size:36px;line-height:1}.brand-sub{font-size:10px;letter-spacing:2px;color:#939b93;font-weight:600;margin:7px 0 0 58px}.workspace{display:flex;align-items:center;gap:11px;border:1px solid var(--line);border-radius:10px;padding:11px 12px;margin:37px 0 28px}.workspace-mark{height:32px;width:32px;background:#f0f2eb;border-radius:9px;display:grid;place-items:center;font-family:Manrope,sans-serif;font-weight:700;font-size:13px}.workspace strong{font-size:12px;font-weight:650;display:block}.workspace small{font-size:10px;color:var(--muted);display:block;margin-top:2px}.workspace>svg{margin-left:auto;color:#919890;width:14px}.nav-label{text-transform:uppercase;font-size:9px;letter-spacing:1.6px;color:#9aa099;margin:0 14px 10px;font-weight:650}.nav{display:flex;flex-direction:column;gap:5px}.nav-button{width:100%;display:flex;align-items:center;gap:12px;padding:13px 14px;border-radius:8px;text-align:left;background:transparent;color:#858b85;font-size:12px;font-weight:550;transition:background .15s}.nav-button:hover{background:#f7f8f4;color:var(--ink)}.nav-button.active{background:#edf3e4;color:#3a5735;font-weight:650}.nav-button svg{width:18px;height:18px}.nav-button .nav-dot{margin-left:auto;width:5px;height:5px;background:#6b934b;border-radius:50%}.sidebar-bottom{margin-top:auto}.journal-note{padding:16px 14px;margin-top:44px;background:#f7f8f4;border:1px solid #ecefe6;border-radius:10px}.journal-note .eyebrow{font-size:9px;color:#5e7750;letter-spacing:1px;display:flex;gap:6px;align-items:center}.journal-note .eyebrow svg{width:12px;height:12px}.journal-note p{font-size:11px;line-height:1.7;color:#858d80;margin-top:9px}.sidebar-footer{border-top:1px solid var(--line);margin:20px 10px 0;padding-top:17px;display:flex;align-items:center;justify-content:space-between}.sidebar-footer span{font-size:10px;color:#a0a69e}.status-dot{display:inline-block;width:5px;height:5px;background:#78a158;border-radius:50%;margin-right:5px}.main{grid-column:2;min-width:0}.topbar{height:78px;background:#ffffffb5;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px}.breadcrumbs{font-size:11px;color:#a1a69f;display:flex;align-items:center;gap:12px}.breadcrumbs b{font-weight:500;color:#657064}.top-right{display:flex;align-items:center;gap:17px}.top-right .currency{font-size:10px;color:#838b81;letter-spacing:.3px}.avatar{display:grid;place-items:center;width:31px;height:31px;border-radius:50%;background:#e8eddf;color:#60724f;font-size:11px;font-weight:650;border:3px solid #fff;box-shadow:0 0 0 1px #e7eadf}.content{max-width:1560px;margin:auto;padding:34px 38px 24px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:27px}.eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:600;text-transform:uppercase;color:#839277;margin-bottom:9px}.page-heading p{color:var(--muted);font-size:12px;margin-top:8px}.heading-actions{display:flex;gap:10px;align-items:center}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 16px;border-radius:7px;font-size:11px;font-weight:650;white-space:nowrap;line-height:1.4;border:1px solid transparent;min-height:38px}.btn-primary{background:#253b2d;color:#fff;box-shadow:0 3px 8px #253b2d0b}.btn-primary:hover{background:#36553f}.btn-outline{background:#fff;border-color:#e1e5dc;color:#65705f}.btn-outline:hover{border-color:#a9b49e;background:#fafbf8}.btn-soft{background:#eaf2df;color:#486539}.btn-text{background:none;color:#6c835b;padding:6px 0;min-height:auto}.btn-danger{background:#b75249;color:white}.icon-btn{display:grid;place-items:center;background:transparent;color:#8e9787;padding:6px;border-radius:5px}.icon-btn:hover{background:#f0f3e9;color:#405239}.icon-btn svg{width:16px;height:16px}.demo-banner{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:12px 17px;background:#edf4df;border:1px solid #dce9c4;border-radius:9px;margin-bottom:22px;color:#5e7245;font-size:11px}.demo-banner b{font-weight:700}.demo-banner span{margin-left:10px;color:#7f8d6d}.demo-banner button{background:transparent;color:#415d30;text-decoration:underline;text-underline-offset:3px;font-size:11px;font-weight:650}.filterbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.period-control{display:flex;gap:4px;background:#ecf0e6;padding:4px;border-radius:7px}.period-button{font-size:10px;font-weight:550;padding:7px 13px;background:transparent;color:#86907f;border-radius:5px;white-space:nowrap}.period-button.active{background:#fff;color:#465a3c;box-shadow:0 1px 4px #3541250d}.filter-right{display:flex;align-items:center;gap:10px}.date-range{font-size:10px;color:#89907f;display:flex;gap:7px;align-items:center}.date-range svg{width:13px;height:13px}.custom-dates{display:flex;gap:8px;align-items:center;color:var(--muted);font-size:11px}.custom-dates input{border:1px solid var(--line);background:white;border-radius:6px;padding:6px;font-size:11px}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}.metric{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:18px 20px 17px;box-shadow:var(--shadow);min-height:143px;position:relative}.metric-top{display:flex;align-items:center;justify-content:space-between;color:#7c8774;font-size:10px}.metric-top svg{width:15px;height:15px;color:#9aa78e}.metric-value{font-family:Manrope,sans-serif;font-size:28px;letter-spacing:-1.2px;line-height:1.1;font-weight:700;margin:17px 0 10px;color:#23362a}.metric-value.negative{color:var(--negative)}.metric-value small{font-family:'DM Sans',sans-serif;font-size:12px;font-weight:500;letter-spacing:0;color:#90a080;margin-left:5px}.metric-bottom{font-size:9px;color:#9ca494;display:flex;align-items:center;gap:5px}.metric-bottom strong{font-weight:500;color:#6f865d}.metric-accent{background:#f0f5e8;border-color:#e4edda}.metric-accent::after{content:'';position:absolute;top:0;left:21px;width:30px;height:3px;border-radius:0 0 4px 4px;background:#b4d47e}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(280px,1fr);gap:20px}.card{background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow);min-width:0}.card-head{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:22px 23px 0}.card-subtitle{font-size:10px;color:#9aa18f;margin-top:5px;line-height:1.6}.chart-card{min-height:325px}.chart-wrap{position:relative;padding:20px 19px 10px;min-height:248px}.equity-svg{width:100%;height:220px;overflow:visible}.chart-legend{display:flex;align-items:center;gap:6px;font-size:9px;color:#829075;white-space:nowrap}.chart-legend i{width:6px;height:6px;background:#6e9559;border-radius:50%}.chart-total{font-size:25px;font-family:Manrope,sans-serif;font-weight:650;letter-spacing:-1px;color:#304c36;margin-top:11px}.chart-total small{font-family:'DM Sans',sans-serif;font-size:9px;letter-spacing:0;font-weight:400;color:#9ba592;margin-left:7px}.chart-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;height:229px;position:relative}.chart-empty svg{position:absolute;inset:15px 5px 0;width:calc(100% - 10px);height:180px;opacity:.6}.chart-empty .empty-content{position:relative;background:#ffffffd9;padding:16px 30px;border-radius:12px}.empty-content h3{font-size:13px;font-weight:650}.empty-content p{font-size:11px;color:#939d87;margin:8px 0 12px}.process-card{padding-bottom:20px}.process-content{padding:25px 23px 0}.donut-row{display:flex;align-items:center;gap:22px}.donut{position:relative;width:122px;height:122px;flex-shrink:0}.donut svg{width:122px;height:122px;transform:rotate(-90deg)}.donut-label{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column}.donut-label strong{font-family:Manrope,sans-serif;font-size:24px;letter-spacing:-.7px;font-weight:700}.donut-label span{color:#a0a992;font-size:8px;text-transform:uppercase;letter-spacing:1px;margin-top:3px}.donut-key{display:flex;flex-direction:column;gap:14px;flex:1}.donut-key div{display:flex;align-items:center;gap:7px;font-size:10px;color:#8c9682}.donut-key i{width:6px;height:6px;border-radius:50%;background:#a7c782}.donut-key i.red{background:#d9ad9d}.donut-key i.gray{background:#e4e9df}.donut-key b{margin-left:auto;font-weight:550;color:#526449}.process-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #eef0e8;margin-top:23px;padding-top:17px;font-size:10px;color:#909a85}.process-footer b{font-size:14px;font-weight:600;color:#4c6343}.table-card{margin-top:20px;overflow:hidden}.table-card .card-head{padding-bottom:20px}.table-scroll{overflow-x:auto}table{border-collapse:collapse;text-align:left;width:100%;white-space:nowrap;font-size:11px}thead{background:#fafbf8}th{font-size:9px;text-transform:uppercase;letter-spacing:.8px;color:#a0a893;font-weight:550;padding:12px 22px;border-top:1px solid #edf0e7;border-bottom:1px solid #edf0e7}td{padding:15px 22px;border-bottom:1px solid #f0f2ec;color:#8a9380}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fcfdf9}.symbol-cell{display:flex;align-items:center;gap:10px}.symbol-badge{width:29px;height:29px;background:#f1f4eb;display:grid;place-items:center;border-radius:7px;font-size:10px;color:#657950;font-weight:650;flex-shrink:0}.symbol-cell strong{display:block;font-size:11px;font-weight:650;color:#425638}.symbol-cell small{display:block;font-size:8px;margin-top:3px;color:#a4ab98}.tag{display:inline-flex;padding:4px 7px;border-radius:4px;font-size:9px;line-height:1.3;background:#f1f4eb;color:#879676}.tag.buy{background:#edf5e8;color:#71935e}.tag.sell{background:#faf0e9;color:#bb937a}.money{font-variant-numeric:tabular-nums;font-weight:550;letter-spacing:-.15px}.positive{color:#598246}.negative{color:var(--negative)}.neutral{color:#89937e}.table-action{display:flex;gap:3px}.table-footer{padding:14px 22px;border-top:1px solid #edf0e7;color:#9ba48c;font-size:10px;display:flex;justify-content:space-between;align-items:center}.table-footer button{font-size:10px}.empty-table{padding:40px 20px;text-align:center;color:#949e87}.empty-table .empty-icon{display:grid;place-items:center;width:40px;height:40px;border:1px solid #e7ecde;background:#f8faf4;border-radius:12px;margin:0 auto 15px;color:#9baa88}.empty-table h3{color:#6a7e5b;font-size:13px}.empty-table p{font-size:11px;line-height:1.7;margin:7px 0 15px}.app-footer{padding:22px 0 0;display:flex;justify-content:space-between;gap:20px;font-size:9px;color:#a4ad99}.app-footer span{display:flex;align-items:center;gap:5px}.app-footer svg{width:11px;height:11px}.operations-toolbar{display:flex;gap:12px;align-items:center;margin-bottom:18px}.search{position:relative;max-width:310px;flex:1}.search svg{position:absolute;left:12px;top:11px;width:15px;height:15px;color:#9da78f}.search input{width:100%;border:1px solid #e2e8d9;background:#fff;border-radius:7px;font-size:11px;padding:11px 12px 11px 35px;color:#56654b}.select{border:1px solid #e2e8d9;background:#fff;border-radius:7px;font-size:11px;padding:10px 29px 10px 11px;color:#778868}.operations-count{margin-left:auto;color:#939e85;font-size:10px}.calendar-top{display:flex;align-items:center;justify-content:space-between;padding:22px 24px;border-bottom:1px solid var(--line)}.calendar-navigation{display:flex;align-items:center;gap:16px}.calendar-navigation h2{min-width:150px;text-transform:capitalize;text-align:center}.calendar-navigation button{border:1px solid #e6ebde;padding:7px}.calendar-weekdays,.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.calendar-weekdays span{text-align:center;text-transform:uppercase;font-size:9px;letter-spacing:1px;color:#99a48c;padding:16px 5px;background:#fafbf8}.calendar-day{min-height:108px;padding:12px;border-top:1px solid #ebeee5;border-right:1px solid #ebeee5;background:#fff;text-align:left;display:flex;flex-direction:column;gap:6px}.calendar-day:nth-child(7n){border-right:0}.calendar-day.other{background:#fafbf8}.calendar-day .day-num{font-size:11px;color:#9ba88c;align-self:flex-start;padding:3px 5px}.calendar-day.today .day-num{border:1px solid #a9c180;border-radius:5px;color:#5a7045}.calendar-day.profit{background:#f3f8ec}.calendar-day.loss{background:#fcf4f0}.calendar-day.selected{box-shadow:inset 0 0 0 2px #a3be7d}.calendar-day .day-money{font-size:12px;font-weight:600;letter-spacing:-.3px;margin-top:auto}.calendar-day .day-count{font-size:9px;color:#9ea88e}.calendar-day.other .day-num{color:#c6cdbf}.calendar-day.has-trades:hover{filter:brightness(.985)}.calendar-summary{display:flex;gap:30px;font-size:10px;color:#8b977e;padding:17px 23px}.calendar-summary strong{font-weight:600;margin-left:5px}.analysis-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.analysis-list{padding:24px}.bar-row{margin-bottom:23px}.bar-row:last-child{margin-bottom:0}.bar-label{display:flex;justify-content:space-between;font-size:11px;gap:15px;color:#718361;margin-bottom:9px}.bar-label strong{font-weight:600}.bar-track{height:7px;background:#f0f3ea;border-radius:4px;overflow:hidden}.bar-fill{height:100%;background:#aec987;border-radius:4px;min-width:2px}.bar-fill.loss{background:#d8aa9b}.bar-detail{margin-top:6px;font-size:9px;color:#a4ad97}.analysis-bottom{margin-top:20px}.insight-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding:23px}.insight-item{border-right:1px solid #e9eee0;padding-right:20px}.insight-item:last-child{border:0}.insight-item span{display:block;font-size:10px;color:#98a18b}.insight-item strong{display:block;font-size:24px;font-family:Manrope,sans-serif;font-weight:600;letter-spacing:-.7px;margin-top:10px;color:#526b44}.insight-item p{font-size:9px;color:#a3ac98;margin-top:7px;line-height:1.7}.notice{display:flex;align-items:center;gap:11px;padding:15px 19px;border:1px solid #edc9c2;border-radius:8px;background:#fff4f1;margin-bottom:20px;font-size:12px;color:#a6594e;line-height:1.6}.notice .btn{margin-left:auto}.loading-card{padding:100px 20px;display:flex;align-items:center;justify-content:center;gap:12px;color:#89997b;font-size:12px}.spinner{width:16px;height:16px;border:2px solid #e3eadb;border-top-color:#7e9c5b;border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.boot{min-height:100vh;display:flex;align-items:center;justify-content:center;gap:15px;font-size:14px;color:#728c5e}.mobile-brand{display:none}.modal-backdrop{position:fixed;inset:0;background:#12201673;backdrop-filter:blur(4px);z-index:50;display:flex;align-items:center;justify-content:center;padding:25px;overflow-y:auto}.modal{width:650px;max-width:100%;background:#fafbf7;border-radius:16px;box-shadow:0 24px 90px #152b2140;max-height:calc(100vh - 50px);display:flex;flex-direction:column;overflow:hidden}.modal-header{padding:24px 28px 20px;display:flex;align-items:flex-start;justify-content:space-between;border-bottom:1px solid #e6ebdd;background:white}.modal-header h2{font-size:20px;letter-spacing:-.6px}.modal-header p{font-size:11px;color:#96a086;margin-top:6px}.modal-body{padding:24px 28px;overflow-y:auto}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 20px}.field label{display:block;font-size:10px;font-weight:600;color:#7c8e69;margin-bottom:7px}.field input,.field select,.field textarea{width:100%;border:1px solid #dfe6d6;border-radius:7px;background:#fff;padding:10px 11px;font-size:12px;color:#4a603e;min-height:39px}.field input::placeholder,.field textarea::placeholder{color:#b2bba8}.field textarea{resize:vertical;min-height:76px}.field.full{grid-column:1/-1}.field small{display:block;font-size:9px;line-height:1.6;color:#a3ad96;margin-top:5px}.form-separator{grid-column:1/-1;display:flex;align-items:center;gap:10px;font-size:9px;letter-spacing:1px;text-transform:uppercase;color:#99a889;padding-top:3px}.form-separator:after{content:'';height:1px;background:#e3e9d9;flex:1}.net-preview{grid-column:1/-1;padding:13px 15px;background:#eef4e5;border:1px solid #e2ecd6;border-radius:8px;display:flex;justify-content:space-between;align-items:center;color:#82966b;font-size:11px}.net-preview strong{font-size:17px;font-family:Manrope,sans-serif;font-weight:650;color:#5e7b46}.form-error{padding:10px 14px;background:#fff0eb;border:1px solid #edcec4;color:#b76655;border-radius:6px;font-size:11px;line-height:1.6;display:none;margin-top:16px}.form-error.show{display:block}.modal-footer{display:flex;justify-content:flex-end;gap:10px;padding:18px 28px;border-top:1px solid #e3e9da;background:white}.modal-footer .form-footnote{margin-right:auto;font-size:9px;color:#a1ae90;align-self:center}.confirm-modal{max-width:430px}.confirm-modal .modal-body p{font-size:12px;line-height:1.8;color:#82916f}.confirm-modal .modal-body strong{color:#556b42}.toast{position:fixed;bottom:28px;right:28px;z-index:80;max-width:calc(100% - 40px);background:#293e2e;color:#edf4e5;padding:16px 18px;border-radius:9px;box-shadow:0 8px 35px #14281924;display:flex;align-items:center;gap:15px;font-size:12px}.toast.error{background:#934e43}.toast button{font-size:11px;color:#d1eba1;text-decoration:underline;background:transparent;font-weight:650}.toast .toast-close{color:#e0e7d8;font-size:17px;text-decoration:none;padding:0 0 0 8px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1500px){.content{padding-top:42px}.metric{min-height:154px}.chart-card{min-height:353px}.chart-wrap{min-height:265px}.equity-svg{height:240px}.process-content{padding-top:35px}.donut-row{gap:30px}.donut,.donut svg{width:140px;height:140px}}
@media(max-width:1200px){.shell{grid-template-columns:196px minmax(0,1fr)}.sidebar{width:196px;padding:28px 14px 18px}.brand{font-size:24px;padding-left:10px}.brand-sub{margin-left:52px;font-size:8px}.content{padding:28px 25px 24px}.topbar{padding:0 25px}.metric{padding:17px 15px}.metric-value{font-size:24px}.metric-top{font-size:9px}.dashboard-grid{grid-template-columns:minmax(0,1.7fr) minmax(260px,1fr);gap:16px}.card-head{padding:20px 18px 0}.process-content{padding-left:18px;padding-right:18px}.donut-row{gap:15px}.donut,.donut svg{width:105px;height:105px}.donut-label strong{font-size:21px}.heading-actions .btn{padding:10px 12px}th,td{padding-left:18px;padding-right:18px}.demo-banner span{display:none}}
@media(max-width:1000px){.metrics{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}.chart-card{min-height:330px}.process-card{display:none}.page-heading{align-items:flex-start}h1{font-size:25px}.heading-actions .btn-outline .button-label{display:none}.heading-actions .btn-outline{padding:10px}.date-range{display:none}.calendar-day{min-height:88px;padding:8px}.calendar-day .day-money{font-size:10px}.analysis-grid{grid-template-columns:1fr}.insight-grid{gap:15px}}
@media(max-width:700px){.shell{display:block}.sidebar{inset:auto 0 0;width:100%;height:68px;padding:7px 10px calc(7px + env(safe-area-inset-bottom));border-right:0;border-top:1px solid var(--line);background:#fffffff5;backdrop-filter:blur(12px)}.sidebar .brand,.brand-sub,.workspace,.nav-label,.sidebar-bottom{display:none}.nav{flex-direction:row;justify-content:space-around;gap:4px}.nav-button{flex-direction:column;gap:4px;justify-content:center;padding:6px 4px;font-size:9px;border-radius:8px}.nav-button svg{width:18px;height:18px}.nav-dot{display:none!important}.main{padding-bottom:70px}.topbar{height:62px;padding:0 20px}.breadcrumbs{display:none}.mobile-brand{display:flex;align-items:center;gap:6px;font-family:Manrope,sans-serif;font-size:18px;font-weight:800;letter-spacing:1.8px}.mobile-brand .brand-icon{font-size:26px}.top-right{gap:10px}.top-right .currency{font-size:8px}.avatar{width:28px;height:28px;font-size:9px}.content{padding:25px 17px 18px}.page-heading{gap:12px;margin-bottom:22px}.page-heading .eyebrow{font-size:8px;letter-spacing:1.4px;margin-bottom:7px}h1{font-size:23px;letter-spacing:-.8px}.page-heading p{font-size:10px;max-width:220px;line-height:1.7;margin-top:7px}.heading-actions{padding-top:19px}.heading-actions .btn-outline{display:none}.heading-actions .btn-primary{padding:9px 11px;font-size:10px}.heading-actions .btn-primary svg{width:15px;height:15px}.filterbar{gap:9px;flex-wrap:wrap;margin-bottom:17px}.period-control{padding:3px;gap:1px}.period-button{font-size:9px;padding:7px 10px}.filter-right .btn{font-size:9px;padding:5px 0;min-height:28px}.filter-right .btn svg{width:13px}.custom-dates{width:100%;order:3}.custom-dates input{width:128px}.metrics{gap:11px;margin-bottom:16px}.metric{padding:15px 13px;min-height:128px}.metric-top{font-size:9px}.metric-top svg{width:13px;height:13px}.metric-value{font-size:23px;margin-top:15px;margin-bottom:9px}.metric-value small{font-size:10px}.metric-bottom{font-size:8px;line-height:1.5}.metric-accent::after{left:13px}.card-head{padding:18px 17px 0}h2{font-size:14px}.card-subtitle{font-size:9px}.chart-legend{font-size:8px}.chart-total{font-size:22px}.chart-total small{font-size:8px}.chart-wrap{padding:17px 12px 8px;min-height:225px}.chart-card{min-height:306px}.equity-svg{height:203px}.chart-empty{height:209px}.empty-content h3{font-size:12px}.empty-content p{font-size:10px}.table-card{margin-top:16px}.table-card .card-head{padding-bottom:17px}.table-card .card-head .btn{font-size:9px}th,td{padding-left:15px;padding-right:15px}.table-footer{padding:12px 15px;font-size:9px}.app-footer{font-size:8px;line-height:1.7}.app-footer span:last-child{display:none}.demo-banner{padding:11px 12px;font-size:9px;margin-bottom:18px}.demo-banner button{font-size:9px}.operations-toolbar{flex-wrap:wrap;gap:9px}.operations-count{width:100%;margin-top:3px}.search{max-width:none}.select{font-size:10px;padding-right:5px}.calendar-top{padding:16px 11px;gap:7px}.calendar-navigation{gap:5px}.calendar-navigation h2{font-size:12px;min-width:125px}.calendar-top>.btn{font-size:9px;padding:8px 9px}.calendar-weekdays span{font-size:8px;letter-spacing:0;padding:12px 1px}.calendar-day{min-height:80px;padding:5px 3px;gap:4px}.calendar-day .day-num{font-size:9px;padding:3px}.calendar-day .day-money{font-size:8px;letter-spacing:-.4px;overflow:hidden}.calendar-day .day-count{font-size:7px}.calendar-summary{padding:14px 12px;gap:14px;flex-wrap:wrap;font-size:9px}.analysis-list{padding:20px}.insight-grid{grid-template-columns:1fr;padding:20px;gap:16px}.insight-item{border-right:0;border-bottom:1px solid #e9eee0;padding-bottom:15px}.insight-item:last-child{padding:0}.insight-item strong{font-size:22px}.modal-backdrop{padding:10px}.modal{max-height:calc(100dvh - 20px);border-radius:12px}.modal-header{padding:19px 20px 16px}.modal-header h2{font-size:18px}.modal-body{padding:19px 20px}.form-grid{gap:15px 13px}.field label{font-size:9px}.field input,.field select{font-size:11px}.modal-footer{padding:15px 20px}.modal-footer .form-footnote{display:none}.toast{bottom:83px;right:17px;left:17px;max-width:none;padding:14px;font-size:11px}.notice{font-size:11px;padding:13px;flex-wrap:wrap}.notice .btn{margin-left:0}.empty-table{padding:35px 18px}}
.r-summary{display:flex;justify-content:space-between;align-items:center;gap:25px;padding:23px;margin-bottom:20px}.r-summary .eyebrow{display:block;font-size:8px;letter-spacing:1.1px}.r-summary p{font-size:10px;color:#99a28e;line-height:1.7;max-width:550px;margin-top:7px}.r-total{text-align:right;flex-shrink:0}.r-total strong{display:block;font-size:27px;font-weight:650;letter-spacing:-1px;font-family:Manrope,sans-serif}.r-total span{display:block;font-size:9px;color:#9aa58d;margin-top:4px}.performance-grid{display:grid;grid-template-columns:1fr;gap:20px}.performance-table{overflow:hidden}.performance-table .card-head{padding-bottom:20px}.performance-table th,.performance-table td{padding-left:18px;padding-right:18px}.group-name{color:#526c44;font-weight:600}.r-coverage{display:block;font-size:8px;color:#a3ae95;margin-top:4px;font-weight:400;letter-spacing:0}.replay-note{display:flex;align-items:center;gap:12px;padding:17px 5px 22px;color:#9baa8c}.replay-note svg{width:18px;height:18px}.replay-note p{font-size:10px;line-height:1.8;color:#8e9c80}.replay-note strong{font-weight:600;color:#6e815f}
@media(max-width:700px){.r-summary{padding:18px;gap:15px;align-items:flex-start}.r-summary h2{font-size:13px}.r-summary .eyebrow{font-size:7px}.r-summary p{font-size:9px}.r-total strong{font-size:21px}.r-total span{font-size:8px;max-width:88px;line-height:1.6}.performance-table th,.performance-table td{padding-left:14px;padding-right:14px}.replay-note{padding:15px 2px 20px}.replay-note p{font-size:9px}}
.journey-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0 0 20px}.journey-shortcuts>button{position:relative;display:flex;flex-direction:column;gap:8px;text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:18px 42px 18px 18px;color:var(--ink);cursor:pointer}.journey-shortcuts>button>span{display:flex;align-items:center;gap:9px;font-weight:650;font-size:13px}.journey-shortcuts small{font-size:11px;line-height:1.6;color:var(--muted)}.journey-shortcuts>button>svg{position:absolute;right:16px;top:22px;color:var(--muted)}.journey-shortcuts>button:hover{border-color:var(--green)}.journey-shortcuts>button:focus-visible{outline:2px solid var(--green);outline-offset:3px}@media(min-width:701px){.sidebar{overflow-y:auto}.nav{flex-shrink:0}.sidebar-bottom{padding-top:20px}}@media(max-width:700px){.journey-shortcuts{grid-template-columns:1fr;gap:9px}.journey-shortcuts>button{padding:14px 40px 14px 14px}.journey-shortcuts>button>span{font-size:12px}.journey-shortcuts small{font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation-duration:.01ms!important}}
.table-scroll{position:relative}

/* Chamber themes and account drawdown settings. */
:root{color-scheme:light;--chart-grid:#edf0e7;--chart-line-muted:#d9e5c6;--chart-label:#7c8873;--chart-line:#86a466;--chart-zero:#d5ddca;--chart-win:#a9c585;--chart-loss:#d9ad9d}
.brand{font-size:19px;letter-spacing:1.3px;gap:9px;padding:0 10px}.brand-monogram{display:inline-grid;place-items:center;width:29px;height:32px;border-radius:8px;background:#e8f2de;color:#426744;font-family:Manrope,sans-serif;font-size:24px;font-weight:800;line-height:1;letter-spacing:-2px;padding-right:2px}.brand-sub{margin-left:48px;font-size:9px;letter-spacing:1.5px}.theme-toggle{display:flex;align-items:center;justify-content:center;gap:7px;min-height:32px;padding:7px 10px;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--ink);font-size:10px;font-weight:550;white-space:nowrap}.theme-toggle svg{width:15px;height:15px}.theme-toggle:hover{border-color:var(--green)}
.metric-dd{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;font-size:25px;font-variant-numeric:tabular-nums;letter-spacing:-1px}.metric-dd .dd-percent{margin-left:0;font-size:14px;color:var(--muted);white-space:nowrap;letter-spacing:-.2px}.drawdown-metric .metric-value{margin-bottom:9px}.dd-explanation{line-height:1.6}.capital-link{display:inline-flex;align-items:center;gap:5px;background:transparent;padding:0;color:var(--green);font-size:9px;margin-top:8px;text-underline-offset:3px}.capital-link:hover{text-decoration:underline}.capital-link svg{width:12px;height:12px}.capital-modal{max-width:490px}.capital-explanation{padding:17px 0 0;font-size:11px;color:var(--muted);line-height:1.8}.capital-explanation p+p{margin-top:10px}.capital-explanation .demo-capital-note{color:var(--green);border-top:1px solid var(--line);padding-top:12px}.optional-label{font-weight:400;color:var(--muted)}
[data-theme="dark"]{color-scheme:dark;background:#0e1219;color:#edf2f7;--ink:#edf2f7;--muted:#95a3b6;--line:#273140;--green:#55d698;--lime:#55d698;--negative:#f38383;--surface:#151b25;--shadow:0 3px 15px #0000000d;--chart-grid:#2a3544;--chart-line-muted:#2b5142;--chart-label:#91a0b4;--chart-line:#55d698;--chart-zero:#475767;--chart-win:#55d698;--chart-loss:#e58683}
[data-theme="dark"] ::selection{background:#267352;color:#fff}
[data-theme="dark"] button:focus-visible,[data-theme="dark"] a:focus-visible,[data-theme="dark"] input:focus-visible,[data-theme="dark"] select:focus-visible,[data-theme="dark"] textarea:focus-visible{outline-color:#55d698}
[data-theme="dark"] .sidebar{background:#111721}
[data-theme="dark"] .brand-monogram{background:#193329;color:#55d698}
[data-theme="dark"] .brand-sub,[data-theme="dark"] .nav-label,[data-theme="dark"] .sidebar-footer span,[data-theme="dark"] .breadcrumbs,[data-theme="dark"] .top-right .currency{color:#93a1b3}
[data-theme="dark"] .workspace-mark{background:#222d3a;color:#c3cfdd}
[data-theme="dark"] .workspace>svg{color:#8d9eb1}
[data-theme="dark"] .nav-button{color:#a0aec0}
[data-theme="dark"] .nav-button:hover{background:#1c2531;color:#edf2f7}
[data-theme="dark"] .nav-button.active{background:#17332c;color:#68dca6}
[data-theme="dark"] .nav-button .nav-dot,[data-theme="dark"] .status-dot{background:#55d698}
[data-theme="dark"] .journal-note{background:#151f29;border-color:#263541}
[data-theme="dark"] .journal-note .eyebrow{color:#83bca6}
[data-theme="dark"] .journal-note p{color:#91a2b2}
[data-theme="dark"] .topbar{background:#111721ed}
[data-theme="dark"] .breadcrumbs b{color:#b5c1cf}
[data-theme="dark"] .avatar{background:#21382f;color:#83dfb1;border-color:#111721;box-shadow:0 0 0 1px #324339}
[data-theme="dark"] .eyebrow{color:#8aab9d}
[data-theme="dark"] .btn-primary{background:#55d698;color:#102319;box-shadow:0 3px 8px #0000000b}
[data-theme="dark"] .btn-primary:hover{background:#75e5ae}
[data-theme="dark"] .btn-outline{background:#18212d;border-color:#334052;color:#c0ccd9}
[data-theme="dark"] .btn-outline:hover{background:#222e3b;border-color:#607186}
[data-theme="dark"] .btn-soft{background:#1c3a2f;color:#8ae4b5}
[data-theme="dark"] .btn-soft:hover{background:#264c3d}
[data-theme="dark"] .btn-text{color:#70d6a1}
[data-theme="dark"] .btn-danger{background:#ba5658;color:#fff}
[data-theme="dark"] .icon-btn{color:#9aabbd}
[data-theme="dark"] .icon-btn:hover{background:#263340;color:#e0eaf4}
[data-theme="dark"] .demo-banner{background:#152d26;border-color:#2c4c3c;color:#a0d9ba}
[data-theme="dark"] .demo-banner span{color:#87ac99}
[data-theme="dark"] .demo-banner button{color:#82dca9}
[data-theme="dark"] .period-control{background:#19222e}
[data-theme="dark"] .period-button{color:#9aaabd}
[data-theme="dark"] .period-button.active{background:#2c3847;color:#eef2f7;box-shadow:0 1px 4px #0000001a}
[data-theme="dark"] .date-range{color:#9aaabd}
[data-theme="dark"] .custom-dates input{background:#19222e;color:#d2dce7}
[data-theme="dark"] .metric-top,[data-theme="dark"] .metric-top svg{color:#a0afc1}
[data-theme="dark"] .metric-value{color:#e8f1ed}
[data-theme="dark"] .metric-value.negative{color:var(--negative)}
[data-theme="dark"] .metric-bottom{color:#93a3b5}
[data-theme="dark"] .metric-bottom strong{color:#b5d7c4}
[data-theme="dark"] .metric-accent{background:#162820;border-color:#2a4435}
[data-theme="dark"] .metric-accent::after{background:#55d698}
[data-theme="dark"] .card{background:var(--surface)}
[data-theme="dark"] .card-subtitle,[data-theme="dark"] .chart-legend,[data-theme="dark"] .chart-total small,[data-theme="dark"] .empty-content p{color:#94a3b6}
[data-theme="dark"] .chart-legend i{background:#55d698}
[data-theme="dark"] .chart-total{color:#b6e7cc}
[data-theme="dark"] .chart-empty .empty-content{background:#151b25eb}
[data-theme="dark"] .donut-label span,[data-theme="dark"] .donut-key div{color:#a1afc1}
[data-theme="dark"] .donut-key i{background:var(--chart-win)}
[data-theme="dark"] .donut-key i.red{background:var(--chart-loss)}
[data-theme="dark"] .donut-key i.gray{background:var(--chart-grid)}
[data-theme="dark"] .donut-key b{color:#d4deea}
[data-theme="dark"] .process-footer{border-color:var(--line);color:#9dacc0}
[data-theme="dark"] .process-footer b{color:#bed9c9}
[data-theme="dark"] thead{background:#19222e}
[data-theme="dark"] th{color:#9faec0;border-color:#293445}
[data-theme="dark"] td{color:#b4c0cf;border-color:#25303f}
[data-theme="dark"] tbody tr:hover{background:#1b2633}
[data-theme="dark"] .symbol-badge{background:#22312f;color:#9fcab6}
[data-theme="dark"] .symbol-cell strong{color:#d6e6df}
[data-theme="dark"] .symbol-cell small{color:#8f9fb2}
[data-theme="dark"] .tag{background:#27313e;color:#aebed0}
[data-theme="dark"] .tag.buy{background:#193c2f;color:#80ddab}
[data-theme="dark"] .tag.sell{background:#3c2d2a;color:#e2b294}
[data-theme="dark"] .positive{color:#63d99b}
[data-theme="dark"] .negative{color:var(--negative)}
[data-theme="dark"] .neutral{color:#98a7b9}
[data-theme="dark"] .table-footer{border-color:var(--line);color:#9cacc0}
[data-theme="dark"] .empty-table{color:#9eacbd}
[data-theme="dark"] .empty-table .empty-icon{background:#1b2830;border-color:#2f4148;color:#8db7a5}
[data-theme="dark"] .empty-table h3{color:#c0d4ca}
[data-theme="dark"] .app-footer{color:#8d9caf}
[data-theme="dark"] .search svg{color:#8c9caf}
[data-theme="dark"] .search input,[data-theme="dark"] .select{background:#18212d;border-color:#324052;color:#c3cfde}
[data-theme="dark"] .search input::placeholder{color:#8a99ad}
[data-theme="dark"] .operations-count{color:#9bacc0}
[data-theme="dark"] .calendar-navigation button{border-color:#344152}
[data-theme="dark"] .calendar-weekdays span{background:#19222e;color:#a2b1c2}
[data-theme="dark"] .calendar-day{background:#151b25;border-color:#2a3443}
[data-theme="dark"] .calendar-day.other{background:#10161f}
[data-theme="dark"] .calendar-day .day-num{color:#a8b7c9}
[data-theme="dark"] .calendar-day.today .day-num{border-color:#4e9270;color:#8ce4b5}
[data-theme="dark"] .calendar-day.profit{background:#172e25}
[data-theme="dark"] .calendar-day.loss{background:#332327}
[data-theme="dark"] .calendar-day.selected{box-shadow:inset 0 0 0 2px #55d698}
[data-theme="dark"] .calendar-day .day-count{color:#9aaabd}
[data-theme="dark"] .calendar-day.other .day-num{color:#647186}
[data-theme="dark"] .calendar-day.has-trades:hover{filter:brightness(1.12)}
[data-theme="dark"] .calendar-summary{color:#9aaabd}
[data-theme="dark"] .bar-label{color:#b1c2d1}
[data-theme="dark"] .bar-track{background:#283342}
[data-theme="dark"] .bar-fill{background:#50b888}
[data-theme="dark"] .bar-fill.loss{background:#cc7674}
[data-theme="dark"] .bar-detail{color:#96a5b9}
[data-theme="dark"] .insight-item{border-color:#2d3949}
[data-theme="dark"] .insight-item span,[data-theme="dark"] .insight-item p{color:#9dacc0}
[data-theme="dark"] .insight-item strong{color:#b8dfc9}
[data-theme="dark"] .notice{background:#352327;border-color:#64383d;color:#f1a8a5}
[data-theme="dark"] .loading-card,[data-theme="dark"] .boot{color:#9cbcae}
[data-theme="dark"] .spinner{border-color:#354738;border-top-color:#55d698}
[data-theme="dark"] .modal-backdrop{background:#040910b8}
[data-theme="dark"] .modal{background:#151d28;box-shadow:0 24px 90px #00000073}
[data-theme="dark"] .modal-header,[data-theme="dark"] .modal-footer{background:#17212d;border-color:#2d3a4b}
[data-theme="dark"] .modal-header p{color:#9bacc0}
[data-theme="dark"] .field label{color:#b4c5d7}
[data-theme="dark"] .field input,[data-theme="dark"] .field select,[data-theme="dark"] .field textarea{background:#101821;border-color:#344358;color:#e0e8f2}
[data-theme="dark"] .field input::placeholder,[data-theme="dark"] .field textarea::placeholder{color:#8293a8}
[data-theme="dark"] .field small{color:#93a4ba}
[data-theme="dark"] .form-separator{color:#9cb4a8}
[data-theme="dark"] .form-separator:after{background:#344637}
[data-theme="dark"] .net-preview{background:#1b3328;border-color:#325441;color:#adc9b7}
[data-theme="dark"] .net-preview strong{color:#91e2b4}
[data-theme="dark"] .form-error{background:#3c2529;border-color:#66393f;color:#f0a8aa}
[data-theme="dark"] .modal-footer .form-footnote{color:#98a9ba}
[data-theme="dark"] .confirm-modal .modal-body p{color:#a7b6c6}
[data-theme="dark"] .confirm-modal .modal-body strong{color:#d7e7dd}
[data-theme="dark"] .toast{background:#214333;color:#e7f5ed;box-shadow:0 8px 35px #00000050;border:1px solid #3e6d52}
[data-theme="dark"] .toast.error{background:#6b3438;border-color:#935058}
[data-theme="dark"] .toast button{color:#a9efbe}
[data-theme="dark"] .toast .toast-close{color:#d7ecdf}
[data-theme="dark"] .r-summary p,[data-theme="dark"] .r-total span,[data-theme="dark"] .r-coverage{color:#95a7bc}
[data-theme="dark"] .group-name{color:#bfd9cc}
[data-theme="dark"] .replay-note,[data-theme="dark"] .replay-note p{color:#9fb1c3}
[data-theme="dark"] .replay-note strong{color:#bbd0c7}
@media(max-width:1200px){.brand{font-size:17px;letter-spacing:1px;padding:0 5px}.brand-sub{margin-left:43px;font-size:8px;letter-spacing:1px}.metric-dd{font-size:22px}.metric-dd .dd-percent{font-size:12px}}
@media(max-width:700px){.mobile-brand{font-size:15px;letter-spacing:1.2px;gap:7px}.mobile-brand .brand-monogram{font-size:23px;width:27px;height:29px}.theme-toggle{padding:7px;min-height:30px}.theme-toggle span,.top-right .currency{display:none}.top-right{gap:9px}.metric-dd{font-size:20px;gap:5px}.metric-dd .dd-percent{font-size:11px}.capital-link{font-size:8px;margin-top:7px;line-height:1.4;text-align:left}.drawdown-metric{min-height:150px}.capital-explanation{font-size:10px}.topbar{padding:0 17px}[data-theme="dark"] .sidebar{background:#111721f5}}
@media(max-width:370px){.metric-dd{font-size:18px}.page-heading .btn-primary{font-size:9px;padding:9px}.heading-actions{gap:5px}.content{padding-left:13px;padding-right:13px}.metric{padding:13px 11px}.period-button{padding:7px 8px}}

/* Entry trigger registration stays in the operation draft. */
.form-hint.full{grid-column:1/-1;font-size:10px;line-height:1.6;color:var(--muted);margin-top:-6px}
.trigger-registry{border:1px solid var(--line);border-radius:8px;padding:12px 14px;background:var(--surface)}
.trigger-registry summary{cursor:pointer;font-size:11px;font-weight:600;color:var(--green)}
.trigger-registration{padding-top:13px}.trigger-registration-row{display:flex;align-items:center;gap:9px}.trigger-registration-row input{min-width:0;flex:1}.trigger-registration-row .btn{flex-shrink:0}
.trigger-status{font-size:10px;line-height:1.6;color:var(--green);margin-top:8px}.trigger-status:empty{display:none}
.operations-toolbar{flex-wrap:wrap}.operations-toolbar .search{min-width:220px}.operations-toolbar .select{max-width:240px}
[data-theme="dark"] .trigger-registry summary,[data-theme="dark"] .trigger-status{color:#91e2b4}
[data-theme="dark"] .form-hint{color:#93a4ba}
@media(max-width:700px){.operations-toolbar .search{flex-basis:100%;min-width:0}.operations-toolbar .select{flex:1;min-width:0;max-width:none}.form-hint.full{font-size:9px}.trigger-registration-row{flex-wrap:wrap}.trigger-registration-row input{flex-basis:100%}.trigger-registration-row .btn{width:100%}.trigger-registry{padding:12px}.field label{line-height:1.5}}

/* Journal workspace */
.scope-bar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:20px}.scope-bar>label{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:650}.scope-bar>span{margin-left:auto;color:var(--muted);font-size:10px}.scope-bar .select{max-width:340px}.advanced-filters{margin-bottom:20px;padding:15px 18px}.advanced-filters>summary{cursor:pointer;font-size:11px;font-weight:600;color:var(--green)}.filter-fields{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px;margin-top:17px}.report-controls{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:16px}.saved-report-list{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.saved-report-list>span{display:flex;align-items:center;gap:6px;background:var(--surface);border:1px solid var(--line);border-radius:6px;padding:3px 6px;font-size:10px}.balance-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:22px;gap:20px;margin-bottom:20px}.balance-summary>div{display:flex;flex-direction:column;gap:7px}.balance-summary span,.balance-summary small{font-size:10px;color:var(--muted);line-height:1.5}.balance-summary strong{font-size:20px;letter-spacing:-.6px}.balance-summary .btn-text{align-self:flex-start}.balance-chart{margin-top:20px}.section-actions{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:20px}.accounts-grid,.playbook-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.account-figures{padding:22px;display:grid;gap:18px;grid-template-columns:1fr 1fr}.account-figures div{display:flex;flex-direction:column;gap:7px}.account-figures span{font-size:10px;color:var(--muted)}.account-figures strong{font-size:22px}.account-figures b{font-size:13px}.account-risk{border-top:1px solid var(--line);padding:18px 22px;font-size:11px;line-height:1.7}.account-risk p{color:var(--muted);margin:7px 0}.wrap-cell{white-space:normal;max-width:340px}.playbook-body{padding:22px;font-size:12px;line-height:1.8}.playbook-body p{color:var(--muted);white-space:pre-wrap}.playbook-body h3{font-size:12px;margin:18px 0 6px}.playbook-body ul{padding-left:20px;color:var(--muted)}.playbook-body .section-actions{margin:20px 0 0}.weekly-notes{margin-top:20px}.weekly-notes form{padding:23px}.weekly-notes [type=submit]{margin-top:17px}.review-period{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:20px;font-size:11px}.review-period span{color:var(--muted)}.review-metrics .metric-value{display:block;font-size:25px}.section-note{font-size:11px;color:var(--muted);line-height:1.7;margin:12px 0 20px}.review-period~.analysis-grid table{margin-top:18px}.risk-notice b{display:block;font-size:12px}.risk-notice small{font-size:10px}.risk-notice p{font-size:11px}.operations-import{display:flex;align-items:center;gap:14px;margin-bottom:16px}.operations-import span{font-size:10px;color:var(--muted)}.form-grid>.full{grid-column:1/-1}.trade-checklist{display:flex;flex-direction:column;gap:9px;border:1px solid var(--line);border-radius:8px;padding:14px;background:var(--surface)}.trade-checklist .checklist-item{display:flex;align-items:center;gap:10px;margin:0;font-size:11px;font-weight:400}.checklist-item input{width:16px;height:16px;min-height:0;flex:none;accent-color:var(--green)}.trade-checklist p{font-size:11px;line-height:1.6;color:var(--muted)}.duration-field output{display:block;padding:12px 0;font-size:12px;color:var(--muted)}.attachment-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.attachment{border:1px solid var(--line);border-radius:8px;overflow:hidden;background:var(--surface)}.attachment img{width:100%;height:100px;object-fit:cover;display:block}.attachment>span{display:block;padding:8px;font-size:9px;overflow-wrap:anywhere}.attachment .btn{margin:0 8px 8px}.import-modal{width:860px}.import-intro{display:flex;align-items:center;gap:20px;margin-bottom:20px}.import-intro p{font-size:11px;line-height:1.7;color:var(--muted)}.mapping-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:16px 0}.import-modal h3{margin:20px 0 10px}.import-modal .table-scroll{margin-top:15px}.import-modal .notice{margin-top:15px}.import-modal td,.import-modal th{padding:10px 12px}.form-error.full{margin:0}.risk-notice{border-color:#a88645;background:#fff7e4;color:#8a641d}.risk-notice svg{align-self:flex-start}.sidebar .journal-note{margin-top:24px}.sidebar{overflow-y:auto}
[data-theme=dark] .advanced-filters>summary{color:#9edcb5}[data-theme=dark] .risk-notice{background:#352b1d;border-color:#6b5530;color:#e8c380}
@media(max-width:1100px){.filter-fields{grid-template-columns:repeat(3,minmax(0,1fr))}.balance-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.top-right .currency{display:none}}
@media(max-width:700px){.scope-bar{gap:8px}.scope-bar .select{max-width:100%;flex:1;font-size:10px}.scope-bar>span{display:none}.scope-bar>.btn{font-size:9px}.filter-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.advanced-filters{padding:13px}.report-controls{gap:8px}.report-controls .btn{font-size:10px}.report-controls .select{width:100%}.balance-summary{padding:17px;gap:18px 13px}.balance-summary strong{font-size:17px}.balance-summary small,.balance-summary span{font-size:9px}.balance-summary .btn{font-size:9px;padding:9px}.accounts-grid,.playbook-grid{grid-template-columns:1fr}.account-figures{padding:18px}.account-figures strong{font-size:20px}.playbook-body{padding:18px}.review-period{gap:8px}.review-period span{width:100%;font-size:10px}.review-metrics .metric-value{font-size:21px}.weekly-notes form{padding:18px}.operations-import{gap:9px}.operations-import span{font-size:9px}.operations-import .btn{font-size:10px}.attachment-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mapping-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.import-intro{display:block}.import-intro .btn{margin-top:12px}.import-modal .modal-footer{gap:6px;padding:12px}.import-modal .modal-footer .btn{font-size:9px;padding:9px}.sidebar{overflow:visible}.nav{overflow-x:auto;justify-content:flex-start;scrollbar-width:none}.nav-button{min-width:64px;flex:1 0 64px}.nav::-webkit-scrollbar{display:none}.field input[type=file]{padding:8px;font-size:9px}.section-actions{gap:8px}.section-actions .btn{font-size:10px}}

.trade-review-details{border:1px solid var(--line);border-radius:9px;background:var(--surface);padding:15px}.trade-review-details>summary{cursor:pointer;font-size:12px;font-weight:650;line-height:1.6}.trade-review-details>summary>span{font-size:10px;font-weight:400;color:var(--muted);margin-left:6px}.trade-review-details>.form-grid{margin-top:18px}.draft-risk{padding:13px 15px;border:1px solid var(--line);border-radius:8px;font-size:10px;line-height:1.7;background:var(--surface)}.draft-risk b{font-size:11px}.draft-risk p{margin-top:3px;color:var(--muted)}.draft-risk.breached{border-color:#ae8945}.draft-risk.breached p{color:#a87a24}[data-theme=dark] .draft-risk.breached p{color:#e8c380}@media(max-width:700px){.trade-review-details{padding:12px}.trade-review-details .form-grid{grid-template-columns:1fr}.trade-review-details>summary{font-size:11px}}

.risk-distance{border-top:1px solid var(--line);padding-top:8px;margin-top:8px}.risk-distance p{margin:3px 0}.risk-distance strong{color:var(--ink);font-weight:600}.risk-distance .risk-status-warning{color:#a87a24;font-weight:600}[data-theme=dark] .risk-distance strong{color:#d7e7dd}[data-theme=dark] .risk-distance .risk-status-warning{color:#e8c380}

.account-card .card-head{gap:12px;flex-wrap:wrap}.account-card .card-head>div:first-child{flex:1;min-width:100px;overflow-wrap:anywhere}.account-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}.account-actions .btn{font-size:10px}.account-actions [data-action="ws-delete"]{color:var(--negative)}

.language-select{font:inherit;font-size:11px;color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:7px;min-height:36px;max-width:115px;padding:6px 8px;cursor:pointer}.language-select:focus-visible{outline:2px solid var(--green);outline-offset:3px}.top-right{min-width:0}@media(max-width:700px){.top-right{gap:8px}.language-select{font-size:10px;max-width:100px;min-height:36px}.topbar .avatar{display:none}}

/* Chamber: chosen C and candlesticks identity. */
.brand-mark{display:block;width:36px;height:36px;object-fit:contain;flex:none;filter:brightness(.5) saturate(1.3)}
.brand{gap:10px;letter-spacing:2px;font-weight:800}.brand-sub{margin-left:56px;letter-spacing:1.7px}
[data-theme="dark"] .brand-mark{filter:drop-shadow(0 0 7px #c5f48818)}
.mobile-brand .brand-mark{width:28px;height:28px}.boot .brand-mark{width:48px;height:48px}
@media(max-width:1100px){.brand{font-size:17px;letter-spacing:1.5px}.brand-sub{margin-left:51px}}

/* Per-trade deductions and independent copies. */
.deduction-breakdown.full,.copy-notice.full{grid-column:1/-1}.deduction-breakdown{display:grid;gap:10px;padding:16px;border:1px solid var(--line);border-radius:9px;font-size:11px;background:var(--surface)}.deduction-breakdown>div{display:flex;justify-content:space-between;gap:18px;line-height:1.5}.deduction-breakdown span{color:var(--muted)}.deduction-breakdown b{white-space:nowrap;font-variant-numeric:tabular-nums}.copy-notice{padding:13px 16px;border:1px solid var(--line);border-left:3px solid var(--green);border-radius:6px;font-size:12px;line-height:1.6}.copy-destination{margin:18px 0}.field .btn-text{align-self:flex-start;text-align:left;white-space:normal;line-height:1.6}

/* Saved account opening preference. */
.account-preference-card{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(300px,1fr);gap:30px;align-items:center;padding:23px 25px;margin-bottom:22px}.account-preference-copy .eyebrow{display:block;font-size:8px;letter-spacing:1.4px;margin-bottom:8px}.account-preference-copy h2{font-size:17px;margin-bottom:9px}.account-preference-copy p{font-size:11px;line-height:1.8;color:var(--muted);margin:0;max-width:560px}.account-preference-copy small{display:block;font-size:10px;color:var(--muted);line-height:1.7;margin-top:7px}.account-preference-form fieldset{border:0;padding:0;margin:0;min-width:0}.account-preference-form label{display:block;font-size:10px;color:var(--muted);font-weight:600;margin-bottom:8px}.account-preference-controls{display:flex;align-items:stretch;gap:9px}.account-preference-controls select{min-width:0;flex:1;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--ink);padding:10px 11px;font-size:11px;min-height:39px}.account-preference-controls .btn{flex:none;font-size:10px;padding:10px 13px}.account-preference-help{margin:9px 0 0;font-size:10px;line-height:1.7;color:var(--muted)}.account-preference-form fieldset:disabled{opacity:.58}.account-preference-form fieldset:disabled select,.account-preference-form fieldset:disabled button{cursor:not-allowed}.account-preference-form .form-error{margin-top:10px;font-size:10px}[data-theme=dark] .account-preference-card{background:#151f29}[data-theme=dark] .account-preference-controls select{background:#101821;border-color:#344358;color:#e0e8f2}@media(max-width:1000px){.account-preference-card{grid-template-columns:1fr;gap:17px}.account-preference-copy p{max-width:none}.account-preference-form{max-width:650px}}@media(max-width:700px){.account-preference-card{padding:18px;margin-bottom:17px;gap:17px}.account-preference-copy h2{font-size:15px}.account-preference-copy p{font-size:10px}.account-preference-copy small,.account-preference-help{font-size:9px}.account-preference-controls{flex-direction:column;gap:9px}.account-preference-controls select{width:100%;font-size:11px}.account-preference-controls .btn{align-self:flex-start;min-height:37px}.account-preference-copy .eyebrow{font-size:7px}}

/* Sortable operation history: native buttons stay usable by touch and keyboard. */
[data-history-table] th.sortable-column{padding-top:0;padding-bottom:0}
.trade-sort-button{display:flex;align-items:center;gap:7px;width:100%;min-height:44px;padding:12px 0;background:transparent;text-align:left;color:inherit;font-size:inherit;letter-spacing:inherit;text-transform:inherit;font-weight:inherit;white-space:nowrap;border-radius:3px}
.trade-sort-button:hover,.sortable-column[aria-sort="ascending"] .trade-sort-button,.sortable-column[aria-sort="descending"] .trade-sort-button{color:var(--ink)}
.trade-sort-arrow{font-size:13px;line-height:1;opacity:.5}
.sortable-column[aria-sort="ascending"] .trade-sort-arrow,.sortable-column[aria-sort="descending"] .trade-sort-arrow{color:var(--green);opacity:1}
.table-sort-hint{font-size:10px;color:var(--muted);line-height:1.6;margin-top:8px}

/* Shared table ordering and confirmed streaks. */
[data-sortable-table] th.sortable-column{padding-top:0;padding-bottom:0}
.trade-sort-indicator{opacity:.5;font-size:13px}
[aria-sort="ascending"] .trade-sort-indicator,[aria-sort="descending"] .trade-sort-indicator{opacity:1;color:var(--green)}
.streak-section{margin-bottom:24px}
.streak-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:0 22px 20px}
.streak-card{display:flex;align-items:flex-start;flex-direction:column;border:1px solid var(--line);border-radius:10px;padding:18px;gap:8px;min-width:0}
.streak-card>span{font-weight:600;font-size:13px}
.streak-card>strong{font-size:32px;line-height:1.2}
.streak-card p,.streak-card small{font-size:12px;color:var(--muted);margin:0;overflow-wrap:anywhere}
.streak-card .btn{margin-top:8px}
.streak-section>.section-note,.streak-warning{margin:0;padding:0 22px 20px;font-size:12px;line-height:1.6}
.streak-warning{color:var(--muted)}
.streak-modal{width:min(960px,calc(100vw - 28px))}
.streak-modal .table-scroll{margin-top:16px}
.streak-modal table{min-width:660px;width:100%}
@media(max-width:640px){.streak-grid{grid-template-columns:1fr;padding:0 16px 16px}.streak-section>.section-note,.streak-warning{padding:0 16px 16px}}

/* Import staging and individual review */
.import-modal{width:min(1080px,calc(100vw - 32px))}.import-modal .modal-body{min-height:0}.import-modal .notice{display:block;margin:12px 0;line-height:1.55}.import-modal .notice p{margin:6px 0}.import-modal .form-grid.full{padding:0}.import-mapping-details{margin:20px 0;border-top:1px solid var(--border);padding-top:16px}.import-mapping-details summary{cursor:pointer;font-weight:700}.import-modal .mapping-grid{margin-top:14px}.import-warning{border-left:3px solid #d9a74a;padding:12px 16px}.import-row-actions{display:flex;gap:8px;flex-wrap:wrap}.import-row-actions .btn{white-space:nowrap;font-size:12px;padding:8px 10px}.import-duplicate{display:block;color:#d9a74a;margin-top:5px}.import-review-confirm{border-top:1px solid var(--border);padding-top:16px}.import-review-confirm .checklist-item{margin-bottom:12px}.import-modal .modal-footer{flex-wrap:wrap}.import-modal input[type=file]{max-width:100%}.import-modal .copy-notice{margin:0 0 18px}.import-modal .table-scroll td{vertical-align:middle}.import-modal .checklist-item input,.import-review-confirm input{flex-shrink:0}.operations-import{flex-wrap:wrap}
@media(max-width:640px){.import-modal{width:calc(100vw - 16px)}.import-modal .modal-footer .btn{flex:1 1 auto}.import-modal .mapping-grid,.import-modal .form-grid{grid-template-columns:minmax(0,1fr)}.import-modal .table-scroll{max-width:100%}.import-row-actions{min-width:170px}}

.attachment-paste{display:grid;gap:8px;padding:18px 14px;border:1px dashed var(--green);border-radius:8px;background:var(--surface);text-align:center;cursor:text;line-height:1.7;overflow-wrap:anywhere}.attachment-paste strong{font-size:12px;color:var(--ink)}.attachment-paste span,.attachment-paste small{font-size:10px;color:var(--muted)}.attachment-paste kbd{display:inline-block;padding:1px 6px;border:1px solid var(--line);border-radius:4px;color:var(--ink);font:inherit}.attachment-paste:focus-visible{outline:3px solid var(--green);outline-offset:3px}

/* Economic calendar stays separate from the financial results. */
.calendar-sections{display:flex;gap:6px;border-bottom:1px solid var(--line);margin:0 0 24px;padding:0 0 10px}.calendar-sections button{padding:11px 20px;border-radius:9px;background:transparent;color:var(--muted);font-weight:650;font-size:13px}.calendar-sections button.active{background:var(--lime);color:#253820}.calendar-sections button:hover{box-shadow:inset 0 0 0 1px var(--line)}.economic-calendar-card{overflow:hidden}.economic-calendar-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:26px 26px 18px}.economic-calendar-heading .eyebrow{margin-bottom:8px}.economic-calendar-heading h2{font-size:21px}.economic-calendar-heading p{color:var(--muted);font-size:13px;line-height:1.6;margin-top:7px}.economic-calendar-heading .btn{white-space:nowrap}.economic-calendar-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 26px 16px}.economic-calendar-hint{padding:0 26px 18px;font-size:12px;color:var(--muted);line-height:1.6}.economic-calendar-frame{display:block;width:100%;height:700px;border:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--surface)}.economic-calendar-footer{display:flex;justify-content:space-between;gap:20px;padding:16px 26px;color:var(--muted);font-size:11px;line-height:1.6}.economic-calendar-note{margin-top:18px;padding:18px 22px;border:1px solid var(--line);border-radius:12px;font-size:12px;line-height:1.7;color:var(--muted)}.economic-calendar-note strong{display:block;color:var(--ink);font-size:13px;margin-bottom:3px}.economic-calendar-note a{display:inline-block;margin-top:8px;color:var(--green)}@media(max-width:640px){.calendar-sections{margin-bottom:16px}.calendar-sections button{flex:1;padding:11px 12px}.economic-calendar-heading{align-items:flex-start;flex-direction:column;padding:20px 16px 16px}.economic-calendar-heading h2{font-size:19px}.economic-calendar-toolbar{padding:0 16px 14px;flex-wrap:wrap}.economic-calendar-hint{padding:0 16px 16px}.economic-calendar-frame{height:680px}.economic-calendar-footer{flex-direction:column;gap:6px;padding:14px 16px}.economic-calendar-note{padding:16px}}

/* Keep preparation beside the primary trade action without another sidebar item. */
.trade-create-menu{position:relative}.trade-create-menu>summary{list-style:none;cursor:pointer}.trade-create-menu>summary::-webkit-details-marker{display:none}.trade-create-menu>summary:focus-visible{outline:3px solid #a7cc6a;outline-offset:3px}.trade-create-menu>summary svg:last-child{width:14px;height:14px;transition:transform .15s}.trade-create-menu[open]>summary svg:last-child{transform:rotate(180deg)}
.trade-create-options{position:absolute;top:calc(100% + 8px);right:0;z-index:40;width:310px;max-width:calc(100vw - 32px);padding:6px;background:var(--surface);border:1px solid var(--line);border-radius:10px;box-shadow:0 12px 35px #0003}.trade-create-options>button{display:flex;gap:12px;align-items:center;width:100%;min-height:64px;padding:12px;text-align:left;border-radius:7px;background:transparent;color:var(--ink)}.trade-create-options>button:hover,.trade-create-options>button:focus-visible{background:color-mix(in srgb,var(--green) 12%,var(--surface))}.trade-create-options>button>svg{width:20px;height:20px;color:var(--green)}.trade-create-options strong{display:block;font-size:12px;line-height:1.5}.trade-create-options small{display:block;margin-top:3px;font-size:11px;line-height:1.5;color:var(--muted);white-space:normal}
[data-session-hint]{line-height:1.5}[data-action="session-from-time"]{align-self:flex-start;text-align:left;min-height:32px}[data-action="session-from-time"][hidden]{display:none}

/* Account status keeps historical records visible without adding them to consolidated totals. */
.account-status{display:inline-block;font-size:.875rem;line-height:1.5;margin-top:8px;padding:3px 9px;border:1px solid var(--line);border-radius:6px}.account-status.is-active{color:var(--green)}.account-status.is-inactive{color:var(--muted);background:var(--surface)}.account-scope-notice{padding:12px 16px;border:1px solid var(--line);border-radius:8px;background:var(--surface);font-size:.875rem;line-height:1.6;margin:0 0 16px;color:var(--muted)}.form-grid>.account-scope-notice{grid-column:1/-1}.field>.account-scope-notice{margin:8px 0 0}.account-status-help{font-size:.875rem}.account-actions{flex-wrap:wrap;justify-content:flex-end}.account-actions [data-action="ws-account-status"]{font-size:.875rem}.account-inactive .account-figures>div:first-child:after{content:none}@media(max-width:700px){.account-actions{width:100%;justify-content:flex-start}.account-status{max-width:100%}.account-scope-notice{font-size:.875rem}}
