#shell main>header{display:flex;gap:12px;align-items:center;flex-wrap:wrap}#shell main>header .breadcrumb{display:none}#shell main>header h1{font-size:24px;white-space:nowrap}.desk-header-tools{flex:1}.desk-header-tools input[type=search]{flex:1;min-width:170px}.desk-tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.desk-tools button,.desk-tools select{width:auto}.customer-desk{font:14px/1.5 -apple-system,BlinkMacSystemFont,"Microsoft YaHei",sans-serif;min-width:0;color:#252b30}.customer-desk *{box-sizing:border-box}.customer-desk button,.customer-desk input,.customer-desk textarea,.customer-desk select{font:inherit}.customer-desk [hidden]{display:none!important}.desk-save{flex:1;min-height:22px;color:#68737a}.desk-save.error,.desk-required{color:#b42318}.desk-channels{border-bottom:1px solid #e8ebed;padding:10px 0;margin-bottom:10px}.desk-channels button{padding:6px 9px}.customer-desk button[aria-pressed=true]{background:#fff4ed;color:#a64113;border-color:#b74714}.desk-conditions{display:flex;gap:8px;flex-wrap:nowrap;height:42px;overflow:auto;padding:4px 0 8px}.desk-chip{display:flex;align-items:center;gap:8px;background:#f4f6f8;white-space:nowrap;flex-shrink:0;padding:0 6px;border:1px solid #e0e5e8;border-radius:3px}.desk-chip>span{max-width:240px;overflow:hidden;text-overflow:ellipsis}.desk-chip button{padding:0 6px;min-height:28px}.desk-scroll{overflow:auto;width:100%;border:1px solid #dce1e5;overflow-anchor:none}.desk-table{table-layout:fixed;border-collapse:separate;border-spacing:0;min-width:0}.desk-table th,.desk-table td{border-bottom:1px solid #e8ebed;border-right:1px solid #dce1e5;padding:0;height:48px;vertical-align:middle;text-align:left}.desk-table th{position:relative;background:#f7f8fa;padding:8px;font-weight:500;white-space:nowrap}.desk-table th>button:not(.desk-resize){background:transparent;border:0;padding:0;max-width:calc(100% - 28px);overflow:hidden;text-overflow:ellipsis;vertical-align:middle;min-height:30px;color:inherit}.desk-table th>input[data-filter]{width:calc(100% - 30px);height:32px;padding:4px}.desk-table>thead>tr>th:first-child,.desk-table>tbody>tr[data-id]>td:first-child{position:sticky;left:0;width:112px;min-width:112px;padding:0;background:#fff;z-index:3}.desk-table>thead>tr>th:nth-child(2),.desk-table>tbody>tr[data-id]>td:nth-child(2){position:sticky;left:112px;background:#fff;z-index:2}.desk-op{display:grid;grid-template-columns:18px 1fr;align-items:center;gap:8px;padding:0 10px;height:48px;text-align:left}.customer-desk .desk-op input[type=checkbox]{width:18px;height:18px;margin:0;padding:0}.desk-op button{border:0;background:transparent;padding:4px 0;min-height:30px;text-align:left;color:#a64113}.desk-table>tbody>tr[data-id]>td>input{width:100%;border:1px solid transparent;border-radius:0;background:transparent;padding:8px;height:48px;min-width:0}.desk-table>tbody>tr[data-id]>td>input:focus{border-color:#b74714;background:#fff8f3}.desk-table input[readonly]{color:#62717b;background:#fafbfc}.customer-desk input[aria-invalid=true]{border:1px solid #b42318!important;background:#fff4f2!important}.desk-table th button.desk-resize{position:absolute;right:-4px;top:0;height:100%;width:8px;min-width:0;min-height:0;padding:0;cursor:col-resize;touch-action:none;z-index:5;border:0;background:transparent}.desk-table th button.desk-resize:hover{background:#b7471433}.desk-expanded>td{background:#fff;border-top:2px solid #b74714;border-bottom:2px solid #e7c4af;position:static;padding:0;height:auto}.desk-inline{position:sticky;left:0;padding:16px;background:white;min-width:0;white-space:normal}.desk-inline h2{font-size:18px;margin:0}.desk-inline>.desk-tools{margin-bottom:12px}.desk-inline>.desk-tools h2{margin-right:auto}.desk-inline .desk-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px}.desk-split>section+section{border-left:1px solid #e8ebed;padding-left:20px}.desk-split label{display:grid;gap:6px;margin:12px 0}.desk-split input,.desk-split textarea{width:100%;min-width:0}.desk-split textarea{min-height:110px;resize:vertical}.desk-split article{border-bottom:1px solid #e8ebed;padding:10px 0}.desk-split h3,.desk-split h4{margin:8px 0}.desk-split small{color:#63717b}.desk-inline table{table-layout:auto;width:100%;min-width:0}.desk-inline td,.desk-inline th{position:static;white-space:normal;height:auto;padding:8px;overflow-wrap:anywhere}.desk-inline .table-wrap{min-width:0}.desk-pager{margin-top:10px;color:#63717b}.desk-pager small{margin-left:auto}.customer-desk dialog{width:min(680px,94vw);max-height:85vh;overflow:auto;border:1px solid #ccd1d5;border-radius:5px;padding:20px;background:white;color:#252b30}.desk-dialog-head{display:flex;justify-content:space-between;gap:12px;align-items:center}.desk-dialog-head h2{font-size:20px}.customer-desk dialog textarea{width:100%}.customer-desk dialog label{display:grid;gap:5px;margin:10px 0}.desk-column-list{max-height:380px;overflow:auto}.desk-column-row{display:flex;gap:8px;align-items:center;border-bottom:1px solid #e8ebed}.desk-column-row label{display:flex!important;flex:1;align-items:center}.desk-column-row input{width:18px}.customer-desk .desk-date-dialog{max-width:370px}.desk-date-dialog input[type=month]{width:140px}.desk-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;text-align:center;margin:12px 0}.desk-calendar button{padding:4px;min-height:36px}.desk-table tr.desk-collision>td:nth-child(2){box-shadow:inset 3px 0 #b7791f;background:#fff6dc}.desk-table tr.desk-repeat>td[data-flags]{color:#6941a5;background:#f3edff}.desk-table td[data-flags]{padding:8px;white-space:normal}.desk-table tr.desk-collision>td[data-flags]{font-weight:500}.desk-table tr.desk-repeat:not(.desk-collision)>td:nth-child(2){box-shadow:inset 3px 0 #6941a5;background:#f3edff}
@media(max-width:760px){.desk-header-tools{flex-basis:100%}.desk-header-tools input[type=search]{flex-basis:100%}.desk-inline .desk-split{grid-template-columns:1fr}.desk-split>section+section{border-left:0;border-top:1px solid #e8ebed;padding:12px 0 0}.desk-inline{padding:10px}.desk-tools{gap:6px}.customer-desk input,.customer-desk select,.customer-desk textarea{font-size:16px}.desk-column-row{flex-wrap:wrap}.desk-column-row label{flex-basis:100%}.desk-tools button{min-height:44px}.desk-table{font-size:14px}.desk-pager small{flex-basis:100%;margin:0}}

/* Compact title/search toolbar; no full-width oversized search control. */
#shell main>header{gap:20px;align-items:center;flex-wrap:wrap}
#shell main>header h1{flex:0 0 auto;margin:0}
.desk-header-tools{flex:1;min-width:0;gap:10px!important;justify-content:flex-start}
.desk-header-tools input[type=search]{flex:0 1 440px!important;width:clamp(220px,32vw,440px)!important;max-width:100%;height:44px;min-height:44px;border-radius:6px;padding:0 14px;font-size:14px;background:#fafbfc;border:1px solid #cbd2d8}
.desk-header-tools input[type=search]:focus{background:#fff;border-color:#a74413;outline:2px solid #a7441322;outline-offset:1px}
.desk-header-tools>button{height:44px;white-space:nowrap}
.desk-save[hidden]{display:none!important}
.desk-op{gap:4px!important;justify-content:center}
.desk-op button{padding:0 3px!important;min-width:24px!important}
@media(max-width:760px){.desk-header-tools{flex-basis:100%;flex-wrap:wrap}.desk-header-tools input[type=search]{flex:1 1 100%!important;width:100%!important;font-size:16px}}

.desk-op{grid-template-columns:18px minmax(0,1fr) 24px;padding:0 6px}
