/* Product Studio, December 2026: reading space and guided decisions. */
.main{background-color:#fff;background-repeat:no-repeat;background-position:100% 0;background-size:850px auto}
body:has(.concept-layout) .main,body:has(#product-form) .main{background-image:none}
body:has(#ideas-workbench) .main{background-image:url('images/workspaces/ideas.png')}
body:has(#revision-placeholder) .main{background-image:url('images/workspaces/revision.png')}
body:has([data-category="materials"]) .main,body:has([data-category="exams"]) .main{background-image:none}
.concept-layout,.authoring-layout,.workspace-content{position:relative}
.proposal-status{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px}
.proposal-status span{font-size:.8rem;background:#edf7f7;color:#24585c;padding:5px 10px;border-radius:5px}
.proposal-summary-text{max-width:68ch;line-height:1.7;white-space:pre-line}
.duration-explanation{margin:20px 0;padding-block:16px;border-block:1px solid #dce2e4;max-width:70ch}
.duration-explanation p{white-space:pre-line;line-height:1.7;margin-bottom:0}
.assumption-review{border-top:1px solid #dce2e4;margin-top:24px;padding-top:20px;max-width:72ch}
.assumption-review h3{font-size:1rem;margin:0}
.assumption-question{font-size:1rem;line-height:1.7;white-space:pre-line;overflow-wrap:anywhere;background:#f3f8f8;padding:20px;border-radius:10px}
.assumption-choices,.assumption-navigation{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.assumption-choices [aria-pressed="true"]{background:#006a73;border-color:#006a73;color:white}
.assumption-review textarea{margin-top:8px}
.workspace-view.text-view:not([hidden]){grid-template-columns:250px minmax(0,1fr)}
.text-outline{min-width:0;padding-right:24px}
.field-nav-item{display:grid;grid-template-columns:8px minmax(0,1fr) 16px;gap:9px;width:100%;min-width:0;text-align:left;padding:10px 8px;line-height:1.4}
.field-nav-item>span:nth-child(2){grid-column:2;white-space:normal;overflow-wrap:anywhere;min-width:0}
.field-nav-item .field-dot{display:block;grid-column:1;width:5px;height:5px;border-radius:50%;background:#a8bdbc;align-self:center}
.field-check{grid-column:3;width:16px;justify-self:end}
body:has(#product-form) .main{background-image:none}
.development-heading{background:#fff url('images/workspaces/development.png') top right / 850px auto no-repeat}
.concept-overview{background:#fff url('images/workspaces/development.png') top right / 760px auto no-repeat}
[data-category="materials"] .order-results{background:#fff url('images/workspaces/materials.png') top right / 760px auto no-repeat}
[data-category="exams"] .order-results{background:#fff url('images/workspaces/exams.png') top right / 760px auto no-repeat}
.writing-page-heading{align-items:flex-start;gap:18px;flex-wrap:wrap}
.mini-actions{flex-wrap:wrap;gap:8px}
.copy-icon{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;padding:7px;color:#43565b;border:1px solid transparent;border-radius:6px;background:transparent}
.copy-icon:hover{background:#edf7f7;color:#006a73}
.copy-icon svg{width:20px;height:20px}
.copy-icon.is-copied{background:#ddf1ee;color:#005b52}
.sap-generation-status{grid-column:1/-1;min-height:1.5em;margin:0 0 12px;max-width:70ch}
.product-tools{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;flex-wrap:wrap;border-top:1px solid #dce2e4;padding-top:24px;margin-top:36px}
.product-tools .tool-group{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.tool-group>strong{font-size:.8rem;color:#43565b;margin-bottom:2px}
.product-tools details{position:static}
.product-tools details[open]{display:flex;flex-direction:column}
.product-tools details>*:not(summary){display:block;margin-top:10px}
.calculation-controls .calc-inputs{gap:14px}
.calculation-controls .cost-group{margin:0;padding:12px 0;border:0;border-top:1px solid #dce2e4;border-radius:0}
.cost-group>summary{display:flex;align-items:center;gap:10px;cursor:pointer;font-weight:650;list-style:none;min-height:36px}
.cost-group>summary::before{content:'+';color:#006a73;width:12px}
.cost-group[open]>summary::before{content:'−'}
.cost-group>summary>output{margin-left:auto;font-weight:650;white-space:nowrap;font-variant-numeric:tabular-nums}
.cost-group>summary>span{min-width:0}
.cost-group>summary small{font-weight:400}
.cost-items-editor{margin:12px 0}
.cost-item-row{grid-template-columns:minmax(0,1fr) 110px auto;align-items:end}
.cost-item-row input[type=number]{text-align:right}
.calculation-controls label{font-size:.8rem}
.calculation-controls input,.calculation-controls select{padding:9px 10px}
.calculation-controls .hint{font-size:.75rem;line-height:1.5}
.calc-basics{gap:12px}
.legacy-calculation-note{padding:12px;background:#fff4d8;color:#59400d;font-size:.8rem;line-height:1.6}
.result-tn-selector{display:flex;align-items:center;gap:12px;margin:16px 0}
.result-tn-selector input{width:80px}
.template-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.template-item{padding-block:18px;border-top:1px solid #dce2e4;min-width:0}
.template-item h3{margin:0 0 10px;font-size:1rem}
.template-item form{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.template-item input[type=file]{max-width:100%;font-size:.8rem}
.placeholder-guide{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.85rem;line-height:1.7}
#revision-placeholder{padding:40px 0;max-width:65ch}
@media(max-width:1100px){.workspace-view.text-view:not([hidden]){grid-template-columns:220px minmax(0,1fr)}.text-outline{padding-right:16px}}
@media(max-width:820px){.workspace-view.text-view:not([hidden]){display:flex;flex-direction:column}.text-outline{padding-right:0;width:100%}.main{background-size:605px auto}.template-grid{grid-template-columns:1fr}.product-tools{gap:24px}.cost-item-row{grid-template-columns:minmax(0,1fr) 90px auto}}

.proposal-facts>div{grid-template-columns:145px minmax(0,1fr)}
.proposal-facts dt,.proposal-facts dd{min-width:0;overflow-wrap:anywhere}
.participant-chart.is-incomplete #target-tn-result{font-size:.9rem;font-weight:400;max-width:52ch;line-height:1.6}
.participant-chart.is-incomplete .calc-results-top{display:none}
#participant-table table{table-layout:auto;min-width:760px}
#participant-table caption{text-align:left;white-space:normal;max-width:280px;padding:12px 0;caption-side:top}
#participant-table th,#participant-table td{font-size:12px;padding:10px 8px;white-space:nowrap}
#participant-table th:first-child,#participant-table td:first-child{position:sticky;left:0;background:#fff;z-index:1}
.table-scroll-help{font-size:.8rem;max-width:54ch}
@media(max-width:760px){.proposal-facts>div{grid-template-columns:1fr;gap:4px}.proposal-facts dt{font-size:12px;color:#59636a}.proposal-facts dd{line-height:1.6}#participant-table th,#participant-table td{font-size:11px;padding:10px 5px}#participant-table table{min-width:700px}}
