.internal-shell{background:#f3f6fa;color:#132d4e}
.internal-shell .topline,.internal-shell #header-search,.internal-shell #opening-banner,.internal-shell #public-store,.internal-shell #cart-button,.internal-shell #orders-button,.internal-shell #profile-shortcuts,.internal-shell footer,.internal-shell #header-menu,.internal-shell #menu-toggle{display:none!important}
.internal-shell .store-header{max-width:none;width:auto;margin:0;padding:18px 32px;border-bottom:1px solid #e0e7ef;display:flex;justify-content:space-between;background:white;gap:20px}
.internal-shell .store-header .brand{width:145px}.internal-shell .header-actions{margin-left:auto}.internal-shell main{max-width:none;margin:0;padding:30px 36px 50px 278px}
.internal-shell #store-admin> .section-heading{margin-bottom:24px}.internal-shell h1{font-size:34px;line-height:1.2;margin:8px 0}.internal-shell h2{font-size:26px}.internal-shell #admin-workspace>.notice{font-size:14px;background:#eaf2fc;padding:14px 18px}
.internal-shell #admin-workspace>.admin-tabs{position:fixed;left:0;top:0;bottom:0;width:238px;box-sizing:border-box;background:#092442;color:white;display:flex;flex-direction:column;flex-wrap:nowrap;gap:5px;padding:24px 15px;overflow:auto;margin:0;z-index:3}
.internal-shell #admin-workspace>.admin-tabs .button{flex:none;justify-content:flex-start;text-align:left;font-size:14px;border:0;color:#c8d9ec;background:transparent;padding:12px 15px;width:100%;min-height:43px}
.internal-shell #admin-workspace>.admin-tabs .button.dark{background:#1269b2;color:#fff}.internal-shell #admin-workspace>.admin-tabs a{color:#c8d9ec;padding:12px 15px;font-size:14px}
.workspace-brand{margin-bottom:20px;padding:8px 10px 20px;border-bottom:1px solid #294461}.workspace-brand img{width:155px;height:auto;border-radius:8px;display:block}.workspace-brand span,.nav-section-label{display:block;font-size:11px;letter-spacing:.12em;color:#8ca9c8;margin-top:15px}.nav-section-label{padding:8px 15px}
.internal-shell .store-header{padding-left:278px}.internal-shell .admin-row,.work-panel{background:white;border:1px solid #e0e7ef;border-radius:14px;padding:22px;margin:14px 0}.internal-shell #workspace-updated{display:inline-block;margin:0 12px;font-size:12px}.internal-shell #full-lab-link{margin:14px 0}
.overview-heading{display:flex;gap:20px;justify-content:space-between;align-items:center;margin:24px 0}.overview-heading h2{margin:6px 0}.overview-heading p{margin:6px 0;color:#657790}.today-label{font-size:13px;color:#657790;white-space:nowrap}
.internal-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.metric{padding:23px;background:#fff;border:1px solid #e0e7ef;border-radius:14px}.metric span{font-size:14px;color:#62758d;display:block}.metric strong{font-size:30px;display:block;margin:12px 0;overflow-wrap:anywhere}.metric small{color:#7a8a9e;font-size:12px}.internal-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px}.quick-actions{display:flex;gap:10px;flex-wrap:wrap}.stock-summary{display:flex;gap:20px;justify-content:space-between;border-top:1px solid #edf0f5;padding:13px 0;font-size:14px}.stock-summary strong{white-space:nowrap}.work-panel h3{margin:0 0 18px}
.internal-shell:has(#admin-workspace[hidden]) main{padding:50px 24px;max-width:740px;margin:auto}.internal-shell:has(#admin-workspace[hidden]) .store-header{padding-left:32px}.internal-shell:has(#admin-workspace[hidden]) #store-admin>.section-heading{display:none}.internal-shell #admin-access .empty-state{background:white;padding:44px;border-radius:18px;text-align:center}.internal-shell #admin-access .empty-state:before{content:'';display:block;width:210px;height:110px;margin:0 auto 20px;background:url('/liamsa-favicon.png') center/contain no-repeat}
@media(max-width:1050px){.internal-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.internal-columns{grid-template-columns:1fr}.internal-shell main{padding:24px 22px 40px 252px}.internal-shell .store-header{padding-left:252px}.overview-heading{align-items:flex-start;flex-direction:column;gap:5px}}
@media(max-width:760px){.internal-shell #admin-workspace>.admin-tabs{position:static;width:100%;flex-direction:row;flex-wrap:wrap;border-radius:14px;padding:10px;margin:20px 0;gap:4px}.internal-shell #admin-workspace>.admin-tabs .button{width:auto;padding:10px;min-height:44px}.workspace-brand,.nav-section-label{display:none}.internal-shell main{padding:20px 16px}.internal-shell .store-header{padding:12px 16px}.internal-shell h1{font-size:27px}.metric{padding:16px}.metric strong{font-size:24px}.internal-shell .header-actions{gap:6px}.internal-shell .header-actions button{font-size:13px}.internal-shell .store-header .brand{width:110px}.internal-shell #admin-access .empty-state{padding:30px 20px}}

#login-brand-art{display:none}.internal-shell:has(#admin-workspace[hidden]) #login-brand-art{display:block}.internal-shell:has(#admin-workspace[hidden]) main{max-width:1200px;padding:28px 20px}.internal-shell #login-brand-art img{display:block;width:100%;height:auto;border-radius:16px}.internal-shell #admin-access .empty-state:before{display:none}.internal-shell #admin-access .empty-state{margin:20px auto;max-width:600px;padding:28px}.internal-shell #admin-access .empty-state h2{margin:0 0 12px}.internal-shell #legal-activate,.internal-shell #legal-pause{display:none!important}

.internal-shell .logo-crop{width:160px;height:80px}.internal-shell .logo-crop img{position:static;width:100%;height:100%;object-fit:contain}

/* Full-screen entrance; the authenticated workspace keeps its readable layout. */
.internal-shell:has(#admin-workspace[hidden]){min-height:100vh;min-height:100dvh;background:#dcecf8 url('/internal-background.png') center center/contain no-repeat fixed}
.internal-shell:has(#admin-workspace[hidden]) #login-brand-art{display:none}
.internal-shell:has(#admin-workspace[hidden]) .store-header{position:absolute;inset:0 0 auto;background:transparent;border:0;padding:20px 24px;z-index:2}
.internal-shell:has(#admin-workspace[hidden]) .store-header .brand{display:none}
.internal-shell:has(#admin-workspace[hidden]) #account-button{background:rgba(255,255,255,.95);border:1px solid #cfdeec;border-radius:12px;padding:12px 20px;box-shadow:0 4px 20px #09244218;color:#092442}
.internal-shell:has(#admin-workspace[hidden]) main{max-width:none;width:100%;min-height:100vh;min-height:100dvh;margin:0;padding:110px 20px 20px;box-sizing:border-box;display:grid;align-items:end}
.internal-shell:has(#admin-workspace[hidden]) #store-admin{width:100%;padding:0}
.internal-shell:has(#admin-workspace[hidden]) #admin-access:has(#admin-login){display:none}
@media(max-width:760px){.internal-shell:has(#admin-workspace[hidden]){background-position:center center}.internal-shell:has(#admin-workspace[hidden]) .store-header{padding:16px}.internal-shell:has(#admin-workspace[hidden]) #account-button{padding:10px 16px}}
.sales-chart-scroll{overflow-x:auto;max-width:100%;padding:12px 0}.sales-chart{display:block;max-width:none}.stats-panel{min-width:0}
.internal-shell[data-business]{--business-accent:#1269b2;--business-dark:#082d60;--business-light:#eaf4ff}
.internal-shell[data-business="torque"]{--business-accent:#bf202b;--business-dark:#18181b;--business-light:#fff0f0;background:#f6f4f4}
.internal-shell[data-business] #admin-workspace>.admin-tabs{background:var(--business-dark)}
.internal-shell[data-business] #admin-workspace>.admin-tabs .button.dark{background:var(--business-accent);color:white}
.internal-shell[data-business] .button.dark{background:var(--business-accent);color:white;border-color:var(--business-accent)}
.internal-shell[data-business] #business-selector{background:var(--business-light);border-left:5px solid var(--business-accent);border-radius:12px;padding:20px;min-height:150px;overflow:auto}
#business-selector>strong{font-size:24px;display:block;color:var(--business-dark)}
.business-reference{float:right;width:240px;height:150px;object-fit:contain;border-radius:8px;margin:0 0 12px 20px;background:white}
.business-wordmark small{font-size:17px;letter-spacing:.22em;color:white;display:block}.business-wordmark strong{font-size:25px;line-height:1.15;color:white;display:block;margin:8px 0}.business-wordmark span{color:#dce8f4;font-size:10px;letter-spacing:.06em;line-height:1.6}
.internal-shell[data-business="torque"] .workspace-brand{border-bottom:3px solid #bf202b}.internal-shell[data-business="torque"] .nav-section-label{color:#efb4b8}
#current-business-badge{font-weight:800;color:var(--business-dark);border-left:4px solid var(--business-accent);padding-left:12px;font-size:16px}
.internal-shell[data-business] .store-header .brand{display:none}
.internal-shell[data-business] input:focus,.internal-shell[data-business] select:focus{outline:2px solid var(--business-accent);outline-offset:2px}
@media(max-width:760px){.business-reference{float:none;width:100%;height:130px;margin:0 0 14px}#business-selector>strong{font-size:21px}#current-business-badge{font-size:13px;max-width:160px}.internal-shell[data-business] .store-header{flex-wrap:wrap}}
/* Integrate supplied logo backgrounds into each business theme. */
.internal-shell[data-business] .business-reference{background:transparent;border:0;border-radius:0;object-fit:contain;width:190px;height:120px;margin:0 4px 12px 20px}
.internal-shell[data-business="air"] .business-reference{mix-blend-mode:multiply}
.internal-shell[data-business="torque"] #business-selector{background:#18181b;color:#f9fafb;border-left-color:#e52b35}
.internal-shell[data-business="torque"] #business-selector>strong{color:#fff}
.internal-shell[data-business="torque"] #business-selector p,.internal-shell[data-business="torque"] #business-selector label{color:#e7e7eb}
.internal-shell[data-business="torque"] .business-reference{mix-blend-mode:screen}
@media(max-width:760px){.internal-shell[data-business] .business-reference{float:none;display:block;width:160px;height:105px;margin:0 auto 16px}}
/* The central navigation always belongs to Liamsa Solutions. */
.internal-shell[data-business] #admin-workspace>.admin-tabs{background:#092442}
.internal-shell[data-business] #admin-workspace>.admin-tabs .button.dark{background:#1269b2;color:#fff}
.internal-shell[data-business] .workspace-brand{border-bottom:1px solid #294461}
.internal-shell[data-business] .nav-section-label{color:#8ca9c8}
.sidebar-businesses{margin-top:18px}.sidebar-businesses>span{margin:0 0 8px;font-size:10px;color:#8ca9c8}
.business-choice{display:block;width:100%;text-align:left;margin:6px 0;padding:10px;border:1px solid #405773;border-radius:8px;background:transparent;color:#e5efff;font:inherit;font-size:12px;cursor:pointer}
.business-choice[aria-pressed="true"]{background:#164b80;border-color:#71c3f2;color:white;font-weight:700}
.business-choice:focus-visible{outline:2px solid white;outline-offset:2px}
@media(max-width:760px){.internal-shell .workspace-brand{display:block;width:100%;margin-bottom:8px;padding:8px}.workspace-brand img{width:120px}.sidebar-businesses{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.sidebar-businesses>span{width:100%}.business-choice{width:auto;flex:1;margin:0}}
/* Unified selected-business palette, including central navigation. */
.internal-shell[data-business] #admin-workspace>.admin-tabs{background:var(--business-dark)}
.internal-shell[data-business] #admin-workspace>.admin-tabs .button.dark{background:var(--business-accent);color:#fff}
.internal-shell[data-business] .workspace-brand{border-bottom:1px solid #ffffff35}
.internal-shell[data-business] .business-choice[aria-pressed="true"]{background:var(--business-accent);border-color:#ffffff90;color:#fff}
.internal-shell[data-business="torque"] .nav-section-label,.internal-shell[data-business="torque"] .sidebar-businesses>span,.internal-shell[data-business="torque"] .workspace-brand>span{color:#efbdc0}
.internal-shell[data-business="torque"] #admin-workspace>.admin-tabs .button,.internal-shell[data-business="torque"] #admin-workspace>.admin-tabs a{color:#f4e8e9}
.internal-shell[data-business="torque"] .button.outline{border-color:#dfc5c8;color:#7e1822}
.internal-shell[data-business="torque"] #admin-workspace>.admin-tabs .button.outline{color:#f4e8e9;border-color:transparent}
.internal-shell[data-business="torque"] .eyebrow,.internal-shell[data-business="torque"] .subtle-link{color:#a61b27}
.internal-shell[data-business="torque"] #admin-workspace>.notice,.internal-shell[data-business="torque"] .notice{background:#fff0f0;border-left-color:#bf202b;color:#51202a}
.internal-shell[data-business="torque"] #business-selector{background:#18181b;color:white}
.internal-shell[data-business="torque"] .badge{background:#fbe7e9;color:#801922}
.internal-shell[data-business="torque"] .metric,.internal-shell[data-business="torque"] .work-panel,.internal-shell[data-business="torque"] .admin-row,.internal-shell[data-business="torque"] .stats-panel{border-color:#e6d9dc}
.internal-shell[data-business="torque"] .metric strong,.internal-shell[data-business="torque"] h1,.internal-shell[data-business="torque"] h2,.internal-shell[data-business="torque"] h3{color:#292126}
.internal-shell[data-business="torque"] .sales-chart rect[fill="#086ac0"]{fill:#bf202b}
.internal-shell[data-business="torque"] .sales-chart rect[fill="#087f5b"]{fill:#66111c}
.internal-shell[data-business="torque"] #business-selector>strong{color:white}

/* The group overview keeps only the business selector in the sidebar. */
.internal-shell.global-business-view #admin-workspace>.admin-tabs>:not(.workspace-brand){display:none!important}

.employee-performance{padding:16px 0;border-bottom:1px solid #d7e1ec}.employee-bar{height:14px;background:#e8edf3;border-radius:7px;overflow:hidden}.employee-bar span{display:block;height:100%;border-radius:7px}

.global-users-access{display:none!important}.internal-shell.global-business-view #admin-workspace>.admin-tabs .global-users-access{display:block!important;margin-top:22px;padding:14px 10px;border:1px solid #8ca9c8;border-radius:8px;color:#fff;text-decoration:none;font-size:14px;font-weight:700}
