/* UMOSTEK v8.3 connected experience polish */
:root{
  --experience-red:#a3121d;
  --experience-red-deep:#650911;
  --experience-black:#0d1116;
  --experience-graphite:#1a2028;
  --experience-silver:#dfe4e9;
  --experience-soft:#f5f7f9;
  --experience-white:#fff;
  --experience-line:rgba(109,122,135,.22);
  --experience-shadow:0 28px 80px rgba(18,23,29,.14);
  --experience-shadow-soft:0 16px 42px rgba(18,23,29,.09);
}
html{background:#eef2f5}
body{overflow-x:hidden}
body,button,input,select,textarea{font-feature-settings:"kern" 1,"liga" 1}
:where(h1,h2,h3,p,span,strong,small,a,td,th,dd){overflow-wrap:anywhere}
:focus-visible{outline:3px solid rgba(183,25,38,.35);outline-offset:3px}

/* Public frame */
.public-site{background:
  radial-gradient(circle at 8% 10%,rgba(163,18,29,.08),transparent 26rem),
  radial-gradient(circle at 94% 20%,rgba(115,129,143,.12),transparent 30rem),
  linear-gradient(180deg,#fff 0,#f5f7f9 62%,#eef2f5 100%)}
.sales-site-header{min-height:82px;padding:8px clamp(18px,4vw,64px);border-bottom:1px solid rgba(101,116,130,.18);box-shadow:0 12px 40px rgba(17,22,28,.07)}
.sales-brand{width:164px;min-width:164px;height:62px}
.sales-brand img{height:72px}
.sales-site-header .site-nav a{position:relative}
.sales-site-header .site-nav a:after{content:"";position:absolute;left:10px;right:10px;bottom:5px;height:2px;border-radius:99px;background:var(--experience-red);transform:scaleX(0);transition:transform .2s ease}
.sales-site-header .site-nav a:hover:after{transform:scaleX(1)}
.header-account{padding:9px 12px;border-radius:10px;background:rgba(163,18,29,.06)}

/* Controlled inner-page hero: strong, never oversized */
.page-intro{position:relative;isolation:isolate;max-width:1500px;margin:30px auto 38px;padding:54px clamp(24px,5vw,74px);overflow:hidden;border:1px solid rgba(123,135,147,.24);border-radius:34px;background:
  linear-gradient(112deg,rgba(255,255,255,.97),rgba(245,247,249,.94) 58%,rgba(236,239,243,.96));
  box-shadow:var(--experience-shadow-soft)}
.page-intro:before{content:"";position:absolute;inset:0;z-index:-2;background-image:linear-gradient(rgba(104,117,128,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(104,117,128,.055) 1px,transparent 1px);background-size:40px 40px;mask-image:linear-gradient(90deg,#000,transparent 72%)}
.page-intro:after{content:"";position:absolute;right:-120px;top:-160px;z-index:-1;width:520px;height:520px;border-radius:50%;background:radial-gradient(circle,rgba(163,18,29,.18),rgba(163,18,29,.04) 45%,transparent 70%)}
.page-intro .eyebrow{font-size:.7rem;letter-spacing:.16em}
.page-intro h1{max-width:950px;margin:12px 0 15px;font-size:clamp(2.2rem,4vw,4.6rem);line-height:.98;letter-spacing:-.052em}
.page-intro p{max-width:920px;font-size:clamp(1rem,1.35vw,1.18rem);line-height:1.7}
.page-intro-family,.workspace-family-line,.sidebar-family{display:flex;flex-wrap:wrap;gap:8px}
.page-intro-family{margin-top:24px}
.page-intro-family span,.workspace-family-line span,.sidebar-family span{padding:7px 10px;border-radius:999px;border:1px solid rgba(119,132,145,.25);background:rgba(255,255,255,.76);font-size:.65rem;font-weight:850;letter-spacing:.04em;color:#4c5661}

/* Immersive access pages */
.page-client-sign-in main,.page-register main,.page-setup main{min-height:calc(100vh - 82px);display:grid;align-items:stretch}
.page-client-sign-in .site-footer,.page-register .site-footer,.page-setup .site-footer{margin-top:0}
.access-stage{position:relative;display:grid;grid-template-columns:minmax(0,1.13fr) minmax(440px,.87fr);gap:0;max-width:1520px;width:calc(100% - clamp(24px,5vw,80px));min-height:720px;margin:34px auto 64px;overflow:hidden;border:1px solid rgba(104,117,128,.24);border-radius:34px;background:#fff;box-shadow:var(--experience-shadow)}
.access-stage-visual{position:relative;isolation:isolate;display:flex;flex-direction:column;min-width:0;padding:46px clamp(30px,4vw,66px);overflow:hidden;color:#fff;background:
  radial-gradient(circle at 77% 38%,rgba(197,42,54,.38),transparent 28%),
  radial-gradient(circle at 15% 18%,rgba(255,255,255,.08),transparent 25%),
  linear-gradient(142deg,#080b0f 0,#151b22 53%,#36080d 100%)}
.access-stage-visual:before{content:"";position:absolute;inset:0;z-index:-2;background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);background-size:46px 46px;mask-image:linear-gradient(135deg,#000,transparent 85%)}
.access-stage-visual:after{content:"";position:absolute;right:-170px;bottom:-210px;z-index:-1;width:600px;height:600px;border:1px solid rgba(255,255,255,.1);border-radius:50%;box-shadow:0 0 0 50px rgba(255,255,255,.018),0 0 0 110px rgba(163,18,29,.04)}
.access-stage-authority{background:radial-gradient(circle at 74% 40%,rgba(207,49,62,.34),transparent 29%),linear-gradient(140deg,#07090c,#161c24 52%,#2e080c)}
.access-stage-brand{display:flex;align-items:center;gap:14px;width:max-content;max-width:100%;color:#fff}
.access-stage-brand img{width:auto;height:72px;max-width:220px;object-fit:contain;filter:drop-shadow(0 12px 20px rgba(0,0,0,.35))}
.access-stage-brand span{padding-left:14px;border-left:1px solid rgba(255,255,255,.18);color:#c6ced7;font-size:.7rem;font-weight:750;letter-spacing:.05em}
.access-welcome-copy{max-width:760px;margin:auto 0 34px;padding:48px 0 20px}
.access-kicker{display:inline-flex;align-items:center;gap:10px;color:#f08b94;font-size:.72rem;font-weight:900;letter-spacing:.17em;text-transform:uppercase}
.access-kicker:before{content:"";width:34px;height:3px;border-radius:99px;background:#dc3946;box-shadow:0 0 18px rgba(220,57,70,.62)}
.access-welcome-copy h1{margin:16px 0 18px;max-width:760px;font-size:clamp(2.4rem,4.6vw,5.25rem);line-height:.95;letter-spacing:-.06em}
.access-welcome-copy p{max-width:710px;margin:0;color:#cbd3dc;font-size:clamp(1rem,1.3vw,1.17rem);line-height:1.75}
.access-family-ribbon{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:auto}
.access-family-ribbon article{min-width:0;min-height:112px;padding:14px 12px;border:1px solid rgba(255,255,255,.14);border-radius:16px;background:linear-gradient(145deg,rgba(255,255,255,.1),rgba(255,255,255,.035));backdrop-filter:blur(12px);box-shadow:0 14px 30px rgba(0,0,0,.14)}
.access-family-ribbon img{width:100%;height:58px;object-fit:contain;filter:drop-shadow(0 6px 10px rgba(0,0,0,.22))}
.access-family-ribbon span{display:block;margin-top:7px;text-align:center;color:#c7d0d9;font-size:.63rem;font-weight:750}
.access-trust-bar{display:flex;flex-wrap:wrap;gap:9px;margin-top:18px}
.access-trust-bar span{padding:7px 10px;border-radius:999px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.12);color:#c6ced7;font-size:.63rem;font-weight:750}
.access-form-panel{display:flex;flex-direction:column;justify-content:center;min-width:0;padding:58px clamp(28px,4vw,64px);background:
  radial-gradient(circle at 100% 0,rgba(163,18,29,.07),transparent 22rem),
  linear-gradient(180deg,#fff,#f7f9fa)}
.access-form-head{max-width:560px;margin:0 auto 25px;width:100%}
.access-form-head>span{color:var(--experience-red);font-size:.7rem;font-weight:900;letter-spacing:.16em}
.access-form-head h2{margin:10px 0 10px;font-size:clamp(1.75rem,2.8vw,2.7rem);line-height:1.04;letter-spacing:-.045em;color:#12171d}
.access-form-head p{margin:0;color:#68727d;line-height:1.65}
.premium-auth-card{display:grid;grid-template-columns:1fr;gap:17px;max-width:560px;width:100%;margin:0 auto;padding:28px;border:1px solid rgba(112,126,139,.22);border-radius:22px;background:rgba(255,255,255,.94);box-shadow:0 18px 50px rgba(18,23,29,.09)}
.premium-auth-card .field{gap:8px}
.premium-auth-card .field>span:first-child{font-size:.74rem;letter-spacing:.02em;color:#28313a}
.premium-auth-card input,.premium-auth-card select{min-height:54px;border:1px solid #ccd3da;border-radius:13px;padding:0 15px;background:#fbfcfd;box-shadow:inset 0 1px 2px rgba(15,20,25,.03);transition:border-color .2s,box-shadow .2s,background .2s}
.premium-auth-card input:focus,.premium-auth-card select:focus{background:#fff;border-color:#a4141f;box-shadow:0 0 0 4px rgba(164,20,31,.09);outline:0}
.password-control{position:relative;display:block}
.password-control input{width:100%;padding-right:76px}
.password-control button{position:absolute;right:8px;top:50%;transform:translateY(-50%);min-width:58px;height:36px;border:0;border-radius:9px;background:#eceff2;color:#343d46;font-size:.7rem;font-weight:850}
.password-control button:hover{background:#e2e6ea;color:#8d111b}
.access-submit{min-height:54px;margin-top:2px;border-radius:13px;font-size:.88rem;box-shadow:0 13px 28px rgba(145,17,27,.2)}
.access-assistance{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0 0;border-top:1px solid #e5e9ed;color:#69737e;font-size:.75rem}
.access-assistance a{color:#98121c;font-weight:850}
.access-assistance.restricted{align-items:flex-start;flex-direction:column;gap:5px}
.access-form-note{margin:0;text-align:center;color:#8a949e;font-size:.66rem}
.registration-auth-card,.setup-auth-card{grid-template-columns:1fr 1fr;max-width:630px}
.registration-auth-card .access-submit,.registration-auth-card .access-assistance,.setup-auth-card .consent-card,.setup-auth-card .access-submit,.setup-auth-card .access-form-note{grid-column:1/-1}
.consent-card{padding:14px;border:1px solid #dfe4e8;border-radius:13px;background:#f7f9fa}

/* Public forms and content cards */
.form-shell,.auth-layout{max-width:1320px;gap:28px;margin:20px auto 80px}
.form-intro,.auth-copy{top:105px;border-radius:26px;background:
  radial-gradient(circle at 88% 15%,rgba(196,44,56,.22),transparent 18rem),
  linear-gradient(145deg,#0e1319,#242d37);box-shadow:var(--experience-shadow-soft)}
.form-grid,.auth-card{border-radius:22px;border-color:rgba(107,121,134,.22);box-shadow:var(--experience-shadow-soft)}
.setup-panel{max-width:1100px;margin:0 auto 80px;padding:36px;border:1px solid var(--experience-line);border-radius:28px;background:#fff;box-shadow:var(--experience-shadow-soft)}
.table-card,.panel,.editor-panel,.market-card,.price-card,.feature-card,.product-card,.three-column article,.role-grid article{border-color:rgba(109,123,136,.22);box-shadow:var(--experience-shadow-soft)}
.panel,.table-card,.editor-panel{position:relative}
.panel:before,.table-card:before,.editor-panel:before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,transparent,rgba(163,18,29,.68),transparent);opacity:.55;pointer-events:none}
.table-scroll{scrollbar-color:#aab2ba #edf0f3;scrollbar-width:thin}
table{border-collapse:separate;border-spacing:0}
thead th{background:linear-gradient(180deg,#f7f9fa,#edf1f4);color:#4d5863;font-size:.67rem;letter-spacing:.055em;text-transform:uppercase;white-space:nowrap}
tbody tr{transition:background .18s ease}
tbody tr:hover{background:#faf1f2}
td,th{padding:13px 15px}

/* Connected application shell */
.app-body{background:
  radial-gradient(circle at 85% 0,rgba(163,18,29,.07),transparent 34rem),
  linear-gradient(135deg,#eef2f5,#f8fafb 56%,#eef2f5)}
.app-layout{grid-template-columns:300px minmax(0,1fr);background:transparent}
.app-sidebar{z-index:5;width:300px;padding:20px 15px;background:rgba(255,255,255,.96);border-right:1px solid rgba(104,118,131,.19);box-shadow:12px 0 45px rgba(22,28,34,.05)}
.app-sidebar.private{background:
  radial-gradient(circle at 50% 0,rgba(184,31,43,.18),transparent 22rem),
  linear-gradient(180deg,#0b0f14,#171d25 58%,#0d1116)}
.app-brand{gap:13px;padding:2px 7px 20px}
.app-brand-emblem{display:grid;place-items:center;width:52px;height:52px;flex:0 0 52px;border:1px solid rgba(118,131,143,.28);border-radius:16px;background:linear-gradient(145deg,#fff,#eceff2);box-shadow:0 12px 26px rgba(17,22,28,.12)}
.app-sidebar.private .app-brand-emblem{border-color:rgba(255,255,255,.13);background:linear-gradient(145deg,rgba(255,255,255,.14),rgba(255,255,255,.04))}
.app-brand-logo{width:44px;height:44px}
.app-brand strong{font-size:.95rem;letter-spacing:.13em}
.app-brand span{font-size:.64rem}
.sidebar-home-status{display:flex;align-items:center;gap:10px;margin:15px 5px 8px;padding:13px;border:1px solid #e2e6ea;border-radius:14px;background:#f8fafb}
.app-sidebar.private .sidebar-home-status{border-color:rgba(255,255,255,.11);background:rgba(255,255,255,.045)}
.sidebar-home-status>i,.workspace-session-dot{width:9px;height:9px;flex:0 0 9px;border-radius:50%;background:#28a665;box-shadow:0 0 0 5px rgba(40,166,101,.11)}
.sidebar-home-status strong,.sidebar-home-status span{display:block}
.sidebar-home-status strong{font-size:.72rem}
.sidebar-home-status span{color:#77828c;font-size:.59rem}
.app-sidebar.private .sidebar-home-status span{color:#9ba5af}
.app-sidebar nav{gap:7px;padding:12px 0}
.app-sidebar details{border:1px solid transparent;border-radius:13px}
.app-sidebar details[open]{border-color:rgba(111,124,136,.12);background:rgba(239,242,245,.72)}
.app-sidebar.private details[open]{border-color:rgba(255,255,255,.08);background:rgba(255,255,255,.035)}
.app-sidebar summary{position:relative;padding:11px 12px;font-size:.66rem}
.app-sidebar summary:after{content:"+";position:absolute;right:12px;font-size:.85rem}
.app-sidebar details[open]>summary:after{content:"−"}
.app-sidebar details>div{gap:4px;padding:0 6px 9px}
.app-sidebar nav a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;padding:10px 11px;border-radius:10px;font-size:.78rem}
.app-sidebar nav a span{min-width:0}
.app-sidebar nav a i{font-style:normal;opacity:.45}
.app-sidebar nav a.active{box-shadow:inset 3px 0 var(--experience-red),0 8px 18px rgba(22,28,34,.05)}
.app-sidebar.private nav a.active{box-shadow:inset 3px 0 #d43b48,0 8px 18px rgba(0,0,0,.14)}
.sidebar-family{margin:10px 5px 14px}
.sidebar-family span{padding:5px 7px;font-size:.56rem;background:#f4f6f8}
.app-sidebar.private .sidebar-family span{color:#cbd2da;border-color:rgba(255,255,255,.1);background:rgba(255,255,255,.05)}
.sidebar-foot{grid-template-columns:1fr 1fr;gap:7px;padding:15px 5px 0}
.sidebar-foot a{padding:8px 9px;border-radius:8px;background:#f4f6f8;text-align:center;font-size:.65rem}
.app-sidebar.private .sidebar-foot a{background:rgba(255,255,255,.05)}
.workspace{padding:28px clamp(20px,3vw,52px) 72px}
.workspace-hero{position:relative;isolation:isolate;align-items:stretch;margin-bottom:24px;padding:30px 32px;overflow:hidden;border:1px solid rgba(109,123,136,.22);border-radius:26px;background:linear-gradient(115deg,rgba(255,255,255,.98),rgba(244,247,249,.96));box-shadow:var(--experience-shadow-soft)}
.workspace-hero:before{content:"";position:absolute;inset:0;z-index:-2;background-image:linear-gradient(rgba(111,124,136,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(111,124,136,.045) 1px,transparent 1px);background-size:34px 34px;mask-image:linear-gradient(90deg,#000,transparent 75%)}
.workspace-hero:after{content:"";position:absolute;right:-100px;top:-170px;z-index:-1;width:430px;height:430px;border-radius:50%;background:radial-gradient(circle,rgba(163,18,29,.16),transparent 66%)}
.private-workspace-head{color:#fff;border-color:rgba(255,255,255,.08);background:
  radial-gradient(circle at 86% 22%,rgba(205,49,61,.26),transparent 21rem),
  linear-gradient(132deg,#0d1218,#242d37)}
.private-workspace-head:before{background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px)}
.workspace-title-group{min-width:0;max-width:920px}
.workspace-brandline{display:flex;align-items:center;gap:10px;color:#9b1721;font-size:.65rem;font-weight:900;letter-spacing:.13em}
.workspace-brandline img{width:30px;height:30px;object-fit:contain}
.private-workspace-head .workspace-brandline{color:#ef858e}
.workspace-head h1{margin:9px 0 8px;font-size:clamp(2rem,3.2vw,3.55rem);line-height:.98}
.workspace-head p{max-width:920px;line-height:1.62;color:#65707b}
.private-workspace-head p{color:#c8d0d8}
.workspace-family-line{margin-top:17px}
.private-workspace-head .workspace-family-line span{color:#d4dbe2;border-color:rgba(255,255,255,.12);background:rgba(255,255,255,.055)}
.workspace-user-card{display:flex;align-items:center;gap:12px;align-self:flex-start;min-width:230px;max-width:320px;padding:14px 16px;border:1px solid rgba(110,123,136,.22);border-radius:16px;background:rgba(255,255,255,.86);box-shadow:0 12px 30px rgba(20,25,31,.08);backdrop-filter:blur(12px)}
.workspace-user-card.staff{border-color:rgba(255,255,255,.12);background:rgba(255,255,255,.07)}
.workspace-user-card strong,.workspace-user-card small{display:block}
.workspace-user-card strong{font-size:.82rem}
.workspace-user-card small{margin-top:3px;color:#73808b;font-size:.62rem;line-height:1.35}
.workspace-user-card.staff small{color:#bec7d0}
.workspace-compact-head{position:relative;align-items:center;margin-bottom:14px;padding:13px 16px;border:1px solid #d8dee4;border-radius:12px;background:#fff;box-shadow:0 4px 14px rgba(20,29,38,.045)}
.workspace-compact-head.private-workspace-head{color:#17212a;border-color:#d8dee4;background:#fff}
.workspace-compact-head .workspace-title-group{display:grid;grid-template-columns:auto 1fr;align-items:center;column-gap:12px;max-width:none}
.workspace-compact-head .workspace-brandline{grid-row:1/3;align-self:center}.workspace-compact-head .workspace-brandline img{width:26px;height:26px}.workspace-compact-head .workspace-brandline span{display:none}
.workspace-compact-head h1{grid-column:2;margin:0;font-size:1.18rem;line-height:1.2;letter-spacing:-.015em}
.workspace-compact-head .workspace-user-card{min-width:210px;padding:8px 11px;border-radius:9px;box-shadow:none}
.workspace-compact-head.private-workspace-head .workspace-user-card.staff{color:#17212a;border-color:#d9dfe4;background:#f6f8f9}.workspace-compact-head.private-workspace-head .workspace-user-card small{color:#6f7a84}
.workspace-compact-head:before,.workspace-compact-head:after{display:none}
.app-layout.private-shell,.app-layout.portal-shell{grid-template-columns:232px minmax(0,1fr)}.private-shell .app-sidebar,.portal-shell .app-sidebar{width:232px;padding:14px 11px}.private-shell .app-sidebar nav,.portal-shell .app-sidebar nav{gap:2px;padding:12px 0}.private-shell .app-sidebar nav a,.portal-shell .app-sidebar nav a{padding:8px 10px;font-size:.72rem}.private-shell .app-sidebar summary,.portal-shell .app-sidebar summary{padding:8px 10px;font-size:.6rem}.private-shell .workspace,.portal-shell .workspace{padding:16px 18px 42px}
.private-shell .record-hero,.portal-shell .record-hero,.private-shell .account-security-hero,.portal-shell .account-security-hero,.private-shell .site-management-summary,.portal-shell .site-management-summary,.private-shell .workforce-admin-hero,.portal-shell .workforce-portal-hero{margin-bottom:12px;padding:13px 15px;border-radius:10px;box-shadow:none}.private-shell .record-hero h2,.portal-shell .record-hero h2,.private-shell .account-security-hero h2,.portal-shell .account-security-hero h2,.private-shell .site-management-summary h2,.portal-shell .site-management-summary h2,.private-shell .workforce-admin-hero h2,.portal-shell .workforce-portal-hero h2{margin:2px 0;font-size:1.04rem}.private-shell .record-hero p,.portal-shell .record-hero p,.private-shell .account-security-hero p,.portal-shell .account-security-hero p,.private-shell .site-management-summary p,.portal-shell .site-management-summary p,.private-shell .workforce-admin-hero p,.portal-shell .workforce-portal-hero p{display:none}
.workspace>.panel,.workspace>.records-panel,.workspace>.editor-panel,.workspace>.dashboard-grid,.workspace>.workspace-toolbar,.workspace>.detail-grid,.workspace>.sync-design-panel{animation:workspaceEnter .35s ease both}
@keyframes workspaceEnter{from{opacity:0;transform:translateY(8px)}}
.workspace .panel,.workspace .table-card,.workspace .editor-panel,.workspace-toolbar>div{border-radius:18px;background:rgba(255,255,255,.93);backdrop-filter:blur(8px)}
.workspace .panel-head{padding:20px 22px;background:linear-gradient(180deg,rgba(255,255,255,.94),rgba(246,248,250,.9))}
.workspace .metric-card,.workspace-toolbar>div{position:relative;overflow:hidden}
.workspace .metric-card:after,.workspace-toolbar>div:after{content:"";position:absolute;right:-24px;bottom:-32px;width:90px;height:90px;border-radius:50%;background:radial-gradient(circle,rgba(163,18,29,.13),transparent 70%)}
.records-panel{overflow:hidden;border-radius:18px}
.editor-panel>summary{padding:18px 22px;background:linear-gradient(105deg,#11171e,#303a45);letter-spacing:.01em}
.field input,.field select,.field textarea{border-radius:11px;border-color:#cbd2d9;background:#fbfcfd}
.field input:focus,.field select:focus,.field textarea:focus{outline:0;border-color:#9c1420;box-shadow:0 0 0 4px rgba(156,20,32,.08);background:#fff}

/* Private login remains unlisted but receives the same professional home experience */
.premium-restricted-login{background:#0a0e13}
.restricted-login-shell{min-height:100vh;display:grid;place-items:center;padding:28px}
.restricted-login-shell .access-stage{width:min(1480px,100%);margin:0;min-height:min(780px,calc(100vh - 56px))}

/* Responsive, overlap-proof behavior */
@media(max-width:1180px){
  .sales-site-header{grid-template-columns:auto auto 1fr}.sales-site-header .site-nav{position:fixed;left:18px;right:18px;top:88px;display:none;grid-template-columns:1fr 1fr;padding:15px;border:1px solid #dce1e6;border-radius:16px;background:#fff;box-shadow:0 22px 55px rgba(15,20,25,.18)}.sales-site-header .site-nav.open{display:grid}.sales-site-header .menu-toggle{display:inline-flex;justify-self:start}.sales-site-header .header-actions{justify-self:end}
  .access-stage{grid-template-columns:1fr;max-width:980px}.access-stage-visual{min-height:610px}.access-form-panel{padding-top:48px;padding-bottom:48px}
  .app-layout{grid-template-columns:260px minmax(0,1fr)}.app-sidebar{width:260px}.workspace-hero{flex-direction:column;align-items:flex-start}.workspace-user-card{max-width:100%}
}
@media(max-width:980px){
  .page-intro{width:calc(100% - 32px);margin:22px auto 30px;border-radius:26px;padding:42px 26px}
  .app-layout{grid-template-columns:1fr}.app-sidebar{position:relative;width:100%;height:auto;max-height:none}.app-sidebar nav{grid-template-columns:1fr 1fr}.app-sidebar details{min-width:0}.sidebar-family{display:none}.workspace{padding-top:20px}
  .access-stage{width:calc(100% - 32px);margin:22px auto 44px;border-radius:26px}.access-stage-visual{padding:38px 28px}.access-family-ribbon{grid-template-columns:1fr 1fr}.access-welcome-copy{padding-top:34px}.access-form-panel{padding:42px 24px}
}
@media(max-width:720px){
  .sales-site-header{min-height:72px;padding:6px 14px}.sales-brand{width:126px;min-width:126px;height:54px}.sales-brand img{height:58px}.sales-site-header .header-actions .header-account{display:none}.sales-site-header .button.small{padding:9px 11px;font-size:.7rem}.sales-site-header .site-nav{top:76px;grid-template-columns:1fr}
  .page-intro h1{font-size:clamp(2rem,11vw,3.35rem)}
  .access-stage{width:calc(100% - 20px);margin:10px auto 30px;border-radius:22px}.access-stage-visual{min-height:auto;padding:28px 20px}.access-stage-brand img{height:58px;max-width:170px}.access-stage-brand span{display:none}.access-welcome-copy{margin-bottom:22px;padding:30px 0 8px}.access-welcome-copy h1{font-size:clamp(2.15rem,12vw,3.4rem)}.access-welcome-copy p{font-size:.96rem}.access-family-ribbon article{min-height:96px;padding:10px}.access-family-ribbon img{height:48px}.access-trust-bar{display:none}.access-form-panel{padding:34px 16px}.premium-auth-card{padding:20px;border-radius:18px}.registration-auth-card,.setup-auth-card{grid-template-columns:1fr}.registration-auth-card .access-submit,.registration-auth-card .access-assistance,.setup-auth-card .consent-card,.setup-auth-card .access-submit,.setup-auth-card .access-form-note{grid-column:auto}.access-assistance{align-items:flex-start;flex-direction:column;gap:5px}
  .app-sidebar nav{grid-template-columns:1fr}.workspace{padding:14px 10px 48px}.workspace-hero{padding:23px 18px;border-radius:20px}.workspace-head h1{font-size:clamp(1.9rem,9vw,2.8rem)}.workspace-family-line{display:none}.workspace-user-card{min-width:0;width:100%}.sidebar-foot{grid-template-columns:1fr 1fr}
  .dashboard-grid,.dashboard-grid.three,.metric-grid,.metric-grid.six,.workspace-toolbar,.detail-grid,.settings-grid{grid-template-columns:1fr!important}.panel-head{align-items:flex-start;flex-direction:column}.records-panel table{min-width:680px}
}
@media(max-width:460px){
  .sales-site-header .button.small{display:none}.sales-site-header{grid-template-columns:auto auto 1fr}.sales-site-header .menu-toggle{justify-self:end}.access-family-ribbon{grid-template-columns:1fr 1fr;gap:7px}.access-family-ribbon article{border-radius:12px}.access-form-head h2{font-size:1.75rem}.premium-auth-card input{min-height:50px}.sidebar-foot{grid-template-columns:1fr}.restricted-login-shell{padding:8px}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* Refined responsive menu control */
@media(max-width:1180px){
  .sales-site-header .menu-toggle{position:relative;display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #d9dee4;border-radius:12px;background:#fff;color:#151a20;box-shadow:0 8px 20px rgba(17,22,28,.07)}
  .sales-site-header .menu-toggle span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .sales-site-header .menu-toggle i,.sales-site-header .menu-toggle:before{content:"";display:block;width:19px;height:2px;border-radius:99px;background:#1a2027;transition:transform .2s ease,opacity .2s ease}
  .sales-site-header .menu-toggle{grid-template-rows:repeat(3,2px);gap:4px}
  .sales-site-header .menu-toggle[aria-expanded="true"]:before{transform:translateY(6px) rotate(45deg)}
  .sales-site-header .menu-toggle[aria-expanded="true"] i:first-of-type{opacity:0}
  .sales-site-header .menu-toggle[aria-expanded="true"] i:last-of-type{transform:translateY(-6px) rotate(-45deg)}
}

/* UMOSTEK v8.4 workforce identity and umosSECURITY connected experience */
.workforce-empty-state,
.workforce-portal-hero,
.workforce-admin-hero,
.workforce-secret-panel,
.workforce-privacy-banner,
.workforce-safety-grid article,
.workforce-record-section,
.workforce-connection-contract{
  min-width:0;
  overflow:hidden;
  border:1px solid rgba(110,122,135,.22);
  box-shadow:var(--experience-shadow-soft);
}
.workforce-product-mark{display:flex;align-items:center;min-width:0;margin:0 0 18px}
.workforce-product-mark img{display:block;width:auto;max-width:min(100%,310px);height:76px;object-fit:contain;object-position:left center;filter:drop-shadow(0 14px 25px rgba(0,0,0,.18))}
.workforce-empty-state{position:relative;isolation:isolate;max-width:920px;margin:28px auto;padding:clamp(32px,6vw,72px);border-radius:30px;background:linear-gradient(140deg,#fff,#f4f6f8);text-align:center}
.workforce-empty-state:after{content:"";position:absolute;z-index:-1;right:-100px;top:-110px;width:330px;height:330px;border-radius:50%;background:radial-gradient(circle,rgba(163,18,29,.16),transparent 68%)}
.workforce-empty-brand{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;color:#68727d;font-size:.72rem;font-weight:900;letter-spacing:.12em}
.workforce-empty-brand img{width:82px;height:82px;object-fit:contain}
.workforce-empty-state h2{margin:22px auto 12px;max-width:720px;font-size:clamp(1.75rem,3vw,3rem);line-height:1.04;letter-spacing:-.035em}
.workforce-empty-state p{max-width:720px;margin:0 auto 26px;color:#5f6974;line-height:1.75}

.workforce-portal-hero,.workforce-admin-hero{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(290px,.75fr);gap:clamp(24px,4vw,54px);align-items:center;margin:0 0 24px;padding:clamp(28px,4vw,52px);border-radius:30px;background:linear-gradient(137deg,#080b0f 0,#171d24 58%,#3a080e 100%);color:#fff}
.workforce-portal-hero:before,.workforce-admin-hero:before{content:"";position:absolute;inset:0;z-index:-2;background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);background-size:42px 42px;mask-image:linear-gradient(110deg,#000,transparent 88%)}
.workforce-portal-hero:after,.workforce-admin-hero:after{content:"";position:absolute;right:-110px;bottom:-180px;z-index:-1;width:430px;height:430px;border-radius:50%;border:1px solid rgba(255,255,255,.08);box-shadow:0 0 0 52px rgba(255,255,255,.018),0 0 0 108px rgba(163,18,29,.035)}
.workforce-portal-hero .eyebrow,.workforce-admin-hero .eyebrow{color:#f18e97}
.workforce-portal-hero h2,.workforce-admin-hero h2{max-width:820px;margin:10px 0 14px;color:#fff;font-size:clamp(2rem,3.5vw,4rem);line-height:1;letter-spacing:-.05em}
.workforce-portal-hero p,.workforce-admin-hero p{max-width:820px;margin:0;color:#cbd3dc;font-size:clamp(.98rem,1.25vw,1.12rem);line-height:1.75}
.workforce-portal-hero dl,.workforce-secret-panel dl{display:grid;gap:10px;margin:0}
.workforce-portal-hero dl>div,.workforce-secret-panel dl>div{min-width:0;padding:13px 15px;border:1px solid rgba(255,255,255,.12);border-radius:14px;background:rgba(255,255,255,.065);backdrop-filter:blur(8px)}
.workforce-portal-hero dt,.workforce-secret-panel dt{margin:0 0 4px;color:#aeb8c3;font-size:.64rem;font-weight:900;letter-spacing:.1em;text-transform:uppercase}
.workforce-portal-hero dd,.workforce-secret-panel dd{margin:0;color:#fff;font-weight:800;overflow-wrap:anywhere}
.workforce-connection-contract{display:flex;flex-direction:column;gap:9px;padding:22px;border-color:rgba(255,255,255,.13);border-radius:20px;background:rgba(255,255,255,.075);backdrop-filter:blur(12px)}
.workforce-connection-contract b{font-size:1rem;color:#fff}
.workforce-connection-contract span{color:#cbd3dc;line-height:1.55}
.workforce-connection-contract code{display:block;max-width:100%;padding:10px 12px;border-radius:10px;background:rgba(0,0,0,.32);color:#ffb2b8;white-space:normal;overflow-wrap:anywhere}

.workforce-employer-selector{display:flex;justify-content:flex-end;margin:-4px 0 18px}
.workforce-employer-selector label{display:grid;grid-template-columns:auto minmax(220px,420px);gap:12px;align-items:center;max-width:100%;font-weight:850;color:#313942}
.workforce-employer-selector label>span{font-size:.75rem;letter-spacing:.06em;text-transform:uppercase}
.workforce-employer-selector select{width:100%;min-width:0;border:1px solid #d5dbe1;border-radius:13px;background:#fff;box-shadow:0 9px 24px rgba(17,22,28,.06)}
.workforce-privacy-banner{display:grid;grid-template-columns:auto minmax(0,1fr);gap:16px;align-items:center;margin:0 0 22px;padding:17px 20px;border-left:5px solid var(--experience-red);border-radius:16px;background:linear-gradient(90deg,#fff,#f6f8fa);color:#3f4852}
.workforce-privacy-banner b{white-space:nowrap;color:#171c22}
.workforce-privacy-banner span{line-height:1.55}
.workforce-record-stack{display:grid;gap:15px}
.workforce-record-section{border-radius:20px;background:#fff}
.workforce-record-section>summary{display:flex;align-items:center;justify-content:space-between;gap:20px;min-width:0;padding:20px 22px;cursor:pointer;list-style:none}
.workforce-record-section>summary::-webkit-details-marker{display:none}
.workforce-record-section>summary span{display:grid;gap:3px;min-width:0}
.workforce-record-section>summary b{font-size:1.02rem;color:#151a20}
.workforce-record-section>summary small{color:#6d7782;line-height:1.4}
.workforce-record-section>summary em{display:grid;place-items:center;flex:0 0 auto;width:36px;height:36px;border-radius:12px;background:#f1f3f5;color:var(--experience-red);font-style:normal;font-weight:900}
.workforce-record-section[open]>summary{border-bottom:1px solid rgba(110,122,135,.18);background:linear-gradient(90deg,#fff,#fafbfc)}
.workforce-record-body{min-width:0;padding:6px 10px 14px}
.workforce-record-body .records-panel{margin:0;box-shadow:none;border:0}
.workforce-bottom-grid{margin-top:22px;align-items:start}
.workforce-bottom-grid>section{min-width:0}
.workforce-request-panel{margin-top:22px}

.workforce-secret-panel{margin:0 0 24px;padding:clamp(24px,4vw,42px);border-color:rgba(176,18,30,.34);border-radius:24px;background:linear-gradient(135deg,#23070a,#650911);color:#fff}
.workforce-secret-panel .eyebrow{color:#ffabb2}
.workforce-secret-panel h2{margin:8px 0 10px;color:#fff;font-size:clamp(1.55rem,2.6vw,2.5rem)}
.workforce-secret-panel p{max-width:820px;color:#f0c9cd;line-height:1.65}
.workforce-secret-panel dl{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:20px}
.workforce-secret-panel .secret-value{user-select:all}
.workforce-metrics{margin:0 0 22px}
.workforce-admin-forms{align-items:start;margin-bottom:22px}
.workforce-admin-forms>section{min-width:0}
.workforce-admin-forms .editor-panel{margin:0}
.workforce-safety-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 22px}
.workforce-safety-grid article{display:grid;gap:8px;padding:20px;border-radius:18px;background:linear-gradient(145deg,#fff,#f4f6f8)}
.workforce-safety-grid b{color:#191f26}
.workforce-safety-grid span{color:#66717c;font-size:.88rem;line-height:1.55}
.workforce-admin-records{display:grid;gap:20px;min-width:0}
.workforce-admin-records .records-panel{min-width:0}

/* Dense data must scroll inside its own card, never outside the page. */
.workforce-record-body .table-wrap,
.workforce-admin-records .table-wrap,
.workforce-bottom-grid .table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}
.workforce-record-body table,
.workforce-admin-records table,
.workforce-bottom-grid table{min-width:760px}

@media(max-width:1080px){
  .workforce-portal-hero,.workforce-admin-hero{grid-template-columns:1fr}
  .workforce-portal-hero dl{grid-template-columns:repeat(2,minmax(0,1fr))}
  .workforce-secret-panel dl{grid-template-columns:1fr}
  .workforce-safety-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:720px){
  .workforce-portal-hero,.workforce-admin-hero{padding:26px 20px;border-radius:22px}
  .workforce-product-mark img{height:58px;max-width:245px}
  .workforce-portal-hero h2,.workforce-admin-hero h2{font-size:clamp(1.85rem,9vw,2.7rem)}
  .workforce-portal-hero dl{grid-template-columns:1fr}
  .workforce-employer-selector{justify-content:stretch}
  .workforce-employer-selector label{grid-template-columns:1fr;width:100%}
  .workforce-privacy-banner{grid-template-columns:1fr;gap:7px}
  .workforce-privacy-banner b{white-space:normal}
  .workforce-record-section>summary{padding:17px 16px}
  .workforce-record-body{padding-inline:2px}
  .workforce-safety-grid{grid-template-columns:1fr}
  .workforce-empty-state{margin-inline:0;padding:34px 22px;border-radius:22px}
}

/* Workforce record readability: preserve full words and keep wide audit data inside its own scroll region. */
.workforce-bottom-grid{grid-template-columns:1fr!important}
.workforce-record-body th,.workforce-record-body td,
.workforce-admin-records th,.workforce-admin-records td,
.workforce-bottom-grid th,.workforce-bottom-grid td{
  overflow-wrap:normal;
  word-break:normal;
  white-space:nowrap
}
.workforce-record-body .table-wrap,
.workforce-admin-records .table-wrap,
.workforce-bottom-grid .table-wrap{
  scrollbar-gutter:stable;
  padding-bottom:3px
}
@media(max-width:980px){.app-layout.private-shell,.app-layout.portal-shell{grid-template-columns:1fr}.private-shell .app-sidebar,.portal-shell .app-sidebar{position:relative;width:100%;height:auto}.private-shell .workspace,.portal-shell .workspace{padding:12px 10px 36px}}
@media(max-width:620px){.workspace-compact-head{align-items:flex-start;flex-direction:column}.workspace-compact-head .workspace-user-card{width:100%;min-width:0}.private-shell .workspace,.portal-shell .workspace{padding-inline:8px}}
