/* Omni ERP Hub — shared brand layer.
   Palette and surfaces match the Omni Habitat website's visual theme.
   Existing layout breakpoints, field behavior and print designs stay intact. */
:root{
 --oh-teal:#005963;--oh-teal-dark:#00434b;--oh-teal-deep:#06383e;--oh-teal-soft:#edf5f3;
 --oh-gold:#f58b0a;--oh-gold-light:#ffb44e;--oh-gold-ink:#885714;--oh-gold-soft:#fff6e5;
 --oh-ink:#22383b;--oh-muted:#617378;--oh-line:#dce6e2;--oh-soft:#f6f8f5;
 --nav:var(--oh-teal-deep);--nav-hover:var(--oh-teal-dark);--nav-dim:#b9d2d0;
 --ink:var(--oh-ink);--muted:var(--oh-muted);--accent:var(--oh-teal);--accent-dark:var(--oh-teal-dark);
 --line:var(--oh-line);--surface:#fff;--back:var(--oh-soft);--soft:var(--oh-teal-soft);--receipt-accent:var(--oh-teal);
 --shadow:0 5px 20px #00434b0d;
}
.skip-link{position:fixed;z-index:100;left:16px;top:12px;padding:10px 16px;background:#fff;color:var(--oh-teal);border-radius:8px;transform:translateY(-160%);box-shadow:0 4px 18px #06383e30}
.skip-link:focus{transform:translateY(0)}
@media screen{
 html{min-width:320px}
 body{background:var(--oh-soft);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
 .main-shell{min-width:0}
 .workspace{padding:28px;max-width:1660px}
 h1,h2,h3{color:var(--oh-teal-deep)}
 h1{font-weight:750;letter-spacing:-.035em}
 .eyebrow{color:var(--oh-gold-ink);font-weight:750}
 .sidebar{background:linear-gradient(160deg,#005963 0%,#06383e 65%);box-shadow:4px 0 24px #00434b12;padding:20px 14px}
 .sidebar-brand{flex-direction:column;align-items:stretch;gap:13px;margin:0 0 10px;padding:0 4px 19px;border-bottom:1px solid #ffffff24}
 .sidebar-brand .brand-logo{width:100%;max-width:100%;height:auto;flex:none;object-fit:contain;border-radius:12px;background:#fdfaf3;padding:7px 6px;box-shadow:0 3px 10px #06383e30}
 .sidebar-brand>.hub-wordmark{display:flex;justify-content:space-between;align-items:center;gap:6px;color:#fff;font-size:.8rem;font-weight:650;letter-spacing:.01em}
 .sidebar-brand small{color:#c9dfdc;font-size:.59rem;font-weight:450;white-space:nowrap}
 .nav-label{color:#accfcb;letter-spacing:.13em;font-weight:600}
 .nav-item{color:#e0eeeb;border-radius:9px;margin:4px 0;min-height:40px;font-weight:500}
 .nav-item:hover{background:#ffffff12;color:#fff}
 .nav-item.active{background:#fff1ce;color:#173d42;box-shadow:inset 3px 0 0 var(--oh-gold);font-weight:700}
 .nav-item.active:hover{background:#ffedbd;color:#06383e}
 .sidebar-foot{color:#b9d2d0;border-top:1px solid #ffffff1a;margin-top:20px;padding:16px 11px 0}
 .sidebar-foot small{color:#aac6c3}
 .nav-close{border-color:#6a9696;background:#00434b;color:#fff}
 .nav-backdrop{background:#06383e7a}
 .topbar{background:#fff;border-bottom:1px solid var(--line);box-shadow:0 3px 14px #00434b08;min-height:78px}
 .breadcrumb>span:first-of-type{color:var(--oh-muted)}
 .breadcrumb strong{color:var(--oh-teal);font-weight:650}
 .avatar{background:var(--oh-gold-soft);border:1px solid #edd9b5;color:var(--oh-gold-ink);border-radius:11px}
 .user-menu>a:hover{color:var(--oh-teal)}
 .uk-clock{color:var(--oh-teal-dark)}
 .account-switcher select{background:#f7faf8;border-color:#d4e2de;color:var(--oh-teal-dark);border-radius:8px}
 .page-heading{padding:0 0 18px;margin-bottom:22px;border-bottom:1px solid var(--line)}
 .page-heading h1{position:relative;padding-left:15px}
 .page-heading h1::before{content:"";position:absolute;left:0;top:12%;bottom:8%;width:4px;border-radius:4px;background:linear-gradient(180deg,var(--oh-gold-light),var(--oh-gold))}
 .page-heading p.muted{color:var(--muted)}
 .card{border:1px solid var(--line);border-radius:13px;box-shadow:0 5px 18px #00434b08;background:#fff}
 .card-heading{border-color:var(--line);background:linear-gradient(110deg,#fff,#f7faf8);border-radius:13px 13px 0 0}
 .card-heading h2{font-weight:700}
 .metric{border:1px solid var(--line);border-top:3px solid var(--oh-teal);border-radius:13px;background:linear-gradient(145deg,#fff,#f6faf8);box-shadow:0 5px 17px #00434b0a;overflow:hidden}
 .metric:first-child{border-top:3px solid var(--oh-teal)}
 .metric:first-child::before{display:none}
 .metric:nth-child(4n+2){border-top-color:var(--oh-gold);background:linear-gradient(145deg,#fff,#fffbf2)}
 .metric:nth-child(4n+3){border-top-color:#437b4c}
 .metric:nth-child(4n){border-top-color:#df7763}
 .metric p,.metric small{color:var(--muted)}
 .metric strong{color:var(--oh-teal-deep)}
 .metric a,.text-link{color:var(--oh-teal);font-weight:650}
 .text-link:hover{color:var(--oh-teal-dark);text-decoration:underline;text-underline-offset:3px}
 .button{background:#fff;color:var(--oh-teal-dark);border:1px solid #cbdcd6;border-radius:9px;box-shadow:0 2px 3px #00434b0a;font-weight:650}
 .button:hover:not(:disabled){background:var(--oh-teal-soft);border-color:#aac5be;color:var(--oh-teal-dark);box-shadow:0 4px 9px #00434b10}
 .button.primary{background:linear-gradient(145deg,#edb95c,var(--oh-gold));border-color:#c48b28;color:var(--oh-teal-deep);box-shadow:0 3px 0 #b67f241c,0 4px 9px #88571414}
 .button.primary:hover:not(:disabled){background:var(--oh-gold-light);border-color:#b57f24;color:var(--oh-teal-deep);box-shadow:0 4px 12px #88571424}
 .button.quiet{border-color:transparent;background:transparent;box-shadow:none;color:var(--oh-teal)}
 .button.quiet:hover:not(:disabled){background:var(--oh-teal-soft);color:var(--oh-teal-dark)}
 .button.destructive{background:#fff3f1;border-color:#e7bbb5;color:#a13d35;box-shadow:none}
 .button.destructive:hover:not(:disabled){background:#ffe6e2;color:#853029;border-color:#d99d94}
 .button:disabled{cursor:not-allowed;opacity:.6}
 label{color:#3c5659}
 input,select,textarea{border-color:#cbdcd6;color:var(--ink);border-radius:8px;background:#fff}
 input::placeholder,textarea::placeholder{color:#758780}
 input:focus,select:focus,textarea:focus{border-color:var(--oh-teal);box-shadow:0 0 0 3px #0059631c;outline:none}
 input[readonly],input:disabled,select:disabled,textarea:disabled,.compact-entry input[readonly]{background:#f1f5f2;color:#566c69}
 input[type=checkbox],input[type=radio]{accent-color:var(--oh-teal)}
 input[type=file]{background:#f7faf8}
 :where(a,button,summary,input,select,textarea):focus-visible{outline:2px solid var(--oh-teal);outline-offset:3px}
 .sidebar :where(a,button):focus-visible{outline-color:var(--oh-gold-light)}
 th,.currency-table th{background:#eff5f1;color:var(--oh-teal-dark);border-color:#dce6e2}
 td,.ledger-table td{border-color:#e6eeea}
 tbody tr:hover{background:#f6faf7}
 .balance-col,.summary-strip .summary-balance,.statement-summary>div:last-child{background:var(--oh-gold-soft);color:var(--oh-teal-dark)}
 .statement-summary,.summary-strip{border-color:var(--line);border-radius:12px}
 .statement-summary span,.summary-strip span{color:var(--muted)}
 .badge.purple{background:var(--oh-teal-soft);color:var(--oh-teal-dark)}
 .badge.blue{background:var(--oh-gold-soft);color:var(--oh-gold-ink)}
 .badge.neutral{background:var(--oh-teal-soft);color:var(--oh-teal-dark)}
 .notice{border-radius:10px}
 .notice:not(.danger):not(.success){background:var(--oh-gold-soft);border-color:#ecd7b0;color:#73521c}
 .notice.success{background:#edf5e9;color:#305d36;border-color:#cadec6}
 .notice.danger{background:#fff0eb;color:#9c3931;border-color:#efc8c0}
 .tabs{border-color:var(--line)}
 .tabs a.active,.tabs button.active{color:var(--oh-teal);border-color:var(--oh-teal)}
 .draft-bar{background:#f5faf7;border-color:var(--line);border-radius:10px}
 .notification-bell{color:var(--oh-teal)}
 .notification-bell:hover{background:var(--oh-teal-soft)}
 .notification-bell span{background:#b3483e}
 .notification.is-unread{border-left-color:var(--oh-gold)}
 .product-suggestions{border-color:#c6dcd5;box-shadow:0 10px 25px #00434b1c}
 .product-suggestions button:hover,.product-suggestions [aria-selected=true],.product-selection{background:var(--oh-teal-soft);color:var(--oh-teal-dark)}
 .barcode-camera{background:#edf5f3}
 .barcode-camera video{background:#06383e}
 .compact-entry .item-line{border-radius:11px}
 .compact-entry .item-line:focus-within{border-color:#85b8b2;box-shadow:0 0 0 2px #00596312}
 .compact-entry .item-line-heading h2,.shipment-box h3{color:#4f6d6c}
 .compact-entry .entry-currency p{background:var(--oh-teal-soft);color:var(--oh-teal-dark);border-color:var(--line)}
 .items-summary,.compact-entry .items-summary,.shipment-form .items-summary,.calculation{background:linear-gradient(110deg,#edf5f3,#fff9ed);border:1px solid #dbe5d8;border-radius:9px;color:var(--oh-teal-dark)}
 .items-summary strong,.calculation strong{color:var(--oh-teal)}
 .tax-summary,.tax-summary strong{color:#3f625e}
 .entry-actionbar,.compact-entry .entry-save-actions{border-color:#cbdcd6;border-radius:11px;box-shadow:0 5px 20px #00434b14}
 .method-choice input:checked+span{background:var(--oh-gold-soft);border-color:var(--oh-gold);color:var(--oh-teal-deep)}
 .bill-design-choice input:checked+.bill-design-card{border-color:var(--oh-teal);box-shadow:0 0 0 3px #0059631a;background:var(--oh-teal-soft)}
 .bill-design-choice input:focus-visible+.bill-design-card{outline-color:var(--oh-teal)}
 .bill-design-card,.bill-logo-current img{background:#f7faf7;border-color:var(--line)}
 .product-dialog{border-color:var(--line);box-shadow:0 20px 80px #06383e40}
 .product-dialog::backdrop{background:#06383e7a}
 .password-feedback{background:#f6faf7;border-color:var(--line)}
 .account-assignments,.profile-bills{border-color:var(--line)}
 .workspace-footer{border-top:1px solid var(--line);color:#617378;font-size:.72rem;padding-top:18px;gap:12px;flex-wrap:wrap}
 /* The public page has one task: sign in. No storefront or sign-up is added. */
 .auth-page,.auth-shell{background:#f4f7f3}
 .auth-shell{position:relative;isolation:isolate;background:radial-gradient(ellipse at 12% 10%,#dcece5 0,transparent 48%),radial-gradient(ellipse at 90% 88%,#fbedd2 0,transparent 46%),#f6f8f5;padding:40px 20px}
 .auth-shell::before{content:"";position:fixed;inset:0 0 auto;height:6px;background:linear-gradient(90deg,#005963 0 70%,#f58b0a 70% 100%);pointer-events:none}
 .login-card{max-width:460px;padding:34px 38px 26px;border:1px solid #dce6e2;border-top:4px solid var(--oh-gold);border-radius:20px;box-shadow:0 18px 55px #00434b12}
 .auth-brand{padding:0 0 18px;margin:0 0 19px;border-bottom:1px solid var(--line)}
 .login-card .brand-logo{display:block;width:282px;max-width:100%;height:auto;object-fit:contain;margin:0 auto;background:transparent;border-radius:8px;mix-blend-mode:multiply}
 .login-card .eyebrow{text-align:left;font-size:.64rem;letter-spacing:.14em;margin:0 0 9px;color:var(--oh-gold-ink)}
 .login-card h1{text-align:left;font-size:1.9rem;margin:0;color:var(--oh-teal-deep)}
 .login-card>p.muted{font-size:.83rem;line-height:1.6;margin:9px 0 25px}
 .login-card .stack{gap:17px}
 .login-card input{min-height:44px;border-radius:9px}
 .login-card .full{min-height:46px;border-radius:9px;margin-top:5px;font-size:.88rem}
 .login-recovery{font-size:.8rem;margin:20px 0 0}
 .login-foot{margin:20px 0 0;color:#617378;font-size:.73rem}
 .auth-domain{font-size:.67rem;letter-spacing:.02em;margin:22px 0 0;padding-top:17px;border-top:1px solid var(--line);text-align:center;color:#617378}
 .recovery-card>.brand-logo,.recovery-card>a>.brand-logo{margin-bottom:28px}
 .setup-card{border-top:4px solid var(--oh-gold);border-radius:18px;box-shadow:0 12px 40px #00434b0f}
 .setup-card .brand-line{align-items:center;flex-wrap:wrap;gap:20px}
 .setup-card .brand-logo{mix-blend-mode:multiply;width:210px;max-width:100%;height:auto;flex:0 1 210px;background:transparent}
 .setup-card .brand-line>span{color:var(--oh-teal-deep);font-size:.95rem}
 .setup-card .brand-line small{font-size:.7rem}
 .error-card{border-top:4px solid var(--oh-gold)}
}
@media screen and (max-width:900px){.sidebar.is-open{padding-top:68px}.workspace{padding:22px}.topbar{padding:12px 20px}}
@media screen and (max-width:600px){
 .workspace{padding:20px 14px}.topbar{padding:12px 14px}.page-heading{padding-bottom:14px}.page-heading h1{padding-left:12px}
 .auth-shell{padding:24px 15px}.login-card{padding:28px 24px 22px;border-radius:16px}.login-card .brand-logo{width:250px}.login-card h1{font-size:1.65rem}
 .login-card input{font-size:16px;min-height:46px}.auth-brand{margin-bottom:18px;padding-bottom:16px}
 .setup-card{padding:24px 20px}.setup-card .brand-line{flex-direction:column;align-items:flex-start}.setup-card .brand-logo{flex-basis:auto;width:230px}.workspace-footer{padding:16px 14px}
}
@media(prefers-reduced-motion:reduce){.skip-link,.button{transition:none;scroll-behavior:auto}}
@media print{.skip-link{display:none!important}}
