/* Shared controls and layouts; descriptive copy may wrap, action labels may not. */
.composer-panel input:not([type=checkbox]),.composer-panel select,.composer-panel textarea{box-sizing:border-box;min-width:0;max-width:100%;border:1px solid var(--line);border-radius:9px;background:#111115;color:var(--text);font:inherit;font-size:14px;padding:10px 11px;min-height:42px}
.composer-panel textarea{width:100%;line-height:1.6}.composer-panel label{font-size:14px;line-height:1.5}
.v080-consent input[type=checkbox],.production-card input[type=checkbox],.storage-tools input[type=checkbox],.storage-row input[type=checkbox]{width:18px!important;height:18px!important;min-width:18px;flex:0 0 18px;padding:0;margin:3px 0 0;accent-color:var(--accent)}
.v080-consent{align-items:flex-start!important;gap:10px!important}.v080-consent input+span{min-width:0}
.page-heading{gap:16px;flex-wrap:wrap;align-items:flex-start}.page-heading>div:first-child{flex:1 1 300px;min-width:0}.page-heading>button{flex:0 0 auto}.page-heading h1{overflow-wrap:break-word}
.ghost,.primary,.view-switch button,.asset-type-filter button,.production-row-actions button{white-space:nowrap;line-height:1.4}.ghost,.primary{min-height:42px;font-size:14px}.ghost.compact{min-height:32px;font-size:12px}
.composition-task{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto;align-items:start!important}.composition-task>span{min-width:0;overflow-wrap:anywhere}.composition-task .clip-trim{grid-column:2/-1;display:flex;gap:10px}.composition-task button{white-space:nowrap;flex-shrink:0;width:auto;min-width:max-content;height:auto;min-height:34px}.composition-task .source-moves{display:flex;gap:5px;flex-wrap:wrap}
.production-asset{display:flex;flex-direction:column;padding:14px}.production-asset .asset-copy{display:flex;flex:1;flex-direction:column;gap:10px;min-width:0;padding:14px 4px 4px}
.production-asset .asset-copy header{align-items:flex-start;gap:10px;flex-wrap:wrap}.production-asset header strong{flex:1 1 120px;min-width:0;overflow-wrap:anywhere;line-height:1.5}.production-asset header span{flex:0 0 auto;white-space:nowrap;font-size:12px}
.production-asset p{margin:0;min-height:0;line-height:1.65;font-size:13px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;color:#b7b7c1}
.production-asset .asset-copy footer{margin-top:auto;padding-top:8px;display:flex;flex-direction:column;align-items:stretch;gap:10px;font-size:12px;color:#a3a3b0}.production-asset footer>span:first-child{overflow-wrap:anywhere}.production-asset footer>span:last-child{display:flex;gap:6px;flex-wrap:wrap}.production-asset-grid.list-mode .asset-copy{padding:4px 8px}.production-asset-grid.list-mode .asset-copy footer{flex-direction:row;align-items:center;flex-wrap:wrap}
.asset-cover-fallback{font-size:16px!important;gap:8px;color:#b0b8c8!important;align-content:center}.asset-cover-fallback .asset-category-icon{font-size:32px}.asset-cover-fallback small{font-size:12px;color:#9ca5b7}
.asset-info small{display:block;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;line-height:1.65;color:#acacb8}.asset-info strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.asset-preview-dialog .dialog-head button{width:36px;height:36px;border:1px solid var(--line);border-radius:8px;background:#17171d;color:#c9c9d2;font-size:22px;line-height:1;flex:0 0 36px}.asset-preview-details p{font-size:14px;line-height:1.7;margin:12px 0}
.field-help,.file-selection-name{font-size:12px;line-height:1.6;color:#a4a4b0;overflow-wrap:anywhere}.file-selection-control{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:7px}.file-selection-control button{flex:0 0 auto}
.notice,.page-intro{line-height:1.65}.danger-outline{color:#ff9e95;border-color:#a04b47}.storage-tools{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.storage-tools label,.storage-row label{display:flex;gap:10px;align-items:flex-start;overflow-wrap:anywhere}.storage-row{padding:14px 0;border-bottom:1px solid var(--line)}.storage-row small{display:block;line-height:1.65;margin:8px 0 0 28px;color:#a2a2b0}
button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #ff9474;outline-offset:3px}button:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:700px){.composition-task{grid-template-columns:auto minmax(0,1fr)}.composition-task>button,.composition-task .source-moves{grid-column:2}.composition-task .clip-trim{grid-column:1/-1}.asset-type-filter button{flex:0 0 auto}.page-heading>button{max-width:100%}.production-asset-grid.list-mode .production-asset{display:flex}.storage-tools>*{max-width:100%}}

input[type=file][hidden]{display:none!important}

.professional-panel{margin-top:24px}.professional-fields{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin:12px 0}.professional-fields label{display:flex;flex-direction:column;gap:6px;min-width:110px;max-width:260px}.professional-fields input{max-width:100%}.professional-panel pre{white-space:pre-wrap}

.professional-panel input:not([type=checkbox]),.professional-panel select,.professional-panel textarea,.professional-fields input:not([type=checkbox]),.professional-fields select{background:#111115;color:var(--text);border:1px solid var(--line);border-radius:8px;padding:9px;box-sizing:border-box;min-height:40px} .professional-fields label:has(input[type=checkbox]){flex-direction:row;align-items:center}.professional-fields input[type=checkbox]{width:18px!important;height:18px!important}.candidate-row{flex-wrap:wrap;gap:10px}.candidate-row .notice{flex-basis:100%}

.composition-task>[data-reference-extract]{grid-column:2/-1;justify-self:start}#productionAssetDescriptionLabel,#productionAssetOwnerLabel,#productionAssetStateLabel{white-space:nowrap;line-height:1.5;font-size:14px}.timeline-clip{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.timeline-clip strong{flex-basis:100%}

/* pro6.2: readable cost categories on narrow screens. */
.queue-row.server-queue-row>div:first-child{min-width:0}
.server-queue-row small,.server-task small,.candidate-row small,.connection-summary small{display:block;white-space:normal;overflow-wrap:anywhere;line-height:1.5}
@media(min-width:1181px){.queue-overview{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}}
