/* One company identity for the existing staff backend and trade-account portal.
   No operational markup, permissions or business calculations are replaced. */
@font-face{font-family:'Tidy Platform Inter';src:url('/assets/theme/facility-catalogue/fonts/InterVariable.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
@font-face{font-family:'Tidy Platform Manrope';src:url('/assets/theme/facility-catalogue/fonts/Manrope-variable.ttf') format('truetype');font-style:normal;font-weight:200 800;font-display:swap}
body:is(.original-shared-admin,.tp-account-page){--primary-red:#b95525;--primary-green:#414c30;--accent-amber:#b95525;--accent:#b95525;--bg-main:#f8f5f1;--bg-surface:#fffdf9;--bg-card:#f0f2e8;--text-main:#2b3827;--text-muted:#69735f;--border-color:#dfe3d5;--radius-sm:9px;--radius-md:14px;background:var(--bg-main);color:var(--text-main);font-family:'Tidy Platform Inter',Arial,sans-serif;font-weight:400}
body:is(.original-shared-admin,.tp-account-page) :is(button,input,select,textarea){font-family:inherit}
body:is(.original-shared-admin,.tp-account-page) :is(h1,h2,h3,h4){font-family:'Tidy Platform Manrope',Arial,sans-serif!important;letter-spacing:-.45px;color:var(--text-main)}
body:is(.original-shared-admin,.tp-account-page) :is(button,a,input,textarea,select):focus-visible{outline:2px solid #b95525;outline-offset:3px}
body:is(.original-shared-admin,.tp-account-page) .tp-admin-logo{display:inline-block;position:relative;width:210px;height:44.333px;flex:0 0 auto;vertical-align:middle;background:url('/assets/branding/tidy-planet-approved-lockup.svg?v=20261117-platform-030') left center/contain no-repeat;mix-blend-mode:normal}
body:is(.original-shared-admin,.tp-account-page) .tp-admin-logo::before,body:is(.original-shared-admin,.tp-account-page) .tp-admin-logo::after{display:none;content:none}
body.original-shared-admin .admin-topbar .tp-admin-logo{width:190px;height:40.11px}
body.tp-account-page>header .tp-admin-logo{width:210px;height:44.333px}
body:is(.original-shared-admin,.tp-account-page) #auth .tp-admin-logo{width:min(280px,75vw);height:auto;aspect-ratio:360/76;margin-bottom:22px}

body.original-shared-admin .admin-security-bar{background:#414c30!important;border-color:#5a6848!important;color:#f8f7ee!important;font-size:11px!important;font-weight:500!important}
body.original-shared-admin .admin-security-bar :is(span,strong,div,i){color:#f2f4e9!important}
body.original-shared-admin .admin-security-bar span[style*="background"]{background:#cbd7b9!important}
body.original-shared-admin .admin-topbar{background:#fffdf9;border-color:var(--border-color);box-shadow:0 2px 10px #293a2404}
body.original-shared-admin .admin-brand{gap:17px}
body.original-shared-admin #businessName{font-size:13px;font-weight:550;color:var(--text-main)}
body.original-shared-admin .admin-badge{background:#edf0e5!important;border:1px solid #d9e0cc!important;color:#414c30!important;font-size:10px!important;font-weight:550!important}
body.original-shared-admin .btn-store-link{background:#b95525!important;color:#fff!important;border:1px solid #b95525!important;box-shadow:none;font-size:12px;font-weight:550;border-radius:10px}
body.original-shared-admin .btn-store-link i{color:inherit!important}
body.original-shared-admin .btn-logout-admin{background:#fffdf9!important;color:#414c30!important;border:1px solid #cfd7c3!important;box-shadow:none;font-size:12px!important;font-weight:550!important;border-radius:10px}
body.original-shared-admin #tabs{background:#fffdf9!important;border-color:var(--border-color)!important;overflow-y:auto!important;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c4cdb6 transparent}
body.original-shared-admin #tabs .tab-btn{color:#626f55;font-weight:500;font-family:'Tidy Platform Inter',Arial,sans-serif}
body.original-shared-admin #tabs .tab-btn i{color:inherit}
body.original-shared-admin #tabs .tab-btn:hover{background:#eef1e7;color:#414c30}
body.original-shared-admin #tabs .tab-btn.active{background:#414c30;color:#fffdf9;box-shadow:none}
body.original-shared-admin .admin-nav-label{color:#7a846d;font-size:10px;letter-spacing:.9px;font-weight:600}
body.original-shared-admin :is(.stat-card,.card,.structure-order-card,.structure-placement-card){background:#fffdf9;border-color:var(--border-color);box-shadow:0 3px 12px #293a2403}
body.original-shared-admin :is(.stat-icon.blue,.stat-icon.green,.stat-icon.red,.stat-icon.amber,.stat-icon.purple){background:#edf0e5!important;color:#414c30!important}
body.original-shared-admin .stat-val{color:#2b3827!important;font-family:'Tidy Platform Manrope',Arial,sans-serif;font-weight:750}
body.original-shared-admin #content h1{font-family:'Tidy Platform Manrope',Arial,sans-serif!important;font-size:26px;font-weight:750;line-height:1.2}
body.original-shared-admin :is(#content,#editor) :is(input,select,textarea){border-color:#d9dfd0;background:#fffdf9;color:#2b3827;font-weight:400;border-radius:9px}
body.original-shared-admin :is(#content,#editor) :is(input,select,textarea):focus{border-color:#879676;box-shadow:0 0 0 3px #eef1e7}
body.original-shared-admin :is(#content,#editor,#auth) button{font-weight:550}
body.original-shared-admin :is(#content,#editor,#auth) button.primary,body.original-shared-admin .btn-primary-admin{background:#b95525!important;color:#fff!important;border-color:#b95525!important;box-shadow:none}
body.original-shared-admin .btn-secondary-admin{background:#fffdf9!important;color:#414c30!important;border-color:#cfd7c3!important;box-shadow:none}
body.original-shared-admin :is(.btn-primary-admin,.btn-secondary-admin){font-weight:550;border-radius:9px}
body.original-shared-admin :is(.inventory-table,table) th{background:#eef1e7;color:#58664c;font-family:'Tidy Platform Inter',Arial,sans-serif;font-size:11px;font-weight:600;border-color:var(--border-color)}
body.original-shared-admin :is(.inventory-table,table) td{border-color:#e5e8dd;font-family:'Tidy Platform Inter',Arial,sans-serif}
body.original-shared-admin :is(.inventory-table,table) tbody tr:hover{background:#f7f8f0}
body.original-shared-admin :is(.status-instock,.tag,.theme-compatibility span){background:#edf0e5!important;color:#4b5e37!important;border-color:#d0dac1!important}
body.original-shared-admin :is(.admin-eyebrow,.structure-department strong,.theme-token-panel legend,.theme-token-panel output){color:#65764f}
body.original-shared-admin #content .structure-department.active{background:#edf0e5!important;border-color:#66794e!important;box-shadow:inset 0 -3px 0 #66794e}
body.original-shared-admin :is(.preview-banner,.theme-mode-explanation){background:#f1f3e9!important;border-color:#d4ddc5!important;color:#414c30}
body.original-shared-admin :is(.structure-bulk-bar,.theme-token-panel){background:#f5f6ee;border-color:#dfe4d5}
body.original-shared-admin :is(.managed-catalog-page,.theme-control-panel,.theme-customizer,.theme-release-history){border-color:#dfe4d5;background:#fffdf9}
body.original-shared-admin .managed-catalog-page strong{color:#65764f}
body.original-shared-admin :is(#notice,#tradeApplicationNotice){background:#f0f3e8;border-color:#d7dfca;color:#414c30}
body.original-shared-admin .theme-preview-toolbar button.active{background:#414c30;border-color:#414c30;color:#fff}
body.original-shared-admin :is(.theme-token-panel-head,.theme-preview-toolbar){background:#fffdf9f5}
body.original-shared-admin .theme-token-panel-head small{color:#65764f}
body.original-shared-admin .theme-preset-preview{border-color:#e0e4d6}
body.original-shared-admin .theme-unlock-field{background:#fcf3ed;border-color:#e2c9b9}
body.original-shared-admin :is(#editor,.modal-card){background:#fffdf9;color:#2b3827;border-color:#dfe3d5}
body.original-shared-admin .auth-card{background:#fffdf9;border:1px solid #dfe3d5;box-shadow:0 12px 50px #293a2414;border-radius:20px}
body.original-shared-admin #auth input{background:#fff;border-color:#d4dcc8;border-radius:10px;padding:12px}
body.original-shared-admin #auth button.primary{min-height:46px}
body.original-shared-admin #auth a{color:#9c4b24}

body.tp-account-page>header{background:#fffdf9;border-color:#dfe3d5;color:#2b3827}
body.tp-account-page>header a{display:inline-flex;align-items:center;min-height:42px;padding:8px 14px;border:1px solid #cfd7c3;border-radius:10px;color:#414c30;text-decoration:none;font-size:13px}
body.tp-account-page .card{background:#fffdf9;border-color:#dfe3d5;border-radius:20px;box-shadow:0 6px 24px #293a2405}
body.tp-account-page #auth{max-width:540px;padding:30px}
body.tp-account-page :is(button,.button){border-color:#d4dcc8;background:#fffdf9;color:#414c30;border-radius:10px;font-size:14px;font-weight:550;box-shadow:none}
body.tp-account-page :is(button.primary,.button.primary){background:#b95525;color:#fff;border-color:#b95525}
body.tp-account-page #authSubmit{width:100%;min-height:46px}
body.tp-account-page #applyTrade{width:100%;min-height:44px}
body.tp-account-page :is(input,select,textarea){border-color:#d4dcc8;color:#2b3827;background:#fff;border-radius:10px;font-size:15px;padding:12px}
body.tp-account-page label{font-size:13px;font-weight:550;color:#414c30}
body.tp-account-page #auth h1{font-size:26px}
body.tp-account-page :is(#authIntro,#sessionLabel,.muted,small){color:#69735f}
@media(max-width:650px){body.original-shared-admin .admin-topbar .tp-admin-logo{width:160px;height:33.78px}body.original-shared-admin .admin-brand{gap:10px;flex-wrap:wrap}body.original-shared-admin #businessName{font-size:11px}body.tp-account-page>header .tp-admin-logo{width:170px;height:35.89px}body.tp-account-page #auth{padding:24px 20px;margin-top:22px}body.tp-account-page :is(input,select,textarea){font-size:16px}}
