/* Operations centre: align surfaces and controls with the sales workspace. */
:root{background:#f3f6f8;color:#294b5e;-webkit-font-smoothing:antialiased}
body{line-height:1.65;background:#f3f6f8}
button,input,select,textarea{border-radius:10px;line-height:1.5}
button{font-size:13px;min-height:40px;transition:background .15s}
button:not(.secondary):not(.danger):hover{background:#125c72}
button.secondary{background:#fff;border:1px solid #dce6ed;color:#527386}
button.danger{background:#fff0ee;border:1px solid #f0d1cd;color:#ac5c55}
button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #8fc2cf;outline-offset:3px}
[hidden]{display:none!important}
input,select,textarea{background:#fff;border-color:#dce6ed;min-height:44px;font-size:14px}
input[readonly]{background:#f5f8fa;color:#8396a2}
input:focus,select:focus,textarea:focus{outline:2px solid #d0e8ef;outline-offset:1px;border-color:#7badbe}
input[type=checkbox]{accent-color:#176b83;min-height:auto}
header{height:78px;background:#153e52;border-bottom:1px solid #ffffff12}
header img{width:42px}
header b{font-size:18px;letter-spacing:.5px}
header small{font-size:10px;letter-spacing:2px}
header .secondary{background:#ffffff0d;border-color:#ffffff24;color:#d8e8ee}
header a{font-size:13px}
.layout{background:#f3f6f8}
.layout>nav{background:#fff;border-color:#e0e9ee;padding:24px 14px}
.nav-group{border-color:#e8eef2}
.nav-group>summary{color:#718997;font-size:12px;letter-spacing:.3px}
.nav-children button{color:#5b798b;border-radius:10px;min-height:42px}
.nav-children button.active{background:#e9f3f7;color:#176b83;font-weight:600}
.nav-children button:hover{background:#f3f8fa!important;color:#176b83}
.nav-current{font-size:10px}
main>h1{font-size:27px;letter-spacing:-.5px;color:#234b61;line-height:1.45}
main>p.muted{font-size:13px;color:#8296a3;margin-top:10px}
.card{border-color:#e1e9ee;border-radius:16px;box-shadow:0 3px 16px #183f5103;padding:24px}
.card h2{font-size:18px;color:#2c5369;line-height:1.6}
.toolbar{gap:12px;align-items:flex-end;margin:24px 0 18px}
.toolbar .field{font-size:12px;margin:0;min-width:0}
.toolbar input{min-width:0}
.toolbar>.clearable-control{flex:1;min-width:180px}
.hint{background:#f2f7fa;border:1px solid #e1ecf2;color:#708895;border-radius:12px;line-height:1.9;padding:15px 17px;font-size:13px}
.notice{border:1px solid #e1ecf1;border-left:3px solid #8dbdac;border-radius:12px;background:#fff;color:#648191}
.notice h2{font-size:17px}
.notice p{font-size:14px;line-height:1.85}
.table{border:1px solid #e3ebf0;border-radius:12px;background:#fff;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
table{font-size:13px}
th{background:#f6f9fb;color:#7a909f;font-weight:500}
th,td{padding:15px 13px;border-color:#edf1f4;line-height:1.8}
tbody tr:hover{background:#f8fbfc}
tbody tr:last-child td{border-bottom:0}
td button{min-height:34px;font-size:12px;border-radius:8px}
td small{font-size:11px;color:#8296a3}
.users-table table{table-layout:auto;min-width:940px}
.users-table th,.users-table td{padding:14px 11px}
.users-table th:nth-child(n){width:auto}
.users-table th:first-child{min-width:130px}
.users-table td:nth-child(5),.users-table td:nth-child(6){max-width:220px;min-width:150px}
.users-table td:last-child{min-width:125px}
.badge{background:#edf7f3;color:#578b78;border-radius:6px;font-size:12px;padding:4px 8px}
.badge.disabled{background:#fcf0ee;color:#aa6b63}
.pager{color:#8296a3;font-size:13px;flex-wrap:wrap;gap:12px;margin-top:20px}
.field{font-size:13px;color:#5b798b;line-height:1.7}
dialog{background:#fff;border-color:#e1e9ee;box-shadow:0 25px 90px #173e522b;border-radius:20px}
dialog::backdrop{background:#15384c65;backdrop-filter:blur(4px)}
dialog h2{font-size:21px;line-height:1.6;color:#294f64}
dialog p{font-size:13px;line-height:1.9;color:#758b98}
dialog .actions{border-top:1px solid #e9eff3;padding-top:18px;gap:10px}
.editor-heading{border-color:#e9eff3}
.mall-sku-edit,.mall-term-edit{background:#f8fafb;border-color:#e3ebf0;border-radius:13px}
.admin-product .actions{gap:9px}
.admin-sampling-entry{background:#f0f8f5;border-color:#d6e9df;border-radius:14px}
.login{background:#fff;box-shadow:0 12px 40px #123b5008;padding:34px}
.login h1{font-size:26px;line-height:1.5}
.login>p{font-size:13px}
.login img{width:60px;margin-bottom:14px}
@media(max-width:800px){
 header{height:70px;padding:12px 14px;gap:10px}
 header b{font-size:15px}
 header img{width:36px}
 header a{font-size:12px;margin-left:auto}
 header button{font-size:12px;padding:9px 12px;min-height:38px}
 .layout>nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:12px;gap:8px;border-right:0}
 .layout>nav .nav-group{margin:0;padding:0;border:0;min-width:0}
 .layout>nav .nav-group>summary{list-style:none;font-size:11px;line-height:1.6;color:#688594;padding:9px 7px;border:1px solid #e5edf1;border-radius:9px;text-align:center;background:#f8fafb;font-weight:500}
 .layout>nav .nav-group>summary::-webkit-details-marker{display:none}
 .layout>nav .nav-group[open]{grid-column:1/-1;order:-1;padding-bottom:4px}
 .layout>nav .nav-group[open]>summary{text-align:left;border:0;background:transparent;padding:4px 5px;color:#355c70;font-weight:600}
 .layout>nav .nav-current{font-size:10px;margin-left:8px}
 .layout>nav .nav-children{display:flex;flex-wrap:wrap;gap:6px;padding:8px 0 0}
 .layout>nav .nav-children button{font-size:12px;min-height:38px;padding:9px 12px;margin:0}
 main{padding:24px 14px}
 main>h1{font-size:24px}
 main>p.muted{font-size:12px;line-height:1.9}
 .card{padding:18px 15px;border-radius:14px}
 .toolbar{gap:10px}
 .toolbar>.clearable-control{min-width:0;flex-basis:100%;width:100%}
 .toolbar>input{min-width:0;max-width:100%}
 .toolbar>select,.toolbar>.field{flex:1;min-width:0}
 .hint{font-size:12px;padding:13px 14px}
 .users-table table{min-width:920px}
 .users-table th,.users-table td{font-size:12px;padding:13px 10px}
 .users-table td button{font-size:12px;padding:8px;min-height:34px}
 dialog{padding:22px 18px}
 dialog h2{font-size:19px}
 .login{margin:24px 14px;padding:28px 24px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
