/* Worknic release candidate: styling only, existing operational screens unchanged. */
:root{--wn-ink:#202737;--wn-muted:#536078;--wn-line:#e2e7ef;--wn-accent:#b62961;--wn-violet:#65469c;--wn-canvas:#f3f5f8}
body{background:var(--wn-canvas)!important;color:var(--wn-ink)}
.auth-gate{padding:24px!important;background:var(--wn-canvas)!important;place-items:center!important}
.auth-gate:before,.auth-brand-panel,.auth-users[hidden],#authPasswordWrap[hidden]{display:none!important}
.auth-shell{width:min(440px,100%)!important;max-width:none!important;min-height:0!important;display:block!important;overflow:visible;background:transparent;border:none;border-radius:0;box-shadow:none}
.auth-card{width:100%!important;min-height:0!important;box-sizing:border-box;background:#fff!important;border:1px solid var(--wn-line)!important;box-shadow:0 18px 50px #26325912!important;border-radius:19px!important;padding:35px 36px 25px!important;color:var(--wn-ink)!important}
.auth-logo{margin:0 0 24px!important;align-items:center!important;justify-content:flex-start!important}.auth-logo img{width:139px!important;filter:none!important;opacity:1!important}
.auth-card h1{color:var(--wn-ink)!important;font-size:28px!important;line-height:1.25!important;font-weight:700!important;margin:0 0 8px!important}
.auth-card>p{color:var(--wn-muted)!important;font-size:14px!important;line-height:1.55!important;margin:0 0 23px!important}
.auth-card .auth-field{margin-top:13px!important}.auth-card .auth-field label{display:block;color:var(--wn-ink)!important;font-size:13px!important;margin:0 0 6px!important}
.auth-card :is(.auth-field input,.auth-user-select){box-sizing:border-box;width:100%;height:46px!important;border:1px solid #d9e0ed!important;background:#fcfdff!important;border-radius:9px!important;color:var(--wn-ink)!important;padding:0 12px!important;box-shadow:none!important;font:inherit;font-size:14px!important}
.auth-card .auth-user-select{padding-right:25px!important}.auth-card :is(.auth-field input,.auth-user-select):focus-visible{outline:2px solid #8e75be;outline-offset:2px}
.auth-card .auth-primary{background:linear-gradient(108deg,#b62961,#65469c)!important;color:#fff!important;border-radius:9px!important;box-shadow:none!important;height:48px!important;margin:17px 0 0!important;font-size:14px!important;font-weight:700!important}
.auth-card .auth-primary:disabled:not([aria-busy=true]){background:#e7e9ef!important;color:#60697b!important;cursor:default;transform:none}
.auth-card .auth-msg{font-size:12px!important;color:#972943!important;min-height:0!important;margin-top:8px!important}
.auth-card .auth-persist-note{padding:10px 11px!important;border:1px solid #edf0f6;background:#f7f8fb!important;color:#536078!important;box-shadow:none!important;font-size:11px!important}
.auth-card .auth-lock{background:#eae3f7!important;color:#65469c!important}.auth-card .auth-meta{color:#536078!important;font-size:11px!important;letter-spacing:0!important;margin-top:12px!important}
.auth-card .auth-meta:after{display:none}
.is-authenticated .sidebar{background:#fff!important;border:1px solid #e0e5ef!important;box-shadow:0 4px 22px #26325909!important;color:var(--wn-ink)!important}
.is-authenticated .sidebar:before{display:none!important}
.is-authenticated .sidebar .brand{min-height:70px;display:flex!important;align-items:center!important;justify-content:center!important;flex-direction:row!important;box-sizing:border-box;background:linear-gradient(108deg,#b62961,#65469c)!important;border:0!important;border-radius:12px!important;padding:0!important;margin:0 0 16px!important}
.is-authenticated .sidebar .brand img{width:114px!important;height:auto!important;margin:0!important;filter:none!important;opacity:1!important}
.is-authenticated .sidebar .brand small{display:none!important}
.is-authenticated .sidebar .editorial-contents,.is-authenticated .sidebar .review-nav-label{color:#667189!important}
.is-authenticated .sidebar .nav :is(button,summary,a){color:#273047!important}
.is-authenticated .sidebar .nav :is(button,summary,a):hover{background:#f5edf9!important;color:#5a3d89!important}
.is-authenticated .sidebar .nav button.active{background:#f9edf3!important;border-color:#eed8e5!important;color:#9a2552!important}
.is-authenticated .sidebar .nav .review-nav-icon{color:inherit!important}
.is-authenticated .shell{background:#f3f5f8!important}.is-authenticated .topbar{background:#fff!important;border-color:var(--wn-line)!important}
.is-authenticated .card{border-color:var(--wn-line)!important;background:#fff!important}
@media(max-width:520px){.auth-gate{padding:14px!important}.auth-card{padding:28px 22px 22px!important}.auth-card h1{font-size:25px!important}}

.wn-pos-menu[hidden]{display:none!important}

/* The production home uses a masthead and an existing slide-in menu. Style both in place. */
body[data-worknic-layout="os"].is-authenticated:has(#home.active),
body[data-worknic-layout="os"].is-authenticated .content:has(>#home.wn-home-v2.active){background:#f3f5f8!important;color:#202737!important}
body[data-worknic-layout="os"].is-authenticated .wn-v8-brandrow .wn-v8-home-brand{display:flex!important;justify-content:center!important;align-items:center!important;width:150px;min-height:46px;padding:0!important;background:linear-gradient(108deg,#b62961,#65469c)!important;border:0!important;border-radius:9px;color:white!important}
body[data-worknic-layout="os"].is-authenticated .wn-v8-brandrow .wn-v8-home-brand>.wn-top-logo{width:114px!important;height:auto!important;margin:0!important;filter:none!important}
body[data-worknic-layout="os"].is-authenticated .wn-v8-brandrow .wn-v8-home-brand>span{display:none!important}
body[data-worknic-layout="os"].is-authenticated .wn-v8-statusbar{background:#eef0fa!important;border-color:#e0e5f0!important;color:#28334c!important}
body[data-worknic-layout="os"].is-authenticated .wn-v8-statusbar :is(span,b,em,#liveClock,.clock-time,.wn-clock-zone){color:#28334c!important}
body[data-worknic-layout="os"].is-authenticated .wn-v8-statusbar>span+span{border-color:#d4d9e8}
body[data-worknic-layout="os"].is-authenticated .wn-v8-status-label:before{background:#b62961}
body[data-worknic-layout="os"].is-authenticated .wn-drawer,
body[data-worknic-layout="os"].is-authenticated .wn-drawer .sidebar{background:#ffffff!important;color:#202737!important}
body[data-worknic-layout="os"].is-authenticated .wn-drawer-close{color:#202737!important}
@media(max-width:660px){body[data-worknic-layout="os"].is-authenticated .wn-v8-brandrow .wn-v8-home-brand{width:104px;min-height:37px}body[data-worknic-layout="os"].is-authenticated .wn-v8-brandrow .wn-v8-home-brand>.wn-top-logo{width:76px!important}}

/* Light operations drawer: override every legacy dark foreground in the authenticated menu only. */
@media screen {
body[data-worknic-layout="os"].is-authenticated #wnMenuDrawer {
  --drawer-ink:#303b50;
  --drawer-muted:#56637a;
  --drawer-accent:#9a2151;
  --drawer-hover:#f3f1f8;
  --drawer-active:#fbeff5;
  scrollbar-color:#a9b1c0 #f4f6fa;
}
body[data-worknic-layout="os"].is-authenticated #wnMenuDrawer .sidebar {
  box-sizing:border-box;
  padding:0 0 18px!important;
  border:0!important;
}
body[data-worknic-layout="os"].is-authenticated #wnMenuDrawer .brand {
  width:100%!important;
  min-height:80px!important;
  margin:0 0 15px!important;
  padding:8px 56px!important;
  border-radius:0!important;
}
body[data-worknic-layout="os"].is-authenticated #wnMenuDrawer .brand img {
  display:block;
  width:126px!important;
  max-width:100%!important;
  margin:0!important;
  opacity:1!important;
  filter:none!important;
}
body[data-worknic-layout="os"].is-authenticated #wnMenuDrawer .wn-drawer-close {
  box-sizing:border-box;
  top:18px;
  right:9px;
  width:44px;
  height:44px;
  padding:0;
  background:#fff!important;
  color:var(--drawer-ink)!important;
  border:1px solid #e2e7ef!important;
  border-radius:9px;
  box-shadow:none!important;
}
body[data-worknic-layout="os"].is-authenticated #wnMenuDrawer .wn-drawer-close:hover {
  background:#f9eaf2!important;
  color:var(--drawer-accent)!important;
}
body[data-worknic-layout="os"].is-authenticated #wnMenuDrawer .wn-drawer-close svg {
  stroke:currentColor!important;
  stroke-width:1.8!important;
}
body[data-worknic-layout="os"].is-authenticated #wnMenuDrawer .nav {
  display:block!important;
  padding:0 0 4px!important;
  gap:0!important;
}
body[data-worknic-layout="os"].is-authenticated #wnMenuDrawer .review-nav-group {
  margin:0 0 15px!important;
}
body[data-worknic-layout="os"].is-authenticated #wnMenuDrawer .nav .review-nav-label {
  padding:8px 14px 5px!important;
  font-size:11px!important;
  font-weight:700!important;
}
body[data-worknic-layout="os"].is-authenticated #wnMenuDrawer .nav .review-nav-label,
body[data-worknic-layout="os"].is-authenticated #wnMenuDrawer .nav .review-nav-label span {
  color:var(--drawer-muted)!important;
  opacity:1!important;
}
body[data-worknic-layout="os"].is-authenticated #wnMenuDrawer .nav :is(button,summary,a) {
  box-sizing:border-box;
  min-height:44px!important;
  margin:0!important;
  padding:8px 14px!important;
  gap:9px!important;
  color:var(--drawer-ink)!important;
  background:#fff!important;
  border:0!important;
  border-left:3px solid transparent!important;
  border-radius:0!important;
  box-shadow:none!important;
  text-shadow:none!important;
  opacity:1!important;
  font-weight:550!important;
}
body[data-worknic-layout="os"].is-authenticated #wnMenuDrawer .nav details>button {
  width:100%!important;
  padding-inline-start:37px!important;
  color:var(--drawer-muted)!important;
}
body[data-worknic-layout="os"].is-authenticated #wnMenuDrawer .nav :where(button:not(:disabled),summary,a):hover,
body[data-worknic-layout="os"].is-authenticated #wnMenuDrawer .nav details[open]>summary {
  color:#4e3d77!important;
  background:var(--drawer-hover)!important;
}
body[data-worknic-layout="os"].is-authenticated #wnMenuDrawer .nav :is(button,a).active,
body[data-worknic-layout="os"].is-authenticated #wnMenuDrawer .nav :is(button,a)[aria-current="page"] {
  color:var(--drawer-accent)!important;
  background:var(--drawer-active)!important;
  border-color:var(--drawer-accent)!important;
  font-weight:700!important;
}
body[data-worknic-layout="os"].is-authenticated #wnMenuDrawer .nav .review-nav-group>button.active:after {content:none!important}
body[data-worknic-layout="os"].is-authenticated #wnMenuDrawer .nav :is(.review-nav-icon,.wn-chevron) {
  color:inherit!important;
  background:transparent!important;
  opacity:1!important;
}
body[data-worknic-layout="os"].is-authenticated #wnMenuDrawer .nav .review-nav-icon svg {
  stroke:currentColor!important;
  stroke-width:1.55!important;
}
body[data-worknic-layout="os"].is-authenticated #wnMenuDrawer .nav button:disabled {
  color:var(--drawer-muted)!important;
  background:#f2f4f8!important;
  cursor:not-allowed;
}
body[data-worknic-layout="os"].is-authenticated #wnMenuDrawer .sidefoot {
  color:var(--drawer-ink)!important;
  padding:12px 16px 0!important;
  margin-inline:0!important;
  border-color:#e7eaf1!important;
}
body[data-worknic-layout="os"].is-authenticated #wnMenuDrawer .sidefoot :is(button,#userName,#roleLabel,.ico) {
  color:var(--drawer-ink)!important;
  opacity:1!important;
  text-shadow:none!important;
}
body[data-worknic-layout="os"].is-authenticated #wnMenuDrawer .sidefoot .avatar {
  color:#533a79!important;
  background:#eee7fa!important;
}
body[data-worknic-layout="os"].is-authenticated #wnMenuDrawer .sidefoot button:hover {
  color:var(--drawer-accent)!important;
  background:var(--drawer-active)!important;
}
body[data-worknic-layout="os"].is-authenticated #wnMenuDrawer :focus-visible {
  outline:2px solid #704995!important;
  outline-offset:-3px!important;
}
body[data-worknic-layout="os"].is-authenticated #wnMenuDrawer .wn-drawer-close:focus-visible {
  outline-color:#704995!important;
}
.wn-drawer::backdrop {background:#2027373d;backdrop-filter:blur(3px)}
}

/* Operations header refinement. Keep this scoped to the authenticated OS shell. */
body[data-worknic-layout="os"].is-authenticated .wn-v8-brandrow .wn-v8-home-brand{display:none!important}
body[data-worknic-layout="os"].is-authenticated .wn-v8-statusbar {
  min-height:66px;
  border-radius:12px;
  padding:4px 6px;
  box-shadow:0 1px 2px #1927440b;
}
body[data-worknic-layout="os"].is-authenticated .wn-v8-statusbar>span {
  min-height:49px;
  padding:7px clamp(11px,1vw,17px);
  gap:5px;
  font-size:16px;
  font-weight:550;
  line-height:1.25;
  letter-spacing:-.025em;
}
body[data-worknic-layout="os"].is-authenticated .wn-v8-statusbar>.wn-v8-status-label {
  align-self:stretch;
  padding-inline:15px;
  border-radius:8px;
  background:#e6e9f5;
  font-size:17px;
  font-weight:760;
  color:#202a44!important;
}
body[data-worknic-layout="os"].is-authenticated .wn-v8-status-label::before {width:7px;height:7px;margin-right:3px;flex:none}
body[data-worknic-layout="os"].is-authenticated .wn-v8-statusbar>.wn-v8-status-label+.wn-v8-clock-slot{border-left:0}
body[data-worknic-layout="os"].is-authenticated .wn-v8-statusbar b {
  font-size:22px;
  font-weight:760;
  letter-spacing:-.04em;
  font-variant-numeric:tabular-nums;
}
body[data-worknic-layout="os"].is-authenticated .wn-v8-statusbar em {
  font-size:13px;
  font-weight:550;
  color:#465470!important;
}
body[data-worknic-layout="os"].is-authenticated .wn-v8-statusbar .clock-time {font-size:19px!important;font-weight:760!important;font-variant-numeric:tabular-nums}
body[data-worknic-layout="os"].is-authenticated .wn-v8-statusbar .wn-clock-zone {font-size:12px;color:#465470!important}
body[data-worknic-layout="os"].is-authenticated .wn-v8-statusbar:focus-visible {outline:2px solid #704995;outline-offset:2px}
@media(max-width:660px) {
  body[data-worknic-layout="os"].is-authenticated .wn-v8-statusbar{min-height:59px}
  body[data-worknic-layout="os"].is-authenticated .wn-v8-statusbar>span{min-height:45px;padding:6px 11px;font-size:15px}
  body[data-worknic-layout="os"].is-authenticated .wn-v8-statusbar>.wn-v8-status-label{font-size:16px;padding-inline:12px}
  body[data-worknic-layout="os"].is-authenticated .wn-v8-statusbar b{font-size:20px}
  body[data-worknic-layout="os"].is-authenticated .wn-v8-statusbar .clock-time{font-size:17px!important}
}

/* Customer response comes before operational and order figures. */
.wn-cs-strip{order:9;display:none;align-items:center;gap:9px;width:100%;max-width:1304px;margin:0 auto;box-sizing:border-box;padding:6px 10px;border:1px solid #efdce6;background:#fcf6f8;border-radius:11px;color:#2a3147}
body.is-authenticated .wn-cs-strip{display:flex}
.wn-cs-heading{display:flex;align-items:center;gap:7px;margin:0 4px;font-size:15px;font-weight:800;white-space:nowrap}
.wn-cs-heading i{width:7px;height:7px;border-radius:50%;background:#a5295b}
.wn-cs-strip>a{display:flex;align-items:center;gap:9px;min-height:36px;padding:4px 11px;border:1px solid #eedce4;background:#fff;border-radius:7px;text-decoration:none;color:#28334c!important}
.wn-cs-strip>a:hover{border-color:#a5295b}.wn-cs-strip>a:focus-visible{outline:2px solid #8c2858;outline-offset:2px}
.wn-cs-strip strong{font-size:15px;white-space:nowrap}.wn-cs-strip a>span{font-size:12px;color:#566176}.wn-cs-strip a>em{font-style:normal;opacity:.7}
.wn-cs-strip [data-urgent=true]{color:#93234f;font-weight:800}
@media(max-width:600px){.wn-cs-strip{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;align-items:stretch}.wn-cs-heading{grid-column:1/-1}.wn-cs-strip>a{display:grid;grid-template-columns:1fr auto;align-content:center;gap:2px;padding:5px 7px}.wn-cs-strip a>span{grid-column:1;grid-row:2}.wn-cs-strip a>em{grid-column:2;grid-row:1}}
body:not(.is-authenticated) .wn-cs-strip{display:none!important}
