.quote-desk-dialog{width:min(1120px,96vw);height:min(820px,92vh);padding:0;border:0;border-radius:18px;background:#f5f7f8;color:#12242d;box-shadow:0 28px 90px rgba(4,20,29,.42)}
.quote-desk-dialog::backdrop{background:rgba(4,18,26,.72);backdrop-filter:blur(8px)}
.quote-desk-head{min-height:88px;display:flex;align-items:center;justify-content:space-between;padding:18px 24px;background:#071e29;color:#fff;border-bottom:3px solid #f2922f}.quote-desk-head small{color:#3ad5c8;font-size:9px;font-weight:900;letter-spacing:1.5px}.quote-desk-head h2{margin:3px 0 1px;font-size:25px}.quote-desk-head p{margin:0;color:#a8bbc3;font-size:10px}.quote-desk-head button,.quote-desk-detail header button{width:36px;height:36px;border:0;border-radius:50%;background:rgba(255,255,255,.1);color:#fff;font-size:20px}
.quote-desk-controls{display:grid;grid-template-columns:minmax(230px,1fr) minmax(150px,.55fr) 170px auto;gap:10px;padding:15px 20px;background:#fff;border-bottom:1px solid #dce3e6}.quote-desk-controls label{display:grid;gap:4px;color:#5d6d75;font-size:9px;font-weight:800}.quote-desk-controls input,.quote-desk-controls select{height:38px;border:1px solid #cbd5da;border-radius:9px;padding:0 11px;background:#fff}.quote-desk-controls button{align-self:end;height:38px;border:1px solid #b9c7cd;border-radius:9px;background:#edf3f5;padding:0 17px;font-weight:800}
.quote-desk-stats{display:flex;gap:8px;padding:10px 20px;overflow:auto;background:#eef3f5}.quote-desk-stats span{white-space:nowrap;padding:6px 10px;border-radius:999px;background:#fff;font-size:9px}.quote-desk-stats b{font-size:11px}
.quote-desk-body{height:calc(100% - 184px);display:grid;grid-template-columns:minmax(360px,1fr) minmax(360px,.9fr);min-height:0}.quote-desk-list{padding:15px 18px 30px;overflow:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;align-content:start}.quote-desk-card{padding:14px;border:1px solid #d5dfe3;border-radius:13px;background:#fff;box-shadow:0 4px 13px rgba(10,30,40,.05)}.quote-desk-card.active{border-color:#0db4a8;box-shadow:0 0 0 2px rgba(13,180,168,.16)}.quote-card-top{display:flex;justify-content:space-between;gap:8px;align-items:center}.quote-card-top time{color:#718087;font-size:8px}.quote-desk-card>strong,.quote-desk-card>small,.quote-desk-card>b,.quote-desk-card>code{display:block}.quote-desk-card>strong{margin-top:12px;font-size:15px}.quote-desk-card>small{min-height:14px;margin-top:2px;color:#66767d;font-size:9px}.quote-desk-card>b{margin-top:12px;font-size:10px}.quote-desk-card p{margin:4px 0 10px;color:#506067;font-size:9px}.quote-desk-card>code{overflow:hidden;text-overflow:ellipsis;color:#52666f;font-size:8px}.quote-desk-card>div:last-child{display:flex;gap:7px;margin-top:11px}.quote-desk-card button,.quote-desk-card a{border:0;border-radius:7px;background:#0d827a;color:#fff;padding:7px 9px;text-decoration:none;font-size:8px;font-weight:800}.quote-desk-card a{background:#e7eef1;color:#17313d}
.quote-status{display:inline-flex;align-items:center;border-radius:999px;padding:5px 8px;background:#e8eef1;color:#334a55;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.5px}.status-new{background:#fff0d8!important;color:#925411!important}.status-reviewing{background:#dff2ff!important;color:#17658c!important}.status-approved{background:#dff6e5!important;color:#17662f!important}.status-needs-changes{background:#ffe1e4!important;color:#9a2634!important}.status-closed{background:#e7e8eb!important;color:#555d66!important}
.quote-card-sheet-preview{display:flex;align-items:stretch;gap:5px;margin:-3px 0 10px}.quote-card-sheet-preview>span{min-width:0;flex:1;display:grid;gap:2px;padding:6px 7px;border:1px solid #d9e6e8;border-radius:7px;background:#f4f9f9}.quote-card-sheet-preview b,.quote-card-sheet-preview small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.quote-card-sheet-preview b{color:#17343e;font-size:8px}.quote-card-sheet-preview small{color:#577078;font-size:7px}.quote-card-sheet-preview em{align-self:center;border-radius:999px;background:#e1f4f2;color:#08766e;padding:5px 7px;font-size:7px;font-style:normal;font-weight:900}
.quote-desk-detail{padding:0 18px 28px;overflow:auto;background:#fff;border-left:1px solid #d7e0e4}.quote-desk-detail>header{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;margin:0 -18px;padding:15px 18px;background:#102e3b;color:#fff}.quote-desk-detail header small{color:#5ce1d5;font-size:8px;font-weight:900;letter-spacing:1px}.quote-desk-detail h3{margin:3px 0 0;font-size:15px}.quote-detail-customer{display:grid;gap:4px;padding:18px 0 13px;border-bottom:1px solid #e0e6e8}.quote-detail-customer b{font-size:18px}.quote-detail-customer span{color:#65747b;font-size:9px}.quote-desk-detail dl{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:14px 0}.quote-desk-detail dl div{padding:10px;border-radius:9px;background:#f1f5f6}.quote-desk-detail dt{color:#718087;font-size:8px}.quote-desk-detail dd{margin:3px 0 0;font-size:10px;font-weight:800}.quote-integrity{display:grid;gap:5px;padding:13px;border:1px solid #cce2df;border-radius:10px;background:#eff8f7}.quote-integrity small{margin-top:5px;color:#39726d;font-size:7px;font-weight:900}.quote-integrity code{overflow-wrap:anywhere;font-size:8px}.quote-integrity a{margin-top:7px;border-radius:7px;background:#0d827a;color:#fff;padding:9px;text-align:center;text-decoration:none;font-size:9px;font-weight:900}#quoteStatusForm{display:grid;gap:9px;margin-top:14px;padding:13px;border:1px solid #dde4e7;border-radius:10px}#quoteStatusForm label{display:grid;gap:4px;color:#5b6b73;font-size:8px;font-weight:800}#quoteStatusForm select,#quoteStatusForm textarea{border:1px solid #cbd5da;border-radius:8px;padding:8px;background:#fff}#quoteStatusForm button{height:38px;border-radius:8px}#quoteDeskMessage{min-height:12px;margin:0;color:#39726d;font-size:8px}#quoteDeskMessage[data-type=conflict]{color:#9b5b05;font-weight:800}#quoteDeskMessage[data-type=error]{color:#a12434;font-weight:800}.quote-status-history h4{margin:18px 0 7px}.quote-status-history>div{display:grid;grid-template-columns:auto 1fr;gap:6px 9px;padding:9px 0;border-top:1px solid #e4eaec}.quote-status-history time{align-self:center;color:#6c7b82;font-size:8px}.quote-status-history small{grid-column:1/3;color:#66777f;font-size:7px;font-weight:800}.quote-status-history p{grid-column:1/3;margin:0;color:#3c4c53;font-size:9px}.quote-desk-empty{grid-column:1/-1;display:grid;place-items:center;align-content:center;gap:5px;min-height:180px;color:#68777e;text-align:center}.quote-desk-empty b{color:#263b45}.quote-desk-empty span{font-size:9px}.quote-desk-empty.error b{color:#a12434}
.quote-sheet-map{margin:14px 0;padding:13px;border:1px solid #cfe0e3;border-radius:11px;background:linear-gradient(145deg,#f8fbfb,#eef6f6)}.quote-sheet-map>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.quote-sheet-map header small{display:block;color:#0b8179;font-size:7px;font-weight:900;letter-spacing:1px}.quote-sheet-map h4{margin:2px 0 0;font-size:12px}.quote-sheet-map header>span{border-radius:999px;background:#17343e;color:#fff;padding:5px 8px;font-size:7px;font-weight:900}.quote-sheet-map ol{display:grid;gap:6px;margin:11px 0 0;padding:0;list-style:none}.quote-sheet-map li{display:grid;grid-template-columns:28px minmax(0,1fr);align-items:center;gap:9px;padding:8px;border:1px solid #dde8ea;border-radius:8px;background:#fff}.quote-sheet-map li>code{display:grid;place-items:center;width:28px;height:28px;border-radius:7px;background:#143541;color:#fff;font-size:9px;font-weight:900}.quote-sheet-map li[data-sheet-side=back]>code{background:#ef8a2e}.quote-sheet-map li[data-sheet-side=panel]>code{background:#197e91}.quote-sheet-map li>div{min-width:0;display:grid;gap:2px}.quote-sheet-map b,.quote-sheet-map li span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.quote-sheet-map b{font-size:10px}.quote-sheet-map li span{color:#63767d;font-size:8px}
@media(max-width:780px){.quote-desk-dialog{width:100vw;height:100vh;max-width:none;max-height:none;border-radius:0}.quote-desk-head{min-height:72px;padding:12px 15px}.quote-desk-head p{display:none}.quote-desk-controls{grid-template-columns:1fr 1fr;padding:10px}.quote-desk-controls label:first-child{grid-column:1/3}.quote-desk-controls button{grid-column:1/3}.quote-desk-stats{padding:8px 10px}.quote-desk-body{height:calc(100% - 230px);display:block}.quote-desk-list{grid-template-columns:1fr;padding:10px}.quote-desk-detail{position:absolute;inset:72px 0 0;border:0;z-index:5}.quote-desk-detail[hidden]{display:none}.top-actions #quoteDeskButton{display:none}}
