.product-cost-tool{gap:18px;display:grid}.product-cost-header{border:1px solid var(--color-border);background:var(--color-surface);border-radius:17px;justify-content:space-between;align-items:flex-start;gap:14px;padding:18px;display:flex}.product-cost-header>div:first-child,.product-cost-input-card>header,.product-cost-result-card>header,.product-cost-expense-card>header,.product-cost-market-card>header,.product-cost-loss-card>header,.product-cost-breakdown-card>header>div,.product-cost-batch-card>header>div:first-child,.product-cost-history-card>header>div:first-child{align-items:flex-start;gap:9px;display:flex}.product-cost-header svg,.product-cost-input-card header svg,.product-cost-result-card header svg,.product-cost-expense-card header svg,.product-cost-market-card header svg,.product-cost-loss-card header svg,.product-cost-breakdown-card header svg,.product-cost-batch-card header svg,.product-cost-history-card header svg{color:var(--color-primary)}.product-cost-header h2,.product-cost-input-card h2,.product-cost-result-card h2,.product-cost-expense-card h2,.product-cost-market-card h2,.product-cost-loss-card h2,.product-cost-breakdown-card h2,.product-cost-batch-card h2,.product-cost-history-card h2{margin:0;font-size:18px}.product-cost-header p,.product-cost-input-card p,.product-cost-result-card p,.product-cost-expense-card p,.product-cost-market-card p,.product-cost-loss-card p,.product-cost-breakdown-card p,.product-cost-batch-card p,.product-cost-history-card p{color:var(--color-text-secondary);margin:4px 0 0;font-size:11px;line-height:1.55}.product-cost-header-actions{flex-wrap:wrap;gap:7px;display:flex}.product-cost-header-actions button,.product-cost-result-card button,.product-cost-batch-card button,.product-cost-history-card button{border:1px solid var(--color-border);min-height:39px;color:var(--color-text);cursor:pointer;background:#fff;border-radius:9px;justify-content:center;align-items:center;gap:7px;padding-inline:11px;font-weight:700;display:inline-flex}.product-cost-main-grid{grid-template-columns:minmax(350px,.4fr) minmax(0,.6fr);gap:14px;display:grid}.product-cost-input-card,.product-cost-result-card,.product-cost-expense-card,.product-cost-market-card,.product-cost-loss-card,.product-cost-breakdown-card,.product-cost-batch-card,.product-cost-history-card{border:1px solid var(--color-border);background:var(--color-surface);border-radius:17px;padding:18px}.product-cost-input-card>header,.product-cost-result-card>header,.product-cost-expense-card>header,.product-cost-market-card>header,.product-cost-loss-card>header,.product-cost-breakdown-card>header,.product-cost-batch-card>header,.product-cost-history-card>header{margin-bottom:14px}.product-cost-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;display:grid}.product-cost-fields label{gap:7px;display:grid}.product-cost-fields label>span{color:var(--color-text-secondary);text-transform:uppercase;font-size:9px;font-weight:700}.product-cost-fields input,.product-cost-fields select{border:1px solid var(--color-border);background:#fff;border-radius:9px;width:100%;min-height:43px;padding-inline:10px}.product-cost-fields input:focus,.product-cost-fields select:focus,.product-cost-batch-grid textarea:focus{border-color:var(--color-primary);outline:3px solid var(--color-primary-soft)}.product-cost-error{color:#a12b2b;background:#fff1f1;border:1px solid #efc0c0;border-radius:9px;margin-top:12px;padding:10px;font-size:12px}.product-cost-result-card>header{grid-template-columns:auto minmax(0,1fr) auto;display:grid}.product-cost-result-card>header>button{width:39px;padding:0}.product-cost-result-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;display:grid}.product-cost-result-grid article{border:1px solid var(--color-border);background:#f8f9fc;border-radius:12px;padding:15px}.product-cost-result-grid article.is-unit{background:#fff9e7;border-color:#ead79d}.product-cost-result-grid article.is-profit{background:#edf9f1;border-color:#bce3ca}.product-cost-result-grid article.is-total{background:#f2f3ff;border-color:#ccd3ff}.product-cost-result-grid span,.product-cost-result-grid strong{display:block}.product-cost-result-grid span{color:var(--color-text-secondary);text-transform:uppercase;font-size:9px}.product-cost-result-grid strong{overflow-wrap:anywhere;margin-top:7px;font-size:clamp(16px,2vw,22px)}.product-cost-summary-strip{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:10px;display:grid}.product-cost-summary-strip article{border:1px solid var(--color-border);background:#f8f9fc;border-radius:9px;padding:11px}.product-cost-summary-strip span,.product-cost-summary-strip strong{display:block}.product-cost-summary-strip span{color:var(--color-text-secondary);text-transform:uppercase;font-size:9px}.product-cost-summary-strip strong{overflow-wrap:anywhere;margin-top:5px}.product-cost-formula{color:#e3e9f4;background:#101522;border-radius:10px;margin-top:10px;padding:12px}.product-cost-formula span,.product-cost-formula code{display:block}.product-cost-formula span{text-transform:uppercase;color:#98a4b8;font-size:9px}.product-cost-formula code{overflow-wrap:anywhere;margin-top:5px}.product-cost-result-card>footer{justify-content:flex-end;margin-top:12px;display:flex}.product-cost-result-card button:disabled,.product-cost-batch-card button:disabled,.product-cost-history-card button:disabled{opacity:.45;cursor:default}.product-cost-expenses-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.product-cost-expense-card .product-cost-fields,.product-cost-market-card .product-cost-fields,.product-cost-loss-card .product-cost-fields{grid-template-columns:1fr}.product-cost-breakdown-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.product-cost-breakdown-grid article{border:1px solid var(--color-border);background:#f8f9fc;border-radius:10px;padding:12px}.product-cost-breakdown-grid span,.product-cost-breakdown-grid strong{display:block}.product-cost-breakdown-grid span{color:var(--color-text-secondary);text-transform:uppercase;font-size:9px}.product-cost-breakdown-grid strong{overflow-wrap:anywhere;margin-top:6px;font-size:16px}.product-cost-batch-card>header,.product-cost-history-card>header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.product-cost-batch-card>header>div:last-child{gap:7px;display:flex}.product-cost-batch-grid{grid-template-columns:minmax(280px,.34fr) minmax(0,.66fr);gap:12px;display:grid}.product-cost-batch-grid>textarea{border:1px solid var(--color-border);resize:vertical;border-radius:11px;width:100%;min-height:350px;padding:14px;font:13px/1.65 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}.product-cost-batch-results{align-content:start;gap:7px;max-height:430px;display:grid;overflow:auto}.product-cost-batch-results article{border:1px solid var(--color-border);background:#f8f9fc;border-radius:9px;grid-template-columns:170px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px;display:grid}.product-cost-batch-results article.is-error{background:#fff1f1;border-color:#efc0c0}.product-cost-batch-results code{overflow-wrap:anywhere;background:#fff;border-radius:6px;padding:6px}.product-cost-batch-results p{color:var(--color-text);margin:0;font-size:12px}.product-cost-batch-results button{width:36px;min-height:36px;padding:0}.product-cost-batch-stats{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-top:12px;display:grid}.product-cost-batch-stats article{border:1px solid var(--color-border);background:#f8f9fc;border-radius:10px;padding:12px}.product-cost-batch-stats span,.product-cost-batch-stats strong{display:block}.product-cost-batch-stats span{color:var(--color-text-secondary);text-transform:uppercase;font-size:9px}.product-cost-batch-stats strong{overflow-wrap:anywhere;margin-top:5px;font-size:16px}.product-cost-batch-card>footer{flex-wrap:wrap;justify-content:flex-end;gap:7px;margin-top:13px;display:flex}.product-cost-batch-card>footer button:first-child{border-color:var(--color-primary);background:var(--color-primary);color:#fff}.product-cost-history-card>div{gap:8px;display:grid}.product-cost-history-card>div>article{border:1px solid var(--color-border);background:#f8f9fc;border-radius:10px;grid-template-columns:250px minmax(0,1fr) auto;align-items:center;gap:12px;padding:11px;display:grid}.product-cost-history-card article strong,.product-cost-history-card article small{display:block}.product-cost-history-card article small{color:var(--color-text-secondary);margin-top:4px}.product-cost-history-card article p{text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}.product-cost-history-card article>div:last-child{gap:6px;display:flex}.product-cost-history-card article>div:last-child button:last-child{width:38px;padding:0}.product-cost-empty{border:1px dashed var(--color-border);color:var(--color-text-secondary);text-align:center;border-radius:10px;padding:20px}.product-cost-status{color:#267452;background:#eefaf4;border:1px solid #bde3cf;border-radius:12px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;padding:13px;display:grid}.product-cost-status span{color:var(--color-text-secondary);font-size:11px}.product-cost-privacy{color:var(--color-text-secondary);justify-content:center;align-items:center;gap:8px;font-size:11px;display:flex}.product-cost-privacy svg{color:#267452}@media (width<=1100px){.product-cost-expenses-grid{grid-template-columns:1fr 1fr}.product-cost-breakdown-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=1000px){.product-cost-header{flex-direction:column;align-items:stretch}.product-cost-header-actions button{flex:1}.product-cost-main-grid,.product-cost-batch-grid,.product-cost-history-card>div>article{grid-template-columns:1fr}.product-cost-history-card article p{white-space:normal}.product-cost-history-card article>div:last-child{justify-content:flex-end}}@media (width<=760px){.product-cost-result-grid,.product-cost-summary-strip,.product-cost-expenses-grid,.product-cost-breakdown-grid,.product-cost-batch-stats{grid-template-columns:1fr 1fr}.product-cost-batch-card>header,.product-cost-history-card>header{flex-direction:column;align-items:stretch}.product-cost-batch-card>header>div:last-child{display:grid}.product-cost-batch-results article{grid-template-columns:1fr}.product-cost-batch-results button{width:100%}}@media (width<=500px){.product-cost-result-grid,.product-cost-summary-strip,.product-cost-expenses-grid,.product-cost-breakdown-grid,.product-cost-batch-stats,.product-cost-fields{grid-template-columns:1fr}}.tool-hero[data-astro-cid-5gnwnwxr]{padding-block:54px 38px}.breadcrumbs[data-astro-cid-5gnwnwxr]{color:var(--color-text-secondary);flex-wrap:wrap;gap:7px;font-size:12px;display:flex}.heading-grid[data-astro-cid-5gnwnwxr]{justify-content:space-between;align-items:flex-end;gap:40px;margin-top:28px;display:flex}.heading-copy[data-astro-cid-5gnwnwxr]{max-width:900px}.category-label[data-astro-cid-5gnwnwxr],.section-kicker[data-astro-cid-5gnwnwxr]{color:var(--color-primary);letter-spacing:.05em;text-transform:uppercase;margin-bottom:9px;font-size:12px;font-weight:750;display:block}h1[data-astro-cid-5gnwnwxr]{letter-spacing:-.052em;margin:0;font-size:clamp(39px,5vw,61px);line-height:1.04}.heading-copy[data-astro-cid-5gnwnwxr]>p[data-astro-cid-5gnwnwxr]{max-width:850px;color:var(--color-text-secondary);margin:18px 0 0;font-size:17px;line-height:1.7}.privacy-badge[data-astro-cid-5gnwnwxr]{color:#23734f;background:#f0faf5;border:1px solid #cfe9dd;border-radius:999px;align-items:center;gap:8px;width:fit-content;margin-top:20px;padding:8px 11px;font-size:12px;font-weight:650;display:flex}.format-list[data-astro-cid-5gnwnwxr]{flex-wrap:wrap;justify-content:flex-end;gap:7px;display:flex}.format-list[data-astro-cid-5gnwnwxr] span[data-astro-cid-5gnwnwxr]{background:var(--color-primary-soft);color:var(--color-primary);border-radius:999px;padding:7px 10px;font-size:12px;font-weight:700}.tool-workspace[data-astro-cid-5gnwnwxr]{padding-block:25px 80px}.container[data-astro-cid-5gnwnwxr].is-wide{max-width:1480px}.content-section[data-astro-cid-5gnwnwxr]{border-top:1px solid var(--color-border);background:var(--color-surface);padding-block:78px}.content-layout[data-astro-cid-5gnwnwxr]{grid-template-columns:minmax(0,1.55fr) minmax(280px,.45fr);align-items:start;gap:72px;display:grid}.article[data-astro-cid-5gnwnwxr] section[data-astro-cid-5gnwnwxr]+section[data-astro-cid-5gnwnwxr]{margin-top:47px}.article[data-astro-cid-5gnwnwxr] h2[data-astro-cid-5gnwnwxr]{margin:0;font-size:clamp(25px,3vw,32px)}.article[data-astro-cid-5gnwnwxr] p[data-astro-cid-5gnwnwxr],.article[data-astro-cid-5gnwnwxr] li[data-astro-cid-5gnwnwxr]{color:var(--color-text-secondary);font-size:16px;line-height:1.8}.sidebar[data-astro-cid-5gnwnwxr]{position:sticky;top:100px}.sidebar-card[data-astro-cid-5gnwnwxr]{border:1px solid var(--color-border);background:#f8f9fc;border-radius:18px;padding:25px}.sidebar-icon[data-astro-cid-5gnwnwxr],.related-icon[data-astro-cid-5gnwnwxr]{background:var(--color-primary-soft);width:49px;height:49px;color:var(--color-primary);border-radius:14px;place-items:center;display:grid}.sidebar-icon[data-astro-cid-5gnwnwxr]{margin-bottom:18px}.sidebar-card[data-astro-cid-5gnwnwxr] ul[data-astro-cid-5gnwnwxr]{gap:10px;padding-left:19px;display:grid}.sidebar-card[data-astro-cid-5gnwnwxr] li[data-astro-cid-5gnwnwxr]{color:var(--color-text-secondary);font-size:14px;line-height:1.65}.related-section[data-astro-cid-5gnwnwxr]{background:#f6f8fc;padding-block:80px}.related-heading[data-astro-cid-5gnwnwxr]{margin-bottom:34px}.related-grid[data-astro-cid-5gnwnwxr]{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.related-card[data-astro-cid-5gnwnwxr]{border:1px solid var(--color-border);background:var(--color-surface);border-radius:18px;grid-template-columns:auto 1fr auto;align-items:center;gap:15px;padding:21px;display:grid}.related-copy[data-astro-cid-5gnwnwxr] h3[data-astro-cid-5gnwnwxr]{margin:0;font-size:16px}.related-copy[data-astro-cid-5gnwnwxr] p[data-astro-cid-5gnwnwxr]{color:var(--color-text-secondary);margin:6px 0 0;font-size:13px}.related-arrow[data-astro-cid-5gnwnwxr]{color:var(--color-primary)}.faq-section[data-astro-cid-5gnwnwxr]{background:var(--color-surface);padding-block:82px}.faq-layout[data-astro-cid-5gnwnwxr]{grid-template-columns:minmax(250px,.42fr) minmax(0,.58fr);gap:72px;display:grid}.faq-list[data-astro-cid-5gnwnwxr]{gap:12px;display:grid}.faq-item[data-astro-cid-5gnwnwxr]{border:1px solid var(--color-border);background:#fafbfe;border-radius:16px;overflow:hidden}.faq-item[data-astro-cid-5gnwnwxr] summary[data-astro-cid-5gnwnwxr]{cursor:pointer;padding:19px 20px;font-weight:650}.faq-item[data-astro-cid-5gnwnwxr] p[data-astro-cid-5gnwnwxr]{color:var(--color-text-secondary);margin:0;padding:0 20px 20px;line-height:1.7}@media (width<=940px){.content-layout[data-astro-cid-5gnwnwxr],.faq-layout[data-astro-cid-5gnwnwxr]{grid-template-columns:1fr}.sidebar[data-astro-cid-5gnwnwxr]{position:static}.related-grid[data-astro-cid-5gnwnwxr]{grid-template-columns:1fr}}@media (width<=760px){.heading-grid[data-astro-cid-5gnwnwxr]{display:block}.format-list[data-astro-cid-5gnwnwxr]{justify-content:flex-start;margin-top:23px}}
