.cost-page{max-width:1500px;margin:0 auto;color:var(--text)}
.cost-hero{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px 30px;border-radius:22px;background:linear-gradient(125deg,#0b1f3a 0%,#173c70 55%,#1f5eff 100%);color:#fff;box-shadow:0 18px 45px rgba(20,49,91,.2)}
.cost-hero:after{content:"";position:absolute;width:260px;height:260px;right:-70px;top:-120px;border-radius:50%;background:rgba(255,255,255,.08)}
.cost-eyebrow{display:block;margin-bottom:9px;color:#5eead4;font-size:10px;font-weight:900;letter-spacing:.15em}
.cost-hero h2{margin:0;font-size:28px;letter-spacing:-.035em}.cost-hero p{margin:8px 0 0;color:#cfdaec;font-size:12px;line-height:1.6}
.cost-hero-badge{position:relative;z-index:1;display:flex;align-items:center;gap:11px;min-width:225px;padding:13px 16px;border:1px solid rgba(255,255,255,.17);border-radius:15px;background:rgba(6,24,48,.32);backdrop-filter:blur(10px)}
.cost-hero-badge>span{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:#14b8a6;font-size:20px}.cost-hero-badge strong,.cost-hero-badge small{display:block}.cost-hero-badge strong{font-size:12px}.cost-hero-badge small{margin-top:4px;color:#cbd5e1;font-size:9px}
.cost-notice{margin:14px 0;padding:12px 15px;border:1px solid #bfdbfe;border-radius:13px;background:#eff6ff;color:#35557c;font-size:11px;line-height:1.55}.cost-notice strong{color:#1d4ed8}
.cost-layout{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:16px;align-items:start}.cost-form{display:flex;flex-direction:column;gap:14px}
.cost-card,.cost-results{border:1px solid var(--line);border-radius:19px;background:#fff;box-shadow:var(--shadow-sm)}.cost-card{padding:19px}
.cost-card>header{display:flex;align-items:center;gap:11px;margin-bottom:17px;padding-bottom:14px;border-bottom:1px solid var(--line)}.cost-card>header>span{flex:0 0 34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#e9fbf8;color:#0f9488;font-size:10px;font-weight:900}.cost-card header h3,.cost-card header p{margin:0}.cost-card header h3{font-size:14px}.cost-card header p{margin-top:4px;color:var(--muted);font-size:9px}.cost-link-btn{margin-left:auto;border:0;background:#edf3ff;color:#1f5eff;border-radius:10px;padding:9px 11px;font-size:10px;font-weight:800}
.cost-grid{display:grid;gap:13px}.cost-grid.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.cost-field{display:flex;flex-direction:column;gap:7px;min-width:0;color:#475569;font-size:10px;font-weight:800}.cost-field select,.cost-input-wrap{width:100%;min-height:43px;border:1px solid #dce4ee;border-radius:11px;background:#f8fafc}.cost-field select{padding:0 12px;color:#172033;outline:0}.cost-input-wrap{display:flex;align-items:center;overflow:hidden}.cost-input-wrap:focus-within,.cost-field select:focus{border-color:#6f9aff;box-shadow:0 0 0 3px rgba(31,94,255,.08);background:#fff}.cost-input-wrap input{min-width:0;width:100%;height:41px;border:0;outline:0;padding:0 12px;background:transparent;color:#172033;font-weight:750}.cost-input-wrap em{align-self:stretch;display:flex;align-items:center;padding:0 11px;border-left:1px solid #e4e9f0;background:#f1f5f9;color:#64748b;font-size:9px;font-style:normal;white-space:nowrap}.cost-field>small{color:#94a3b8;font-size:8px;line-height:1.45}
.cost-size-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:18px 0 10px}.cost-size-head strong,.cost-size-head small{display:block}.cost-size-head strong{font-size:11px}.cost-size-head small{margin-top:3px;color:var(--muted);font-size:8px}.cost-size-head>b{padding:6px 9px;border-radius:999px;background:#edf3ff;color:#1f5eff;font-size:8px}.cost-size-grid{display:grid;grid-template-columns:repeat(8,minmax(58px,1fr));gap:7px}.cost-size-field{position:relative;display:flex;flex-direction:column;gap:5px;padding:8px;border:1px solid #e1e7ef;border-radius:11px;background:#fbfcfe}.cost-size-field>span{font-size:8px;font-weight:900;color:#526077}.cost-size-field input{width:100%;border:0;outline:0;background:transparent;color:#172033;font-size:12px;font-weight:800}.cost-size-field small{position:absolute;right:7px;top:7px;color:#94a3b8;font-size:7px}.cost-divider{height:1px;margin:16px 0;background:var(--line)}.cost-manual-price{margin-top:14px}
.cost-results{position:sticky;top:96px;overflow:hidden}.cost-result-head{display:flex;align-items:center;justify-content:space-between;padding:17px 18px;border-bottom:1px solid #243a58;background:#102540;color:#fff}.cost-result-head span{font-size:8px;letter-spacing:.13em;color:#5eead4;font-weight:900}.cost-result-head h3{margin:5px 0 0;font-size:16px}.cost-result-head>b{padding:7px 9px;border:1px solid rgba(255,255,255,.14);border-radius:9px;color:#d9e5f5;font-size:9px}
.cost-primary-result{padding:20px 18px;background:linear-gradient(145deg,#102540,#173c70);color:#fff}.cost-primary-result small,.cost-primary-result span{display:block}.cost-primary-result small{color:#aebfd6;font-size:9px}.cost-primary-result strong{display:block;margin:6px 0 5px;font-size:33px;letter-spacing:-.045em}.cost-primary-result span{color:#81e6d9;font-size:9px}
.cost-kpi-grid{display:grid;grid-template-columns:1fr 1fr}.cost-kpi-grid>div{min-width:0;padding:14px 16px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.cost-kpi-grid>div:nth-child(2n){border-right:0}.cost-kpi-grid span,.cost-kpi-grid strong{display:block}.cost-kpi-grid span{color:var(--muted);font-size:8px}.cost-kpi-grid strong{margin-top:5px;font-size:13px;overflow-wrap:anywhere}
.cost-profit-box{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:14px 15px;padding:13px 14px;border-radius:13px;background:#eaf9f2;color:#087452}.cost-profit-box span,.cost-profit-box strong{display:block}.cost-profit-box span{font-size:8px}.cost-profit-box strong{margin-top:4px;font-size:16px}.cost-profit-box>b{padding:6px 8px;border-radius:999px;background:#fff;font-size:9px}.cost-profit-box>b.negative{background:#fff0f0;color:#b42318}
.cost-breakdown{padding:3px 16px 15px}.cost-breakdown-title{display:flex;justify-content:space-between;gap:10px;margin-bottom:11px;font-size:9px}.cost-breakdown-title span{color:#1f5eff;font-weight:800}.cost-breakdown-row{margin-top:9px}.cost-breakdown-row>div{display:flex;justify-content:space-between;gap:8px;color:#64748b;font-size:8px}.cost-breakdown-row strong{color:#334155}.cost-breakdown-row>i{display:block;height:5px;margin-top:5px;overflow:hidden;border-radius:999px;background:#edf1f5}.cost-breakdown-row>i>b{display:block;height:100%;min-width:2px;border-radius:inherit}
.cost-result-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:14px 16px 16px;border-top:1px solid var(--line);background:#fafbfd}.cost-result-actions .btn{min-height:38px;font-size:10px}.cost-reset-btn{grid-column:1/-1;border:0;background:transparent;color:#64748b;font-size:9px;font-weight:800;padding:6px}
@media(max-width:1120px){.cost-layout{grid-template-columns:1fr}.cost-results{position:static}.cost-size-grid{grid-template-columns:repeat(4,minmax(58px,1fr))}}
@media(max-width:700px){.cost-page{margin:-8px}.cost-hero{align-items:flex-start;padding:20px;border-radius:17px}.cost-hero h2{font-size:22px}.cost-hero-badge{display:none}.cost-notice{margin:10px 0}.cost-layout{gap:10px}.cost-form{gap:10px}.cost-card{padding:14px;border-radius:15px}.cost-card>header{align-items:flex-start;flex-wrap:wrap}.cost-link-btn{width:100%;margin-left:45px}.cost-grid.cols-2{grid-template-columns:1fr}.cost-size-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.cost-results{border-radius:15px}.cost-primary-result strong{font-size:29px}}
@media print{body *{visibility:hidden}.cost-page,.cost-page *{visibility:visible}.cost-page{position:absolute;inset:0;background:#fff}.cost-form,.cost-notice,.topbar,.sidebar,.mobile-bottom-nav{display:none!important}.cost-layout{display:block}.cost-results{width:100%;box-shadow:none;border-color:#cbd5e1}.cost-result-actions{display:none}.cost-hero{box-shadow:none;border-radius:0}.cost-breakdown{padding-bottom:25px}@page{size:A4 portrait;margin:12mm}}
