/* Owner workflow: imported cost -> profit rule -> reviewed publication. */
.pricing-studio-loading{min-height:55vh;display:grid;place-content:center;gap:14px;color:var(--muted);text-align:center}
.pricing-studio-heading{display:flex;align-items:center;justify-content:space-between;gap:28px;margin-bottom:20px;padding:8px 0 22px;border-bottom:1px solid var(--border)}
.pricing-studio-heading>div:first-child{min-width:0}.pricing-studio-heading h2{margin:7px 0;font-size:clamp(34px,3.4vw,48px);line-height:1;letter-spacing:-.025em}.pricing-studio-heading p{max-width:760px;margin:0;color:var(--muted);font-size:13px;line-height:1.55}.pricing-studio-heading .atlas-row-actions{flex:0 0 auto}.pricing-studio-heading .btn{min-height:42px;padding-inline:16px}
.cost-command-panel,.cost-profit-panel,.cost-products,.cost-detail{min-width:0;margin-bottom:16px;padding:22px 24px;overflow:hidden;border:1px solid var(--hz-line);border-radius:16px;background:linear-gradient(145deg,rgba(10,18,38,0.025),transparent 44%),var(--card);box-shadow:0 14px 38px rgba(10,18,38,0.055)}
.cost-step-heading{display:flex;align-items:center;gap:12px}.cost-step-heading>span:first-child{width:32px;height:32px;display:grid;flex:0 0 32px;place-items:center;border:1px solid rgba(255,158,27,0.476);border-radius:50%;background:rgba(255,158,27,0.1);color:var(--hz-sun-ink-strong);font-size:13px;font-weight:900}.cost-step-heading>div{min-width:0}.cost-step-heading small{display:block;color:var(--accent2);font-size:9px;font-weight:850;letter-spacing:.13em;text-transform:uppercase}.cost-step-heading h3{margin:2px 0 0;font-size:18px;letter-spacing:-.02em}.cost-step-heading>.btn,.cost-step-heading>.status-pill{margin-left:auto}.cost-step-heading.compact>span:first-child{width:28px;height:28px;flex-basis:28px}
.cost-context-grid{display:grid;grid-template-columns:1fr 1fr 1.35fr;gap:12px;margin-top:18px}.cost-context-grid label,.cost-route-control label,.cost-profit-editor label,.cost-field-grid label,.cost-field-modal>.field{display:grid;gap:7px;color:var(--muted);font-size:10px;font-weight:800;letter-spacing:.055em;text-transform:uppercase}
.cost-context-grid select,.cost-country-input input,.cost-route-control select,.cost-profit-editor input,.cost-profit-editor select,.cost-field-grid input,.cost-field-grid select,.cost-field-modal>.field input,.cost-products>header input{width:100%;min-width:0;min-height:43px;padding:9px 11px;border:1px solid var(--hz-line);border-radius:8px;background:var(--hz-bg);color:var(--text);letter-spacing:normal;text-transform:none}.cost-context-grid select:disabled,.cost-route-control select:disabled{opacity:.5;cursor:not-allowed}
.cost-route-control{display:grid;grid-template-columns:minmax(220px,.85fr) minmax(220px,1fr) minmax(280px,1.25fr);gap:12px;align-items:end;margin-top:12px;padding-top:12px;border-top:1px solid var(--hz-line)}
.cost-route-proof,.cost-validation{min-height:43px;display:flex;align-items:center;gap:10px;padding:8px 11px;border:1px solid var(--border);border-radius:8px;background:rgba(10,18,38,0.025)}.cost-route-proof>span,.cost-validation>span{width:25px;height:25px;display:grid;flex:0 0 25px;place-items:center;border-radius:50%;font-weight:900}.cost-route-proof div,.cost-validation div{min-width:0;display:grid;gap:1px}.cost-route-proof b{overflow-wrap:anywhere;font-size:11px}.cost-route-proof small,.cost-validation small{color:var(--muted);font-size:9px;line-height:1.35;overflow-wrap:anywhere}.cost-route-proof.ready>span,.cost-validation.ready>span{background:rgba(15,163,127,0.154);color:var(--green)}.cost-route-proof.blocked,.cost-validation.blocked{border-color:rgba(192,54,44,0.32)}.cost-route-proof.blocked>span,.cost-validation.blocked>span{background:rgba(192,54,44,0.14);color:var(--red)}
.cost-scope-choice{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:18px}.cost-scope-choice button{min-height:72px;display:grid;align-content:center;gap:5px;padding:13px 15px;border:1px solid var(--border);border-radius:10px;background:rgba(10,18,38,0.025);color:var(--text);text-align:left;cursor:pointer}.cost-scope-choice button:hover{border-color:rgba(255,158,27,0.6)}.cost-scope-choice button.active{border-color:var(--hz-sun);background:rgba(255,158,27,0.094);box-shadow:inset 3px 0 var(--accent)}.cost-scope-choice b{font-size:13px}.cost-scope-choice small{color:var(--muted);font-size:10px;line-height:1.35}
.cost-profit-editor{display:grid;grid-template-columns:minmax(180px,.72fr) minmax(230px,1fr) minmax(190px,.82fr) minmax(230px,1fr);gap:12px;align-items:stretch;margin-top:12px}.cost-profit-input>span:nth-child(2){display:grid;grid-template-columns:1fr 36px;align-items:center;border:1px solid rgba(255,158,27,0.6);border-radius:8px;background:rgba(255,158,27,0.056)}.cost-profit-input>span:nth-child(2) input{min-height:41px;border:0;background:transparent;color:var(--hz-sun-ink-strong);font-size:20px;font-weight:900;text-align:right}.cost-profit-input>span:nth-child(2) b{color:var(--hz-sun-ink-strong)}.cost-profit-input>small{color:var(--muted);font-size:9px;letter-spacing:normal;text-transform:none}
.cost-live-summary{display:grid;grid-template-columns:1fr auto;align-content:center;gap:2px 10px;padding:11px 13px;border:1px solid rgba(15,163,127,0.364);border-radius:9px;background:rgba(15,163,127,0.061)}.cost-live-summary small{color:var(--accent2);font-size:9px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.cost-live-summary b{color:var(--hz-sun-ink-strong);font-size:22px}.cost-live-summary span{grid-column:1/-1;color:var(--muted);font-size:10px}
.cost-advanced{margin-top:12px;border-top:1px solid var(--hz-line);color:var(--muted);font-size:11px}.cost-advanced summary{min-height:42px;display:flex;align-items:center;color:var(--accent2);cursor:pointer}.cost-advanced>div{display:flex;align-items:end;gap:12px;padding-bottom:5px}.cost-advanced label{display:grid;gap:5px}.cost-advanced input{width:105px;min-height:38px;padding:7px 9px;border:1px solid var(--border);background:var(--bg2);color:var(--text)}
.cost-products>header{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:14px}.cost-products>header>div{min-width:0}.cost-products>header>div>div{display:flex;align-items:center;gap:7px}.cost-products>header h3{margin:0;font-size:18px}.cost-products>header p{margin:5px 0 0;color:var(--muted);font-size:11px}.cost-products>header input{width:min(300px,34%)}
.cost-product-list{width:100%;overflow:hidden;border:1px solid var(--hz-line);border-radius:11px;background:rgba(10,18,38,0.048)}.cost-product-list-head,.cost-product-row{display:grid;grid-template-columns:minmax(175px,1.15fr) minmax(170px,1.05fr) minmax(125px,.76fr) minmax(155px,.9fr) minmax(180px,1.06fr);gap:14px;align-items:center}.cost-product-list-head{padding:10px 13px;border-bottom:1px solid var(--border);color:var(--muted);font-size:9px;font-weight:850;letter-spacing:.07em;text-transform:uppercase}
.cost-product-row{width:100%;min-width:0;min-height:96px;padding:13px;border:0;border-bottom:1px solid var(--hz-line);border-radius:0;background:transparent;color:var(--text);font:inherit;text-align:left;cursor:pointer}.cost-product-row:last-child{border-bottom:0}.cost-product-row:hover{background:rgba(15,163,127,0.044)}.cost-product-row.active{background:linear-gradient(90deg,rgba(255,158,27,0.112),rgba(255,158,27,0.03));box-shadow:inset 3px 0 var(--accent)}.cost-product-row:focus-visible{position:relative;z-index:1;outline:2px solid var(--accent);outline-offset:-2px}.cost-product-row>span{min-width:0}.cost-product-row b,.cost-product-row strong,.cost-product-row small{display:block;min-width:0;overflow-wrap:anywhere}.cost-product-row b{font-size:11px;line-height:1.35}.cost-product-row small{margin-top:3px;color:var(--muted);font-size:9px;line-height:1.38}.cost-product-package>b{font-size:13px}.cost-product-total>b{color:var(--muted)}.cost-product-total>strong{margin-top:5px;font-size:14px}.cost-product-rule>b{color:var(--accent2)}.cost-product-price>b{color:var(--hz-sun-ink-strong);font-size:18px;white-space:nowrap}.cost-product-price>strong{margin-top:5px;font-size:10px}.cost-product-price .positive{color:var(--green)}.cost-product-price .negative{color:var(--red)}.cost-product-price .status-pill{width:max-content;margin-top:7px}
.cost-detail>header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-bottom:15px;border-bottom:1px solid var(--border)}.cost-detail>header>div{display:flex;align-items:center;gap:11px;min-width:0}.cost-detail>header small{color:var(--muted);font-size:10px}.cost-detail h3{margin:3px 0 0;font-size:18px}.cost-detail-flag{width:40px;height:40px;display:grid;flex:0 0 40px;place-items:center;border:1px solid var(--border);border-radius:10px;background:rgba(10,18,38,0.025);font-size:22px}
.cost-detail-toolbar{display:grid;grid-template-columns:.85fr 1fr .9fr 1.5fr;gap:1px;margin:14px 0;overflow:hidden;border:1px solid var(--border);border-radius:10px;background:var(--border)}.cost-detail-toolbar>div{min-width:0;display:grid;align-content:center;gap:4px;padding:11px 13px;background:var(--hz-bg)}.cost-detail-toolbar small{color:var(--muted);font-size:9px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}.cost-detail-toolbar b{overflow-wrap:anywhere;font-size:11px}.cost-scenario{gap:7px!important}.cost-segmented{display:flex;padding:3px;overflow:auto;border:1px solid var(--border);border-radius:8px;background:var(--hz-bg)}.cost-segmented button{min-height:31px;flex:1;padding:6px 9px;border:0;border-radius:6px;background:transparent;color:var(--muted);font:inherit;font-size:10px;white-space:nowrap;cursor:pointer}.cost-segmented button.active{background:var(--accent);color:var(--hz-ink);font-weight:900}
.cost-equation{display:flex;align-items:stretch;gap:7px;margin-bottom:14px}.cost-equation>div{min-width:120px;flex:1;display:grid;align-content:center;gap:4px;padding:13px;border:1px solid var(--border);border-radius:9px;background:rgba(10,18,38,0.025)}.cost-equation>div.highlight{border-color:rgba(255,158,27,0.42);background:rgba(255,158,27,0.069)}.cost-equation small{color:var(--muted);font-size:9px;font-weight:800;letter-spacing:.045em;text-transform:uppercase}.cost-equation b{font-size:14px;overflow-wrap:anywhere}.cost-equation .highlight b{color:var(--hz-sun-ink-strong)}.cost-equation i{align-self:center;color:var(--muted);font-style:normal;font-weight:900}
.cost-breakdown-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.cost-breakdown-grid>section{min-width:0;padding:15px 17px;border:1px solid var(--border);border-radius:10px;background:rgba(10,18,38,0.025)}.cost-detail-title{display:flex;align-items:start;justify-content:space-between;gap:12px}.cost-detail-title h4{margin:0;font-size:14px}.cost-detail-title p{margin:4px 0 9px;color:var(--muted);font-size:10px}.admin-layout .link-button{padding:0;border:0;background:transparent;color:var(--hz-sun-ink-strong);font:inherit;font-size:10px;font-weight:850;cursor:pointer}.link-button.danger{color:var(--red)}.cost-line,.cost-total{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:9px 0;border-bottom:1px solid var(--hz-line)}.cost-line span{min-width:0;display:grid;gap:2px}.cost-line b{font-size:11px}.cost-line small{color:var(--muted);font-size:9px;overflow-wrap:anywhere}.cost-line strong,.cost-total b{flex:0 0 auto;white-space:nowrap;font-size:11px}.cost-total{border-bottom:0;color:var(--green)}.cost-empty-note{min-height:54px;margin:0;display:flex;align-items:center;color:var(--muted);font-size:10px}
.cost-result-grid,.cost-impact-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;margin-top:12px;overflow:hidden;border:1px solid var(--border);border-radius:10px;background:var(--border)}.cost-result-grid>div,.cost-impact-summary>div{min-width:0;display:grid;align-content:center;gap:4px;padding:13px;background:var(--hz-bg)}.cost-result-grid>div.highlight{background:rgba(255,158,27,0.094)}.cost-result-grid small,.cost-impact-summary small{color:var(--muted);font-size:9px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}.cost-result-grid b,.cost-impact-summary b{overflow-wrap:anywhere;font-size:17px}.cost-result-grid .highlight b{color:var(--hz-sun-ink-strong)}.cost-result-grid span,.cost-impact-summary span{color:var(--muted);font-size:9px}.cost-validation{margin-top:12px}
.cost-field-modal,.cost-impact-modal{width:min(1180px,calc(100vw - 32px));max-width:1180px;overflow:auto hidden}.cost-impact-summary{grid-template-columns:1.4fr .8fr .8fr;margin:16px 0 12px}.cost-impact-summary>.blocked{background:rgba(192,54,44,0.08)}.cost-review-list{display:grid;max-height:48vh;overflow:auto hidden;border:1px solid var(--border);border-radius:10px}.cost-review-list article{min-width:0;display:grid;grid-template-columns:minmax(220px,1.25fr) repeat(4,minmax(0,.72fr));gap:12px;align-items:center;padding:12px 14px;border-bottom:1px solid var(--border)}.cost-review-list article:last-child{border-bottom:0}.cost-review-list article.blocked{background:rgba(192,54,44,0.055)}.cost-review-list article>div{min-width:0;display:grid;gap:3px}.cost-review-list small{color:var(--muted);font-size:9px}.cost-review-list b{overflow-wrap:anywhere;font-size:11px}.cost-review-product{grid-template-columns:auto minmax(0,1fr)!important;align-items:center}.cost-review-product>span{font-size:20px}.cost-review-list i{color:var(--muted);font-style:normal}.cost-publication-note{margin:12px 0;padding:12px;border:1px solid var(--border)}.cost-publication-note span{color:var(--muted);font-size:10px}
.cost-field-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:14px 0;padding:15px;border:1px solid var(--border);border-radius:10px;background:rgba(10,18,38,0.025)}.cost-field-grid .cost-check{min-height:43px;display:flex;align-items:center;align-self:end;gap:8px}.cost-field-grid .cost-check input{width:auto;min-height:auto;accent-color:var(--hz-sun-ink-strong)}
.cost-field-modal .tbl-wrap{overflow-x:hidden}.cost-field-modal .tbl{table-layout:fixed}.cost-field-modal .tbl th,.cost-field-modal .tbl td{white-space:normal;overflow-wrap:anywhere}
.cost-command-panel{position:relative;z-index:2;overflow:visible}.cost-country-combobox,.cost-country-input{position:relative}.cost-country-input input{padding-right:32px}.cost-country-input i{position:absolute;right:11px;top:12px;font-style:normal}.cost-country-options{max-height:340px;position:absolute;z-index:40;top:100%;overflow:auto hidden;border:1px solid var(--border);background:var(--hz-surface)}.cost-country-options[hidden]{display:none}.cost-country-options button{width:100%;padding:9px;display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:8px;border:0;border-bottom:1px solid var(--border);background:transparent;color:var(--text);text-align:left}.cost-country-options button:hover,.cost-country-options button.active{background:rgba(255,158,27,0.125)}.cost-country-options button>small{color:var(--muted);font-size:9px}
.admin-layout .side-nav{scrollbar-width:thin;scrollbar-color:rgba(10,18,38,0.12) transparent}.admin-layout .side-nav::-webkit-scrollbar{width:7px}.admin-layout .side-nav::-webkit-scrollbar-track{background:transparent}.admin-layout .side-nav::-webkit-scrollbar-thumb{border-radius:999px;background:rgba(10,18,38,0.054)}
@media(max-width:1280px){.cost-route-control{grid-template-columns:1fr 1fr}.cost-route-proof{grid-column:1/-1}.cost-profit-editor{grid-template-columns:1fr 1fr}.cost-product-list-head{display:none}.cost-product-row{grid-template-columns:1.2fr 1fr 1fr;gap:12px 18px}.cost-product-package{grid-column:1/3}.cost-product-price{grid-column:3;grid-row:1/3}.cost-detail-toolbar{grid-template-columns:1fr 1fr 1fr}.cost-scenario{grid-column:1/-1}.cost-equation{display:grid;grid-template-columns:1fr 1fr}.cost-equation i{display:none}.cost-review-list article{grid-template-columns:minmax(200px,1.2fr) repeat(2,1fr)}}
@media(max-width:820px){.pricing-studio-heading{align-items:stretch;flex-direction:column}.pricing-studio-heading .atlas-row-actions,.pricing-studio-heading .btn{width:100%}.cost-command-panel,.cost-profit-panel,.cost-products,.cost-detail{padding:17px;border-radius:13px}.cost-context-grid,.cost-route-control,.cost-scope-choice,.cost-profit-editor,.cost-breakdown-grid,.cost-result-grid,.cost-impact-summary,.cost-field-grid{grid-template-columns:1fr}.cost-route-proof,.cost-scenario{grid-column:auto}.cost-products>header{align-items:stretch;flex-direction:column}.cost-products>header input{width:100%}.cost-product-row{grid-template-columns:1fr 1fr}.cost-product-package,.cost-product-price{grid-column:1/-1;grid-row:auto}.cost-detail-toolbar{grid-template-columns:1fr 1fr}.cost-scenario{grid-column:1/-1}.cost-review-list article{grid-template-columns:1fr 1fr}.cost-review-product{grid-column:1/-1}}
@media(max-width:520px){.pricing-studio-heading h2{font-size:34px}.cost-step-heading{align-items:start;flex-wrap:wrap}.cost-step-heading>.btn,.cost-step-heading>.status-pill{margin-left:44px}.cost-product-row,.cost-detail-toolbar,.cost-equation,.cost-review-list article{grid-template-columns:1fr}.cost-product-package,.cost-product-price,.cost-review-product{grid-column:1}.cost-advanced>div{align-items:stretch;flex-direction:column}}
/* Horizon contrast (2026-09-16): tinted result and proof boxes need darker text than the page */
.cost-route-proof.ready>span,.cost-validation.ready>span{color:var(--hz-mint-ink)}
.cost-result-grid .highlight small,.cost-result-grid .highlight span{color:var(--hz-ink-2)}
.cost-result-grid .highlight b,.cost-equation .highlight b{color:#8a4100}
.cs2-profit{color:var(--hz-mint-ink)}
