/* Product sheet: functional hierarchy, no mixed sample-image placeholders. */
.product-sheet { min-width:0; }
.source-paths { border:0;padding:0;margin:20px 0;min-width:0; }
.source-paths legend { font-size:15px;font-weight:550;margin-bottom:10px; }
.source-choices { display:grid;gap:8px; }
.source-choice { padding:13px 16px;text-align:left;background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:10px;min-height:64px; }
.source-choice strong,.source-choice span { display:block;line-height:1.5; }
.source-choice strong { font-size:14px; }.source-choice span { font-size:12px;color:var(--muted); }
.source-choice[aria-pressed="true"] { border-color:var(--green);box-shadow:inset 4px 0 var(--green);background:#edf3e6; }
#source-help { margin-top:12px; }
.material-inputs { display:flex;flex-wrap:wrap;gap:10px;margin-bottom:10px; }
.material-inputs .btn { flex:1;white-space:normal;min-width:100px;min-height:44px; }
#construction-inputs { margin:16px 0; }#construction-inputs[hidden]{display:none}
#construction-inputs .check { margin-top:12px; }
.photo-summary { color:var(--muted);font-size:12px;margin:14px 0; }
.photo-editor { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:24px; }
.photo-tile { position:relative;min-width:0;border:1px solid var(--line);border-radius:12px;background:#fff;padding:8px; }
.photo-format-fallback { display:flex;flex-direction:column;justify-content:center;gap:10px;aspect-ratio:1;background:#edf3e6;color:#244b3c;border-radius:8px;padding:12px;text-align:center; }
.photo-format-fallback small { font-size:12px;line-height:1.4; }
.catalog-pager { margin:24px 0; }
.photo-tile img { width:100%;height:auto;aspect-ratio:1;object-fit:contain;background:#f2f4ed;border-radius:6px; }
.photo-tile figcaption { font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:7px 0; }
.photo-tile select { font-size:12px;padding:8px 4px;width:100%; }
.photo-remove { width:100%;min-height:40px;color:#9d3939;background:#fff5f3;border-radius:7px;margin-top:7px; }
.reference-tile { display:flex;align-items:center;gap:12px;flex-wrap:wrap; }
.reference-tile img { object-fit:contain;border-radius:10px; }
.reference-tile span { overflow-wrap:anywhere;flex:1;min-width:100px; }
.style-options { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:16px; }
.style-option { display:grid;grid-template-columns:1fr auto;gap:12px;text-align:left;align-content:start;padding:16px;border:1px solid var(--line);border-radius:12px;background:white;min-width:0; }
.style-option > span:nth-child(2) { grid-column:1 / -1;grid-row:2;min-width:0; }
.style-option strong { display:block;font-size:14px;line-height:1.35; }
.style-option small { display:block;font-size:12px;line-height:1.5;color:var(--muted);margin-top:6px; }
.style-option.selected { border:2px solid var(--green);padding:15px;background:#f0f5e9; }
.style-check { color:var(--green);font-size:20px;line-height:1; }
.style-swatch { display:flex;gap:4px;align-items:center;height:18px;--c1:#244b3c;--c2:#d0ee83;--c3:#edf1e8; }
.style-swatch i { width:20px;height:12px;border-radius:4px;background:var(--c1);border:1px solid #0001; }
.style-swatch i:nth-child(2){background:var(--c2)}.style-swatch i:nth-child(3){background:var(--c3)}
.swatch-warm_editorial{--c1:#716c43;--c2:#d7c4a1;--c3:#f8edd9}.swatch-light_architectural{--c1:#39434a;--c2:#a9b5a5;--c3:#f3f3eb}.swatch-evening_luxury{--c1:#382e27;--c2:#827350;--c3:#e5dac7}.swatch-clean_product{--c1:#465e61;--c2:#c4d7d2;--c3:#e6eeeb}.swatch-precision{--c1:#263644;--c2:#92aebc;--c3:#e5ebed}.swatch-beauty{--c1:#855458;--c2:#dcada3;--c3:#f6e7df}.swatch-bold{--c1:#513d94;--c2:#ee785a;--c3:#ecdc58}.swatch-fashion{--c1:#3e3332;--c2:#b79b8b;--c3:#e6d7cc}
.facts-heading { display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:8px; }
#facts-note { margin-bottom:12px; }
.fact-row { display:grid;grid-template-columns:minmax(80px,1fr) minmax(80px,1.4fr) 58px 36px;gap:6px;margin-bottom:10px; }
.fact-row input { padding:9px 7px;font-size:13px; }
.fact-remove { border:1px solid var(--line);background:#fff;border-radius:9px;font-size:22px;color:#9d3939; }
.workflow-help { padding:18px;background:#edf3e6;border-radius:12px;font-size:13px; }
.workflow-help p { margin:8px 0 0;line-height:1.6; }
#form-message { margin-top:20px;white-space:pre-wrap; }
.saving { cursor:progress; }
.product-library { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px; }
.library-card { border:1px solid var(--line);border-radius:16px;padding:24px;min-width:0;background:white; }
.library-heading { display:flex;gap:18px;align-items:flex-start;min-width:0; }
.library-heading > div { min-width:0; }
.library-heading h2 { font-size:22px; }
.library-heading img,.no-product-photo { width:80px;height:100px;object-fit:contain;flex:none;background:#f0f2e9;border-radius:9px; }
.no-product-photo { display:grid;place-items:center;font-size:11px;color:var(--muted); }
.library-heading .btn { margin:10px 0; }
.library-plans { border-top:1px solid var(--line);margin-top:18px; }
.library-plans a { display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:15px 0;border-bottom:1px solid var(--line);font-size:12px; }
.library-plans span { color:var(--muted); }
.jobs-panel { margin-top:30px; }
.task-entry { display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:18px 0;border-bottom:1px solid var(--line); }
.task-entry > div { min-width:0; }.task-entry .status { margin-left:10px; }.task-entry p { margin-top:8px; }
.library-card[hidden],#search-empty[hidden],#form-message[hidden]{display:none!important}
@media(max-width:1100px){.photo-editor{grid-template-columns:repeat(2,minmax(0,1fr))}.style-options{grid-template-columns:1fr}.fact-row{grid-template-columns:minmax(75px,1fr) minmax(85px,1.3fr) 52px 32px}}
@media(max-width:720px){.style-options{grid-template-columns:repeat(2,minmax(0,1fr))}.style-option{padding:13px}.style-option.selected{padding:12px}.product-library{grid-template-columns:1fr}.photo-editor{grid-template-columns:repeat(3,minmax(0,1fr))}.fact-row{grid-template-columns:minmax(80px,1fr) minmax(90px,1.2fr) 55px 36px}.form-bottom .toolbar{display:grid;width:100%;grid-template-columns:1fr}.form-bottom .btn{width:100%}.photo-tile select,.fact-row input{font-size:16px}.photo-remove,.fact-remove{min-height:44px}.library-card{padding:18px}}
@media(max-width:430px){.photo-editor{grid-template-columns:repeat(2,minmax(0,1fr))}.style-options{grid-template-columns:1fr}.fact-row{grid-template-columns:minmax(0,1fr) 65px 40px;padding:10px;background:#eef2e8;border-radius:10px}.fact-row [data-fact-label]{grid-column:1 / 3}.fact-row [data-fact-value]{grid-column:1;grid-row:2}.fact-row [data-fact-unit]{grid-column:2;grid-row:2}.fact-remove{grid-column:3;grid-row:1 / 3}.library-heading{gap:12px}.library-heading h2{font-size:20px}.task-entry .toolbar{width:100%}.task-entry .btn{flex:1}}
