body.cds{--cds-input-col:480px}body.cds .cds-field>.input-affix{position:static;transform:none}body.cds .cds-header .cds-title:before{content:none}.tab-panel[hidden]{display:none}.lot-entry{border-block-start:1px solid var(--cds-line);grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:8px 10px;padding-block:10px 14px;display:grid}.lot-entry.cost-selected{border-block-start-color:var(--cds-accent)}.lot-field-group,.cost94-date-group,.field-set{min-width:0}.lot-index{color:var(--cds-text-2);grid-area:1/1/auto/-1;align-self:center;align-items:center;gap:8px;margin-inline-end:44px;font-size:.875rem;font-weight:650;display:flex}.lot-dot{border-radius:50%;flex:0 0 8px;height:8px}.lot-remove-wrap{grid-area:1/-2/auto/-1;justify-self:end}.lot-remove-btn{border:1px solid var(--cds-line);border-radius:var(--cds-radius-control);width:36px;height:36px;color:var(--cds-text-2);font:inherit;cursor:pointer;background:0 0;padding:0;font-size:1.25rem}.lot-remove-btn:hover{border-color:var(--calc-rose);color:var(--calc-rose)}.cost94-date-group{grid-column:1/-1}.lot-actions{flex-wrap:wrap;gap:8px;display:flex}.cost94-ledger-total{color:var(--cds-text);overflow-wrap:anywhere;margin-block:0 12px;font-size:.875rem;font-weight:650}.form-pair{grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:12px;display:grid}body.cds .form-pair .cds-control{margin:0}.field-set{border:0;margin:0;padding:0}.field-set legend{max-width:100%;padding:0}.optional{color:var(--cds-text-2);font-weight:400}#cost94-use-ledger{margin-bottom:16px}#apply-split{margin-top:8px}.add-lot-btn:disabled{cursor:default;opacity:.55}body.cds .preset-row.cds-chips{margin-bottom:0}body.cds .preset-chip.cds-chip{white-space:normal;padding:6px 10px;line-height:1.25}.cost94-import{margin-block:8px}body.cds .cost94-import>summary{white-space:normal;width:fit-content;max-width:100%;min-height:34px;padding:7px 12px;line-height:1.25;display:list-item}.cost94-import p,.cost94-import label,.cost94-table-wrap summary{overflow-wrap:anywhere;margin-block:8px}.cost94-import label{display:block}#cost94-csv,#cost94-lot-select{width:100%}#cost94-csv{resize:vertical;height:auto;padding-block:10px}#cost94-file{max-width:100%;color:var(--cds-text);font:inherit;margin-block-end:8px}.cost94-table-wrap{max-width:100%;overflow-x:auto}.cost94-table-wrap summary{cursor:pointer}.cost94-table-wrap th,.cost94-table-wrap td{text-align:start;padding:6px}.cost94-break-even-note p{margin:0}body.cds .result-gain .cds-hero-value:not(.result-value--partial),body.cds .pl-gain .pl-amount{color:var(--calc-emerald)}body.cds .result-loss .cds-hero-value:not(.result-value--partial),body.cds .pl-loss .pl-amount{color:var(--calc-rose)}body.cds .cds-panel .cds-note{margin-top:14px}body.cds .result-card[data-result-state=partial] .chart-card{display:none}body.cds .cds-dock:after{content:"↓";font-size:1rem}.cost-current-remember,.cost94-share label{align-items:start;gap:8px;margin-block:12px;display:flex}.cost94-share{background:var(--cds-surface);border:1px solid var(--cds-line-strong);border-radius:var(--cds-radius-panel);width:min(38rem,100vw - 2rem);max-height:85vh;color:var(--cds-text);padding:16px;overflow:auto}.cost94-share pre{white-space:pre-wrap;overflow-wrap:anywhere}.cost94-share::backdrop{background:#0000008c}body.cds :is(.lot-remove-btn,summary,input[type=file],input[type=checkbox],.cds-dock):focus-visible{outline:2px solid var(--cds-accent);outline-offset:2px}@media screen and (width<=600px){body.cds .cds-page{padding-block-start:16px}body.cds .cds-header{margin-bottom:14px}body.cds .cds-page .cds-subtitle{font-size:.875rem;line-height:1.45}body.cds .cds-page .cds-tabs{margin-bottom:14px}body.cds .cds-tabs .cds-tab{flex:1 1 min-content;text-align:center;white-space:normal;overflow-wrap:break-word;align-self:stretch;min-width:0;height:auto;min-height:44px;padding:7px 6px;font-size:.8125rem;line-height:1.2}body.cds .preset-chip.cds-chip{flex:1 1 min-content;overflow-wrap:break-word;min-width:0;padding-inline:6px}body.cds #tab-basis .cds-panel-title{margin-bottom:10px}#cost94-import-preview .cds-table{table-layout:fixed}#cost94-import-preview .cds-table :is(th,td){white-space:normal;overflow-wrap:anywhere;padding:8px 3px;font-size:.75rem}#cost94-import-preview .cds-table:first-child th:first-child{width:9%}#cost94-import-preview .cds-table:first-child th:nth-child(2){width:23%}#cost94-import-preview .cds-table:first-child th:nth-child(3),#cost94-import-preview .cds-table:first-child th:nth-child(5){width:16%}#cost94-import-preview .cds-table:first-child th:nth-child(4){width:36%}}@media screen and (width<=360px){body.cds .cds-page{padding:12px 12px 44px}body.cds .cds-page .cds-header{margin-bottom:10px}body.cds .cds-page .cds-title{margin-bottom:6px;font-size:1.75rem}body.cds .cds-page .cds-subtitle{line-height:1.35}body.cds #tab-basis .input-card.cds-panel{padding:14px}body.cds .lot-entry .cost-date{padding-inline:6px}body.cds .lot-entry .cost-date::placeholder{font-size:.875rem}}@media screen and (width<=520px){.lot-entry{grid-template-columns:repeat(2,minmax(0,1fr))}.cost94-date-group{grid-column:2}}@page{size:a4;margin:12mm}@media print{body.cds .cds-page{--cds-text:#000;--cds-text-2:#334155;--cds-text-3:#475569;--cds-surface:#fff;--cds-line:#94a3b8;--cds-line-strong:#64748b;--calc-emerald:#047857;--calc-rose:#be123c;contain:none;color-scheme:light;width:100%;min-width:0;overflow:visible}body.cds .cds-page .cds-workspace :is(.cds-field,.cds-input){border-color:var(--cds-line);box-shadow:none;background:#fff;transition:none}body.cds .cds-page .cds-hero--plain :is(.cds-hero-label,.cds-hero-note){color:#000}body.cds .cds-workspace .cds-panel{break-inside:auto}.lot-entry,.chart-card{break-inside:avoid}body.cds .chart-card .cds-chart{width:640px;max-width:none;height:200px}body.cds #tab-basis .chart-card .cds-chart{height:220px}.cost94-table-wrap{overflow:visible}body.cds .cost94-table-wrap .cds-table{table-layout:fixed;width:100%;min-width:0;display:table}body.cds .cost94-table-wrap .cds-table :is(th,td){white-space:normal;overflow-wrap:anywhere;font-size:9pt}body.cds :is(.cost94-share,.cost94-import,.lot-actions,.lot-remove-wrap,.cost-current-remember,.add-lot-btn,#cost-basis-examples){display:none}}