.production-shell{grid-template-columns:236px minmax(0,1fr)}
.production-sidebar{z-index:3;gap:0;padding:18px 12px 16px;overflow:hidden;background:linear-gradient(180deg,#2d1547 0%,#41206a 100%);box-shadow:inset -1px 0 rgba(255,255,255,.05)}
.production-brand-lockup,.production-sidebar-footer{flex:0 0 auto}
.production-brand-lockup{display:flex;align-items:center;min-height:70px;padding:10px 14px 22px}
.production-brand-lockup a{display:flex;align-items:center}
.production-brand-lockup img{display:block;width:142px;height:auto}
.production-navigation{display:grid;flex:1;min-height:0;align-content:start;gap:5px;overflow-y:auto;padding:0 0 12px;scrollbar-width:thin;scrollbar-color:rgba(228,216,255,.22) transparent}
.production-nav-section{display:grid;gap:3px}
.production-nav-section-title{margin:13px 0 5px;padding:0 14px;color:#fff;font-size:10px;font-weight:800;letter-spacing:.13em;line-height:1.3;opacity:.72;text-transform:uppercase}
.production-nav-dashboard{padding-bottom:7px;border-bottom:1px solid rgba(255,255,255,.09)}
.production-nav-item{position:relative;width:100%;min-height:42px;display:flex;gap:11px;align-items:center;justify-content:flex-start;padding:0 12px;border:0;border-radius:12px;background:transparent;color:#fff;font:inherit;font-size:15px;font-weight:600;line-height:1.3;text-align:left;cursor:pointer;transition:background .16s ease,color .16s ease}
.production-nav-item:hover{background:rgba(255,255,255,.08);color:#fff}
.production-nav-item.is-unavailable{cursor:help;opacity:.62}
.production-nav-item.is-unavailable:hover{background:rgba(255,255,255,.045);color:#fff}
.production-nav-item.is-active{color:#fff;background:linear-gradient(90deg,rgba(124,58,237,.28),rgba(124,58,237,.15));box-shadow:inset 0 0 0 1px rgba(189,168,255,.18);font-weight:700}
.production-nav-item.is-active::before{position:absolute;top:10px;bottom:10px;left:8px;width:3px;border-radius:999px;background:linear-gradient(180deg,#ac8bff,#7c3aed);content:""}
.production-nav-icon{display:grid;flex:0 0 20px;width:20px;height:20px;place-items:center;color:#fff;opacity:.82}
.production-nav-item:hover .production-nav-icon{color:#fff;opacity:1}
.production-nav-item.is-active .production-nav-icon{color:#fff}
.production-nav-icon svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.production-nav-label{display:flex;flex:1 1 auto;min-width:0;justify-content:flex-start;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.production-nav-item b,.production-nav-item i{margin-left:auto;padding:3px 6px;border-radius:7px;color:#eee7ff;background:rgba(185,156,255,.2);font-size:9px;font-style:normal;font-weight:800;line-height:1}
.production-nav-item i{color:#e1d5ff;background:rgba(165,125,255,.23)}
.production-sidebar-footer{display:grid;gap:7px;padding-top:14px;border-top:1px solid rgba(255,255,255,.09)}
.production-help-card{width:100%;display:flex;gap:10px;align-items:center;padding:9px;border:0;border-radius:14px;background:transparent;color:#eee8ff;font:inherit;text-align:left;cursor:pointer}
.production-help-card:hover{background:rgba(255,255,255,.07)}
.production-help-icon,.production-profile-avatar{display:grid;flex:0 0 auto;place-items:center;background:linear-gradient(145deg,#7c3aed,#4c1d95);color:#fff;font-size:12px;font-weight:850}
.production-help-icon{width:29px;height:29px;border-radius:10px}
.production-help-card>span:nth-child(2){display:grid;flex:1;min-width:0;gap:2px}
.production-help-card strong{overflow:hidden;color:#fff;font-size:11.5px;text-overflow:ellipsis;white-space:nowrap}
.production-help-card small{overflow:hidden;color:#c4b5fd;font-size:10.5px;text-overflow:ellipsis;white-space:nowrap}
.production-footer-chevron{color:#988daa;font-size:18px;line-height:1}
.production-profile-wrap{position:relative}
.production-topbar-profile{flex:0 0 auto}
.production-profile-card{display:flex;min-height:42px;align-items:center;gap:9px;padding:5px 8px;border:1px solid #e6e1ef;border-radius:12px;background:#fff;color:#40364f;font:inherit;text-align:left;cursor:pointer}
.production-profile-card:hover{border-color:#cdbef2;background:#fbfaff}
.production-profile-avatar{display:grid;flex:0 0 auto;width:30px;height:30px;place-items:center;border-radius:10px;background:#efe9ff;color:#6b3cd1;font-size:12px;font-weight:850}
.production-profile-copy{display:grid;min-width:0;gap:2px}.production-profile-card strong{overflow:hidden;color:#302942;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.production-profile-card small{overflow:hidden;color:#81798f;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.production-profile-chevron{color:#82798f;font-size:16px;line-height:1}
.production-profile-menu{position:absolute;top:calc(100% + 8px);right:0;z-index:15;width:220px;padding:12px;border:1px solid #e2d9f0;border-radius:13px;background:#fff;box-shadow:0 16px 36px rgba(30,20,55,.15)}
.production-profile-menu strong,.production-profile-menu small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.production-profile-menu strong{color:#fff;font-size:12px}.production-profile-menu small{margin-top:3px;color:#b9add7;font-size:11px}
.production-profile-menu button{width:100%;margin-top:10px;padding:8px;border:0;border-radius:8px;background:rgba(255,255,255,.08);color:#f2edff;font:inherit;font-size:12px;font-weight:700;text-align:left;cursor:pointer}.production-profile-menu button:hover{background:rgba(255,255,255,.14)}
.production-topbar{min-height:74px;padding:0 clamp(24px,4vw,48px)}
.production-topbar .production-workspace-switcher{position:relative;display:flex;min-width:0;max-width:min(320px,42vw)}
.production-topbar .brand-switcher{display:flex;min-width:0!important;width:auto!important;max-width:100%;height:44px;padding:0 8px;border:0;border-radius:10px;background:transparent;box-shadow:none;gap:9px;color:#40364f}
.production-topbar .brand-switcher:hover{background:#f7f4fc;border-color:transparent}.production-topbar .brand-switcher>.brand-switcher-copy{display:grid;min-width:0;flex:1;gap:2px}.production-topbar .brand-switcher>svg{width:15px;flex:0 0 auto;color:#8a8196}.production-topbar .brand-menu{left:0;right:auto;width:min(280px,calc(100vw - 32px));margin-top:6px;border:1px solid #e4dff0;border-radius:12px;background:#fff;box-shadow:0 14px 32px rgba(42,27,72,.14)}
.production-topbar .account-summary{display:flex}
.production-topbar-tools{position:relative;display:flex;align-items:center;gap:8px}
.production-topbar-tool{position:relative;display:inline-flex;min-height:38px;align-items:center;gap:7px;padding:0 12px;border:1px solid #e7e5ee;border-radius:11px;background:#fff;color:#5f6476;font:inherit;font-size:12px;font-weight:700;cursor:pointer}
.production-topbar-tool:hover{border-color:#c9b7f2;color:#6337b6}.production-topbar-tool>span:not(.production-notification-count){font-size:12px}
.production-notification-tool{min-width:38px;justify-content:center;padding-inline:10px;font-size:16px}.production-notification-count{position:absolute;top:-5px;right:-5px;min-width:16px;height:16px;padding:0 4px;border:2px solid #fff;border-radius:99px;background:#7138d6;color:#fff;font-size:9px;font-weight:800;line-height:12px;text-align:center}
.production-nav-search-popover,.production-notification-popover{position:absolute;top:calc(100% + 10px);right:0;z-index:12;width:min(340px,calc(100vw - 32px));padding:12px;border:1px solid #e2d9f5;border-radius:14px;background:#fff;box-shadow:0 16px 40px rgba(41,24,77,.16)}
.production-nav-search-popover p,.production-notification-popover>p{margin:0 0 8px;color:#6342b1;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.production-nav-search-popover input{width:100%;min-height:38px;padding:0 10px;border:1px solid #e6e2ec;border-radius:9px;font:inherit;font-size:13px}
.production-nav-search-popover [data-production-nav-search-results]{display:grid;max-height:260px;margin-top:8px;overflow:auto}.production-nav-search-popover [data-production-nav-search-results] button{display:flex;gap:9px;align-items:center;width:100%;padding:9px 6px;border:0;border-radius:8px;background:transparent;color:#313040;font:inherit;font-size:12px;font-weight:700;text-align:left;cursor:pointer}.production-nav-search-popover [data-production-nav-search-results] button:hover{background:#f6f2ff;color:#6337b6}.production-nav-search-popover svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8}
.production-notification-popover{right:0}.production-notification-popover [data-production-notification-list]{display:grid;max-height:270px;overflow:auto}.production-notification-popover [data-production-notification-list]>button{position:relative;display:grid;gap:3px;width:100%;padding:9px 20px 9px 5px;border:0;border-bottom:1px solid #f0edf5;background:transparent;color:#313040;font:inherit;text-align:left;cursor:pointer}.production-notification-popover [data-production-notification-list]>button:hover{background:#f7f4ff}.production-notification-popover strong{font-size:12px}.production-notification-popover small{color:#777286;font-size:11px;line-height:1.35}.production-notification-popover b{position:absolute;top:10px;right:4px;color:#7138d6;font-size:9px}.production-notification-popover [data-production-notification-list]>small{display:block;padding:8px 4px;color:#777286;font-size:12px}
@media(max-width:900px){.production-sidebar{width:236px;padding:18px 12px 16px}.production-brand-lockup{padding-bottom:18px}.production-navigation{padding-bottom:10px}.production-topbar{min-height:68px}.production-topbar-status{display:inline-flex;max-width:104px;padding-inline:8px}.account-summary{display:flex}.account-summary small{display:none}}
@media(max-width:560px){.production-sidebar{width:236px}.production-nav-item{min-height:40px}.production-nav-section-title{margin-top:9px}.production-brand-lockup{min-height:56px;padding:2px 14px 17px}.production-workspace-identity>div{max-width:70px}.production-topbar-actions{gap:8px}.production-topbar-tools{gap:4px}.production-topbar-tool{min-width:34px;min-height:34px;padding:0 9px}.production-search-tool>span{display:none}.production-topbar-status{max-width:88px;font-size:10px}.production-profile-copy{display:none}.production-profile-card{min-width:40px;padding:5px}.production-profile-chevron{display:none}}

/* Closed-pilot navigation: the shared renderer supplies this mobile layer;
   the desktop sidebar remains the canonical navigation surface. */
:root{--workspace-mobile-bottom-safe:calc(96px + env(safe-area-inset-bottom))}
.production-mobile-navigation{display:none}
.production-mobile-backdrop,.production-mobile-drawer{display:none}

@media(min-width:769px){
  .production-shell{height:100dvh;min-height:100dvh;overflow:hidden}
  .production-sidebar{position:relative;height:100%;min-height:0;overflow:hidden}
  .production-navigation{flex:1 1 auto;min-height:0;overscroll-behavior:contain}
  .production-main{display:flex;height:100%;min-height:0;flex-direction:column;overflow:hidden}
  .production-topbar{flex:0 0 auto}
  .production-content{height:auto;min-height:0;flex:1 1 auto;overflow-y:auto;overscroll-behavior:contain}
}

@media(max-width:768px){
  .production-shell{display:block;height:auto;min-width:0;min-height:100dvh;overflow:visible}
  .production-sidebar{display:none}
  .production-main{width:100%;height:auto;min-width:0;overflow:visible}
  .production-topbar{position:sticky;top:0;z-index:20;min-width:0;padding:0 14px}
  .production-topbar .mobile-menu-button{display:grid;width:44px;height:44px;flex:0 0 44px;place-items:center;margin:0 3px 0 0;padding:0;border:0;border-radius:10px;background:transparent;color:#4c3a68;cursor:pointer}
  .production-topbar .mobile-menu-button:hover,.production-topbar .mobile-menu-button:focus-visible{background:#f4f0fc;outline:2px solid #b8a0ed;outline-offset:2px}
  .production-topbar .mobile-menu-button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .production-content{width:100%;min-width:0;padding:24px 16px var(--workspace-mobile-bottom-safe)}
  .production-mobile-navigation{position:fixed;right:0;bottom:0;left:0;z-index:25;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;padding:7px 8px calc(7px + env(safe-area-inset-bottom));border-top:1px solid #e8e1f2;background:rgba(255,255,255,.97);box-shadow:0 -8px 25px rgba(43,27,76,.1);backdrop-filter:blur(14px)}
  .production-mobile-nav-item{display:grid;min-width:0;min-height:52px;place-items:center;gap:3px;padding:5px 2px;border:0;border-radius:10px;background:transparent;color:#857a95;font:inherit;font-size:10px;font-weight:750;line-height:1.15;text-align:center;cursor:pointer}
  .production-mobile-nav-item svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .production-mobile-nav-item.is-active{background:#f0eafd;color:#6335c9}
  .production-mobile-nav-item:focus-visible{outline:2px solid #8b61df;outline-offset:1px}
  .production-mobile-backdrop{position:fixed;inset:0;z-index:29;background:rgba(25,14,45,.42)}
  .production-mobile-drawer{position:fixed;right:0;bottom:0;left:0;z-index:30;display:grid;grid-template-rows:auto minmax(0,1fr);max-height:min(82vh,680px);max-height:min(82dvh,680px);overflow:hidden;overscroll-behavior:contain;border:1px solid #e2d9f1;border-bottom:0;border-radius:22px 22px 0 0;background:#fff;box-shadow:0 -18px 48px rgba(32,17,61,.22)}
  .production-mobile-drawer>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 18px 14px;border-bottom:1px solid #eeeaf4}
  .production-mobile-drawer>header h1{margin:0;color:#302342;font-size:18px;letter-spacing:-.03em}
  .production-mobile-drawer>header button{display:grid;width:44px;height:44px;place-items:center;border:1px solid #e2d9ef;border-radius:10px;background:#fff;color:#5b4a72;font:inherit;font-size:25px;line-height:1;cursor:pointer}
  .production-mobile-drawer>header button:focus-visible{outline:2px solid #8b61df;outline-offset:2px}
  .production-mobile-drawer-content{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:8px 16px calc(20px + env(safe-area-inset-bottom))}
  .production-mobile-drawer-section{display:grid;gap:3px;padding:10px 0;border-bottom:1px solid #f0edf5}
  .production-mobile-drawer-section:last-child{border-bottom:0}
  .production-mobile-drawer-section h2{margin:3px 4px 5px;color:#8b8197;font-size:10px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
  .production-mobile-drawer-item{display:flex;min-height:44px;align-items:center;gap:11px;padding:8px 10px;border:0;border-radius:10px;background:transparent;color:#55486a;font:inherit;font-size:15px;font-weight:600;line-height:1.3;text-align:left;cursor:pointer}
  .production-mobile-drawer-item i{margin-left:auto;padding:3px 6px;border-radius:7px;background:#f0eafd;color:#6335c9;font-size:9px;font-style:normal;font-weight:800;line-height:1;white-space:nowrap}
  .production-mobile-drawer-item.is-unavailable{cursor:help;opacity:.62}
  .production-mobile-drawer-item svg{width:20px;height:20px;flex:0 0 20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .production-mobile-drawer-item.is-active{background:#f0eafd;color:#6335c9;font-weight:800}
  .production-mobile-drawer-item:hover{background:#f7f4fc}
  .production-mobile-drawer-item:focus-visible{outline:2px solid #8b61df;outline-offset:1px}
  .production-mobile-support{padding:13px 0 4px;border-top:1px solid #f0edf5}.production-mobile-support button{display:grid;grid-template-columns:30px minmax(0,1fr);column-gap:10px;align-items:center;width:100%;padding:10px;border:0;border-radius:11px;background:#f7f4fc;color:#514263;font:inherit;text-align:left;cursor:pointer}.production-mobile-support button:hover{background:#f0eafd}.production-mobile-support button>span{display:grid;width:30px;height:30px;grid-row:span 2;place-items:center;border-radius:9px;background:#e9e1ff;color:#6536cb;font-size:14px;font-weight:850}.production-mobile-support strong{font-size:13px}.production-mobile-support small{color:#7d748b;font-size:11px}
}
.production-topbar .workspace-option{display:flex;align-items:center;gap:10px;width:100%;padding:9px;border:0;border-radius:9px;background:transparent;color:#40364f;font:inherit;text-align:left;cursor:pointer}.production-topbar .workspace-option:hover,.production-topbar .workspace-option.is-selected{background:#f7f4fc}.production-topbar .workspace-option>span{display:grid;flex:1;min-width:0;gap:2px}.production-topbar .workspace-option strong{font-size:13px}.production-topbar .workspace-option small{color:#777286;font-size:11px}.production-topbar .workspace-option>b{color:#7138d6}.production-topbar .workspace-menu-status{display:block;padding:8px;color:#777286;font-size:11px}.production-topbar .workspace-menu-account{display:grid;gap:3px;margin-top:7px;padding-top:7px;border-top:1px solid #eeeaf5}.production-topbar .workspace-menu-account button{display:flex;justify-content:space-between;width:100%;padding:8px;border:0;border-radius:8px;background:transparent;color:#4e4560;font:inherit;font-size:12px;font-weight:700;text-align:left;cursor:pointer}.production-topbar .workspace-menu-account button:hover{background:#f7f4fc}

/* Desktop merchant label legibility */
@media(min-width:901px){.production-shell{grid-template-columns:270px minmax(0,1fr)}.production-navigation .production-nav-item{font-size:13.5px;font-weight:550}.production-nav-section-title{font-size:8.5px}.production-nav-item.is-unavailable{opacity:1}.production-navigation .production-nav-item .production-nav-label{color:inherit;font-size:inherit;font-weight:inherit}}
