.surface-switch{display:flex;align-items:center;margin:12px 8px 6px;padding:10px 8px;border-top:1px solid #ece5dc;color:#7a6b5c;font-size:12px;line-height:1.6}
.surface-switch:hover{color:#b44218;text-decoration:underline}
body.theme-apricot[data-surface="shops"] .sidebar .brand{white-space:normal;line-height:1.45;font-size:16px;letter-spacing:0;align-items:flex-start;padding:0 4px}
body.theme-apricot[data-surface="shops"] .sidebar .brand img{flex:none;width:28px;height:28px;margin-top:3px}
body.theme-apricot[data-surface="shops"] .sidebar .brand>span{display:block;min-width:0}
body.theme-apricot[data-surface="shops"] .sidebar .brand strong{display:block;font-size:20px;line-height:1.25}
body.theme-apricot[data-surface="shops"] .sidebar .brand small{display:block;margin-top:3px;font-size:12px;font-weight:500;white-space:nowrap;color:#746558}
body.theme-apricot[data-surface="shops"] .sidebar-bottom{margin-top:auto}
body.theme-apricot .login-page.shop-login{display:flex;align-items:center;justify-content:center;min-height:100vh;padding:32px 20px;background:#f5f3ef}
body.theme-apricot .shop-login .login-box{padding:36px;max-width:480px;width:100%;border:1px solid #e5ddd2;border-radius:18px;background:#fff;box-shadow:0 14px 45px #503b2510}
body.theme-apricot .shop-login .login-form{width:100%;max-width:none}
body.theme-apricot .shop-login .brand{padding:0;white-space:normal;margin-bottom:30px;line-height:1.5}
body.theme-apricot .shop-login h2{font-size:26px}
body.theme-apricot .shop-login .login-help{line-height:1.7}
@media(max-width:800px){.surface-switch{margin-top:0}body.theme-apricot[data-surface="shops"] .sidebar .brand{align-items:center}body.theme-apricot .shop-login .login-box{padding:28px 22px}}

/* The independent shop website retains its original blue-and-white identity.
   Every rule is opt-in so the business website keeps its existing theme. */
body.theme-blue {
  --blue:#0960ff; --muted:#667791; --border:#e0e7f2;
  font-family:"Microsoft YaHei","PingFang SC",Inter,Arial,sans-serif;
  font-size:14px; color:#172237; background:#f5f7fb; line-height:1.5;
}
body.theme-blue h1{font-size:28px;letter-spacing:0;color:#101c32;margin-bottom:7px}
body.theme-blue h2{font-size:17px;letter-spacing:0;color:#203655}
body.theme-blue .muted{color:#667791;font-size:13px}
body.theme-blue .eyebrow{font-size:12px;color:#7085a4;letter-spacing:.04em;margin-bottom:5px}
body.theme-blue :is(button,input,select,textarea){font-family:inherit}
body.theme-blue :is(input,select,textarea){border-color:#d5e0ef;color:#253b5a;font-size:14px}
body.theme-blue :is(input,textarea)::placeholder{color:#8a99af}
body.theme-blue :is(input,select,textarea):focus{outline:2px solid #c5d8ff;border-color:#4c87ff}
body.theme-blue input[type=checkbox]{accent-color:#0960ff}
body.theme-blue :is(button,a,summary):focus-visible{outline:3px solid #90b6ff;outline-offset:3px}
body.theme-blue button:disabled{cursor:not-allowed}
body.theme-blue .primary{background:#0960ff;border:1px solid #0960ff;border-radius:7px;padding:10px 18px;font-size:14px;box-shadow:0 3px 8px #0960ff12}
body.theme-blue .primary:hover{background:#0750d9;border-color:#0750d9}
body.theme-blue .text-button{color:#155bd7;font-size:13px}
body.theme-blue .text-button:hover{color:#0645b6}
body.theme-blue .segmented{background:#edf2fa;border:1px solid #dce5f3;padding:4px;gap:4px;border-radius:8px}
body.theme-blue .segmented button{color:#62748e;min-height:37px;font-size:14px;padding:7px 14px}
body.theme-blue .segmented button.selected{background:#fff;color:#0960ff;box-shadow:0 1px 4px #162c5910}

/* Navy navigation, white header, generous content width. */
body.theme-blue .sidebar{width:204px;padding:27px 13px 22px;background:linear-gradient(160deg,#081e49 0%,#061638 100%);border-right:0;color:#fff}
body.theme-blue .sidebar .brand{padding:0 10px;gap:10px;white-space:normal;letter-spacing:0;align-items:center;color:#fff}
body.theme-blue .shop-brand-icon{display:block;flex:none;width:38px;height:38px;border-radius:10px;box-shadow:0 4px 12px #0002}
body.theme-blue .sidebar .brand>span{display:block;min-width:0}
body.theme-blue .sidebar .brand strong{display:block;font-size:24px;line-height:1.25}
body.theme-blue .sidebar .brand small{display:block;margin-top:5px;font-size:12px;font-weight:400;color:#bdcdec;white-space:nowrap}
body.theme-blue .sidebar .surface-switch{margin:22px 8px 0;padding:12px 2px 0;border-top:1px solid #ffffff20;color:#a5b9db;font-size:12px}
body.theme-blue .sidebar .surface-switch:hover{color:#fff}
body.theme-blue .workspace-label{margin:30px 10px 13px;color:#9db3d6;font-size:11px}
body.theme-blue .workspace-label span{background:#ffffff12;color:#d5e1f6;padding:3px 6px}
body.theme-blue .sidebar nav{gap:7px}
body.theme-blue .sidebar .nav-item{height:47px;margin:0;padding:12px 15px;border-radius:7px;color:#cbd8ef;font-size:16px;font-weight:500;gap:12px}
body.theme-blue .sidebar .nav-item:hover{background:#ffffff0c;color:#fff}
body.theme-blue .sidebar .nav-item.active{background:#0960ff;color:#fff;font-weight:650;box-shadow:0 4px 12px #00194930}
body.theme-blue .sidebar .nav-icon{display:flex;align-items:center}
body.theme-blue .sidebar .nav-icon svg{width:21px;height:21px}
body.theme-blue .sidebar-bottom{margin-top:auto;border-color:#ffffff20;padding:19px 8px 0;gap:10px}
body.theme-blue .sidebar-bottom .avatar{width:35px;height:35px;background:#234372;color:#deebff}
body.theme-blue .sidebar-bottom strong{color:#f4f7ff;font-size:14px}
body.theme-blue .sidebar-bottom small{color:#9eb4d5;font-size:11px}
body.theme-blue .main-wrap{margin-left:204px;width:calc(100% - 204px);min-width:0}
body.theme-blue .topbar{min-height:64px;padding:14px 26px;border-color:#e0e7f2;color:#6c7c95;font-size:13px}
body.theme-blue .topbar strong{color:#263c5a}
body.theme-blue #main{padding:25px 26px;max-width:1800px}
body.theme-blue .page-heading{margin-bottom:18px;gap:16px}
body.theme-blue footer{padding:4px 26px 25px;color:#7c8da6;font-size:11px}
body.theme-blue .workspace-sync{color:#71839e;font-size:11px}
body.theme-blue .workspace-sync.error{color:#b42318}

/* Archive: bright search, compact totals, legal directory and license rows. */
body.theme-blue .sc-root{--sc-accent:#0960ff;--sc-line:#dfe7f2;--sc-muted:#6a7c96;color:#263a56}
body.theme-blue .sc-head-actions .text-button{border:1px solid #d9e4f4;background:#fff;border-radius:7px;padding:9px 14px;min-height:42px}
body.theme-blue .sc-page-tabs{border:0;background:#eaf0f9;display:inline-flex;border-radius:8px;padding:4px;margin:0 0 19px;gap:5px}
body.theme-blue .sc-page-tabs button{border:0;border-radius:6px;padding:10px 23px;min-height:42px;color:#586d8c;font-size:15px}
body.theme-blue .sc-page-tabs button.selected{background:#fff;color:#0960ff;box-shadow:0 1px 6px #193c7012}
body.theme-blue .sc-page-tabs small{background:#e4edff;color:#2563d4;font-size:12px}
body.theme-blue .sc-summary{gap:0;margin:0 0 18px;border:1px solid #dde6f4;border-radius:9px;background:#fff;overflow:hidden;padding:15px 0}
body.theme-blue .sc-stat{display:flex;align-items:center;justify-content:center;gap:18px;border:0;border-right:1px solid #e3e9f3;border-radius:0;background:#fff;padding:5px 20px;color:#425672}
body.theme-blue .sc-stat:last-child{border-right:0}
body.theme-blue .sc-stat:hover{background:#f4f8ff}
body.theme-blue .sc-stat span{font-size:14px;font-weight:500}
body.theme-blue .sc-stat strong{display:flex;align-items:baseline;margin:0;font-size:30px;color:#0960ff;font-variant-numeric:tabular-nums}
body.theme-blue .sc-stat strong small{color:#77879d;font-size:12px;margin-left:5px}
body.theme-blue .sc-stat[data-sc-metric=using] strong{color:#11905b}
body.theme-blue .sc-stat[data-sc-metric=idle] strong{color:#bc750d}
body.theme-blue .sc-stat-danger strong{color:#d3324d}
body.theme-blue .sc-find{grid-template-columns:minmax(160px,.65fr) minmax(240px,1.6fr) auto;gap:20px;background:#edf4ff;border-color:#ccddfb;padding:18px 20px;border-radius:9px}
body.theme-blue .sc-find h2{color:#194887;font-size:18px}
body.theme-blue .sc-find p{color:#647e9f;font-size:12px;max-width:300px}
body.theme-blue .sc-find textarea{border-color:#abc7f7;font-size:14px;min-height:70px;border-radius:7px;line-height:1.7}
body.theme-blue .sc-toolbar{gap:11px;padding:17px 0 15px}
body.theme-blue :is(.sc-toolbar label,.sc-list-top label){color:#60738f;font-size:12px}
body.theme-blue :is(.sc-toolbar select,.sc-list-top select,.sc-pagination select){border-color:#d6e1f0;color:#324a6b;border-radius:6px;min-height:38px}
body.theme-blue .sc-search-note{background:#eaf2ff;border-color:#0960ff;color:#2657a2;margin-bottom:14px}
body.theme-blue .sc-search-note span{color:#b34545}
body.theme-blue .sc-layout{grid-template-columns:205px minmax(0,1fr);gap:14px}
body.theme-blue .sc-layout-wide{grid-template-columns:minmax(0,1fr)}
body.theme-blue .sc-legal-nav{border-color:#dde6f2;padding:18px 10px;border-radius:8px;background:#fff}
body.theme-blue .sc-legal-nav h2{font-size:16px!important;color:#203655!important;margin:0 10px 15px!important}
body.theme-blue .sc-legal-nav button{min-height:47px;padding:10px 12px;color:#354d70;font-size:14px;border-radius:6px}
body.theme-blue .sc-legal-nav button:hover{background:#f4f7fd}
body.theme-blue .sc-legal-nav button.selected{background:#dfebff;color:#0755e8;font-weight:600}
body.theme-blue .sc-legal-nav b{background:#edf2fa;color:#5e769b;border-radius:5px;font-size:12px}
body.theme-blue .sc-legal-nav .selected b{background:#cbdfff;color:#0755e8}
body.theme-blue .sc-list-top{color:#70819b;font-size:12px}
body.theme-blue .sc-list input[type=checkbox]{accent-color:#0960ff;width:16px;height:16px}
body.theme-blue .sc-license{border-color:#dce5f2;border-radius:8px;margin-bottom:11px}
body.theme-blue .sc-license>summary{background:#fff;padding:16px 18px}
body.theme-blue .sc-license>summary:hover{background:#f7faff}
body.theme-blue .sc-license[open]>summary{background:#f1f6ff}
body.theme-blue .sc-license strong{font-size:15px;color:#243e64}
body.theme-blue .sc-license summary small{font-size:12px;color:#7387a4}
body.theme-blue .sc-folder-mark{background:#e7efff;color:#1b65e5;border-radius:7px;width:36px;height:36px;font-weight:600}
body.theme-blue .sc-license-count{background:#e9f1ff;color:#1d63d5;font-size:13px}
body.theme-blue .sc-chevron{color:#8ba1c0}
body.theme-blue .sc-license-shops{border-color:#dfe8f5}
body.theme-blue .sc-shop+.sc-shop{border-color:#e7edf6}
body.theme-blue .sc-account strong{color:#0960ef;font-size:14px}
body.theme-blue .sc-account small{color:#7587a1;font-size:12px}
body.theme-blue .sc-shop-people{color:#405778;font-size:13px}
body.theme-blue .sc-shop-people small{color:#7789a3;font-size:12px}
body.theme-blue .sc-badge{font-size:12px}
body.theme-blue :is(.sc-usage-unknown,.sc-violation-unknown){background:#edf2fa;color:#637998}
body.theme-blue .sc-shop-detail>summary{font-size:12px;color:#5576a4}
body.theme-blue .sc-detail-grid{background:#f5f8fd;color:#324d73;font-size:13px}
body.theme-blue .sc-detail-grid p>span{color:#7a8ca6;font-size:12px}
body.theme-blue .sc-selection{background:#eaf2ff;border-color:#c1d7ff;color:#2658a5}
body.theme-blue .sc-pagination{color:#7083a0;font-size:12px;gap:12px}
body.theme-blue .sc-pagination select{width:auto;min-width:116px}
body.theme-blue .sc-empty{border-color:#d1deef;color:#7587a3}

/* Collaboration keeps meaningful step colors; secondary text follows blue. */
body.theme-blue .sc-task-row{border-color:#dde6f2}
body.theme-blue .sc-task-account strong{color:#155acb;font-size:15px}
body.theme-blue .sc-task-account small{color:#7889a1;font-size:12px}
body.theme-blue .sc-task-date{color:#657b9b}
body.theme-blue .sc-task-detail>summary{color:#5475a2;font-size:12px}
body.theme-blue .sc-task-detail-body{color:#586f90;font-size:13px}
body.theme-blue .sc-task-history li{border-color:#e1e9f5}
body.theme-blue .sc-task-history small{color:#798da8;font-size:11px}
body.theme-blue .sc-task-search input{border-color:#d5e0ef}
body.theme-blue .sc-task-confirm{color:#4e688c}
body.theme-blue .sc-task-confirm input{accent-color:#0960ff}
body.theme-blue .sc-qr-mini{border-color:#d6e2f2;color:#3866aa}
body.theme-blue .sc-qr-preview{border-color:#cddcf0;color:#7c90ac;background:#f8fbff}
body.theme-blue .sc-qr-file{color:#577194}

/* Forms, imports and calendars use the same controls and readable neutrals. */
body.theme-blue :is(.sc-dialog,.oc-dialog,#detail){border-color:#d6e1f1;background:#fff;color:#263c5d;box-shadow:0 20px 80px #08255725}
body.theme-blue dialog::backdrop{background:#10294e66}
body.theme-blue .sc-dialog-head h2{font-size:21px}
body.theme-blue :is(.sc-form-grid label,.sc-import-file label){color:#536c8e;font-size:13px}
body.theme-blue :is(.sc-form-grid input,.sc-form-grid select,.sc-form-grid textarea){border-color:#d1def0;color:#2b4262;min-height:42px}
body.theme-blue .sc-help{color:#7186a4;font-size:12px}
body.theme-blue .sc-dialog-actions{border-color:#e1e8f3;gap:10px}
body.theme-blue .sc-import-file{background:#eef4fe;border:1px solid #dce7f8}
body.theme-blue .sc-manage-existing{background:#f0f5fd;color:#607a9c}
body.theme-blue .sc-manage-existing select{border-color:#d5e0ef;color:#2d486c}
body.theme-blue .sc-secret-field button{font-size:12px}
body.theme-blue .oc-root{--oc-blue:#0960ff;--oc-line:#dfe7f2;--oc-muted:#6c7e98;color:#263d5e}
body.theme-blue .oc-heading h1{font-size:28px;color:#101c32}
body.theme-blue .oc-heading p{color:#667b99}
body.theme-blue .oc-primary{background:#0960ff;border-color:#0960ff;font-size:14px}
body.theme-blue .oc-primary:hover{background:#0750d9}
body.theme-blue .oc-secondary{border-color:#d3dff1;color:#3d5c87;background:#fff;font-size:13px}
body.theme-blue .oc-link{color:#155bd7;font-size:13px}
body.theme-blue .oc-stats strong{color:#0960ff}
body.theme-blue .oc-stats [data-oc-status=pending] strong{color:#b77317}
body.theme-blue .oc-stats [data-oc-status=overdue] strong{color:#bc4255}
body.theme-blue .oc-month-toolbar,body.theme-blue .oc-month-controls{flex-wrap:wrap;min-width:0}
body.theme-blue .oc-month-controls{flex:1}
body.theme-blue .oc-month-controls input{width:176px;flex:none}
body.theme-blue .oc-month-controls>.oc-link{white-space:nowrap}
body.theme-blue .oc-day.is-selected{box-shadow:inset 0 0 0 2px #0960ff;background:#edf4ff}
body.theme-blue .oc-calendar-head{background:#edf3fc;color:#557094}
body.theme-blue .oc-event{font-size:11px}
body.theme-blue .oc-day-more{font-size:11px}
body.theme-blue .oc-record-heading>strong{font-size:14px}
body.theme-blue .oc-record-facts{font-size:12px}
body.theme-blue .oc-dialog{padding:0}
body.theme-blue .oc-dialog form{padding-bottom:0}

/* Login uses the same blue shop identity, without the business dashboard. */
body.theme-blue .login-page.shop-login{display:flex;align-items:center;justify-content:center;min-height:100vh;padding:32px 20px;background:#f1f5fc}
body.theme-blue .shop-login .login-box{padding:36px;max-width:480px;width:100%;border:1px solid #dbe5f5;border-radius:16px;background:#fff;box-shadow:0 14px 45px #123e7b0c}
body.theme-blue .shop-login .login-form{width:100%;max-width:none}
body.theme-blue .shop-login .brand{padding:0;white-space:normal;margin-bottom:30px;line-height:1.5;color:#174174;font-size:18px;letter-spacing:0}
body.theme-blue .shop-login h1{font-size:26px}
body.theme-blue .shop-login .login-help{line-height:1.7;color:#6f83a0}
body.theme-blue .shop-login .surface-switch{border-color:#e0e7f2;color:#6d85a5}

@media(max-width:1150px){
 body.theme-blue .sidebar{width:184px;padding-left:10px;padding-right:10px}
 body.theme-blue .main-wrap{margin-left:184px;width:calc(100% - 184px)}
 body.theme-blue #main{padding:22px 20px}
 body.theme-blue .topbar{padding:13px 20px}
 body.theme-blue .sc-find{grid-template-columns:1fr 1.5fr}
 body.theme-blue .sc-layout{grid-template-columns:175px minmax(0,1fr);gap:12px}
 body.theme-blue .sc-layout-wide{grid-template-columns:minmax(0,1fr)}
 body.theme-blue .sc-stat{gap:10px;padding:5px 12px}
 body.theme-blue .sc-stat strong{font-size:26px}
}
@media(max-width:760px){
 body.theme-blue .sc-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:0;padding:6px 0}
 body.theme-blue .sc-stat{padding:12px;border:0}
 body.theme-blue .sc-stat:nth-child(odd){border-right:1px solid #e3e9f3}
 body.theme-blue .sc-find{display:flex;padding:16px;gap:12px}
 body.theme-blue .sc-layout{display:block}
 body.theme-blue .sc-pagination>span:first-child{flex-basis:100%}
 body.theme-blue .sc-page-tabs{display:flex}
 body.theme-blue .sc-page-tabs button{flex:1;padding:9px 14px}
 body.theme-blue .sc-head-actions .text-button{padding:8px 10px}
 body.theme-blue .page-heading{flex-wrap:wrap}
}
@media(max-width:720px){
 body.theme-blue .sidebar{position:static;width:100%;padding:17px 16px;display:block}
 body.theme-blue .sidebar .brand{padding:0}
 body.theme-blue .sidebar .brand>span{display:flex;align-items:center;gap:8px}
 body.theme-blue .sidebar .brand strong{font-size:22px}
 body.theme-blue .sidebar .brand small{margin:0;font-size:13px}
 body.theme-blue .sidebar .surface-switch{margin:12px 0 0;padding-top:8px}
 body.theme-blue .workspace-label,body.theme-blue .sidebar-bottom{display:none}
 body.theme-blue .sidebar nav{flex-direction:row;flex-wrap:wrap;gap:5px;margin-top:15px;overflow:visible}
 body.theme-blue .sidebar .nav-item{flex:1;justify-content:center;width:auto;height:42px;padding:9px 8px;font-size:14px;gap:6px}
 body.theme-blue .sidebar .nav-icon{display:flex}
 body.theme-blue .sidebar .nav-icon svg{width:18px;height:18px}
 body.theme-blue .main-wrap{margin:0;width:100%}
 body.theme-blue .topbar{padding:10px 16px;flex-wrap:wrap;min-height:53px}
 body.theme-blue #main{padding:20px 15px}
 body.theme-blue h1,body.theme-blue .oc-heading h1{font-size:25px}
 body.theme-blue footer{padding:4px 15px 22px}
 body.theme-blue .shop-login .login-box{padding:28px 22px}
}
@media(max-width:480px){
 body.theme-blue .sc-task-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.theme-blue .oc-month-toolbar{align-items:flex-start}
 body.theme-blue .oc-month-controls input{width:140px}
 body.theme-blue .sc-stat{gap:8px;font-size:13px}
 body.theme-blue .sc-stat strong{font-size:25px}
 body.theme-blue .sc-task-next{white-space:normal}
}

/* Employee ownership is another view of the archive, with a compact directory
   and wrapped rows so operators never need a horizontal scrollbar. */
body.theme-blue .sc-employee-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:16px;align-items:start}
body.theme-blue .sc-employee-nav{background:#fff;border:1px solid #dce6f3;border-radius:9px;padding:18px 12px;min-width:0}
body.theme-blue .sc-employee-nav h2{margin:0 6px 14px;font-size:17px}
body.theme-blue .sc-employee-search{display:block;margin:0 0 12px;color:#667b98;font-size:12px}
body.theme-blue .sc-employee-search input{margin-top:6px;min-height:40px;padding:9px 10px;font-size:13px;background:#fbfcff}
body.theme-blue .sc-employee-links{display:flex;flex-direction:column;gap:4px;max-height:600px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
body.theme-blue .sc-employee-option{display:flex;align-items:center;justify-content:space-between;gap:9px;width:100%;min-height:49px;padding:11px 12px;text-align:left;color:#324c70;background:#fff;border:1px solid transparent;border-radius:7px}
body.theme-blue .sc-employee-option:hover{background:#f2f6fd}
body.theme-blue .sc-employee-option[aria-current=true]{background:#e4eeff;border-color:#c9dcff;color:#0758ed}
body.theme-blue .sc-employee-name{min-width:0;overflow-wrap:anywhere}
body.theme-blue .sc-employee-name strong{display:block;font-size:14px;font-weight:600}
body.theme-blue .sc-employee-name small{display:block;margin-top:3px;color:#7b8da7;font-size:11px;font-weight:400}
body.theme-blue .sc-employee-option b{flex:none;min-width:29px;text-align:center;background:#eef3fa;border-radius:5px;padding:2px 6px;color:#5d779d;font-size:12px;font-variant-numeric:tabular-nums}
body.theme-blue .sc-employee-option[aria-current=true] b{background:#ccdeff;color:#0758ed}
body.theme-blue .sc-employee-empty{padding:21px 10px;color:#7a8da7;font-size:13px;text-align:center;line-height:1.8}
body.theme-blue .sc-employee-content{min-width:0;background:#fff;border:1px solid #dce6f3;border-radius:9px;padding:21px;container:employee-content / inline-size}
body.theme-blue .sc-employee-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:16px}
body.theme-blue .sc-employee-heading h2{margin:0;color:#152d50;font-size:22px;overflow-wrap:anywhere}
body.theme-blue .sc-employee-heading p{margin:0;color:#7184a0;font-size:12px;line-height:1.75}
body.theme-blue .sc-employee-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;background:#f2f6fe;border:1px solid #e2ebfa;border-radius:7px;padding:14px 0;margin-bottom:17px}
body.theme-blue .sc-employee-summary>div{display:flex;align-items:baseline;justify-content:center;flex-wrap:wrap;gap:7px;padding:0 12px;border-right:1px solid #dae5f6;min-width:0}
body.theme-blue .sc-employee-summary>div:last-child{border-right:0}
body.theme-blue .sc-employee-summary span{color:#587297;font-size:13px}
body.theme-blue .sc-employee-summary strong{color:#0960ff;font-size:27px;line-height:1.2;font-variant-numeric:tabular-nums}
body.theme-blue .sc-employee-summary small{color:#7890ae;font-size:12px}
body.theme-blue .sc-employee-find{display:flex;align-items:stretch;gap:10px;min-width:0}
body.theme-blue .sc-employee-find textarea{flex:1;min-width:0;min-height:68px;max-height:200px;border-color:#bfd2f2;line-height:1.6;font-size:13px;padding:10px 12px}
body.theme-blue .sc-employee-find>div{display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:4px;flex:none}
body.theme-blue .sc-employee-find .primary{min-height:40px;padding:9px 14px}
body.theme-blue .sc-employee-content .sc-toolbar{padding:15px 0 13px}
body.theme-blue .sc-employee-content .sc-toolbar label{min-width:0}
body.theme-blue .sc-employee-content .sc-toolbar select{max-width:100%}
body.theme-blue .sc-employee-content .sc-list-top{margin:0 0 12px;gap:12px;flex-wrap:wrap}
body.theme-blue .sc-employee-content .sc-selection{margin-top:0}
body.theme-blue .sc-employee-table-wrap{width:100%;min-width:0;border:1px solid #e1e8f3;border-radius:7px;overflow:hidden}
body.theme-blue .sc-employee-table{width:100%;table-layout:fixed;white-space:normal;text-align:left;font-size:13px;border-collapse:collapse}
body.theme-blue .sc-employee-table :is(th,td){padding:13px 9px;border-bottom:1px solid #e7edf6;vertical-align:top;overflow-wrap:anywhere;white-space:normal;line-height:1.65}
body.theme-blue .sc-employee-table th{background:#f0f5fd;color:#526c92;font-size:12px;font-weight:600;padding-top:11px;padding-bottom:11px}
body.theme-blue .sc-employee-table th:nth-child(1){width:4%}
body.theme-blue .sc-employee-table th:nth-child(2){width:23%}
body.theme-blue .sc-employee-table th:nth-child(3){width:10%}
body.theme-blue .sc-employee-table th:nth-child(4){width:27%}
body.theme-blue .sc-employee-table th:nth-child(5){width:10%}
body.theme-blue .sc-employee-table th:nth-child(6){width:17%}
body.theme-blue .sc-employee-table th:nth-child(7){width:9%}
body.theme-blue .sc-employee-table tbody tr:last-child td{border-bottom:0}
body.theme-blue .sc-employee-table tbody tr:hover{background:#f8fbff}
body.theme-blue .sc-employee-table input[type=checkbox]{width:16px;height:16px;margin:3px 0 0;vertical-align:top}
body.theme-blue .sc-employee-table .sc-account{display:block;width:100%;padding:0;min-width:0;text-align:left}
body.theme-blue .sc-employee-table .sc-account strong{font-size:13px;overflow-wrap:anywhere}
body.theme-blue .sc-employee-table td>strong{display:block;color:#314e74;font-size:13px;font-weight:500}
body.theme-blue .sc-employee-table td>small{display:block;margin-top:5px;color:#7a8ca6;font-size:11px;line-height:1.65}
body.theme-blue .sc-employee-table .sc-badge{display:inline-block;max-width:100%;padding:3px 6px;white-space:normal;line-height:1.45}
body.theme-blue .sc-employee-table .text-button{white-space:normal;padding:0;font-size:12px;text-align:left;line-height:1.7}
body.theme-blue .sc-employee-cell-label{display:none}
body.theme-blue .sc-employee-content .sc-pagination{margin-bottom:0}

@container employee-content (max-width:780px){
 body.theme-blue .sc-employee-table,body.theme-blue .sc-employee-table tbody{display:block}
 body.theme-blue .sc-employee-table thead{display:none}
 body.theme-blue .sc-employee-table tbody tr{display:grid;grid-template-columns:20px minmax(0,1fr) minmax(0,1fr);gap:12px 16px;padding:16px;border-bottom:1px solid #e2eaf5}
 body.theme-blue .sc-employee-table tbody tr:last-child{border-bottom:0}
 body.theme-blue .sc-employee-table td{display:block;min-width:0;padding:0;border:0!important}
 body.theme-blue .sc-employee-table td:first-child{grid-column:1;grid-row:1 / span 4}
 body.theme-blue .sc-employee-table td:nth-child(2){grid-column:2 / -1}
 body.theme-blue .sc-employee-table td:nth-child(3),body.theme-blue .sc-employee-table td:nth-child(5){grid-column:2}
 body.theme-blue .sc-employee-table td:nth-child(4),body.theme-blue .sc-employee-table td:nth-child(6){grid-column:3}
 body.theme-blue .sc-employee-table td:last-child{grid-column:2 / -1}
 body.theme-blue .sc-employee-cell-label{display:block;margin-bottom:4px;color:#8191a8;font-size:11px;font-weight:400}
 body.theme-blue .sc-employee-table .sc-account strong{font-size:14px}
}
@media(max-width:1000px){
 body.theme-blue .sc-employee-layout{grid-template-columns:175px minmax(0,1fr);gap:12px}
 body.theme-blue .sc-employee-content{padding:17px}
 body.theme-blue .sc-employee-summary>div{padding:0 7px;gap:5px}
 body.theme-blue .sc-employee-summary strong{font-size:23px}
 body.theme-blue .sc-employee-summary span{flex-basis:100%;text-align:center;margin-bottom:3px;font-size:12px}
}
@media(max-width:800px){
 body.theme-blue .sc-employee-layout{grid-template-columns:minmax(0,1fr)}
 body.theme-blue .sc-employee-nav{padding:14px}
 body.theme-blue .sc-employee-nav h2{margin-left:0;font-size:15px}
 body.theme-blue .sc-employee-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:210px;gap:5px}
 body.theme-blue .sc-employee-option{padding:9px 10px;background:#f7faff;min-width:0}
 body.theme-blue .sc-employee-empty{grid-column:1 / -1}
 body.theme-blue .sc-employee-search{margin-bottom:10px}
 body.theme-blue .sc-employee-heading h2{font-size:20px}
}
@media(max-width:480px){
 body.theme-blue .sc-employee-content{padding:14px}
 body.theme-blue .sc-employee-find{flex-direction:column}
 body.theme-blue .sc-employee-find>div{flex-direction:row;justify-content:flex-end;gap:12px}
 body.theme-blue .sc-employee-table tbody tr{gap:12px 10px;padding:13px 10px}
 body.theme-blue .sc-employee-table td:nth-child(3),body.theme-blue .sc-employee-table td:nth-child(4){grid-column:2 / -1}
 body.theme-blue .sc-employee-table td:first-child{grid-row:1 / span 5}
}

/* License status is readable without expanding the shop list. */
body.theme-blue .sc-license{container:license-row / inline-size}
body.theme-blue .sc-license>summary{display:grid;grid-template-columns:36px minmax(220px,1fr) auto 16px;gap:12px 18px;align-items:center}
body.theme-blue .sc-license-title{min-width:0}
body.theme-blue .sc-license-overview{display:flex;flex-direction:column;gap:7px;min-width:0}
body.theme-blue .sc-license-metrics{display:flex;flex-wrap:wrap;gap:7px}
body.theme-blue .sc-license-metric{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;padding:6px 9px;border-radius:6px;background:#edf3fd;color:#275aa7;font-size:12px;line-height:1.4}
body.theme-blue .sc-license-metric b{font-size:17px;font-weight:650;font-variant-numeric:tabular-nums}
body.theme-blue .sc-license-metric-total{background:#e7efff;color:#125cda}
body.theme-blue .sc-license-metric-using{background:#e7f6ed;color:#157347}
body.theme-blue .sc-license-metric-idle{background:#fff2da;color:#a95e00}
body.theme-blue .sc-license-metric-violation{background:#ffebeb;color:#c52a36}
body.theme-blue .sc-license-metric-unknown,body.theme-blue .sc-license-metric.is-zero{background:#f0f3f8;color:#77869b}
body.theme-blue .sc-license-context{display:flex;flex-wrap:wrap;gap:5px 14px;color:#71829b;font-size:11px;line-height:1.5}
body.theme-blue .sc-license-context b{font-weight:600}
@container license-row (max-width:900px){
 body.theme-blue .sc-license>summary{grid-template-columns:36px minmax(0,1fr) 16px;gap:11px 12px}
 body.theme-blue .sc-license-overview{grid-column:2 / -1;grid-row:2}
 body.theme-blue .sc-license>summary>.sc-chevron{grid-column:3;grid-row:1}
}
@container license-row (max-width:450px){
 body.theme-blue .sc-license-overview{grid-column:1 / -1}
 body.theme-blue .sc-license-metrics{gap:6px}
 body.theme-blue .sc-license-metric{padding:5px 7px;font-size:11px;gap:4px}
 body.theme-blue .sc-license-metric b{font-size:15px}
}

/* Keep account details visible without widening the shop list. */
.sc-shop{container:shop-row / inline-size}
.sc-account-group{flex:1;min-width:0}
.sc-account-group>.sc-account{display:block;width:100%}
.sc-account-copy-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:8px}
.sc-copy-field{flex:none;display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:3px 8px;border:1px solid #d6e4fa;border-radius:5px;background:#fff;color:#1761ce;font:inherit;font-size:12px;white-space:nowrap}
.sc-copy-field:hover:not(:disabled){background:#eaf2ff;border-color:#9dbff1;color:#064fc3}
.sc-copy-field:focus-visible{outline:2px solid #0960ff;outline-offset:2px}
.sc-account-copy-actions .sc-copy-field{min-height:25px;font-size:11px;padding:2px 7px}
.sc-shop-credentials{margin:0 0 12px 29px;padding:13px 15px;background:#f7faff;border:1px solid #dce7f8;border-radius:8px;min-width:0}
.sc-credentials-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:11px;color:#3e587d;font-size:12px;font-weight:600}
.sc-credentials-heading .text-button{padding:0;font-size:12px;font-weight:400;color:#1761ce}
.sc-credentials-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px 20px;min-width:0}
.sc-credential-item{min-width:0}
.sc-credential-label{display:block;color:#647b9d;font-size:12px;line-height:1.5;margin-bottom:4px}
.sc-credential-line{display:flex;align-items:flex-start;gap:8px;min-width:0}
.sc-credential-value{display:block;flex:1;min-width:0;color:#203c65;font-family:Arial,"Microsoft YaHei",sans-serif;font-size:14px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;user-select:text}
.sc-credential-empty{color:#91a0b5;font-size:13px}
.sc-credentials-missing{color:#647b9d;font-size:13px;margin:0;line-height:1.7}
.sc-violation-tags{display:flex;flex-wrap:wrap;gap:6px;margin:7px 0}
.sc-shop>.sc-violation-tags{margin:0 0 12px 29px}
.sc-violation-tag{display:inline-flex;max-width:100%;padding:4px 8px;border-radius:5px;background:#edf3fc;color:#476482;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.sc-tag-status-violation{background:#ffe9eb;color:#bd2538}
.sc-tag-status-unknown{background:#fff2d9;color:#935a00}
.sc-tag-editor{padding:15px;background:#f6f9ff;border:1px solid #dbe6f8;border-radius:8px;min-width:0}
.sc-tag-title{display:flex;align-items:baseline;flex-wrap:wrap;gap:10px;margin-bottom:11px;color:#24446d}
.sc-tag-title small{font-size:12px;color:#6a7e99;font-weight:400}
.sc-tag-options{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}
.sc-tag-options button{display:inline-flex;align-items:center;gap:5px;max-width:100%;min-height:32px;padding:5px 10px;background:#fff;border:1px solid #cddcf2;border-radius:6px;color:#476282;font-size:13px;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
.sc-tag-options button:hover:not(:disabled){border-color:#4c89fa;color:#175ed0}
.sc-tag-options button[aria-pressed=true]{border-color:#1765eb;background:#e9f1ff;color:#0958cc;font-weight:600}
.sc-tag-options button[aria-pressed=true]::before{content:'✓';font-weight:700}
.sc-tag-options button:focus-visible{outline:2px solid #0960ff;outline-offset:2px}
.sc-tag-create{display:flex;gap:9px;align-items:center}
.sc-tag-create label{flex:1;min-width:0;display:grid;gap:6px;font-size:12px;color:#59708f}.sc-tag-create input{min-width:0;width:100%}.sc-tag-create button{align-self:end}
.sc-tag-create button{flex:none;white-space:nowrap}
.sc-tag-help{display:block;margin-top:10px;color:#697f9f;line-height:1.6;font-size:12px}
.sc-tag-editor .error{margin:8px 0 0}
.sc-tag-editor .error:empty{display:none}
#sc-tag-filter,#sc-staff-tag{max-width:210px}
.sc-visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
/* Only the shop editor scrolls its fields; its save action stays in view. */
body.theme-blue dialog.sc-dialog:has(#sc-store-form){width:min(920px,calc(100vw - 32px));max-width:920px;max-height:calc(100dvh - 32px);padding:0;overflow:hidden;box-sizing:border-box}
body.theme-blue dialog.sc-dialog[open]:has(#sc-store-form){display:flex;flex-direction:column}
body.theme-blue .sc-dialog:has(#sc-store-form)>.sc-dialog-head{flex:none;margin:0;padding:19px 22px 16px}
body.theme-blue #sc-store-form{display:flex;flex-direction:column;min-height:0;overflow:hidden;margin:0;padding:0}
body.theme-blue #sc-store-form .sc-store-body{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 22px 16px;scrollbar-gutter:stable}
body.theme-blue #sc-store-form .sc-store-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 15px}
body.theme-blue #sc-store-form .sc-store-license{grid-column:span 2;min-width:0}
body.theme-blue #sc-store-form .sc-form-grid label{gap:5px;font-size:13px}
body.theme-blue #sc-store-form :is(input,select,textarea){min-height:36px;padding:7px 9px;font-size:13px;line-height:1.5}
body.theme-blue #sc-store-form .sc-tag-editor{margin:0;padding:11px 12px}
body.theme-blue #sc-store-form .sc-tag-title{margin-bottom:8px;font-size:13px}
body.theme-blue #sc-store-form .sc-tag-options{gap:6px;margin-bottom:8px;max-height:76px;overflow:auto}
body.theme-blue #sc-store-form .sc-tag-options button{min-height:29px;padding:4px 9px;font-size:12px}
body.theme-blue #sc-store-form .sc-tag-create{gap:12px}
body.theme-blue #sc-store-form .sc-tag-create label{display:block}
body.theme-blue #sc-store-form .sc-tag-create input{min-height:34px}
body.theme-blue #sc-store-form .sc-tag-create button{min-height:34px;padding:4px 6px;font-size:13px;align-self:center}
body.theme-blue #sc-store-form .sc-store-more{margin-top:12px;border-top:1px solid #e5ecf5;padding-top:11px}
body.theme-blue #sc-store-form .sc-store-more>summary{display:flex;gap:10px;align-items:center;cursor:pointer;list-style:none;color:#43638c;font-size:13px;line-height:1.5}
body.theme-blue #sc-store-form .sc-store-more>summary::-webkit-details-marker{display:none}
body.theme-blue #sc-store-form .sc-store-more>summary::before{content:'›';font-size:20px;line-height:16px;transition:transform .15s}
body.theme-blue #sc-store-form .sc-store-more[open]>summary::before{transform:rotate(90deg)}
body.theme-blue #sc-store-form .sc-store-more>summary small{margin-left:auto;color:#7488a2;font-size:12px}
body.theme-blue #sc-store-form .sc-store-more>.sc-form-grid{margin-top:12px;gap:12px}
body.theme-blue #sc-store-form .sc-store-footer{flex:none;padding:12px 22px 14px;border-top:1px solid #e1e8f3;background:#fff;box-shadow:0 -3px 10px #173f7305}
body.theme-blue #sc-store-form .sc-store-footer .sc-dialog-actions{margin:0;padding:0;border:0}
body.theme-blue #sc-store-form .sc-store-footer .primary{min-width:138px;min-height:38px;padding:9px 18px}
body.theme-blue #sc-store-form .sc-store-footer :is(#sc-form-error,#sc-form-status){margin:0 0 9px;font-size:13px;line-height:1.5;max-height:70px;overflow:auto}
body.theme-blue #sc-store-form .sc-store-footer :is(#sc-form-error,#sc-form-status):empty{display:none}
@media(max-width:640px){
 body.theme-blue #sc-store-form .sc-store-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.theme-blue #sc-store-form .sc-store-license{grid-column:1 / -1}
 body.theme-blue #sc-store-form .sc-wide{grid-column:1 / -1}
 body.theme-blue #sc-store-form .sc-store-body{padding:0 15px 14px}
 body.theme-blue .sc-dialog:has(#sc-store-form)>.sc-dialog-head{padding:16px 15px 13px}
 body.theme-blue #sc-store-form .sc-store-footer{padding:12px 15px}
}
@media(max-width:380px){body.theme-blue #sc-store-form .sc-store-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:480px){.sc-tag-create{flex-wrap:wrap}.sc-tag-create label{flex-basis:100%}.sc-tag-create button{margin-left:auto}.sc-tag-editor{padding:12px}.sc-shop>.sc-violation-tags{margin-left:0}}
@container shop-row (max-width:740px){
 .sc-credentials-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px}
 .sc-shop-line{flex-wrap:wrap}
 .sc-account-group{flex-basis:calc(100% - 40px)}
 .sc-shop-people{margin-left:29px}
 .sc-shop-line>.text-button{margin-left:auto}
}
@container shop-row (max-width:420px){
 .sc-shop-credentials{margin-left:0;padding:12px}
 .sc-credentials-grid{grid-template-columns:minmax(0,1fr);gap:11px}
 .sc-credential-line{align-items:center}
 .sc-shop-people{margin-left:0}
 .sc-badges{margin-left:0}
}

/* Search results prioritize ownership; full account details remain expandable. */
.sc-search-list{container:search-results / inline-size;display:flex;flex-direction:column;gap:8px;min-width:0}
.sc-search-result{background:#fff;border:1px solid #d6e2f3;border-radius:8px;min-width:0;overflow:hidden}
.sc-search-result:hover{border-color:#a6c3ed}
.sc-search-result-main{display:grid;grid-template-columns:18px minmax(0,1.3fr) minmax(0,.65fr) minmax(0,.65fr) minmax(0,1.3fr) minmax(0,.85fr) 40px;gap:14px;align-items:center;padding:10px 14px 4px}
.sc-search-result-main>div{min-width:0}
.sc-search-result .sc-check{margin:0}
.sc-search-account-line{display:flex;align-items:center;gap:6px;min-width:0;min-height:25px}
.sc-search-account-line+.sc-search-account-line{margin-top:3px}
.sc-search-account-line .sc-account{flex:1;min-width:0;overflow-wrap:anywhere}
.sc-search-account-line>small{flex:1;color:#546b8b;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.sc-search-account-line .sc-copy-field{flex:none;min-height:24px;padding:2px 6px;font-size:11px}
.sc-search-owner,.sc-search-legal{border-radius:6px;padding:7px 10px;align-self:stretch;display:flex;flex-direction:column;justify-content:center;gap:3px;overflow-wrap:anywhere}
.sc-search-owner{background:#e6efff;border-left:3px solid #1760dc;color:#124491}
.sc-search-legal{background:#f0ebff;border-left:3px solid #7752bb;color:#563889}
.sc-search-owner>span,.sc-search-legal>span{font-size:11px;line-height:1.4}
.sc-search-owner>strong,.sc-search-legal>strong{font-size:16px;font-weight:750;line-height:1.45}
.sc-search-owner.is-unassigned,.sc-search-legal.is-unassigned{background:#f0f3f8;border-left-color:#9aa8ba;color:#5f6e82}
.sc-search-license>span{display:block;color:#6c7e97;font-size:11px;margin-bottom:4px}
.sc-search-license>strong{display:block;font-weight:500;font-size:13px;color:#334d70;line-height:1.55;overflow-wrap:anywhere}
.sc-search-status{display:flex;gap:5px;flex-wrap:wrap;align-items:center}
.sc-search-status .sc-badge{font-size:12px;white-space:normal}
.sc-search-status>small{flex-basis:100%;color:#687c99;font-size:11px;line-height:1.4}
.sc-search-edit{padding:6px 0!important;font-size:12px!important}
.sc-search-details>summary{width:fit-content;margin-left:auto;margin-right:14px;padding:3px 0 7px;cursor:pointer;font-size:12px;color:#235ba8;line-height:1.5}
.sc-search-details[open]>summary{color:#164582;font-weight:600}
.sc-search-details-body{border-top:1px solid #e1e9f5;padding:12px 14px;background:#fbfdff;min-width:0}
.sc-search-details-body .sc-shop-credentials{margin:0 0 10px}
.sc-search-details-body>.sc-violation-tags{margin:0 0 10px}
.sc-search-details-body .sc-detail-grid{margin:10px 0}
@container search-results (max-width:760px){
 .sc-search-result-main{grid-template-columns:18px repeat(3,minmax(0,1fr)) 40px;gap:10px;padding:12px 12px 5px}
 .sc-search-result-main>.sc-check{grid-column:1;grid-row:1 / span 3;align-self:start;padding-top:6px}
 .sc-search-account{grid-column:2 / 5;grid-row:1}
 .sc-search-edit{grid-column:5;grid-row:1}
 .sc-search-owner{grid-column:2;grid-row:2}
 .sc-search-legal{grid-column:3;grid-row:2}
 .sc-search-status{grid-column:4 / 6;grid-row:2}
 .sc-search-license{grid-column:2 / -1;grid-row:3}
 .sc-search-license>span{display:inline;margin-right:8px}
 .sc-search-license>strong{display:inline;font-size:12px}
 .sc-search-owner,.sc-search-legal{padding:6px 8px}
 .sc-search-owner>strong,.sc-search-legal>strong{font-size:15px}
}
@container search-results (max-width:420px){
 .sc-search-result-main{grid-template-columns:16px repeat(2,minmax(0,1fr)) 35px;gap:9px}
 .sc-search-account{grid-column:2 / 4}
 .sc-search-edit{grid-column:4}
 .sc-search-owner{grid-column:2}
 .sc-search-legal{grid-column:3 / 5}
 .sc-search-license{grid-row:3}
 .sc-search-status{grid-column:2 / -1;grid-row:4}
 .sc-search-details-body .sc-credentials-grid{grid-template-columns:minmax(0,1fr)}
}
