/* Approved teal shell over the unchanged authenticated Business workspaces. */
:root{--blue:#008f98;--line:#e1e9ed;--muted:#61728a;color:#10213c;background:#fbfdfd;font-family:Inter,"Segoe UI",Arial,sans-serif}
[hidden]{display:none!important}body{background:#fbfdfd;color:#10213c}body>.business-topbar{position:sticky;top:0;z-index:20;margin-left:232px;height:72px;min-height:72px;background:#fff;border-bottom:1px solid var(--line);padding:0 30px;display:flex;align-items:center;justify-content:space-between;gap:16px;box-shadow:none}.business-breadcrumb{font-size:13px;color:#60718a}.business-breadcrumb span{margin:0 16px;color:#aab8c7}.business-header-actions{display:flex;align-items:center;gap:18px}#connection{font-size:11px;color:#61728a;max-width:240px}.notification-link{display:grid;place-items:center}.notification-link svg{width:23px;height:23px}.business-header-actions button{color:#007d88;background:#eef9f9;border:1px solid #d3e9ea}
#desktop-sidebar.sidebar{position:fixed;top:0;left:0;bottom:0;z-index:30;width:232px;padding:18px 0;background:linear-gradient(105deg,#f2f8f9,#fff);overflow-y:auto;border-right:1px solid var(--line)}#desktop-sidebar .brand{display:flex;align-items:center;padding:0 20px;margin-bottom:30px;gap:10px;text-decoration:none;color:#071a34}#desktop-sidebar .brand img{width:52px;height:64px;object-fit:contain}#desktop-sidebar .wordmark{font:600 22px Georgia,serif;letter-spacing:3px}#desktop-sidebar .wordmark small{display:block;font:9px "Segoe UI",sans-serif;letter-spacing:5px;margin-top:6px}#desktop-nav{display:grid;gap:5px}#desktop-nav a{border:0;border-left:3px solid transparent;border-radius:0 9px 9px 0;margin-right:12px;display:flex;gap:17px;align-items:center;padding:13px 22px;color:#52667f;text-decoration:none;font-size:14px;background:transparent}#desktop-nav a[aria-current=page]{background:#def4f4;border-left-color:#0097a3;color:#008590;box-shadow:none}#desktop-nav .icon{width:20px;height:20px;flex:none}.sidebar-note{margin:24px;padding:15px 0;color:#61728a;font-size:11px;border-top:1px solid var(--line)}body>main{margin:0 0 0 232px;padding:30px;max-width:none;width:auto;min-width:0}body>main.products-surface{padding:28px 30px}.business-footer{margin-left:232px;padding:24px 30px}h1{color:#0b1730}.primary{background:#008d98;border-color:#008d98}.primary:hover{background:#007681}.workspace-card,.ops-panel,.ops-metric,.table-surface{background:#fff;border-color:var(--line);box-shadow:0 4px 18px #1d536405}.icon{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}#access{padding:28px;max-width:520px}#access label{display:block;margin:14px 0}#access button{margin:6px 8px 6px 0}#access input{display:block;margin-top:6px}dialog:not(#access) .dialog-body{overflow:auto}#workspace-page .product .product-title{color:#10213c}.products-surface>.muted{margin-bottom:18px}.products-surface .actions{flex-wrap:wrap;justify-content:flex-end}.products-surface .heading{align-items:flex-start}.products-surface .product-media{background:#f0f1f3}.products-surface .product-title{text-align:left}.products-surface .tabs button[aria-pressed=true]{color:#008c98;background:transparent;border-bottom:2px solid #0098a2;border-radius:0}
@media(max-width:1100px){#desktop-sidebar.sidebar{width:200px}body>.business-topbar,body>main,.business-footer{margin-left:200px}.business-header-actions{gap:8px}.business-header-actions #connection{max-width:180px}.products-surface .grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){#desktop-sidebar.sidebar{position:relative;width:100%;padding:10px 0;max-height:none;overflow:visible}#desktop-sidebar .brand{margin:0 0 8px;padding:0 16px}#desktop-sidebar .brand img{width:38px;height:42px}#desktop-sidebar .wordmark{font-size:20px}#desktop-nav{display:flex;overflow-x:auto;padding:0 8px;gap:2px}#desktop-nav a{white-space:nowrap;padding:11px 12px;margin:0;border-left:0;border-bottom:2px solid transparent;border-radius:6px;gap:8px}#desktop-nav a[aria-current=page]{border-bottom-color:#0097a3}.sidebar-note{display:none}body>.business-topbar{margin:0;height:auto;min-height:64px;padding:12px 16px;flex-wrap:wrap;position:relative}.business-header-actions{flex:1;justify-content:flex-end}.business-header-actions #connection{max-width:150px;font-size:10px}body>main,body>main.products-surface{margin:0;padding:20px 16px}.business-footer{margin:0;padding:20px 16px}.products-surface .heading{display:block}.products-surface .actions{justify-content:flex-start;margin-top:16px}.products-surface .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.products-surface .stats{grid-template-columns:repeat(3,minmax(0,1fr))}.products-surface .stat{padding:14px 8px;gap:6px}.products-surface .stat .icon{display:none}.products-surface .stat strong{font-size:22px}.products-surface .product-body{padding:12px}.products-surface .product-bottom{flex-wrap:wrap}.products-surface .toolbar{display:block}.products-surface .tabs{overflow-x:auto;flex-wrap:nowrap}.products-surface .tabs button{white-space:nowrap}.products-surface .catalog-controls{margin-top:16px;flex-wrap:wrap}.products-surface .search{min-width:0;flex:1}.products-surface .list-view{grid-template-columns:1fr}.products-surface .list-view .product-body{display:block}dialog{max-width:calc(100% - 24px)}}
@media print{#desktop-sidebar,.business-topbar,.business-footer{display:none!important}body>main{margin:0}}
#desktop-nav{padding:0;width:100%}#desktop-nav a{min-width:0}#desktop-nav a span{white-space:nowrap}@media(max-width:700px){#desktop-nav{padding:0 8px}}

/* Hide only scrollbar chrome. All background surfaces retain native scrolling. */
html,body,#desktop-sidebar.sidebar,#desktop-nav{scrollbar-width:none;-ms-overflow-style:none}
html::-webkit-scrollbar,body::-webkit-scrollbar,#desktop-sidebar.sidebar::-webkit-scrollbar,#desktop-nav::-webkit-scrollbar{display:none;width:0;height:0}
#connection{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#access{box-sizing:border-box;width:min(520px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain;border:1px solid #c5dce0;border-radius:16px;color:#183b4d}
#access::backdrop{background:rgb(15 37 48 / .4)}
.business-account-profile dl{margin:20px 0;display:grid;gap:6px}
.business-account-profile dt{font-size:12px;color:#56727b;margin-top:10px;font-weight:600}
.business-account-profile dd{margin:0;font-size:16px;line-height:1.5;overflow-wrap:anywhere;white-space:normal}
.business-account-profile p{font-size:13px;line-height:1.5;color:#56727b}
.business-account-profile button{min-height:44px;margin-bottom:16px}
#access button:focus-visible{outline:3px solid #008e98;outline-offset:3px}
#access #signout,#access #close-access{min-height:44px;margin:8px 8px 0 0}
@media(max-width:600px){#access{padding:20px;width:calc(100% - 24px);max-height:calc(100dvh - 24px)}.business-account-profile dd{font-size:15px}}
#access-message:empty,.business-account-profile p:empty{display:none}

/* Shared rhythm and accessible controls across the eleven workspaces. */
.security-status{margin:20px 30px 0 262px;padding:16px 20px;border:1px solid #b4d5d8;border-radius:12px;background:#eef8f8;display:flex;align-items:center;gap:20px}.security-status p{margin:0;flex:1;color:#274e57}.security-status button{flex:none;color:#006f78;background:#fff;border:1px solid #91bec3}
@media(max-width:1100px){.security-status{margin-left:230px}}
@media(max-width:700px){.security-status{margin:16px;align-items:flex-start;flex-direction:column;gap:12px}}
body{line-height:1.5}button,input,select,textarea{font:inherit}
button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #008e98;outline-offset:3px}
button{min-height:40px}button:disabled{cursor:not-allowed}
.page-header,.ops-heading{gap:20px}.page-header-actions{flex-wrap:wrap;gap:10px}
.table-state{padding:32px 24px}.table-state h2{margin-top:0;line-height:1.3}
.data-table th{font-size:12px;letter-spacing:.025em}.data-table td{vertical-align:middle}
.data-table-scroll{max-width:100%;overflow-x:auto;scrollbar-width:thin}
.detail-panel,.ops-panel,.ops-metric,.table-surface{border-radius:12px}
.notification-row{gap:16px}.notification-row h2{line-height:1.35}
.notification-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.skip-link{position:fixed;top:8px;left:12px;z-index:100;background:#fff;color:#007681;padding:12px 18px;border:2px solid #008e98;border-radius:8px;transform:translateY(-150%)}
.skip-link:focus{transform:translateY(0)}
@media(max-width:700px){
 button,.text-button{min-height:44px}.page-header,.ops-heading{flex-wrap:wrap}
 .page-header-actions{width:100%;justify-content:flex-start}
 .notification-row{flex-wrap:wrap}.notification-row>div{min-width:0;flex:1}
 .notification-row .text-button{margin-left:0}.notification-reference{overflow-wrap:anywhere}
 .table-state{padding:24px 18px}.detail-facts dd{overflow-wrap:anywhere}
 #desktop-nav{scrollbar-width:thin;scrollbar-color:#86b9bd transparent}
 #desktop-nav::-webkit-scrollbar{display:block;height:4px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
/* Keep mobile navigation compact and leave its selected section visible. */
@media(max-width:700px){#desktop-sidebar.sidebar{display:flex;flex-direction:row;align-items:center;gap:4px;box-sizing:border-box}#desktop-sidebar .brand{flex:none;margin:0;padding:0 10px}#desktop-sidebar .wordmark{display:none}#desktop-nav{flex:1;min-width:0;width:0}#desktop-nav a{flex-shrink:0}}

/* The existing permission gate owns the lock state and account dialog. */
.staff-signin-card{display:contents}
.staff-brand{display:none}
body[data-staff-locked] #access .business-account-profile,body[data-staff-locked] #close-access{display:none!important}
body[data-staff-locked]{display:grid;place-items:center;box-sizing:border-box;min-height:100vh;min-height:100svh;margin:0;padding:clamp(16px,4vw,64px);background:radial-gradient(ellipse at center,#fcfdff,#e6edf2);font-family:"Segoe UI",Arial,sans-serif}
[data-staff-locked] .staff-signin-card{box-sizing:border-box;width:min(81.25vw,1248px);display:grid;grid-template-columns:43.8% minmax(0,1fr);background:white;border:1px solid #adbcc5;border-radius:20px;overflow:hidden}
[data-staff-locked] .staff-brand{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:1.5rem;background:linear-gradient(145deg,#00444b,#00282f 58%,#00535a);min-height:100%;aspect-ratio:545/627}
.staff-brand img{width:68%;height:auto;object-fit:contain}
.staff-brand .wordmark{color:#f6fbfb;text-align:center;font:600 clamp(30px,3.7vw,58px)/1.1 Georgia,serif;letter-spacing:.14em;text-indent:.14em}
.staff-brand .wordmark small{display:block;margin-top:.7em;font:400 .409em/1.2 "Segoe UI",sans-serif;letter-spacing:.55em;text-indent:.55em}
body[data-staff-locked] #access[open]{position:static;align-self:center;box-sizing:border-box;margin:0;width:100%;max-width:none;max-height:none;padding:clamp(24px,4.1vw,64px);border:0;border-radius:0;box-shadow:none;color:#082a34;background:#fff;font:inherit}
body[data-staff-locked] #account-title{margin:0;font:650 clamp(32px,3.52vw,54px)/1.14 "Segoe UI",Arial,sans-serif;letter-spacing:-.025em;color:#072c36}
#access-message:empty{display:none}
#login:not([hidden]){display:grid;gap:clamp(22px,2.45vw,38px);margin:0}
#login .staff-intro{margin:.55em 0 0;font:400 clamp(17px,1.75vw,27px)/1.35 "Segoe UI",Arial,sans-serif;color:#566874}
#login .staff-field{display:grid;gap:8px}
#login label{margin:0;padding:0;font:600 clamp(16px,1.45vw,22px)/1.4 "Segoe UI",Arial,sans-serif;color:#112f39}
#login input{box-sizing:border-box;width:100%;height:clamp(48px,4vw,62px);margin:0;padding:10px 14px;background:white;color:#102f39;border:1px solid #a8b6be;border-radius:10px;font:inherit;font-size:18px}
.staff-password-label{display:flex;justify-content:space-between;align-items:baseline;gap:8px}
#login #forgot-password{border:0;background:transparent;color:#00717a;margin:0;padding:2px 0;min-height:0;font:600 clamp(15px,1.27vw,20px)/1.4 "Segoe UI",Arial,sans-serif}
#forgot-password:hover{text-decoration:underline}
.staff-password-input{position:relative}
#login #password{padding-right:52px}
#login #password-visibility{position:absolute;inset:1px 2px 1px auto;display:grid;place-items:center;width:50px;padding:0;margin:0;border:0;background:transparent;color:#657984}
#password-visibility svg{width:25px;height:25px}
#password[type=password]+button .eye-slash{display:none}
#login .primary{margin:4px 0 0;width:100%;min-height:clamp(50px,4.25vw,66px);border:0;border-radius:10px;color:#fff;background:#007d85;font:600 clamp(18px,1.65vw,25px)/1.3 "Segoe UI",Arial,sans-serif}
#login .primary:hover{background:#006870}
#login .primary:disabled{opacity:.65}
.staff-signin-card :focus-visible{outline:3px solid #008b95;outline-offset:2px}
@media(max-width:740px){
 [data-staff-locked] .staff-signin-card{width:min(100%,460px);grid-template-columns:1fr;border-radius:15px}
 [data-staff-locked] .staff-brand{min-height:0;height:clamp(130px,21svh,175px);aspect-ratio:auto;background:linear-gradient(115deg,#003f46,#00252d 53%,#00575a)}
 [data-staff-locked] .staff-brand{gap:6px}
 .staff-brand img{height:58%;width:auto}
 .staff-brand .wordmark{font-size:24px}
 body[data-staff-locked] #access[open]{padding:clamp(22px,6vw,32px)}
 #login:not([hidden]){gap:21px}
}

.product-bottom{display:flex;align-items:center;justify-content:space-between;gap:.6rem;flex-wrap:wrap}
.product-bottom .product-open{min-height:38px;border:1px solid #a2c9c9;border-radius:8px;background:#f0f8f8;color:#04575b;font-weight:650;padding:.4rem .75rem}
[data-staff-locked] #gate-retry:not([hidden]),[data-staff-locked] #signout:not([hidden]){min-height:44px;margin:.4rem .5rem .25rem 0}
:where(.toolbar,.product-editor,.workspace-state,.sidebar) :focus-visible{outline:3px solid #087e84;outline-offset:2px}
@media(max-width:700px){.catalog-controls input[type=search]{width:100%;min-width:0;flex-basis:100%}.product-editor .dialog-actions{flex-wrap:wrap}.product-editor .editor-table-wrap{overflow-x:auto}.product-editor .editor-tabs{max-width:100%;overflow-x:auto}}

.product-media button.preview-trigger{display:block;padding:0;border:0;background:transparent;width:100%;height:100%;min-height:0;overflow:hidden;cursor:pointer}.product-media button.preview-trigger:focus-visible{outline-offset:-4px}
.product-actions-menu{position:absolute;right:8px;top:8px;z-index:4}.product-actions-menu summary{list-style:none;cursor:pointer;background:white;border:1px solid #b8cccd;color:#184e52;border-radius:8px;text-align:center;height:38px;width:38px;font:bold 24px/34px sans-serif;margin-left:auto}.product-actions-menu summary::-webkit-details-marker{display:none}
.product-actions-panel{position:absolute;right:0;width:150px;max-width:40vw;background:#fff;border:1px solid #b7caca;border-radius:8px;padding:8px;box-shadow:0 4px 14px #16343628}.product-actions-panel small{display:block;color:#435b61;line-height:1.3}.product-bottom .product-open{background:#006d72;border-color:#006d72;color:white}
.products-surface .grid .product{position:relative}

#workspace-opening{display:none}
body[data-opening]:not([data-catalog-behind])>:not(#workspace-opening){display:none!important}
body[data-opening] {
  margin:0; padding:0; min-height:100svh; display:grid; place-items:center;
  background:linear-gradient(145deg,#e1e9ed 0%,#fafbfc 31%,#fff 61%,#e7eff1 100%);
}
body[data-opening]>#workspace-opening {
  display:grid; justify-items:center; text-align:center; gap:16px;
  color:#163348; font:500 1rem/1.5 system-ui;
}
.opening-brand {display:grid; justify-items:center; color:#0c213c}
.opening-brand img {width:clamp(110px,14vw,156px); height:auto; display:block}
.opening-brand span {font:600 clamp(30px,4vw,44px)/1.1 Georgia,serif; letter-spacing:.13em; text-indent:.13em}
.opening-brand small {display:block; margin-top:6px; font:500 .34em/1.3 system-ui; letter-spacing:.55em; text-indent:.55em}
.opening-progress {width:182px; height:4px; margin-top:18px; overflow:hidden; border-radius:8px; background:#cde8e9}
.opening-progress::before {content:""; display:block; width:48%; height:100%; background:#008e96; border-radius:inherit; animation:opening-slide 1.4s ease-in-out infinite alternate}
@keyframes opening-slide {to {transform:translateX(108%)}}
@media(prefers-reduced-motion:reduce){.opening-progress::before {animation:none; margin:auto}}
#workspace-opening p {margin:0}
/* Products catalog header and filters */
.products-surface .heading{align-items:center}
.products-surface .heading>.actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.catalog-tools{position:relative}
.catalog-tools summary{display:flex;align-items:center;gap:14px;cursor:pointer;list-style:none;background:white;border:1px solid #c1ced5;border-radius:8px;padding:11px 16px;font-weight:600}
.catalog-tools summary::after{content:"";width:7px;height:7px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(45deg);margin-top:-3px}
.catalog-tools summary::-webkit-details-marker{display:none}
.catalog-tool-options{position:absolute;right:0;z-index:12;top:calc(100% + 5px);width:max-content;min-width:185px;background:white;border:1px solid #cfdbdf;box-shadow:0 8px 22px #163c451c;border-radius:8px;padding:5px}
.products-surface .catalog-tool-options button{display:block;width:100%;text-align:left;background:white;color:#183348;border:0;box-shadow:none;padding:10px}
.products-surface .catalog-tool-options button:hover{background:#edf7f7}
.products-surface .stat>div{display:flex;align-items:baseline;gap:.55rem}
.products-surface .stat small{font-size:1rem}
.products-surface .toolbar{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;align-items:stretch;border:0;margin:18px 0 24px}
.products-surface .tabs{width:100%;display:flex;overflow-x:auto;border-bottom:1px solid #d7e1e5;gap:4px}
.products-surface .tabs button{flex:none;padding:12px 15px}
.products-surface .catalog-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(110px,15%) minmax(110px,15%) auto;align-items:stretch;width:100%;gap:12px;margin:0}
.products-surface .catalog-controls .search{box-sizing:border-box;display:flex;align-items:center;gap:12px;width:100%;min-width:0;padding:0 14px;border:1px solid #b8c8d0;border-radius:8px;background:white}
.products-surface .catalog-controls .search:focus-within{outline:2px solid #007e84;outline-offset:1px}
.products-surface .catalog-controls .search>.icon{position:static;flex:none;width:20px;height:20px}
.products-surface .catalog-controls .search input[type=search]{box-sizing:border-box;flex:1;width:0;min-width:0;height:46px;margin:0;padding:0;background:transparent;border:0;box-shadow:none;outline:none;font-size:1rem}
.products-surface .catalog-controls select{max-width:none;min-width:0;width:100%;padding:8px;font-size:.9rem}
.products-surface .grid:not(.list-view){grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.products-surface .grid.list-view{grid-template-columns:minmax(0,1fr)}
.products-surface .grid:not(.list-view) .product-media{aspect-ratio:1.12}
@media(max-width:760px){
 .products-surface .heading{align-items:flex-start}
 .products-surface .catalog-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:8px}
 .products-surface .catalog-controls .search{grid-column:1/-1}
 .products-surface .stat>div{display:grid;gap:2px}
 .products-surface .stat small{font-size:.8rem}

 .products-surface .tabs{flex-wrap:nowrap}
 .products-surface .tabs button{padding:11px 12px}
}

.products-surface .grid:not(.list-view) .product-title{font-size:.96rem;line-height:1.35;min-height:0}
@media(max-width:1260px){.products-surface .grid:not(.list-view){grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1000px){.products-surface .grid:not(.list-view){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.products-surface .grid:not(.list-view){grid-template-columns:minmax(0,1fr)}}
/* One fixed overlay, with workspace controls inactive until the reveal finishes. */
body[data-opening] {overflow:hidden}
body[data-opening][data-catalog-behind] {display:block}
body[data-opening]>#workspace-opening {
  position:fixed; inset:0; z-index:1000; align-content:center;
  background:linear-gradient(145deg,#e1e9ed,#fafbfc 31%,white 61%,#e7eff1);
}
body[data-opening][data-catalog-behind]:not([data-staff-locked])>#workspace-opening {
  background:radial-gradient(ellipse at center,rgba(250,253,253,.94),rgba(243,248,249,.60) 65%);
  backdrop-filter:blur(2px);
}
body[data-opening][data-catalog-behind]>:not(#workspace-opening) {interactivity:inert}
#opening-retry {position:absolute;top:calc(50% + 165px);justify-self:center}
.opening-brand[data-awaiting-image] { visibility:hidden }
.opening-brand img { aspect-ratio:1; object-fit:contain }

body[data-section-loading] > main {display:none!important}
.section-loading {margin:0 0 0 232px;min-height:45vh;display:grid;align-content:center;justify-items:center;gap:12px;color:#23434b}
.section-loading p {margin:0}
@media(max-width:1100px){.section-loading{margin-left:200px}}
@media(max-width:700px){.section-loading{margin-left:0}}
