/* One toolbar per workspace; data scrolls below it, never behind its commands. */
.studio-overlay.export-overlay{width:min(760px,calc(100vw - 24px));max-height:90vh}
.export-overlay[open]{display:flex;flex-direction:column;overflow:hidden}
.export-overlay>.overlay-header,.export-overlay>.overlay-help,.export-options,.export-footer{flex:none}
.export-overlay>.overlay-header{margin-bottom:0}
.export-options label{margin:0}
.export-review{min-height:60px;overflow:auto;overscroll-behavior:contain;border:1px solid #d4e0e5;border-radius:5px;padding:12px;overflow-wrap:anywhere}
.export-review-status{margin:0;padding:9px 10px;background:#e3f1eb;border-radius:4px;font-weight:600;color:#21675f}
.export-review-status[data-export-state=review]{background:#fff4df;color:#80561c}
.export-review-status[data-export-state=blocked]{background:#fbeaea;color:#a32626}
.export-review-group{padding:10px 0;border-top:1px solid #e1e9ec}
.export-review-group h3{margin:0;font-size:13px}.export-review-group h3 small{font-weight:400;color:#617984}
.export-review-group[data-export-group=blockers]:has(li) h3{color:#a32626}
.export-review-group ul{list-style:none;padding:0;margin:8px 0 0}
.export-review-group li{display:flex;gap:8px;align-items:baseline;margin:7px 0;font-size:12px;line-height:1.5}
.export-item-count{flex:none;min-width:24px;padding:0 4px;border-radius:3px;background:#edf3f5;text-align:center;font-variant-numeric:tabular-nums}
.export-loss{display:flex;align-items:flex-start;gap:8px;line-height:1.45}.export-loss input{flex:none;margin:2px 0;accent-color:#167f70}
.studio-overlay .dialog-actions .export-primary{background:#167f70;color:#fff;border-color:#167f70}
.studio-overlay .dialog-actions button:disabled{opacity:.45;cursor:default}
.export-overlay :focus-visible{outline:2px solid #167f70;outline-offset:2px}
.quantity-mode-control{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.quantity-mode-control select{max-width:100%;min-width:0;border:1px solid #c3d2d8;border-radius:4px;padding:6px;background:#fff;color:#28414f;font:inherit}
.breakdown-quantity-help{font-size:11px;line-height:1.5;color:#617984;margin:0 0 10px}
.top-actions #exportButton{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:32px;padding:7px 10px;border:1px solid #ffffff30;border-radius:5px;background:#ffffff09;color:#e4f0f3;font:inherit;font-size:11px;cursor:pointer}
.top-actions #exportButton:hover{background:#ffffff17}.top-actions #exportButton:disabled{opacity:.45;cursor:default}
@media(max-width:620px){.studio-overlay.export-overlay{max-height:94vh;max-height:94dvh}.export-review{padding:8px}.export-footer .dialog-actions button{min-height:40px}.quantity-mode-control select{font-size:16px;min-height:36px}.top-actions #exportButton{white-space:normal;max-width:112px;padding:6px;font-size:11px}}
@media(max-height:650px){.export-overlay[open]{display:block;overflow:auto}.export-review{max-height:35vh}}
@media screen and (min-width:621px) and (max-width:950px){.topbar{padding-block:7px}}
@media print{.breakdown-quantity-help{display:none!important}}
.panel-header{display:grid;grid-template-columns:minmax(90px,1fr) auto auto auto;align-items:center;gap:6px 10px}
.panel-tools{min-width:0}.view-editing-controls{grid-column:1/-1;margin:0;padding-top:6px;border-top:1px solid var(--line);font-size:12px}
.view-editing-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.view-editing-controls button,.element-toolbar button,.collection-order-list button,.calendar-exception-entry button,.exception-row button,.display-targets button{border:1px solid #cddce0;border-radius:4px;padding:6px 9px;background:#fff;color:#21675f;font:inherit;cursor:pointer}
.view-editing-controls button[aria-pressed=true],.calendar-toolbar button[aria-pressed=true]{background:#e3f1eb;border-color:#5b9c8e}
.view-editing-controls form{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:6px 0 0}
.view-editing-controls form label{display:flex;align-items:center;gap:5px;font-size:11px}.view-editing-controls form label:first-child{flex:1 1 240px}
.view-editing-controls input{min-width:0;max-width:100%;padding:5px 7px;border:1px solid #cddce0;border-radius:4px;background:#fff;color:#28414f}.view-editing-controls input[name=text]{flex:1}.view-editing-controls input[name=fontSize]{width:65px}.view-editing-controls input[name=estimateTimeA]{width:80px}
.app-header>.workspace-toolbar{margin:0;background:#edf3f5;padding:5px 14px;border-bottom:1px solid #d7e3e7;justify-content:flex-end}
.app-header .workspace-toolbar label{color:#28414f}.app-header .workspace-toolbar select{background:#fff;padding:5px 8px}
#boardView{padding-top:4px}
#boardEditingControls[hidden],#boardEditingControls button[hidden],.document-editor [hidden],.workspace-toolbar [hidden]{display:none!important}
/* The marker stays inside the strip and has a fixed screen width at every zoom. */
.strip-outer.strip-selected .strip-layout,.strip-outer.strip-selected .strip-mobile-summary{outline:calc(2px / var(--live-board-zoom,1)) solid var(--selection-color,#e3312e);outline-offset:calc(-2px / var(--live-board-zoom,1))}
.strip-outer.strip-selected::before{left:0;top:0;bottom:0;width:calc(4px / var(--live-board-zoom,1));max-width:calc(4px / var(--live-board-zoom,1));height:auto;border-radius:0;background:var(--selection-color,#e3312e);pointer-events:none}
#boardView.compact-board .strip-outer.strip-selected::before,#boardView.is-standard .strip-outer.strip-selected::before{width:4px;max-width:4px}
.calendar-strip.selected,.calendar-banner.selected{outline:2px solid var(--selection-color,#e3312e);outline-offset:-2px;box-shadow:inset 4px 0 var(--selection-color,#e3312e)}
.calendar-strip-row{display:flex;align-items:stretch;gap:4px;min-width:0}.calendar-strip-row>.calendar-strip,.calendar-strip-row>.calendar-banner{flex:1;min-width:0;width:0}
.calendar-strip-row>input{flex:none;align-self:center;width:14px;margin:0 2px;accent-color:var(--selection-color,#e3312e)}
.calendar-strip-row>input[hidden]{display:none!important}
/* All new windows use the same dialog component, dismissal and compact form grid. */
.studio-overlay{width:min(600px,calc(100vw - 24px));max-height:85vh;overflow:auto;margin:auto;padding:16px;border:1px solid #bdcdd3;border-radius:8px;background:#fff;color:#28414f;box-shadow:0 16px 70px #10252b55;box-sizing:border-box;font-size:13px}
.studio-overlay::backdrop{background:#112a386b}
.overlay-header{display:flex;align-items:center;gap:12px;padding-bottom:10px;margin-bottom:12px;border-bottom:1px solid var(--line)}.overlay-header h2{flex:1;font-size:17px;margin:0}.overlay-header>button{border:0;background:transparent;font-size:24px;color:#496673;cursor:pointer}
.studio-overlay label{font-size:12px}.studio-overlay input:not([type=checkbox]):not([type=radio]):not([type=color]),.studio-overlay select,.studio-overlay textarea{box-sizing:border-box;max-width:100%;min-width:0;border:1px solid #c3d2d8;border-radius:4px;background:#fff;color:#28414f;padding:7px;font:inherit}
.studio-overlay form>label,.overlay-form-grid>label{display:flex;flex-direction:column;gap:5px;margin:7px 0}
.studio-overlay fieldset{border:1px solid #d4e0e5;border-radius:5px;padding:10px;margin:10px 0;min-width:0}.studio-overlay legend{font-weight:600;font-size:12px}
.overlay-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 14px}.span-all{grid-column:1/-1}
.studio-overlay [role=alert]{color:#a32626;font-size:12px}.overlay-help{font-size:12px;line-height:1.45;color:#617984}
.studio-overlay .dialog-actions{display:flex;gap:8px;justify-content:flex-end;margin:14px 0 0}.studio-overlay .dialog-actions button{border:1px solid #bcd0d7;padding:8px 12px;border-radius:5px;background:#fff;color:#21675f;cursor:pointer}.studio-overlay .dialog-actions button[type=submit]{background:#167f70;color:#fff;border-color:#167f70}
.document-editor.studio-overlay{width:min(600px,calc(100vw - 24px));max-height:85vh;padding:16px}
.display-settings-overlay{width:min(780px,calc(100vw - 24px))}.display-targets{display:flex;gap:8px;margin-bottom:12px}.studio-overlay .options-row{display:flex;flex-direction:column;gap:10px;padding:0;margin:0;background:transparent}
.studio-overlay .options-row .control{width:100%;padding:0;flex:none!important}.studio-overlay .options-row select{width:100%}
.studio-overlay .print-options,.studio-overlay .report-options,.studio-overlay .visibility-options{display:flex;flex-wrap:wrap;gap:12px;margin:0;padding:10px;border:1px solid #d4e0e5;border-radius:5px}
.studio-overlay .strip-fields-picker,.calendar-visibility-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.studio-overlay .strip-fields-picker label{display:flex;gap:6px;align-items:center;overflow-wrap:anywhere}.studio-overlay .strip-fields-picker legend{grid-column:1/-1}
.strip-colors-overlay{width:min(1180px,calc(100vw - 24px))}.color-matrix-scroll{overflow:auto;max-width:100%;border:1px solid #d2dfe3}
.color-matrix{border-collapse:collapse;width:100%;min-width:850px;table-layout:fixed}.color-matrix th,.color-matrix td{padding:0;border:1px solid #bfcdd2}.color-matrix th:first-child{width:105px}
.color-matrix input{width:100%;border:0!important;border-radius:0!important;font-size:11px!important;padding:6px!important}.color-matrix button{width:100%;height:31px;border:0;cursor:pointer;text-align:left;font-size:11px;padding:5px}.color-matrix button[aria-pressed=true]{outline:3px solid #e3312e;outline-offset:-3px}
.color-edit-controls{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:12px 0}.color-edit-controls label{display:flex;align-items:center;gap:6px}.color-edit-controls input[type=color]{width:55px;height:30px;border:1px solid #c3d2d8;padding:1px}
.color-special-settings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.color-special-settings fieldset{margin:0}.color-special-settings label{display:flex;justify-content:space-between;align-items:center;gap:8px}.color-special-settings input[type=color]{width:40px;height:25px;padding:1px;border:1px solid #c3d2d8}
.calendar-exception-entry{display:flex;gap:6px;flex-wrap:wrap}.calendar-exception-entry input,.calendar-exception-entry select{flex:1 1 130px}.exception-row{display:flex;gap:8px;align-items:center;border-bottom:1px solid #edf1f3;padding:6px 0}.exception-row span{flex:1}
.collection-order-list>div{display:flex;gap:6px;align-items:center;padding:8px;border-bottom:1px solid #dfe8ec}.collection-order-list strong{flex:1;font-weight:500}
.element-toolbar{display:flex;gap:7px;align-items:center;flex-wrap:wrap;font-size:12px}.element-toolbar strong{margin-right:auto}.element-toolbar span{font-size:11px;color:#617984}.element-toolbar button:disabled{opacity:.4;cursor:default}
.element-catalog tr.selected{background:#fff1b4}.element-catalog input[type=checkbox]{width:15px;min-width:15px;accent-color:#167f70}.element-catalog td:first-child{width:30px}.element-catalog td:nth-child(2){width:100px}.element-catalog th button{border:0;background:transparent;padding:0;cursor:pointer;text-align:left;font:inherit;color:inherit;font-weight:700}
@media(max-width:950px){.panel-header{grid-template-columns:minmax(0,1fr) auto auto}.panel-tools{grid-column:1/-1;grid-row:2}.view-editing-controls{grid-row:3}#displaySettingsButton,#stripColorsButton{font-size:11px;padding:6px}}
@media(max-width:620px){.panel-header{padding:6px 7px;gap:5px}.view-editing-actions{gap:4px}.view-editing-actions button{padding:6px;font-size:11px;min-height:34px}.view-editing-controls form label:first-child{flex-basis:100%}.view-editing-controls input[name=text]{font-size:16px}.app-header>.workspace-toolbar{padding:4px 8px;min-height:32px}.workspace-toolbar select{max-width:190px}.studio-overlay{padding:12px}.studio-overlay input:not([type=checkbox]):not([type=radio]):not([type=color]),.studio-overlay select,.studio-overlay textarea{font-size:16px}.overlay-form-grid{grid-template-columns:1fr}.color-special-settings{grid-template-columns:1fr}.studio-overlay .strip-fields-picker,.calendar-visibility-options{grid-template-columns:1fr}.element-toolbar{gap:5px}.element-toolbar button{font-size:11px;padding:6px}.calendar-strip-row>input{width:18px;min-width:18px}}
@media print{.studio-overlay,.view-editing-controls,.app-header>.workspace-toolbar{display:none!important}.strip-outer.strip-selected .strip-layout,.strip-outer.strip-selected .strip-mobile-summary{outline:none!important}.strip-outer.strip-selected::before{display:none!important}}
.studio-overlay [hidden]{display:none!important}
.studio-overlay.studio-print-dialog{width:min(1200px,96vw);max-height:94vh}
@media(max-width:620px){
 .top-actions .upload span,.top-actions #printButton span{display:none}
 .top-actions .upload,.top-actions #printButton{min-width:28px;justify-content:center;flex:none;padding:6px}
 .top-actions #saveButton{white-space:nowrap;max-width:none;flex:none;padding:6px 8px}
 .top-actions #dirtyIndicator{min-width:0;max-width:64px;font-size:8px}
 .view-editing-actions{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;gap:4px}
 .view-editing-actions button{flex:none;font-size:11px;padding:5px 6px;white-space:nowrap}
}

/* Compact color matrix and legible grouped field choices. */
.strip-colors-overlay .overlay-header{padding-bottom:7px;margin-bottom:8px}.strip-colors-overlay .overlay-help{margin:5px 0}
.strip-colors-overlay .color-matrix button{height:25px;padding:3px 5px}.strip-colors-overlay .color-matrix input{padding:4px!important}
.strip-colors-overlay .color-edit-controls{margin:8px 0;gap:12px}.strip-colors-overlay .color-special-settings fieldset{padding:6px 9px}
.strip-colors-overlay .dialog-actions{margin-top:9px}
.studio-overlay .strip-fields-picker{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px 12px;padding:12px}
.studio-overlay .strip-fields-picker label{margin:0;padding:5px 7px;border-radius:4px;background:#f2f6f7;font-size:12px;min-height:30px}
.studio-overlay .strip-fields-picker input{flex:none;margin:0;accent-color:#167f70}
@media(max-width:620px){.studio-overlay .strip-fields-picker{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:8px}.studio-overlay .strip-fields-picker label{font-size:11px;padding:4px}}
.catalog-editor.studio-overlay{width:min(920px,calc(100vw - 24px))}
.catalog-editor .catalog-name{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:600}.catalog-name input{width:100%;font-size:16px!important}
.catalog-editor-tabs{display:flex;gap:5px;border-bottom:1px solid #d6e2e6;overflow-x:auto;margin:14px 0 12px}
.catalog-editor-tabs button{flex:none;background:none;border:0;padding:10px 8px;color:#296575;font-size:13px;cursor:pointer;border-bottom:3px solid transparent}
.catalog-editor-tabs button[aria-selected=true]{font-weight:700;border-bottom-color:#78b650;color:#16665b}
.catalog-editor [data-catalog-section]{min-height:150px}.catalog-option-grid,.catalog-property-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px}
.catalog-editor .catalog-check{display:flex;flex-direction:row;align-items:center;gap:8px}.catalog-check input{width:16px;height:16px;min-width:16px;margin:0;accent-color:#167f70}
.catalog-identity{display:grid;grid-template-columns:130px minmax(140px,1fr) auto auto;gap:12px;align-items:center}
.catalog-identity>label,.catalog-property-values>label{display:flex;gap:5px;flex-direction:column}
.catalog-editor textarea{width:100%;resize:vertical}.catalog-link-list{max-height:230px;overflow:auto;margin-top:8px}.catalog-link-list>div:nth-child(even){background:#f3f7f8}
.schema-row{display:grid;grid-template-columns:minmax(80px,1fr) 130px 30px 30px 30px;align-items:center;gap:6px;padding:8px 0;border-bottom:1px solid #e1e9ec}.catalog-editor button[data-schema-add]{margin:5px 0}
.schema-row button,.catalog-editor button[data-schema-add]{border:1px solid #c6d6dc;background:#fff;color:#21675f;border-radius:4px;min-height:30px}
.usage-summary{display:grid;grid-template-columns:max-content 1fr;gap:8px 16px}.usage-summary dd{margin:0}.catalog-editor .dialog-actions>[data-catalog-delete]{margin-right:auto;color:#a32626}
.catalog-groups{display:flex;gap:4px;margin-bottom:8px}.catalog-groups button{width:auto!important;padding:5px!important;border-bottom:2px solid transparent!important}.catalog-groups button[aria-pressed=true]{border-bottom-color:#78b650!important;font-weight:700}
.element-catalog{min-width:780px}.element-catalog td:nth-child(n+4):nth-child(-n+7){white-space:nowrap}.element-catalog td:nth-child(2){min-width:70px}.element-catalog td:nth-child(3){min-width:160px}
.red-flag-entry{padding:12px 0}.flag-category-control{display:flex;gap:10px;align-items:center;max-width:350px;margin-bottom:12px}.flag-category-control select{flex:1;min-width:0}
.red-flag-panels{display:grid;grid-template-columns:1fr 1fr 1fr;gap:18px}.flag-selection-heading{display:flex;justify-content:space-between;align-items:center;font-size:12px;gap:6px;margin-bottom:10px}
.red-flag-entry button,.flag-results button{border:1px solid #c9d9df;border-radius:4px;background:#fff;color:#21675f;cursor:pointer;padding:6px 9px;font:inherit;font-size:12px}
.flag-element-scroll{height:270px;overflow:auto;border:1px solid #d7e3e7}.flag-element-scroll th{position:sticky;top:0;background:#fff}.flag-element-scroll .flag-table{min-width:100%}
.flag-table input[type=checkbox]{width:16px;height:16px;accent-color:#167f70}.flag-table tr.selected{background:#fff8c5}
.flag-date-toolbar{display:flex;gap:7px;justify-content:center;margin-bottom:8px}.flag-date-toolbar input{min-width:0;max-width:150px}
.flag-date-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border:1px solid #d4e0e5}.flag-date-grid b{font-size:11px;text-align:center;padding:6px}
.flag-date-grid button{border:1px solid #e0e8eb;border-radius:0;min-height:38px;font-size:12px}.flag-date-grid button.selected{background:#167f70;color:#fff}
.flag-entry-form label{display:flex;flex-direction:column;gap:6px;margin:0 0 12px}.flag-entry-form textarea{width:100%;resize:vertical}.flag-entry-form>[data-flag-add]{width:100%;background:#167f70;color:#fff;padding:9px}
.flag-entry-form [role=alert]{color:#a32626;font-size:12px}.flag-mark{color:#e3312e}.flag-results-toolbar{display:flex;align-items:center;gap:9px;padding:12px 0;border-top:1px solid #d4e0e5}.flag-results-toolbar label{margin-left:auto}
@media(max-width:950px){.red-flag-panels{grid-template-columns:1fr 1fr}.flag-entry-form{grid-column:1/-1}.flag-entry-form textarea{min-height:60px}.catalog-identity{grid-template-columns:1fr 1fr}.catalog-option-grid{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.catalog-option-grid,.catalog-property-values{grid-template-columns:1fr}.schema-row{grid-template-columns:minmax(70px,1fr) 90px 25px 25px 25px;gap:3px}.catalog-identity{gap:8px}.red-flag-panels{grid-template-columns:1fr;gap:14px}.flag-entry-form{grid-column:auto}.flag-element-scroll{height:180px}.flag-results-toolbar{flex-wrap:wrap}.flag-results-toolbar label{margin-left:0}.catalog-editor-tabs button{font-size:12px}}
@media print{.red-flag-entry,.flag-results-toolbar,.flag-results button,.flag-results input[type=checkbox]{display:none!important}}
.red-flag-entry select,.red-flag-entry input[type=month],.red-flag-entry textarea,.flag-results-toolbar select{border:1px solid #c3d4db;border-radius:4px;padding:7px;background:#fff;color:#28414f;font:inherit;font-size:12px}
.flag-results .flag-table th button{padding:0;border:0;background:transparent;color:inherit;font-weight:700}
.studio-overlay [data-delete-confirm],.studio-overlay [data-catalog-delete-confirm],.studio-overlay [data-flag-delete-confirm]{background:#b43431!important;border-color:#b43431!important;color:#fff!important}
/* Shared searchable combobox for scalar fields and category requirements. */
.scene-choice-control{position:relative;display:flex;align-items:stretch;min-width:0;width:100%;border:1px solid #c2d4dc;border-radius:4px;background:#fff;box-sizing:border-box}
.inline-scene-fields .scene-choice-control input,.breakdown-category .scene-choice-control input,.document-editor .scene-choice-control input{flex:1;width:0;min-width:0;border:0;border-radius:4px;padding:5px 7px;margin:0;background:transparent;font:inherit;color:#28414f;box-sizing:border-box}
.scene-choice-control input:focus{outline:none}.scene-choice-control:focus-within{outline:2px solid #78b9ac;outline-offset:1px}
.scene-choice-control button{flex:none;width:25px;padding:0;border:0;background:transparent;color:#43778e;border-radius:0;font-size:15px;cursor:pointer}
.scene-choice-control button[hidden]{display:none!important}.scene-choice-control button:hover{background:#e8f2f5}
.breakdown-category>.scene-choice-control{width:calc(100% - 18px);margin:9px;min-height:30px;font-size:12px}
.category-quantity-heading{text-align:right;margin:0 11px 5px;font-size:9px;text-transform:uppercase;color:#738993;letter-spacing:.03em}
.inline-scene .breakdown-element input.daily-quantity-check{width:16px;height:16px;min-width:16px;accent-color:#167f70;padding:0;margin:0 4px}
.scene-choice-popup{position:fixed;z-index:2000;display:flex;flex-direction:column;background:#fff;border:1px solid #92bfce;border-radius:4px;box-shadow:0 4px 15px #17354035;box-sizing:border-box;overflow:hidden;color:#233c49;font-size:13px}
.scene-choice-popup[hidden]{display:none!important}.scene-choice-list{overflow:auto;min-height:0;overscroll-behavior:contain}
.scene-choice-popup>[data-choice-more]{flex-shrink:0;width:100%;min-height:32px;border:0;border-top:1px solid #d9e1e5;background:#f3f8f9;color:#0c766a;font:inherit;cursor:pointer}
.scene-choice-popup>[data-choice-more]:hover{background:#e4f0ee}
.scene-choice-option{border-bottom:1px solid #e7edef}.scene-choice-option.chosen{background:#fffbd4}.scene-choice-option.highlighted{background:#fff8bb}
.scene-choice-option>button{display:block;width:100%;text-align:left;padding:10px 12px;min-height:38px;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer;overflow-wrap:anywhere}
.scene-choice-option>label{display:flex;align-items:center;gap:8px;margin:0;padding:9px 12px;min-height:38px;box-sizing:border-box;cursor:pointer}
.scene-choice-option input[type=checkbox]{flex:none;width:16px;height:16px;accent-color:#167f70;margin:0}
.scene-choice-option .scene-choice-add{color:#157b9a;font-weight:600}.scene-choice-empty{font-size:12px;padding:9px 12px;margin:0}
@media(max-width:620px){.inline-scene-fields .scene-choice-control input,.breakdown-category .scene-choice-control input{font-size:16px;min-height:36px}.scene-choice-control button{width:29px}.scene-choice-popup{font-size:14px}.scene-choice-option>button,.scene-choice-option>label{min-height:42px}.scene-choice-control input{touch-action:manipulation}}
@media print{.scene-choice-popup{display:none!important}}
.inline-scene .breakdown-categories{grid-template-columns:repeat(auto-fit,minmax(min(270px,100%),1fr));gap:12px;align-items:start}
.inline-scene .breakdown-element{flex-wrap:nowrap;gap:7px;align-items:center}.inline-scene .breakdown-element strong{flex:1;min-width:0;overflow-wrap:anywhere}
.inline-scene .breakdown-element input[type=number]{flex:none;width:43px}.inline-scene .breakdown-element>button{flex:none;width:18px;padding:0}

/* Production Info is edited directly, using the workspace field controls. */
.production-info-panel{padding:20px;max-width:1400px;margin:0 auto;color:#28414f}
.production-edit-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 28px}
.production-edit-fields .production-field{display:grid;grid-template-columns:140px minmax(0,1fr);align-items:start;gap:8px;margin:0;min-width:0}
.production-field>span{padding-top:9px;font-size:11px;color:#627986}
.production-field input,.production-field select,.production-field textarea{min-height:32px;padding:6px 8px;font:inherit;font-size:13px;box-sizing:border-box;width:100%;min-width:0;border:1px solid #d4dfe3;border-radius:4px;background:#fff;color:#28414f}
.production-field select:focus{outline:2px solid #78b9ac;outline-offset:1px}
.production-field textarea{resize:vertical;min-height:72px}
.production-field [aria-invalid=true]{border-color:#a32626}
@media(max-width:900px){.production-edit-fields{gap:12px 18px}.production-edit-fields .production-field{grid-template-columns:110px minmax(0,1fr)}}
@media(max-width:620px){.production-info-panel{padding:12px}.production-edit-fields{grid-template-columns:1fr;gap:12px}.production-edit-fields .production-field{grid-template-columns:1fr;gap:4px}.production-field>span{padding-top:0}.production-field input,.production-field select,.production-field textarea{font-size:16px;min-height:36px}}
