#main .delivery-studio{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:clamp(18px,3.5vw,60px);align-items:start}
#main .delivery-studio>section{margin:0;min-width:0;padding:0;background:transparent;border:0;box-shadow:none}
#main .delivery-studio [hidden]{display:none}
.delivery-studio .office-compose form{margin:0;display:block}
.delivery-studio .office-compose form>label,.delivery-studio .office-compose .office-reference{margin:13px 0;display:block}
.delivery-studio .office-compose form>label textarea{display:block;width:100%;min-height:64px;max-height:44vh}
#main .delivery-command{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;padding:0 0 13px;margin:0 0 12px;border:0;border-bottom:1px solid #dce3ec}
.delivery-command .task-model-picker{max-width:100%;min-width:0;flex:1 1 13em}
.delivery-command .btn{min-height:42px;flex:0 1 auto}
.delivery-command .delivery-estimate{flex:1 1 100%;color:var(--ui-text, #272c2a);line-height:1.5;font-size:13px}
.delivery-studio .task-model-picker>summary{display:flex;align-items:center;gap:5px;min-height:44px;padding:7px 11px}
#main .delivery-studio h2{font-size:20px;color:var(--ui-text, #272c2a);margin:0 0 8px;font-weight:650}
#main .deliverable{border-left:1px solid #dae1eb;padding-left:clamp(14px,2.6vw,38px)}
.deliverable header,.delivery-actions{display:flex;gap:8px 14px;flex-wrap:wrap;align-items:center}
.deliverable header{justify-content:space-between;margin-bottom:18px}
.delivery-meta,.result-caption,.delivery-versions{font-size:14px;color:var(--ui-secondary, #505b55);line-height:1.6}
.delivery-versions select{display:block;width:100%}
.result-prose,.result-outline li,.bilingual p,.slide-paper,.record-paper p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.78}
.delivery-meta{margin-bottom:12px}
.reply-draft textarea{display:block;width:100%;min-height:135px;font-size:16px;color:var(--ui-text, #272c2a);line-height:1.65}
.fact-pairs{table-layout:fixed;border-collapse:collapse;width:100%;min-width:0!important;margin:10px 0}
.fact-pairs th,.fact-pairs td{padding:9px 7px;text-align:left;overflow-wrap:anywhere;white-space:normal;vertical-align:top;border-bottom:1px solid #dce3ec}
.fact-pairs th{color:var(--ui-text, #272c2a);background:#f3f6fa}
.result-outline,.deliverable-sections{margin:8px 0 20px;padding-inline-start:1.5em}
.result-outline li,.deliverable-sections li{padding:5px 3px;color:var(--ui-text, #272c2a)}
.document-sheet,.slide-paper,.record-paper{background:#f6f8fa;padding:clamp(14px,2vw,25px);border-radius:6px}
.deliverable .delivery-actions{margin:12px 0}
.delivery-actions>a,.delivery-sections button{min-height:44px;display:inline-flex;align-items:center}
.deliverable audio,.deliverable video,.delivered-image{display:block;max-width:100%;width:100%;max-height:60vh;object-fit:contain}
.deck-preview{flex-basis:100%;margin:8px 0;min-width:0}
.deck-preview summary{color:var(--ui-link, #186b50);cursor:pointer;min-height:44px;align-content:center}
.slide-paper{min-height:160px;max-height:54vh;overflow:auto;font-size:15px}
.delivery-sections{display:flex;align-items:stretch;gap:6px 17px;flex-wrap:wrap;border-bottom:1px solid #dce3ec;margin:0 0 20px}
.delivery-sections button{background:none;color:var(--ui-link, #186b50);padding:5px 0;text-align:left;border:0;font-size:14px;font-weight:600;line-height:1.45}
#main.delivery-page .business-record-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(210px,.85fr);align-items:start;gap:clamp(16px,3vw,44px)}
.business-record-layout .business-record-list{grid-column:2;grid-row:1}
.business-record-layout [data-business-record]{grid-column:1;grid-row:1}
.record-paper{margin:12px 0 20px}.record-paper table{width:100%;min-width:0}.record-paper td,.record-paper th{white-space:normal;overflow-wrap:anywhere}
.knowledge-sources article{border-left:2px solid #96afd3;padding-left:12px;margin:10px 0}
#main .delivery-page :is(audio,video),#main.delivery-page .business-preview{max-width:100%;overflow-wrap:anywhere}
@media(max-width:800px){
 #main .delivery-studio,#main.delivery-page .business-record-layout{grid-template-columns:minmax(0,1fr)}
 #main .deliverable{border-left:none;border-top:1px solid #dae1eb;padding:17px 0 0}
 .business-record-layout .business-record-list,.business-record-layout [data-business-record]{grid-column:auto;grid-row:auto}
 .business-record-layout [data-business-record]{order:-1}
 .delivery-studio .picker-list{width:min(100%,calc(100vw - 40px));min-width:min(228px,100%)}
 .delivery-sections{gap:3px 12px}.delivery-studio .task-model-picker strong{white-space:normal;overflow-wrap:anywhere}
 .delivery-command .task-model-picker{flex-basis:100%}.delivery-versions{max-width:100%}.delivery-actions{gap:6px 12px}
}

#main.delivery-page .delivery-subsection{border:0;box-shadow:none;background:none;padding-inline:0;margin-block:14px}
#main.delivery-page .delivery-input :is(input:not([type=checkbox]):not([type=radio]),select,textarea){max-width:100%;min-width:0}
#main.delivery-page .delivery-player{display:block;max-width:100%;object-fit:contain}
#main.delivery-page .business-record-list .support-card{border:0;border-bottom:1px solid #dce3ec;border-radius:0;padding:12px 0;background:transparent}
#main.delivery-page :is(.section-index,.delivery-sections) button:focus-visible{outline:2px solid #245fb8;outline-offset:2px}
@media(max-width:800px){
 #main.feature-page :is(.business-columns,.form-group,fieldset,.panel,details,section,form){min-width:0}
 #main.feature-page :is(a,button,summary,label,td,th,.notice){overflow-wrap:anywhere}
 #main.feature-page audio,#main.feature-page video{max-width:100%}
 #dialog[open] :is(input,textarea,select){min-width:0;max-width:100%}
}
#main.delivery-page .proposal-comparison{display:grid;gap:12px}
#main.delivery-page :is(.profit-workspace,.proposal-workspace,.translation-workspace,.knowledge-area) .panel + .panel{margin-top:20px;border-top:1px solid #d8e0ea;padding-top:20px}
#main.delivery-page :is(.knowledge-context,.translation-columns,.presales-grid,.film-grid){gap:clamp(12px,2vw,32px)}
#main.delivery-page .kg-source{border:0;border-inline-start:2px solid #a1b4d0;background:transparent;border-radius:0;padding:4px 14px;margin-block:12px}
#main.delivery-page :is(.table-scroll,.table-wrap){overflow-x:auto;max-width:100%;font-variant-numeric:tabular-nums}
#main.delivery-page :is(.ka-body,.feedback-text,.business-preview,.paper-body){overflow-wrap:anywhere;white-space:pre-wrap;line-height:1.7}
#main.delivery-page .desk-paper{background:#f5f7fa;border:0;border-radius:5px;color:var(--ui-text, #272c2a);padding:clamp(14px,2vw,26px)}
#main.delivery-page .translation-columns>section{min-width:0;border:0;border-left:2px solid #c9d7e8;padding-left:15px}
#main.delivery-page .film-grid video{background:#17202c;object-fit:contain;max-height:65vh}

#main .journey-output-image { display: block; max-width: 100%; max-height: 480px; height: auto; object-fit: contain; }

/* Version strings are data: allow wrapping before the date, never inside it. */
.task-model-picker .model-version-date{display:inline-block;white-space:nowrap;word-break:normal;overflow-wrap:normal;font-variant-numeric:tabular-nums}
#main .task-model-picker summary,#main .picker-option{height:auto;white-space:normal;overflow:visible;text-overflow:clip}
#main .task-model-picker summary strong{white-space:normal;overflow-wrap:anywhere}
#main .delivery-command .history-shortcut,.read-jump{min-height:44px;display:inline-flex;align-items:center;color:var(--ui-link, #186b50)}
#main .delivery-command .delivery-estimate{flex-basis:100%;color:var(--ui-secondary, #505b55);line-height:1.55}
#main .input-brief{margin:0 0 12px;color:var(--ui-secondary, #505b55);line-height:1.55}
.format-sample,.record-reading{margin:12px 0 18px;padding:6px 0 10px;min-width:0}
.format-sample>small,.record-reading>small{font-size:13px;color:var(--ui-link, #186b50);font-weight:650}
.format-sample h3,.record-reading h3{margin:6px 0 12px;font-size:18px}
.format-sample p,.record-reading dd{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65}
.format-sample dl,.record-reading dl{margin:0}
.format-sample dl>div,.record-reading dl>div{display:grid;grid-template-columns:minmax(80px,1fr) minmax(0,2fr);gap:8px 14px;border-bottom:1px solid #e1e6ed;padding:8px 0}
.format-sample dd,.record-reading dd{margin:0}.format-sample dt,.record-reading dt{font-weight:600}
.task-orientation{display:flex;flex-wrap:wrap;align-items:start;gap:8px 30px;margin:8px 0 18px;border-block-end:1px solid #d9e2ed;padding:0 0 12px;color:var(--ui-text, #272c2a)}
.task-orientation small{color:var(--ui-secondary, #505b55);font-weight:600}.task-orientation p{margin:.2em 0;line-height:1.55}
.result-waypoints,.task-orientation nav{display:flex;gap:12px;flex-wrap:wrap}
.read-jump{background:transparent;border:0;padding:5px 0;font-weight:600;text-align:start;cursor:pointer}
.task-orientation+.delivery-sections,.task-orientation+.section-index{margin-top:0}
@media(max-width:600px){.task-orientation{display:grid;gap:5px}.format-sample dl>div,.record-reading dl>div{grid-template-columns:minmax(60px,.85fr) minmax(0,1.5fr)}.delivery-command .btn{max-width:100%}}
.model-waypoints{display:flex;flex-wrap:wrap;align-items:center;gap:4px 16px;margin:8px 0 16px}
.model-waypoints .model-version-date{display:inline-block;white-space:nowrap}.model-action-reason:not([hidden]){display:block;line-height:1.6;margin:6px 0;color:var(--ui-secondary, #505b55)}
@media(max-width:600px){.model-waypoints .read-jump{max-width:100%;display:inline-block;min-height:44px}.model-waypoints{gap:4px}}

.video-model-shortcuts{display:flex;flex-wrap:wrap;gap:0 16px;margin:0 0 10px}.video-model-shortcuts .read-jump{display:inline-block;max-width:100%;overflow-wrap:anywhere;text-align:left}.video-model-shortcuts .model-version-date{display:inline-block;white-space:nowrap;word-break:normal}
