.calc-page{padding-top:8px}.calc-page h1{margin:8px 0}.calc-page h2{margin:0}.calc-page h3{font-size:14px;margin:18px 0 10px}.calc-page p{line-height:1.5}.calc-defaults{border:1px solid #d7d2b8;border-radius:8px;padding:12px 14px;background:#faf8ef;margin:12px 0}.calc-page summary{font-weight:650;cursor:pointer}.calc-toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:end;margin:20px 0 12px}.calc-toolbar label{font-size:12px;display:grid;gap:5px}.calc-search{flex:1;min-width:200px}.calc-toolbar input,.calc-toolbar select,.calc-field input,.calc-field select{box-sizing:border-box;min-height:36px;border:1px solid #c7cbd3;background:#fff;border-radius:5px;padding:7px;color:#273347;max-width:100%}.calc-downloads{display:flex;gap:4px}.calc-downloads button{font-size:11px;min-height:36px}.calc-workbench{display:grid;grid-template-columns:minmax(460px,1fr) minmax(400px,1fr);align-items:start;gap:20px}.calc-catalog,.calc-detail{min-width:0;border:1px solid #d8dae0;border-radius:8px;background:#fff;padding:14px}.calc-catalog{position:sticky;top:10px}.calc-table-scroll{max-height:690px;overflow:auto}.calc-table-scroll table{border-collapse:collapse;width:100%;font-size:12px}.calc-table-scroll th,.calc-table-scroll td{padding:11px 7px;border-bottom:1px solid #e8e9ed;text-align:right}.calc-table-scroll thead th{background:#f5f6fa;position:sticky;top:0;z-index:1;font-size:11px;color:#596577}.calc-table-scroll th:first-child{text-align:left}.calc-table-scroll tbody th small{display:block;font-size:10px;color:#677487;margin-top:4px;font-weight:400}.calc-table-scroll tbody button{padding:0;border:0;background:none;box-shadow:none;text-decoration:underline;color:#253c5c;font-weight:700;text-align:left}.calc-selected{background:#fff7df}.calc-detail-title{display:flex;justify-content:space-between;align-items:center;gap:10px}.calc-detail-title button{font-size:10px}.calc-price-basis{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:14px;background:#f7f4e8;border-radius:6px;margin-top:16px}.calc-price-basis small,.calc-kpis small{display:block;color:#657184;font-size:11px;margin-bottom:5px}.calc-price-basis strong{font-size:19px}.calc-source{font-size:12px}.calc-caption{font-size:11px;color:#667184}.calc-caution{font-size:12px;color:#725320;background:#fff5dc;padding:9px 11px;border-left:3px solid #d7a64a}.calc-caution:empty{display:none}.calc-input-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.calc-field{min-width:0;display:grid;gap:5px;align-content:end;font-size:11px}.calc-field span{min-height:28px}.calc-field select{min-width:0;width:100%}.calc-field input{width:100%;font-size:15px;font-variant-numeric:tabular-nums;background:#fffdf4}.calc-field [aria-invalid=true]{border-color:#b95353}.calc-detail details{margin-top:12px;font-size:12px}.calc-detail details[open] summary{margin-bottom:12px}.calc-result-banner{display:grid;text-align:center;border-radius:7px;padding:16px;margin-top:17px;gap:5px}.calc-result-banner strong{font-size:32px}.calc-result-banner small,.calc-result-banner span{font-size:12px}.calc-profit{color:#246444}.calc-result-banner.calc-profit{background:#e9f4ed}.calc-loss{color:#a63a40}.calc-result-banner.calc-loss{background:#fbecee}.calc-neutral{color:#745500}.calc-result-banner.calc-neutral{background:#fff4d1}.calc-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:12px 0}.calc-kpis>div{border:1px solid #e0e3e9;border-radius:6px;padding:10px}.calc-kpis strong{font-size:16px}.calc-costs{display:grid;grid-template-columns:1fr auto;gap:8px;font-size:12px}.calc-costs dd{margin:0;text-align:right;font-variant-numeric:tabular-nums}.calc-comparison{font-size:12px;color:#647186}.calc-hundred{border-top:1px solid #dbe0e7;margin-top:14px;padding-top:2px}.calc-hundred>strong{font-size:22px;margin-right:8px}.calc-hundred>span,.calc-hundred p,.calc-hundred small{font-size:11px}.calc-page .products-pagination{font-size:11px;gap:5px;flex-wrap:wrap}.calc-page .products-pagination input{width:40px}.calc-page .products-method{margin-top:18px}.calc-page button:focus-visible,.calc-page input:focus-visible,.calc-page select:focus-visible{outline:2px solid #92752b;outline-offset:2px}@media(max-width:1050px){.calc-workbench{grid-template-columns:1fr}.calc-catalog{position:static}.calc-table-scroll{max-height:430px}}@media(max-width:570px){.calc-input-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.calc-kpis{grid-template-columns:1fr}.calc-toolbar label{flex:1;min-width:130px}.calc-detail-title{align-items:start;flex-direction:column}.calc-price-basis{padding:10px}.calc-detail,.calc-catalog{padding:10px}}
.calc-cost-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.calc-defaults input:disabled{background:#e8eaed;color:#707783;border-color:#d4d7dc;cursor:not-allowed}.calc-table-scroll th,.calc-table-scroll td{padding:5px 6px}.calc-table-scroll td small{display:block;font-size:9px;line-height:1.2;margin-top:2px;color:#596577}.calc-table-scroll tbody th small{margin-top:1px;font-size:9px}.calc-page .calc-table-scroll tbody button{min-height:0;padding:0;border:0;background:none;box-shadow:none;border-radius:0;font-size:12px;line-height:1.25}.calc-row-profit{background:#edf7f0}.calc-row-loss{background:#fceff0}.calc-row-incomplete,.calc-row-neutral{background:#fff8e5}.calc-row-profit th{border-left:3px solid #378555}.calc-row-loss th{border-left:3px solid #bd4b52}.calc-row-incomplete th,.calc-row-neutral th{border-left:3px solid #c79935}.calc-table-scroll .calc-selected{outline:2px solid #687e9b;outline-offset:-2px}.calc-no-discount{font-size:10px;color:#687282;display:inline-block;max-width:100px}.calc-downloads svg{width:34px;height:34px}.costs-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px}.costs-column{min-width:0;border:1px solid #d8dae0;border-radius:8px;padding:12px}.costs-heading{display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:12px}.costs-heading h2{font-size:17px}.costs-heading svg{width:30px;height:30px}.costs-list{max-height:670px;overflow:auto}.costs-item{display:flex;gap:7px;align-items:center;padding:6px 3px;border-bottom:1px solid #e3e5e8}.costs-item>div{flex:1;min-width:0}.costs-item strong{font-size:12px;overflow-wrap:anywhere}.costs-item small{display:block;font-size:10px;color:#687282;line-height:1.4}.costs-item input{box-sizing:border-box;width:104px;max-width:100%;padding:6px;border:1px solid #c9ced5;border-radius:4px}.costs-item button{min-height:30px;padding:3px 9px}.costs-item input:disabled{background:#eceff2;color:#616976}.costs-column:last-child{background:#f4faf6}.costs-page .products-pagination{justify-content:space-between;margin-top:12px}@media(max-width:1100px){.costs-columns{grid-template-columns:1fr}}@media(min-width:1400px){.calc-workbench{grid-template-columns:minmax(580px,1.15fr) minmax(400px,1fr)}}
.calc-risk{color:#795a0a}.calc-result-banner.calc-risk{background:#fff2c5}
body #app .calc-table-scroll tbody tr.calc-row-risk > *{background:#fff2c5}
.calc-row-risk th{border-left:3px solid #d6a52e}
body #app .calc-table-scroll tbody tr.calc-row-neutral > *{background:#f2f4f7}.calc-row-neutral th{border-left:3px solid #97a2af}.calc-neutral{color:#616c7a}.calc-result-banner.calc-neutral{background:#f2f4f7}
.calc-row-incomplete th{border-left:3px solid #91a4b9}
body #app .calc-table-scroll tbody tr.calc-row-incomplete > *{background:#edf2f9}
.costs-origin{display:grid;gap:3px;font-size:10px;margin-top:5px}.costs-origin select{max-width:100%;width:100%;padding:5px;border:1px solid #c9ced5;border-radius:4px}.costs-origin select:disabled{background:#eceff2;color:#616976}
/* Scoped overrides must outrank the shared theme's table/zebra/button rules. */
body #app .calc-table-scroll table{font-size:12px;min-width:520px}body #app .calc-table-scroll tbody th,body #app .calc-table-scroll tbody td{padding:4px 6px;line-height:1.25}body #app .calc-table-scroll tbody td{white-space:nowrap}body #app .calc-table-scroll tbody th{min-width:84px}body #app .calc-table-scroll tbody th small{white-space:nowrap;font-size:9px;margin-top:2px}body #app .calc-table-scroll tbody button{padding:0;border:0;box-shadow:none;background:none;font-size:12px;line-height:1.2;min-height:0;white-space:nowrap}body #app .calc-table-scroll .calc-row-profit>*{background:#edf7f0}body #app .calc-table-scroll .calc-row-loss>*{background:#fceff0}body #app .calc-table-scroll .calc-row-incomplete>*,body #app .calc-table-scroll .calc-row-neutral>*{background:#fff8e5}body #app .calc-table-scroll .calc-selected>*{box-shadow:inset 0 1px #657e9d,inset 0 -1px #657e9d}body #app .calc-table-scroll .calc-no-discount{white-space:normal;max-width:85px}.calc-price-mark{font-size:10px;color:#666}@media(min-width:1051px){.calc-workbench{grid-template-columns:minmax(530px,1.25fr) minmax(380px,1fr)}}
.calc-toolbar select{min-width:0;width:100%}.calc-cost-actions button{max-width:100%;white-space:normal}
.amazon-platform-tabs{display:flex;gap:8px;margin:12px 0}.amazon-platform-tabs button[aria-pressed="true"]{background:#263b50;color:#fff}.amazon-calc .profit-kpis{margin:12px 0}.amazon-calc .calc-defaults input:disabled{background:#e8eaed;color:#707783}.amazon-calc .calc-toolbar{display:flex;flex-wrap:wrap;gap:10px}.amazon-calc .calc-toolbar label{flex:1 1 120px}.amazon-calc .calc-input-grid input{width:100%;box-sizing:border-box}
.costs-item{flex-wrap:wrap}.costs-item>.costs-product{flex:1 1 140px}.costs-item>.costs-editor{flex:0 1 260px;max-width:100%}.costs-amount-row{display:flex;align-items:center;gap:5px}.costs-amount-row>label{flex:1;min-width:60px}.costs-amount-row input{width:100%}.costs-currency{display:flex;flex-shrink:0}.costs-currency button{font-size:11px;padding:4px 6px;border:1px solid #c9ced5;border-radius:4px 0 0 4px;background:#fff;color:#465466}.costs-currency button+button{border-radius:0 4px 4px 0;border-left:0}.costs-currency button[aria-pressed="true"]{background:#294865;color:#fff}.costs-currency button:disabled{cursor:not-allowed;opacity:.65}.costs-fx{display:flex;align-items:center;justify-content:space-between;gap:5px;font-size:11px;margin-top:5px}.costs-fx input{width:85px}.costs-editor [data-cost-conversion]{margin-top:3px;color:#65552d}.costs-currency button:focus-visible{outline:2px solid #287ccc;outline-offset:2px}
body #app .costs-currency button{font-size:11px;padding:4px 6px;border:1px solid #c9ced5;border-radius:4px 0 0 4px;background:#fff;color:#465466;box-shadow:none}body #app .costs-currency button+button{border-left:0;border-radius:0 4px 4px 0}body #app .costs-currency button[aria-pressed="true"],body #app .costs-currency button[aria-pressed="true"]:hover:not(:disabled){background:#294865;color:#fff;border-color:#294865}
.fx-panel{padding:12px 14px;margin:12px 0 18px;border:1px solid #cad5de;border-radius:7px;background:#f0f5f8}.fx-bar{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.fx-bar label{display:flex;flex-direction:column;gap:5px;font-weight:600;font-size:12px}.fx-bar input{width:180px;max-width:100%;box-sizing:border-box}.fx-bar .loading-bar{width:120px}.fx-panel p{margin:6px 0 0}.fx-panel [data-fx-status]{font-size:12px;color:#695a2d}.fx-panel input:disabled{background:#e8ecef;color:#606d79}
.costs-production{display:grid;gap:4px;font-size:10px;margin-top:6px}.costs-production input{width:100%}.costs-item>.costs-batch-area{flex:1 1 100%}.costs-batch-area>button{font-size:10px;white-space:normal;text-align:left}.costs-batch-panel{padding:10px;border:1px solid #c9d5df;background:#f5f8fc;border-radius:6px}.costs-batch-panel h3{margin:0}.costs-batch-panel fieldset{display:flex;flex-wrap:wrap;gap:7px;margin:9px 0;border:1px solid #c9d5df;min-width:0}.costs-batch-panel legend{font-size:11px}.costs-batch-panel label{display:grid;gap:3px;font-size:10px;flex:1 1 120px}.costs-batch-panel input,.costs-batch-panel select{width:100%;box-sizing:border-box}.costs-batch-panel small{flex:1 1 100%}.costs-batch-panel>button{font-size:11px;margin:4px;white-space:normal}

/* Purchasing workspace: flat surfaces, clear entry actions and row-local rates. */
body #app .costs-page .costs-item{display:grid;grid-template-columns:minmax(90px,.7fr) minmax(130px,.8fr) minmax(190px,1.5fr);align-items:start;gap:12px;padding:16px;margin-bottom:10px;border:1px solid #dde4eb;border-radius:14px;background:#fff;box-shadow:0 3px 12px #18334d06}
body #app .costs-page .costs-item>.costs-editor{max-width:none;min-width:0}
body #app .costs-page .costs-item>.costs-product{min-width:0;overflow-wrap:anywhere}
body #app .costs-page .costs-product strong{font-size:15px;letter-spacing:.02em}
body #app .costs-page .costs-product small{display:block;margin-top:5px;line-height:1.45;color:#607184}
body #app .costs-page input,body #app .costs-page select{min-height:35px;padding:7px 9px;border:1px solid #ccd7e1;border-radius:8px;background:#fff;box-shadow:none;box-sizing:border-box;font-size:12px;min-width:0}
body #app .costs-page input:disabled{background:#eef2f6;color:#637386}
body #app .costs-page button{border:1px solid #d5dfe8;border-radius:8px;padding:7px 10px;background:#f7f9fc;color:#344b63;box-shadow:none;text-shadow:none;font-size:11px;line-height:1.35;white-space:normal;min-height:32px}
body #app .costs-page button:hover:not(:disabled){background:#eaf1f8;border-color:#8ea9c1}
body #app .costs-page button.costs-save{background:#244d70;color:#fff;border-color:#244d70}
body #app .costs-page button.costs-save:hover:not(:disabled){background:#173a58;color:#fff}
body #app .costs-page .costs-amount-row{flex-wrap:wrap;gap:7px}
body #app .costs-page .costs-currency{display:flex;background:#edf2f7;padding:3px;border-radius:9px;gap:2px}
body #app .costs-page .costs-currency button{border:0;border-radius:6px;padding:4px 9px;min-height:27px;background:transparent}
body #app .costs-page .costs-currency button[aria-pressed="true"]{background:#244d70;color:#fff}
body #app .costs-page .costs-rate{min-width:0;padding:10px;border-radius:10px;background:#f4f7fa;display:grid;gap:7px}
body #app .costs-page .costs-rate label{display:grid;gap:5px;font-size:10px;color:#52667a}
body #app .costs-page .costs-rate input{width:100%}
body #app .costs-page .costs-rate small{font-size:10px;color:#62758a;line-height:1.5}
body #app .costs-page .costs-rate-euro{background:transparent;color:#6f8191}
body #app .costs-page .costs-rate-mode{display:grid;gap:3px}
body #app .costs-page .costs-rate-mode button{text-align:left;border:0;background:transparent}
body #app .costs-page .costs-rate-mode button[aria-pressed="true"]{background:#dfeaf4;color:#193e60}
body #app .costs-page .costs-production,body #app .costs-page .costs-origin{font-size:11px;margin-top:8px;display:grid;gap:4px}
body #app .costs-page .costs-production small{color:#6c7c8c;font-size:10px;line-height:1.4}
body #app .costs-page .costs-batch-area{grid-column:1/-1;min-width:0}
body #app .costs-page .costs-repeat{background:transparent;border-style:dashed;width:100%;text-align:left;color:#315c81}
body #app .costs-page .costs-batch-panel{background:#f8fafc;border-radius:11px;padding:12px;border:1px solid #dfe7ef}
body #app .costs-page .costs-batch-panel header{display:flex;justify-content:space-between;gap:8px;align-items:center}
body #app .costs-page .costs-batch-panel h3{font-size:13px;line-height:1.4}
body #app .costs-page .costs-batch-panel fieldset{display:grid;grid-template-columns:minmax(130px,.8fr) minmax(190px,1.5fr);gap:12px;padding:12px;border-radius:10px;background:#fff;border-color:#dfe7ef}
body #app .costs-page .costs-batch-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px;min-width:0}
body #app .costs-page .costs-batch-fields>.costs-currency{grid-column:1/-1;justify-self:start}
body #app .costs-page .costs-batch-fields label{min-width:0;font-size:11px;margin:0}
body #app .costs-page .costs-batch-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}
@media(max-width:1400px){body #app .costs-page .costs-columns{grid-template-columns:1fr}}
@media(max-width:650px){body #app .costs-page .costs-item{grid-template-columns:1fr;gap:9px}body #app .costs-page .costs-batch-panel fieldset{grid-template-columns:1fr}body #app .costs-page .costs-batch-fields{grid-template-columns:1fr}body #app .costs-page .costs-batch-panel header{align-items:start;flex-direction:column}}
.costs-page .costs-history{grid-column:1/-1;display:grid;gap:6px;color:#526072;font-size:12px}
.costs-page .costs-delete{background:#fff1f2;color:#b42336;border-color:#f4bbc3}
.costs-page [data-latest-locked]{background:#edf0f4;color:#667085;cursor:default;opacity:.8}

/* Compact purchasing editor: one identical entry surface for initial costs and batches. */
body #app .products-page.costs-workspace{padding:12px}
body #app .costs-workspace>.performance-nav{margin:0 0 6px;padding-bottom:5px;gap:4px}
body #app .costs-workspace>.performance-nav a{padding:5px 8px;font-size:12px}
body main #app .products-page.costs-workspace>.performance-nav{padding:4px 6px;margin:0 0 6px;min-height:0}
body main #app .products-page.costs-workspace>.performance-nav>a{padding:5px 8px;font-size:12px;min-height:0;height:auto}
body #app .costs-page{padding-top:0}
body #app .costs-page .costs-page-heading{display:flex;align-items:center;flex-wrap:wrap;gap:5px 8px;margin:4px 0}
body #app .costs-page-heading h1{font-size:18px;margin:0;flex:1 1 12rem;min-width:0}
body #app .costs-page-heading>a.costs-back{display:inline-flex;align-items:center;min-height:32px;padding:4px 8px;border:1px solid #b9cbdc;border-radius:7px;background:#edf3f9;color:#214768;font-size:12px;font-weight:700;text-decoration:none;white-space:nowrap}
body #app .costs-page-heading>a.costs-back:hover,body #app .costs-page-heading>a.costs-back:focus-visible{background:#dceaf6;border-color:#739ab9}
body #app .costs-heading-actions{display:flex;align-items:center;justify-content:flex-end;flex:0 1 auto;flex-wrap:wrap;gap:5px;min-width:0;margin-left:auto}
body #app .costs-heading-actions #costs-status{flex:0 1 auto;max-width:22rem;margin:0;color:#40566d;font-size:11px;line-height:1.25;overflow-wrap:anywhere}
body #app .costs-page #costs-help{font-size:11px;padding:6px 10px;background:#f4f7fa;border-radius:6px}
body #app .costs-page #costs-help[hidden]{display:none}
body #app .costs-page #costs-help p{margin:3px 0}
body #app .costs-page .calc-toolbar{gap:6px;margin:8px 0 4px}
body #app .costs-page .calc-toolbar label{gap:2px}
body #app .costs-page .costs-columns{gap:10px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
body #app .costs-page .costs-column{padding:8px}
body #app .costs-page .costs-column:first-child{background:#fff5e8;border-color:#e9d2ae}
body #app .costs-page .costs-heading{margin-bottom:6px;gap:5px}
body #app .costs-page .costs-heading h2{font-size:14px}
body #app .costs-page .performance-exports{align-items:center;gap:3px}
body #app .costs-page .performance-exports button{display:inline-flex;justify-content:center;align-items:center;width:30px;height:30px;min-height:30px;padding:0;line-height:0;border-radius:5px;background:transparent}
body #app .costs-page .performance-exports svg{display:block;width:26px;height:26px;flex:0 0 26px;margin:0;transform:none}
body #app .costs-page .costs-item{display:block;padding:8px;margin-bottom:6px;border-radius:8px;box-shadow:none}
body #app .costs-page .costs-row-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:5px;margin-bottom:5px}
body #app .costs-page .costs-product{min-width:0;flex:1}
body #app .costs-page .costs-product strong{font-size:12px}
body #app .costs-page .costs-product small{font-size:9px;line-height:1.2;margin-top:2px}
body #app .costs-page .costs-history{display:grid;width:150px;max-width:150px;min-width:0;flex:0 1 150px;font-size:0;line-height:1}
body #app .costs-page .costs-history select{width:100%;font-size:10px;min-height:27px;padding:3px 5px}
body #app .costs-page input,body #app .costs-page select{min-height:29px;padding:4px 6px;border-radius:5px;font-size:11px}
body #app .costs-page button{min-height:27px;padding:4px 7px;font-size:10px;line-height:1.2;white-space:nowrap;border-radius:5px}
body #app .costs-page .costs-input-line{display:flex;align-items:start;gap:5px}
body #app .costs-page .costs-currency{padding:2px;gap:1px;border-radius:5px;margin-top:15px}
body #app .costs-page .costs-currency button{padding:4px 5px;min-height:25px;font-size:10px;border-radius:4px}
body #app .costs-page .costs-price{display:grid;gap:2px;flex:1;min-width:65px;font-size:10px}
body #app .costs-page .costs-price input{width:100%}
body #app .costs-page .costs-save{margin-top:15px;flex-shrink:0}
body #app .costs-page .costs-rate{padding:0;background:transparent;display:grid;grid-template-columns:86px minmax(0,1fr);align-items:end;gap:5px;border-radius:0;flex:0 1 218px;min-width:208px;max-width:240px}
body #app .costs-page .costs-rate label{gap:2px;font-size:10px}
body #app .costs-page .costs-rate-details{display:grid;gap:3px;min-width:0}
body #app .costs-page .costs-rate-mode{display:flex;gap:2px}
body #app .costs-page .costs-rate-mode button{min-height:21px;padding:2px 4px;font-size:9px}
body #app .costs-page .costs-rate small{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px;line-height:1.2}
body #app .costs-page .costs-meta{display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:5px;margin-top:5px}
body #app .costs-page .costs-meta>.costs-origin,body #app .costs-page .costs-meta>.costs-production{gap:2px;margin:0;font-size:10px}
body #app .costs-page .costs-meta input,body #app .costs-page .costs-meta select{width:100%}
body #app .costs-page .costs-country{display:flex;align-items:end;gap:3px;min-width:0}
body #app .costs-page .costs-country>.costs-origin{flex:1;min-width:0;gap:2px;margin:0;font-size:10px}
body #app .costs-page .costs-country>.costs-country-all{flex:1;min-width:65px;width:50%}
body #app .costs-page .costs-meta .costs-production{margin:0;gap:2px;font-size:10px}
body #app .costs-page .costs-input-line>[data-cost-field="rate"]{flex:0 1 218px;min-width:208px;max-width:240px}
body #app .costs-page .costs-input-line>[data-cost-field="rate"] .costs-rate{max-width:none;min-width:0;width:100%;box-sizing:border-box}
body #app .costs-page .costs-price label{display:grid;gap:2px;line-height:12px}
body #app .costs-page .costs-rate label{line-height:12px}
body #app .costs-page .costs-field-error{display:block;color:#b42318;font-size:10px;line-height:1.25;margin-top:3px}
body #app .costs-page .costs-field-error[hidden]{display:none}
body #app .costs-page [data-cost-field].costs-invalid input,body #app .costs-page [data-cost-field].costs-invalid select{border-color:#d92d20;background:#fff2f0;box-shadow:0 0 0 1px #d92d2020}
body #app .costs-page .costs-price input,body #app .costs-page .costs-save,body #app .costs-page .costs-currency button,body #app .costs-page .costs-history select,body #app .costs-page .costs-row-actions button{height:32px;min-height:32px;box-sizing:border-box}
body #app .costs-page .costs-currency{margin-top:14px;align-self:start;padding:0}
body #app .costs-page .costs-currency button{padding:4px 7px;font-size:11px}
body #app .costs-page .costs-save{margin-top:14px;align-self:start}
body #app .costs-page .costs-row-actions{align-self:end}
body #app .costs-page .costs-row-actions{display:flex;align-items:center;gap:4px;margin:0 0 0 auto;flex-shrink:0}
body #app .costs-page .costs-repeat{width:auto;min-width:128px;text-align:center;border-style:solid}
body #app .costs-page button.costs-delete{color:#b42336;background:#fff1f2;border-color:#f4bbc3}
body #app .costs-page .products-pagination{margin-top:6px}
@media(max-width:1150px){body #app .costs-page .costs-columns{grid-template-columns:1fr}}
@media(max-width:520px){body #app .costs-page .costs-input-line{flex-wrap:wrap}body #app .costs-page .costs-currency{margin-top:14px}body #app .costs-page .costs-meta{grid-template-columns:1fr 1fr}body #app .costs-page .costs-row-actions{flex-wrap:wrap}body #app .costs-page .costs-history{max-width:190px}}
