.opening-details{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,280px);gap:16px;padding:18px;background:#faf6f1;border:1px solid #e7dcd0;border-radius:16px;min-width:0}
.opening-facts{display:grid;gap:12px}.opening-details label,.material-workbench label{display:grid;gap:6px;min-width:0}.opening-details input,.opening-details select,.opening-details textarea,.material-workbench input,.material-workbench select{box-sizing:border-box;width:100%;min-width:0;border:1px solid #d6c9bb;border-radius:8px;padding:10px;background:#fffdfa;color:#483b32;font:inherit}
.opening-details input[type=file]{max-width:100%;font-size:13px}.opening-details small{line-height:1.5}.opening-scheme{width:100%;max-width:300px;color:#8c7360;font:12px sans-serif}.opening-photos{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:12px}.opening-photos:empty{display:none}.opening-photos figure{margin:0;width:150px;max-width:100%;overflow-wrap:anywhere}.opening-photos img{width:150px;height:110px;object-fit:cover;border-radius:10px}.opening-photos figcaption{font-size:12px;margin:6px 0}.opening-summary{border-top:1px solid #e7dcd0;padding:18px 0}.opening-summary h4{margin:0 0 12px}.opening-summary-body{display:grid;grid-template-columns:minmax(160px,250px) 1fr;gap:20px}
.material-workbench{margin:24px 0;min-width:0}.material-line{border:1px solid #decec1;border-radius:16px;padding:20px;margin:20px 0;min-width:0;background:#fffcf8}.material-line legend{padding:0 8px;font-weight:600;color:#745a47}.material-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.material-line>label{margin:14px 0}.material-workbench .field-note{font-size:13px;line-height:1.6;overflow-wrap:anywhere}.material-result{padding:16px;border-radius:12px;background:#f1e9df;margin:14px 0;line-height:1.6}.material-result strong{font-size:22px;color:#5d4939}.material-result p{margin:6px 0}.material-confirm{display:flex!important;align-items:flex-start;gap:12px!important;line-height:1.5;margin:18px 0}.material-confirm input{width:20px;height:20px;flex:0 0 20px}.material-workbench [role=alert],.opening-details [role=alert]{color:#963c37}.customer-project-overview{padding:22px;border-radius:18px;background:#f6eee5;border:1px solid #e7d7c6;margin:18px 0}.customer-project-overview h3{margin:0}.customer-project-overview nav{display:flex;gap:8px;flex-wrap:wrap}.material-source-note{grid-column:1/-1;padding:12px;background:#f3eee7;border-radius:10px}
@media(max-width:680px){.opening-details,.opening-summary-body,.material-fields{grid-template-columns:minmax(0,1fr)}.material-line{padding:12px}.opening-details{padding:12px}.opening-scheme{max-width:260px}.material-workbench .intake-actions{display:flex;flex-wrap:wrap}.material-workbench .intake-actions button{white-space:normal}.opening-details .row-action{white-space:normal}.opening-photos figure{width:120px}.opening-photos img{width:120px;height:100px}}
