.commerce-panel{min-width:0}.commerce-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:18px 0}.commerce-toolbar input{flex:1;min-width:180px}.commerce-table-wrap{max-width:100%;overflow:auto;margin:14px 0}.commerce-table{border-collapse:collapse;width:100%;min-width:720px;font-size:13px}.commerce-table td,.commerce-table th{padding:12px 10px;border-bottom:1px solid var(--line,#dce4e2);text-align:left;vertical-align:top}.commerce-table th{background:#edf3f1;white-space:nowrap}.commerce-table td small{display:block;color:#687977;margin-top:5px}.commerce-table button{white-space:nowrap}.commerce-dialog{width:min(1080px,95vw);max-height:92vh;border:0;border-radius:16px;padding:28px;overflow:auto;color:#223e38}.commerce-dialog::backdrop{background:#102b2699}.commerce-dialog .dialog-close{position:sticky;top:0;float:right;z-index:2}.commerce-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:16px 0}.commerce-form-grid label,.commerce-dialog label{display:grid;gap:7px;min-width:0}.commerce-form-grid input,.commerce-form-grid select,.commerce-form-grid textarea,.commerce-dialog input,.commerce-dialog textarea,.commerce-dialog select{width:100%;box-sizing:border-box;border:1px solid #cbd8d4;border-radius:7px;padding:10px;color:inherit;background:#fff}.commerce-form-grid .wide{grid-column:1/-1}.commerce-item{display:grid;grid-template-columns:minmax(220px,2fr) minmax(130px,1fr) 80px 110px 80px 44px;gap:10px;align-items:end;padding:14px 0;border-bottom:1px solid #dae4df}.commerce-item button{padding:8px}.commerce-total{padding:16px;background:#edf6f1;border-radius:9px;line-height:1.9;margin:18px 0}.commerce-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:18px 0}.commerce-actions input[type=file]{max-width:340px}.commerce-error{color:#ad3030;white-space:pre-wrap;line-height:1.5}.commerce-note{color:#687977;font-size:13px;line-height:1.6}.commerce-detail pre,.feedback-box pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;line-height:1.8}.commerce-company{border:1px solid #d3dfda;border-radius:10px;padding:16px;margin:14px 0}.commerce-company h3{margin:0}.commerce-company .commerce-form-grid{margin-bottom:0}.accessory-editor{border:1px solid #d3dfda;border-radius:10px;margin:12px 0;padding:12px}.accessory-editor summary{cursor:pointer;line-height:1.8}.accessory-editor summary small{color:#687977;margin-left:12px}.accessory-editor textarea{width:100%;min-height:130px;box-sizing:border-box}.commerce-alert{background:#f8f1de;border:1px solid #e5cb85;border-radius:10px;padding:12px 16px;margin:14px 0}.commerce-alert button{margin:5px}.survey-card{max-width:650px;margin:60px auto;padding:30px;background:#fff;border:1px solid #e0e7e4;border-radius:16px}.survey-card h1{font-size:32px}.survey-card fieldset{border:0;padding:0;margin:28px 0}.survey-card legend{font-size:18px;font-weight:700;margin-bottom:14px}.survey-card .rating-choice{display:flex;gap:12px;align-items:center;padding:14px;border:1px solid #dbe5e1;border-radius:8px;margin:10px 0;cursor:pointer}.survey-card input{width:auto}.survey-card textarea{display:block;width:100%;box-sizing:border-box;padding:14px;margin:12px 0 20px;border:1px solid #cbd8d4;border-radius:8px}.feedback-box{border-top:1px solid #dbe5e1;margin-top:20px;padding-top:14px}.survey-share input{width:100%;padding:10px;box-sizing:border-box;margin:10px 0}.commerce-dialog .check-row{display:flex;gap:8px;align-items:center}.commerce-dialog .check-row input{width:auto}.commerce-panel .check-row{display:flex;align-items:center;gap:8px}.commerce-panel .check-row input{width:auto}.commerce-panel .commerce-form-grid input{width:100%}[hidden]{display:none!important}@media(max-width:700px){.commerce-form-grid{grid-template-columns:1fr}.commerce-item{grid-template-columns:1fr 1fr}.commerce-item label:first-child{grid-column:1/-1}.commerce-dialog{padding:16px;max-width:95vw}.survey-card{margin:20px 12px;padding:22px}.commerce-toolbar input{min-width:100px}.commerce-actions{align-items:stretch}.commerce-actions>*{max-width:100%}}

.catalog-contract-item.has-screen-sizes{grid-template-columns:minmax(190px,2fr) minmax(105px,1fr) 105px 66px 105px 70px 38px}.catalog-contract-item .contract-size-note{grid-column:1/-1;margin:0}.commerce-item label{min-width:0}.screen-config{margin:14px 0;padding:14px;background:#f0f6f3;border:1px solid #d3e1d9;border-radius:10px}.screen-config [data-screen-summary]{font-size:12px;color:#456d58;margin-left:8px;white-space:normal}.screen-size-options{display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:8px;max-height:260px;overflow:auto;padding:4px}.commerce-dialog .screen-size-options label{display:flex;align-items:center;gap:6px;border:1px solid #d0dfd7;background:#fff;padding:8px;border-radius:6px;cursor:pointer;font-size:13px}.commerce-dialog .screen-size-options input{width:auto;margin:0;accent-color:#1c6a50}.screen-size-options label:has(input:checked){background:#dcefe4;border-color:#4e9676}.screen-extra{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin-top:14px}.screen-extra label{flex:1;min-width:180px}.screen-extra button{min-height:40px}@media(max-width:850px){.catalog-contract-item.has-screen-sizes{grid-template-columns:repeat(3,minmax(0,1fr))}.catalog-contract-item.has-screen-sizes label:first-child{grid-column:1/-1}}@media(max-width:500px){.catalog-contract-item.has-screen-sizes{grid-template-columns:repeat(2,minmax(0,1fr))}.screen-config{padding:10px}.screen-extra{align-items:stretch}.screen-extra label{flex-basis:100%}}

.admin-delete-button{color:#aa3030!important;border-color:#dfb2ae!important;margin:4px;white-space:nowrap}.admin-delete-dialog{width:min(620px,95vw)}.admin-delete-dialog pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;line-height:1.9}.admin-delete-impact{padding:14px;border:1px solid #edd3cd;border-radius:8px;background:#fff5f2;color:#8c3430;line-height:1.8}.delete-confirm{background:#aa3030;color:#fff;border:1px solid #aa3030}.admin-delete-notice{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:10000;padding:14px 20px;border-radius:9px;background:#174d43;color:#fff;max-width:90vw;box-shadow:0 3px 15px #0003}.admin-delete-dialog [disabled]{opacity:.5;cursor:wait}@media(max-width:600px){.admin-delete-dialog{padding:16px}.admin-delete-notice{width:85vw;bottom:18px}.staff-record:has(.admin-delete-button){flex-wrap:wrap}}

.settlement-filter{display:flex;align-items:center;gap:8px;font-size:13px;color:#45556c}.settlement-filter select{min-width:200px;padding:10px;border:1px solid #d6dfeb;border-radius:8px;background:white}.settlement-badge{display:table;border-radius:6px;padding:4px 8px;margin:6px 0;font-size:12px;font-weight:600;background:#f0f3f7;color:#52647a}.settlement-full{background:#e5f5ec;color:#216345}.settlement-installment{background:#fff3d9;color:#8b5e14}.settlement-unpaid_shipped{background:#ffe8e5;color:#a12f24}.unpaid-shipment-reason{padding:16px;border:1px solid #ecd2a6;border-radius:10px;background:#fff9ed;margin:16px 0}.preserve-lines{white-space:pre-wrap;overflow-wrap:anywhere}#unpaidShipmentForm textarea{min-height:120px;width:100%}@media(max-width:600px){.settlement-filter{width:100%}.settlement-filter select{flex:1;min-width:0}}
