@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700;800;900&family=IBM+Plex+Mono:wght@400;500;600&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap');

:root{
  --obsidian:#15120E;--graphite:#211D17;--graphite-2:#2a251d;--oxblood:#5E1C18;--oxblood-2:#7A2A24;--ember:#E07B1A;--gold:#F3B81E;--gold-soft:#F6C94B;--bone:#F7F3EA;--sand:#ECE5D6;--ash:#8A8175;--ink:#2A261F;--line:#e4ddcd;--line-dark:rgba(247,243,234,.10);--text:#2A261F;--text-soft:#6c6253;--text-ondark:rgba(247,243,234,.74);--text-ondark-dim:rgba(247,243,234,.5);--navy:#0F1729;--green:#3ddc84;--maxw:1240px;--r:14px;--shadow:0 24px 60px -28px rgba(21,18,14,.4)
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'IBM Plex Sans',system-ui,sans-serif;background:var(--bone);color:var(--text);line-height:1.55;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none} img,svg{display:block}.mono{font-family:'IBM Plex Mono',monospace}.display{font-family:'Archivo',sans-serif;font-weight:800;line-height:1.02;letter-spacing:-.025em}h1.display{font-size:clamp(2.6rem,5.4vw,4.6rem)}h2.display{font-size:clamp(2rem,3.6vw,3rem);font-weight:700}.wrap{max-width:var(--maxw);margin:0 auto;padding:0 32px}section{position:relative}.lead{font-size:1.18rem;color:var(--text-soft);max-width:54ch}.lead.on-dark{color:var(--text-ondark)}.eyebrow{font-family:'IBM Plex Mono',monospace;font-size:.72rem;font-weight:500;letter-spacing:.22em;text-transform:uppercase;color:#9a4a1a;display:inline-flex;align-items:center;gap:.6rem}.eyebrow::before{content:"";width:26px;height:1px;background:var(--ember);display:inline-block}.eyebrow.on-dark{color:var(--gold-soft)}.eyebrow.on-dark::before{background:var(--gold)}.centered{justify-content:center}.centered-row{justify-content:center}.btn{display:inline-flex;align-items:center;gap:.55rem;font-family:'IBM Plex Mono',monospace;font-size:.82rem;font-weight:500;letter-spacing:.06em;text-transform:uppercase;padding:.85rem 1.5rem;border-radius:10px;border:1px solid transparent;cursor:pointer;transition:.22s ease;white-space:nowrap}.btn-gold{background:var(--gold);color:var(--obsidian);border-color:var(--gold)}.btn-gold:hover{background:var(--gold-soft);transform:translateY(-2px);box-shadow:0 14px 30px -12px rgba(243,184,30,.5)}.btn-ghost{background:transparent;color:var(--obsidian);border-color:var(--line)}.btn-ghost:hover{border-color:var(--obsidian);background:var(--obsidian);color:#fff}.btn-ghost.on-dark{color:var(--bone);border-color:rgba(247,243,234,.25)}.btn-ghost.on-dark:hover{background:var(--bone);color:var(--obsidian);border-color:var(--bone)}.btn-arrow::after{content:"→";font-family:'IBM Plex Sans';transition:.22s}.btn:hover.btn-arrow::after{transform:translateX(3px)}.grid-bg{position:absolute;inset:0;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:64px 64px;pointer-events:none;mask-image:radial-gradient(ellipse 80% 70% at 30% 40%,#000,transparent)}.grid-bg.no-mask{mask-image:none;opacity:.5}.molten{position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse 60% 75% at 80% 28%,rgba(243,184,30,.20),transparent 55%),radial-gradient(ellipse 55% 65% at 72% 52%,rgba(224,123,26,.16),transparent 55%),radial-gradient(ellipse 75% 85% at 64% 78%,rgba(94,28,24,.5),transparent 60%)}.molten.subtle{opacity:.5}.tag{font-family:'IBM Plex Mono';font-size:.7rem;letter-spacing:.16em;text-transform:uppercase;padding:.35rem .7rem;border:1px solid var(--line);border-radius:999px;color:var(--text-soft)}.tag.gold{background:rgba(243,184,30,.12);border-color:rgba(243,184,30,.45);color:#9a7611}

/* Public navigation and footer, exact wireframe structure */
.nav{position:sticky;top:0;z-index:50;background:rgba(21,18,14,.72);backdrop-filter:blur(14px);border-bottom:1px solid var(--line-dark)}.nav-inner{max-width:var(--maxw);margin:0 auto;padding:0 32px;height:74px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:13px}.brand .logo{width:38px;height:38px;flex:none;color:#fff}.brand .name{font-family:'Archivo';font-weight:800;font-size:1.18rem;letter-spacing:-.01em;line-height:1;color:#fff}.brand .name .sub{display:block;font-family:'IBM Plex Mono';font-weight:400;font-size:.58rem;letter-spacing:.28em;color:var(--text-ondark-dim);margin-top:3px;text-transform:uppercase}.nav-links{display:flex;align-items:center;gap:30px;font-size:.92rem;font-weight:500}.nav-links a{color:var(--text-ondark);transition:.18s}.nav-links a:hover,.nav-links a.active{color:#fff}.nav-cta{display:flex;align-items:center;gap:12px}.footer{background:var(--obsidian);color:var(--text-ondark);padding:72px 0 36px}.footer-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:40px;padding-bottom:48px;border-bottom:1px solid var(--line-dark)}.footer h4{font-family:'IBM Plex Mono';font-size:.72rem;letter-spacing:.2em;text-transform:uppercase;color:var(--text-ondark-dim);margin-bottom:18px;font-weight:500}.footer ul{list-style:none;display:flex;flex-direction:column;gap:11px;font-size:.92rem}.footer ul a:hover{color:var(--gold-soft)}.footer-bottom{display:flex;justify-content:space-between;align-items:center;padding-top:28px;font-family:'IBM Plex Mono';font-size:.74rem;color:var(--text-ondark-dim);letter-spacing:.04em;flex-wrap:wrap;gap:14px}.footer .brand{margin-bottom:18px}.footer .brand .name{color:#fff}.footer-intro{max-width:34ch;font-size:.92rem}
@media(max-width:880px){.nav-links{display:none}.nav-cta .btn-ghost{display:none}}@media(max-width:760px){.footer-grid{grid-template-columns:1fr 1fr;gap:32px}}

/* Public home wireframe */
.hero{background:var(--obsidian);color:#fff;overflow:hidden;padding:96px 0 110px}.hero .wrap{position:relative;z-index:2}.hero-grid-row{display:grid;grid-template-columns:1.25fr .75fr;gap:60px;align-items:center}.hero h1{margin:24px 0 22px}.hero h1 em{font-style:normal;color:var(--gold)}.hero-cta{display:flex;gap:14px;margin-top:34px;flex-wrap:wrap}.hero-meta{display:flex;gap:34px;margin-top:48px;padding-top:30px;border-top:1px solid var(--line-dark)}.hero-meta div .n{font-family:'Archivo';font-weight:800;font-size:1.7rem;color:#fff}.hero-meta div .l{font-family:'IBM Plex Mono';font-size:.7rem;letter-spacing:.12em;text-transform:uppercase;color:var(--text-ondark-dim);margin-top:4px}.hero-emblem{position:relative;display:flex;justify-content:center}.hero-emblem svg{width:100%;max-width:380px;filter:drop-shadow(0 30px 60px rgba(0,0,0,.4))}.strip{background:var(--graphite);border-top:1px solid var(--line-dark);border-bottom:1px solid var(--line-dark);padding:26px 0}.strip .wrap{display:flex;align-items:center;gap:40px;flex-wrap:wrap;justify-content:space-between}.strip .label{font-family:'IBM Plex Mono';font-size:.72rem;letter-spacing:.18em;text-transform:uppercase;color:var(--text-ondark-dim)}.strip .inds{display:flex;gap:30px;flex-wrap:wrap;color:var(--text-ondark);font-weight:500;font-size:.96rem}.strip .inds span{display:flex;align-items:center;gap:9px}.strip .inds span::before{content:"";width:7px;height:7px;background:var(--gold);transform:rotate(45deg)}.sec{padding:96px 0}.sec-head{max-width:680px;margin-bottom:54px}.sec-head h2{margin:18px 0 18px;color:var(--navy)}.caps{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.cap{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:32px 28px;transition:.25s;position:relative;overflow:hidden}.cap:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:#d8d3c4}.cap-ic{width:46px;height:46px;border-radius:11px;background:var(--oxblood);display:flex;align-items:center;justify-content:center;margin-bottom:22px}.cap-ic svg{width:24px;height:24px}.cap h3{font-family:'Archivo';font-weight:700;font-size:1.18rem;color:var(--navy);margin-bottom:10px}.cap p{color:var(--text-soft);font-size:.96rem}.cap .num{position:absolute;top:22px;right:24px;font-family:'IBM Plex Mono';font-size:.74rem;color:var(--line)}.prod-sec{background:var(--sand)}.prod-feature{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;display:grid;grid-template-columns:1fr 1fr;box-shadow:var(--shadow)}.pf-body{padding:50px}.pf-body h3{font-family:'Archivo';font-weight:800;font-size:2rem;color:var(--navy);margin:16px 0 14px}.product-lead{font-size:1.05rem}.pf-list{list-style:none;margin:24px 0 30px;display:flex;flex-direction:column;gap:12px}.pf-list li{display:flex;gap:11px;align-items:flex-start;font-size:.97rem;color:var(--text)}.pf-list li::before{content:"";width:18px;height:18px;flex:none;margin-top:2px;border-radius:5px;background:rgba(243,184,30,.16);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b58912' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");background-size:13px;background-repeat:no-repeat;background-position:center}.pf-visual{background:radial-gradient(circle at 60% 35%,#1d2b49,#0F1729);display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}.pf-visual .ra{position:relative;z-index:2;text-align:center}.pf-ring{width:200px;height:200px;margin:0 auto}.ring-caption{color:rgba(255,255,255,.6);font-size:.74rem;letter-spacing:.2em;margin-top:14px}.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:0;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;background:#fff}.step{padding:34px 26px;border-right:1px solid var(--line);position:relative}.step:last-child{border-right:none}.step .sn{font-family:'IBM Plex Mono';font-size:.74rem;color:var(--ember);letter-spacing:.1em;margin-bottom:18px}.step h4{font-family:'Archivo';font-weight:700;font-size:1.1rem;color:var(--navy);margin-bottom:9px}.step p{font-size:.9rem;color:var(--text-soft)}.sec-cta{padding-top:0}.cta-band{background:var(--oxblood);color:#fff;border-radius:20px;padding:60px;text-align:center;position:relative;overflow:hidden}.cta-band h2{color:#fff;margin:16px 0 14px}.cta-band .lead{margin:0 auto 30px}.cta-content{position:relative;z-index:2}.row{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}
@media(max-width:860px){.caps{grid-template-columns:1fr}.steps{grid-template-columns:1fr 1fr}.step{border-bottom:1px solid var(--line)}.hero-grid-row{grid-template-columns:1fr}.hero-emblem{display:none}.prod-feature{grid-template-columns:1fr}.pf-visual{min-height:260px}}

/* Product page wireframe */
.page-hero{background:var(--obsidian);color:#fff;padding:80px 0 70px;overflow:hidden}.page-hero .wrap{position:relative;z-index:2}.page-hero h1{margin:22px 0 18px}.feature{display:grid;grid-template-columns:1.05fr 1fr;gap:0;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:#fff;box-shadow:var(--shadow);margin-bottom:60px}.feature .fb{padding:54px}.badge-row{display:flex;gap:10px;margin-bottom:20px}.feature h2{font-family:'Archivo';font-weight:800;font-size:2.4rem;color:var(--navy);margin-bottom:8px;letter-spacing:-.02em}.feature .tagline{font-family:'IBM Plex Mono';font-size:.78rem;letter-spacing:.16em;text-transform:uppercase;color:#b58912;margin-bottom:22px}.feature p{color:var(--text-soft);font-size:1.03rem;margin-bottom:26px}.product-grid2{display:grid;grid-template-columns:1fr 1fr;gap:16px 28px;margin-bottom:32px}.feature .it{display:flex;gap:11px;align-items:flex-start}.feature .it svg{width:20px;height:20px;flex:none;margin-top:2px}.feature .it strong{display:block;font-size:.95rem;color:var(--navy);font-weight:600}.feature .it span{font-size:.86rem;color:var(--text-soft)}.fvis{background:radial-gradient(circle at 55% 38%,#1d2b49,#0F1729);display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;min-height:420px}.fvis .pf-ring{width:230px;height:230px;position:relative;z-index:2}.fvis .cap{position:absolute;bottom:34px;left:0;right:0;text-align:center;font-family:'IBM Plex Mono';font-size:.72rem;letter-spacing:.22em;color:rgba(255,255,255,.55)}.road-head{margin-bottom:40px}.road-head h2{color:var(--navy);margin:16px 0}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.pcard{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:34px 30px;position:relative;transition:.25s;display:flex;flex-direction:column;min-height:280px}.pcard:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.pcard .ph{width:48px;height:48px;border-radius:12px;border:1px solid var(--line);display:flex;align-items:center;justify-content:center;margin-bottom:auto}.pcard.soon{background:repeating-linear-gradient(135deg,#fff,#fff 22px,#fdfcf8 22px,#fdfcf8 44px)}.pcard h3{font-family:'Archivo';font-weight:700;font-size:1.3rem;color:var(--navy);margin:26px 0 8px}.pcard p{font-size:.92rem;color:var(--text-soft);margin-bottom:18px}.pcard .stat{position:absolute;top:30px;right:30px}.products-cta{background:var(--bone)}
@media(max-width:880px){.feature{grid-template-columns:1fr}.product-grid2{grid-template-columns:1fr}.cards{grid-template-columns:1fr}}

/* Staff login wireframe, adjusted to Entra-only */
.prometheus-staff-login{min-height:100vh;background:var(--ink);color:#fff;display:flex;flex-direction:column}.prometheus-staff-login .bg{position:fixed;inset:0;z-index:0;background:radial-gradient(circle at 50% 0%,rgba(243,184,30,.08),transparent 55%),radial-gradient(circle at 50% 100%,rgba(94,28,24,.55),transparent 60%)}.prometheus-staff-login .bg .grid-bg{mask-image:radial-gradient(ellipse 70% 60% at 50% 40%,#000,transparent);background-size:54px 54px}.topbar{position:relative;z-index:3;height:70px;display:flex;align-items:center;justify-content:space-between;padding:0 32px;border-bottom:1px solid var(--line-dark)}.back{display:inline-flex;align-items:center;gap:7px;font-family:'IBM Plex Mono';font-size:.74rem;letter-spacing:.06em;color:var(--text-ondark);text-transform:uppercase}.back:hover{color:#fff}.status{font-family:'IBM Plex Mono';font-size:.7rem;letter-spacing:.12em;color:var(--text-ondark-dim);display:flex;align-items:center;gap:8px}.status .dot{width:7px;height:7px;border-radius:50%;background:var(--green);box-shadow:0 0 10px var(--green)}.center{position:relative;z-index:3;flex:1;display:flex;align-items:center;justify-content:center;padding:40px}.card{width:100%;max-width:430px;background:rgba(33,29,23,.7);backdrop-filter:blur(16px);border:1px solid var(--line-dark);border-radius:18px;padding:44px 42px;box-shadow:0 40px 80px -30px rgba(0,0,0,.7)}.lockrow{display:flex;align-items:center;gap:14px;margin-bottom:28px}.lock-emblem{width:50px;height:50px;flex:none;border:1px solid rgba(243,184,30,.4);border-radius:13px;display:flex;align-items:center;justify-content:center;background:rgba(243,184,30,.08)}.lock-emblem .logo{width:30px;height:30px;color:#fff}.card .kick{font-family:'IBM Plex Mono';font-size:.7rem;letter-spacing:.18em;text-transform:uppercase;color:var(--gold-soft)}.card h2{font-family:'Archivo';font-weight:800;font-size:1.7rem;letter-spacing:-.02em;color:#fff;line-height:1.1}.card .sub{color:var(--text-ondark);font-size:.92rem;margin:14px 0 30px}.field{margin-bottom:18px}.field label{display:block;font-family:'IBM Plex Mono';font-size:.68rem;letter-spacing:.1em;text-transform:uppercase;color:var(--text-ondark-dim);margin-bottom:8px}.field input{width:100%;padding:.85rem 1rem;border:1px solid var(--line-dark);border-radius:10px;background:rgba(10,9,7,.5);font-family:'IBM Plex Sans';font-size:.98rem;color:#fff;transition:.18s}.field input::placeholder{color:rgba(255,255,255,.3)}.field input:focus{outline:none;border-color:var(--gold);box-shadow:0 0 0 3px rgba(243,184,30,.14);background:rgba(10,9,7,.8)}.btn-full{width:100%;justify-content:center;padding:.95rem;font-size:.85rem;margin-bottom:14px}.btn-sso-dark{width:100%;justify-content:center;padding:.9rem;background:rgba(255,255,255,.06);border:1px solid var(--line-dark);color:#fff;gap:10px}.btn-sso-dark:hover{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.3)}.notice{margin-top:26px;padding:14px 16px;border:1px solid rgba(243,184,30,.25);background:rgba(243,184,30,.06);border-radius:10px;display:flex;gap:11px;font-size:.8rem;line-height:1.5;color:var(--text-ondark)}.notice svg{width:18px;height:18px;flex:none;margin-top:1px;stroke:var(--gold-soft)}.prometheus-staff-login .foot{position:relative;z-index:3;text-align:center;padding:24px;font-family:'IBM Plex Mono';font-size:.7rem;letter-spacing:.1em;color:var(--text-ondark-dim)}.auth-message{margin-bottom:18px;padding:12px 14px;border-radius:10px;font-size:.85rem;line-height:1.45}.auth-message.success{border:1px solid rgba(61,220,132,.35);background:rgba(61,220,132,.08);color:#b8f5d1}.auth-message.warning{border:1px solid rgba(243,184,30,.35);background:rgba(243,184,30,.08);color:var(--gold-soft)}

/* Customer login wireframe, adjusted to SSO/email only */
.customer-login-page{height:100vh;overflow:hidden}.split{display:grid;grid-template-columns:1.05fr 1fr;height:100vh}.brandside{background:var(--obsidian);color:#fff;padding:48px 56px;display:flex;flex-direction:column;position:relative;overflow:hidden}.brandside .grid-bg{opacity:.7}.brandside .glow{position:absolute;inset:0;background:radial-gradient(ellipse 70% 60% at 25% 80%,rgba(94,28,24,.6),transparent 60%),radial-gradient(ellipse 50% 50% at 40% 70%,rgba(243,184,30,.14),transparent 60%)}.bs-top,.bs-mid,.bs-bot{position:relative;z-index:2}.bs-mid{margin-top:auto;margin-bottom:auto}.bs-mid .brand{margin-bottom:40px}.bs-mid .brand .logo{width:44px;height:44px}.bs-mid .eyebrow{margin-bottom:22px}.bs-mid h1{font-family:'Archivo';font-weight:800;font-size:clamp(2rem,3vw,2.9rem);line-height:1.05;letter-spacing:-.02em;margin-bottom:20px}.bs-mid h1 em{font-style:normal;color:var(--gold)}.bs-mid p{color:var(--text-ondark);max-width:42ch;font-size:1.02rem}.bs-points{display:flex;flex-direction:column;gap:14px;margin-top:34px}.bs-points .p{display:flex;gap:12px;align-items:center;color:var(--text-ondark);font-size:.95rem}.bs-points .p svg{width:20px;height:20px;flex:none}.bs-bot{font-family:'IBM Plex Mono';font-size:.72rem;letter-spacing:.06em;color:var(--text-ondark-dim);display:flex;justify-content:space-between}.formside{display:flex;align-items:center;justify-content:center;padding:40px;background:var(--bone)}.formcard{width:100%;max-width:400px}.formcard .kick{font-family:'IBM Plex Mono';font-size:.72rem;letter-spacing:.18em;text-transform:uppercase;color:#b58912;margin-bottom:12px}.formcard h2{font-family:'Archivo';font-weight:800;font-size:1.9rem;color:var(--navy);letter-spacing:-.02em;margin-bottom:8px}.formcard .sub{color:var(--text-soft);font-size:.95rem;margin-bottom:34px}.formcard .field label{color:var(--text-soft)}.formcard .field input{border:1px solid var(--line);background:#fff;color:var(--text)}.formcard .field input::placeholder{color:#a9a296}.btn-sso{width:100%;justify-content:center;padding:.9rem;background:#fff;border:1px solid var(--line);color:var(--navy);gap:10px}.btn-sso:hover{border-color:var(--navy)}.help{margin-top:30px;padding-top:22px;border-top:1px solid var(--line);font-size:.88rem;color:var(--text-soft);text-align:center}.help a{color:#b58912;font-weight:600}
@media(max-width:860px){.split{grid-template-columns:1fr}.brandside{display:none}.customer-login-page{overflow:auto;height:auto}.formside{min-height:100vh}}

/* Shared dashboard/sidebar/admin wireframe */
.admin-console-shell,.customer-dashboard-shell{display:flex;min-height:100vh}.admin-console-shell{background:var(--obsidian);color:var(--bone)}.customer-dashboard-shell{background:var(--sand);color:var(--ink)}.side{width:248px;flex:none;background:#0e0c08;border-right:1px solid var(--line-dark);display:flex;flex-direction:column;padding:22px 16px;position:sticky;top:0;height:100vh}.customer-side{background:var(--obsidian);color:var(--bone);border-right:0}.side .brand{display:flex;align-items:center;gap:11px;padding:6px 8px 22px;border-bottom:1px solid var(--line-dark);margin-bottom:16px}.side .brand .logo{width:30px;height:30px;color:var(--bone)}.side .brand .nm{font-family:'Archivo';font-weight:800;font-size:1rem;line-height:1;color:var(--bone)}.side .brand .sub{font-family:'IBM Plex Mono';font-size:.5rem;letter-spacing:.2em;color:var(--gold-soft);text-transform:uppercase;margin-top:3px}.customer-side .brand .sub{color:var(--text-ondark-dim)}.navg{font-family:'IBM Plex Mono';font-size:.6rem;letter-spacing:.16em;text-transform:uppercase;color:var(--text-ondark-dim);padding:14px 10px 8px}.nl{display:flex;align-items:center;gap:12px;padding:10px;border-radius:9px;color:var(--text-ondark-dim);font-size:.9rem;font-weight:500;transition:.15s;margin-bottom:2px}.nl svg{width:19px;height:19px;flex:none}.nl:hover{background:rgba(247,243,234,.05);color:var(--bone)}.nl.active{background:var(--oxblood);color:var(--bone)}.nl.active svg{stroke:var(--gold)}.side .foot{margin-top:auto;padding:14px 10px 4px;border-top:1px solid var(--line-dark);font-family:'IBM Plex Mono';font-size:.6rem;color:var(--text-ondark-dim);letter-spacing:.06em}.side .foot .d{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--green);box-shadow:0 0 8px var(--green);margin-right:8px}.main{flex:1;display:flex;flex-direction:column;min-width:0}.top{height:68px;background:var(--graphite);border-bottom:1px solid var(--line-dark);display:flex;align-items:center;justify-content:space-between;padding:0 30px;position:sticky;top:0;z-index:10}.top h2{font-family:'Archivo';font-weight:700;font-size:1.05rem}.top .right,.top .actions{display:flex;align-items:center;gap:18px}.search{background:#0e0c08;border:1px solid var(--line-dark);border-radius:9px;padding:.5rem .9rem;font-family:'IBM Plex Sans';font-size:.85rem;color:var(--bone);width:240px}.search::placeholder{color:var(--text-ondark-dim)}.user{display:flex;align-items:center;gap:9px}.user .uav{width:32px;height:32px;border-radius:50%;background:var(--oxblood);color:var(--gold);display:flex;align-items:center;justify-content:center;font-size:.78rem;font-weight:700}.badge-int{font-family:'IBM Plex Mono';font-size:.6rem;letter-spacing:.12em;text-transform:uppercase;color:var(--gold-soft);border:1px solid rgba(243,184,30,.3);background:rgba(243,184,30,.08);padding:.3rem .6rem;border-radius:999px}.signout{font-family:'IBM Plex Mono';font-size:.68rem;letter-spacing:.08em;text-transform:uppercase;color:var(--text-ondark-dim)}.signout:hover{color:var(--gold-soft)}.content{padding:30px;max-width:1240px}.ph{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:24px;flex-wrap:wrap;gap:14px}.ph h1{font-family:'Archivo';font-weight:800;font-size:1.7rem;letter-spacing:-.02em}.ph p{color:var(--text-soft);font-size:.9rem;margin-top:5px}.kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:26px}.kpi{background:var(--graphite);border:1px solid var(--line-dark);border-radius:13px;padding:18px}.kpi .n{font-family:'Archivo';font-weight:800;font-size:1.8rem;color:var(--gold)}.kpi .l{font-size:.76rem;color:var(--text-soft);margin-top:3px}.panel{background:var(--graphite);border:1px solid var(--line-dark);border-radius:14px;overflow:hidden}.panel .ph2{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;border-bottom:1px solid var(--line-dark)}.panel .ph2 .t{font-family:'Archivo';font-weight:700;font-size:1.05rem}.panel .ph2 .mono{font-size:.68rem;color:var(--text-soft);letter-spacing:.1em}table{width:100%;border-collapse:collapse}th{font-family:'IBM Plex Mono';font-size:.62rem;letter-spacing:.12em;text-transform:uppercase;color:var(--text-soft);text-align:left;padding:13px 22px;border-bottom:1px solid var(--line-dark);font-weight:500}td{padding:15px 22px;border-bottom:1px solid var(--line-dark);font-size:.9rem;vertical-align:middle}tr:last-child td{border-bottom:none}tr:hover td{background:rgba(247,243,234,.02)}.cust{display:flex;align-items:center;gap:11px}.cust .ca{width:32px;height:32px;border-radius:8px;background:var(--oxblood);color:var(--gold);display:flex;align-items:center;justify-content:center;font-family:'Archivo';font-weight:800;font-size:.74rem;flex:none}.cust .cn{font-weight:600;font-size:.9rem}.cust .ci{font-size:.74rem;color:var(--text-soft)}.pill{font-family:'IBM Plex Mono';font-size:.62rem;letter-spacing:.08em;text-transform:uppercase;padding:.28rem .6rem;border-radius:999px;display:inline-block}.pill.ok{background:rgba(61,220,132,.12);color:var(--green)}.pill.warn{background:rgba(243,184,30,.14);color:var(--gold-soft)}.pill.off{background:rgba(247,243,234,.08);color:var(--text-soft)}.prodtags{display:flex;gap:6px;flex-wrap:wrap}.ptag{font-family:'IBM Plex Mono';font-size:.6rem;letter-spacing:.06em;padding:.22rem .5rem;border-radius:6px;border:1px solid var(--line-dark);color:var(--text-ondark-dim)}.ptag.on{border-color:rgba(243,184,30,.4);color:var(--gold-soft);background:rgba(243,184,30,.08)}.rowact{color:var(--text-soft)}.grid2{display:grid;grid-template-columns:1fr 360px;gap:18px;margin-top:18px}.feat{padding:18px 22px}.fr{display:flex;align-items:center;justify-content:space-between;padding:11px 0;border-bottom:1px solid var(--line-dark)}.fr:last-child{border:none}.fr .fn{font-size:.88rem}.fr .fd{font-size:.74rem;color:var(--text-soft)}.tog{width:38px;height:22px;border-radius:999px;background:rgba(247,243,234,.12);position:relative;flex:none}.tog.on{background:var(--gold)}.tog::after{content:"";position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#fff;transition:.2s}.tog.on::after{left:19px;background:var(--obsidian)}.summary-panel{padding:0}.summary-body{padding:20px 22px}.summary-line{display:flex;justify-content:space-between;font-size:.86rem;margin-bottom:14px}.manage-license{width:100%;justify-content:center;margin-top:6px;text-align:center}.loading-panel,.access-denied-card{padding:28px}.access-denied-body{padding:22px}.access-denied-body h1{font-family:'Archivo';font-size:1.6rem;margin-bottom:10px}
@media(max-width:900px){.kpis{grid-template-columns:1fr 1fr}}@media(max-width:980px){.grid2{grid-template-columns:1fr}}

/* Customer dashboard wireframe */
.customer-main{background:var(--sand);color:var(--ink)}.customer-top{background:var(--bone);border-bottom:1px solid var(--line)}.customer-top .org{display:flex;align-items:center;gap:11px}.customer-top .org .av{width:34px;height:34px;border-radius:8px;background:var(--oxblood);color:var(--gold);display:flex;align-items:center;justify-content:center;font-family:'Archivo';font-weight:800;font-size:.9rem}.customer-top .org .n{font-weight:600;font-size:.92rem;line-height:1.1}.customer-top .org .r{font-size:.74rem;color:var(--text-soft)}.customer-top .ic{width:20px;height:20px;color:var(--text-soft);position:relative}.customer-top .dot{position:absolute;top:-2px;right:-2px;width:7px;height:7px;border-radius:50%;background:var(--gold);border:1.5px solid var(--bone)}.customer-top .user{padding-left:18px;border-left:1px solid var(--line);color:var(--ink)}.customer-top .user .uav{background:var(--graphite);color:var(--bone)}.customer-content{padding:34px 32px;max-width:1180px}.pagehead{margin-bottom:28px}.pagehead .ey{font-family:'IBM Plex Mono';font-size:.68rem;letter-spacing:.16em;text-transform:uppercase;color:#9a4a1a;margin-bottom:8px}.pagehead h1{font-family:'Archivo';font-weight:800;font-size:1.9rem;letter-spacing:-.02em}.pagehead p{color:var(--text-soft);margin-top:6px}.sec-t{font-family:'IBM Plex Mono';font-size:.68rem;letter-spacing:.14em;text-transform:uppercase;color:var(--text-soft);margin:0 0 16px;display:flex;align-items:center;gap:10px}.sec-t::after{content:"";flex:1;height:1px;background:var(--line)}.prods{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:36px}.customer-dashboard-shell .pcard{min-height:210px}.pcard.active{border-color:rgba(15,23,41,.25)}.pcard .ring{width:46px;height:46px;margin-bottom:auto}.pcard .ta{font-family:'IBM Plex Mono';font-size:.66rem;letter-spacing:.12em;text-transform:uppercase;color:var(--text-soft);margin-bottom:14px}.pcard .open{display:inline-flex;align-items:center;gap:7px;font-family:'IBM Plex Mono';font-size:.74rem;letter-spacing:.05em;text-transform:uppercase;color:#0F1729;font-weight:600}.pcard .badge{position:absolute;top:20px;right:20px;font-family:'IBM Plex Mono';font-size:.58rem;letter-spacing:.1em;text-transform:uppercase;padding:.28rem .6rem;border-radius:999px}.active-badge{background:rgba(243,184,30,.15);color:#9a7611}.muted-badge{background:var(--sand);color:var(--text-soft)}.pcard.locked{background:repeating-linear-gradient(135deg,#fdfcf9,#fdfcf9 18px,#f7f4ec 18px,#f7f4ec 36px);opacity:.92}.pcard.locked svg{width:40px;height:40px;color:#8A8175}.pcard.locked h3{color:var(--text-soft)}.lockbtn{display:inline-flex;align-items:center;gap:7px;font-family:'IBM Plex Mono';font-size:.72rem;letter-spacing:.05em;text-transform:uppercase;color:var(--text-soft)}.row2{display:grid;grid-template-columns:1.3fr 1fr;gap:18px}.customer-dashboard-shell .panel{background:#fff;border:1px solid var(--line);border-radius:15px;padding:24px;color:var(--ink)}.panel-title{margin-top:0}.stat-row{display:flex;gap:14px;margin-bottom:18px}.stat{flex:1;background:var(--sand);border-radius:11px;padding:16px}.stat .n{font-family:'Archivo';font-weight:800;font-size:1.7rem;color:var(--oxblood)}.stat .l{font-size:.74rem;color:var(--text-soft);margin-top:2px}.readiness-line{font-size:.82rem;color:var(--text-soft);margin-bottom:4px;display:flex;justify-content:space-between}.readiness-line span:last-child{font-weight:600;color:var(--ink)}.bar{height:9px;border-radius:5px;background:var(--sand);overflow:hidden;margin:6px 0 4px}.bar>div{height:100%;background:linear-gradient(90deg,var(--oxblood),var(--gold))}.bar-92{width:92%}.sync-note{font-size:.68rem;color:var(--ash);margin-top:10px}.act{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);font-size:.86rem}.act:last-child{border:none}.act .ad{width:8px;height:8px;border-radius:50%;background:var(--gold);margin-top:6px;flex:none}.act .am{font-family:'IBM Plex Mono';font-size:.68rem;color:var(--ash);margin-left:auto;white-space:nowrap}
@media(max-width:980px){.prods{grid-template-columns:1fr 1fr}.row2{grid-template-columns:1fr}}

.prometheus-loading{padding:40px;font-family:'IBM Plex Mono';color:var(--gold);background:var(--obsidian);min-height:100vh}.pp-public-shell{min-height:100vh}.small-date{font-size:.78rem}

/* v0.3g licence management action refinements — preserve admin-console wireframe */
.selected-row td{background:rgba(243,184,30,.035)}
.row-select-button{appearance:none;border:0;background:transparent;color:inherit;padding:0;margin:0;text-align:left;font:inherit;cursor:pointer;width:100%}
.row-select-button:hover .cn{color:var(--gold-soft)}
.row-action-button{appearance:none;border:0;background:transparent;font:inherit;cursor:pointer;padding:.25rem .45rem;border-radius:6px}
.row-action-button:hover{background:rgba(247,243,234,.08);color:var(--gold-soft)}
.tog-button{appearance:none;border:0;background:transparent;padding:0;margin:0;cursor:pointer;display:flex;align-items:center;justify-content:center}
.tog-button:disabled{cursor:wait;opacity:.65}
.tog-button:focus-visible{outline:2px solid var(--gold);outline-offset:4px;border-radius:999px}
.action-status-panel{margin-bottom:18px;border-color:rgba(243,184,30,.25)}


/* INC03.01 Product Catalogue read-only workbench */
.product-catalogue-workbench .selected-row td{background:rgba(243,184,30,.05)}
.product-catalogue-workbench .row-select-button{appearance:none;background:transparent;border:0;color:inherit;text-align:left;padding:0;width:100%;font:inherit;cursor:pointer}
.product-catalogue-workbench .row-select-button:hover .cn{color:var(--gold-soft)}
.product-catalogue-detail-grid{grid-template-columns:1fr 420px}
.product-catalogue-detail-panel{min-height:220px}
.product-summary-body{min-height:170px}
.product-summary-copy{font-size:.9rem;line-height:1.55;margin-bottom:14px;color:var(--text-soft)}
.app-list-body{display:flex;flex-direction:column;gap:12px}
.application-card{border:1px solid var(--line-dark);border-radius:12px;padding:13px;background:rgba(247,243,234,.025)}
.application-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:6px}
.product-feature-panel{margin-top:18px}
.product-feature-panel td .cn{font-weight:700}
.product-feature-panel td .ci{font-family:'IBM Plex Mono';font-size:.68rem;color:var(--text-soft);margin-top:4px}
@media(max-width:980px){.product-catalogue-detail-grid{grid-template-columns:1fr}.product-catalogue-workbench .kpis{grid-template-columns:repeat(2,1fr)}}

/* INC03.02 Product Catalogue product edit */
.product-edit-button{margin-top:14px}
.product-edit-form{display:flex;flex-direction:column;gap:14px}
.product-edit-form label{display:flex;flex-direction:column;gap:7px;font-size:.86rem;color:var(--text-ondark)}
.product-edit-form label span{font-family:'IBM Plex Mono';font-size:.66rem;letter-spacing:.12em;text-transform:uppercase;color:var(--text-soft)}
.product-edit-form input,.product-edit-form textarea{width:100%;border:1px solid var(--line-dark);background:rgba(21,18,14,.42);color:var(--bone);border-radius:10px;padding:11px 12px;font:inherit;outline:none}
.product-edit-form input:focus,.product-edit-form textarea:focus{border-color:rgba(243,184,30,.65);box-shadow:0 0 0 3px rgba(243,184,30,.12)}
.product-edit-form input[readonly]{color:var(--text-soft);background:rgba(247,243,234,.04)}
.product-edit-form textarea{resize:vertical;min-height:96px}
.product-edit-form .form-grid.two{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.product-edit-form .check-line{flex-direction:row;align-items:center;gap:10px;color:var(--text-ondark)}
.product-edit-form .check-line input{width:18px;height:18px;accent-color:var(--gold)}
.product-edit-form .check-line span{font-family:'IBM Plex Sans';font-size:.9rem;letter-spacing:0;text-transform:none;color:var(--text-ondark)}
.product-edit-form .form-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:4px}
.error-panel{border-color:rgba(224,80,72,.38)}
.error-panel .access-denied-body p{color:#ffb8b3}
@media(max-width:720px){.product-edit-form .form-grid.two{grid-template-columns:1fr}}

/* INC02.02 Supportable error page and audited error handling */
.prometheus-error-page{min-height:100vh;background:radial-gradient(circle at 70% 20%,rgba(243,184,30,.13),transparent 32%),linear-gradient(135deg,var(--obsidian),#251b17);color:var(--bone);display:flex;align-items:center;justify-content:center;padding:42px 24px}
.prometheus-error-shell{width:min(980px,100%)}
.prometheus-error-card{border:1px solid rgba(224,80,72,.36);background:rgba(21,18,14,.9);box-shadow:0 24px 80px rgba(0,0,0,.32);border-radius:24px;padding:34px}
.prometheus-error-kicker{font-family:'IBM Plex Mono';font-size:.72rem;letter-spacing:.18em;text-transform:uppercase;color:#ffb8b3;margin-bottom:12px}
.prometheus-error-card h1{font-family:'Archivo';font-size:clamp(2rem,4vw,3.2rem);line-height:1;margin:0 0 16px;color:var(--bone)}
.prometheus-error-copy{font-size:1rem;line-height:1.65;color:var(--text-ondark-dim);max-width:760px;margin:0 0 24px}
.prometheus-error-reference{border:1px solid rgba(243,184,30,.32);background:rgba(243,184,30,.08);border-radius:16px;padding:18px 20px;margin:22px 0;display:flex;align-items:center;justify-content:space-between;gap:16px}
.prometheus-error-reference span,.prometheus-error-grid span,.prometheus-error-detail span{font-family:'IBM Plex Mono';font-size:.67rem;letter-spacing:.14em;text-transform:uppercase;color:var(--text-soft)}
.prometheus-error-reference strong{font-family:'IBM Plex Mono';letter-spacing:.05em;color:var(--gold-soft);font-size:1rem;text-align:right;word-break:break-word}
.prometheus-error-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;margin:20px 0}
.prometheus-error-grid>div{border:1px solid var(--line-dark);background:rgba(247,243,234,.035);border-radius:14px;padding:15px}
.prometheus-error-grid strong{display:block;margin-top:7px;color:var(--bone);font-size:.9rem;word-break:break-word}
.prometheus-error-detail{border:1px solid rgba(224,80,72,.32);background:rgba(224,80,72,.07);border-radius:16px;padding:18px 20px;margin-top:18px}
.prometheus-error-detail p{margin:8px 0 0;color:#ffcac6;line-height:1.55;word-break:break-word}
.prometheus-error-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}
@media(max-width:760px){.prometheus-error-grid{grid-template-columns:1fr}.prometheus-error-reference{align-items:flex-start;flex-direction:column}.prometheus-error-reference strong{text-align:left}}

/* INC03.02.01 Product Catalogue compact edit UX */
.product-catalogue-workbench .compact-kpis{margin-bottom:14px}
.product-catalogue-workbench .product-list-panel{margin-bottom:14px}
.product-workbench-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0 14px}
.product-workbench-tab{appearance:none;border:1px solid var(--line-dark);background:rgba(247,243,234,.035);color:var(--text-ondark-dim);border-radius:999px;padding:.72rem 1rem;font-family:'IBM Plex Mono';font-size:.7rem;letter-spacing:.08em;text-transform:uppercase;cursor:pointer}
.product-workbench-tab span{margin-left:.4rem;color:var(--gold-soft)}
.product-workbench-tab:hover{border-color:rgba(243,184,30,.38);color:var(--bone)}
.product-workbench-tab.active{border-color:rgba(243,184,30,.72);background:rgba(243,184,30,.14);color:var(--gold-soft)}
.compact-edit-panel{min-height:0}
.compact-summary-body{padding-top:16px}
.product-summary-compact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 22px;margin-top:12px}
.compact-summary-line{margin-bottom:6px;border-bottom:1px solid rgba(247,243,234,.06);padding-bottom:8px}
.product-edit-sticky-bar{position:sticky;top:12px;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:-4px -4px 14px;padding:13px 14px;border:1px solid rgba(243,184,30,.28);border-radius:14px;background:rgba(21,18,14,.96);box-shadow:0 12px 28px rgba(0,0,0,.24)}
.product-edit-title{font-family:'Archivo';font-weight:800;color:var(--bone);font-size:1rem;line-height:1.1}
.product-edit-subtitle{font-size:.78rem;color:var(--text-soft);margin-top:3px}
.product-edit-actions-mini{display:flex;gap:8px;align-items:center;flex:none}
.product-edit-actions-mini .btn{padding:.72rem 1rem;min-height:0}
.inline-validation-panel{display:flex;align-items:flex-start;gap:12px;border-radius:13px;border:1px solid var(--line-dark);padding:12px 14px;margin:10px 0;background:rgba(247,243,234,.035);font-size:.86rem;line-height:1.45}
.inline-validation-panel strong{font-family:'Archivo';font-size:.9rem;white-space:nowrap;color:var(--bone)}
.inline-validation-panel span{color:var(--text-ondark-dim)}
.inline-validation-panel.error{border-color:rgba(224,80,72,.5);background:rgba(224,80,72,.08)}
.inline-validation-panel.error strong,.inline-validation-panel.error span{color:#ffb8b3}
.inline-validation-panel.success{border-color:rgba(61,220,132,.42);background:rgba(61,220,132,.08)}
.inline-validation-panel.success strong{color:var(--green)}
.inline-validation-panel.neutral{border-color:rgba(243,184,30,.28);background:rgba(243,184,30,.06)}
.inline-validation-panel.neutral strong{color:var(--gold-soft)}
.product-edit-tabs{display:flex;gap:8px;flex-wrap:wrap;border-bottom:1px solid var(--line-dark);padding-bottom:10px;margin-top:12px}
.product-edit-tab{appearance:none;border:1px solid transparent;background:transparent;color:var(--text-soft);border-radius:10px;padding:.58rem .8rem;font-family:'IBM Plex Mono';font-size:.66rem;letter-spacing:.08em;text-transform:uppercase;cursor:pointer}
.product-edit-tab:hover{border-color:rgba(247,243,234,.14);color:var(--bone);background:rgba(247,243,234,.04)}
.product-edit-tab.active{border-color:rgba(243,184,30,.5);background:rgba(243,184,30,.12);color:var(--gold-soft)}
.product-edit-tab-panel{padding-top:14px;display:flex;flex-direction:column;gap:12px}
.product-edit-tab-panel .form-help{font-size:.78rem;color:var(--text-soft);line-height:1.45;margin:0}
.compact-section-panel{margin-top:0}
.compact-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.compact-card-grid .application-card{min-height:105px}
@media(max-width:980px){.product-summary-compact-grid,.compact-card-grid{grid-template-columns:1fr}.product-edit-sticky-bar{position:static;align-items:flex-start;flex-direction:column}.product-edit-actions-mini{width:100%}.product-edit-actions-mini .btn{flex:1;text-align:center;justify-content:center}}

/* INC03.03 Product Feature Catalogue edit */
.feature-edit-form{margin:14px 0 18px;border:1px solid rgba(243,184,30,.24);border-radius:18px;padding:14px;background:rgba(247,243,234,.025)}
.feature-edit-sticky-bar{top:10px}
.feature-toggle-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px}
.feature-toggle-grid label:not(.check-line){display:flex;flex-direction:column;gap:7px}
.feature-toggle-grid input[type=number]{max-width:180px}
.row-mini-action{appearance:none;border:1px solid rgba(243,184,30,.34);border-radius:999px;background:rgba(243,184,30,.08);color:var(--gold-soft);font-family:'IBM Plex Mono';font-size:.66rem;letter-spacing:.08em;text-transform:uppercase;padding:.48rem .72rem;cursor:pointer;white-space:nowrap}
.row-mini-action:hover{border-color:rgba(243,184,30,.7);background:rgba(243,184,30,.16);color:var(--gold)}
.product-feature-panel .selected-row{background:rgba(243,184,30,.08)}
@media(max-width:760px){.feature-toggle-grid{grid-template-columns:1fr}.row-mini-action{width:100%;text-align:center}}

/* INC03.03.02 Product Feature Catalogue table overflow and visible actions */
.feature-table-scroll{width:100%;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;border-top:1px solid var(--line-dark);scrollbar-color:rgba(243,184,30,.6) rgba(247,243,234,.08);scrollbar-width:thin}
.feature-table-scroll::-webkit-scrollbar{height:12px}.feature-table-scroll::-webkit-scrollbar-track{background:rgba(247,243,234,.06);border-radius:999px}.feature-table-scroll::-webkit-scrollbar-thumb{background:rgba(243,184,30,.55);border-radius:999px;border:2px solid rgba(21,18,14,.9)}
.feature-catalogue-table{min-width:1120px;width:100%;table-layout:fixed}
.feature-catalogue-table th,.feature-catalogue-table td{white-space:normal;overflow-wrap:anywhere;vertical-align:middle}
.feature-catalogue-table .feature-col-main{width:300px}.feature-catalogue-table th:nth-child(2),.feature-catalogue-table td:nth-child(2){width:170px}.feature-catalogue-table th:nth-child(3),.feature-catalogue-table td:nth-child(3){width:130px}.feature-catalogue-table th:nth-child(4),.feature-catalogue-table td:nth-child(4){width:120px}.feature-catalogue-table th:nth-child(5),.feature-catalogue-table td:nth-child(5),.feature-catalogue-table th:nth-child(6),.feature-catalogue-table td:nth-child(6){width:110px;text-align:center}.feature-catalogue-table th:nth-child(7),.feature-catalogue-table td:nth-child(7){width:135px}
.feature-catalogue-table .feature-action-col{position:sticky;right:0;width:118px;z-index:2;text-align:right;background:var(--graphite);box-shadow:-14px 0 18px -18px rgba(0,0,0,.9)}
.feature-catalogue-table th.feature-action-col{z-index:3;background:var(--graphite)}
.feature-catalogue-table tr:hover td.feature-action-col,.feature-catalogue-table tr.selected-row td.feature-action-col{background:#262119}
.feature-catalogue-table .row-mini-action{display:inline-flex;align-items:center;justify-content:center;min-width:72px}
@media(max-width:1200px){.feature-catalogue-table{min-width:1040px}.feature-catalogue-table .feature-col-main{width:270px}}

/* INC03.04.01 Product Feature Catalogue usability guidance and pagination */
.feature-workbench-guide{display:grid;grid-template-columns:minmax(260px,.95fr) 1.35fr;gap:18px;align-items:start;border:1px solid rgba(243,184,30,.26);background:linear-gradient(135deg,rgba(243,184,30,.08),rgba(247,243,234,.025));border-radius:16px;padding:16px 18px;margin:12px 0 14px}
.feature-workbench-guide strong{font-family:'Archivo';font-size:1rem;color:var(--bone)}
.feature-workbench-guide p{margin-top:5px;color:var(--text-ondark-dim);font-size:.88rem;line-height:1.5}
.feature-guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.feature-guide-grid span{border:1px solid rgba(247,243,234,.10);background:rgba(21,18,14,.26);border-radius:13px;padding:11px 12px;color:var(--text-ondark-dim);font-size:.8rem;line-height:1.4}
.feature-guide-grid span strong{display:block;color:var(--gold-soft);font-family:'IBM Plex Mono';font-size:.64rem;letter-spacing:.11em;text-transform:uppercase;margin-bottom:4px}
.feature-editor-anchor{position:relative;top:-12px;height:1px;width:100%;overflow:hidden}
.feature-form-guide{display:flex;flex-direction:column;gap:4px;border:1px solid rgba(247,243,234,.10);background:rgba(247,243,234,.04);border-radius:13px;padding:11px 13px;margin:-2px 0 10px}
.feature-form-guide strong{font-family:'Archivo';font-size:.92rem;color:var(--bone)}
.feature-form-guide span{font-size:.82rem;color:var(--text-ondark-dim);line-height:1.45}
.product-edit-form .field-block{display:flex;flex-direction:column;gap:7px}
.product-edit-form .field-label{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:var(--bone);font-family:'IBM Plex Mono';font-size:.68rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
.field-required,.field-optional,.field-locked{font-style:normal;font-family:'IBM Plex Mono';font-size:.58rem;line-height:1;letter-spacing:.08em;text-transform:uppercase;border-radius:999px;padding:.24rem .42rem;border:1px solid transparent}
.field-required{color:#2A1900;background:var(--gold);border-color:var(--gold)}
.field-optional{color:var(--text-ondark-dim);background:rgba(247,243,234,.06);border-color:rgba(247,243,234,.14)}
.field-locked{color:#d9cab4;background:rgba(247,243,234,.09);border-color:rgba(247,243,234,.22)}
.product-edit-form .field-help{display:block;color:rgba(247,243,234,.58);font-size:.76rem;line-height:1.42;margin-top:-1px}
.product-edit-form input[readonly],.product-edit-form input:disabled,.product-edit-form textarea:disabled{background:rgba(247,243,234,.13);border-color:rgba(247,243,234,.30);color:var(--bone);opacity:1;cursor:not-allowed;box-shadow:inset 0 0 0 1px rgba(247,243,234,.04)}
.product-edit-form input[readonly]::placeholder,.product-edit-form input:disabled::placeholder{color:rgba(247,243,234,.46)}
.feature-behaviour-explain{margin-top:0}
.feature-toggle-grid .check-line{align-items:flex-start;background:rgba(247,243,234,.035);border:1px solid rgba(247,243,234,.10);border-radius:13px;padding:11px 12px}
.feature-toggle-grid .check-line span{display:flex;flex-direction:column;gap:3px;color:var(--bone)}
.feature-toggle-grid .check-line span small{font-size:.74rem;line-height:1.35;color:var(--text-ondark-dim)}
.feature-list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:14px 0 10px;padding:12px 14px;border:1px solid rgba(247,243,234,.10);background:rgba(247,243,234,.035);border-radius:14px}
.feature-list-toolbar strong{font-family:'Archivo';color:var(--bone);font-size:.94rem;margin-right:8px}
.feature-list-toolbar span{color:var(--text-ondark-dim);font-size:.82rem}
.feature-pagination{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.feature-pagination .mono{font-size:.7rem;color:var(--text-ondark-dim)}
.row-mini-action:disabled{opacity:.48;cursor:not-allowed;background:rgba(247,243,234,.04);border-color:rgba(247,243,234,.12);color:rgba(247,243,234,.48)}
.row-mini-action:disabled:hover{transform:none;background:rgba(247,243,234,.04);border-color:rgba(247,243,234,.12);color:rgba(247,243,234,.48)}
@media(max-width:980px){.feature-workbench-guide{grid-template-columns:1fr}.feature-guide-grid{grid-template-columns:1fr}.feature-list-toolbar{align-items:flex-start;flex-direction:column}.feature-pagination{width:100%;justify-content:space-between}}

/* INC02.04 Generic page help and guidance framework */
.portal-help-panel{margin:12px 0 16px;border:1px solid rgba(243,184,30,.22);border-radius:16px;background:rgba(247,243,234,.025);overflow:hidden}
.portal-help-toggle{appearance:none;width:100%;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:13px;padding:13px 15px;border:0;background:transparent;color:var(--bone);text-align:left;cursor:pointer}
.portal-help-toggle:hover{background:rgba(243,184,30,.055)}
.portal-help-icon{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:999px;border:1px solid rgba(243,184,30,.42);background:rgba(243,184,30,.10);color:var(--gold-soft);font-family:'IBM Plex Mono';font-size:.8rem;font-weight:700}
.portal-help-copy{display:flex;flex-direction:column;gap:3px;min-width:0}
.portal-help-kicker{font-family:'IBM Plex Mono';font-size:.62rem;letter-spacing:.12em;text-transform:uppercase;color:var(--gold-soft)}
.portal-help-copy strong{font-family:'Archivo';font-size:1rem;color:var(--bone)}
.portal-help-copy span:last-child{font-size:.84rem;line-height:1.42;color:var(--text-ondark-dim)}
.portal-help-action{justify-self:end;border:1px solid rgba(247,243,234,.14);border-radius:999px;padding:.42rem .7rem;font-family:'IBM Plex Mono';font-size:.62rem;letter-spacing:.10em;text-transform:uppercase;color:var(--text-ondark-dim);white-space:nowrap;background:rgba(247,243,234,.035)}
.portal-help-panel.expanded .portal-help-action{border-color:rgba(243,184,30,.42);color:var(--gold-soft);background:rgba(243,184,30,.08)}
.portal-help-content{border-top:1px solid rgba(247,243,234,.09);padding:12px 15px 14px 58px;background:rgba(21,18,14,.20)}
.portal-help-content p{margin:.35rem 0;color:var(--text-ondark-dim);font-size:.84rem;line-height:1.5}
.portal-help-content p:first-child{margin-top:0}.portal-help-content p:last-child{margin-bottom:0}
@media(max-width:760px){.portal-help-toggle{grid-template-columns:auto minmax(0,1fr);align-items:flex-start}.portal-help-action{grid-column:1/-1;justify-self:start;margin-left:43px}.portal-help-content{padding-left:15px}}

/* INC03.04.02 Product feature screen calm-down after generic help framework */
.product-feature-panel .portal-help-panel{margin-top:10px;margin-bottom:12px}
.feature-edit-form{border-color:rgba(247,243,234,.14);background:rgba(247,243,234,.018);box-shadow:none}
.feature-edit-form:focus-within{border-color:rgba(243,184,30,.28)}
.feature-form-summary{display:flex;align-items:center;gap:10px;flex-wrap:wrap;border:1px solid rgba(247,243,234,.10);background:rgba(247,243,234,.025);border-radius:12px;padding:9px 11px;margin:-2px 0 8px;color:var(--text-ondark-dim);font-size:.8rem;line-height:1.4}
.feature-form-summary .mono{font-size:.62rem;color:var(--gold-soft)}
.feature-workbench-guide,.feature-form-guide{display:none}


/* INC03.04.02 - feature catalogue modal simplification */
.product-feature-panel{position:relative}
.product-feature-panel .portal-help-panel{margin:10px 0 12px}
.product-feature-panel .portal-help-panel.collapsed{background:rgba(247,243,234,.018);border-color:rgba(247,243,234,.10)}
.product-feature-panel .portal-help-panel.collapsed .portal-help-toggle{padding:10px 13px}
.product-feature-panel .portal-help-panel.collapsed .portal-help-copy span:last-child{display:none}
.product-feature-panel .portal-help-action{font-size:.58rem;padding:.36rem .62rem}
.feature-list-toolbar{margin:10px 0 8px;padding:10px 12px}
.feature-table-scroll{border-radius:0 0 16px 16px}
.feature-catalogue-table td{padding-top:13px;padding-bottom:13px}
.product-feature-panel .selected-row{background:rgba(243,184,30,.06)}
.portal-modal-backdrop{position:fixed;inset:0;z-index:2400;display:flex;align-items:center;justify-content:center;padding:28px;background:rgba(4,3,2,.72);backdrop-filter:blur(5px)}
.portal-modal{width:min(980px,calc(100vw - 48px));max-height:calc(100vh - 56px);border:1px solid rgba(243,184,30,.34);border-radius:22px;background:linear-gradient(180deg,#1f1a14,#15120e);box-shadow:0 24px 80px rgba(0,0,0,.62);overflow:hidden;color:var(--bone)}
.portal-modal-form{display:flex;flex-direction:column;max-height:calc(100vh - 56px)}
.portal-modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:18px 20px;border-bottom:1px solid rgba(247,243,234,.10);background:rgba(247,243,234,.035)}
.portal-modal-header h2{font-family:'Archivo';font-size:1.2rem;margin:4px 0 4px;color:var(--bone)}
.portal-modal-header p{margin:0;color:var(--text-ondark-dim);font-size:.86rem;line-height:1.45}
.portal-modal-header .mono{font-size:.62rem;color:var(--gold-soft)}
.portal-modal-close{appearance:none;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:999px;border:1px solid rgba(247,243,234,.14);background:rgba(247,243,234,.04);color:var(--bone);font-size:1.4rem;line-height:1;cursor:pointer}
.portal-modal-close:hover{border-color:rgba(243,184,30,.42);background:rgba(243,184,30,.08);color:var(--gold-soft)}
.portal-modal-body{padding:16px 20px 20px;overflow:auto;min-height:0}
.portal-modal-footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:14px 20px;border-top:1px solid rgba(247,243,234,.10);background:rgba(10,8,6,.78)}
.feature-edit-modal .feature-form-summary{margin:0 0 12px}
.feature-edit-modal .modal-edit-tabs{margin:8px 0 10px}
.feature-edit-modal .modal-tab-panel{padding-top:6px}
.feature-edit-modal .form-grid.two{gap:12px}
.feature-edit-modal textarea{min-height:104px}
.feature-edit-modal .field-help{font-size:.73rem}
.feature-edit-modal .check-line{min-height:64px}
.feature-edit-modal .modal-toggle-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.feature-edit-modal input[readonly],.feature-edit-modal input:disabled,.feature-edit-modal textarea:disabled{background:rgba(247,243,234,.14);border-color:rgba(247,243,234,.30);color:var(--bone);opacity:1}
body:has(.portal-modal-backdrop){overflow:hidden}
@media(max-width:840px){.portal-modal-backdrop{padding:16px;align-items:stretch}.portal-modal{width:100%;max-height:calc(100vh - 32px)}.feature-edit-modal .modal-toggle-grid,.feature-edit-modal .form-grid.two{grid-template-columns:1fr}.portal-modal-footer{justify-content:stretch}.portal-modal-footer .btn{flex:1}}


/* INC03.04.03 - repair product feature modal form layout and modal help */
.feature-edit-modal{width:min(920px,calc(100vw - 64px))}
.feature-edit-modal-form.product-edit-form{gap:0;max-height:calc(100vh - 56px)}
.feature-edit-modal .portal-modal-body{display:flex;flex-direction:column;gap:12px;padding:16px 20px 18px;overflow:auto;min-height:0}
.feature-edit-modal .feature-form-summary{margin:0;display:flex;align-items:center;gap:10px;flex-wrap:wrap;border:1px solid rgba(247,243,234,.11);background:rgba(247,243,234,.035);border-radius:13px;padding:10px 12px;color:var(--text-ondark-dim);font-size:.82rem;line-height:1.42}
.feature-edit-modal .feature-form-summary .mono{font-size:.62rem;color:var(--gold-soft);white-space:nowrap}
.feature-modal-help .portal-help-panel{margin:0;border-color:rgba(247,243,234,.12);background:rgba(247,243,234,.018)}
.feature-modal-help .portal-help-toggle{padding:10px 12px}
.feature-modal-help .portal-help-copy strong{font-size:.92rem}
.feature-modal-help .portal-help-copy span:last-child{font-size:.78rem}
.feature-modal-help .portal-help-content{padding:11px 14px 13px 54px;background:rgba(10,8,6,.28)}
.feature-modal-help .portal-help-content p{font-size:.78rem;line-height:1.45}
.feature-edit-modal .product-edit-tabs.modal-edit-tabs{margin:2px 0 0;padding:0;border-bottom:1px solid rgba(247,243,234,.10)}
.feature-edit-modal .modal-tab-panel{padding-top:12px}
.feature-edit-modal .form-grid.two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.feature-edit-modal .field-block{display:flex;flex-direction:column;gap:7px;min-width:0}
.feature-edit-modal .field-label{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:var(--bone);font-family:'IBM Plex Mono';font-size:.68rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
.feature-edit-modal input,.feature-edit-modal textarea{width:100%;box-sizing:border-box;border:1px solid var(--line-dark);background:rgba(10,9,7,.52);color:var(--bone);border-radius:10px;padding:11px 12px;font:inherit;outline:none;min-width:0}
.feature-edit-modal input:focus,.feature-edit-modal textarea:focus{border-color:rgba(243,184,30,.65);box-shadow:0 0 0 3px rgba(243,184,30,.12);background:rgba(10,9,7,.76)}
.feature-edit-modal input::placeholder,.feature-edit-modal textarea::placeholder{color:rgba(247,243,234,.45)}
.feature-edit-modal input[readonly],.feature-edit-modal input:disabled,.feature-edit-modal textarea:disabled{background:rgba(247,243,234,.12);border-color:rgba(247,243,234,.28);color:var(--bone);opacity:1;cursor:not-allowed;box-shadow:inset 0 0 0 1px rgba(247,243,234,.04)}
.feature-edit-modal .field-help{display:block;color:rgba(247,243,234,.62);font-size:.74rem;line-height:1.42;margin-top:-1px}
.feature-edit-modal textarea{resize:vertical;min-height:112px}
.feature-edit-modal .modal-toggle-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.feature-edit-modal .check-line{display:flex;align-items:flex-start;gap:10px;background:rgba(247,243,234,.035);border:1px solid rgba(247,243,234,.10);border-radius:13px;padding:11px 12px;color:var(--text-ondark);min-height:64px}
.feature-edit-modal .check-line input{width:18px;height:18px;flex:0 0 auto;margin-top:2px;accent-color:var(--gold)}
.feature-edit-modal .check-line span{display:flex;flex-direction:column;gap:3px;color:var(--bone);font-family:'IBM Plex Sans';font-size:.9rem;letter-spacing:0;text-transform:none}
.feature-edit-modal .check-line span small{font-size:.74rem;line-height:1.35;color:var(--text-ondark-dim)}
.feature-edit-modal .inline-validation-panel{margin:0}
@media(max-width:840px){.feature-edit-modal{width:100%;max-height:calc(100vh - 32px)}.feature-edit-modal .form-grid.two,.feature-edit-modal .modal-toggle-grid{grid-template-columns:1fr}.feature-modal-help .portal-help-content{padding-left:14px}}

/* INC03.04.04 - Compact modal guidance: keep help in the modal title area and reduce scroll pressure. */
.feature-edit-modal .portal-modal-header{align-items:flex-start;padding:16px 20px 12px}
.feature-edit-modal .portal-modal-header>div:first-child{min-width:0;flex:1 1 auto}
.feature-edit-modal .portal-modal-header h2{font-size:1.1rem;margin:3px 0 3px}
.feature-edit-modal .portal-modal-header p{font-size:.8rem;line-height:1.35;max-width:760px}
.feature-modal-title-help{margin-top:8px;max-width:820px}
.feature-modal-title-help .portal-help-panel{margin:0;border-color:rgba(247,243,234,.11);background:rgba(247,243,234,.018);border-radius:12px}
.feature-modal-title-help .portal-help-toggle{padding:7px 10px;gap:9px;min-height:0}
.feature-modal-title-help .portal-help-icon{width:24px;height:24px;font-size:.72rem;flex:0 0 24px}
.feature-modal-title-help .portal-help-copy strong{font-size:.78rem;line-height:1.2}
.feature-modal-title-help .portal-help-copy span{font-size:.68rem;line-height:1.25}
.feature-modal-title-help .portal-help-chevron{font-size:.72rem}
.feature-modal-title-help .portal-help-content{padding:8px 12px 10px 43px;background:rgba(10,8,6,.24)}
.feature-modal-title-help .portal-help-content p{font-size:.72rem;line-height:1.38;margin:0 0 7px}
.feature-edit-modal .portal-modal-body{padding-top:12px;gap:10px}
.feature-edit-modal .product-edit-tabs.modal-edit-tabs{margin-top:0}
.feature-edit-modal .modal-tab-panel{padding-top:10px}
@media(max-width:840px){.feature-modal-title-help .portal-help-content{padding-left:12px}.feature-edit-modal .portal-modal-header{padding:14px 16px 10px}}

/* INC04.01 Customer company workbench */
.customer-workbench .portal-help-panel {
    margin-bottom: 1.05rem;
}

.customer-list-panel {
    overflow: hidden;
}

.customer-list-header {
    align-items: center;
}

.customer-search-row {
    display: flex;
    gap: .8rem;
    align-items: center;
    padding: 1rem 1.15rem;
    border-bottom: 1px solid rgba(214, 197, 167, .13);
}

.customer-search-input {
    min-width: 18rem;
    flex: 1;
    border: 1px solid rgba(214, 197, 167, .18);
    border-radius: 999px;
    background: rgba(4, 4, 3, .55);
    color: var(--bone);
    padding: .8rem 1rem;
    outline: none;
}

.customer-search-input::placeholder {
    color: rgba(247, 243, 234, .42);
}

.customer-search-input:focus {
    border-color: rgba(247, 185, 35, .75);
    box-shadow: 0 0 0 3px rgba(247, 185, 35, .08);
}

.customer-table-scroll {
    max-width: 100%;
}

.customer-company-table th,
.customer-company-table td {
    white-space: nowrap;
}

.customer-company-table td:first-child,
.customer-company-table th:first-child {
    min-width: 21rem;
}

.customer-chip {
    display: inline-flex;
    align-items: center;
    max-width: 15rem;
    padding: .35rem .62rem;
    border: 1px solid rgba(214, 197, 167, .16);
    border-radius: 999px;
    color: rgba(247, 243, 234, .72);
    background: rgba(255, 255, 255, .035);
    font-size: .78rem;
}

.customer-profile-panel {
    overflow: hidden;
    margin-top: 1rem;
}

.customer-detail-hero {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem 1.25rem 1.05rem;
    border-bottom: 1px solid rgba(214, 197, 167, .13);
}

.customer-detail-title {
    color: var(--bone);
    font-size: 1.16rem;
    font-weight: 800;
    letter-spacing: -.01em;
}

.customer-detail-subtitle {
    color: rgba(247, 243, 234, .68);
    font-size: .87rem;
    margin-top: .2rem;
}

.customer-profile-tabs {
    display: flex;
    gap: .5rem;
    align-items: center;
    padding: .75rem 1.25rem;
    border-bottom: 1px solid rgba(214, 197, 167, .13);
    background: rgba(255, 255, 255, .015);
}

.customer-profile-tab {
    appearance: none;
    border: 1px solid rgba(214, 197, 167, .14);
    border-radius: 999px;
    background: rgba(255, 255, 255, .025);
    color: rgba(247, 243, 234, .64);
    cursor: pointer;
    font-family: 'IBM Plex Mono', monospace;
    font-size: .68rem;
    letter-spacing: .1em;
    line-height: 1;
    padding: .62rem .95rem;
    text-transform: uppercase;
    transition: border-color .18s ease, background .18s ease, color .18s ease;
}

.customer-profile-tab:hover {
    border-color: rgba(243, 184, 30, .42);
    color: var(--bone);
}

.customer-profile-tab.active {
    border-color: rgba(243, 184, 30, .68);
    background: rgba(243, 184, 30, .14);
    color: var(--gold-soft);
}

.customer-tab-panel {
    padding: 1rem 1.25rem 1.25rem;
}

.customer-info-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .75rem;
}

.customer-info-block {
    min-width: 0;
    border: 1px solid rgba(214, 197, 167, .12);
    border-radius: 14px;
    background: rgba(255, 255, 255, .026);
    padding: .72rem .78rem;
    min-height: 4.15rem;
}

.customer-info-block span,
.mode-label {
    display: block;
    color: rgba(247, 243, 234, .5);
    text-transform: uppercase;
    letter-spacing: .13em;
    font-family: 'IBM Plex Mono', monospace;
    font-size: .64rem;
    margin-bottom: .32rem;
}

.customer-info-block strong {
    display: block;
    color: var(--bone);
    font-size: .88rem;
    font-weight: 700;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.customer-mode-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .8rem;
}

.customer-mode-card {
    border: 1px solid rgba(214, 197, 167, .12);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .032), rgba(255, 255, 255, .016));
    padding: .9rem 1rem;
    min-height: 8.2rem;
}

.customer-mode-card strong {
    display: block;
    color: var(--bone);
    font-size: 1rem;
    font-weight: 800;
}

.customer-mode-card p {
    color: rgba(247, 243, 234, .68);
    margin: .35rem 0 .7rem;
    line-height: 1.42;
    font-size: .88rem;
}

.customer-sections-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.customer-deployment-panel {
    margin-top: 1rem;
}

.customer-card-list {
    display: grid;
    gap: .65rem;
    padding: 1rem 1.15rem 1.2rem;
}

.customer-card-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    border: 1px solid rgba(214, 197, 167, .12);
    border-radius: 16px;
    background: rgba(255, 255, 255, .025);
    padding: .85rem .9rem;
}

.customer-card-row strong,
.customer-card-row span,
.customer-card-row small {
    display: block;
}

.customer-card-row strong {
    color: var(--bone);
    font-size: .92rem;
}

.customer-card-row span {
    color: rgba(247, 243, 234, .68);
    font-size: .82rem;
    margin-top: .22rem;
}

.customer-card-row small {
    color: rgba(214, 197, 167, .72);
    font-size: .75rem;
    margin-top: .18rem;
}

.empty-section {
    color: rgba(247, 243, 234, .62);
    padding: 1.15rem;
    line-height: 1.45;
}

@media (max-width: 1260px) {
    .customer-info-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1100px) {
    .customer-sections-grid,
    .customer-mode-grid {
        grid-template-columns: 1fr;
    }

    .customer-info-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .customer-search-row {
        flex-wrap: wrap;
    }

    .customer-search-input {
        min-width: 100%;
    }
}

@media (max-width: 760px) {
    .customer-info-strip {
        grid-template-columns: 1fr;
    }

    .customer-profile-tabs {
        align-items: stretch;
        flex-direction: column;
    }

    .customer-profile-tab {
        width: 100%;
    }

    .customer-card-row,
    .customer-detail-hero {
        flex-direction: column;
    }
}

/* INC04.02 - Customer company create/edit modal. */
.customer-page-header{align-items:flex-start;gap:1rem}.page-action-row{display:flex;align-items:center;justify-content:flex-end;gap:.75rem;flex-wrap:wrap}.customer-profile-actions{display:flex;align-items:center;justify-content:flex-end;gap:.75rem;flex-wrap:wrap}.customer-edit-modal{width:min(980px,calc(100vw - 64px))}.customer-edit-modal .portal-modal-header h2{font-size:1.12rem}.customer-edit-modal .portal-modal-body{gap:10px}.customer-edit-modal select{width:100%;box-sizing:border-box;border:1px solid var(--line-dark);background:rgba(10,9,7,.52);color:var(--bone);border-radius:10px;padding:11px 12px;font:inherit;outline:none;min-width:0}.customer-edit-modal select:focus{border-color:rgba(243,184,30,.65);box-shadow:0 0 0 3px rgba(243,184,30,.12);background:rgba(10,9,7,.76)}.customer-edit-modal option{background:#17120d;color:var(--bone)}.customer-edit-modal input[readonly]{background:rgba(247,243,234,.12);border-color:rgba(247,243,234,.28);color:var(--bone);opacity:1;cursor:not-allowed}.customer-edit-modal textarea{min-height:96px}.customer-edit-modal .inline-validation-panel.neutral{margin:0}.customer-edit-modal .field-help{color:rgba(247,243,234,.62)}@media(max-width:840px){.customer-page-header,.page-action-row,.customer-profile-actions{align-items:stretch;flex-direction:column}.page-action-row .btn,.customer-profile-actions .btn{width:100%;justify-content:center}.customer-edit-modal{width:100%}}

/* INC04.02.01 - Customer company modal tab contrast and mandatory field clarity. */
.customer-edit-modal .required-field-summary{
    display:flex;
    align-items:center;
    gap:.7rem;
    flex-wrap:wrap;
    border:1px solid rgba(243,184,30,.24);
    background:linear-gradient(135deg,rgba(243,184,30,.08),rgba(247,243,234,.025));
    border-radius:13px;
    padding:.68rem .82rem;
    color:rgba(247,243,234,.78);
    font-size:.82rem;
    line-height:1.4;
}

.customer-edit-modal .required-field-summary strong{
    color:var(--bone);
    font-weight:800;
    white-space:nowrap;
}

.customer-edit-modal .product-edit-tabs.modal-edit-tabs{
    gap:.65rem;
    padding-bottom:.7rem;
    border-bottom:1px solid rgba(247,243,234,.14);
}

.customer-edit-modal .product-edit-tab{
    display:inline-flex;
    align-items:center;
    gap:.48rem;
    border:1px solid rgba(214,197,167,.24);
    background:rgba(247,243,234,.055);
    color:rgba(247,243,234,.82);
    font-weight:700;
    padding:.62rem .86rem;
    opacity:1;
}

.customer-edit-modal .product-edit-tab:hover{
    border-color:rgba(243,184,30,.54);
    background:rgba(247,243,234,.09);
    color:var(--bone);
}

.customer-edit-modal .product-edit-tab.active{
    border-color:var(--gold);
    background:linear-gradient(180deg,var(--gold-soft),var(--gold));
    color:var(--obsidian);
    box-shadow:0 10px 26px -20px rgba(243,184,30,.7);
}

.required-pill,
.tab-required-tag,
.tab-optional-tag{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    font-family:'IBM Plex Mono',monospace;
    font-size:.56rem;
    letter-spacing:.08em;
    line-height:1;
    text-transform:uppercase;
    white-space:nowrap;
}

.required-pill,
.tab-required-tag{
    border:1px solid rgba(243,184,30,.52);
    background:rgba(243,184,30,.14);
    color:var(--gold-soft);
    padding:.26rem .42rem;
}

.required-pill.inline{
    vertical-align:middle;
    margin:0 .1rem;
}

.tab-optional-tag{
    border:1px solid rgba(247,243,234,.18);
    background:rgba(247,243,234,.055);
    color:rgba(247,243,234,.66);
    padding:.26rem .42rem;
}

.customer-edit-modal .product-edit-tab.active .tab-required-tag,
.customer-edit-modal .product-edit-tab.active .tab-optional-tag{
    border-color:rgba(21,18,14,.38);
    background:rgba(21,18,14,.13);
    color:var(--obsidian);
}

.customer-edit-modal .field-label.required{
    color:var(--bone);
}

.customer-edit-modal .required-field input,
.customer-edit-modal .required-field select{
    border-color:rgba(243,184,30,.32);
    background:rgba(10,9,7,.62);
}

.customer-edit-modal .required-field input:focus,
.customer-edit-modal .required-field select:focus{
    border-color:rgba(243,184,30,.78);
    box-shadow:0 0 0 3px rgba(243,184,30,.14);
}

.customer-edit-modal .required-field .field-help{
    color:rgba(247,243,234,.70);
}

.customer-edit-modal .inline-validation-panel.error{
    border-color:rgba(255,116,96,.64);
    background:rgba(94,28,24,.42);
}

@media(max-width:760px){
    .customer-edit-modal .product-edit-tab{
        width:100%;
        justify-content:space-between;
    }
}

/* Operational health and supportable incident handling */
.ops-eyebrow{
    display:block;
    color:var(--gold);
    font:700 .7rem/1.2 'IBM Plex Mono',monospace;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.ops-muted{
    margin:0;
    color:rgba(247,243,234,.62);
    font-size:.82rem;
}

.ops-health-page,
.incident-page{
    display:grid;
    gap:18px;
}

.ops-page-header{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:24px;
    padding-bottom:16px;
    border-bottom:1px solid rgba(247,243,234,.12);
}

.ops-page-header h1,
.incident-head h1,
.public-health-head h1{
    margin:.35rem 0 .25rem;
    color:var(--bone);
    font-family:'Archivo',sans-serif;
    font-size:1.65rem;
    line-height:1.18;
}

.ops-page-header p,
.incident-head p,
.public-health-head p{
    max-width:760px;
    margin:0;
    color:rgba(247,243,234,.64);
    font-size:.86rem;
    line-height:1.5;
}

.ops-health-summary{
    border:1px solid rgba(214,197,167,.18);
    background:#171612;
    padding:18px;
}

.ops-health-summary-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:18px;
    margin-bottom:16px;
}

.ops-health-summary-head h2{
    margin:.25rem 0 0;
    color:var(--bone);
    font-size:1rem;
}

.rag-pill,
.rag-label{
    display:inline-flex;
    align-items:center;
    gap:.45rem;
    border:1px solid currentColor;
    padding:.3rem .5rem;
    font:700 .66rem/1 'IBM Plex Mono',monospace;
    letter-spacing:.06em;
}

.rag-pill span,
.rag-dot{
    width:9px;
    height:9px;
    flex:0 0 9px;
    border-radius:50%;
    background:currentColor;
    box-shadow:0 0 0 3px color-mix(in srgb,currentColor 16%,transparent);
}

.rag-green{color:#75c987!important}
.rag-amber{color:#e0ad46!important}
.rag-red{color:#de7c6f!important}

.ops-health-category-grid{
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    border-top:1px solid rgba(247,243,234,.10);
    border-left:1px solid rgba(247,243,234,.10);
}

.ops-health-category{
    display:flex;
    align-items:center;
    gap:.65rem;
    min-width:0;
    padding:12px;
    border-right:1px solid rgba(247,243,234,.10);
    border-bottom:1px solid rgba(247,243,234,.10);
}

.ops-health-category>div{
    display:grid;
    gap:.16rem;
    min-width:0;
}

.ops-health-category strong{
    color:var(--bone);
    font-size:.78rem;
}

.ops-health-category small{
    color:rgba(247,243,234,.56);
    font-size:.68rem;
}

.ops-health-summary-foot{
    display:flex;
    justify-content:space-between;
    gap:12px;
    padding-top:12px;
    color:rgba(247,243,234,.48);
    font:500 .65rem/1.3 'IBM Plex Mono',monospace;
}

.ops-health-toolbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
}

.ops-health-toolbar-actions{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:10px;
}

.ops-active-group-title{
    margin:.25rem 0 0;
    color:var(--bone);
    font-size:1rem;
}

.ops-health-tabs{
    display:flex;
    align-items:stretch;
    gap:1px;
    overflow-x:auto;
    border:1px solid rgba(214,197,167,.16);
    background:rgba(247,243,234,.08);
    scrollbar-width:thin;
}

.ops-health-tab{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    min-width:max-content;
    padding:11px 14px;
    border:0;
    border-bottom:2px solid transparent;
    background:#151410;
    color:rgba(247,243,234,.62);
    font:700 .7rem/1.2 'IBM Plex Mono',monospace;
    cursor:pointer;
}

.ops-health-tab:hover{
    color:var(--bone);
    background:#1b1914;
}

.ops-health-tab.active{
    border-bottom-color:var(--gold);
    background:#211f18;
    color:var(--gold-soft);
}

.ops-tab-meta{
    display:inline-flex;
    align-items:center;
    gap:6px;
    color:rgba(247,243,234,.46);
    font-size:.62rem;
}

.ops-health-tab .rag-dot{
    width:7px;
    height:7px;
    flex-basis:7px;
    box-shadow:none;
}

.ops-filter-group{
    display:flex;
    gap:6px;
}

.ops-filter{
    border:1px solid rgba(214,197,167,.24);
    background:transparent;
    color:rgba(247,243,234,.66);
    padding:.42rem .65rem;
    font:700 .68rem/1 'IBM Plex Mono',monospace;
    cursor:pointer;
}

.ops-filter.active,
.ops-filter:hover{
    border-color:var(--gold);
    color:var(--gold);
    background:rgba(243,184,30,.08);
}

.ops-category-section{
    border:1px solid rgba(214,197,167,.16);
    background:#151410;
}

.ops-category-head{
    display:flex;
    justify-content:space-between;
    gap:16px;
    padding:12px 15px;
    border-bottom:1px solid rgba(247,243,234,.10);
}

.ops-category-head h2{
    margin:0;
    color:var(--bone);
    font-size:.88rem;
}

.ops-category-head p{
    max-width:760px;
    margin:.3rem 0 0;
    color:rgba(247,243,234,.56);
    font-size:.72rem;
    line-height:1.4;
}

.ops-category-head span{
    color:rgba(247,243,234,.48);
    font:500 .66rem/1.3 'IBM Plex Mono',monospace;
}

.ops-group-overview{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:10px;
}

.ops-group-card{
    display:grid;
    gap:12px;
    min-width:0;
    padding:15px;
    border:1px solid rgba(214,197,167,.16);
    background:#151410;
    color:inherit;
    text-align:left;
    cursor:pointer;
}

.ops-group-card:hover{
    border-color:rgba(243,184,30,.52);
    background:#1b1914;
}

.ops-group-card-head{
    display:grid;
    grid-template-columns:auto minmax(0,1fr) auto;
    align-items:center;
    gap:9px;
}

.ops-group-card-head strong{
    color:var(--bone);
    font-size:.8rem;
}

.ops-group-card-description{
    min-height:2.8em;
    color:rgba(247,243,234,.58);
    font-size:.72rem;
    line-height:1.4;
}

.ops-group-card-counts{
    display:flex;
    flex-wrap:wrap;
    gap:6px 12px;
    padding-top:9px;
    border-top:1px solid rgba(247,243,234,.08);
    color:rgba(247,243,234,.46);
    font:500 .62rem/1.3 'IBM Plex Mono',monospace;
}

.ops-empty-state{
    padding:24px 15px;
    color:rgba(247,243,234,.56);
    font-size:.76rem;
}

.ops-check-list{
    display:grid;
}

.ops-check-row{
    display:grid;
    grid-template-columns:auto minmax(0,1fr) auto;
    align-items:start;
    gap:12px;
    padding:14px 15px;
    border-bottom:1px solid rgba(247,243,234,.08);
}

.ops-check-row:last-child{border-bottom:0}
.ops-check-row>.rag-dot{margin-top:.25rem}

.ops-pagination{
    display:grid;
    grid-template-columns:auto auto minmax(0,1fr) auto;
    align-items:center;
    gap:8px;
    padding:11px 15px;
    border-top:1px solid rgba(247,243,234,.10);
    background:#12110e;
}

.ops-page-numbers{
    display:flex;
    gap:5px;
}

.ops-page-button{
    min-height:30px;
    border:1px solid rgba(214,197,167,.22);
    background:transparent;
    color:rgba(247,243,234,.68);
    padding:.4rem .6rem;
    font:700 .62rem/1 'IBM Plex Mono',monospace;
    cursor:pointer;
}

.ops-page-button:hover:not(:disabled),
.ops-page-button.active{
    border-color:var(--gold);
    background:rgba(243,184,30,.08);
    color:var(--gold);
}

.ops-page-button:disabled{
    cursor:not-allowed;
    opacity:.35;
}

.ops-page-number{
    min-width:30px;
    padding:.4rem;
}

.ops-page-status{
    justify-self:end;
    color:rgba(247,243,234,.46);
    font:500 .62rem/1.3 'IBM Plex Mono',monospace;
}

.ops-check-main{
    display:grid;
    gap:.4rem;
    min-width:0;
}

.ops-check-title{
    display:flex;
    align-items:baseline;
    flex-wrap:wrap;
    gap:.55rem;
}

.ops-check-title strong{
    color:var(--bone);
    font-size:.82rem;
}

.ops-check-title code{
    color:rgba(243,184,30,.72);
    font-size:.62rem;
    overflow-wrap:anywhere;
}

.ops-check-main p{
    margin:0;
    color:rgba(247,243,234,.66);
    font-size:.76rem;
    line-height:1.45;
}

.ops-check-main details,
.incident-technical{
    border:1px solid rgba(214,197,167,.14);
    background:rgba(0,0,0,.18);
}

.ops-check-main summary,
.incident-technical summary{
    padding:.55rem .7rem;
    color:rgba(247,243,234,.72);
    font:600 .68rem/1.2 'IBM Plex Mono',monospace;
    cursor:pointer;
}

.ops-check-main pre,
.incident-technical pre{
    margin:0;
    padding:.7rem;
    border-top:1px solid rgba(247,243,234,.08);
    color:#d7cfbf;
    white-space:pre-wrap;
    overflow-wrap:anywhere;
    font:500 .68rem/1.5 'IBM Plex Mono',monospace;
}

.ops-remediation{
    display:grid;
    gap:.2rem;
    padding:.65rem .75rem;
    border-left:3px solid #e0ad46;
    background:rgba(224,173,70,.08);
}

.ops-remediation strong{
    color:#e6c175;
    font-size:.7rem;
}

.ops-remediation span{
    color:rgba(247,243,234,.7);
    font-size:.72rem;
    line-height:1.45;
}

.incident-card,
.public-incident-shell,
.public-health-shell{
    width:min(100%,980px);
    margin:0 auto;
    border:1px solid rgba(214,197,167,.20);
    background:#171612;
    padding:22px;
}

.public-incident-page,
.public-health-page{
    min-height:100vh;
    display:grid;
    place-items:center;
    padding:24px;
    background:#10100d;
}

.incident-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:20px;
    padding-bottom:16px;
    border-bottom:1px solid rgba(247,243,234,.10);
}

.incident-state{
    color:#dfb45f;
    font:700 .68rem/1 'IBM Plex Mono',monospace;
    letter-spacing:.08em;
}

.incident-reference{
    display:grid;
    gap:.25rem;
    margin:16px 0;
    padding:12px 14px;
    border-left:3px solid var(--gold);
    background:#211f19;
}

.incident-reference span,
.incident-context-grid span,
.incident-message span,
.incident-capture-grid span{
    color:rgba(247,243,234,.5);
    font-size:.68rem;
}

.incident-reference strong{
    color:#f0d391;
    font:700 .88rem/1.35 'IBM Plex Mono',monospace;
    overflow-wrap:anywhere;
}

.incident-context-grid,
.incident-capture-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:1px;
    margin-bottom:14px;
    background:rgba(247,243,234,.10);
    border:1px solid rgba(247,243,234,.10);
}

.incident-capture-grid{grid-template-columns:repeat(2,minmax(0,1fr))}

.incident-context-grid>div,
.incident-capture-grid>div{
    display:grid;
    gap:.3rem;
    padding:10px 12px;
    background:#171612;
}

.incident-context-grid strong,
.incident-capture-grid strong{
    color:var(--bone);
    font:600 .72rem/1.35 'IBM Plex Mono',monospace;
    overflow-wrap:anywhere;
}

.incident-message{
    display:grid;
    gap:.4rem;
    padding:13px 14px;
    margin-bottom:14px;
    border:1px solid rgba(222,124,111,.32);
    background:rgba(222,124,111,.07);
}

.incident-message p{
    margin:0;
    color:#efd3cd;
    font-size:.82rem;
    line-height:1.5;
    overflow-wrap:anywhere;
}

.incident-warning{
    margin-bottom:14px;
    padding:10px 12px;
    border-left:3px solid #e0ad46;
    background:rgba(224,173,70,.08);
}

.incident-warning p{
    margin:.2rem 0;
    color:#e6cfa1;
    font-size:.74rem;
    line-height:1.45;
}

.incident-actions{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin:16px 0;
}

.incident-admin-link{
    margin-top:12px;
    text-align:right;
}

.incident-admin-link a,
.staff-login-health-actions a{
    color:var(--gold-soft);
    font-size:.74rem;
}

.public-incident-shell>.ops-health-summary,
.public-health-shell>.ops-health-summary{
    margin-top:18px;
}

.public-health-head{
    padding-bottom:16px;
    border-bottom:1px solid rgba(247,243,234,.10);
}

.public-health-issues{
    display:grid;
    gap:1px;
    margin-top:14px;
    background:rgba(247,243,234,.08);
}

.public-health-issue{
    display:grid;
    grid-template-columns:auto minmax(0,1fr) auto;
    align-items:start;
    gap:10px;
    padding:11px 12px;
    background:#171612;
}

.public-health-issue>.rag-dot{margin-top:.25rem}
.public-health-issue strong{color:var(--bone);font-size:.76rem}
.public-health-issue p{margin:.2rem 0 0;color:rgba(247,243,234,.62);font-size:.72rem;line-height:1.4}

.staff-login-health-actions{
    display:flex;
    justify-content:flex-end;
    margin:-4px 0 12px;
}

.prometheus-staff-login .ops-health-summary{
    margin:12px 0;
    padding:12px;
}

.prometheus-staff-login .ops-health-summary-head{margin-bottom:10px}
.prometheus-staff-login .ops-health-summary-head h2{font-size:.86rem}
.prometheus-staff-login .ops-health-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.prometheus-staff-login .ops-health-category{padding:8px}
.prometheus-staff-login .ops-health-summary-foot{font-size:.58rem}

@media(max-width:980px){
    .ops-health-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .ops-group-overview{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:720px){
    .ops-page-header,
    .incident-head,
    .ops-health-summary-head,
    .ops-health-toolbar,
    .ops-health-summary-foot{
        flex-direction:column;
        align-items:stretch;
    }

    .ops-health-toolbar-actions{
        align-items:stretch;
        flex-direction:column;
    }

    .ops-filter-group{
        overflow-x:auto;
    }

    .ops-pagination{
        grid-template-columns:1fr 1fr;
    }

    .ops-page-numbers{
        grid-column:1 / -1;
        grid-row:1;
        justify-content:center;
    }

    .ops-page-status{
        grid-column:1 / -1;
        grid-row:2;
        justify-self:center;
    }

    .ops-pagination>.ops-page-button:first-child{
        grid-column:1;
        grid-row:3;
    }

    .ops-pagination>.ops-page-button:last-child{
        grid-column:2;
        grid-row:3;
    }

    .ops-health-category-grid,
    .ops-group-overview,
    .incident-context-grid,
    .incident-capture-grid{
        grid-template-columns:1fr;
    }

    .ops-check-row{
        grid-template-columns:auto minmax(0,1fr);
    }

    .ops-check-row>.rag-label{
        grid-column:2;
        justify-self:start;
    }

    .incident-card,
    .public-incident-shell,
    .public-health-shell{
        padding:16px;
    }
}

/* INC04.02.02 - Customer details are disclosed only after explicit selection. */
.customer-selection-panel{
    margin-top:1rem;
}

.customer-selection-body{
    padding:1rem 1.25rem 1.15rem;
    display:grid;
    gap:.35rem;
    color:rgba(247,243,234,.68);
}

.customer-selection-body strong{
    color:var(--bone);
    font-size:1rem;
    font-weight:800;
}

.customer-selection-body p{
    margin:0;
    max-width:760px;
    line-height:1.45;
    color:rgba(247,243,234,.62);
}

/* INC04.02.03 - Customer list uses explicit expand/collapse rows instead of a View action. */
.sr-only{
    position:absolute;
    width:1px;
    height:1px;
    padding:0;
    margin:-1px;
    overflow:hidden;
    clip:rect(0,0,0,0);
    white-space:nowrap;
    border:0;
}

.customer-company-table th.customer-expand-header,
.customer-company-table td.customer-expand-cell{
    width:3.6rem;
    min-width:3.6rem;
    padding-left:1.25rem;
    padding-right:.35rem;
    text-align:center;
}

.customer-company-table th:nth-child(2),
.customer-company-table td:nth-child(2){
    min-width:21rem;
}

.customer-company-table tr.customer-summary-row.expanded td{
    background:rgba(243,184,30,.045);
    border-bottom:none;
}

.customer-company-table tr.customer-expanded-row td{
    padding:0;
    white-space:normal;
    background:rgba(7,6,5,.28);
    border-top:1px solid rgba(243,184,30,.22);
    border-bottom:1px solid rgba(214,197,167,.16);
}

.customer-company-table tr.customer-expanded-row:hover td{
    background:rgba(7,6,5,.28);
}

.customer-expander-button{
    appearance:none;
    width:34px;
    height:34px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:1px solid rgba(243,184,30,.42);
    border-radius:10px;
    background:rgba(243,184,30,.10);
    color:var(--gold-soft);
    cursor:pointer;
    font-family:'Archivo',sans-serif;
    font-size:1.25rem;
    font-weight:800;
    line-height:1;
    transition:border-color .18s ease,background .18s ease,color .18s ease,transform .18s ease;
}

.customer-expander-button:hover,
.customer-expander-button:focus-visible{
    border-color:var(--gold);
    background:rgba(243,184,30,.20);
    color:var(--bone);
    outline:none;
    transform:translateY(-1px);
}

.customer-expander-button.expanded{
    background:linear-gradient(180deg,var(--gold-soft),var(--gold));
    border-color:var(--gold);
    color:var(--obsidian);
}

.customer-expanded-profile{
    padding:1rem 1.15rem 1.2rem;
}

.customer-expanded-profile .customer-profile-panel{
    margin-top:0;
}

.customer-expanded-profile .customer-sections-grid,
.customer-expanded-profile .customer-deployment-panel{
    margin-top:1rem;
}

.customer-list-panel .customer-profile-panel,
.customer-list-panel .customer-sections-grid,
.customer-list-panel .customer-deployment-panel{
    max-width:none;
}

.customer-company-table td.customer-expand-cell + td{
    padding-left:.75rem;
}

@media(max-width:760px){
    .customer-company-table th.customer-expand-header,
    .customer-company-table td.customer-expand-cell{
        width:3rem;
        min-width:3rem;
        padding-left:.75rem;
    }

    .customer-expander-button{
        width:30px;
        height:30px;
    }

    .customer-expanded-profile{
        padding:.85rem;
    }
}

/* INC04.02.04 - Customer form field-level guidance and selection decision help. */
.customer-edit-modal .modal-tab-panel{
    gap:14px;
}

.customer-edit-modal .field-help{
    color:rgba(247,243,234,.72);
    line-height:1.48;
}

.customer-edit-modal .field-block input::placeholder,
.customer-edit-modal .field-block textarea::placeholder{
    color:rgba(247,243,234,.40);
}

.form-guidance-card{
    display:grid;
    gap:.45rem;
    border:1px solid rgba(243,184,30,.20);
    background:linear-gradient(135deg,rgba(243,184,30,.075),rgba(247,243,234,.028));
    border-radius:14px;
    padding:.82rem .9rem;
    color:rgba(247,243,234,.74);
    line-height:1.45;
}

.form-guidance-card.compact{
    padding:.72rem .82rem;
}

.form-guidance-card strong{
    color:var(--bone);
    font-weight:800;
    font-size:.92rem;
}

.form-guidance-card span{
    font-size:.82rem;
}

.selection-guidance-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:.85rem;
}

.lookup-guidance-list{
    display:grid;
    gap:.48rem;
    margin-top:.18rem;
}

.lookup-guidance-item{
    display:grid;
    gap:.18rem;
    border:1px solid rgba(247,243,234,.10);
    background:rgba(10,9,7,.30);
    border-radius:11px;
    padding:.62rem .68rem;
}

.lookup-guidance-item.selected{
    border-color:rgba(243,184,30,.58);
    background:rgba(243,184,30,.10);
    box-shadow:inset 3px 0 0 rgba(243,184,30,.78);
}

.lookup-guidance-item b{
    color:var(--bone);
    font-size:.84rem;
}

.lookup-guidance-item small{
    color:rgba(247,243,234,.66);
    font-size:.74rem;
    line-height:1.42;
}

.lookup-guidance-item.selected small{
    color:rgba(247,243,234,.78);
}

@media(max-width:840px){
    .selection-guidance-grid{
        grid-template-columns:1fr;
    }
}


/* INC04.02.05 - Database-controlled customer code and reference display. */
.customer-edit-modal .system-generated-field{
    border-color:rgba(92,130,91,.34);
    background:linear-gradient(135deg,rgba(92,130,91,.10),rgba(247,243,234,.028));
}

.system-pill{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:1px solid rgba(122,216,136,.40);
    background:rgba(122,216,136,.10);
    color:rgba(122,216,136,.92);
    border-radius:999px;
    font-family:'IBM Plex Mono',monospace;
    font-size:.56rem;
    letter-spacing:.08em;
    line-height:1;
    text-transform:uppercase;
    white-space:nowrap;
    padding:.26rem .42rem;
}

.system-generated-value{
    min-height:43px;
    display:flex;
    align-items:center;
    border:1px solid rgba(122,216,136,.26);
    background:rgba(10,9,7,.42);
    color:var(--bone);
    border-radius:10px;
    padding:10px 12px;
    font-family:'IBM Plex Mono',monospace;
    font-weight:800;
    letter-spacing:.02em;
    overflow-wrap:anywhere;
}

.customer-edit-modal .system-generated-field .field-help{
    color:rgba(247,243,234,.72);
}

/* INC04.03 Customer product licence allocation */
.customer-section-header-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.section-actions {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.compact-action {
    padding: .45rem .8rem;
    min-height: 0;
    line-height: 1.1;
}

.licence-card-row {
    align-items: flex-start;
    gap: 1rem;
}

.customer-card-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: .55rem;
    flex-wrap: wrap;
    min-width: 9rem;
}

.licence-edit-modal {
    max-width: 980px;
}

.form-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.selected-plan-guide {
    margin: .85rem 0 1rem;
}

.selected-plan-guide small {
    display: block;
    margin-top: .4rem;
    color: rgba(246, 239, 225, .72);
    line-height: 1.35;
}

@media (max-width: 980px) {
    .form-grid.three {
        grid-template-columns: 1fr;
    }

    .customer-section-header-action,
    .section-actions,
    .customer-card-actions {
        align-items: flex-start;
        justify-content: flex-start;
    }
}

/* INC04.03.01 - Professional licence workflow modal, clear date inputs and signed licence identity. */
.licence-workflow-modal{
    width:min(1180px,calc(100vw - 48px));
    max-height:calc(100vh - 42px);
    border-color:rgba(243,184,30,.42);
}

.licence-workflow-modal .portal-modal-form{
    max-height:calc(100vh - 42px);
}

.licence-workflow-header{
    align-items:center;
    padding:14px 18px;
    background:linear-gradient(135deg,rgba(243,184,30,.07),rgba(247,243,234,.025));
}

.licence-workflow-heading{
    min-width:0;
    display:grid;
    gap:2px;
}

.licence-workflow-heading h2{
    font-size:1.04rem!important;
    margin:0!important;
}

.licence-workflow-heading p{
    max-width:840px!important;
    font-size:.79rem!important;
    color:rgba(247,243,234,.66)!important;
}

.licence-workflow-body{
    display:grid!important;
    grid-template-columns:minmax(260px,300px) minmax(0,1fr);
    gap:0!important;
    padding:0!important;
    overflow:hidden!important;
}

.licence-workflow-rail{
    border-right:1px solid rgba(247,243,234,.10);
    background:linear-gradient(180deg,rgba(10,9,7,.44),rgba(10,9,7,.16));
    padding:16px;
    display:flex;
    flex-direction:column;
    gap:14px;
    min-height:0;
    overflow:auto;
}

.licence-workflow-main{
    min-width:0;
    padding:16px 18px 18px;
    overflow:auto;
    display:grid;
    align-content:start;
    gap:12px;
}

.licence-secure-card{
    display:grid;
    gap:.45rem;
    border:1px solid rgba(122,216,136,.32);
    background:linear-gradient(135deg,rgba(122,216,136,.10),rgba(243,184,30,.045));
    border-radius:16px;
    padding:13px 14px;
}

.licence-secure-kicker,
.licence-identity-strip span{
    font-family:'IBM Plex Mono',monospace;
    font-size:.6rem;
    font-weight:800;
    letter-spacing:.12em;
    text-transform:uppercase;
    color:rgba(122,216,136,.9);
}

.licence-secure-card strong{
    color:var(--bone);
    font-family:'IBM Plex Mono',monospace;
    font-size:.9rem;
    letter-spacing:.03em;
    overflow-wrap:anywhere;
}

.licence-secure-card small{
    color:rgba(247,243,234,.68);
    font-size:.73rem;
    line-height:1.42;
}

.licence-step-list{
    display:grid;
    gap:.65rem;
}

.licence-step-button{
    appearance:none;
    width:100%;
    display:grid;
    grid-template-columns:auto minmax(0,1fr) auto;
    align-items:center;
    gap:.7rem;
    border:1px solid rgba(214,197,167,.20);
    background:rgba(247,243,234,.045);
    color:rgba(247,243,234,.84);
    border-radius:15px;
    padding:.72rem .78rem;
    text-align:left;
    cursor:pointer;
    transition:border-color .18s ease,background .18s ease,transform .18s ease;
}

.licence-step-button:hover,
.licence-step-button:focus-visible{
    border-color:rgba(243,184,30,.54);
    background:rgba(243,184,30,.085);
    outline:none;
    transform:translateY(-1px);
}

.licence-step-button.active{
    border-color:rgba(243,184,30,.78);
    background:linear-gradient(135deg,rgba(243,184,30,.18),rgba(247,243,234,.06));
    box-shadow:inset 4px 0 0 var(--gold);
}

.step-index{
    width:28px;
    height:28px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    border:1px solid rgba(243,184,30,.46);
    color:var(--gold-soft);
    font-family:'IBM Plex Mono',monospace;
    font-weight:900;
    font-size:.74rem;
}

.licence-step-button.active .step-index{
    background:var(--gold);
    color:var(--obsidian);
}

.step-copy{
    display:grid;
    gap:.12rem;
    min-width:0;
}

.step-copy b{
    color:var(--bone);
    font-size:.88rem;
}

.step-copy small{
    color:rgba(247,243,234,.58);
    font-size:.71rem;
    line-height:1.25;
}

.licence-side-guidance .portal-help-panel{
    margin:0;
}

.licence-side-guidance .portal-help-content{
    font-size:.76rem;
    line-height:1.42;
}

.licence-required-summary{
    margin:0;
}

.licence-section-title{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:1rem;
    border-bottom:1px solid rgba(247,243,234,.10);
    padding-bottom:.75rem;
    margin-bottom:.15rem;
}

.licence-section-title h3{
    margin:.15rem 0 0;
    color:var(--bone);
    font-size:1rem;
    font-family:'Archivo',sans-serif;
}

.licence-section-title p{
    margin:0;
    max-width:430px;
    color:rgba(247,243,234,.62);
    font-size:.78rem;
    line-height:1.4;
}

.licence-plan-panel,
.licence-commercial-panel{
    display:grid;
    gap:13px!important;
    padding-top:0!important;
}

.licence-identity-strip{
    display:grid;
    grid-template-columns:1.35fr .9fr;
    gap:12px;
}

.licence-identity-strip>div{
    display:grid;
    gap:.35rem;
    border:1px solid rgba(122,216,136,.25);
    background:rgba(122,216,136,.07);
    border-radius:14px;
    padding:.8rem .9rem;
}

.licence-identity-strip strong{
    color:var(--bone);
    font-family:'IBM Plex Mono',monospace;
    font-size:.9rem;
    overflow-wrap:anywhere;
}

.licence-identity-strip small{
    color:rgba(247,243,234,.62);
    font-size:.72rem;
    line-height:1.35;
}

.licence-primary-grid{
    align-items:start;
}

.licence-selected-plan{
    margin:0;
    border-color:rgba(243,184,30,.28);
}

.licence-date-grid{
    align-items:start;
}

.licence-environment-field{
    max-width:340px;
}

.licence-next-step-note{
    margin-top:0!important;
}

.customer-edit-modal input[type="date"],
.feature-edit-modal input[type="date"],
.licence-workflow-modal input[type="date"]{
    color-scheme:dark;
    color:var(--bone);
    background:rgba(10,9,7,.74);
    border-color:rgba(243,184,30,.32);
    padding-right:13px;
}

.customer-edit-modal input[type="date"]::-webkit-calendar-picker-indicator,
.feature-edit-modal input[type="date"]::-webkit-calendar-picker-indicator,
.licence-workflow-modal input[type="date"]::-webkit-calendar-picker-indicator{
    opacity:1;
    cursor:pointer;
    filter:invert(87%) sepia(37%) saturate(881%) hue-rotate(350deg) brightness(102%) contrast(93%);
}

.customer-edit-modal input[type="date"]:focus,
.feature-edit-modal input[type="date"]:focus,
.licence-workflow-modal input[type="date"]:focus{
    border-color:rgba(243,184,30,.82);
    box-shadow:0 0 0 3px rgba(243,184,30,.14);
}

.licence-workflow-footer{
    padding:12px 18px;
}

@media(max-width:1040px){
    .licence-workflow-body{
        grid-template-columns:1fr;
        overflow:auto!important;
    }

    .licence-workflow-rail{
        border-right:0;
        border-bottom:1px solid rgba(247,243,234,.10);
        overflow:visible;
    }

    .licence-step-list{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .licence-section-title,
    .licence-identity-strip{
        grid-template-columns:1fr;
        flex-direction:column;
        align-items:flex-start;
    }
}

@media(max-width:760px){
    .licence-workflow-modal{
        width:100%;
        max-height:calc(100vh - 24px);
    }

    .licence-workflow-modal .portal-modal-form{
        max-height:calc(100vh - 24px);
    }

    .licence-step-list,
    .licence-identity-strip,
    .form-grid.three{
        grid-template-columns:1fr;
    }

    .licence-step-button{
        grid-template-columns:auto minmax(0,1fr);
    }

    .licence-step-button .tab-required-tag,
    .licence-step-button .tab-optional-tag{
        grid-column:2;
        justify-self:start;
    }
}
