:root{font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,PingFang SC,Microsoft YaHei,sans-serif;color:#151815;background:#f5f6f4;font-synthesis:none;letter-spacing:0;--green:#167643;--green-soft:#e9f4ed;--positive:#d8443e;--negative:#13804a;--red:#cc3b37;--amber:#a66712;--text:#151815;--muted:#6c716c;--line:#dde1dc;--surface:#fff;--radius:8px}*{box-sizing:border-box}body{margin:0;min-width:320px;background:#f5f6f4}button,input,select,textarea{font:inherit;letter-spacing:0}button{cursor:pointer}a{color:inherit;text-decoration:none}.positive{color:var(--positive)!important}.negative{color:var(--negative)!important}.app-shell{min-height:100vh}.side-nav{display:none}.app-column{min-height:100vh}.topbar{height:56px;padding:env(safe-area-inset-top) 18px 0;display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}.mobile-brand{font-size:18px;font-weight:700}.sync-state{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:13px}.sync-state span{width:8px;height:8px;border-radius:50%;background:#919791}.sync-state.synced span{background:var(--green)}.sync-state.syncing span{background:var(--amber);animation:pulse 1s infinite}.sync-state.error{color:var(--red)}.sync-state.error span{background:var(--red)}@keyframes pulse{50%{opacity:.35}}main{padding-bottom:82px}.page{max-width:1120px;margin:0 auto;padding:24px 18px 40px}.bottom-nav{position:fixed;z-index:30;bottom:0;left:0;right:0;height:calc(64px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);display:grid;grid-template-columns:repeat(4,1fr);background:#fffffff5;border-top:1px solid var(--line)}.bottom-nav a{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:3px;font-size:11px;color:#737873}.bottom-nav a.active{color:var(--green);font-weight:650}.primary-button,.secondary-button,.text-button,.icon-button{border:0;background:none;display:inline-flex;align-items:center;justify-content:center;gap:8px}.primary-button{min-height:44px;padding:0 18px;background:var(--green);color:#fff;border-radius:6px;font-weight:650}.primary-button.compact{min-height:42px}.primary-button:disabled{opacity:.55}.secondary-button{min-height:42px;padding:0 14px;background:#fff;border:1px solid #cdd2cc;border-radius:6px;color:var(--text);font-weight:600}.icon-button{width:44px;height:44px;border-radius:6px;color:var(--muted)}.icon-button:hover{background:#f1f3f0}.equity-header{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding:8px 0 22px}.section-label{margin:0 0 7px;color:var(--muted);font-size:14px}.equity-header h1{margin:0;font-size:38px;line-height:1;font-variant-numeric:tabular-nums;letter-spacing:0}.metric-strip{display:grid;grid-template-columns:repeat(2,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.metric-strip>div{padding:17px 12px 17px 0;display:flex;flex-direction:column;gap:7px;min-width:0}.metric-strip span,.review-stats span{color:var(--muted);font-size:13px}.metric-strip strong{font-size:17px;font-variant-numeric:tabular-nums;white-space:nowrap}.withdrawal-callout{margin-top:18px;padding:14px 16px;display:flex;align-items:center;justify-content:space-between;background:#f0f6f2;border-left:3px solid var(--green)}.withdrawal-callout div{display:flex;flex-direction:column;gap:4px}.withdrawal-callout span{color:var(--muted);font-size:13px}.withdrawal-callout strong{font-size:20px}.withdrawal-callout button{border:0;background:none;color:var(--green);font-weight:650}.chart-section,.recent-section{padding-top:26px}.chart-section header,.recent-section header{display:flex;align-items:center;justify-content:space-between}.page h2,.chart-section h2,.recent-section h2{font-size:18px;margin:0}.recent-section header{padding-bottom:10px;border-bottom:1px solid var(--line)}.recent-section a{font-size:14px;color:var(--green)}.chart-legend{display:flex;gap:20px;color:var(--muted);font-size:12px}.chart-legend span:before{content:"";display:inline-block;width:18px;margin-right:7px;vertical-align:middle;border-top:2px solid var(--positive)}.chart-legend .high-key:before{border-top-color:#8b918b;border-top-style:dashed}.chart-wrap{height:250px;margin-top:10px}.risk-row{margin-top:10px;min-height:54px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:flex;align-items:center;gap:10px}.risk-row span{color:var(--muted)}.risk-row strong{color:var(--green)}.risk-row small{margin-left:auto;color:var(--muted)}.risk-row.caution strong,.risk-row.minimum strong{color:var(--amber)}.risk-row.stop strong{color:var(--red)}.ledger-list{background:#fff}.ledger-row{min-height:70px;display:grid;grid-template-columns:64px minmax(0,1fr) auto 40px;align-items:center;gap:10px;border-bottom:1px solid var(--line);position:relative}.entry-date,.entry-main,.entry-amount{display:flex;flex-direction:column;gap:4px;min-width:0}.entry-date strong{font-size:14px}.entry-date span,.entry-main span,.entry-amount span{font-size:12px;color:var(--muted)}.entry-main strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.entry-amount{text-align:right;font-variant-numeric:tabular-nums}.row-action{width:36px;height:36px}.empty-state{padding:40px 16px;text-align:center;display:flex;flex-direction:column;gap:8px;color:var(--muted)}.empty-state strong{color:var(--text)}.page-title{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:24px}.page-title h1{font-size:28px;margin:0 0 5px}.page-title p{margin:0;color:var(--muted);font-size:14px}.header-actions{display:flex;gap:8px}.filter-tabs{display:flex;gap:4px;border-bottom:1px solid var(--line);margin-bottom:4px}.filter-tabs button{border:0;background:none;padding:11px 14px;color:var(--muted);border-bottom:2px solid transparent}.filter-tabs button.active{color:var(--green);border-bottom-color:var(--green);font-weight:650}.review-stats{display:grid;grid-template-columns:repeat(2,1fr);border:1px solid var(--line);background:#fff}.review-stats div{padding:18px;display:flex;flex-direction:column;gap:8px;border-bottom:1px solid var(--line)}.review-stats strong{font-size:22px}.review-checklist{margin-top:24px}.review-checklist h2{margin-bottom:10px}.review-checklist button{width:100%;min-height:54px;padding:0;border:0;border-bottom:1px solid var(--line);background:none;display:flex;align-items:center;gap:12px;text-align:left}.review-result{margin-top:24px;padding:20px;border-left:3px solid var(--amber);background:#fff8ed}.review-result.eligible{border-color:var(--green);background:var(--green-soft)}.review-result span{color:var(--muted);font-size:13px}.review-result strong{display:block;font-size:22px;margin-top:5px}.review-result p{margin:8px 0 0;color:var(--muted);line-height:1.6}.settings-form,.data-actions{display:grid;gap:20px}.settings-form section,.data-actions{padding:20px;background:#fff;border:1px solid var(--line);border-radius:var(--radius)}.settings-form h2,.data-actions h2{margin-bottom:18px}.settings-form label,.entry-sheet label,.auth-panel label{display:flex;flex-direction:column;gap:7px;color:#454a45;font-size:14px}.settings-form label+label,.entry-sheet label+label{margin-top:15px}.settings-form input,.entry-sheet input,.entry-sheet select,.entry-sheet textarea,.auth-panel input{width:100%;min-height:44px;padding:10px 12px;border:1px solid #cdd2cc;border-radius:6px;background:#fff;color:var(--text)}.settings-form input:focus,.entry-sheet input:focus,.entry-sheet select:focus,.entry-sheet textarea:focus,.auth-panel input:focus{outline:2px solid rgba(22,118,67,.2);border-color:var(--green)}.settings-form input[type=range]{padding:0;border:0;accent-color:var(--green)}.settings-form label>span{align-self:flex-end;margin-top:-25px;font-weight:650}.form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.settings-form .form-row{grid-template-columns:repeat(3,minmax(0,1fr))}.data-actions{grid-template-columns:1fr auto auto;align-items:center;margin-top:20px}.data-actions h2{margin:0}.modal-backdrop{position:fixed;z-index:100;top:0;right:0;bottom:0;left:0;background:#0c100d61;display:flex;align-items:flex-end;justify-content:center}.entry-sheet{width:100%;max-width:620px;max-height:92vh;overflow:auto;background:#fff;border-radius:8px 8px 0 0;padding:0 18px calc(22px + env(safe-area-inset-bottom))}.entry-sheet>header{height:58px;position:sticky;top:0;background:#fff;z-index:2;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.entry-sheet h2{margin:0;font-size:19px}.entry-sheet form{padding-top:16px}.segmented{display:grid;grid-template-columns:repeat(4,1fr);padding:3px;background:#eff1ee;border-radius:6px;margin-bottom:18px}.segmented button{min-height:36px;border:0;background:none;border-radius:4px;color:var(--muted)}.segmented button.active{background:#fff;color:var(--text);font-weight:650;box-shadow:0 1px 2px #0000000f}.net-preview{display:flex;align-items:center;justify-content:space-between;padding:14px 0;border-bottom:1px solid var(--line)}.net-preview strong{font-size:20px}details{margin-top:15px}summary{color:var(--green);cursor:pointer;padding:8px 0}details[open] summary{margin-bottom:8px}.entry-sheet textarea{resize:vertical}.entry-sheet .primary-button{width:100%;margin-top:20px}.auth-page,.loading-screen{min-height:100vh;display:grid;place-items:center;padding:24px}.auth-panel{width:min(100%,420px);padding:32px;background:#fff;border:1px solid var(--line);border-radius:var(--radius)}.auth-mark{width:46px;height:46px;display:grid;place-items:center;background:var(--green);color:#fff;border-radius:6px;font-weight:800;font-size:20px}.auth-panel h1{font-size:30px;margin:22px 0 8px}.auth-panel>p{color:var(--muted);line-height:1.6;margin:0 0 26px}.auth-panel .primary-button{width:100%;margin-top:14px}.auth-message{margin-top:14px;padding:12px;background:#f0f6f2;color:#31533e;font-size:13px;line-height:1.5}.auth-message.error{background:#fff0ef;color:var(--red)}.auth-notes{margin-top:24px;padding-top:18px;border-top:1px solid var(--line);display:flex;gap:18px;color:var(--muted);font-size:12px}.auth-notes span{display:flex;align-items:center;gap:6px}@media (min-width:760px){.app-shell{display:grid;grid-template-columns:220px 1fr}.side-nav{display:flex;position:sticky;top:0;height:100vh;padding:24px 14px;flex-direction:column;background:#fff;border-right:1px solid var(--line)}.brand{height:52px;padding:0 10px;display:flex;align-items:center;gap:11px;font-weight:750;font-size:17px}.brand-mark{width:31px;height:31px;display:grid;place-items:center;background:var(--green);color:#fff;border-radius:5px}.side-nav nav{display:grid;gap:4px;margin-top:24px}.side-nav nav a{min-height:44px;padding:0 12px;border-radius:6px;display:flex;align-items:center;gap:11px;color:var(--muted)}.side-nav nav a.active{background:var(--green-soft);color:var(--green);font-weight:650}.sign-out{margin-top:auto;justify-content:flex-start;padding:0 12px;min-height:44px;color:var(--muted)}.topbar{justify-content:flex-end}.mobile-brand,.bottom-nav{display:none}main{padding-bottom:0}.page{padding:38px 40px 60px}.metric-strip{grid-template-columns:repeat(4,1fr)}.metric-strip>div+div{padding-left:18px;border-left:1px solid var(--line)}.review-stats{grid-template-columns:repeat(4,1fr)}.review-stats div{border-bottom:0}.entry-sheet{border-radius:8px;align-self:center;padding-bottom:24px}.modal-backdrop{align-items:center;padding:24px}.chart-wrap{height:310px}}@media (max-width:520px){.equity-header{align-items:center}.equity-header h1{font-size:32px}.primary-button.compact{padding:0 13px}.metric-strip>div:nth-child(2n){padding-left:12px;border-left:1px solid var(--line)}.ledger-row{grid-template-columns:54px minmax(0,1fr) auto}.row-action{display:none}.entry-amount strong{font-size:14px}.page-title{align-items:flex-start}.page-title h1{font-size:24px}.header-actions .secondary-button{padding:0 10px}.form-row,.settings-form .form-row,.data-actions{grid-template-columns:1fr}.auth-notes{flex-direction:column;gap:10px}}.field-status{color:var(--muted);font-size:12px;line-height:1.4}.checkbox-row{margin-top:14px!important;display:flex!important;flex-direction:row!important;align-items:center;gap:10px!important;min-height:36px}.checkbox-row input{width:18px!important;min-height:18px!important;accent-color:var(--green)}.fee-block{margin-top:15px}.fee-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:7px;color:#454a45;font-size:14px}.fee-heading button{border:0;background:none;color:var(--green);padding:4px;font-weight:600}.fee-block small{display:block;margin-top:6px;color:var(--muted);font-size:12px}.fee-block input[readonly]{background:#f3f5f2;color:var(--text);font-weight:650}.action-segmented{grid-template-columns:repeat(2,1fr);margin-top:4px}.action-segmented button:disabled{opacity:.4;cursor:not-allowed}.position-preview{margin-top:15px;display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.position-preview>div{padding:13px 10px 13px 0;display:flex;flex-direction:column;gap:5px}.position-preview>div+div{padding-left:12px;border-left:1px solid var(--line)}.position-preview span{font-size:12px;color:var(--muted)}.position-preview strong{font-size:15px;font-variant-numeric:tabular-nums}.form-error{margin-top:14px;padding:10px 12px;background:#fff0ef;color:#b52f2b;border-left:3px solid #cc3b37;font-size:13px}.active-cycles{padding-top:24px}.active-cycles>h2{margin-bottom:10px}.trade-cycles{display:grid;gap:10px}.trade-cycle{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.trade-cycle summary{min-height:66px;padding:12px 16px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;cursor:pointer;list-style:none}.trade-cycle summary::-webkit-details-marker{display:none}.trade-cycle summary>div{display:flex;flex-direction:column;gap:4px;min-width:0}.trade-cycle summary>div:last-child{text-align:right}.trade-cycle summary span{font-size:12px;color:var(--muted)}.trade-cycle.open{border-left:3px solid var(--green)}.cycle-stats{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#f7f8f6}.cycle-stats span{padding:10px 12px;display:flex;flex-direction:column;gap:4px;color:var(--muted);font-size:11px}.cycle-stats strong{color:var(--text);font-size:13px}.fill-timeline{padding:0 14px}.fill-timeline>div{min-height:56px;display:grid;grid-template-columns:90px minmax(0,1fr) auto;align-items:center;gap:10px;border-bottom:1px solid var(--line)}.fill-timeline>div:last-child{border-bottom:0}.fill-timeline time,.fill-timeline small{font-size:11px;color:var(--muted)}.fill-timeline strong{font-size:13px}.fill-timeline>div>span{text-align:right;font-size:13px}.fill-timeline small{grid-column:2/4;margin-top:-12px}.other-ledger{margin-top:28px}.other-ledger>h2{margin-bottom:10px}@media (max-width:520px){.position-preview{grid-template-columns:1fr}.position-preview>div+div{padding-left:0;border-left:0;border-top:1px solid var(--line)}.trade-cycle summary{padding:11px 12px}.cycle-stats{grid-template-columns:1fr 1fr}.cycle-stats span:last-child{display:none}.fill-timeline>div{grid-template-columns:70px minmax(0,1fr) auto}.fill-timeline small{grid-column:2/4}}.entry-sheet .form-row>label+label{margin-top:0}.trade-size-row{align-items:start}.contract-search{position:relative}.contract-menu{position:absolute;z-index:8;top:74px;left:0;right:0;max-height:260px;overflow:auto;padding:4px;background:#fff;border:1px solid #cdd2cc;border-radius:6px;box-shadow:0 10px 30px #141e1624}.contract-menu button{width:100%;min-height:52px;padding:7px 10px;border:0;border-bottom:1px solid #edf0ec;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:14px;text-align:left}.contract-menu button:last-child{border-bottom:0}.contract-menu button:hover,.contract-menu button:focus{background:#f0f6f2;outline:none}.contract-menu button span{display:flex;flex-direction:column;gap:2px;min-width:0}.contract-menu strong{font-size:14px}.contract-menu small{color:var(--muted);font-size:11px}.contract-menu em{color:var(--muted);font-size:11px;font-style:normal;white-space:nowrap}.admin-panel,.stats-panel,.account-panel{margin-top:20px;padding:20px;background:#fff;border:1px solid var(--line);border-radius:var(--radius)}.admin-panel>header,.stats-panel>header,.account-panel>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.admin-panel h2,.stats-panel h2,.account-panel h2{margin:0;font-size:18px}.admin-panel p,.account-panel p{margin:5px 0 0;color:var(--muted);font-size:13px;line-height:1.5}.inline-message{padding:12px 14px;background:#f4f6f3;border-left:3px solid #8b918b;color:#4d544e;font-size:13px;line-height:1.5}.inline-message.error{background:#fff0ef;border-color:var(--red);color:var(--red)}.admin-actions,.account-actions{display:flex;flex-wrap:wrap;gap:10px}.secondary-button:disabled,.danger-button:disabled{opacity:.5;cursor:not-allowed}.job-status{margin-top:14px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--line);background:#f8faf7}.job-status>div{padding:13px 14px;display:flex;flex-direction:column;gap:5px;border-right:1px solid var(--line);min-width:0}.job-status>div:last-of-type{border-right:0}.job-status span{font-size:12px;color:var(--muted)}.job-status strong{font-size:14px;color:var(--text);font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.job-status p{grid-column:1/-1;margin:0;padding:12px 14px;border-top:1px solid var(--line);color:var(--red);font-size:13px}.job-status.running strong,.job-status.pending strong{color:var(--amber)}.job-status.success strong{color:var(--green)}.job-status.failed strong{color:var(--red)}.stats-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid var(--line)}.stats-grid>div{padding:16px;display:flex;flex-direction:column;gap:7px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.stats-grid>div:nth-child(2n){border-right:0}.stats-grid span{font-size:12px;color:var(--muted)}.stats-grid strong{font-size:22px;font-variant-numeric:tabular-nums}.danger-zone{margin-top:18px;padding-top:18px;border-top:1px solid var(--line)}.danger-zone h3{margin:0 0 6px;font-size:15px}.danger-zone label{display:flex;flex-direction:column;gap:7px;margin-top:14px;color:#454a45;font-size:14px}.danger-zone input{width:100%;max-width:360px;min-height:44px;padding:10px 12px;border:1px solid #cdd2cc;border-radius:6px;background:#fff;color:var(--text)}.danger-zone input:focus{outline:2px solid rgba(22,118,67,.2);border-color:var(--green)}.danger-button{margin-top:12px;color:var(--red);border-color:#e3b8b5}.danger-zone small{display:block;margin-top:9px;color:var(--muted);font-size:12px}@media (min-width:760px){.stats-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.stats-grid>div:nth-child(2n){border-right:1px solid var(--line)}.stats-grid>div:nth-child(3n){border-right:0}}@media (max-width:520px){.admin-actions,.account-actions{display:grid;grid-template-columns:1fr}.job-status{grid-template-columns:1fr}.job-status>div{border-right:0;border-bottom:1px solid var(--line)}.job-status>div:last-of-type{border-bottom:0}.stats-grid{grid-template-columns:1fr}.stats-grid>div,.stats-grid>div:nth-child(2n){border-right:0}.danger-zone input{max-width:none}}.auth-email-row{min-height:38px;margin-bottom:12px;display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--muted);font-size:13px}.auth-email-row span{overflow:hidden;text-overflow:ellipsis}.auth-email-row button,.auth-resend{border:0;background:none;color:var(--green);font-weight:600}.otp-input{font-size:24px!important;font-variant-numeric:tabular-nums;letter-spacing:6px!important}.auth-resend{width:100%;min-height:40px;margin-top:6px}.auth-resend:disabled{opacity:.5}.action-segmented{grid-template-columns:repeat(4,1fr)}.fill-timeline>div{grid-template-columns:72px minmax(0,1fr) auto 34px}.fill-action{grid-column:4;grid-row:1/3;width:32px;height:32px;align-self:center;border:0;background:none;color:var(--muted);display:grid;place-items:center;border-radius:5px}.fill-action:hover{background:#fff0ef;color:var(--red)}.fill-timeline small{grid-column:2/4}.entry-date{justify-content:center}.ledger-list .ledger-row:first-child{border-top:0}@media (max-width:520px){.action-segmented{grid-template-columns:repeat(2,1fr)}.fill-timeline>div{grid-template-columns:58px minmax(0,1fr) 32px}.fill-timeline>div>span{display:none}.fill-action{grid-column:3}.fill-timeline small{grid-column:2/3}}.fill-timeline>div{grid-template-columns:92px minmax(0,1fr) auto 34px}.fill-timeline time{white-space:nowrap}@media (max-width:520px){.fill-timeline>div{grid-template-columns:82px minmax(0,1fr) 32px}}.fill-actions{grid-column:4;grid-row:1/3;align-self:center;display:flex;gap:2px}.fill-actions button{width:32px;height:32px;border:0;background:none;color:var(--muted);display:grid;place-items:center;border-radius:5px}.fill-actions button:hover{background:#f1f3f0;color:var(--green)}.fill-actions button:last-child:hover{background:#fff0ef;color:var(--red)}.fill-timeline>div{grid-template-columns:92px minmax(0,1fr) auto 68px}.edit-fill-context{margin-bottom:15px;padding:12px 14px;background:#f3f5f2;display:flex;justify-content:space-between}.edit-fill-context span{color:var(--green);font-weight:650}@media (max-width:520px){.fill-timeline>div{grid-template-columns:82px minmax(0,1fr) 66px}.fill-actions{grid-column:3}.edit-fill-sheet .form-row{grid-template-columns:1fr 1fr}}.trade-cycle{position:relative}.cycle-delete{position:absolute;right:14px;top:70px;min-height:32px;padding:0 9px;border:0;background:none;color:var(--red);display:flex;align-items:center;gap:5px;font-size:12px}.cycle-delete:hover{background:#fff0ef}.trade-cycle.closed .cycle-stats{padding-right:96px}@media (max-width:520px){.cycle-delete{position:static;width:100%;justify-content:flex-end;padding:8px 12px}.trade-cycle.closed .cycle-stats{padding-right:0}}.review-result{position:relative;padding-right:170px}.review-capital-button{position:absolute;right:20px;top:50%;transform:translateY(-50%)}.delete-account-sheet{max-width:520px}.delete-account-content{padding-top:18px}.delete-account-content>p{margin:0 0 18px;color:var(--muted);line-height:1.65}.delete-account-content label{display:flex;flex-direction:column;gap:7px}.delete-account-content input{width:100%;min-height:44px;padding:10px 12px;border:1px solid #cdd2cc;border-radius:6px}.delete-account-content .inline-message{margin-top:14px}.delete-account-content .destructive{margin-top:18px;background:var(--red)}@media (max-width:520px){.review-result{padding-right:20px}.review-capital-button{position:static;transform:none;margin-top:16px;width:100%}.account-actions{display:grid;grid-template-columns:1fr 1fr}.delete-account-sheet{max-height:80vh}}.settings-form .form-row>label+label{margin-top:0}.account-actions{align-items:center}.account-actions .secondary-button{min-width:132px}.other-ledger .ledger-row{padding-left:14px}.review-withdrawals{margin-top:24px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.review-withdrawals>header{padding:14px 0}.review-withdrawals>header>div{display:flex;align-items:baseline;justify-content:space-between}.review-withdrawals h2{margin:0}.review-withdrawals header span,.review-withdrawals>p{color:var(--muted);font-size:13px}.review-withdrawals>p{margin:0;padding:18px 0}.review-withdrawals article{min-height:48px;display:grid;grid-template-columns:72px minmax(0,1fr) auto;align-items:center;gap:12px;border-top:1px solid var(--line)}.review-withdrawals time,.review-withdrawals article span{color:var(--muted);font-size:13px}.review-withdrawals article strong{font-variant-numeric:tabular-nums}@media (max-width:520px){.other-ledger .ledger-row{padding-left:10px}.review-withdrawals article{grid-template-columns:58px minmax(0,1fr) auto}.account-actions .secondary-button{min-width:0}}.review-period-tabs{display:flex;padding:3px;background:#e9ece8;border-radius:6px}.review-period-tabs button{min-width:62px;min-height:36px;border:0;background:none;color:var(--muted);border-radius:4px}.review-period-tabs button.active{background:#fff;color:var(--green);font-weight:650;box-shadow:0 1px 2px #00000014}@media (max-width:520px){.review-title{display:block}.review-period-tabs{margin-top:16px}.review-period-tabs button{flex:1}}.curve-header-tools{display:flex;align-items:center;gap:22px}.curve-period-tabs{display:flex;padding:2px;background:#e9ece8;border-radius:5px}.curve-period-tabs button{min-width:46px;min-height:30px;padding:0 9px;border:0;background:none;border-radius:4px;color:var(--muted);font-size:12px}.curve-period-tabs button.active{background:#fff;color:var(--green);font-weight:650;box-shadow:0 1px 2px #00000014}@media (max-width:520px){.chart-section header{align-items:flex-start;gap:12px}.curve-header-tools{align-items:flex-end;flex-direction:column-reverse;gap:10px}.curve-period-tabs button{min-width:40px;padding:0 7px}.chart-legend{gap:12px}}.recent-section .ledger-row{padding-left:14px}@media (max-width:520px){.recent-section .ledger-row{padding-left:10px}}.account-actions{display:grid;grid-template-columns:repeat(2,150px);align-items:stretch;gap:10px}.account-actions .secondary-button{width:100%;min-width:0;min-height:46px}@media (max-width:520px){.account-actions{grid-template-columns:1fr 1fr}}.maintenance-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:14px;border:1px solid var(--line);background:#f8faf7}.maintenance-summary>div{padding:13px 14px;display:flex;flex-direction:column;gap:5px;min-width:0;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.maintenance-summary>div:nth-child(2n){border-right:0}.maintenance-summary span{font-size:12px;color:var(--muted)}.maintenance-summary strong{font-size:14px;color:var(--text);font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media (min-width:760px){.maintenance-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.maintenance-summary>div:nth-child(2n){border-right:1px solid var(--line)}.maintenance-summary>div:nth-child(3n){border-right:0}}@media (max-width:520px){.maintenance-summary{grid-template-columns:1fr}.maintenance-summary>div,.maintenance-summary>div:nth-child(2n){border-right:0}}.projection-panel{margin-top:26px;padding:24px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.projection-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.projection-heading h2{margin:2px 0 6px;font-size:22px}.projection-heading p:not(.section-label){margin:0;color:var(--muted);font-size:13px}.projection-heading>svg{color:var(--green)}.projection-source{margin-top:18px;padding:12px 14px;display:flex;align-items:center;gap:11px;background:#f0f4ef;border-left:3px solid var(--green)}.projection-source svg{flex:0 0 auto;color:var(--green)}.projection-source div{display:flex;flex-wrap:wrap;align-items:baseline;gap:5px 14px}.projection-source strong{font-size:13px}.projection-source span{color:var(--muted);font-size:12px}.scenario-tabs{margin-top:18px;display:flex;gap:3px;padding:3px;overflow-x:auto;background:#e9ece8;border-radius:6px}.scenario-tabs button{min-height:36px;padding:0 14px;white-space:nowrap;border:0;border-radius:4px;background:transparent;color:var(--muted);font-size:13px}.scenario-tabs button.active{background:#fff;color:var(--green);font-weight:650;box-shadow:0 1px 2px #00000014}.scenario-note{min-height:38px;padding:9px 2px 7px;display:flex;justify-content:space-between;gap:16px;color:var(--muted);font-size:12px}.scenario-note small{white-space:nowrap}.projection-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.projection-card{min-width:0;padding:16px;text-align:left;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--text)}.projection-card:hover{border-color:#aeb7ae}.projection-card.selected{border-color:var(--green);box-shadow:inset 0 0 0 1px var(--green)}.projection-card header strong{display:block;font-size:16px}.projection-card header span{display:block;min-height:34px;margin-top:5px;color:var(--muted);font-size:12px;line-height:1.45}.projection-horizons{margin-top:13px;border-top:1px solid var(--line)}.projection-horizon{padding:11px 0;display:grid;grid-template-columns:1fr 1fr;gap:4px 8px;border-bottom:1px solid var(--line);font-variant-numeric:tabular-nums}.projection-horizon:last-child{padding-bottom:0;border-bottom:0}.projection-horizon b{color:var(--muted);font-size:11px;font-weight:600}.projection-horizon>strong{text-align:right;font-size:14px}.projection-horizon span{color:var(--muted);font-size:11px;white-space:nowrap}.projection-horizon span:nth-of-type(2n){text-align:right}.projection-chart-heading{margin-top:22px;display:flex;align-items:flex-end;justify-content:space-between;gap:16px}.projection-chart-heading>div{display:flex;flex-direction:column;gap:7px}.projection-chart-heading strong{font-size:14px}.projection-chart-heading span{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:11px}.projection-chart-heading>span{white-space:nowrap}.legend{width:16px;height:2px;display:inline-block;background:#d8443e}.legend.withdrawn{background:#2e7660}.legend.wealth{background:#242824}.projection-chart{height:300px;margin-top:9px}.settings-policy-panel{margin-top:18px;padding:20px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius)}.settings-policy-panel>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.settings-policy-panel h2{margin:0 0 5px;font-size:18px}.settings-policy-panel header p{margin:0;color:var(--muted);font-size:13px}.settings-policy-panel header svg{color:var(--green)}.settings-policy-grid{margin-top:18px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--line)}.settings-policy-grid>div{padding:13px;display:flex;flex-direction:column;gap:5px;border-right:1px solid var(--line)}.settings-policy-grid>div:last-child{border-right:0}.settings-policy-grid strong{font-size:13px}.settings-policy-grid span{color:var(--muted);font-size:12px}.settings-data-source{margin:14px 0 0;display:flex;flex-wrap:wrap;gap:5px 14px;font-size:12px}.settings-data-source span{color:var(--muted)}@media (max-width:820px){.projection-grid{grid-template-columns:1fr}.projection-card header span{min-height:0}.projection-horizons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.projection-horizon{display:flex;flex-direction:column;gap:4px;border-bottom:0}.projection-horizon>strong,.projection-horizon span:nth-of-type(2n){text-align:left}.settings-policy-grid{grid-template-columns:1fr}.settings-policy-grid>div{border-right:0;border-bottom:1px solid var(--line)}.settings-policy-grid>div:last-child{border-bottom:0}}@media (max-width:520px){.projection-panel{margin-top:20px;padding:20px 0}.scenario-tabs{margin-left:-2px;margin-right:-2px}.scenario-note{display:block}.scenario-note small{display:block;margin-top:4px}.projection-card{padding:14px 12px}.projection-horizons{grid-template-columns:1fr;gap:0}.projection-horizon{display:grid;grid-template-columns:1fr 1fr;padding:10px 0;border-bottom:1px solid var(--line)}.projection-horizon>strong,.projection-horizon span:nth-of-type(2n){text-align:right}.projection-chart-heading{align-items:flex-start;flex-direction:column}.projection-chart-heading>span{white-space:normal}.projection-chart{height:250px}.settings-policy-panel{padding:16px}}
