:root{font-family:system-ui,"Microsoft YaHei",sans-serif;color:#174f46;background:#f4f8f6;font-synthesis:none}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}header{display:flex;align-items:center;justify-content:space-between;padding:22px max(24px,calc((100vw - 1200px)/2));background:white;border-bottom:1px solid #dce8e2}.brand{font-size:24px;font-weight:750;color:#239b82}.brand span{font-size:14px;font-weight:400;color:#56746b;margin-left:22px}.badge{background:#fdf2cf;color:#7a6028;padding:6px 12px;border-radius:20px;font-size:13px}main{max-width:1248px;margin:auto;padding:36px 24px}.intro{margin-bottom:28px}.eyebrow{font-size:13px;color:#428c77}h1{font-size:30px;margin:8px 0}h2{font-size:20px;margin:0 0 16px}p{line-height:1.7;color:#5f766e}.card{background:white;border:1px solid #dce8e2;border-radius:18px;padding:26px;margin-bottom:22px;box-shadow:0 8px 28px #174f4605}.login{max-width:440px;margin:40px auto}form,label{display:flex;flex-direction:column;gap:9px}form{gap:14px}input,select,button{font:inherit;border:1px solid #c9ddd3;border-radius:9px;padding:12px;color:#174f46;background:white;min-height:44px}input:focus,select:focus,button:focus-visible{outline:2px solid #329d7e;outline-offset:2px}button{cursor:pointer;background:#edf6f1}button:disabled{opacity:.6;cursor:wait}.primary{background:#217e67;color:white;border-color:#217e67;margin-top:10px}.toolbar,.actions,.list-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.toolbar p{margin:6px 0 0;font-size:13px}.list-head h2{margin:0}.list-head span{font-size:13px;color:#6b7c75}.filters{display:flex;gap:16px;margin:22px 0}.filters label{font-size:13px;flex:1}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:13px}th{background:#f1f7f4;color:#547568;font-weight:600}th,td{padding:16px 12px;border-bottom:1px solid #e7efea}td:first-child,td:last-child{overflow-wrap:anywhere;min-width:145px;max-width:220px}.state{display:inline-block;background:#e7f4ec;border-radius:15px;padding:5px 9px;white-space:nowrap}.empty{text-align:center;padding:48px 10px}#notice{background:#fff1d4;padding:16px;border-radius:12px;color:#765815}footer{font-size:12px;line-height:1.8;color:#71847b;margin-top:28px}@media(max-width:650px){header{padding:18px}.brand{font-size:20px}.brand span{display:none}main{padding:24px 14px}.card{padding:20px}.toolbar,.filters{flex-direction:column;align-items:stretch}.actions button{flex:1}.list-head{align-items:flex-start}h1{font-size:26px}.login{margin:24px auto}}

.application{border-top:1px solid #dce8e2;padding:22px 0}.application p{white-space:pre-wrap;overflow-wrap:anywhere}.review-confirm{flex-direction:row;align-items:center}.review-confirm input{min-height:20px;width:20px}textarea{font:inherit;padding:12px;border:1px solid #c9ddd3;border-radius:9px;resize:vertical}

dialog{width:min(760px,calc(100vw - 32px));max-height:85vh;overflow:auto;border:1px solid #c9ddd3;border-radius:18px;padding:28px;color:#174f46;background:#fff;box-shadow:0 24px 80px #123c4633}dialog::backdrop{background:#123c4666}.detail-summary{display:grid;grid-template-columns:110px minmax(0,1fr);gap:14px;margin:24px 0}.detail-summary dt{color:#647d73}.detail-summary dd{margin:0;overflow-wrap:anywhere}.timeline{list-style:none;padding:0}.timeline li{border-left:3px solid #c9ddd3;padding:10px 16px;display:flex;gap:18px;flex-wrap:wrap}.timeline span{color:#647d73;font-size:13px}td{vertical-align:top}td button{display:block;margin-top:10px}th{white-space:nowrap}td input[type=checkbox]{width:20px;height:20px;min-height:20px;align-self:flex-start}table{min-width:1150px}@media(max-width:600px){dialog{padding:18px}.detail-summary{grid-template-columns:1fr;gap:6px}.detail-summary dd{margin-bottom:12px}}

.timeline .snapshot{white-space:pre-wrap;flex-basis:100%;margin:0;overflow-wrap:anywhere;font-size:13px}
.photo-step{border:1px solid #dce8e2;border-radius:12px;padding:14px;margin:12px 0}.photo-step h4{margin:0 0 10px}.photo-step p{font-size:13px;margin:6px 0}.photo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}.photo-grid figure{margin:0;min-width:0}.photo-grid button{width:100%;min-height:100px;padding:6px;background:#f4f8f6}.photo-grid img{display:block;width:100%;height:160px;object-fit:contain}.photo-grid figcaption{font-size:12px;color:#647d73;margin-top:6px}.photo-preview{width:min(1100px,95vw);max-height:92vh}.photo-preview img{display:block;max-width:100%;max-height:72vh;margin:auto;object-fit:contain}.photo-preview button{position:sticky;top:0}.photo-preview p{font-size:14px}

#rejection-alert{padding:16px;border:1px solid #e9c98b;border-radius:12px;background:#fff3d7;color:#745419;font-weight:600}

.attention-counts{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0}.attention-counts span{padding:10px;background:#edf6f1;border-radius:10px}.attention-item{padding:18px;border:1px solid #dce8e2;border-radius:12px;margin-top:14px;overflow-wrap:anywhere}.attention-item h3{margin:0;font-size:17px}.attention-item.overdue{border-color:#d99b91;background:#fff7f5}.attention-item.rejected{border-color:#e9c98b;background:#fffcf4}

.exception-message{white-space:pre-wrap;overflow-wrap:anywhere}.exception-history-entry{border-left:3px solid #c9ddd3;padding:2px 14px;margin:12px 0}.exception-history-meta{font-size:13px;font-weight:600}.exception-history summary{cursor:pointer;padding:12px 0;color:#217e67}.exception-history summary:focus-visible{outline:2px solid #329d7e;outline-offset:2px}

.exception-filters{display:flex;flex-direction:column;gap:10px}.exception-filters p{margin:0;font-size:13px}

/* Categorized operations workspace */
main{max-width:1600px}.ops-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:28px;align-items:start}.ops-sidebar{position:sticky;top:18px;border:1px solid #deebe3;background:#fff;border-radius:18px;padding:20px 12px;display:flex;flex-direction:column;gap:8px}.ops-nav-group{font-size:12px;letter-spacing:1px;color:#869b90;margin:16px 12px 4px}.ops-nav-group:first-child{margin-top:0}.ops-sidebar button{position:relative;text-align:left;padding:15px 18px;border:0;background:transparent;color:#607a6e;font-size:16px}.ops-sidebar button.active{background:#eaf5ee;color:#265b49;font-weight:700}.ops-sidebar button.active:before{content:'';position:absolute;left:0;top:14px;bottom:14px;width:4px;background:#e7c65d;border-radius:3px}.ops-content{min-width:0}.ops-page-title{font-size:29px;margin:0 0 22px}.ops-content .card{box-shadow:none}.ops-content .filters{flex-wrap:wrap}.ops-content .filters label{min-width:160px}.ops-content .application button{margin-right:10px}.ops-content textarea{min-height:90px}.ops-content form{max-width:760px}.ops-content .table-wrap{max-width:100%}body:has(#workspace:not([hidden])) .intro{display:none}@media(max-width:850px){.ops-layout{grid-template-columns:160px minmax(0,1fr);gap:16px}.ops-sidebar{padding:14px 8px}.ops-sidebar button{font-size:14px;padding:13px 10px}}@media(max-width:600px){.ops-layout{display:block}.ops-sidebar{position:static;display:flex;flex-direction:row;overflow-x:auto;gap:6px;margin-bottom:20px;padding:8px;border-radius:12px}.ops-nav-group{display:none}.ops-sidebar button{flex:0 0 auto;white-space:nowrap}.ops-sidebar button.active:before{top:auto;bottom:0;left:12px;right:12px;width:auto;height:3px}.ops-page-title{font-size:24px}}

.product-image-editor{display:flex;flex-wrap:wrap;gap:12px}.product-image-editor figure{margin:8px 0;width:150px}.product-image-editor img{width:150px;height:110px;object-fit:contain;background:#edf5ef}.product-image-editor button{font-size:12px;padding:6px;margin:4px}.product-image-editor figcaption{font-size:13px}fieldset{border:1px solid #c9ddd3;border-radius:12px;padding:16px}

.mall-product-thumbnail{display:block;width:160px;max-width:100%;height:110px;object-fit:contain;border-radius:10px;background:#edf5ef;margin-bottom:8px}

.mall-section-switch{display:flex;gap:10px;margin:18px 0;flex-wrap:wrap}.mall-section-switch button[aria-pressed="true"]{background:#258b77;color:#fff;border-color:#258b77;font-weight:700}

.mall-preview-image{display:block;width:100%;max-width:600px;height:auto;margin:12px auto;border-radius:10px}.mall-preview-description{white-space:pre-wrap;overflow-wrap:anywhere}
/* Homepage draft preview: isolated from operations form styling. */
.home-preview-dialog{width:440px;max-width:calc(100vw - 24px);max-height:90vh;padding:16px;overflow:auto}.home-preview-phone{max-width:375px;margin:auto;background:#f5f9f7;padding:14px;color:#24584c;border-radius:18px}.home-preview-logo{width:180px;height:48px;object-fit:contain;display:block;margin-bottom:16px}.home-preview-phone button{cursor:pointer}.home-preview-hero{height:225px;position:relative;overflow:hidden;border-radius:18px;background:#e9f5f0}.home-preview-hero>img{position:absolute;right:0;width:64%;height:100%;object-fit:cover}.home-preview-shade{position:absolute;inset:0;background:linear-gradient(90deg,#e9f5f0 39%,#e9f5f0c9 53%,#e9f5f000 82%)}.home-preview-copy{position:relative;padding:25px 16px}.home-preview-copy strong{display:block;font-size:20px;line-height:1.5;margin:12px 0 16px}.home-preview-copy small{font-size:14px}.home-preview-switch{display:flex;justify-content:center;gap:6px;margin:6px}.home-preview-switch button{padding:2px 10px;font-size:12px;width:auto}.home-preview-switch [aria-pressed=true]{background:#2d8b74;color:white}.home-preview-booking{background:white;border:1px solid #e1ebe5;border-radius:18px;padding:20px 16px;margin:12px 8px 24px}.home-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:5px;font-size:20px}.home-preview-heading select{width:auto;font-size:14px;padding:4px}.home-preview-booking p{font-size:12px;color:#547d68;margin:20px 0}.home-preview-booking>button{width:100%;font-size:19px;font-weight:700;background:#ccebdd;padding:10px}.home-preview-entries{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px 4px;margin:24px 0}.home-preview-entries button{background:transparent;border:0;padding:0;min-width:0}.home-preview-entries img,.home-preview-entries span{display:block;width:46px;height:46px;border-radius:14px;margin:0 auto 6px;object-fit:cover;background:#e5f1ea;line-height:46px;font-size:24px;font-weight:700}.home-preview-entries small{font-size:12px}.home-preview-middle{height:145px;border-radius:18px;overflow:hidden;background:#e9f4ee;display:flex;align-items:center;justify-content:center}.home-preview-middle img{width:100%;height:100%;object-fit:cover}.home-preview-tabs{display:flex;gap:8px}.home-preview-tabs button{font-size:14px;padding:5px}.home-preview-product{display:flex;gap:10px;align-items:center;background:white;border-radius:16px;padding:16px 10px;margin:12px 0}.home-preview-product img{width:65px;height:72px;object-fit:cover;border-radius:10px}.home-preview-product strong{font-size:16px}

.mall-export-panel{margin:16px 0;padding:16px;border:1px solid #cfe1da;border-radius:12px;background:#f6faf8}
.mall-export-panel>summary{cursor:pointer;font-weight:700;color:#205c50;min-height:28px}
.mall-export-panel>summary:focus-visible{outline:2px solid #258b73;outline-offset:4px}
.mall-export-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:12px}
.mall-export-grid fieldset{min-width:0;margin:0;padding:12px;border:1px solid #cfe1da;border-radius:10px;background:white}
.mall-export-grid legend{font-weight:700;padding:0 6px}
.mall-export-grid button{display:block;width:100%;margin:8px 0 0;white-space:normal}
.mall-export-grid p{font-size:14px;line-height:1.6}

.mall-commission-shortcuts{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.mall-commission-shortcuts button[aria-pressed=true]{background:#258b73;color:white;border-color:#258b73}

/* Workstation layout V1000 */
:root{background:#f3f6f7;color:#213f3a}header{padding:18px 32px;box-shadow:0 1px 8px #203e3805}.brand{font-size:21px}.brand span{font-size:12px}main{max-width:1600px;padding:24px 28px}.intro{margin-bottom:20px}.intro h1{font-size:26px}.intro p{max-width:900px;font-size:13px}.ops-layout{display:grid;grid-template-columns:228px minmax(0,1fr);gap:24px;align-items:start}.ops-sidebar{position:sticky;top:18px;background:#fff;border:1px solid #e0e8e4;border-radius:16px;padding:18px 12px;max-height:calc(100vh - 36px);overflow:auto}.ops-nav-brand{font-size:15px;font-weight:750;margin:0 8px 18px}.ops-sidebar input{width:100%;font-size:12px;min-height:38px;padding:8px;margin-bottom:8px;background:#f6f9f8}.ops-nav-group{font-size:11px;letter-spacing:1px;color:#869a92;margin:18px 10px 8px}.ops-sidebar button{display:flex;align-items:center;width:100%;border:0;border-radius:9px;background:transparent;padding:11px 12px;font-size:13px;min-height:42px;text-align:left;margin:3px 0;gap:12px}.ops-sidebar button:hover{background:#f2f7f5}.ops-sidebar button.active{background:#e3f2ec;color:#1b8067;font-weight:700;box-shadow:inset 3px 0 #278d72}.ops-nav-icon{width:18px;text-align:center;font-size:17px}.ops-content{min-width:0}.ops-module-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.ops-breadcrumb{font-size:11px;color:#84988e;margin:0 0 6px}.ops-page-title{font-size:25px;margin:0}.ops-module-description{font-size:12px;margin:8px 0 0}.ops-module-header>button{font-size:12px;min-height:36px;padding:8px 12px;white-space:nowrap}.ops-content>.card{border-radius:14px;padding:24px;box-shadow:0 3px 16px #294e3b04}.ops-content h2{font-size:18px}.ops-content p{font-size:13px}.ops-content label{font-size:13px}.ops-content button,.ops-content input,.ops-content select{font-size:13px;min-height:38px;padding:9px 12px}.filters{flex-wrap:wrap;gap:12px}.filters label{min-width:140px}.table-wrap{border:1px solid #e3ebe6;border-radius:10px}th{background:#f4f8f6}th,td{padding:13px 12px}tbody tr:hover{background:#f6faf8}.application{padding:20px 0}.ops-shortcuts{border-bottom:1px solid #e3ebe6;padding-bottom:24px;margin-bottom:24px}.ops-shortcut-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.ops-shortcut-grid button{text-align:left;background:#f8fbfa;border:1px solid #e1ebe5;padding:16px!important;display:flex;flex-direction:column;gap:8px}.ops-shortcut-grid button:hover{border-color:#7bbba5;background:#edf7f2}.ops-shortcut-grid strong{font-size:14px}.ops-shortcut-grid span{font-size:11px;color:#789084;line-height:1.7;font-weight:400}.ops-menu-toggle{display:none}#notice{position:sticky;bottom:18px;z-index:30;box-shadow:0 6px 24px #27493418;border:1px solid #ecd79a}dialog .list-head{flex-wrap:wrap}
@media(max-width:900px){main{padding:20px 16px}.ops-layout{grid-template-columns:190px minmax(0,1fr);gap:16px}.ops-shortcut-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ops-nav-brand{font-size:12px}}
@media(max-width:650px){header{padding:16px}.ops-layout{display:block}.ops-menu-toggle{display:block;width:100%;margin-bottom:16px}.ops-sidebar{display:none;position:static;max-height:none;margin-bottom:18px}.menu-open .ops-sidebar{display:block}.ops-module-header{align-items:flex-start}.ops-content>.card{padding:18px}.ops-shortcut-grid{grid-template-columns:1fr 1fr}.filters label{min-width:0;width:100%}.ops-page-title{font-size:22px}}

/* Detail layouts V1001 */
.ops-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding:18px;background:#f7faf8;border:1px solid #e4ece6;border-radius:12px;margin:18px 0}.ops-filter-grid label{min-width:0;gap:7px}.ops-filter-grid input,.ops-filter-grid select{width:100%;min-width:0}.ops-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:18px}.ops-product-tile{border:1px solid #e1eae4;border-radius:14px;padding:20px!important;background:#fff;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:7px}.ops-product-tile h4{font-size:16px;margin:4px 0}.ops-product-tile p{margin:0;line-height:1.7}.ops-product-tile .mall-product-thumbnail{width:100%;height:155px;object-fit:contain;background:#f4f8f6;border-radius:10px;max-width:none}.ops-product-tile>.ops-card-actions{margin-top:auto;padding-top:15px;display:flex;flex-wrap:wrap;gap:8px;width:100%;border-top:1px solid #edf2ee}.ops-card-actions button{flex:1;white-space:nowrap;font-size:12px}.ops-card-actions button:nth-child(2){background:#2a8c72;color:white;border-color:#2a8c72}.ops-maintenance{margin:20px 0;border:1px solid #e1eae4;border-radius:12px;background:#fafcfb}.ops-maintenance>summary{padding:16px;font-size:14px;font-weight:650;cursor:pointer}.ops-maintenance>.card{margin:0;border:0;border-top:1px solid #e1eae4;border-radius:0 0 12px 12px;box-shadow:none}.ops-product-form{padding:20px;background:#f8fbf9;border:1px solid #dce8e1;border-radius:14px;margin:18px 0}.ops-form-actions{display:flex;flex-wrap:wrap;gap:10px;position:sticky;bottom:12px;padding:14px;background:#ffffffed;border:1px solid #dce8e1;border-radius:12px;z-index:5;box-shadow:0 6px 18px #244b3310}.ops-form-actions>button:first-child{background:#278970;color:white;border-color:#278970}.ops-product-form>[role=alert]:not(:empty){padding:12px;background:#fff0e9;color:#a34a38;border:1px solid #efcabf;border-radius:9px}.ops-mall-orders{margin-top:32px;padding-top:24px;border-top:1px solid #dce8e1}.ops-content .table-wrap{max-height:68vh;overflow:auto}.ops-content thead th{position:sticky;top:0;z-index:2}.ops-content .table-wrap:focus-within{outline:2px solid #a8d4c1;outline-offset:2px}
@media(max-width:1100px){.ops-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ops-product-grid{grid-template-columns:1fr}}
@media(max-width:650px){.ops-filter-grid{grid-template-columns:1fr;padding:14px}.ops-form-actions{bottom:6px}.ops-form-actions button{flex:1}.ops-product-tile{padding:16px!important}}

.overview-dashboard{margin-bottom:28px}.overview-hero{background:linear-gradient(115deg,#e2f1eb,#f0f7f4);border:1px solid #d7e8df;border-radius:14px;padding:28px;display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}.overview-hero p{margin:0 0 8px;font-size:12px}.overview-hero h2{font-size:24px;margin-bottom:12px}.overview-hero span{font-size:13px;color:#678378}.overview-hero button{background:white;white-space:nowrap}.overview-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:22px}.overview-metric{text-align:left;background:white;display:flex;flex-direction:column;gap:14px;padding:20px!important;min-width:0}.overview-metric strong{font-size:30px;color:#19554a}.overview-metric span{font-size:13px;color:#658078}.overview-metric small{font-size:11px;line-height:1.7;color:#81978d}.overview-columns{display:grid;grid-template-columns:1.6fr 1fr;gap:20px}.overview-panel{background:white;border:1px solid #dce8e1;border-radius:14px;padding:22px}.overview-service-row{display:flex;width:100%;text-align:left;align-items:center;gap:20px;background:transparent;border:0;border-top:1px solid #e4ece7;border-radius:0;padding:18px 0!important}.overview-service-row>div{flex:1;display:flex;flex-direction:column;gap:7px}.overview-service-row>strong{font-size:18px}.overview-service-row span,.overview-service-row small{font-size:12px;color:#738b80}.overview-todo{display:flex;width:100%;justify-content:space-between;background:#f8fbf9;border:1px solid #e3ece6;margin-top:12px;padding:14px!important}.overview-todo strong{color:#b08935}@media(max-width:1100px){.overview-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-columns{grid-template-columns:1fr}}@media(max-width:650px){.overview-hero{padding:20px;flex-direction:column;align-items:flex-start}.overview-hero h2{font-size:20px}.overview-metric strong{font-size:24px}.overview-service-row{gap:12px}}

.overview-todo.urgent{background:#fff7ec;border-color:#edd9b7}.overview-reminder-item{display:flex;flex-direction:column;width:100%;gap:7px;text-align:left;padding:16px!important;margin-top:14px;background:white;border:1px solid #e3eae5;border-left:3px solid #79b49e}.overview-reminder-item.exception,.overview-reminder-item.overdue{border-left-color:#d99049;background:#fffaf4}.overview-reminder-item>span,.overview-reminder-item>small{font-size:12px;color:#768c80;line-height:1.7}.overview-reminder-item>b{font-size:12px;color:#24785e;margin-top:6px}.overview-reminder-item:hover{box-shadow:0 5px 18px #264b3910}.overview-panel>h2{scroll-margin-top:20px}

.table-top-scroll{overflow-x:auto;overflow-y:hidden;height:20px;background:#f3f8f5;border:1px solid #dce8e1;border-radius:7px 7px 0 0;scrollbar-color:#88a698 #edf3ef;scrollbar-width:auto;position:sticky;top:0;z-index:4}.table-top-scroll>div{height:1px}.table-top-scroll:focus-visible{outline:2px solid #278970;outline-offset:2px}.table-wrap{overflow-anchor:none;scroll-behavior:auto!important}.ops-content,.ops-layout{min-width:0}body{overflow-x:hidden}.ops-content .table-wrap{width:100%;max-width:100%}

/* V1007: one reminder list below the dashboard */
.overview-columns{grid-template-columns:minmax(0,1fr)}

/* Fit every order field into the original table without an overlay column. */
#orders-table{table-layout:fixed;width:100%;min-width:0;border-collapse:separate;border-spacing:0}
#orders-table th,#orders-table td{box-sizing:border-box;min-width:0;max-width:none;padding:12px 8px;overflow-wrap:anywhere;white-space:normal;font-size:12px;line-height:1.55}
#orders-table th:nth-child(1){width:16%}#orders-table th:nth-child(2){width:5%}#orders-table th:nth-child(3){width:16%}#orders-table th:nth-child(4){width:7%}#orders-table th:nth-child(5){width:17%}#orders-table th:nth-child(6){width:5%}#orders-table th:nth-child(7){width:7%}#orders-table th:nth-child(8){width:9%}#orders-table th:nth-child(9){width:7%}#orders-table th:nth-child(10){width:11%}
#orders-table .state{white-space:normal;display:inline-block;padding:5px 8px;line-height:1.5}
#orders-table .order-actions-cell{position:static;background:transparent;border-left:0;box-shadow:none}
#orders-table .order-actions-cell button{display:block;box-sizing:border-box;width:100%;min-width:0;height:auto;margin:8px 0 0;padding:8px 5px;font-size:12px;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
#orders-table .order-actions-cell label{display:flex;align-items:flex-start;gap:5px;font-size:11px;line-height:1.5}
#orders-table .order-actions-cell input[type=checkbox]{flex:0 0 16px;width:16px;height:16px;min-height:16px;margin:0}
.order-test-note{display:block;color:#7a9089;font-size:11px;line-height:1.5}
@media(min-width:1100px){main{max-width:1920px;padding-left:20px;padding-right:20px}.ops-layout{grid-template-columns:210px minmax(0,1fr);gap:20px}.ops-content>.card{padding:20px}}

/* Compact companion management V1012 */
.staff-roster-table{min-width:0;width:100%;table-layout:fixed}.staff-roster-table th:nth-child(1){width:22%}.staff-roster-table th:nth-child(2){width:17%}.staff-roster-table th:nth-child(3){width:17%}.staff-roster-table th:nth-child(4){width:19%}.staff-roster-table th:nth-child(5){width:25%}.staff-roster-table td,.staff-roster-table th{min-width:0!important;max-width:none!important;padding:12px;overflow-wrap:anywhere;font-size:12px}.staff-roster-table td button{display:inline-block;margin-top:8px;padding:6px 10px;min-height:32px}.staff-roster-table details p{line-height:1.5;margin:8px 0}.staff-roster-table summary,.staff-review-row summary,.staff-schedule-detail summary{cursor:pointer;color:#278970;font-size:12px}
.staff-schedule-row{display:grid;grid-template-columns:180px minmax(0,1fr) 130px;gap:16px;align-items:start;padding:16px 0;border-top:1px solid #e1ebe6}.staff-schedule-row h3{font-size:14px;margin:0 0 6px}.staff-schedule-row p{font-size:12px;margin:4px 0}.staff-time-slots{display:flex;flex-wrap:wrap;gap:8px}.staff-slot{font-size:12px;line-height:1.5;padding:6px 9px;border-radius:6px}.staff-slot.is-open{background:#e3f3ec;color:#227a63}.staff-slot.is-booked{background:#fff2db;color:#976b24}.staff-schedule-detail{font-size:12px}.staff-review-row{padding:18px 0;border-top:1px solid #e1ebe6}.staff-review-row h3{font-size:15px;margin:0 0 10px}.staff-review-row>details{margin:8px 0 14px}.staff-review-row form{display:flex;flex-wrap:wrap;gap:12px;align-items:end}.staff-review-row form label{flex:1;min-width:180px}.staff-review-row form .review-confirm{flex-basis:100%}.staff-review-row form button{min-height:34px}.staff-review-row>p{display:inline-block;margin:10px 12px 0 0}.staff-review-row>button{min-height:32px;padding:6px 12px}.staff-review-row details p{margin:6px 0}
@media(max-width:900px){.staff-schedule-row{grid-template-columns:140px minmax(0,1fr)}.staff-schedule-detail{grid-column:2}.staff-roster-table td,.staff-roster-table th{padding:8px 5px}}@media(max-width:650px){.staff-schedule-row{grid-template-columns:1fr}.staff-schedule-detail{grid-column:auto}.staff-review-row form{display:block}.staff-review-row form label{margin-bottom:10px}.staff-roster-table th,.staff-roster-table td{font-size:11px}}

.chat-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:20px 0}.chat-toolbar input{flex:1;min-width:180px}.chat-toolbar select{width:140px}.chat-toolbar span{font-size:12px;color:#81968d}.chat-workspace{display:grid;grid-template-columns:300px minmax(0,1fr);border:1px solid #dce8e1;border-radius:12px;overflow:hidden;min-height:500px}.chat-thread-list{max-height:70vh;overflow:auto;background:#f8fbf9;border-right:1px solid #dce8e1;padding:8px}.chat-thread-list .chat-thread{display:flex;flex-direction:column;gap:7px;width:100%;text-align:left;border:0;border-radius:8px;background:transparent;padding:14px;margin:0 0 4px}.chat-thread.selected{background:#e1f1e9!important;box-shadow:inset 3px 0 #278970}.chat-thread strong{font-size:13px;line-height:1.5}.chat-thread small{font-size:11px;color:#83998e}.chat-thread span{font-size:12px;color:#6b867a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.chat-detail{min-width:0;padding:18px;display:flex;flex-direction:column}.chat-detail[hidden]{display:none}.chat-detail h3{margin:0 0 12px;font-size:15px}.chat-history{height:40vh;min-height:220px;overflow:auto;padding:14px;background:#f5f8f6;border-radius:8px;overscroll-behavior:contain}.chat-message{max-width:82%;width:fit-content;padding:10px 14px;margin:0 0 14px;border:1px solid #e1e9e4;background:white;border-radius:10px}.chat-message.is-operator{margin-left:auto;background:#e1f2e9;border-color:#c7e5d7}.chat-message p:first-child{font-size:11px;color:#80948b;margin:0 0 6px}.chat-message p{font-size:13px;line-height:1.6;margin:0;overflow-wrap:anywhere}.chat-message img{max-width:100%!important;border-radius:6px;margin-top:8px}.chat-composer{padding-top:14px;display:flex;flex-wrap:wrap;gap:10px;align-items:center}.chat-composer textarea{width:100%;resize:vertical;min-height:80px;box-sizing:border-box}.chat-composer input{flex:1;min-width:160px}.chat-composer button{background:#278970;color:white}.chat-composer small{font-size:11px;color:#7d9388}.chat-older{align-self:center;font-size:11px!important;min-height:28px!important;padding:5px 12px!important;margin-bottom:10px}.chat-empty{align-self:center;text-align:center;padding:40px;color:#81958b}
@media(max-width:1000px){.chat-workspace{grid-template-columns:230px minmax(0,1fr)}}@media(max-width:700px){.chat-workspace{grid-template-columns:1fr}.chat-thread-list{max-height:230px;border-right:0;border-bottom:1px solid #dce8e1}.chat-detail{padding:12px}.chat-message{max-width:90%}}

/* Mall product workbench V1015 */
.mall-section-switch{display:flex;flex-wrap:wrap;gap:10px;align-items:center;border-bottom:1px solid #e0e9e4;padding-bottom:14px;margin:20px 0 14px}.mall-section-switch #refresh-mall{margin-left:auto;font-size:12px}.mall-product-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin-bottom:12px}.mall-product-toolbar>button{background:#278970;color:white}.mall-product-toolbar p{margin:0}.mall-product-metrics{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0}.mall-product-metrics button{padding:10px 18px}.mall-product-metrics button[aria-pressed=true]{background:#e0f0e8;border-color:#7ab8a1;font-weight:700}.mall-product-rows{display:flex;flex-direction:column;gap:0;border:1px solid #e0e9e4;border-radius:10px;overflow:hidden}.mall-product-rows .ops-product-tile{display:grid;grid-template-columns:80px minmax(0,1fr) 280px;align-items:start;gap:18px;border:0;border-bottom:1px solid #e4ece7;border-radius:0;padding:18px!important}.mall-product-rows .ops-product-tile:last-child{border-bottom:0}.mall-product-rows .mall-product-thumbnail{width:80px;height:90px;object-fit:cover;margin:0}.mall-product-row-body{grid-column:2;min-width:0}.mall-product-row-body h4{font-size:15px;margin:0 0 8px}.mall-product-row-body p{font-size:12px;line-height:1.5;margin:5px 0}.mall-product-row-body>p:first-of-type{color:#8b9e94;font-size:11px}.mall-product-description summary{cursor:pointer;color:#278970;font-size:12px;margin:7px 0}.mall-product-rows .ops-card-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0;padding:0;border:0;grid-column:3}.mall-product-rows .ops-card-actions button{font-size:12px;padding:8px;min-height:34px}.mall-product-rows .ops-card-actions button:last-child{color:#9c663e}.mall-product-rows>p{padding:20px}.ops-product-form>label{margin-bottom:12px}.ops-product-form textarea{min-height:100px}
@media(max-width:1100px){.mall-product-rows .ops-product-tile{grid-template-columns:64px minmax(0,1fr) 180px;gap:12px}.mall-product-rows .mall-product-thumbnail{width:64px;height:72px}}@media(max-width:700px){.mall-product-rows .ops-product-tile{grid-template-columns:60px minmax(0,1fr)}.mall-product-rows .ops-card-actions{grid-column:1 / -1;grid-template-columns:repeat(4,minmax(0,1fr))}.mall-section-switch #refresh-mall{margin-left:0}.mall-product-rows .ops-card-actions button{white-space:normal}}

/* Compact mall orders V1016 */
.ops-mall-orders{margin-top:0;padding-top:0;border-top:0}.mall-order-advanced,.mall-order-finance{border:1px solid #e1e9e4;border-radius:9px;margin:12px 0;padding:12px 16px}.mall-order-advanced>summary,.mall-order-finance>summary{cursor:pointer;font-size:13px;font-weight:600;color:#397364}.mall-order-finance section{margin:12px 0}.mall-order-finance p{font-size:12px}.mall-order-list{margin-top:18px;border:1px solid #dfe9e3;border-radius:10px;overflow:hidden}.mall-order-record{border-bottom:1px solid #e3ebe6;background:white}.mall-order-record:last-child{border-bottom:0}.mall-order-record>summary{display:grid;grid-template-columns:minmax(180px,1.4fr) minmax(150px,1fr) 100px 90px 90px;gap:16px;align-items:center;padding:18px;cursor:pointer;font-size:12px;list-style:none}.mall-order-record>summary::-webkit-details-marker{display:none}.mall-order-record>summary>strong:first-child{font-size:14px}.mall-order-record>summary>span:nth-child(2){color:#81948a}.mall-order-record>summary>span:last-child{color:#278970}.mall-order-record[open]>summary{background:#edf7f2;border-bottom:1px solid #dfebe3}.mall-order-state{background:#edf5f0;border-radius:5px;padding:5px 8px;text-align:center}.mall-order-record>.application{padding:18px 24px;border:0;margin:0;background:#fbfdfc}.mall-order-record>.application>h4{display:none}.mall-order-record>.application>p{display:inline-block;margin:6px 22px 6px 0;font-size:12px;line-height:1.6;overflow-wrap:anywhere}.mall-order-record>.application>button{margin:8px 8px 8px 0;padding:7px 12px;min-height:34px;font-size:12px}.mall-order-record>.application>section{padding:12px;background:white;border:1px solid #e1e9e4;border-radius:8px;margin:10px 0}.mall-order-record textarea{display:block;width:100%;box-sizing:border-box;max-width:600px;min-height:70px}.mall-order-record .application>div{margin-top:12px}.mall-order-list>p{padding:18px}
@media(max-width:1000px){.mall-order-record>summary{grid-template-columns:minmax(150px,1fr) 140px 85px;gap:10px}.mall-order-record>summary>span:nth-child(2){grid-column:1;grid-row:2}.mall-order-record>summary>strong:nth-child(3){grid-column:2;grid-row:1}.mall-order-state{grid-column:3;grid-row:1}.mall-order-record>summary>span:last-child{grid-column:3;grid-row:2}}@media(max-width:650px){.mall-order-record>summary{grid-template-columns:1fr 90px}.mall-order-record>summary>strong:nth-child(3){grid-column:2}.mall-order-record>summary>.mall-order-state{grid-column:2;grid-row:2}.mall-order-record>summary>span:last-child{grid-column:1;grid-row:3}.mall-order-record>.application{padding:14px}}

.mall-order-overview,.mall-order-arrangement{display:flex;flex-direction:column;gap:6px;min-width:0}.mall-order-overview>strong{font-size:14px}.mall-order-overview small,.mall-order-arrangement small{font-size:11px;line-height:1.5;color:#789084;overflow-wrap:anywhere}.mall-order-arrangement strong{font-size:12px;line-height:1.5}.mall-order-record>summary{grid-template-columns:minmax(180px,1fr) minmax(240px,1.5fr) 90px 80px 90px;align-items:start}.mall-order-record>summary>strong{padding-top:5px}
@media(max-width:1000px){.mall-order-record>summary{grid-template-columns:minmax(150px,1fr) 100px 85px}.mall-order-arrangement{grid-column:1 / -1;grid-row:2}.mall-order-record>summary>span:last-child{grid-row:3;grid-column:3}}@media(max-width:650px){.mall-order-record>summary{grid-template-columns:1fr 90px}.mall-order-arrangement{grid-row:3}.mall-order-record>summary>span:last-child{grid-row:4;grid-column:1}}

/* Homepage operations aligned with workstation preview V1020 */
.home-ops-toolbar{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:18px 0}.home-ops-backup{border:1px solid #e1e9e4;padding:12px 16px;border-radius:9px;margin:12px 0}.home-ops-backup summary{cursor:pointer;font-size:12px;color:#658477}.home-ops-backup button,.home-ops-backup label{margin-top:12px}.home-ops-tabs{display:flex;flex-wrap:wrap;gap:8px;border-bottom:1px solid #dce8e1;margin:22px 0}.home-ops-tabs button{background:transparent;border:0;border-radius:0;padding:12px 18px!important;color:#789184}.home-ops-tabs button[aria-selected=true]{border-bottom:3px solid #278970;color:#19574b;font-weight:700}.home-config-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.home-config-grid fieldset{min-width:0;margin:0;padding:16px;border:1px solid #dde8e1;border-radius:12px;background:#fff}.home-config-grid legend{font-size:12px;font-weight:700;padding:0 6px}.home-config-grid input:not([type=checkbox]),.home-config-grid select{box-sizing:border-box;width:100%;margin:6px 0 10px}.home-config-grid input[type=file]{font-size:11px;padding:7px}.home-config-grid img{width:100%;object-fit:contain;background:#edf7f1;border-radius:8px;margin:10px 0}.home-config-grid button{font-size:11px;min-height:30px;padding:6px 9px;margin:6px 6px 0 0}.home-config-grid p{font-size:11px;margin:10px 0 3px;color:#809689}.home-ops-body section>h3{font-size:17px;margin:18px 0}.home-ops-body [data-tab=top] .home-config-grid,.home-ops-body [data-tab=middle] .home-config-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-ops-body [data-tab=mine] .home-config-grid{grid-template-columns:1fr}.home-ops-body [data-tab=mine] .home-config-grid>section{padding:20px;border:1px solid #dde8e1;border-radius:12px;max-width:760px}.home-ops-body [data-tab=groups] .home-config-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-ops-body [data-tab=groups] label{padding:12px 16px;background:#f7faf8;border:1px solid #e1e9e4;border-radius:8px}.home-ops-footer{position:sticky;bottom:12px;z-index:5;padding:14px 18px;margin-top:24px;display:flex;align-items:center;justify-content:space-between;gap:16px;background:#ffffffed;border:1px solid #dce8e1;border-radius:10px;box-shadow:0 5px 18px #224c3210}.home-ops-footer p{margin:0}.home-ops-footer button{background:#278970;color:white;white-space:nowrap}.home-ops-body section[hidden]{display:none}
@media(max-width:1200px){.home-config-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.home-config-grid,.home-ops-body [data-tab] .home-config-grid{grid-template-columns:1fr}.home-ops-tabs button{padding:10px!important}.home-ops-footer{flex-wrap:wrap}}

.home-config-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}.home-config-overview>div{padding:15px 18px;background:#f1f8f4;border:1px solid #dce9e1;border-radius:10px;display:flex;flex-direction:column;gap:8px}.home-config-overview small{font-size:11px;color:#799387}.home-config-overview strong{font-size:18px;color:#1c5b4c}.home-image-placeholder{height:86px;display:flex;align-items:center;justify-content:center;margin:10px 0;border:1px dashed #b8d7c8;border-radius:9px;background:#eff8f2;color:#678b7b;font-size:14px}.home-ops-body [data-tab=entries] .home-image-placeholder{font-size:26px}.home-config-grid fieldset:focus-within{border-color:#75b39a;box-shadow:0 0 0 2px #e3f2e9}.home-config-grid input[type=file]{border-style:dashed;background:#f8fbf9}.home-ops-backup[open]{background:#f8fbf9}.home-ops-body select{font-size:12px}
@media(max-width:900px){.home-config-overview{grid-template-columns:repeat(2,minmax(0,1fr))}}

.ops-user-record{white-space:pre-wrap;overflow-wrap:anywhere;background:#f6faf8;padding:12px;border-radius:8px;font-size:12px;line-height:1.7}.ops-content dialog details{margin:14px 0}.ops-content dialog summary{cursor:pointer;color:#278970}

.ops-user-fields{display:grid;grid-template-columns:110px minmax(0,1fr);gap:8px 16px}.ops-user-fields dt{color:#6e8780}.ops-user-fields dd{margin:0;overflow-wrap:anywhere}.ops-user-record{padding:14px;border-bottom:1px solid #dfebe6}

.chat-reply-tools{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding-top:12px}.chat-reply-tools select{flex:1;min-width:180px}.chat-reply-tools button{padding:7px 10px;font-size:12px}.chat-workspace{grid-template-columns:minmax(250px,28%) minmax(0,1fr)}.chat-thread-list{height:65vh}.chat-history{height:38vh}.chat-detail{background:#fff}@media(max-width:700px){.chat-workspace{grid-template-columns:1fr}.chat-thread-list{height:auto}}

.marketing-header{display:flex;justify-content:space-between;align-items:center;gap:16px}.marketing-header span{background:#e8f4ef;padding:8px 14px;border-radius:8px;font-size:13px}.marketing-editor{display:block;width:100%;box-sizing:border-box;min-height:320px;line-height:1.8;margin-top:12px}.home-config-tabs button.active{color:#17564c;border-bottom:3px solid #2b907b;font-weight:700}

.knowledge-panel{margin:20px 0;border:1px solid #d8e9e2;border-radius:12px;padding:18px;background:#f8fbfa}.knowledge-panel>summary{font-weight:700;color:#17584f;cursor:pointer}.knowledge-panel textarea{width:100%;box-sizing:border-box}.knowledge-panel article{background:white;margin-top:12px}

.finance-metrics{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.finance-metrics button.active{background:#278970;color:white}.finance-record{border:1px solid #dce8e2;border-radius:10px;margin:12px 0;background:white}.finance-record>summary{display:grid;grid-template-columns:minmax(120px,2fr) minmax(90px,1fr) minmax(100px,1fr) minmax(100px,1fr);gap:16px;align-items:center;padding:18px;cursor:pointer;background:#f8fbf9}.finance-record>p,.finance-record>button,.finance-record>input,.finance-record>label,.finance-record>details{margin:12px 18px}.finance-record-body{padding:18px;display:grid;gap:12px}.finance-filters{padding:18px;background:#f8fbf9;border:1px solid #dce8e2;border-radius:10px}.finance-filters label{min-width:0}@media(max-width:700px){.finance-record>summary{grid-template-columns:1fr 1fr}}

.finance-record>summary:after{content:"展开处理 ▾";color:#278970;font-size:12px;grid-column:1/-1;text-align:right}.finance-record[open]>summary:after{content:"收起详情 ▴"}.finance-record-body p{margin:0;overflow-wrap:anywhere}.finance-record-body button{justify-self:start}.finance-record-body>label{display:block}.finance-record-body>input,.finance-record-body>textarea{width:100%;box-sizing:border-box}.finance-record-body input[type=checkbox]{width:auto}.finance-record[open]{border-color:#8ac9b4;box-shadow:0 3px 12px #17584f08}.finance-filters{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}

.home-edit-state{padding:8px 12px;background:#e6f4ed;border-radius:8px;color:#216957;font-size:13px}.home-edit-state.is-dirty{background:#fff1cf;color:#936b1d}.home-config-checks{margin:16px 0;border:1px solid #dce9e3;border-radius:10px;padding:12px 16px}.home-config-checks summary{cursor:pointer;font-weight:600}.home-destination{font-size:12px;line-height:1.6;background:#f1f8f4;padding:10px;border-radius:7px;overflow-wrap:anywhere}.home-ops-body section>input[type=search]{width:100%;box-sizing:border-box;margin:12px 0}

.ops-module-switcher{width:240px;max-width:35%;font-size:12px;background:#fff;border:1px solid #d9e9e1;border-radius:8px}.ops-module-header>div:first-child{flex:1;min-width:0}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid #2a967c;outline-offset:3px}.ops-sidebar{scrollbar-gutter:stable}.ops-content .finance-record-body{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.finance-record-body .chat-toolbar,.finance-record-body>details{grid-column:1/-1}@media(max-width:900px){.ops-module-header{flex-wrap:wrap}.ops-module-switcher{max-width:100%;width:100%}.ops-content .finance-record-body{grid-template-columns:1fr}.ops-filter-grid{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}}

.chat-attachment-preview{width:96px;max-height:96px;object-fit:contain;border:1px solid #c8e4d8;background:#f5faf7;border-radius:8px;padding:4px}.chat-attachment-preview[hidden]{display:none}

.staff-roster-table td:last-child button{margin:6px 6px 0 0}.staff-time-slots{gap:8px}.staff-slot.is-open{border:1px solid #a7d6c3}.staff-slot.is-booked{border:1px solid #edcfa6}.staff-schedule-row h3{font-size:14px}.staff-schedule-row details summary{color:#247e67;cursor:pointer}

.order-filter-summary{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:16px 0}.order-filter-summary strong{margin-right:8px}.order-filter-summary button{padding:6px 10px;font-size:13px;border-radius:20px;max-width:100%;overflow-wrap:anywhere}

/* V1044: adaptable workbench controls and readable detail dialogs */
.ops-content .filters label,.ops-content .chat-toolbar input,.ops-content .chat-toolbar select{min-width:0}
.ops-content .filters label{flex:1 1 180px}.ops-content .filters label input,.ops-content .filters label select{width:100%;max-width:100%}
.ops-content .toolbar,.ops-content .list-head{flex-wrap:wrap}.ops-content .toolbar>div,.ops-content .list-head>div{min-width:0}
.ops-content input,.ops-content select,.ops-content textarea{max-width:100%}
.ops-content .state{white-space:normal;overflow-wrap:anywhere;line-height:1.5}
dialog{overscroll-behavior:contain;scrollbar-gutter:stable}dialog>.list-head{position:sticky;top:-28px;z-index:8;background:#fff;padding:12px 0;border-bottom:1px solid #e1ebe5}dialog>.list-head h2{flex:1 1 180px}dialog input:not([type=checkbox]),dialog select,dialog textarea{max-width:100%}dialog p,dialog dd{overflow-wrap:anywhere}
.finance-record>summary>*{min-width:0;overflow-wrap:anywhere}.ops-user-fields dd{min-width:0}
@media(max-width:1050px) and (min-width:651px){.ops-layout{grid-template-columns:170px minmax(0,1fr);gap:14px}.ops-sidebar{padding:12px}.ops-content>.card{padding:18px}.ops-content .filters{gap:10px}.ops-content .filters label{flex-basis:160px}}
@media(max-width:650px){.ops-content .filters label{flex-basis:auto}.ops-content .chat-toolbar{gap:8px}.ops-content .chat-toolbar input,.ops-content .chat-toolbar select{flex:1 1 100%;width:100%}.ops-content .actions{flex-wrap:wrap}.ops-content .actions button{flex:1 1 130px}.finance-record>summary{gap:10px;padding:14px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.ops-user-fields{grid-template-columns:1fr;gap:5px}.ops-user-fields dd{margin-bottom:10px}.marketing-header{flex-wrap:wrap}.knowledge-panel{padding:12px}.home-ops-footer{position:static}.home-ops-footer button{width:100%}dialog>.list-head{top:-18px}.chat-reply-tools select{min-width:0;flex-basis:100%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{scroll-behavior:auto!important}}

.guidance-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;padding:16px 0;border-top:1px solid #e2ece6}.guidance-row p{margin:6px 0;overflow-wrap:anywhere}.guidance-row summary{cursor:pointer;color:#25856e;font-size:12px}.guidance-row .chat-toolbar{margin:0;align-self:start}.guidance-editor{background:#f7faf8;border:1px solid #dce8e2;border-radius:12px;padding:20px;margin:20px 0}.guidance-editor form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.guidance-editor form>label:nth-child(n+4),.guidance-editor form>p,.guidance-editor form>.chat-toolbar{grid-column:1/-1}.guidance-editor label:has(input[type=checkbox]){flex-direction:row;align-items:center}.guidance-editor input[type=checkbox]{width:18px;min-height:18px}.guidance-editor textarea{width:100%}.guidance-test{border:1px solid #dce8e2;border-radius:10px;padding:16px;margin-top:20px}.guidance-test>summary{cursor:pointer;font-weight:700;margin-bottom:12px}.guidance-test pre{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}.guidance-test input{width:min(100%,650px);margin-right:8px}@media(max-width:700px){.guidance-row{grid-template-columns:1fr;gap:10px}.guidance-editor form{grid-template-columns:1fr}.guidance-editor{padding:14px}.guidance-test input{width:100%;margin-bottom:8px}}

.companion-profile-dialog{width:min(880px,calc(100vw - 32px))}.companion-profile-meta{background:#eaf5ef;padding:12px 16px;border-radius:9px}.companion-profile-section{border:1px solid #dce8e2;border-radius:10px;padding:18px;margin:16px 0}.companion-profile-section h3{font-size:16px;margin:0 0 14px}.companion-profile-section dd{white-space:pre-wrap;line-height:1.7}.companion-profile-section summary{cursor:pointer;font-weight:700;color:#25856e}.companion-profile-dialog>.chat-toolbar{justify-content:flex-end}.staff-roster-table td:last-child{vertical-align:middle}@media(max-width:650px){.companion-profile-section{padding:14px}.companion-profile-dialog>.chat-toolbar button{flex:1}}

.ops-dispatch-panel{margin:24px 0;padding:24px;background:#f6faf8;border:1px solid #dce9e2;border-radius:14px}.ops-dispatch-panel>h3{margin:0 0 8px}.ops-dispatch-panel>p{line-height:1.65}.ops-dispatch-panel .ops-dispatch-summary{margin:0 0 6px;color:#164f46;font-weight:650}.ops-dispatch-guidance{margin:0 0 14px;color:#647b72}.ops-dispatch-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:18px;background:white;border:1px solid #e0ebe4;border-radius:12px;margin:16px 0}.ops-dispatch-fields label{min-width:0;gap:8px}.ops-dispatch-fields input,.ops-dispatch-fields select{width:100%;min-width:0}.ops-dispatch-fields input[type=datetime-local]{font-variant-numeric:tabular-nums}.ops-dispatch-person-meta{margin:10px 0;padding:12px 14px;background:#fff;border:1px solid #e0ebe4;border-radius:10px;color:#536f65;line-height:1.65}.ops-dispatch-availability{min-height:24px;margin:12px 0;color:#245d52;font-weight:600}.ops-dispatch-panel details{padding:12px 16px;background:#fff;border:1px solid #eadfc9;border-radius:9px;margin:12px 0}.ops-dispatch-panel details[hidden]{display:none}.ops-dispatch-panel details summary{cursor:pointer;color:#856326}.ops-dispatch-panel details p{margin:6px 0}.ops-dispatch-actions{display:flex;flex-wrap:wrap;gap:10px}.ops-dispatch-actions button:last-child{background:#278970;color:#fff;border-color:#278970}.ops-dispatch-actions button:disabled{background:#edf2ef;color:#81948a;border-color:#dce5df}@media(max-width:650px){.ops-dispatch-panel{padding:15px}.ops-dispatch-fields{grid-template-columns:1fr;padding:14px}.ops-dispatch-actions button{flex:1}}
