.compound-shell{padding-block:40px 70px;max-width:1250px;overflow-wrap:anywhere}
.compound-shell [hidden]{display:none!important}
.compound-heading{padding-bottom:25px;border-bottom:1px solid var(--line);margin-bottom:26px}.compound-heading h1{font-size:clamp(27px,3.5vw,44px);line-height:1.3;letter-spacing:-1px;margin:14px 0}.compound-heading p{color:var(--muted);margin:0}
.compound-card{background:var(--surface,#fff);border:1px solid var(--line);border-radius:18px;padding:24px;margin-bottom:20px;min-width:0;max-width:100%}.compound-card h2{font-size:21px;line-height:1.4;margin-bottom:12px}.compound-card header{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;align-items:center}.compound-card header p{color:var(--muted);margin-bottom:0;font-size:13px}.compound-card summary{cursor:pointer;font-weight:700;min-height:32px}.compound-card[open]>summary{margin-bottom:20px}
.compound-gate{max-width:780px;padding:32px}.compound-gate p,.compound-gate li{color:var(--muted)}.compound-gate ul{padding-left:20px;margin-bottom:26px}.compound-kicker{display:block;font-size:12px;letter-spacing:.5px;color:var(--muted);margin-bottom:8px}
.compound-toolbar,.compound-actions{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin-bottom:16px}.compound-toolbar>label{flex:1;min-width:min(260px,100%)}
.compound-shell label,.compound-label{display:flex;flex-direction:column;font-size:13px;font-weight:700;gap:8px;min-width:0;margin-bottom:0}.compound-shell input,.compound-shell select,.compound-shell button{font:inherit;color:var(--ink)}.compound-shell input,.compound-shell select{display:block;width:100%;min-width:0;max-width:100%;padding:12px;background:var(--paper);border:1px solid var(--line);border-radius:10px;min-height:46px}.compound-shell input[disabled],.compound-shell select[disabled]{opacity:.6}
.compound-shell button{cursor:pointer;min-height:44px;border:1px solid var(--line);border-radius:10px;background:var(--surface);padding:10px 14px;white-space:normal;max-width:100%;overflow-wrap:anywhere}.compound-shell .btn-primary{background:var(--mint);color:#071c2b}.compound-shell button:disabled{cursor:default;opacity:.55}.compound-shell :focus-visible{outline:3px solid #40b694;outline-offset:3px}
.compound-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-block:18px}.compound-wide{grid-column:1/-1}.compound-note{font-size:12px;color:var(--muted);line-height:1.85}.compound-status{min-height:28px;margin-bottom:20px;font-size:14px}.compound-status[data-error=true]{color:#cd6951}
.compound-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.compound-metrics .compound-card{padding:22px 18px}.compound-metrics span{font-size:12px;color:var(--muted)}.compound-metrics strong{display:block;font-size:clamp(23px,2.6vw,33px);line-height:1.4;letter-spacing:-.7px;margin:13px 0;font-variant-numeric:tabular-nums}.compound-metrics small{display:block;color:var(--muted);font-size:11px}.compound-highlight{border-color:#4baf8d}.compound-highlight strong{color:var(--ink)}
.compound-valuation{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.compound-valuation strong{font-size:24px}.compound-valuation p{margin-bottom:0}
.compound-chart-card figure{margin:22px 0 12px;min-width:0}.compound-chart-card svg{display:block;width:100%;height:auto;min-height:0;max-height:none}.compound-chart-card svg text{font-family:inherit;fill:var(--muted);font-size:11px}.compound-chart-card svg .chart-grid{stroke:var(--line);stroke-width:1}.compound-chart-card svg .chart-target{stroke:#d3a654;fill:none;stroke-width:2;stroke-dasharray:6 4}.compound-chart-card svg .chart-actual{stroke:#43b494;fill:none;stroke-width:3}.compound-legend{display:flex;gap:10px 24px;flex-wrap:wrap;font-size:12px;margin-top:18px}.compound-legend span:first-child{color:#b38a42}.compound-legend span:last-child{color:#43b494}.compound-milestones{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.compound-milestones span{display:block;padding:12px;border:1px solid var(--line);border-radius:10px;font-size:12px}.compound-milestones strong{display:block;font-size:16px}
.compound-history table{border-collapse:collapse;width:100%;table-layout:fixed;font-size:12px;margin-top:20px}.compound-history th,.compound-history td{padding:14px 8px;text-align:left;border-bottom:1px solid var(--line);vertical-align:top;overflow-wrap:anywhere}.compound-history th{color:var(--muted);font-weight:400}.compound-history td small{display:block;color:var(--muted);margin-top:6px}.compound-history td:last-child{width:150px}.compound-history td button{font-size:12px;padding:6px 10px;margin:0 5px 6px 0}.compound-pagination{display:flex;gap:12px;align-items:center;justify-content:center;margin-top:20px;font-size:13px}.compound-history-empty{padding:24px;color:var(--muted)}
.compound-picker{display:grid;grid-template-columns:140px minmax(0,1fr) auto;gap:10px;margin:12px 0}.compound-picker ul,.compound-picker>p{grid-column:1/-1;margin:0}.compound-picker ul{list-style:none;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.compound-picker li button{width:100%;text-align:left;font-size:13px}.compound-picker li small{display:block;color:var(--muted)}.compound-picker>p{font-size:12px;color:var(--muted)}.compound-converter>p[data-conversion-result]{font-variant-numeric:tabular-nums;margin-top:15px}.compound-shell .compound-danger{color:#c76b58}
@media(max-width:900px){.compound-shell{padding-block:26px 45px}.compound-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.compound-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.compound-card{padding:20px 16px}.compound-metrics .compound-card{padding:18px 14px}.compound-toolbar{align-items:stretch}.compound-toolbar>.btn{flex:1;min-width:120px}.compound-toolbar>label{flex-basis:100%}.compound-history table,.compound-history tbody{display:block;width:100%}.compound-history thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.compound-history tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:18px 0;border-bottom:1px solid var(--line)}.compound-history td{display:block;min-width:0;border:0;padding:0;width:auto!important;font-size:13px}.compound-history td:first-child,.compound-history td:last-child{grid-column:1/-1}.compound-history td:not(:first-child):not(:last-child)::before{content:attr(data-label);display:block;color:var(--muted);font-size:11px;margin-bottom:5px}.compound-history td small{margin-top:4px}.compound-picker{grid-template-columns:110px minmax(0,1fr)}.compound-picker>[data-search]{grid-column:1/-1}.compound-picker ul{grid-template-columns:1fr}.compound-milestones{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:420px){.compound-heading h1{font-size:27px}.compound-fields{grid-template-columns:minmax(0,1fr)}.compound-metrics{gap:10px}.compound-metrics strong{font-size:23px}.compound-metrics span{font-size:11px}.compound-metrics small{font-size:11px}.compound-metrics .compound-card{padding:16px 12px}.compound-gate{padding:22px 18px}.compound-picker{grid-template-columns:minmax(0,1fr)}.compound-shell button.btn{min-height:46px}.compound-chart-card svg{min-height:0}}

.compound-binance [data-binance-notice],.compound-binance [data-binance-basis]{font-size:13px;overflow-wrap:anywhere}.compound-shell .compound-check{display:flex;flex-direction:row;align-items:start;gap:12px;font-weight:400}.compound-check input{width:20px;min-width:20px;min-height:20px;margin-top:3px}.compound-goal-preview{padding:16px;border-radius:12px;background:var(--paper);border:1px solid var(--line);color:var(--ink);font-size:17px;line-height:1.8;overflow-wrap:anywhere}.compound-next-goal label{max-width:420px}.compound-quantum h2{font-size:clamp(24px,4vw,36px);color:var(--ink)}[data-binance-selection]{margin-block:18px}.compound-wallet-row[data-matched="true"]{border-color:var(--mint)}.compound-wallet-rows{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-block:14px}.compound-wallet-row{display:flex;flex-wrap:wrap;gap:10px;min-width:0;padding:16px;border:1px solid var(--line);border-radius:12px}.compound-wallet-row strong,.compound-wallet-row small{width:100%;overflow-wrap:anywhere}.compound-wallet-row strong{font-size:20px}.compound-wallet-row small{color:var(--muted);font-size:12px}.compound-wallet-row button{font-size:12px}.compound-toolbar{align-items:stretch}.compound-toolbar>label{flex-basis:300px;max-width:100%}@media(max-width:600px){.compound-wallet-rows{grid-template-columns:minmax(0,1fr)}.compound-goal-preview{font-size:16px}.compound-quantum h2{font-size:26px}}

/* Values carry a visible sign as well as a color; absolute balances stay neutral. */
.compound-shell [data-positive="false"][data-negative="false"]{color:var(--ink);font-variant-numeric:tabular-nums}
.compound-shell small[data-positive="false"][data-negative="false"]{color:var(--muted)}
.compound-shell [data-positive="true"][data-negative="false"]{color:#257358;font-variant-numeric:tabular-nums}
.compound-shell [data-negative="true"][data-positive="false"]{color:#b45134;font-variant-numeric:tabular-nums}
[data-theme=dark] .compound-shell [data-positive="true"][data-negative="false"]{color:#9de4cd}
[data-theme=dark] .compound-shell [data-negative="true"][data-positive="false"]{color:#eeb58d}

/* An API asset selection is sufficient; the manual picker is available on request. */
.compound-shell .compound-picker[data-api-matched="true"]{grid-template-columns:minmax(0,1fr) auto;align-items:center}
.compound-shell .compound-picker[data-api-matched="true"]>select,.compound-shell .compound-picker[data-api-matched="true"]>input,.compound-shell .compound-picker[data-api-matched="true"]>[data-search],.compound-shell .compound-picker[data-api-matched="true"]>[data-results]{display:none}
.compound-shell .compound-picker[data-api-matched="true"]>p[data-selection]{display:flex;align-items:center;flex-wrap:wrap;gap:6px;grid-column:1;min-width:0;max-width:100%;margin:0;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:var(--paper);color:var(--ink);font-size:14px;font-weight:700;line-height:1.7;overflow-wrap:anywhere}
.compound-shell .compound-picker>[data-change-plan-asset]{min-width:0;max-width:100%;align-self:stretch;font-size:13px}
@media(max-width:420px){.compound-shell .compound-picker[data-api-matched="true"]{grid-template-columns:minmax(0,1fr)}.compound-shell .compound-picker[data-api-matched="true"]>[data-change-plan-asset]{grid-column:1;justify-self:start}}

/* The badge text identifies whether keys are saved, a request is active, or a balance was verified. */
.compound-connection-tools{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px 10px;min-width:0;max-width:100%}
.compound-shell .compound-connection-state{--compound-state-color:var(--muted);display:inline-flex;align-items:center;gap:8px;min-width:0;max-width:100%;min-height:32px;padding:5px 10px;border:1px solid var(--line);border-radius:100px;background:var(--paper);color:var(--compound-state-color);font-size:12px;font-weight:700;line-height:1.6;overflow-wrap:anywhere}
.compound-connection-state::before{content:"";display:block;flex:0 0 7px;width:7px;height:7px;border-radius:50%;background:currentColor}
.compound-shell .compound-connection-state[data-state="success"]{--compound-state-color:#257358}
.compound-shell .compound-connection-state[data-state="error"],.compound-shell .compound-connection-state[data-state="disconnected"]{--compound-state-color:#b4232c}
.compound-shell .compound-connection-state[data-state="registered"],.compound-shell .compound-connection-state[data-state="wait"],.compound-shell .compound-connection-state[data-state="stale"]{--compound-state-color:#805b16}
.compound-shell .compound-connection-state[data-state="pending"]{--compound-state-color:#275d8a}
[data-theme=dark] .compound-shell .compound-connection-state[data-state="success"]{--compound-state-color:#9de4cd}
[data-theme=dark] .compound-shell .compound-connection-state[data-state="error"],[data-theme=dark] .compound-shell .compound-connection-state[data-state="disconnected"]{--compound-state-color:#ff9c9c}
[data-theme=dark] .compound-shell .compound-connection-state[data-state="registered"],[data-theme=dark] .compound-shell .compound-connection-state[data-state="wait"],[data-theme=dark] .compound-shell .compound-connection-state[data-state="stale"]{--compound-state-color:#e8c979}
[data-theme=dark] .compound-shell .compound-connection-state[data-state="pending"]{--compound-state-color:#a6ccf0}
.compound-connection-tools>[data-binance-status]{min-width:0;max-width:100%;font-size:13px}
.compound-binance [data-binance-connection-detail]{margin:8px 0 14px;min-width:0;max-width:100%;overflow-wrap:anywhere}
@media(max-width:420px){.compound-connection-tools{width:100%;justify-content:flex-start}.compound-connection-tools>[data-binance-status]{flex:0 1 auto}}

.compound-shell .compound-auto-refresh{margin-top:18px;font-size:14px;align-items:center}.compound-auto-refresh+ [data-binance-auto-note]{margin-top:6px;min-height:1.8em}

.compound-connection-tools>[data-binance-status][data-state="success"]{color:#257358;border-color:currentColor}
.compound-connection-tools>[data-binance-status][data-state="error"],.compound-connection-tools>[data-binance-status][data-state="disconnected"]{color:#b4232c;border-color:currentColor}
[data-theme=dark] .compound-connection-tools>[data-binance-status][data-state="success"]{color:#9de4cd}
[data-theme=dark] .compound-connection-tools>[data-binance-status][data-state="error"],[data-theme=dark] .compound-connection-tools>[data-binance-status][data-state="disconnected"]{color:#ff9c9c}

.compound-chart-card [data-chart]{position:relative;isolation:isolate}.compound-chart-tooltip{position:absolute;z-index:2;box-sizing:border-box;width:max-content;max-width:calc(100% - 16px);padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--text);box-shadow:0 6px 24px #0003;pointer-events:none;overflow-wrap:anywhere;font-size:12px;line-height:1.6}.compound-chart-tooltip[hidden]{display:none}.compound-chart-tooltip>strong{display:block;font-size:13px}.compound-chart-tooltip p{margin:4px 0 0}.compound-chart-tooltip [data-chart-target]{color:#8a641e}.compound-chart-tooltip [data-chart-actual]{color:#24765d}[data-theme=dark] .compound-chart-tooltip [data-chart-target]{color:#f0ca7d}[data-theme=dark] .compound-chart-tooltip [data-chart-actual]{color:#9de4cd}.compound-chart-card .chart-guide{stroke:var(--muted);stroke-width:1;stroke-dasharray:3 3}.compound-chart-card .chart-target-dot{fill:#d3a654;stroke:var(--surface);stroke-width:1.5}.compound-chart-card .chart-actual-dot{fill:#43b494;stroke:var(--surface);stroke-width:1.5}.compound-chart-card .chart-indicator{pointer-events:none}.compound-chart-card .chart-cursor{cursor:crosshair;touch-action:pan-y;outline:none}.compound-chart-card .chart-cursor:focus-visible{stroke:var(--accent);stroke-width:2}
.compound-goal-overview>header{margin-bottom:18px}.compound-goal-overview>header h2{margin:0;font-size:24px}.compound-goal-overview>header p{max-width:100%;overflow-wrap:anywhere}.compound-goal-stages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.compound-goal-stages article{min-width:0;padding:20px;border:1px solid var(--line);border-radius:14px}.compound-goal-stages h3{font-size:16px;margin:0 0 14px}.compound-goal-stages strong{display:block;font-size:clamp(25px,2.8vw,34px);line-height:1.3;overflow-wrap:anywhere}.compound-goal-stages p{color:var(--muted);font-size:13px;margin:10px 0 0}.compound-goal-stages .compound-goal-target{border-color:#9d7428;background:color-mix(in srgb,var(--surface) 93%,#d3a654)}.compound-goal-target strong{color:#8a641e}[data-theme=dark] .compound-goal-target strong{color:#f0ca7d}.compound-goal-target [data-overview-period]{display:inline-block;font-size:18px;font-weight:700;color:var(--text);border-radius:6px;padding:4px 8px;border:1px solid var(--line)}.compound-goal-stages .compound-goal-achievement{border-color:#318a70;background:color-mix(in srgb,var(--surface) 93%,#43b494)}.compound-goal-achievement [data-overview-state]{display:block;font-weight:700;font-size:15px;margin-bottom:10px}.compound-goal-achievement progress{display:block;width:100%;height:12px;margin-top:15px;accent-color:#318a70}.compound-goal-achievement [data-overview-percent][data-positive=true]{color:#24765d}.compound-goal-achievement [data-overview-percent][data-negative=true]{color:#b4232c}[data-theme=dark] .compound-goal-achievement [data-overview-percent][data-positive=true]{color:#9de4cd}[data-theme=dark] .compound-goal-achievement [data-overview-percent][data-negative=true]{color:#ff9c9c}.compound-goal-overview[data-completed=true] .compound-goal-achievement{border-width:2px}.compound-goal-overview[data-completed=true] [data-overview-state]{color:#24765d}[data-theme=dark] .compound-goal-overview[data-completed=true] [data-overview-state]{color:#9de4cd}@media(max-width:760px){.compound-goal-stages{grid-template-columns:minmax(0,1fr)}.compound-goal-stages article{padding:18px}.compound-goal-stages strong{font-size:28px}}

/* Frequency-based layout: overview/chart stay visible; infrequent forms are native disclosures. */
.compound-workflow-nav{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px;padding:10px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}
.compound-workflow-nav button{flex:1;min-width:110px;font-size:13px;font-weight:700;background:var(--paper)}
.compound-fold>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;min-height:48px}
.compound-fold>summary::-webkit-details-marker{display:none}.compound-fold-copy{display:block;min-width:0;max-width:100%}.compound-fold-title{display:block;font-size:17px;font-weight:700;line-height:1.5}.compound-fold-hint{display:block;font-size:12px;line-height:1.7;color:var(--muted);font-weight:400;margin-top:4px}
.compound-fold-state{flex:0 0 auto;color:#257358;font-size:12px;white-space:nowrap}[data-theme=dark] .compound-fold-state{color:#9de4cd}.compound-fold .when-open{display:none}.compound-fold[open]>summary .when-open{display:inline}.compound-fold[open]>summary .when-closed{display:none}
.compound-fold:not([open]){padding-block:15px}.compound-wallet-fold{margin-top:12px}.compound-wallet-fold>summary{padding:10px 0;border-top:1px solid var(--line)}
.compound-inline-help{margin:12px 0}.compound-inline-help>summary{font-size:12px;color:var(--muted);min-height:32px}.compound-inline-help p{margin-top:10px}
.compound-section-heading{margin:26px 0 16px}.compound-section-heading h2{font-size:19px;margin:0}.compound-section-heading p{margin:6px 0 0}
.compound-history>header{margin:12px 0}.compound-valuation{margin-top:18px}.compound-toolbox .compound-card{margin-bottom:12px}
#compound-wallet-panel,#compound-entry-panel,#compound-tools-panel,#compound-settings-panel,#compound-dashboard-panel{scroll-margin-top:20px}
.compound-latest-memo{border-color:#9d7428;border-left-width:4px}.compound-latest-memo header{margin-bottom:14px}.compound-latest-memo h2{margin:0}.compound-latest-memo blockquote{margin:0;padding:16px 18px;border:1px solid var(--line);border-radius:10px;background:var(--paper);color:var(--ink);font-size:19px;font-weight:600;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere}
.compound-history .compound-memo-row td{padding:4px 0 18px;width:auto!important}.compound-record-memo{padding:16px 18px;border:1px solid var(--line);border-left:3px solid #9d7428;border-radius:10px;background:var(--paper)}.compound-record-memo>span{display:block;font-size:12px;font-weight:700;color:var(--muted);margin-bottom:8px}.compound-record-memo>p{font-size:16px;line-height:1.8;color:var(--ink);margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:900px){.compound-history tr.compound-memo-row{display:block;padding:0 0 18px}.compound-history .compound-memo-row td{display:block;padding:0}.compound-history .compound-memo-row td::before{display:none}}
@media(max-width:600px){.compound-workflow-nav{gap:6px;padding:8px}.compound-workflow-nav button{min-width:calc(50% - 6px);padding:9px 8px}.compound-fold-title{font-size:16px}.compound-fold>summary{gap:8px}.compound-fold-state{font-size:11px}.compound-fold-hint{font-size:11px}.compound-goal-stages article{padding:14px}.compound-goal-stages h3{margin-bottom:10px}}
/* Wallet action help: small icon, 32px hit target, one responsive card tooltip. */
.compound-shell .compound-wallet-row{position:relative}
.compound-shell .compound-wallet-action{display:inline-flex;align-items:center;gap:4px;min-width:0;max-width:100%;vertical-align:middle}
.compound-shell .compound-wallet-action>button:not([data-action-help]){flex:1 1 auto;min-width:0;white-space:normal;overflow-wrap:anywhere}
.compound-shell .compound-wallet-row button.compound-action-help{display:inline-flex;align-items:center;justify-content:center;flex:0 0 32px;width:32px;min-width:32px;max-width:32px;height:32px;min-height:32px;padding:0;border:0;border-radius:50%;font-size:0;line-height:18px;font-weight:700;color:var(--muted);background:transparent}
.compound-shell .compound-wallet-row button.compound-action-help::before{content:"?";display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:1px solid currentColor;border-radius:50%;font-size:12px;line-height:1}
.compound-shell .compound-wallet-row button.compound-action-help[aria-expanded=true]{color:var(--ink)}
.compound-shell .compound-wallet-row .compound-action-tooltip{position:absolute;z-index:3;top:100%;left:10px;right:10px;box-sizing:border-box;min-width:0;max-width:calc(100% - 20px);margin-top:6px;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink);box-shadow:0 6px 24px #0003;font-size:13px;line-height:1.7;white-space:normal;overflow-wrap:anywhere}
.compound-shell .compound-wallet-row .compound-action-tooltip[hidden]{display:none}
.compound-shell .compound-wallet-row .compound-action-tooltip>strong{display:block;width:auto;max-width:100%;font-size:13px;line-height:1.6;color:var(--ink)}
.compound-shell .compound-wallet-row .compound-action-tooltip>p{margin:6px 0 0;font-size:13px;line-height:1.7;color:var(--muted)}

/* Compact saved summary. Exact calculations, editable values and units are unchanged. */
.compound-heading{padding-bottom:16px;margin-bottom:18px}
.compound-heading h1{font-size:clamp(26px,3vw,36px);margin:10px 0;line-height:1.3}
.compound-heading p{font-size:14px;line-height:1.7}
.compound-toolbar{align-items:end;gap:10px;margin-bottom:12px}
.compound-toolbar>label{flex:1 1 260px;min-width:min(230px,100%)}
.compound-plan-menu{position:relative;flex:0 0 auto;margin-left:auto;align-self:end}
.compound-plan-menu>summary{display:flex;align-items:center;justify-content:center;gap:14px;min-height:46px;padding:10px 16px;border:1px solid var(--line);border-radius:10px;background:var(--surface);font-size:13px;font-weight:700;cursor:pointer;list-style:none}
.compound-plan-menu>summary::-webkit-details-marker{display:none}
.compound-plan-menu>summary>span{font-size:23px;line-height:1}
.compound-plan-menu-actions{position:absolute;z-index:6;top:calc(100% + 8px);right:0;display:grid;gap:8px;box-sizing:border-box;width:260px;max-width:calc(100vw - 64px);padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--surface);box-shadow:0 6px 24px #0003}
.compound-plan-menu:not([open])>.compound-plan-menu-actions{display:none}
.compound-plan-menu-actions>.btn{width:100%;min-height:44px;font-size:13px}
.compound-workflow-nav{margin-bottom:14px}
.compound-goal-overview>header{margin-bottom:14px}
.compound-goal-overview>header h2{font-size:22px}
.compound-goal-overview>header>[data-overview-context]{font-size:12px;line-height:1.7}
.compound-goal-stages .compound-current-stage h3>span{font:inherit}
.compound-goal-stages .compound-current-stage>[data-metric="asof"]{font-size:12px;line-height:1.7;margin:8px 0 0}
.compound-goal-stages .compound-start-reference{display:flex;flex-wrap:wrap;gap:4px 8px;align-items:baseline;margin:10px 0 0;font-size:12px;line-height:1.7}
.compound-start-reference>[data-overview-start]{display:inline;font-size:13px;font-weight:600;color:var(--ink);overflow-wrap:anywhere}
.compound-goal-stages .compound-start-date{font-size:12px;line-height:1.7;margin:5px 0 0}
.compound-first-performance{margin:0 0 14px;color:var(--muted);font-size:13px;line-height:1.7}
.compound-performance-chips{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 16px}
.compound-performance-chips>.compound-card{margin:0;padding:12px 14px;border-radius:12px}
.compound-performance-chips strong{font-size:clamp(18px,2vw,23px);line-height:1.35;letter-spacing:-.3px;margin:6px 0;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.compound-performance-chips span{font-size:11px;line-height:1.5}
.compound-performance-chips small{font-size:11px;line-height:1.6;overflow-wrap:anywhere}
@media(max-width:600px){
 .compound-toolbar>label{flex-basis:100%;min-width:0}
 .compound-plan-menu{width:100%}
 .compound-plan-menu>summary{width:100%}
 .compound-plan-menu-actions{width:100%;max-width:100%}
 .compound-goal-overview>header h2{font-size:20px}
 .compound-performance-chips{grid-template-columns:minmax(0,1fr);gap:8px}
 .compound-performance-chips>.compound-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);column-gap:12px;align-items:center;padding:10px 12px}
 .compound-performance-chips strong{text-align:right;font-size:20px;margin:0}
 .compound-performance-chips small{grid-column:1/-1;margin-top:4px}
}

/* Display preference only; exact input fields and saved arithmetic are unchanged. */
.compound-shell .compound-number-tools{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;margin:0 0 14px;padding:10px 14px;border:1px solid var(--line);border-radius:12px;background:var(--surface);min-width:0;max-width:100%;box-sizing:border-box}
.compound-shell .compound-number-tools[hidden]{display:none}
.compound-shell .compound-number-tools .compound-check{align-items:center;flex:0 0 auto;margin:0;font-size:12px;font-weight:600}
.compound-shell .compound-number-tools [data-exact-quantity]{width:18px;min-width:18px;min-height:18px;height:18px;margin:0}
.compound-shell .compound-number-tools [data-quantity-display-note]{flex:1 1 260px;min-width:0;margin:0;font-size:11px;line-height:1.7;overflow-wrap:anywhere}
@media(max-width:520px){.compound-shell .compound-number-tools{padding:10px;gap:8px}.compound-shell .compound-number-tools [data-quantity-display-note]{flex-basis:100%}}
.compound-precision-help{flex:0 1 auto;min-width:0;max-width:100%}.compound-precision-help>summary{font-size:11px;color:var(--muted);cursor:pointer;min-height:24px}.compound-precision-help[open]{flex-basis:100%}.compound-precision-help>p{margin:8px 0 0;font-size:11px;line-height:1.8}

/* API balance and saved ledger remain separate presentation contexts. */
.compound-shell [data-live-summary]{min-width:0}
.compound-shell .compound-current-stage>[data-live-balance]{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.compound-shell .compound-live-status{display:inline-block;border:1px solid var(--line);border-radius:20px;padding:4px 9px;font-weight:700;font-size:11px;line-height:1.5;max-width:100%;box-sizing:border-box;overflow-wrap:anywhere}
.compound-shell .compound-live-status[data-fresh=true]{color:#24765d;border-color:#318a70;background:color-mix(in srgb,var(--surface) 90%,#43b494)}
.compound-shell .compound-live-status[data-state=error],.compound-shell .compound-live-status[data-state=offline]{color:#b4232c;border-color:#b4232c}
.compound-shell .compound-current-stage>.compound-live-at,.compound-shell .compound-current-stage>.compound-live-context{font-size:11px;line-height:1.65;margin:6px 0 0;overflow-wrap:anywhere}
.compound-shell .compound-saved-closing{margin-top:14px;border-top:1px solid var(--line);padding-top:12px;min-width:0}
.compound-shell .compound-saved-closing>.compound-saved-heading{display:block;font-weight:700;font-size:12px;line-height:1.5;color:var(--ink)}
.compound-shell .compound-saved-closing>.compound-saved-kind{display:block;font-size:10px;line-height:1.5;color:var(--muted);margin-top:3px}
.compound-shell .compound-saved-closing>[data-metric=balance]{font-size:clamp(17px,1.8vw,22px);line-height:1.45;margin-top:5px;font-variant-numeric:tabular-nums}
.compound-shell .compound-saved-closing>[data-metric=asof]{font-size:11px;line-height:1.6;margin:4px 0 0;color:var(--muted)}
.compound-shell .compound-saved-closing>.compound-record-flow{min-height:36px;padding:6px 10px;margin:9px 0 0;font-size:11px;line-height:1.5;max-width:100%;white-space:normal}
.compound-shell .compound-goal-gap{margin-top:14px;border-top:1px solid var(--line);padding-top:12px;min-width:0}
.compound-shell .compound-goal-gap>[data-goal-remaining-label]{font-size:12px;font-weight:700;line-height:1.6}
.compound-shell .compound-goal-gap>[data-goal-remaining]{font-size:clamp(19px,2.1vw,25px);line-height:1.4;margin-top:5px;font-variant-numeric:tabular-nums}
.compound-shell .compound-goal-gap>[data-goal-remaining-basis],.compound-shell .compound-goal-gap>[data-goal-excess]{font-size:11px;line-height:1.65;margin:6px 0 0;overflow-wrap:anywhere}
.compound-shell .compound-performance-explanation{margin:0 0 16px;border:1px solid var(--line);border-radius:12px;padding:10px 14px;min-width:0;font-size:12px;line-height:1.8;overflow-wrap:anywhere}
.compound-shell .compound-performance-explanation>summary{font-weight:600;cursor:pointer}
.compound-shell .compound-performance-explanation p{margin:9px 0 0}
[data-theme=dark] .compound-shell .compound-live-status[data-fresh=true]{color:#9de4cd}
[data-theme=dark] .compound-shell .compound-live-status[data-state=error],[data-theme=dark] .compound-shell .compound-live-status[data-state=offline]{color:#ff9c9c;border-color:#c97474}
@media(max-width:600px){.compound-shell .compound-current-stage>[data-live-balance]{font-size:28px}.compound-shell .compound-saved-closing>[data-metric=balance]{font-size:19px}.compound-shell .compound-goal-gap>[data-goal-remaining]{font-size:22px}.compound-shell .compound-performance-explanation{padding:10px 12px}}

.compound-flow-sync{margin:14px 0 18px;padding:14px;border:1px solid var(--line);border-radius:12px;min-width:0;background:var(--surface)}
.compound-flow-sync .compound-note{font-size:12px;line-height:1.75;overflow-wrap:anywhere}
.compound-flow-status{font-size:13px;line-height:1.7;font-weight:650;overflow-wrap:anywhere}
.compound-flow-sync[data-state=ready]{border-color:#429e83}
.compound-flow-sync[data-state=ready] .compound-flow-status{color:#a9ecd2}
.compound-flow-sync[data-state=error] .compound-flow-status,.compound-flow-sync[data-state=review] .compound-flow-status{color:#edb88e}
.compound-flow-sync button{font-size:12px;min-height:40px;max-width:100%;white-space:normal;overflow-wrap:anywhere}
.compound-flow-sync input[readonly]{opacity:.85}
[data-theme=light] .compound-flow-sync[data-state=ready] .compound-flow-status{color:#22694e}
[data-theme=light] .compound-flow-sync[data-state=error] .compound-flow-status,[data-theme=light] .compound-flow-sync[data-state=review] .compound-flow-status{color:#9a471a}
@media(max-width:600px){.compound-flow-sync{padding:12px}.compound-flow-sync .compound-check{align-items:start}.compound-flow-sync .compound-note{font-size:12px}}

.compound-flow-anchor{padding:10px 12px;border-left:3px solid #69bca4;background:var(--surface);border-radius:0 8px 8px 0}

/* Saved closing performance remains visible before the long-term forecast. */
.compound-chart-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:16px;min-width:0}
.compound-chart-range{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;max-width:100%;min-width:0}
.compound-chart-range button{min-height:42px;padding:8px 14px;font-size:13px;white-space:normal;overflow-wrap:anywhere;line-height:1.45}
.compound-chart-range button[aria-pressed=true]{background:#a9ecd4;color:#10271f;border-color:#7ac9ab;font-weight:700}
.compound-chart-range button:disabled{opacity:.6;cursor:default}
.compound-chart-controls>p{margin:0}
.compound-chart-range-note{margin:8px 0 0;min-height:1.6em}
.compound-chart-card .chart-actual{stroke:#43b494;stroke-width:3.5;stroke-linejoin:round;stroke-linecap:round}
.compound-chart-card .chart-record-marker{fill:#43b494;stroke:var(--surface);stroke-width:1.5;pointer-events:none}
.compound-chart-card .chart-latest-marker{fill:#a9ecd4;stroke:#24765d;stroke-width:2;pointer-events:none}
.compound-chart-card .chart-start-guide{stroke:var(--muted);stroke-width:1;stroke-dasharray:2 5;opacity:.6;pointer-events:none}
.compound-chart-card .compound-legend .compound-legend-target{color:#8a641e}
.compound-chart-card .compound-legend .compound-legend-actual{color:#24765d;font-weight:650}
.compound-chart-card .compound-legend .compound-legend-start{color:var(--muted)}
.compound-chart-latest-summary{border-left:3px solid #43b494;padding:9px 12px;margin:10px 0 14px;background:var(--surface);border-radius:0 8px 8px 0;font-size:13px;line-height:1.8;overflow-wrap:anywhere}
.compound-chart-latest-summary:empty{display:none}
[data-theme=dark] .compound-chart-card .compound-legend .compound-legend-target{color:#f0ca7d}
[data-theme=dark] .compound-chart-card .compound-legend .compound-legend-actual{color:#9de4cd}
[data-theme=dark] .compound-chart-card .chart-latest-marker{stroke:#10271f}
@media(max-width:600px){.compound-chart-controls{display:block}.compound-chart-range{width:100%}.compound-chart-controls>p{margin-top:8px}.compound-chart-range button{padding:8px 9px}.compound-chart-card .compound-legend{gap:7px 14px}.compound-chart-latest-summary{font-size:12px}}

/* Daily and final goals use the saved calculation mode and server values. */
.compound-shell .compound-daily-target{min-width:0;margin:0 0 14px;padding-bottom:14px;border-bottom:1px solid var(--line)}
.compound-shell .compound-daily-target>[data-overview-daily-label],.compound-shell .compound-final-target-label{display:block;color:var(--ink);font-size:12px;font-weight:700;line-height:1.6}
.compound-shell .compound-goal-target .compound-daily-target>[data-overview-daily-target]{display:block;color:var(--ink);font-size:clamp(23px,2.3vw,30px);font-weight:750;line-height:1.35;letter-spacing:-.4px;margin:6px 0 10px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.compound-shell .compound-daily-increase{display:flex;flex-wrap:wrap;gap:3px 9px;align-items:baseline;margin:0;font-size:12px;line-height:1.7;min-width:0}
.compound-shell .compound-goal-target .compound-daily-increase>[data-overview-daily-increase]{display:inline;font-size:14px;line-height:1.7;letter-spacing:0;margin:0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.compound-shell .compound-goal-target .compound-daily-target>[data-overview-daily-basis]{font-size:11px;line-height:1.7;margin:7px 0 0;overflow-wrap:anywhere}
.compound-shell .compound-goal-target>[data-overview-target]{font-size:clamp(23px,2.3vw,30px);line-height:1.35;margin-top:6px;overflow-wrap:anywhere}
.compound-shell .compound-daily-target[data-state=unavailable]>[data-overview-daily-target]{font-size:20px;color:var(--muted)}
@media(max-width:600px){.compound-shell .compound-goal-target .compound-daily-target>[data-overview-daily-target],.compound-shell .compound-goal-target>[data-overview-target]{font-size:26px}.compound-shell .compound-daily-target{margin-bottom:12px;padding-bottom:12px}}

/* Daily trading target and final achievement have separate homes. */
.compound-shell .compound-goal-target .compound-daily-target{border-bottom:0;margin-bottom:0;padding-bottom:0}
.compound-shell .compound-final-goal{border-top:1px solid var(--line);margin-top:20px;padding-top:16px;min-width:0}
.compound-shell .compound-final-goal>[data-overview-target]{display:block;font-size:clamp(23px,2.3vw,30px);line-height:1.4;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;color:#88601b;margin:7px 0}
.compound-shell .compound-final-goal>[data-overview-period]{display:inline-flex;margin:6px 0;padding:5px 10px;border:1px solid var(--line);border-radius:8px;font-weight:700}
.compound-shell .compound-final-goal>[data-overview-rate]{font-size:12px;color:var(--muted);line-height:1.7;overflow-wrap:anywhere}
[data-theme=dark] .compound-shell .compound-final-goal>[data-overview-target]{color:#f0ca7d}
.compound-shell .compound-history button{font-size:12px;line-height:1.6;min-height:40px;padding:7px 11px}
.compound-shell .compound-history .compound-record-memo>p{font-size:14px;line-height:1.75}
.compound-record-tabs{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:12px 0 14px}
.compound-shell .compound-record-tabs button{flex:0 1 auto;font-size:13px;font-weight:650;line-height:1.5;min-height:40px;padding:8px 14px;white-space:normal;overflow-wrap:anywhere}
.compound-record-tabs button[aria-pressed=true]{background:#a9ecd4;color:#10271f;border-color:#7ac9ab;font-weight:700}
.compound-shell [data-journal-panel],.compound-shell [data-daily-panel],.compound-shell [data-journal-list]{min-width:0;max-width:100%}
.compound-journal-record{padding:14px;border:1px solid var(--line);border-radius:12px;margin:10px 0;background:var(--surface);min-width:0;overflow-wrap:anywhere}
.compound-journal-record>header{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;align-items:baseline;margin:0 0 10px}
.compound-shell .compound-journal-record h3{font-size:14px;margin:0;line-height:1.6}
.compound-journal-record small{display:block;font-size:11px;color:var(--muted);line-height:1.7}
.compound-journal-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:10px 0}
.compound-journal-values>div{min-width:0}
.compound-journal-values span{font-size:11px;line-height:1.6;color:var(--muted)}
.compound-journal-values strong{display:block;font-size:16px;line-height:1.5;margin-top:3px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.compound-shell .compound-journal-record .compound-record-memo{margin:10px 0;padding:10px 12px;border-left:3px solid #73c5aa}
.compound-shell .compound-journal-record .compound-record-memo p{margin:4px 0 0;white-space:pre-wrap;font-size:14px;line-height:1.75;color:var(--ink);overflow-wrap:anywhere}
.compound-shell .compound-history .compound-actions{align-items:center;gap:8px;margin-bottom:12px}
.compound-shell .compound-history .compound-actions button,.compound-shell .compound-history .compound-pagination button{font-size:12px;line-height:1.6;min-height:40px;padding:7px 11px;max-width:100%;white-space:normal}
.compound-shell .compound-journal-record>.compound-actions{margin-bottom:0}
.compound-shell .compound-history [data-journal-status]{font-size:13px;line-height:1.7;margin:10px 0}
.compound-shell .compound-journal-date{font-size:15px;line-height:1.6;margin:16px 0 8px}
.compound-shell .compound-journal-record .compound-record-memo>span{font-size:11px;margin-bottom:4px}
.compound-shell .compound-history .compound-pagination{gap:10px;margin-top:14px;font-size:12px}
.compound-shell .compound-journal-memo-form{padding:14px;border:1px solid var(--line);border-radius:12px;margin-top:14px;min-width:0}
.compound-shell .compound-journal-memo-form textarea{display:block;box-sizing:border-box;width:100%;max-width:100%;min-height:110px;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:8px;padding:10px;font:inherit;line-height:1.7;resize:vertical}
.compound-shell .compound-journal-memo-form[hidden]{display:none}
.compound-shell .compound-journal-entry-help{border-left:3px solid #73c5aa;padding-left:12px;line-height:1.8}
.compound-shell [data-journal-status][data-error=true]{color:#a82d35}
[data-theme=dark] .compound-shell [data-journal-status][data-error=true]{color:#ffaaaa}
@media(max-width:600px){.compound-journal-record{padding:12px}.compound-journal-values{grid-template-columns:minmax(0,1fr);gap:8px}.compound-journal-values>div{display:flex;justify-content:space-between;gap:10px;align-items:baseline}.compound-journal-values strong{font-size:16px;text-align:right;min-width:0}.compound-journal-values span{flex:0 1 40%;min-width:0}.compound-shell .compound-final-goal>[data-overview-target]{font-size:26px}}

/* The gold pointer is a saved-closing equivalent location on the goal curve. */
.compound-chart-card .compound-chart-equivalent{min-width:0;margin:9px 0 14px;padding:10px 12px;border:1px solid var(--line);border-left:3px solid #a77a27;border-radius:0 9px 9px 0;background:var(--surface)}
.compound-chart-card .compound-chart-equivalent[hidden]{display:none}
.compound-chart-card .compound-chart-equivalent>p{margin:0;min-width:0;font-size:12px;line-height:1.8;overflow-wrap:anywhere;color:var(--ink)}
.compound-chart-card .compound-chart-equivalent>button{max-width:100%;min-height:40px;margin:8px 0 0;padding:7px 11px;white-space:normal;overflow-wrap:anywhere;font-size:12px;line-height:1.6}
.compound-chart-card .chart-equivalent-marker{pointer-events:none}
.compound-chart-card .chart-equivalent-guide{stroke:#8a641e;stroke-width:1.5;stroke-dasharray:4 4}
.compound-chart-card .chart-equivalent-point{fill:#a77a27;stroke:var(--surface);stroke-width:2}
.compound-chart-card .chart-equivalent-label-bg{fill:var(--surface);stroke:var(--line);stroke-width:.5}
.compound-chart-card svg .chart-equivalent-label{fill:#76500b;font-size:11px;font-weight:700}
[data-theme=dark] .compound-chart-card .compound-chart-equivalent{border-left-color:#f0ca7d}
[data-theme=dark] .compound-chart-card .chart-equivalent-guide{stroke:#f0ca7d}
[data-theme=dark] .compound-chart-card .chart-equivalent-point{fill:#f0ca7d}
[data-theme=dark] .compound-chart-card svg .chart-equivalent-label{fill:#f0ca7d}
@media(max-width:600px){.compound-chart-card .compound-chart-equivalent{padding:9px 10px}.compound-chart-card .compound-chart-equivalent>p{font-size:11px}}

/* Daily additional quantity is the primary action; total quantity is context. */
.compound-shell .compound-goal-target .compound-daily-increase{display:block;margin:0 0 22px}
.compound-shell .compound-daily-increase>[data-overview-daily-increase-label]{display:block;color:var(--ink);font-size:14px;font-weight:700}
.compound-shell .compound-goal-target .compound-daily-increase>[data-overview-daily-increase]{display:block;font-size:clamp(29px,3.4vw,43px);font-weight:800;line-height:1.25;letter-spacing:-.6px;margin:10px 0;overflow-wrap:anywhere}
.compound-shell .compound-daily-total{border-top:1px solid var(--line);padding-top:16px;min-width:0}
.compound-shell .compound-daily-total>[data-overview-daily-label]{display:block;font-size:12px;color:var(--muted)}
.compound-shell .compound-daily-total>[data-overview-daily-target]{display:block;font-size:clamp(19px,2vw,25px);line-height:1.5;font-weight:650;margin:4px 0;overflow-wrap:anywhere}
.compound-chart-live-status{border:1px solid var(--line);border-left:3px solid #397bc0;padding:11px 12px;border-radius:0 8px 8px 0;font-size:12px;line-height:1.8;overflow-wrap:anywhere;min-width:0}
.compound-chart-live-status[hidden]{display:none}
.compound-chart-live-status[data-state=ready]{color:#2867ab}
.chart-live-marker{pointer-events:none}.chart-live-guide{stroke:#397bc0;stroke-width:1.7;stroke-dasharray:7 4}.chart-live-point{stroke:#397bc0;stroke-width:2.5;fill:none}.chart-live-label-bg{fill:var(--surface);stroke:var(--line);stroke-width:.5}
.compound-chart-card svg .chart-live-label{fill:#2867ab;font-size:11px;font-weight:750}
[data-theme=dark] .compound-chart-live-status{border-left-color:#86baff}[data-theme=dark] .compound-chart-live-status[data-state=ready]{color:#a0caff}
[data-theme=dark] .chart-live-guide,[data-theme=dark] .chart-live-point{stroke:#86baff}[data-theme=dark] .compound-chart-card svg .chart-live-label{fill:#a0caff}

/* Journal controls share the compact chart controls scale; touch targets stay usable. */
@media(max-width:600px){.compound-shell .compound-history button{min-height:44px}.compound-shell .compound-history .compound-actions{gap:6px}.compound-shell .compound-journal-date{margin-top:14px}}

/* Summary cards use one type scale for values, labels, and supporting details. */
.compound-shell .compound-goal-overview{--compound-summary-primary:clamp(26px,2.6vw,32px);--compound-summary-secondary:clamp(20px,2vw,24px)}
.compound-shell .compound-goal-overview .compound-goal-stages h3{font-size:15px;line-height:1.6;margin-bottom:14px}
.compound-shell .compound-goal-overview .compound-current-stage>[data-live-balance],.compound-shell .compound-goal-overview .compound-goal-target .compound-daily-increase>[data-overview-daily-increase],.compound-shell .compound-goal-overview .compound-goal-achievement>[data-overview-percent]{font-size:var(--compound-summary-primary);font-weight:750;line-height:1.35;letter-spacing:-.4px;margin:8px 0 12px;font-variant-numeric:tabular-nums}
.compound-shell .compound-goal-overview .compound-saved-closing>[data-metric=balance],.compound-shell .compound-goal-overview .compound-daily-total>[data-overview-daily-target],.compound-shell .compound-goal-overview .compound-final-goal>[data-overview-target],.compound-shell .compound-goal-overview .compound-goal-gap>[data-goal-remaining]{font-size:var(--compound-summary-secondary);font-weight:700;line-height:1.45;letter-spacing:-.2px;margin:6px 0;font-variant-numeric:tabular-nums}
.compound-shell .compound-goal-overview .compound-saved-heading,.compound-shell .compound-goal-overview .compound-daily-increase>[data-overview-daily-increase-label],.compound-shell .compound-goal-overview .compound-daily-total>[data-overview-daily-label],.compound-shell .compound-goal-overview .compound-final-target-label,.compound-shell .compound-goal-overview .compound-goal-gap>[data-goal-remaining-label]{font-size:12px;font-weight:650;line-height:1.6}
.compound-shell .compound-goal-overview .compound-goal-achievement>[data-overview-state]{font-size:13px;line-height:1.6;margin-bottom:6px}
.compound-shell .compound-goal-overview .compound-current-stage>.compound-live-at,.compound-shell .compound-goal-overview .compound-current-stage>.compound-live-context,.compound-shell .compound-goal-overview .compound-saved-closing>[data-metric=asof],.compound-shell .compound-goal-overview .compound-goal-target .compound-daily-target>[data-overview-daily-basis],.compound-shell .compound-goal-overview .compound-goal-achievement>p,.compound-shell .compound-goal-overview .compound-final-goal>[data-overview-rate],.compound-shell .compound-goal-overview .compound-goal-gap>p{font-size:12px;line-height:1.7}
.compound-shell .compound-goal-overview .compound-goal-target .compound-daily-increase{margin-bottom:16px}
.compound-shell .compound-goal-overview .compound-daily-total{padding-top:12px}
.compound-shell .compound-goal-overview .compound-final-goal{margin-top:16px;padding-top:14px}
.compound-shell .compound-goal-overview .compound-final-goal>[data-overview-period]{font-size:13px;line-height:1.5;padding:4px 8px}
.compound-shell .compound-goal-overview .compound-saved-closing>.compound-record-flow{font-size:12px;line-height:1.6;min-height:40px;padding:7px 11px}
@media(max-width:760px){.compound-shell .compound-goal-overview{--compound-summary-primary:28px;--compound-summary-secondary:22px}}
@media(max-width:600px){.compound-shell .compound-goal-overview .compound-saved-closing>.compound-record-flow{min-height:44px}}

/* The summary queries the same selected wallet without scrolling or a second poller. */
.compound-shell .compound-goal-overview .compound-live-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:8px 0 0;min-width:0}
.compound-shell .compound-goal-overview .compound-live-actions>.compound-live-status{margin:0;min-width:0}
.compound-shell .compound-goal-overview [data-live-refresh]{font-size:12px;line-height:1.6;min-height:40px;padding:7px 11px;max-width:100%;white-space:normal}
.compound-shell .compound-goal-overview .compound-live-refresh-note{font-size:12px;line-height:1.7;color:var(--muted);margin:6px 0 0;overflow-wrap:anywhere}
@media(max-width:600px){.compound-shell .compound-goal-overview [data-live-refresh]{min-height:44px}}
