:root{font-family:Inter,system-ui,Segoe UI,sans-serif;color:#1b2a40;background:#f3f6fb}*{box-sizing:border-box}body{margin:0}a{color:inherit}.shell{display:flex;min-height:100vh}aside{width:254px;background:#0a2038;color:#d7e6f6;padding:26px 18px;display:flex;flex-direction:column;flex-shrink:0}.brand{font-size:19px;font-weight:850;letter-spacing:.5px;color:#fff}.brand span{color:#5bd0c4}.side-label{font-size:10px;letter-spacing:1.8px;color:#92b2ce;margin:35px 8px 16px}nav{display:grid;gap:5px}nav a{text-decoration:none;padding:12px 14px;border-radius:9px;color:#b7cde0;font-size:14px}nav a:hover,nav a.active{background:#173c5b;color:#fff}.side-bottom{margin-top:auto;padding:22px 12px 0;border-top:1px solid #29445b;font-weight:650}.side-bottom small,.side-bottom a{display:block;margin-top:8px;font-size:12px;color:#9bb9d0;font-weight:400}main{flex:1;min-width:0;padding:32px 42px}header{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}header small{color:#8b98a9;letter-spacing:1px;font-size:11px}h1{font-size:29px;margin:8px 0}h2{font-size:18px;margin:0 0 15px}.avatar{width:42px;height:42px;border-radius:50%;background:#d9e9f5;display:grid;place-items:center;font-weight:800}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:16px;margin-bottom:22px}.card,.panel{background:#fff;border:1px solid #e2e9f0;border-radius:15px;padding:23px;box-shadow:0 3px 14px #0b294006}.card small{color:#748599;display:block}.card strong{display:block;font-size:34px;margin-top:14px;color:#103454}.panel{margin:0 0 20px}p{line-height:1.65;color:#65768a}label{display:block;font-size:13px;font-weight:650;margin:14px 0}input,textarea{display:block;width:100%;margin-top:8px;border:1px solid #cbd6e3;border-radius:8px;padding:12px;font:inherit}button,.button{display:inline-block;border:0;background:#0c607c;color:white;border-radius:8px;padding:12px 18px;text-decoration:none;font-weight:650;cursor:pointer}table{width:100%;border-collapse:collapse;font-size:14px}td,th{text-align:left;border-bottom:1px solid #e6edf4;padding:12px}th{color:#60758a}.error{color:#b42318}.login{display:grid;place-items:center;min-height:100vh;background:linear-gradient(130deg,#071c34,#144866)}.login-card{background:white;border-radius:18px;padding:40px;width:min(440px,92vw)}.login-card .brand{color:#123351}.login-card h1{margin-top:34px}@media(max-width:750px){.shell{display:block}aside{width:auto;padding:18px}nav{display:flex;overflow:auto}nav a{white-space:nowrap}.side-label,.side-bottom{display:none}main{padding:22px}header{margin-bottom:18px}}

/* Owner administration v2 */
nav a{display:flex;align-items:center;gap:11px}.nav-dot{width:6px;height:6px;background:#5c849f;border-radius:50%;flex-shrink:0}nav a.active .nav-dot{background:#63d4c8}.eyebrow{font-size:11px;color:#72879a;letter-spacing:1.2px;margin:-10px 0 20px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:20px}.section-head p{margin:4px 0 12px}.two-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.table-wrap{overflow-x:auto}.pill{background:#edf5f8;color:#215a70;padding:5px 9px;border-radius:20px;font-size:12px}.preview-banner{padding:15px 18px;background:#dff3ef;color:#176b61;border-radius:10px;font-weight:750;letter-spacing:.5px;margin-bottom:20px}.notice{background:#e6f6ed;color:#126b42;padding:12px 15px;border-radius:8px}.notice.error{background:#fff0f0;color:#b42318}.inline-form{display:grid;grid-template-columns:1fr 1fr auto;gap:16px;align-items:end}.inline-form button{margin-bottom:14px}.setting-row{display:flex;gap:16px;align-items:end;border-top:1px solid #e6edf4}.setting-row label{flex:1}.setting-row button{margin-bottom:14px}.compact-form{display:inline}.button-secondary{background:#e9f2f8;color:#13425b;padding:8px 12px}select{display:block;width:100%;margin-top:8px;border:1px solid #cbd6e3;border-radius:8px;padding:12px;background:white;font:inherit}.card strong{font-variant-numeric:tabular-nums}@media(max-width:900px){.two-cols,.inline-form{grid-template-columns:1fr}.section-head{display:block}}
.customer-hero{display:flex;align-items:center;justify-content:space-between;gap:25px;background:linear-gradient(115deg,#eff8fb,#f7fafc);border:1px solid #dceaf1;border-radius:13px;padding:24px;margin-bottom:24px}.customer-hero h2{font-size:23px;margin:5px 0}.customer-hero p{margin:0}.customer-hero small,.customer-number small{font-size:11px;letter-spacing:1.2px;color:#52718a}.customer-number{min-width:200px;background:white;border:1px solid #d7e6ef;border-radius:12px;padding:16px}.customer-number strong{display:block;color:#0d4b6a;font-size:19px;margin-top:9px}.customer-section{border-top:1px solid #e3ebf3;padding:22px 0}.customer-section h3{font-size:16px;margin:0 0 13px;color:#153956}.customer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 22px}.customer-grid label{margin:9px 0}.customer-section input,.customer-section select,.customer-section textarea{margin-top:6px}.module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.module-check{display:flex;align-items:center;gap:9px;border:1px solid #dfe9f0;padding:12px;border-radius:9px;margin:0;font-weight:500}.module-check input{width:auto;margin:0}.customer-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:18px}.customer-actions small,.muted{color:#687f91}.customer-quicklinks{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:20px}@media(max-width:850px){.customer-hero{display:block}.customer-number{margin-top:18px}.customer-grid,.module-grid{grid-template-columns:1fr}}
/* HSEQ Nexus Design v4 – shared owner/customer design system */
:root{font-family:Inter,'Segoe UI',system-ui,sans-serif;color:#102b46;background:#f1f6fb;--navy:#09243b;--teal:#087e98;--line:#dae6f0;--muted:#627b94}html,body{height:100%;overflow:hidden}body{background:#f1f6fb}.shell{height:100dvh;min-height:0;overflow:hidden}aside{height:100dvh;position:relative;width:254px;overflow-y:auto;background:linear-gradient(170deg,#071e33 0%,#11334c 63%,#061c30 100%);padding:30px 17px 20px;box-shadow:4px 0 22px #0a2d4810;z-index:15}.brand{padding:0 5px;font-size:20px;white-space:nowrap}.side-label{margin-top:44px;margin-bottom:18px;font-weight:750}nav{gap:7px}nav a{font-size:14px;min-height:46px;padding:11px 13px;border-radius:9px;transition:background .18s}nav a:hover{background:#17435b}nav a.active{background:linear-gradient(95deg,#125b73,#1a536a);box-shadow:inset 3px 0 #4de0dc;color:#fff}.nav-icon{font-size:19px;display:inline-flex;align-items:center;justify-content:center;width:23px;min-width:23px;color:#bdd9ea}.side-bottom{padding:18px 6px 0;margin-top:auto;font-size:13px}.side-bottom label{color:#e0eff9}.side-bottom select{font-size:13px;padding:10px}.owner-identity{display:flex;align-items:center;gap:10px;padding-top:15px;border-top:1px solid #2d5268;margin-top:14px}.owner-identity small{margin-top:2px}.mini-avatar,.avatar{width:37px;height:37px;min-width:37px;border-radius:50%;display:grid;place-items:center;background:#0c95ae;color:#fff;font-size:14px;font-weight:800}.avatar{background:#dcecf6;color:#153c5a}main{padding:0;display:flex;flex-direction:column;height:100dvh;min-height:0;background:radial-gradient(ellipse at 85% 0%,#e7f2f8 0%,#f1f6fb 50%);overflow:hidden}.topbar{height:70px;min-height:70px;background:#fff;box-shadow:0 2px 13px #0d3d6010;border-bottom:1px solid #e1ebf3;display:flex;align-items:center;gap:20px;padding:0 32px;z-index:3}.global-search{display:flex;align-items:center;gap:10px;background:#f0f5f9;border:1px solid #e8eff4;border-radius:24px;padding:0 17px;width:min(540px,55vw);height:42px}.global-search span{font-size:25px;color:#59748c}.global-search input{border:0;outline:0;background:transparent;margin:0;padding:0;box-shadow:none;font-size:13px}.topbar-spacer{flex:1}.topbar-role{font-size:11px;letter-spacing:1.1px;color:#748ca1;font-weight:750}.mobile-toggle{display:none}.page-scroll{flex:1;min-height:0;overflow:auto;padding:30px 35px 65px;scrollbar-color:#bfd0df transparent}header{margin:0 0 24px;align-items:flex-start}header small{color:#67849d;font-size:11px}h1{font-size:29px;font-weight:800;color:#0b2946;letter-spacing:-.6px}h2{font-size:19px;color:#0e2b48;letter-spacing:-.25px}.eyebrow{font-size:10px;letter-spacing:1.6px;font-weight:750;margin:0 0 18px;color:#6b89a1}.cards{grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:15px}.card,.panel{border:1px solid #e0eaf2;border-radius:16px;box-shadow:0 8px 25px #133e5c08;background:#fff}.card{position:relative;min-height:132px;padding:22px}.card small{color:#627d96;font-size:12px;padding-right:42px}.card strong{font-size:31px;color:#0b2e4d;margin-top:14px}.kpi-icon{position:absolute;right:19px;top:18px;width:39px;height:39px;border-radius:12px;background:#e7f2ff;color:#1471b2;display:grid;place-items:center;font-size:22px}.card:nth-child(2) .kpi-icon{background:#e5f8ee;color:#148a52}.card:nth-child(3) .kpi-icon{background:#f0eaff;color:#7654bc}.card:nth-child(4) .kpi-icon{background:#e5f5fb;color:#0787a8}.card:nth-child(5) .kpi-icon{background:#fff0e4;color:#e58c31}.panel{padding:24px;margin-bottom:19px}.section-head{margin-bottom:13px}.section-head h2{margin-bottom:8px}.section-head p{margin-top:0}.button,button[type=submit]{background:linear-gradient(135deg,#0b7590,#078aa0);border-radius:8px;box-shadow:0 4px 10px #057b991a}.button:hover,button[type=submit]:hover{filter:brightness(1.07)}.table-wrap{border-radius:10px;overflow:auto}table{font-size:13px}th{background:#f3f7fa;font-size:12px;color:#4f6d86;font-weight:750}td,th{padding:15px 14px}tbody tr:hover{background:#f8fbfe}tbody tr[hidden]{display:none}.table-action{display:inline-block;border:1px solid #d4e4ef;border-radius:7px;padding:8px 11px;text-decoration:none;font-weight:650;color:#194e6c;white-space:nowrap}.table-action:hover{background:#e9f5f9}.pill.status-pill{background:#dff7e9;color:#17784b;font-weight:700}.customer-hero{background:linear-gradient(105deg,#eef8fe,#f8fbff);border-radius:14px;padding:24px}.customer-hero h2{font-size:23px}.customer-number{box-shadow:0 5px 15px #153f5d08}.customer-section{padding:25px 0}.customer-section h3{font-size:16px}.customer-grid{gap:2px 22px}.customer-grid label{font-size:12px}.customer-grid input,.customer-grid select{min-height:42px;padding:10px 12px;border-radius:8px}.customer-grid input:focus,.customer-grid select:focus,textarea:focus{outline:2px solid #84cadb;outline-offset:1px}.form-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:22px 0 6px;padding:13px 15px;background:#f4f8fb;border-radius:12px}.form-steps span{color:#7189a1;font-size:12px;font-weight:700}.form-steps .step-current{color:#087c96}.module-check{background:#fcfdff}.table-heading{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-bottom:13px}.table-heading h2{margin:0}.table-heading .muted{font-size:12px}.login{overflow:auto}
@media(max-width:1050px){.topbar{padding:0 20px}.page-scroll{padding:25px 22px}.cards{grid-template-columns:repeat(auto-fit,minmax(155px,1fr))}}
@media(max-width:750px){html,body{overflow:hidden}.shell{display:flex}.shell aside{position:fixed;top:0;bottom:0;left:0;width:265px;height:100dvh;transform:translateX(-105%);transition:transform .2s;box-shadow:6px 0 25px #0002}.menu-open aside{transform:translateX(0)}.shell main{width:100%;height:100dvh}.mobile-toggle{display:block;background:transparent;color:#173b55;border:0;font-size:22px;padding:4px;box-shadow:none}.topbar{height:62px;min-height:62px;gap:10px;padding:0 14px}.global-search{width:auto;flex:1}.topbar-role{display:none}.page-scroll{padding:20px 14px 45px}header{margin-bottom:16px}.customer-grid,.module-grid,.two-cols{grid-template-columns:1fr}.form-steps{grid-template-columns:1fr}.table-heading{display:block}.section-head{display:block}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.card{padding:16px}.card strong{font-size:25px}.kpi-icon{position:static;margin-bottom:10px}.panel{padding:16px}}

/* HSEQ Nexus v5 customer directory and progressive customer registration */
.v5-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 24px}.v5-heading h2{font-size:30px;letter-spacing:-.8px;margin:0 0 8px}.v5-heading p,.v5-directory-head p,.v5-create-head p{margin:0;color:#688099;font-size:14px}.v5-overline{font-size:10px!important;letter-spacing:1.8px;font-weight:800;color:#168aa1!important;margin:0 0 10px!important}.v5-primary{border:0;border-radius:10px;background:#0a8196;color:#fff;padding:14px 20px;font-weight:750;cursor:pointer;box-shadow:0 6px 16px #0b809626;white-space:nowrap}.v5-primary:hover{background:#086d82}.v5-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}.v5-stat{background:#fff;border:1px solid #e0eaf3;border-radius:16px;min-height:132px;padding:21px 22px;position:relative;box-shadow:0 6px 20px #0c355409}.v5-stat small{display:block;color:#6c8298;font-size:13px}.v5-stat strong{display:block;font-size:32px;color:#0c2d4c;margin-top:20px}.v5-stat-icon{position:absolute;right:20px;top:18px;width:39px;height:39px;border-radius:11px;display:grid;place-items:center;font-size:20px;font-weight:750}.v5-stat-icon.blue{background:#e7f2ff;color:#246ab4}.v5-stat-icon.green{background:#e5f7ef;color:#16845b}.v5-stat-icon.orange{background:#fff0e2;color:#ca7c2b}.v5-stat-icon.purple{background:#f1ecff;color:#7254ae}.v5-directory,.v5-create{background:#fff;border:1px solid #dfeaf2;border-radius:17px;padding:26px;box-shadow:0 8px 26px #0c355409;margin-bottom:22px}.v5-directory-head{display:flex;justify-content:space-between;align-items:center}.v5-directory-head h3{font-size:19px;margin:0 0 6px}.v5-count{background:#eaf5f8;border-radius:8px;padding:7px 12px;color:#0c647c;font-weight:800}.v5-tools{display:flex;gap:12px;margin:24px 0 18px}.v5-search{margin:0;display:flex;align-items:center;gap:10px;background:#f7fafc;border:1px solid #dce8f1;border-radius:10px;padding:0 15px;flex:1;max-width:520px}.v5-search span{font-size:24px;color:#6e899d}.v5-search input{margin:0;background:transparent;border:0;outline:0;padding:13px 0;font-size:13px}.v5-tools select{margin:0;width:195px;font-size:13px;padding:10px}.v5-table th{padding:17px 14px;font-size:12px;text-transform:uppercase;letter-spacing:.5px;background:#f5f8fb}.v5-table td{padding:19px 14px}.v5-table tr:hover{background:#f7fbfd}.v5-company-icon{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#e6f3f7;color:#087b92;font-weight:800;margin-right:11px}.v5-number{color:#176a8a;font-weight:800}.v5-status{display:inline-block;padding:7px 11px;border-radius:100px;background:#f0f2f5;color:#536578;font-size:12px;font-weight:750}.v5-status.is-active{background:#e5f7ee;color:#177c4e}.v5-link{color:#08748b;font-weight:750;text-decoration:none}.v5-link:hover{text-decoration:underline}.v5-empty{padding:30px;text-align:center;color:#698095}.v5-create{scroll-margin-top:20px}.v5-create-head{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid #e4edf4;padding-bottom:22px;margin-bottom:20px}.v5-create-head h2{font-size:25px;margin:0 0 9px}.v5-close{border:1px solid #e2eaf0;background:#f5f8fa;color:#31516b;border-radius:9px;width:39px;height:39px;font-size:25px;cursor:pointer}.v5-create .customer-section{border:0;padding:10px 0 18px}.v5-create .customer-section[hidden],.v5-create .customer-hero[hidden],.v5-create[hidden]{display:none!important}.v5-create .customer-section h3{padding:0 0 16px;margin:0 0 8px;border-bottom:1px solid #e9eff4}.v5-wizard-actions{border-top:1px solid #e4edf4;display:flex;align-items:center;gap:18px;padding-top:23px;margin-top:10px}.v5-wizard-actions button[hidden]{display:none}.v5-quiet{background:#edf3f7;color:#17455e;box-shadow:none}.v5-wizard-actions #v5-progress{color:#8192a4;font-size:13px;margin-left:auto}.v5-create .customer-hero{margin-bottom:16px}.v5-create .form-steps{display:none}@media(max-width:1050px){.v5-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:750px){.v5-heading{align-items:stretch;flex-direction:column}.v5-heading h2{font-size:26px}.v5-stats{gap:10px}.v5-stat{padding:15px;min-height:112px}.v5-stat strong{font-size:27px}.v5-stat-icon{width:30px;height:30px;right:12px;top:12px}.v5-directory,.v5-create{padding:16px}.v5-tools{flex-direction:column}.v5-search{max-width:none}.v5-tools select{width:100%}.v5-table{min-width:680px}.v5-create-head h2{font-size:22px}}


/* HSEQ Nexus v5.1 – accessible, consistent customer wizard controls */
.v5-create-head{align-items:flex-start}
.v5-create-head .v5-close{appearance:none;display:inline-flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:40px;min-width:40px;min-height:40px;margin:0;padding:0;border:1px solid #dce6ee;border-radius:11px;background:#f6f9fb;color:#506b81;font-size:0;font-weight:400;line-height:1;box-shadow:none;transition:background .16s,border-color .16s,color .16s,transform .16s}
.v5-create-head .v5-close svg{width:18px;height:18px;display:block;pointer-events:none}
.v5-create-head .v5-close:hover{background:#e8f2f7;border-color:#bad5e1;color:#0b6077;filter:none}
.v5-create-head .v5-close:active{transform:scale(.96)}
.v5-create-head .v5-close:focus-visible{outline:3px solid #76cbd7;outline-offset:3px}
.v5-wizard-indicator{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 18px;padding:12px 14px;background:#f4f8fb;border:1px solid #e4edf4;border-radius:11px}
.v5-wizard-indicator span{font-size:12px;font-weight:700;color:#698399;padding:7px 11px;border-radius:8px}
.v5-wizard-indicator span.is-current{background:#dff2f5;color:#075c70}
.v5-wizard-indicator span.is-complete{color:#148168}
@media(max-width:750px){.v5-create-head .v5-close{flex-basis:40px}.v5-wizard-indicator{gap:3px;padding:8px}.v5-wizard-indicator span{padding:7px;font-size:11px}}

/* Localized close control */
.v5-create-head .v5-close{width:auto!important;min-width:100px!important;height:42px!important;padding:0 15px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;flex:0 0 auto!important;font-size:13px!important;font-weight:750!important;white-space:nowrap!important;line-height:1.2!important}
.v5-create-head .v5-close span:first-child{font-size:20px;line-height:1}
@media(max-width:750px){.v5-create-head .v5-close{min-width:82px!important}}

/* Workflow iteration style layer */
:root{font-family:Inter,system-ui,Segoe UI,sans-serif;color:#1b2a40;background:#f3f6fb}*{box-sizing:border-box}body{margin:0}a{color:inherit}.shell{display:flex;min-height:100vh}aside{width:254px;background:#0a2038;color:#d7e6f6;padding:26px 18px;display:flex;flex-direction:column;flex-shrink:0}.brand{font-size:19px;font-weight:850;letter-spacing:.5px;color:#fff}.brand span{color:#5bd0c4}.side-label{font-size:10px;letter-spacing:1.8px;color:#92b2ce;margin:35px 8px 16px}nav{display:grid;gap:5px}nav a{text-decoration:none;padding:12px 14px;border-radius:9px;color:#b7cde0;font-size:14px}nav a:hover,nav a.active{background:#173c5b;color:#fff}.side-bottom{margin-top:auto;padding:22px 12px 0;border-top:1px solid #29445b;font-weight:650}.side-bottom small,.side-bottom a{display:block;margin-top:8px;font-size:12px;color:#9bb9d0;font-weight:400}main{flex:1;min-width:0;padding:32px 42px}header{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}header small{color:#8b98a9;letter-spacing:1px;font-size:11px}h1{font-size:29px;margin:8px 0}h2{font-size:18px;margin:0 0 15px}.avatar{width:42px;height:42px;border-radius:50%;background:#d9e9f5;display:grid;place-items:center;font-weight:800}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:16px;margin-bottom:22px}.card,.panel{background:#fff;border:1px solid #e2e9f0;border-radius:15px;padding:23px;box-shadow:0 3px 14px #0b294006}.card small{color:#748599;display:block}.card strong{display:block;font-size:34px;margin-top:14px;color:#103454}.panel{margin:0 0 20px}p{line-height:1.65;color:#65768a}label{display:block;font-size:13px;font-weight:650;margin:14px 0}input,textarea{display:block;width:100%;margin-top:8px;border:1px solid #cbd6e3;border-radius:8px;padding:12px;font:inherit}button,.button{display:inline-block;border:0;background:#0c607c;color:white;border-radius:8px;padding:12px 18px;text-decoration:none;font-weight:650;cursor:pointer}table{width:100%;border-collapse:collapse;font-size:14px}td,th{text-align:left;border-bottom:1px solid #e6edf4;padding:12px}th{color:#60758a}.error{color:#b42318}.login{display:grid;place-items:center;min-height:100vh;background:linear-gradient(130deg,#071c34,#144866)}.login-card{background:white;border-radius:18px;padding:40px;width:min(440px,92vw)}.login-card .brand{color:#123351}.login-card h1{margin-top:34px}@media(max-width:750px){.shell{display:block}aside{width:auto;padding:18px}nav{display:flex;overflow:auto}nav a{white-space:nowrap}.side-label,.side-bottom{display:none}main{padding:22px}header{margin-bottom:18px}}

/* Owner administration v2 */
nav a{display:flex;align-items:center;gap:11px}.nav-dot{width:6px;height:6px;background:#5c849f;border-radius:50%;flex-shrink:0}nav a.active .nav-dot{background:#63d4c8}.eyebrow{font-size:11px;color:#72879a;letter-spacing:1.2px;margin:-10px 0 20px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:20px}.section-head p{margin:4px 0 12px}.two-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.table-wrap{overflow-x:auto}.pill{background:#edf5f8;color:#215a70;padding:5px 9px;border-radius:20px;font-size:12px}.preview-banner{padding:15px 18px;background:#dff3ef;color:#176b61;border-radius:10px;font-weight:750;letter-spacing:.5px;margin-bottom:20px}.notice{background:#e6f6ed;color:#126b42;padding:12px 15px;border-radius:8px}.notice.error{background:#fff0f0;color:#b42318}.inline-form{display:grid;grid-template-columns:1fr 1fr auto;gap:16px;align-items:end}.inline-form button{margin-bottom:14px}.setting-row{display:flex;gap:16px;align-items:end;border-top:1px solid #e6edf4}.setting-row label{flex:1}.setting-row button{margin-bottom:14px}.compact-form{display:inline}.button-secondary{background:#e9f2f8;color:#13425b;padding:8px 12px}select{display:block;width:100%;margin-top:8px;border:1px solid #cbd6e3;border-radius:8px;padding:12px;background:white;font:inherit}.card strong{font-variant-numeric:tabular-nums}@media(max-width:900px){.two-cols,.inline-form{grid-template-columns:1fr}.section-head{display:block}}
.customer-hero{display:flex;align-items:center;justify-content:space-between;gap:25px;background:linear-gradient(115deg,#eff8fb,#f7fafc);border:1px solid #dceaf1;border-radius:13px;padding:24px;margin-bottom:24px}.customer-hero h2{font-size:23px;margin:5px 0}.customer-hero p{margin:0}.customer-hero small,.customer-number small{font-size:11px;letter-spacing:1.2px;color:#52718a}.customer-number{min-width:200px;background:white;border:1px solid #d7e6ef;border-radius:12px;padding:16px}.customer-number strong{display:block;color:#0d4b6a;font-size:19px;margin-top:9px}.customer-section{border-top:1px solid #e3ebf3;padding:22px 0}.customer-section h3{font-size:16px;margin:0 0 13px;color:#153956}.customer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 22px}.customer-grid label{margin:9px 0}.customer-section input,.customer-section select,.customer-section textarea{margin-top:6px}.module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.module-check{display:flex;align-items:center;gap:9px;border:1px solid #dfe9f0;padding:12px;border-radius:9px;margin:0;font-weight:500}.module-check input{width:auto;margin:0}.customer-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:18px}.customer-actions small,.muted{color:#687f91}.customer-quicklinks{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:20px}@media(max-width:850px){.customer-hero{display:block}.customer-number{margin-top:18px}.customer-grid,.module-grid{grid-template-columns:1fr}}
/* HSEQ Nexus Design v4 – shared owner/customer design system */
:root{font-family:Inter,'Segoe UI',system-ui,sans-serif;color:#102b46;background:#f1f6fb;--navy:#09243b;--teal:#087e98;--line:#dae6f0;--muted:#627b94}html,body{height:100%;overflow:hidden}body{background:#f1f6fb}.shell{height:100dvh;min-height:0;overflow:hidden}aside{height:100dvh;position:relative;width:254px;overflow-y:auto;background:linear-gradient(170deg,#071e33 0%,#11334c 63%,#061c30 100%);padding:30px 17px 20px;box-shadow:4px 0 22px #0a2d4810;z-index:15}.brand{padding:0 5px;font-size:20px;white-space:nowrap}.side-label{margin-top:44px;margin-bottom:18px;font-weight:750}nav{gap:7px}nav a{font-size:14px;min-height:46px;padding:11px 13px;border-radius:9px;transition:background .18s}nav a:hover{background:#17435b}nav a.active{background:linear-gradient(95deg,#125b73,#1a536a);box-shadow:inset 3px 0 #4de0dc;color:#fff}.nav-icon{font-size:19px;display:inline-flex;align-items:center;justify-content:center;width:23px;min-width:23px;color:#bdd9ea}.side-bottom{padding:18px 6px 0;margin-top:auto;font-size:13px}.side-bottom label{color:#e0eff9}.side-bottom select{font-size:13px;padding:10px}.owner-identity{display:flex;align-items:center;gap:10px;padding-top:15px;border-top:1px solid #2d5268;margin-top:14px}.owner-identity small{margin-top:2px}.mini-avatar,.avatar{width:37px;height:37px;min-width:37px;border-radius:50%;display:grid;place-items:center;background:#0c95ae;color:#fff;font-size:14px;font-weight:800}.avatar{background:#dcecf6;color:#153c5a}main{padding:0;display:flex;flex-direction:column;height:100dvh;min-height:0;background:radial-gradient(ellipse at 85% 0%,#e7f2f8 0%,#f1f6fb 50%);overflow:hidden}.topbar{height:70px;min-height:70px;background:#fff;box-shadow:0 2px 13px #0d3d6010;border-bottom:1px solid #e1ebf3;display:flex;align-items:center;gap:20px;padding:0 32px;z-index:3}.global-search{display:flex;align-items:center;gap:10px;background:#f0f5f9;border:1px solid #e8eff4;border-radius:24px;padding:0 17px;width:min(540px,55vw);height:42px}.global-search span{font-size:25px;color:#59748c}.global-search input{border:0;outline:0;background:transparent;margin:0;padding:0;box-shadow:none;font-size:13px}.topbar-spacer{flex:1}.topbar-role{font-size:11px;letter-spacing:1.1px;color:#748ca1;font-weight:750}.mobile-toggle{display:none}.page-scroll{flex:1;min-height:0;overflow:auto;padding:30px 35px 65px;scrollbar-color:#bfd0df transparent}header{margin:0 0 24px;align-items:flex-start}header small{color:#67849d;font-size:11px}h1{font-size:29px;font-weight:800;color:#0b2946;letter-spacing:-.6px}h2{font-size:19px;color:#0e2b48;letter-spacing:-.25px}.eyebrow{font-size:10px;letter-spacing:1.6px;font-weight:750;margin:0 0 18px;color:#6b89a1}.cards{grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:15px}.card,.panel{border:1px solid #e0eaf2;border-radius:16px;box-shadow:0 8px 25px #133e5c08;background:#fff}.card{position:relative;min-height:132px;padding:22px}.card small{color:#627d96;font-size:12px;padding-right:42px}.card strong{font-size:31px;color:#0b2e4d;margin-top:14px}.kpi-icon{position:absolute;right:19px;top:18px;width:39px;height:39px;border-radius:12px;background:#e7f2ff;color:#1471b2;display:grid;place-items:center;font-size:22px}.card:nth-child(2) .kpi-icon{background:#e5f8ee;color:#148a52}.card:nth-child(3) .kpi-icon{background:#f0eaff;color:#7654bc}.card:nth-child(4) .kpi-icon{background:#e5f5fb;color:#0787a8}.card:nth-child(5) .kpi-icon{background:#fff0e4;color:#e58c31}.panel{padding:24px;margin-bottom:19px}.section-head{margin-bottom:13px}.section-head h2{margin-bottom:8px}.section-head p{margin-top:0}.button,button[type=submit]{background:linear-gradient(135deg,#0b7590,#078aa0);border-radius:8px;box-shadow:0 4px 10px #057b991a}.button:hover,button[type=submit]:hover{filter:brightness(1.07)}.table-wrap{border-radius:10px;overflow:auto}table{font-size:13px}th{background:#f3f7fa;font-size:12px;color:#4f6d86;font-weight:750}td,th{padding:15px 14px}tbody tr:hover{background:#f8fbfe}tbody tr[hidden]{display:none}.table-action{display:inline-block;border:1px solid #d4e4ef;border-radius:7px;padding:8px 11px;text-decoration:none;font-weight:650;color:#194e6c;white-space:nowrap}.table-action:hover{background:#e9f5f9}.pill.status-pill{background:#dff7e9;color:#17784b;font-weight:700}.customer-hero{background:linear-gradient(105deg,#eef8fe,#f8fbff);border-radius:14px;padding:24px}.customer-hero h2{font-size:23px}.customer-number{box-shadow:0 5px 15px #153f5d08}.customer-section{padding:25px 0}.customer-section h3{font-size:16px}.customer-grid{gap:2px 22px}.customer-grid label{font-size:12px}.customer-grid input,.customer-grid select{min-height:42px;padding:10px 12px;border-radius:8px}.customer-grid input:focus,.customer-grid select:focus,textarea:focus{outline:2px solid #84cadb;outline-offset:1px}.form-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:22px 0 6px;padding:13px 15px;background:#f4f8fb;border-radius:12px}.form-steps span{color:#7189a1;font-size:12px;font-weight:700}.form-steps .step-current{color:#087c96}.module-check{background:#fcfdff}.table-heading{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-bottom:13px}.table-heading h2{margin:0}.table-heading .muted{font-size:12px}.login{overflow:auto}
@media(max-width:1050px){.topbar{padding:0 20px}.page-scroll{padding:25px 22px}.cards{grid-template-columns:repeat(auto-fit,minmax(155px,1fr))}}
@media(max-width:750px){html,body{overflow:hidden}.shell{display:flex}.shell aside{position:fixed;top:0;bottom:0;left:0;width:265px;height:100dvh;transform:translateX(-105%);transition:transform .2s;box-shadow:6px 0 25px #0002}.menu-open aside{transform:translateX(0)}.shell main{width:100%;height:100dvh}.mobile-toggle{display:block;background:transparent;color:#173b55;border:0;font-size:22px;padding:4px;box-shadow:none}.topbar{height:62px;min-height:62px;gap:10px;padding:0 14px}.global-search{width:auto;flex:1}.topbar-role{display:none}.page-scroll{padding:20px 14px 45px}header{margin-bottom:16px}.customer-grid,.module-grid,.two-cols{grid-template-columns:1fr}.form-steps{grid-template-columns:1fr}.table-heading{display:block}.section-head{display:block}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.card{padding:16px}.card strong{font-size:25px}.kpi-icon{position:static;margin-bottom:10px}.panel{padding:16px}}

/* HSEQ Nexus v5 customer directory and progressive customer registration */
.v5-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 24px}.v5-heading h2{font-size:30px;letter-spacing:-.8px;margin:0 0 8px}.v5-heading p,.v5-directory-head p,.v5-create-head p{margin:0;color:#688099;font-size:14px}.v5-overline{font-size:10px!important;letter-spacing:1.8px;font-weight:800;color:#168aa1!important;margin:0 0 10px!important}.v5-primary{border:0;border-radius:10px;background:#0a8196;color:#fff;padding:14px 20px;font-weight:750;cursor:pointer;box-shadow:0 6px 16px #0b809626;white-space:nowrap}.v5-primary:hover{background:#086d82}.v5-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}.v5-stat{background:#fff;border:1px solid #e0eaf3;border-radius:16px;min-height:132px;padding:21px 22px;position:relative;box-shadow:0 6px 20px #0c355409}.v5-stat small{display:block;color:#6c8298;font-size:13px}.v5-stat strong{display:block;font-size:32px;color:#0c2d4c;margin-top:20px}.v5-stat-icon{position:absolute;right:20px;top:18px;width:39px;height:39px;border-radius:11px;display:grid;place-items:center;font-size:20px;font-weight:750}.v5-stat-icon.blue{background:#e7f2ff;color:#246ab4}.v5-stat-icon.green{background:#e5f7ef;color:#16845b}.v5-stat-icon.orange{background:#fff0e2;color:#ca7c2b}.v5-stat-icon.purple{background:#f1ecff;color:#7254ae}.v5-directory,.v5-create{background:#fff;border:1px solid #dfeaf2;border-radius:17px;padding:26px;box-shadow:0 8px 26px #0c355409;margin-bottom:22px}.v5-directory-head{display:flex;justify-content:space-between;align-items:center}.v5-directory-head h3{font-size:19px;margin:0 0 6px}.v5-count{background:#eaf5f8;border-radius:8px;padding:7px 12px;color:#0c647c;font-weight:800}.v5-tools{display:flex;gap:12px;margin:24px 0 18px}.v5-search{margin:0;display:flex;align-items:center;gap:10px;background:#f7fafc;border:1px solid #dce8f1;border-radius:10px;padding:0 15px;flex:1;max-width:520px}.v5-search span{font-size:24px;color:#6e899d}.v5-search input{margin:0;background:transparent;border:0;outline:0;padding:13px 0;font-size:13px}.v5-tools select{margin:0;width:195px;font-size:13px;padding:10px}.v5-table th{padding:17px 14px;font-size:12px;text-transform:uppercase;letter-spacing:.5px;background:#f5f8fb}.v5-table td{padding:19px 14px}.v5-table tr:hover{background:#f7fbfd}.v5-company-icon{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#e6f3f7;color:#087b92;font-weight:800;margin-right:11px}.v5-number{color:#176a8a;font-weight:800}.v5-status{display:inline-block;padding:7px 11px;border-radius:100px;background:#f0f2f5;color:#536578;font-size:12px;font-weight:750}.v5-status.is-active{background:#e5f7ee;color:#177c4e}.v5-link{color:#08748b;font-weight:750;text-decoration:none}.v5-link:hover{text-decoration:underline}.v5-empty{padding:30px;text-align:center;color:#698095}.v5-create{scroll-margin-top:20px}.v5-create-head{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid #e4edf4;padding-bottom:22px;margin-bottom:20px}.v5-create-head h2{font-size:25px;margin:0 0 9px}.v5-close{border:1px solid #e2eaf0;background:#f5f8fa;color:#31516b;border-radius:9px;width:39px;height:39px;font-size:25px;cursor:pointer}.v5-create .customer-section{border:0;padding:10px 0 18px}.v5-create .customer-section[hidden],.v5-create .customer-hero[hidden],.v5-create[hidden]{display:none!important}.v5-create .customer-section h3{padding:0 0 16px;margin:0 0 8px;border-bottom:1px solid #e9eff4}.v5-wizard-actions{border-top:1px solid #e4edf4;display:flex;align-items:center;gap:18px;padding-top:23px;margin-top:10px}.v5-wizard-actions button[hidden]{display:none}.v5-quiet{background:#edf3f7;color:#17455e;box-shadow:none}.v5-wizard-actions #v5-progress{color:#8192a4;font-size:13px;margin-left:auto}.v5-create .customer-hero{margin-bottom:16px}.v5-create .form-steps{display:none}@media(max-width:1050px){.v5-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:750px){.v5-heading{align-items:stretch;flex-direction:column}.v5-heading h2{font-size:26px}.v5-stats{gap:10px}.v5-stat{padding:15px;min-height:112px}.v5-stat strong{font-size:27px}.v5-stat-icon{width:30px;height:30px;right:12px;top:12px}.v5-directory,.v5-create{padding:16px}.v5-tools{flex-direction:column}.v5-search{max-width:none}.v5-tools select{width:100%}.v5-table{min-width:680px}.v5-create-head h2{font-size:22px}}


/* HSEQ Nexus v5.1 – accessible, consistent customer wizard controls */
.v5-create-head{align-items:flex-start}
.v5-create-head .v5-close{appearance:none;display:inline-flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:40px;min-width:40px;min-height:40px;margin:0;padding:0;border:1px solid #dce6ee;border-radius:11px;background:#f6f9fb;color:#506b81;font-size:0;font-weight:400;line-height:1;box-shadow:none;transition:background .16s,border-color .16s,color .16s,transform .16s}
.v5-create-head .v5-close svg{width:18px;height:18px;display:block;pointer-events:none}
.v5-create-head .v5-close:hover{background:#e8f2f7;border-color:#bad5e1;color:#0b6077;filter:none}
.v5-create-head .v5-close:active{transform:scale(.96)}
.v5-create-head .v5-close:focus-visible{outline:3px solid #76cbd7;outline-offset:3px}
.v5-wizard-indicator{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 18px;padding:12px 14px;background:#f4f8fb;border:1px solid #e4edf4;border-radius:11px}
.v5-wizard-indicator span{font-size:12px;font-weight:700;color:#698399;padding:7px 11px;border-radius:8px}
.v5-wizard-indicator span.is-current{background:#dff2f5;color:#075c70}
.v5-wizard-indicator span.is-complete{color:#148168}
@media(max-width:750px){.v5-create-head .v5-close{flex-basis:40px}.v5-wizard-indicator{gap:3px;padding:8px}.v5-wizard-indicator span{padding:7px;font-size:11px}}

/* Localized close control */
.v5-create-head .v5-close{width:auto!important;min-width:100px!important;height:42px!important;padding:0 15px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;flex:0 0 auto!important;font-size:13px!important;font-weight:750!important;white-space:nowrap!important;line-height:1.2!important}
.v5-create-head .v5-close span:first-child{font-size:20px;line-height:1}
@media(max-width:750px){.v5-create-head .v5-close{min-width:82px!important}}

/* HSEQ Nexus shared dashboard components */
.nexus-dash-intro{margin:0 0 20px}.nexus-dash-intro h2{font-size:clamp(22px,2.5vw,30px);margin:4px 0}.nexus-dash-intro p{color:#64748b;margin:0}.nexus-dash-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px;margin:0 0 22px}.nexus-dash-kpi{background:#fff;border:1px solid #dce6ed;border-radius:14px;padding:18px;box-shadow:0 2px 8px rgba(20,42,66,.04)}.nexus-dash-kpi small{display:block;color:#526477;font-size:12px}.nexus-dash-kpi strong{display:block;font-size:30px;margin-top:7px;color:#153b5a}.nexus-dash-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:20px}.nexus-dash-columns .panel{min-width:0}.nexus-dash-columns .section-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.nexus-dash-columns .section-head h2{margin:0}.nexus-dash-muted{display:block;color:#64748b;font-size:11px;margin-top:4px}.nexus-dash-workflow,.nexus-dash-modules{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px}.nexus-dash-workflow a,.nexus-dash-modules a{display:block;padding:14px;border:1px solid #dce6ed;border-radius:10px;background:#f8fbfd;text-decoration:none}@media(max-width:900px){.nexus-dash-columns{grid-template-columns:1fr}}

/* Workflow iteration style layer */
:root{font-family:Inter,system-ui,Segoe UI,sans-serif;color:#1b2a40;background:#f3f6fb}*{box-sizing:border-box}body{margin:0}a{color:inherit}.shell{display:flex;min-height:100vh}aside{width:254px;background:#0a2038;color:#d7e6f6;padding:26px 18px;display:flex;flex-direction:column;flex-shrink:0}.brand{font-size:19px;font-weight:850;letter-spacing:.5px;color:#fff}.brand span{color:#5bd0c4}.side-label{font-size:10px;letter-spacing:1.8px;color:#92b2ce;margin:35px 8px 16px}nav{display:grid;gap:5px}nav a{text-decoration:none;padding:12px 14px;border-radius:9px;color:#b7cde0;font-size:14px}nav a:hover,nav a.active{background:#173c5b;color:#fff}.side-bottom{margin-top:auto;padding:22px 12px 0;border-top:1px solid #29445b;font-weight:650}.side-bottom small,.side-bottom a{display:block;margin-top:8px;font-size:12px;color:#9bb9d0;font-weight:400}main{flex:1;min-width:0;padding:32px 42px}header{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}header small{color:#8b98a9;letter-spacing:1px;font-size:11px}h1{font-size:29px;margin:8px 0}h2{font-size:18px;margin:0 0 15px}.avatar{width:42px;height:42px;border-radius:50%;background:#d9e9f5;display:grid;place-items:center;font-weight:800}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:16px;margin-bottom:22px}.card,.panel{background:#fff;border:1px solid #e2e9f0;border-radius:15px;padding:23px;box-shadow:0 3px 14px #0b294006}.card small{color:#748599;display:block}.card strong{display:block;font-size:34px;margin-top:14px;color:#103454}.panel{margin:0 0 20px}p{line-height:1.65;color:#65768a}label{display:block;font-size:13px;font-weight:650;margin:14px 0}input,textarea{display:block;width:100%;margin-top:8px;border:1px solid #cbd6e3;border-radius:8px;padding:12px;font:inherit}button,.button{display:inline-block;border:0;background:#0c607c;color:white;border-radius:8px;padding:12px 18px;text-decoration:none;font-weight:650;cursor:pointer}table{width:100%;border-collapse:collapse;font-size:14px}td,th{text-align:left;border-bottom:1px solid #e6edf4;padding:12px}th{color:#60758a}.error{color:#b42318}.login{display:grid;place-items:center;min-height:100vh;background:linear-gradient(130deg,#071c34,#144866)}.login-card{background:white;border-radius:18px;padding:40px;width:min(440px,92vw)}.login-card .brand{color:#123351}.login-card h1{margin-top:34px}@media(max-width:750px){.shell{display:block}aside{width:auto;padding:18px}nav{display:flex;overflow:auto}nav a{white-space:nowrap}.side-label,.side-bottom{display:none}main{padding:22px}header{margin-bottom:18px}}

/* Owner administration v2 */
nav a{display:flex;align-items:center;gap:11px}.nav-dot{width:6px;height:6px;background:#5c849f;border-radius:50%;flex-shrink:0}nav a.active .nav-dot{background:#63d4c8}.eyebrow{font-size:11px;color:#72879a;letter-spacing:1.2px;margin:-10px 0 20px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:20px}.section-head p{margin:4px 0 12px}.two-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.table-wrap{overflow-x:auto}.pill{background:#edf5f8;color:#215a70;padding:5px 9px;border-radius:20px;font-size:12px}.preview-banner{padding:15px 18px;background:#dff3ef;color:#176b61;border-radius:10px;font-weight:750;letter-spacing:.5px;margin-bottom:20px}.notice{background:#e6f6ed;color:#126b42;padding:12px 15px;border-radius:8px}.notice.error{background:#fff0f0;color:#b42318}.inline-form{display:grid;grid-template-columns:1fr 1fr auto;gap:16px;align-items:end}.inline-form button{margin-bottom:14px}.setting-row{display:flex;gap:16px;align-items:end;border-top:1px solid #e6edf4}.setting-row label{flex:1}.setting-row button{margin-bottom:14px}.compact-form{display:inline}.button-secondary{background:#e9f2f8;color:#13425b;padding:8px 12px}select{display:block;width:100%;margin-top:8px;border:1px solid #cbd6e3;border-radius:8px;padding:12px;background:white;font:inherit}.card strong{font-variant-numeric:tabular-nums}@media(max-width:900px){.two-cols,.inline-form{grid-template-columns:1fr}.section-head{display:block}}
.customer-hero{display:flex;align-items:center;justify-content:space-between;gap:25px;background:linear-gradient(115deg,#eff8fb,#f7fafc);border:1px solid #dceaf1;border-radius:13px;padding:24px;margin-bottom:24px}.customer-hero h2{font-size:23px;margin:5px 0}.customer-hero p{margin:0}.customer-hero small,.customer-number small{font-size:11px;letter-spacing:1.2px;color:#52718a}.customer-number{min-width:200px;background:white;border:1px solid #d7e6ef;border-radius:12px;padding:16px}.customer-number strong{display:block;color:#0d4b6a;font-size:19px;margin-top:9px}.customer-section{border-top:1px solid #e3ebf3;padding:22px 0}.customer-section h3{font-size:16px;margin:0 0 13px;color:#153956}.customer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 22px}.customer-grid label{margin:9px 0}.customer-section input,.customer-section select,.customer-section textarea{margin-top:6px}.module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.module-check{display:flex;align-items:center;gap:9px;border:1px solid #dfe9f0;padding:12px;border-radius:9px;margin:0;font-weight:500}.module-check input{width:auto;margin:0}.customer-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:18px}.customer-actions small,.muted{color:#687f91}.customer-quicklinks{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:20px}@media(max-width:850px){.customer-hero{display:block}.customer-number{margin-top:18px}.customer-grid,.module-grid{grid-template-columns:1fr}}
/* HSEQ Nexus Design v4 – shared owner/customer design system */
:root{font-family:Inter,'Segoe UI',system-ui,sans-serif;color:#102b46;background:#f1f6fb;--navy:#09243b;--teal:#087e98;--line:#dae6f0;--muted:#627b94}html,body{height:100%;overflow:hidden}body{background:#f1f6fb}.shell{height:100dvh;min-height:0;overflow:hidden}aside{height:100dvh;position:relative;width:254px;overflow-y:auto;background:linear-gradient(170deg,#071e33 0%,#11334c 63%,#061c30 100%);padding:30px 17px 20px;box-shadow:4px 0 22px #0a2d4810;z-index:15}.brand{padding:0 5px;font-size:20px;white-space:nowrap}.side-label{margin-top:44px;margin-bottom:18px;font-weight:750}nav{gap:7px}nav a{font-size:14px;min-height:46px;padding:11px 13px;border-radius:9px;transition:background .18s}nav a:hover{background:#17435b}nav a.active{background:linear-gradient(95deg,#125b73,#1a536a);box-shadow:inset 3px 0 #4de0dc;color:#fff}.nav-icon{font-size:19px;display:inline-flex;align-items:center;justify-content:center;width:23px;min-width:23px;color:#bdd9ea}.side-bottom{padding:18px 6px 0;margin-top:auto;font-size:13px}.side-bottom label{color:#e0eff9}.side-bottom select{font-size:13px;padding:10px}.owner-identity{display:flex;align-items:center;gap:10px;padding-top:15px;border-top:1px solid #2d5268;margin-top:14px}.owner-identity small{margin-top:2px}.mini-avatar,.avatar{width:37px;height:37px;min-width:37px;border-radius:50%;display:grid;place-items:center;background:#0c95ae;color:#fff;font-size:14px;font-weight:800}.avatar{background:#dcecf6;color:#153c5a}main{padding:0;display:flex;flex-direction:column;height:100dvh;min-height:0;background:radial-gradient(ellipse at 85% 0%,#e7f2f8 0%,#f1f6fb 50%);overflow:hidden}.topbar{height:70px;min-height:70px;background:#fff;box-shadow:0 2px 13px #0d3d6010;border-bottom:1px solid #e1ebf3;display:flex;align-items:center;gap:20px;padding:0 32px;z-index:3}.global-search{display:flex;align-items:center;gap:10px;background:#f0f5f9;border:1px solid #e8eff4;border-radius:24px;padding:0 17px;width:min(540px,55vw);height:42px}.global-search span{font-size:25px;color:#59748c}.global-search input{border:0;outline:0;background:transparent;margin:0;padding:0;box-shadow:none;font-size:13px}.topbar-spacer{flex:1}.topbar-role{font-size:11px;letter-spacing:1.1px;color:#748ca1;font-weight:750}.mobile-toggle{display:none}.page-scroll{flex:1;min-height:0;overflow:auto;padding:30px 35px 65px;scrollbar-color:#bfd0df transparent}header{margin:0 0 24px;align-items:flex-start}header small{color:#67849d;font-size:11px}h1{font-size:29px;font-weight:800;color:#0b2946;letter-spacing:-.6px}h2{font-size:19px;color:#0e2b48;letter-spacing:-.25px}.eyebrow{font-size:10px;letter-spacing:1.6px;font-weight:750;margin:0 0 18px;color:#6b89a1}.cards{grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:15px}.card,.panel{border:1px solid #e0eaf2;border-radius:16px;box-shadow:0 8px 25px #133e5c08;background:#fff}.card{position:relative;min-height:132px;padding:22px}.card small{color:#627d96;font-size:12px;padding-right:42px}.card strong{font-size:31px;color:#0b2e4d;margin-top:14px}.kpi-icon{position:absolute;right:19px;top:18px;width:39px;height:39px;border-radius:12px;background:#e7f2ff;color:#1471b2;display:grid;place-items:center;font-size:22px}.card:nth-child(2) .kpi-icon{background:#e5f8ee;color:#148a52}.card:nth-child(3) .kpi-icon{background:#f0eaff;color:#7654bc}.card:nth-child(4) .kpi-icon{background:#e5f5fb;color:#0787a8}.card:nth-child(5) .kpi-icon{background:#fff0e4;color:#e58c31}.panel{padding:24px;margin-bottom:19px}.section-head{margin-bottom:13px}.section-head h2{margin-bottom:8px}.section-head p{margin-top:0}.button,button[type=submit]{background:linear-gradient(135deg,#0b7590,#078aa0);border-radius:8px;box-shadow:0 4px 10px #057b991a}.button:hover,button[type=submit]:hover{filter:brightness(1.07)}.table-wrap{border-radius:10px;overflow:auto}table{font-size:13px}th{background:#f3f7fa;font-size:12px;color:#4f6d86;font-weight:750}td,th{padding:15px 14px}tbody tr:hover{background:#f8fbfe}tbody tr[hidden]{display:none}.table-action{display:inline-block;border:1px solid #d4e4ef;border-radius:7px;padding:8px 11px;text-decoration:none;font-weight:650;color:#194e6c;white-space:nowrap}.table-action:hover{background:#e9f5f9}.pill.status-pill{background:#dff7e9;color:#17784b;font-weight:700}.customer-hero{background:linear-gradient(105deg,#eef8fe,#f8fbff);border-radius:14px;padding:24px}.customer-hero h2{font-size:23px}.customer-number{box-shadow:0 5px 15px #153f5d08}.customer-section{padding:25px 0}.customer-section h3{font-size:16px}.customer-grid{gap:2px 22px}.customer-grid label{font-size:12px}.customer-grid input,.customer-grid select{min-height:42px;padding:10px 12px;border-radius:8px}.customer-grid input:focus,.customer-grid select:focus,textarea:focus{outline:2px solid #84cadb;outline-offset:1px}.form-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:22px 0 6px;padding:13px 15px;background:#f4f8fb;border-radius:12px}.form-steps span{color:#7189a1;font-size:12px;font-weight:700}.form-steps .step-current{color:#087c96}.module-check{background:#fcfdff}.table-heading{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-bottom:13px}.table-heading h2{margin:0}.table-heading .muted{font-size:12px}.login{overflow:auto}
@media(max-width:1050px){.topbar{padding:0 20px}.page-scroll{padding:25px 22px}.cards{grid-template-columns:repeat(auto-fit,minmax(155px,1fr))}}
@media(max-width:750px){html,body{overflow:hidden}.shell{display:flex}.shell aside{position:fixed;top:0;bottom:0;left:0;width:265px;height:100dvh;transform:translateX(-105%);transition:transform .2s;box-shadow:6px 0 25px #0002}.menu-open aside{transform:translateX(0)}.shell main{width:100%;height:100dvh}.mobile-toggle{display:block;background:transparent;color:#173b55;border:0;font-size:22px;padding:4px;box-shadow:none}.topbar{height:62px;min-height:62px;gap:10px;padding:0 14px}.global-search{width:auto;flex:1}.topbar-role{display:none}.page-scroll{padding:20px 14px 45px}header{margin-bottom:16px}.customer-grid,.module-grid,.two-cols{grid-template-columns:1fr}.form-steps{grid-template-columns:1fr}.table-heading{display:block}.section-head{display:block}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.card{padding:16px}.card strong{font-size:25px}.kpi-icon{position:static;margin-bottom:10px}.panel{padding:16px}}

/* HSEQ Nexus v5 customer directory and progressive customer registration */
.v5-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 24px}.v5-heading h2{font-size:30px;letter-spacing:-.8px;margin:0 0 8px}.v5-heading p,.v5-directory-head p,.v5-create-head p{margin:0;color:#688099;font-size:14px}.v5-overline{font-size:10px!important;letter-spacing:1.8px;font-weight:800;color:#168aa1!important;margin:0 0 10px!important}.v5-primary{border:0;border-radius:10px;background:#0a8196;color:#fff;padding:14px 20px;font-weight:750;cursor:pointer;box-shadow:0 6px 16px #0b809626;white-space:nowrap}.v5-primary:hover{background:#086d82}.v5-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}.v5-stat{background:#fff;border:1px solid #e0eaf3;border-radius:16px;min-height:132px;padding:21px 22px;position:relative;box-shadow:0 6px 20px #0c355409}.v5-stat small{display:block;color:#6c8298;font-size:13px}.v5-stat strong{display:block;font-size:32px;color:#0c2d4c;margin-top:20px}.v5-stat-icon{position:absolute;right:20px;top:18px;width:39px;height:39px;border-radius:11px;display:grid;place-items:center;font-size:20px;font-weight:750}.v5-stat-icon.blue{background:#e7f2ff;color:#246ab4}.v5-stat-icon.green{background:#e5f7ef;color:#16845b}.v5-stat-icon.orange{background:#fff0e2;color:#ca7c2b}.v5-stat-icon.purple{background:#f1ecff;color:#7254ae}.v5-directory,.v5-create{background:#fff;border:1px solid #dfeaf2;border-radius:17px;padding:26px;box-shadow:0 8px 26px #0c355409;margin-bottom:22px}.v5-directory-head{display:flex;justify-content:space-between;align-items:center}.v5-directory-head h3{font-size:19px;margin:0 0 6px}.v5-count{background:#eaf5f8;border-radius:8px;padding:7px 12px;color:#0c647c;font-weight:800}.v5-tools{display:flex;gap:12px;margin:24px 0 18px}.v5-search{margin:0;display:flex;align-items:center;gap:10px;background:#f7fafc;border:1px solid #dce8f1;border-radius:10px;padding:0 15px;flex:1;max-width:520px}.v5-search span{font-size:24px;color:#6e899d}.v5-search input{margin:0;background:transparent;border:0;outline:0;padding:13px 0;font-size:13px}.v5-tools select{margin:0;width:195px;font-size:13px;padding:10px}.v5-table th{padding:17px 14px;font-size:12px;text-transform:uppercase;letter-spacing:.5px;background:#f5f8fb}.v5-table td{padding:19px 14px}.v5-table tr:hover{background:#f7fbfd}.v5-company-icon{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#e6f3f7;color:#087b92;font-weight:800;margin-right:11px}.v5-number{color:#176a8a;font-weight:800}.v5-status{display:inline-block;padding:7px 11px;border-radius:100px;background:#f0f2f5;color:#536578;font-size:12px;font-weight:750}.v5-status.is-active{background:#e5f7ee;color:#177c4e}.v5-link{color:#08748b;font-weight:750;text-decoration:none}.v5-link:hover{text-decoration:underline}.v5-empty{padding:30px;text-align:center;color:#698095}.v5-create{scroll-margin-top:20px}.v5-create-head{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid #e4edf4;padding-bottom:22px;margin-bottom:20px}.v5-create-head h2{font-size:25px;margin:0 0 9px}.v5-close{border:1px solid #e2eaf0;background:#f5f8fa;color:#31516b;border-radius:9px;width:39px;height:39px;font-size:25px;cursor:pointer}.v5-create .customer-section{border:0;padding:10px 0 18px}.v5-create .customer-section[hidden],.v5-create .customer-hero[hidden],.v5-create[hidden]{display:none!important}.v5-create .customer-section h3{padding:0 0 16px;margin:0 0 8px;border-bottom:1px solid #e9eff4}.v5-wizard-actions{border-top:1px solid #e4edf4;display:flex;align-items:center;gap:18px;padding-top:23px;margin-top:10px}.v5-wizard-actions button[hidden]{display:none}.v5-quiet{background:#edf3f7;color:#17455e;box-shadow:none}.v5-wizard-actions #v5-progress{color:#8192a4;font-size:13px;margin-left:auto}.v5-create .customer-hero{margin-bottom:16px}.v5-create .form-steps{display:none}@media(max-width:1050px){.v5-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:750px){.v5-heading{align-items:stretch;flex-direction:column}.v5-heading h2{font-size:26px}.v5-stats{gap:10px}.v5-stat{padding:15px;min-height:112px}.v5-stat strong{font-size:27px}.v5-stat-icon{width:30px;height:30px;right:12px;top:12px}.v5-directory,.v5-create{padding:16px}.v5-tools{flex-direction:column}.v5-search{max-width:none}.v5-tools select{width:100%}.v5-table{min-width:680px}.v5-create-head h2{font-size:22px}}


/* HSEQ Nexus v5.1 – accessible, consistent customer wizard controls */
.v5-create-head{align-items:flex-start}
.v5-create-head .v5-close{appearance:none;display:inline-flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:40px;min-width:40px;min-height:40px;margin:0;padding:0;border:1px solid #dce6ee;border-radius:11px;background:#f6f9fb;color:#506b81;font-size:0;font-weight:400;line-height:1;box-shadow:none;transition:background .16s,border-color .16s,color .16s,transform .16s}
.v5-create-head .v5-close svg{width:18px;height:18px;display:block;pointer-events:none}
.v5-create-head .v5-close:hover{background:#e8f2f7;border-color:#bad5e1;color:#0b6077;filter:none}
.v5-create-head .v5-close:active{transform:scale(.96)}
.v5-create-head .v5-close:focus-visible{outline:3px solid #76cbd7;outline-offset:3px}
.v5-wizard-indicator{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 18px;padding:12px 14px;background:#f4f8fb;border:1px solid #e4edf4;border-radius:11px}
.v5-wizard-indicator span{font-size:12px;font-weight:700;color:#698399;padding:7px 11px;border-radius:8px}
.v5-wizard-indicator span.is-current{background:#dff2f5;color:#075c70}
.v5-wizard-indicator span.is-complete{color:#148168}
@media(max-width:750px){.v5-create-head .v5-close{flex-basis:40px}.v5-wizard-indicator{gap:3px;padding:8px}.v5-wizard-indicator span{padding:7px;font-size:11px}}

/* Localized close control */
.v5-create-head .v5-close{width:auto!important;min-width:100px!important;height:42px!important;padding:0 15px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;flex:0 0 auto!important;font-size:13px!important;font-weight:750!important;white-space:nowrap!important;line-height:1.2!important}
.v5-create-head .v5-close span:first-child{font-size:20px;line-height:1}
@media(max-width:750px){.v5-create-head .v5-close{min-width:82px!important}}

/* HSEQ Nexus unified design layer: additive and shared by all pages */
:root{--nexus-radius:14px;--nexus-focus:#137e9a}
.panel{border-radius:var(--nexus-radius);box-shadow:0 3px 16px rgba(16,37,59,.045)}
button,input,select,textarea{font:inherit}
button{transition:filter .15s,transform .15s}button:hover{filter:brightness(.97)}button:active{transform:translateY(1px)}
:where(a,button,input,select,textarea):focus-visible{outline:3px solid var(--nexus-focus);outline-offset:2px}
.nexus-ajax-status{font-size:12px;margin-left:8px;color:#147a61;min-height:1em}
@media(max-width:700px){.panel{border-radius:12px}.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}}
