/* Compact, familiar admin controls with consistent separators and feedback. */
:root{--ops-line:#e2e6ea;--ops-control:#cbd1d7;--ops-blue:#337ab7;--ops-ink:#333;--ops-muted:#737c85}
.ops-toast[hidden]{display:none!important}.ops-toast{position:fixed;top:66px;right:20px;z-index:10050;width:min(420px,calc(100vw - 32px));display:flex;align-items:flex-start;gap:12px;padding:15px 13px 15px 16px;border:1px solid #e6cc8b;border-left:4px solid #c18b23;border-radius:5px;background:#fffaf0;color:#694d16;box-shadow:0 7px 24px #18273726;font:14px/1.5 'Helvetica Neue',Helvetica,Arial,sans-serif;box-sizing:border-box;overflow-wrap:anywhere}.ops-toast[data-kind=error]{background:#fff6f5;border-color:#edc5c0;border-left-color:#c4473d;color:#83362e}.ops-toast[data-kind=success]{background:#f3fbf3;border-color:#c3dfc4;border-left-color:#449052;color:#2f6639}.ops-toast[data-kind=info]{background:#f2f8fd;border-color:#bdd7eb;border-left-color:#337ab7;color:#2c597b}.ops-toast-icon{display:grid;place-items:center;flex:0 0 21px;height:21px;border:1.5px solid currentColor;border-radius:50%;font-size:13px;font-weight:700;line-height:1}.ops-toast-content{flex:1;min-width:0}.ops-toast p{margin:0!important;font:inherit!important;color:inherit!important;white-space:pre-line}.ops-toast-close{border:0!important;background:none!important;padding:0 3px!important;color:inherit!important;line-height:22px!important;font-size:23px!important;cursor:pointer;flex:0 0 24px;box-shadow:none!important}.ops-toast-action{display:inline-block;margin-top:8px;padding:0;background:none;border:0;color:inherit;font:600 13px/1.5 'Helvetica Neue',Arial,sans-serif;text-decoration:underline;cursor:pointer}.ops-toast-action[hidden]{display:none}.ops-toast-enter{animation:ops-toast-in .16s ease-out}@keyframes ops-toast-in{from{opacity:.45;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}
.ops-body .ops-main>h1{font-size:23px;font-weight:500;line-height:1.3;margin:8px 0 20px}.ops-body .ops-toolbar{row-gap:10px;flex-wrap:wrap}.ops-body .ops-tabs{gap:0;border-bottom:1px solid var(--ops-line);margin-bottom:18px;padding-bottom:8px}.ops-body .ops-tabs>a{max-width:100%;white-space:nowrap}.ops-body .ops-btn{min-height:32px;max-width:100%;vertical-align:middle;transition:background-color .12s,border-color .12s;color:var(--ops-ink)}.ops-body .ops-btn.info{background:#337ab7;border-color:#2e6da4}.ops-body .ops-btn.info:hover{background:#286090;border-color:#204d74}.ops-body .ops-btn.small{min-height:28px}.ops-body .ops-btn.tiny{min-height:24px}.ops-body button:disabled,.ops-body input[type=submit]:disabled{opacity:.55;cursor:wait;pointer-events:none}.ops-body .ops-btn:active{box-shadow:inset 0 2px 4px #0002}.ops-body :is(input,select,textarea,button,a,summary):focus-visible{outline:2px solid #337ab7;outline-offset:2px}.ops-body .ops-table th{font-size:12px;line-height:18px;color:#5b626a;background:#f7f8f9;border-bottom:1px solid #d9dfe5;padding:11px 10px}.ops-body .ops-table td{line-height:1.45;padding-top:10px;padding-bottom:10px;border-top-color:#e7eaee}.ops-body .ops-table tbody>tr:not(.ops-category-row):hover{background:#f8fafc}.ops-body .ops-table .service-title{max-width:440px;overflow-wrap:anywhere}.ops-body .ops-table .service-title>a{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.ops-body .ops-table td small{max-width:64ch;overflow-wrap:anywhere}.ops-body .ops-menu{max-width:min(340px,calc(100vw - 32px));padding:5px 0;border-color:#d6dce2;border-radius:4px;box-shadow:0 5px 16px #23394c21}.ops-body .ops-menu :is(a,button){white-space:normal;line-height:20px;padding-top:7px;padding-bottom:7px}.ops-body .ops-menu form+form,.ops-body .ops-menu a+form{border-top:1px solid #edf0f3;margin-top:4px;padding-top:4px}.ops-body .ops-settings-nav a{line-height:20px;padding-top:11px;padding-bottom:11px}.ops-body .ops-settings-body{min-width:0}.ops-body .ops-form-box{max-width:860px}.ops-body .ops-action-form>p+ p{padding-top:12px;border-top:1px solid #edf0f3}.ops-body .ops-action-form label{line-height:20px}.ops-body .ops-action-form :is(input:not([type=checkbox]):not([type=hidden]),select,textarea){max-width:100%}.ops-body .ops-action-form :is(.helptext,small){display:block;color:#737c85;font-size:12px;line-height:1.5;margin-top:5px;max-width:78ch}.ops-body .errorlist{padding:7px 10px;margin:6px 0 10px;background:#fff5f4;border-left:3px solid #c4473d;color:#a33d34;list-style:none;font-size:13px}.admin-overlay{border-radius:6px!important;box-shadow:0 18px 55px #15253540!important}.admin-overlay>header{padding:17px 21px!important;border-bottom:1px solid var(--ops-line)}.admin-overlay>header h2{font-size:20px;font-weight:500;line-height:1.35}.admin-overlay::backdrop{background:#17212c66}.ops-body .ops-nav-links>a.active{box-shadow:inset 0 -2px 0 #98a4ae}.ops-body .ops-nav-links>a{transition:background .12s}.ops-body .ops-nav-tools{gap:20px;padding-left:18px}.ops-body .ops-navigating{cursor:progress}body.ops-navigating .ops-nav{box-shadow:inset 0 -2px 0 #337ab7}.ops-save-progress{font-size:13px;color:#5c6f7e}.ops-body .ops-table-wrap{scrollbar-width:thin}.ops-body .ops-status{font-size:11px;line-height:17px;padding:2px 7px;border-radius:3px}
html[data-ops-theme=dark] .ops-toast{background:#342f23;color:#f1d694;border-color:#69572e}html[data-ops-theme=dark] .ops-toast[data-kind=error]{background:#392b2a;color:#f2c3bf;border-color:#70413c}html[data-ops-theme=dark] .ops-toast[data-kind=success]{background:#23382a;color:#bee5c5;border-color:#416d4b}html[data-ops-theme=dark] .ops-toast[data-kind=info]{background:#243646;color:#c5e3f9;border-color:#3d6685}html[data-ops-theme=dark] .ops-body .ops-table th{background:#282e36;color:#c6cfd7;border-color:#414a56}html[data-ops-theme=dark] .ops-body .ops-table tbody>tr:not(.ops-category-row):hover{background:#28333d}html[data-ops-theme=dark] .ops-body .ops-table td,html[data-ops-theme=dark] .ops-body .ops-tabs{border-color:#414a56}
@media(max-width:700px){.ops-toast{top:61px;right:12px;width:calc(100vw - 24px);padding:13px 11px 13px 13px}.ops-body .ops-toolbar{gap:9px}.ops-body .ops-nav-tools{gap:15px;padding:0 10px}.ops-body .ops-main>h1{font-size:21px}.ops-body .ops-search{flex-wrap:wrap;min-width:0}.ops-body .ops-search input{min-width:100px;max-width:100%}.ops-body .ops-settings-layout{gap:15px}.admin-overlay>header{padding:14px 16px!important}.ops-body .ops-buttons{gap:8px;flex-wrap:wrap}}@media(prefers-reduced-motion:reduce){.ops-toast-enter{animation:none}.ops-body .ops-btn,.ops-body .ops-nav-links>a{transition:none}}

/* Dense order workspace: preserve every column and action. */
.ops-body[data-section="orders"] .ops-main{padding:10px 12px 24px}
.ops-body[data-section="orders"] .ops-tabs{gap:2px;margin-bottom:10px;flex-wrap:wrap}
.ops-body[data-section="orders"] .ops-tabs>a{padding:7px 10px;font-size:12px}
.ops-body[data-section="orders"] .ops-toolbar{gap:8px;margin-bottom:10px;align-items:center}
.ops-body[data-section="orders"] .ops-search{flex:1;justify-content:flex-start;gap:5px}
.ops-body[data-section="orders"] .ops-search input,.ops-body[data-section="orders"] .ops-search select{height:31px;min-height:31px;padding:4px 7px;font-size:12px;max-width:160px}
.ops-body[data-section="orders"] .ops-search input[name="q"]{width:210px;max-width:100%}
.ops-body[data-section="orders"] .ops-search input[type="date"]{max-width:132px}
.ops-body[data-section="orders"] .ops-table{table-layout:fixed;min-width:1180px;width:100%}
.ops-body[data-section="orders"] .ops-table th,.ops-body[data-section="orders"] .ops-table td{padding:7px 6px;font-size:12px;line-height:1.35;vertical-align:middle}
.ops-body[data-section="orders"] .ops-table th{font-size:11px;font-weight:600;background:#f7f8fa}
.ops-body[data-section="orders"] .ops-table td small{font-size:10px;line-height:1.3;margin-top:2px}
.ops-body[data-section="orders"] .ops-table th:nth-child(1){width:28px}
.ops-body[data-section="orders"] .ops-table th:nth-child(2){width:74px}
.ops-body[data-section="orders"] .ops-table th:nth-child(3){width:100px}
.ops-body[data-section="orders"] .ops-table th:nth-child(4){width:92px}
.ops-body[data-section="orders"] .ops-table th:nth-child(5){width:165px}
.ops-body[data-section="orders"] .ops-table th:nth-child(6),.ops-body[data-section="orders"] .ops-table th:nth-child(7),.ops-body[data-section="orders"] .ops-table th:nth-child(8),.ops-body[data-section="orders"] .ops-table th:nth-child(11){width:65px}
.ops-body[data-section="orders"] .ops-table th:nth-child(9){width:185px}
.ops-body[data-section="orders"] .ops-table th:nth-child(10){width:115px}
.ops-body[data-section="orders"] .ops-table th:nth-child(12){width:86px}
.ops-body[data-section="orders"] .ops-table th:nth-child(13){width:52px}
.ops-body[data-section="orders"] .ops-table th:nth-child(14){width:78px}
.ops-body[data-section="orders"] .order-link-text{display:block;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
.ops-body[data-section="orders"] .order-service-text{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.ops-body[data-section="orders"] .ops-table td:nth-child(3){overflow-wrap:anywhere}
.ops-body[data-section="orders"] .order-error{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ops-body[data-section="orders"] .ops-status{font-size:11px;padding:3px 6px;white-space:nowrap}
.ops-body[data-section="orders"] .ops-btn.small{padding:4px 7px;min-height:28px;font-size:11px}
.ops-body[data-section="orders"] .ops-bulk-row th{padding:6px 8px;width:auto!important;text-align:left}
.ops-body[data-section="orders"] .ops-table tbody tr:hover{background:rgba(51,122,183,.045)}
.ops-body[data-section="orders"] .order-selected-stats{font-weight:400;font-size:11px}
@media(max-width:700px){.ops-body[data-section="orders"] .ops-main{padding:8px}.ops-body[data-section="orders"] .ops-search{width:100%}.ops-body[data-section="orders"] .ops-search input[name="q"]{flex:1;width:150px}.ops-body[data-section="orders"] .order-selected-stats{display:block;margin:5px 0}.ops-body[data-section="orders"] .ops-toolbar{flex-wrap:wrap}}
/* Foreground loading is non-blocking and never queues or repeats requests. */
#panel-loading{position:fixed;inset:0 0 auto;height:3px;z-index:2147483000;pointer-events:none;overflow:hidden;background:rgba(51,122,183,.12)}
#panel-loading[hidden]{display:none!important}
#panel-loading::after{content:"";display:block;width:35%;height:100%;background:#337ab7;animation:panel-progress 1.1s ease-in-out infinite}
#panel-loading-label{position:fixed;right:15px;bottom:15px;z-index:2147483000;pointer-events:none;padding:7px 11px;border:1px solid #d6e4ef;border-radius:6px;background:#fff;color:#285e8e;font:12px/1.4 Arial,sans-serif;box-shadow:0 2px 8px #0001}
#panel-loading-label[hidden]{display:none!important}
@keyframes panel-progress{from{transform:translateX(-110%)}to{transform:translateX(390%)}}
@media(prefers-reduced-motion:reduce){#panel-loading::after{animation:none;width:100%;opacity:.65}}
