/* PM Nexus Apply Hub v2.1.5
   Design system: landing-page-aligned pillar-premium-card style
   Fixes: archived hover, dialog contrast, no sidebar, vertical flow,
   Tailoring dominant, WOW section containers                         */

/* ─── TOKENS (identical to landing page :root) ─────────────── */
.pmnx-applyhub {
  --blue:       #185FA5; --blue-md:  #378ADD; --blue-bg:  #E6F1FB; --blue-bdr: #B5D4F4;
  --teal:       #0F6E56; --teal-md:  #1D9E75; --teal-bg:  #E1F5EE; --teal-bdr: #9FE1CB;
  --amber:      #854F0B; --amber-md: #BA7517; --amber-bg: #FAEEDA; --amber-bdr:#FAC775;
  --indigo:     #3730A3; --indigo-md:#4F46E5; --indigo-bg:#EEF2FF; --indigo-bdr:#C7D2FE;
  --red:        #991B1B; --red-bg:   #FEE2E2; --red-bdr:  #FCA5A5;
  --slate:      #334155; --slate-bg: #F1F5F9; --slate-bdr:#CBD5E1;
  --text:       #1a1a1a; --text-md:  #475569; --text-lt:  #64748B; --text-muted:#94A3B8;
  --bg:         #ffffff; --bg-soft:  #F8FAFC; --bg-mid:   #F1F5F9;
  --border:     #E2E8F0; --border-md:#CBD5E1;
  --r:8px; --rl:12px; --rxl:18px;
  /* Landing-page shadow hierarchy */
  --shadow-card:    0 1px 3px rgba(15,23,42,.06), 0 4px 12px rgba(15,23,42,.04);
  --shadow-hover:   0 18px 45px rgba(15,23,42,.08);
  --shadow-premium: 0 4px 20px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.04);
  --shadow-exec:    0 24px 64px rgba(7,24,44,.24);
  --section-radius: 22px;
  --card-radius:    18px;
  --motion: 160ms; --motion-slow: 280ms;

  display:block; color:var(--text);
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  -webkit-font-smoothing:antialiased; font-size:16px; line-height:1.6;
}
.pmnx-applyhub *,.pmnx-applyhub *::before,.pmnx-applyhub *::after{box-sizing:border-box;}
.pmnx-applyhub a{text-decoration:none;color:inherit;}
.pmnx-applyhub button{font-family:inherit;cursor:pointer;}
.pmnx-applyhub h1,.pmnx-applyhub h2,.pmnx-applyhub h3,.pmnx-applyhub h4{margin:0;letter-spacing:-.03em;line-height:1.1;color:var(--text);}
.pmnx-applyhub p{margin:0;color:var(--text-lt);line-height:1.75;}

/* ─── HERO ─────────────────────────────────────────────────── */
.pmnx-ah-hero{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(290px,.82fr);gap:36px;align-items:start;padding:44px 0 36px;}
.pmnx-ah-hero-copy{display:flex;flex-direction:column;justify-content:center;}
.pmnx-ah-kicker{display:inline-flex;align-items:center;gap:8px;font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--amber-md);margin-bottom:14px;}
.pmnx-ah-kicker-dot{width:6px;height:6px;border-radius:50%;background:var(--amber-md);animation:pmnxPulse 2s ease-in-out infinite;}
@keyframes pmnxPulse{0%,100%{opacity:1;transform:scale(1);}50%{opacity:.55;transform:scale(.8);}}
.pmnx-ah-hero-copy h1{font-size:clamp(30px,4vw,44px);font-weight:900;line-height:1.06;letter-spacing:-.035em;margin-bottom:16px;}
.pmnx-ah-hero-copy > p{font-size:15px;line-height:1.75;max-width:520px;margin-bottom:24px;}
.pmnx-ah-hero-actions{display:flex;gap:10px;flex-wrap:wrap;}
.pmnx-ah-hero-aside{background:radial-gradient(circle at 85% 12%,rgba(186,117,23,.14),transparent 32%),linear-gradient(135deg,#fff,var(--amber-bg));border:1px solid var(--amber-bdr);border-radius:var(--rxl);padding:28px;display:flex;flex-direction:column;gap:20px;}
.pmnx-ah-aside-label{font-size:10px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--amber-md);margin-bottom:6px;}
.pmnx-ah-aside-title{font-size:clamp(16px,2.2vw,22px);font-weight:800;margin-bottom:8px;}
.pmnx-ah-aside-body{font-size:14px;line-height:1.7;margin-bottom:16px;}
.pmnx-ah-aside-link{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:700;color:var(--amber);border-bottom:1.5px solid var(--amber-bdr);padding-bottom:2px;transition:color var(--motion),border-color var(--motion);}
.pmnx-ah-aside-link:hover{color:var(--amber-md);border-color:var(--amber-md);}
.pmnx-ah-aside-meta{margin-top:auto;padding-top:18px;border-top:1px solid rgba(133,79,11,.14);display:grid;grid-template-columns:1fr 1fr;gap:10px;}
.pmnx-ah-aside-meta-item{display:flex;flex-direction:column;gap:2px;}
.pmnx-ah-aside-meta-item span{font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--amber-md);}
.pmnx-ah-aside-meta-item strong{font-size:13px;font-weight:600;color:var(--text);}

/* ─── BUTTONS — explicit colours, NO white-on-white ─────────── */
.pmnx-ah-btn{display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:600;padding:10px 18px;border-radius:var(--r);border:1px solid transparent;transition:transform var(--motion-slow) ease,background var(--motion) ease,box-shadow var(--motion) ease;white-space:nowrap;line-height:1;cursor:pointer;text-decoration:none;font-family:inherit;}
/* All button variants — hardcoded fallbacks ensure contrast even outside .pmnx-applyhub */
.pmnx-ah-btn--primary{background:#BA7517!important;color:#fff!important;border-color:#BA7517!important;box-shadow:0 1px 4px rgba(133,79,11,.25),0 4px 12px rgba(186,117,23,.2);}
.pmnx-ah-btn--primary:hover{background:#854F0B!important;border-color:#854F0B!important;color:#fff!important;transform:translateY(-1px);box-shadow:0 2px 8px rgba(133,79,11,.3),0 6px 20px rgba(186,117,23,.25);}
.pmnx-ah-btn--secondary{background:#fff!important;color:#475569!important;border-color:#CBD5E1!important;}
.pmnx-ah-btn--secondary:hover{background:#F8FAFC!important;color:#1a1a1a!important;transform:translateY(-1px);}
.pmnx-ah-btn--ghost{background:transparent!important;color:#475569!important;border-color:#CBD5E1!important;}
.pmnx-ah-btn--ghost:hover{background:#F8FAFC!important;color:#1a1a1a!important;}
.pmnx-ah-btn--ghost-dark{background:rgba(255,255,255,.12)!important;color:#fff!important;border-color:rgba(255,255,255,.3)!important;}
.pmnx-ah-btn--ghost-dark:hover{background:rgba(255,255,255,.22)!important;color:#fff!important;}
/* Danger: dark red text on cream — always readable, never white-on-white */
.pmnx-ah-btn--danger{background:#FEE2E2!important;color:#7F1D1D!important;border-color:#FCA5A5!important;}
.pmnx-ah-btn--danger:hover{background:#fecaca!important;color:#7F1D1D!important;}
.pmnx-ah-btn--sm{font-size:12px;padding:7px 13px;}
.pmnx-ah-btn--lg{font-size:14px;padding:13px 24px;}
.pmnx-ah-btn:disabled{opacity:.5;cursor:not-allowed;transform:none!important;}

/* ─── ICON WRAP (from landing page .icon-wrap) ──────────────── */
.pmnx-ah-icon-wrap{
  --icon-stroke:var(--amber-md); --icon-fill:var(--amber-bg);
  display:inline-flex; align-items:center; justify-content:center;
  width:44px; height:44px; border-radius:14px;
  background:var(--icon-fill); color:var(--icon-stroke);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.55);
  flex-shrink:0;
}
.pmnx-ah-icon-wrap svg{width:22px;height:22px;}
.pmnx-ah-icon-wrap--amber{--icon-stroke:var(--amber-md);--icon-fill:var(--amber-bg);}
.pmnx-ah-icon-wrap--teal {--icon-stroke:var(--teal-md); --icon-fill:var(--teal-bg);}
.pmnx-ah-icon-wrap--blue {--icon-stroke:var(--blue-md); --icon-fill:var(--blue-bg);}
.pmnx-ah-icon-wrap--indigo{--icon-stroke:var(--indigo-md);--icon-fill:var(--indigo-bg);}
.pmnx-ah-icon-wrap--lg{width:54px;height:54px;border-radius:16px;}
.pmnx-ah-icon-wrap--lg svg{width:26px;height:26px;}

/* ──────────────────────────────────────────────────────────────
   FIX 6: PREMIUM SECTION CONTAINERS
   Identical pattern to landing page .pillar-premium-card
────────────────────────────────────────────────────────────── */
.pmnx-ah-layer{
  position:relative;
  padding:32px 0;
  /* No border, no card shadow, no backdrop — sections breathe through spacing */
  margin-bottom:4px;
  overflow:visible; /* kebab menus must not be clipped */
}
.pmnx-ah-layer:hover{
  transform:none;
  box-shadow:none;
}

/* Layer 1 — Workspace: amber accent top bar */
.pmnx-ah-layer--workspace{
  background:transparent;
  padding-top:36px;
}
.pmnx-ah-layer--workspace::before{
  content:'';position:absolute;top:0;left:0;right:0;height:3px;
  background:linear-gradient(90deg,#BA7517 0%,#854F0B 50%,#FAC775 100%);
  border-radius:var(--section-radius) var(--section-radius) 0 0;
  z-index:2;
}

/* Layer 2 — Intelligence: operational, slightly warm white */
.pmnx-ah-layer--intelligence{
  background:linear-gradient(180deg,rgba(250,238,218,.07) 0%,transparent 60%);
  border-top:1px solid rgba(226,232,240,.55);
  padding-top:36px;
}
.pmnx-ah-layer--intelligence::before{
  content:'';position:absolute;top:0;left:0;right:0;height:3px;
  background:linear-gradient(90deg,#BA7517,#1D9E75);
  border-radius:var(--section-radius) var(--section-radius) 0 0;
  z-index:2;
}

/* Layer 3 — Identity: reflective, cool indigo tint */
.pmnx-ah-layer--identity{
  background:linear-gradient(180deg,rgba(238,242,255,.12) 0%,transparent 60%);
  border-top:1px solid rgba(199,210,254,.4);
  padding-top:36px;
}
.pmnx-ah-layer--identity::before{
  content:'';position:absolute;top:0;left:0;right:0;height:3px;
  background:linear-gradient(90deg,#4F46E5,#7C3AED);
  border-radius:var(--section-radius) var(--section-radius) 0 0;
  z-index:2;
}

/* Section headers inside layers */
.pmnx-ah-layer-kicker{font-size:10px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;margin-bottom:5px;}
.pmnx-ah-layer--workspace   .pmnx-ah-layer-kicker{color:var(--amber-md);}
.pmnx-ah-layer--intelligence .pmnx-ah-layer-kicker{color:var(--amber-md);}
.pmnx-ah-layer--identity    .pmnx-ah-layer-kicker{color:var(--indigo-md);}
.pmnx-ah-layer-title{font-size:clamp(20px,2.4vw,26px);font-weight:900;letter-spacing:-.04em;margin-bottom:6px;}
.pmnx-ah-layer-subtitle{font-size:14px;color:var(--text-lt);line-height:1.65;max-width:580px;margin-bottom:22px;}

/* ─── WORKSPACE HEADER ──────────────────────────────────────── */
.pmnx-ah-workspace-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:22px;}
.pmnx-ah-workspace-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;flex-shrink:0;}
.pmnx-ah-project-selector{position:relative;display:inline-flex;align-items:center;}
.pmnx-ah-project-selector select{appearance:none;-webkit-appearance:none;background:var(--bg-soft);border:1px solid var(--border-md);border-radius:var(--r);padding:8px 30px 8px 12px;font-size:13px;font-weight:600;color:var(--text);cursor:pointer;font-family:inherit;min-width:160px;transition:border-color var(--motion);}
.pmnx-ah-project-selector select:focus{outline:none;border-color:var(--amber-md);}
.pmnx-ah-project-selector > svg{position:absolute;right:9px;pointer-events:none;width:14px;height:14px;color:var(--text-lt);}
.pmnx-ah-posture-chip{display:inline-flex;align-items:center;padding:4px 10px;border-radius:20px;font-size:11px;font-weight:700;background:var(--amber-bg);color:var(--amber);border:1px solid var(--amber-bdr);white-space:nowrap;}

/* ─── ACTIVE PROJECT SNAPSHOT ────────────────────────────────── */
.pmnx-ah-snapshot{background:linear-gradient(135deg,#1E3A5F 0%,#185FA5 100%);border-radius:var(--card-radius);padding:20px 24px;color:#fff;margin-bottom:20px;display:grid;grid-template-columns:1fr auto;gap:20px;align-items:start;}
.pmnx-ah-snapshot-eyebrow{font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;opacity:.6;margin-bottom:5px;}
.pmnx-ah-snapshot-title{font-size:20px;font-weight:900;letter-spacing:-.03em;margin-bottom:6px;}
.pmnx-ah-snapshot-meta{font-size:13px;opacity:.75;line-height:1.5;}
.pmnx-ah-snapshot-pills{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px;}
.pmnx-ah-snapshot-pill{padding:3px 10px;border-radius:20px;font-size:11px;font-weight:700;background:rgba(255,255,255,.15);color:#fff;border:1px solid rgba(255,255,255,.2);}
.pmnx-ah-snapshot-pill--done{background:rgba(15,110,86,.35);border-color:rgba(29,158,117,.5);}
.pmnx-ah-snapshot-actions{display:flex;flex-direction:column;gap:6px;align-items:flex-end;}

/* ─── PROJECT GRID ──────────────────────────────────────────── */
.pmnx-ah-projects-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:14px;margin-bottom:16px;}

/* FIX 6: Project card — pillar-premium-card style */
.pmnx-ah-project-card{
  overflow:visible;
  background:rgba(255,255,255,.9);
  border:1px solid rgba(226,232,240,.92);
  border-radius:var(--card-radius);
  padding:18px;
  position:relative;
  transition:transform var(--motion-slow) ease, box-shadow var(--motion-slow) ease, border-color var(--motion-slow) ease;
}
.pmnx-ah-project-card:hover{
  transform:translateY(-3px);
  box-shadow:0 12px 32px rgba(15,23,42,.07);
  border-color:var(--border-md);
}
.pmnx-ah-project-card--active{
  border-color:var(--amber-bdr);
  background:linear-gradient(135deg,rgba(255,255,255,.98),rgba(250,238,218,.25));
}
.pmnx-ah-project-card--active::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:var(--amber-md);border-radius:var(--card-radius) var(--card-radius) 0 0;}
/* Fix 1: Archived card — premium slate hover, never grey flat */
/* FIX 1+3: NO opacity — opacity creates stacking context that makes children
   semi-transparent and unoverridable. Use color/background dimming instead. */
.pmnx-ah-project-card--archived{
  background:#F8FAFC;
  border-color:rgba(226,232,240,.8);
  /* Dim text via color, not opacity — children remain unaffected */
}
.pmnx-ah-project-card--archived .pmnx-ah-project-card-name{ color:#64748B; }
.pmnx-ah-project-card--archived .pmnx-ah-project-card-meta{ color:#94A3B8; }
.pmnx-ah-project-card--archived .pmnx-ah-module-pill--pending{ opacity:.6; }
.pmnx-ah-project-card--archived:hover{
  /* No background override needed — parent has no opacity, so white shows fine */
  transform:translateY(-2px)!important;
  box-shadow:0 0 0 2px #94A3B8, 0 8px 24px rgba(51,65,85,.08) !important;
  border-color:#94A3B8 !important;
  background:#ffffff !important;
}
.pmnx-ah-project-card--archived:hover .pmnx-ah-project-card-name{ color:#334155; }

.pmnx-ah-project-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-bottom:8px;}
.pmnx-ah-project-card-name{font-size:15px;font-weight:800;letter-spacing:-.02em;flex:1;min-width:0;}
.pmnx-ah-project-card-meta{font-size:12px;color:var(--text-lt);margin-bottom:10px;line-height:1.5;}
.pmnx-ah-project-modules{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:10px;}
.pmnx-ah-module-pill{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border-radius:20px;font-size:10px;font-weight:700;border:1px solid var(--border);}
.pmnx-ah-module-pill--done{background:var(--teal-bg);color:var(--teal);border-color:var(--teal-bdr);}
.pmnx-ah-module-pill--pending{background:var(--bg-mid);color:var(--text-muted);}
.pmnx-ah-project-card-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:10px;border-top:1px solid rgba(226,232,240,.7);}
.pmnx-ah-project-activate{font-size:12px;font-weight:700;color:var(--amber-md);background:none;border:none;padding:0;cursor:pointer;display:inline-flex;align-items:center;gap:4px;}
.pmnx-ah-project-activate:hover{color:var(--amber);}
.pmnx-ah-status-badge{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border-radius:20px;font-size:10px;font-weight:700;}
.pmnx-ah-status-badge--current{background:var(--amber-bg);color:var(--amber);border:1px solid var(--amber-bdr);}
.pmnx-ah-status-badge--archived{background:var(--bg-mid);color:var(--text-muted);border:1px solid var(--border);}

/* ─── KEBAB MENU ─────────────────────────────────────────────── */
.pmnx-ah-kebab-wrap{position:relative;}
.pmnx-ah-kebab-btn{background:none;border:none;padding:5px 6px;border-radius:6px;color:var(--text-muted);transition:background var(--motion),color var(--motion);display:flex;align-items:center;}
.pmnx-ah-kebab-btn:hover{background:var(--bg-mid);color:var(--text);}
.pmnx-ah-kebab-menu{
  display:none;
  position:absolute;
  top:calc(100% + 4px);right:0;
  background:#fff;
  border:1px solid #E2E8F0;
  border-radius:14px;
  box-shadow:0 8px 32px rgba(15,23,42,.12),0 2px 8px rgba(15,23,42,.06);
  min-width:175px;
  z-index:300;
  overflow:hidden;
}
.pmnx-ah-kebab-menu.is-open{display:block;animation:pmnxFadeIn .14s ease both;}
@keyframes pmnxFadeIn{from{opacity:0;transform:translateY(-4px);}to{opacity:1;transform:none;}}
.pmnx-ah-kebab-item{display:flex;align-items:center;gap:9px;padding:10px 15px;font-size:13px;font-weight:500;color:var(--text-md);cursor:pointer;transition:background var(--motion);}
.pmnx-ah-kebab-item:hover{background:var(--bg-soft);color:var(--text);}
.pmnx-ah-kebab-item--danger{color:#7F1D1D;}
.pmnx-ah-kebab-item--danger:hover{background:var(--red-bg);}
.pmnx-ah-kebab-divider{height:1px;background:var(--border);margin:4px 0;}
.pmnx-ah-kebab-item svg{width:14px;height:14px;flex-shrink:0;opacity:.6;}

/* ─── ARCHIVED SECTION ──────────────────────────────────────── */
.pmnx-ah-archived-toggle{display:flex;align-items:center;gap:8px;background:none;border:none;font-size:12px;font-weight:700;color:var(--text-muted);padding:8px 0;cursor:pointer;letter-spacing:.04em;margin-top:4px;}
.pmnx-ah-archived-toggle:hover{color:var(--text);}
.pmnx-ah-archived-toggle svg{width:14px;height:14px;transition:transform var(--motion);}
.pmnx-ah-archived-toggle.is-open svg{transform:rotate(180deg);}
.pmnx-ah-archived-grid{display:none;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px;margin-top:12px;}
.pmnx-ah-archived-grid.is-open{display:grid;}

/* ─── DRAFT BANNER ──────────────────────────────────────────── */
.pmnx-ah-draft-banner{display:flex;align-items:center;gap:12px;background:var(--teal-bg);border:1px solid var(--teal-bdr);border-radius:var(--r);padding:12px 16px;margin-bottom:16px;flex-wrap:wrap;}
.pmnx-ah-draft-banner-text{flex:1;font-size:13px;font-weight:600;color:var(--teal);}

/* ─── WIZARD (5-step) ──────────────────────────────────────── */
.pmnx-ah-create-panel{display:none;background:#fff;border:1px solid var(--amber-bdr);border-radius:var(--card-radius);margin-bottom:24px;box-shadow:0 4px 24px rgba(133,79,11,.1);overflow:hidden;}
.pmnx-ah-create-panel.is-open{display:block;animation:pmnxSlideDown .22s ease both;}
@keyframes pmnxSlideDown{from{opacity:0;transform:translateY(-8px);}to{opacity:1;transform:none;}}
.pmnx-ah-cw-header{display:flex;align-items:flex-start;justify-content:space-between;padding:22px 24px 0;}
.pmnx-ah-cw-header h3{font-size:17px;font-weight:800;margin-bottom:4px;}
.pmnx-ah-draft-note{font-size:11px;color:var(--teal);opacity:0;transition:opacity .4s;}
.pmnx-ah-cw-close{background:none;border:none;padding:4px 7px;border-radius:6px;color:var(--text-muted);font-size:20px;line-height:1;cursor:pointer;}
.pmnx-ah-cw-close:hover{background:var(--bg-mid);color:var(--text);}
.pmnx-ah-cw-steps{display:flex;padding:18px 24px 14px;position:relative;}
.pmnx-ah-cw-steps::before{content:'';position:absolute;top:30px;left:40px;right:40px;height:1px;background:var(--border);z-index:0;}
.pmnx-ah-cw-step{flex:1;display:flex;flex-direction:column;align-items:center;gap:5px;position:relative;z-index:1;}
.pmnx-ah-cw-step-num{width:26px;height:26px;border-radius:50%;border:2px solid var(--border);background:var(--bg);display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:800;color:var(--text-muted);transition:all var(--motion);}
.pmnx-ah-cw-step.is-active .pmnx-ah-cw-step-num{border-color:var(--amber-md);background:var(--amber-md);color:#fff;}
.pmnx-ah-cw-step.is-done .pmnx-ah-cw-step-num{border-color:var(--teal);background:var(--teal);color:#fff;}
.pmnx-ah-cw-step-label{font-size:10px;font-weight:600;color:var(--text-muted);text-align:center;}
.pmnx-ah-cw-step.is-active .pmnx-ah-cw-step-label{color:var(--text);}
.pmnx-ah-cw-progress{height:3px;background:var(--border);margin:0 24px;}
.pmnx-ah-cw-progress-fill{height:100%;background:linear-gradient(90deg,var(--amber-md),var(--teal-md));border-radius:2px;transition:width .4s ease;}
.pmnx-ah-cw-content{display:none;padding:20px 24px;}
.pmnx-ah-cw-content.is-active{display:block;animation:pmnxFadeIn .18s ease both;}
.pmnx-ah-cw-section-title{font-size:11px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--text-muted);margin-bottom:3px;}
.pmnx-ah-cw-section-desc{font-size:13px;color:var(--text-lt);margin-bottom:18px;line-height:1.6;}
.pmnx-ah-cw-field{margin-bottom:16px;}
.pmnx-ah-cw-label{display:block;font-size:12px;font-weight:700;color:var(--text-md);margin-bottom:7px;}
.pmnx-ah-cw-label-help{display:block;font-size:11px;font-weight:400;color:var(--text-muted);margin-top:2px;}
.pmnx-ah-cw-input,.pmnx-ah-cw-textarea,.pmnx-ah-cw-select{width:100%;padding:9px 12px;border:1px solid var(--border-md);border-radius:var(--r);font-size:13px;font-family:inherit;color:var(--text)!important;background:#fff!important;transition:border-color var(--motion);-webkit-appearance:none;}
.pmnx-ah-cw-input:focus,.pmnx-ah-cw-textarea:focus,.pmnx-ah-cw-select:focus{outline:none;border-color:var(--amber-md);box-shadow:0 0 0 3px rgba(186,117,23,.1);}
.pmnx-ah-cw-textarea{resize:vertical;min-height:70px;line-height:1.55;}
.pmnx-ah-cw-select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 9px center!important;padding-right:28px!important;cursor:pointer;}
.pmnx-ah-cw-radios,.pmnx-ah-cw-checkboxes{display:flex;flex-direction:column;gap:7px;}
.pmnx-ah-cw-radio-lbl,.pmnx-ah-cw-check-lbl{display:flex;align-items:center;gap:9px;font-size:13px;cursor:pointer;padding:8px 12px;border:1px solid var(--border);border-radius:var(--r);transition:border-color var(--motion),background var(--motion);}
.pmnx-ah-cw-radio-lbl:hover,.pmnx-ah-cw-check-lbl:hover{border-color:var(--amber-bdr);background:var(--amber-bg);}
.pmnx-ah-cw-radio-lbl input,.pmnx-ah-cw-check-lbl input{accent-color:var(--amber-md);}
.pmnx-ah-cw-nav{display:flex;justify-content:space-between;align-items:center;padding:16px 24px;border-top:1px solid var(--border);background:var(--bg-soft);}
.pmnx-ah-autosave-note{font-size:11px;color:var(--text-muted);}

/* ─── FIX 5+6: FLOW CARDS — vertical stack, Tailoring dominant ─ */
/* All 3 cards as vertical list (no side-by-side) */
.pmnx-ah-flow{display:flex;flex-direction:column;gap:12px;}

/* FIX 6: Flow card — pillar-premium-card style */
.pmnx-ah-flow-card{
  background:rgba(255,255,255,.92);
  border:1px solid rgba(226,232,240,.92);
  border-radius:var(--card-radius);
  padding:22px 24px;
  transition:transform var(--motion-slow) ease, box-shadow var(--motion-slow) ease, border-color var(--motion-slow) ease;
  text-decoration:none; display:block;
}
.pmnx-ah-flow-card:hover{
  transform:translateY(-3px);
  box-shadow:0 12px 36px rgba(15,23,42,.08);
  border-color:var(--border-md);
}

/* FIX 5: Tailoring DOMINANT — bigger, amber accent */
.pmnx-ah-flow-card--primary{
  background:linear-gradient(135deg,rgba(255,255,255,.98) 0%,rgba(250,238,218,.18) 100%);
  border-color:var(--amber-bdr);
  border-left:4px solid var(--amber-md);
  padding-left:20px;
}
.pmnx-ah-flow-card--primary:hover{
  border-color:var(--amber-md);
  box-shadow:0 16px 44px rgba(133,79,11,.12);
}
.pmnx-ah-flow-card--primary .pmnx-ah-flow-card-title{font-size:20px;}
.pmnx-ah-flow-card--primary .pmnx-ah-flow-card-desc{font-size:14px;line-height:1.75;}

.pmnx-ah-flow-card-inner{display:flex;gap:16px;align-items:flex-start;}
.pmnx-ah-flow-card-body{flex:1;min-width:0;}
.pmnx-ah-flow-card-title-row{display:flex;align-items:center;gap:10px;margin-bottom:6px;flex-wrap:wrap;}
.pmnx-ah-flow-card-title{font-size:17px;font-weight:800;letter-spacing:-.025em;color:var(--text);}
.pmnx-ah-flow-card-desc{font-size:13px;line-height:1.65;color:var(--text-md);margin-bottom:8px;}
.pmnx-ah-flow-card-meta{font-size:11px;color:var(--text-muted);}
.pmnx-ah-flow-card-foot{display:flex;align-items:center;justify-content:space-between;margin-top:14px;padding-top:12px;border-top:1px solid rgba(226,232,240,.7);}
.pmnx-ah-flow-card-cta{font-size:13px;font-weight:700;color:var(--amber-md);display:flex;align-items:center;gap:5px;}
.pmnx-ah-flow-card-status{font-size:11px;font-weight:700;padding:3px 9px;border-radius:20px;}
.pmnx-ah-flow-card-status--done{background:var(--teal-bg);color:var(--teal);border:1px solid var(--teal-bdr);}
.pmnx-ah-flow-card-status--pending{background:var(--bg-mid);color:var(--text-muted);border:1px solid var(--border);}
/* Step badge (1, 2, 3) */
.pmnx-ah-step-badge{width:24px;height:24px;border-radius:50%;background:var(--amber-bg);border:1px solid var(--amber-bdr);color:var(--amber-md);font-size:11px;font-weight:900;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;}
.pmnx-ah-step-badge--done{background:var(--teal-bg);border-color:var(--teal-bdr);color:var(--teal);}

/* ─── FIX 6: PM IDENTITY CARDS ──────────────────────────────── */
.pmnx-ah-identity-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;}
.pmnx-ah-identity-card{
  background:rgba(255,255,255,.9);
  border:1px solid rgba(199,210,254,.8);
  border-radius:var(--card-radius);
  padding:22px;
  transition:transform var(--motion-slow) ease, box-shadow var(--motion-slow) ease, border-color var(--motion-slow) ease;
  text-decoration:none; display:block; display:flex; flex-direction:column;
}
.pmnx-ah-identity-card:hover{
  transform:translateY(-3px);
  box-shadow:0 12px 36px rgba(55,48,163,.09);
  border-color:var(--indigo-bdr);
}
.pmnx-ah-identity-card-icon{margin-bottom:16px;}
.pmnx-ah-identity-card h4{font-size:16px;font-weight:800;margin-bottom:8px;color:var(--text);}
.pmnx-ah-identity-card p{font-size:13px;line-height:1.65;color:var(--text-md);margin-bottom:10px;flex:1;}
.pmnx-ah-identity-card-meta{font-size:11px;color:var(--text-muted);margin-bottom:14px;}
.pmnx-ah-identity-card-foot{display:flex;align-items:center;justify-content:space-between;padding-top:12px;border-top:1px solid rgba(199,210,254,.7);margin-top:auto;}
.pmnx-ah-identity-card-cta{font-size:13px;font-weight:700;color:var(--indigo-md);display:flex;align-items:center;gap:5px;}

/* ─── FIX 2: PREMIUM DIALOG ─────────────────────────────────── */
.pmnx-ah-dialog-overlay{display:none;position:fixed;inset:0;z-index:9998;background:rgba(7,24,44,.52);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);align-items:center;justify-content:center;padding:20px;}
.pmnx-ah-dialog-overlay.is-open{display:flex;animation:pmnxFadeIn .18s ease both;}
.pmnx-ah-dialog{background:#fff;border-radius:22px;padding:32px 32px 24px;max-width:440px;width:100%;box-shadow:var(--shadow-exec);border:1px solid var(--border);}
.pmnx-ah-dialog-icon{width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;margin-bottom:16px;}
.pmnx-ah-dialog-icon--warning{background:var(--red-bg);color:#7F1D1D;}
.pmnx-ah-dialog-icon--info   {background:var(--amber-bg);color:var(--amber-md);}
.pmnx-ah-dialog h4{font-size:18px;font-weight:800;letter-spacing:-.03em;margin-bottom:10px;color:#0F172A;}
.pmnx-ah-dialog p{font-size:14px;line-height:1.7;margin-bottom:20px;color:var(--text-md);}
.pmnx-ah-dialog-input{width:100%;padding:10px 14px;border:1px solid var(--border-md);border-radius:var(--r);font-size:14px;font-family:inherit;margin-bottom:20px;color:var(--text)!important;background:#fff!important;}
.pmnx-ah-dialog-input:focus{outline:none;border-color:var(--amber-md);box-shadow:0 0 0 3px rgba(186,117,23,.12);}
.pmnx-ah-dialog-actions{display:flex;gap:8px;justify-content:flex-end;}

/* ─── TOAST ─────────────────────────────────────────────────── */
.pmnx-ah-toast{position:fixed;bottom:24px;right:24px;z-index:9999;padding:12px 18px;border-radius:var(--rl);font-size:13px;font-weight:600;font-family:'Inter',sans-serif;box-shadow:0 4px 20px rgba(0,0,0,.15);animation:pmnxFadeIn .2s ease both;max-width:360px;}
.pmnx-ah-toast--success{background:var(--teal-bg);color:var(--teal);border:1px solid var(--teal-bdr);}
.pmnx-ah-toast--error  {background:var(--red-bg);  color:#7F1D1D; border:1px solid var(--red-bdr);}
.pmnx-ah-toast--info   {background:var(--blue-bg); color:var(--blue);border:1px solid var(--blue-bdr);}

/* ─── EMPTY STATE ───────────────────────────────────────────── */
.pmnx-ah-empty{background:rgba(248,250,252,.8);border:1px dashed var(--border-md);border-radius:var(--card-radius);padding:48px 28px;text-align:center;}
.pmnx-ah-empty h3{font-size:18px;font-weight:800;margin-bottom:8px;}
.pmnx-ah-empty p{font-size:14px;max-width:380px;margin:0 auto 20px;}

/* ─── MAIN LAYOUT (no sidebar) ──────────────────────────────── */
.pmnx-ah-main{display:flex;flex-direction:column;gap:0;}

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media(max-width:900px){
  .pmnx-ah-hero{grid-template-columns:1fr;}
  .pmnx-ah-hero-aside{order:-1;}
  .pmnx-ah-snapshot{grid-template-columns:1fr;}
  .pmnx-ah-snapshot-actions{flex-direction:row;}
  .pmnx-ah-identity-grid{grid-template-columns:1fr;}
  .pmnx-ah-layer{padding:22px;}
}
@media(max-width:640px){
  .pmnx-ah-hero-copy h1{font-size:28px;}
  .pmnx-ah-projects-grid{grid-template-columns:1fr;}
  .pmnx-ah-archived-grid{grid-template-columns:1fr;}
  .pmnx-ah-workspace-header{flex-direction:column;align-items:flex-start;gap:12px;}
  .pmnx-ah-workspace-actions{width:100%;}
  .pmnx-ah-cw-step-label{display:none;}
  .pmnx-ah-cw-steps::before{left:28px;right:28px;}
  .pmnx-ah-flow-card-inner{flex-direction:column;gap:12px;}
  .pmnx-ah-layer{padding:16px;}
  .pmnx-ah-dialog{padding:24px 18px 20px;}
  .pmnx-ah-aside-meta{grid-template-columns:1fr;}
}

@keyframes pmnxCardReveal{from{opacity:0;transform:translateY(12px);}to{opacity:1;transform:none;}}
.pmnx-ah-badge{display:none!important;}

/* ─── Dialog button overrides — max specificity for contrast ─── */
.pmnx-ah-dialog .pmnx-ah-dialog-actions .pmnx-ah-btn--primary,
#pmnx-ah-dialog .pmnx-ah-btn--primary{
  background:#BA7517!important; color:#ffffff!important;
  border-color:#BA7517!important; font-family:'Inter',sans-serif!important;
  font-weight:600!important; font-size:13px!important;
}
.pmnx-ah-dialog .pmnx-ah-dialog-actions .pmnx-ah-btn--primary:hover,
#pmnx-ah-dialog .pmnx-ah-btn--primary:hover{
  background:#854F0B!important; color:#ffffff!important;
}
.pmnx-ah-dialog .pmnx-ah-dialog-actions .pmnx-ah-btn--ghost,
#pmnx-ah-dialog .pmnx-ah-btn--ghost{
  background:transparent!important; color:#475569!important;
  border-color:#CBD5E1!important; font-family:'Inter',sans-serif!important;
  font-weight:600!important; font-size:13px!important;
}
.pmnx-ah-dialog .pmnx-ah-dialog-actions .pmnx-ah-btn--ghost:hover,
#pmnx-ah-dialog .pmnx-ah-btn--ghost:hover{
  background:#F8FAFC!important; color:#1a1a1a!important;
}
.pmnx-ah-dialog .pmnx-ah-dialog-actions .pmnx-ah-btn--danger,
#pmnx-ah-dialog .pmnx-ah-btn--danger{
  background:#FEE2E2!important; color:#7F1D1D!important;
  border-color:#FCA5A5!important; font-family:'Inter',sans-serif!important;
  font-weight:600!important; font-size:13px!important;
}
.pmnx-ah-dialog .pmnx-ah-dialog-actions .pmnx-ah-btn--danger:hover,
#pmnx-ah-dialog .pmnx-ah-btn--danger:hover{
  background:#fecaca!important; color:#7F1D1D!important;
}

/* Kebab item danger — hardcoded, not relying on CSS vars */
.pmnx-ah-kebab-item--danger{color:#7F1D1D!important;}
.pmnx-ah-kebab-item--danger:hover{background:#FEE2E2!important;color:#7F1D1D!important;}

/* FIX 3: Kebab menu always solid white — immune to parent opacity/filter */
.pmnx-ah-kebab-menu,
.pmnx-ah-kebab-menu.is-open {
  background: #ffffff !important;
  color: #475569 !important;
}
.pmnx-ah-kebab-item { color: #475569 !important; background: transparent !important; }
.pmnx-ah-kebab-item:hover { background: #F8FAFC !important; color: #1a1a1a !important; }
.pmnx-ah-kebab-item--danger { color: #7F1D1D !important; }
.pmnx-ah-kebab-item--danger:hover { background: #FEE2E2 !important; color: #7F1D1D !important; }

/* ─── Kebab portal (rendered on <body> by JS portal approach) ── */
#pmnx-kebab-portal {
  position: fixed !important;
  background: #ffffff !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 14px !important;
  box-shadow: 0 8px 32px rgba(15,23,42,.14), 0 2px 8px rgba(15,23,42,.07) !important;
  min-width: 175px !important;
  z-index: 999999 !important;
  overflow: hidden !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  animation: pmnxFadeIn .14s ease both;
}
#pmnx-kebab-portal .pmnx-ah-kebab-item {
  display: flex !important; align-items: center !important; gap: 9px !important;
  padding: 10px 15px !important; font-size: 13px !important; font-weight: 500 !important;
  color: #475569 !important; cursor: pointer !important;
  transition: background .12s !important;
  font-family: inherit !important;
  background: transparent !important;
}
#pmnx-kebab-portal .pmnx-ah-kebab-item:hover {
  background: #F8FAFC !important; color: #1a1a1a !important;
}
#pmnx-kebab-portal .pmnx-ah-kebab-item--danger { color: #7F1D1D !important; }
#pmnx-kebab-portal .pmnx-ah-kebab-item--danger:hover {
  background: #FEE2E2 !important; color: #7F1D1D !important;
}
#pmnx-kebab-portal .pmnx-ah-kebab-divider {
  height: 1px !important; background: #E2E8F0 !important; margin: 4px 0 !important;
}
#pmnx-kebab-portal .pmnx-ah-kebab-item svg {
  width: 14px !important; height: 14px !important; flex-shrink: 0 !important; opacity: .65 !important;
}

/* ── Archived card: nuclear CSS override — targets all possible ancestor hover states ── */
.pmnx-applyhub .pmnx-ah-project-card--archived,
.pmnx-applyhub .pmnx-ah-project-card--archived:hover,
.pmnx-applyhub .pmnx-ah-archived-grid .pmnx-ah-project-card--archived:hover,
.pmnx-shell-container .pmnx-ah-project-card--archived:hover {
  background-image: none !important;
}
/* Ensure text stays readable on hover — never dark text on dark bg */
.pmnx-ah-project-card--archived:hover .pmnx-ah-project-card-name {
  color: #334155 !important;
}
.pmnx-ah-project-card--archived:hover .pmnx-ah-project-card-meta {
  color: #64748B !important;
}

/* ── Archived card: nuclear CSS — pseudo-element overlays ── */
.pmnx-ah-project-card--archived::before,
.pmnx-ah-project-card--archived::after,
.pmnx-ah-project-card--archived:hover::before,
.pmnx-ah-project-card--archived:hover::after,
.pmnx-shell-container .pmnx-ah-project-card--archived::before,
.pmnx-shell-container .pmnx-ah-project-card--archived::after {
  display: none !important;
  background: transparent !important;
  background-color: transparent !important;
  opacity: 0 !important;
  content: none !important;
}
/* Force the card itself: all states */
.pmnx-ah-project-card--archived,
.pmnx-ah-archived-grid .pmnx-ah-project-card,
.pmnx-ah-archived-grid .pmnx-ah-project-card--archived {
  background: #F8FAFC !important;
  background-color: #F8FAFC !important;
  filter: none !important;
  opacity: 1 !important;
}
.pmnx-ah-project-card--archived:hover,
.pmnx-ah-archived-grid .pmnx-ah-project-card--archived:hover,
.pmnx-shell-container .pmnx-ah-archived-grid .pmnx-ah-project-card--archived:hover {
  background: #ffffff !important;
  background-color: #ffffff !important;
  filter: none !important;
  opacity: 1 !important;
}

/* ─── Hero-right: premium "Currently active" card ───────── */
.pmnx-ah-hero-right {
  display: flex;
  flex-direction: column;
}
.pmnx-ah-hero-snapshot {
  background: linear-gradient(145deg, #1C3557 0%, #185FA5 60%, #1a6db5 100%);
  border-radius: 18px;
  padding: 28px 26px 24px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 4px 24px rgba(24,95,165,.22), 0 1px 4px rgba(0,0,0,.12);
  position: relative;
  overflow: hidden;
}
/* subtle radial glow top-right */
.pmnx-ah-hero-snapshot::before {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.08) 0%, transparent 70%);
  pointer-events: none;
}
.pmnx-ah-hs-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 8px;
}
.pmnx-ah-hs-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
  margin-bottom: 6px;
}
.pmnx-ah-hs-meta {
  font-size: 12px;
  color: rgba(255,255,255,.6);
  margin-bottom: 4px;
}
.pmnx-ah-hs-posture {
  font-size: 12px;
  font-weight: 700;
  color: #FAC775;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.pmnx-ah-hs-posture::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #FAC775;
  display: inline-block;
}
.pmnx-ah-hs-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.pmnx-ah-hs-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.7);
  white-space: nowrap;
}
.pmnx-ah-hs-pill.is-done {
  background: rgba(29,158,117,.28);
  border-color: rgba(29,158,117,.5);
  color: #6EE7C0;
}
.pmnx-ah-hs-cta {
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.pmnx-ah-hs-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 9px;
  padding: 9px 16px;
  cursor: pointer;
  text-decoration: none;
  transition: background .16s, border-color .16s;
  font-family: inherit;
}
.pmnx-ah-hs-btn:hover {
  background: rgba(255,255,255,.2);
  border-color: rgba(255,255,255,.35);
  color: #fff;
}
/* No-project placeholder */
.pmnx-ah-hero-no-project {
  background: linear-gradient(145deg,#1C3557,#1a4a7a);
  border: 1px dashed rgba(255,255,255,.18);
  border-radius: 18px;
  padding: 28px 26px;
  color: rgba(255,255,255,.7);
}
.pmnx-ah-hero-no-project .pmnx-ah-hs-eyebrow {
  margin-bottom: 10px;
}
.pmnx-ah-hero-no-project p {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255,255,255,.6);
  margin-bottom: 18px;
}
/* Mobile: stack vertically, snapshot on top */
@media(max-width:900px){
  .pmnx-ah-hero { grid-template-columns: 1fr; gap: 20px; padding: 28px 0 24px; }
  .pmnx-ah-hero-right { order: -1; }
}

/* ════════════════════════════════════════════════════════
   v2.1.4 — Reduced containerization pass
   Hero airy · Lightweight workspace snapshot · 3-col operational grid · Editorial reflective layer
════════════════════════════════════════════════════════ */
.pmnx-ah-hero{
  display:block;
  padding:56px 0 42px;
  max-width:920px;
}
.pmnx-ah-hero-copy h1{
  font-size:clamp(40px,5vw,58px);
  line-height:1.04;
  letter-spacing:-.045em;
  max-width:720px;
}
.pmnx-ah-hero-copy>p{
  font-size:16px;
  line-height:1.8;
  max-width:680px;
  margin-bottom:26px;
}
.pmnx-ah-hero-right{display:none!important;}
.pmnx-ah-main{gap:0;}
.pmnx-ah-layer{
  padding:48px 0;
  margin:0;
  border:0;
  border-radius:0;
  background:transparent!important;
  box-shadow:none!important;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
  overflow:visible;
}
.pmnx-ah-layer:hover{transform:none;box-shadow:none;border-color:transparent;}
.pmnx-ah-layer::before{display:none!important;}
.pmnx-ah-layer+.pmnx-ah-layer{border-top:1px solid rgba(226,232,240,.72);}
.pmnx-ah-layer-kicker{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:10px;
  font-size:11px;
  letter-spacing:.14em;
}
.pmnx-ah-layer-kicker::after{
  content:'';
  height:1px;
  flex:1;
  background:linear-gradient(90deg,rgba(203,213,225,.85),transparent);
}
.pmnx-ah-layer-title{font-size:clamp(24px,3vw,34px);margin-bottom:10px;}
.pmnx-ah-layer-subtitle{font-size:15px;line-height:1.75;max-width:720px;margin-bottom:30px;}
.pmnx-ah-workspace-header{margin-bottom:18px;}
.pmnx-ah-workspace-header .pmnx-ah-layer-kicker{margin-bottom:0;}
.pmnx-ah-workspace-header .pmnx-ah-layer-kicker::after{display:none;}
.pmnx-ah-workspace-actions{gap:10px;}
.pmnx-ah-workspace-strip{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  gap:18px;
  align-items:center;
  padding:16px 0 22px;
  margin-bottom:20px;
  border-top:1px solid rgba(226,232,240,.75);
  border-bottom:1px solid rgba(226,232,240,.75);
}
.pmnx-ah-ws-strip-label{
  font-size:10px;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--text-muted);
  margin-bottom:2px;
}
.pmnx-ah-ws-strip-title{
  font-size:18px;
  font-weight:850;
  letter-spacing:-.03em;
  color:var(--text);
  line-height:1.2;
}
.pmnx-ah-ws-strip-state{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end;}
.pmnx-ah-ws-strip-chip{
  display:inline-flex;
  align-items:center;
  white-space:nowrap;
  padding:4px 10px;
  border-radius:999px;
  font-size:11px;
  font-weight:750;
  color:var(--text-muted);
  background:var(--bg-soft);
  border:1px solid var(--border);
}
.pmnx-ah-ws-strip-chip.is-done{background:var(--teal-bg);border-color:var(--teal-bdr);color:var(--teal);}
.pmnx-ah-ws-strip-chip--posture{background:var(--amber-bg);border-color:var(--amber-bdr);color:var(--amber);}
.pmnx-ah-ws-strip-link{font-size:13px;font-weight:800;color:var(--amber-md);white-space:nowrap;}
.pmnx-ah-ws-strip-link:hover{color:var(--amber);}
.pmnx-ah-create-panel{
  border-color:rgba(226,232,240,.9);
  box-shadow:0 18px 44px rgba(15,23,42,.06);
  margin:18px 0 28px;
}
.pmnx-ah-projects-grid{gap:18px;margin-top:6px;margin-bottom:18px;}
.pmnx-ah-project-card{
  background:rgba(255,255,255,.82);
  border-color:rgba(226,232,240,.82);
  box-shadow:0 8px 22px rgba(15,23,42,.035);
}
.pmnx-ah-project-card:hover{box-shadow:0 18px 42px rgba(15,23,42,.08);}
.pmnx-ah-project-card--active{background:linear-gradient(135deg,#fff,rgba(250,238,218,.16));}
.pmnx-ah-flow{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:28px;
}
.pmnx-ah-flow-card,
.pmnx-ah-flow-card--primary{
  min-height:310px;
  padding:28px 26px;
  border:1px solid rgba(203,213,225,.82);
  border-radius:22px;
  background:rgba(255,255,255,.86);
  box-shadow:0 10px 28px rgba(15,23,42,.045);
  display:flex;
  transition:transform .24s ease,box-shadow .24s ease,border-color .24s ease,background .24s ease;
}
.pmnx-ah-flow-card--primary{border-left:1px solid rgba(203,213,225,.82);}
.pmnx-ah-flow-card:hover,
.pmnx-ah-flow-card--primary:hover{
  transform:translateY(-5px);
  background:#fff;
  border-color:rgba(186,117,23,.36);
  box-shadow:0 24px 58px rgba(15,23,42,.10);
}
.pmnx-ah-flow-card-inner{flex-direction:column;gap:20px;width:100%;}
.pmnx-ah-flow-card-body{display:flex;flex-direction:column;flex:1;}
.pmnx-ah-flow-card-title-row{align-items:flex-start;gap:8px;margin-bottom:12px;}
.pmnx-ah-flow-card-title,
.pmnx-ah-flow-card--primary .pmnx-ah-flow-card-title{font-size:17px;line-height:1.25;}
.pmnx-ah-flow-card-desc,
.pmnx-ah-flow-card--primary .pmnx-ah-flow-card-desc{font-size:13.5px;line-height:1.72;color:var(--text-md);}
.pmnx-ah-flow-card-meta{font-size:11.5px;line-height:1.6;margin-top:2px;}
.pmnx-ah-flow-card-foot{margin-top:auto;border-top:1px solid rgba(226,232,240,.72);}
.pmnx-ah-flow-card-status{margin-left:0;}
.pmnx-ah-layer--identity{
  padding-top:56px;
  padding-bottom:60px;
  background:
    radial-gradient(circle at 92% 8%,rgba(79,70,229,.10),transparent 28%),
    linear-gradient(180deg,#fff 0%,#F8FAFC 100%)!important;
  margin-left:calc(-1 * min(28px, 3vw));
  margin-right:calc(-1 * min(28px, 3vw));
  padding-left:min(28px,3vw);
  padding-right:min(28px,3vw);
}
.pmnx-ah-identity-grid{
  display:grid;
  grid-template-columns:minmax(0,1.18fr) minmax(300px,.82fr);
  gap:28px;
  align-items:stretch;
}
.pmnx-ah-identity-card{
  border-radius:24px;
  background:rgba(255,255,255,.9);
  border:1px solid rgba(203,213,225,.72);
  box-shadow:0 10px 28px rgba(15,23,42,.045);
  padding:28px;
}
.pmnx-ah-identity-card:first-child{
  min-height:360px;
  padding:34px;
  background:
    radial-gradient(circle at 86% 6%,rgba(79,70,229,.12),transparent 32%),
    rgba(255,255,255,.94);
}
.pmnx-ah-identity-card:first-child h4{font-size:clamp(24px,2.4vw,32px);letter-spacing:-.045em;}
.pmnx-ah-identity-card:first-child p{font-size:15px;line-height:1.78;max-width:46ch;}
.pmnx-ah-identity-card:hover{transform:translateY(-4px);box-shadow:0 22px 54px rgba(55,48,163,.10);}
.pmnx-ah-identity-card h4{font-size:20px;margin-bottom:12px;}
.pmnx-ah-identity-card p{font-size:14px;line-height:1.74;}
.pmnx-ah-identity-card-foot{gap:14px;flex-wrap:wrap;}
@media(max-width:900px){
  .pmnx-ah-hero{padding:34px 0 28px;}
  .pmnx-ah-workspace-strip{grid-template-columns:1fr;gap:12px;align-items:flex-start;}
  .pmnx-ah-ws-strip-state{justify-content:flex-start;}
  .pmnx-ah-flow{grid-template-columns:1fr;gap:16px;}
  .pmnx-ah-flow-card,.pmnx-ah-flow-card--primary{min-height:auto;}
  .pmnx-ah-identity-grid{grid-template-columns:1fr;}
  .pmnx-ah-layer--identity{margin-left:0;margin-right:0;padding-left:0;padding-right:0;background:transparent!important;}
}
@media(max-width:640px){
  .pmnx-ah-layer{padding:32px 0;}
  .pmnx-ah-hero-copy h1{font-size:34px;}
  .pmnx-ah-flow-card,.pmnx-ah-flow-card--primary,.pmnx-ah-identity-card,.pmnx-ah-identity-card:first-child{padding:22px;}
  .pmnx-ah-workspace-actions{width:100%;align-items:stretch;}
  .pmnx-ah-project-selector,.pmnx-ah-project-selector select{width:100%;}
}

/* ════════════════════════════════════════════════════════
   v2.1.5 — Atmospheric section rhythm
   Subtle tonal zones without returning to boxed containers
════════════════════════════════════════════════════════ */
.pmnx-applyhub{
  position:relative;
  isolation:isolate;
  background:
    radial-gradient(circle at 8% 4%, rgba(55,138,221,.055), transparent 28%),
    linear-gradient(180deg,#fff 0%,#fff 100%);
}

/* Hero: clean, airy, barely-there luminance shift */
.pmnx-ah-hero{
  position:relative;
  padding-top:62px;
  padding-bottom:54px;
}
.pmnx-ah-hero::before{
  content:'';
  position:absolute;
  z-index:-1;
  top:-32px;
  bottom:0;
  left:50%;
  width:100vw;
  transform:translateX(-50%);
  background:
    radial-gradient(circle at 18% 14%, rgba(55,138,221,.10), transparent 30%),
    radial-gradient(circle at 78% 18%, rgba(29,158,117,.055), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(248,250,252,.58) 100%);
  pointer-events:none;
}
.pmnx-ah-hero::after{
  content:'';
  position:absolute;
  left:50%;
  bottom:0;
  width:100vw;
  height:1px;
  transform:translateX(-50%);
  background:linear-gradient(90deg, transparent, rgba(203,213,225,.58), transparent);
  pointer-events:none;
}

/* Full-bleed tonal zones for the three content layers */
.pmnx-ah-layer{
  position:relative;
  z-index:0;
}
.pmnx-ah-layer::before{
  display:block!important;
  content:'';
  position:absolute;
  z-index:-1;
  top:0;
  bottom:0;
  left:50%;
  width:100vw;
  transform:translateX(-50%);
  border-radius:0!important;
  pointer-events:none;
}
.pmnx-ah-layer + .pmnx-ah-layer{
  border-top:0!important;
}

/* Workspace: a quiet anchoring strip, not a new dashboard panel */
.pmnx-ah-layer--workspace{
  padding-top:46px;
  padding-bottom:54px;
}
.pmnx-ah-layer--workspace::before{
  background:
    linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(248,250,252,.72) 54%, rgba(255,255,255,.94) 100%);
  border-top:1px solid rgba(226,232,240,.55);
  border-bottom:1px solid rgba(226,232,240,.45);
}
.pmnx-ah-workspace-strip{
  background:rgba(255,255,255,.46);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  border-top-color:rgba(203,213,225,.55);
  border-bottom-color:rgba(203,213,225,.55);
}

/* Operational: cool work surface with a faint amber/teal intelligence glow */
.pmnx-ah-layer--intelligence{
  padding-top:68px;
  padding-bottom:72px;
}
.pmnx-ah-layer--intelligence::before{
  background:
    radial-gradient(circle at 86% 10%, rgba(186,117,23,.075), transparent 28%),
    radial-gradient(circle at 12% 88%, rgba(29,158,117,.055), transparent 30%),
    linear-gradient(180deg, rgba(248,250,252,.50) 0%, rgba(248,250,252,.82) 100%);
  border-top:1px solid rgba(226,232,240,.45);
  border-bottom:1px solid rgba(226,232,240,.48);
}
.pmnx-ah-layer--intelligence .pmnx-ah-layer-kicker::after{
  background:linear-gradient(90deg, rgba(186,117,23,.28), rgba(29,158,117,.16), transparent);
}

/* Reflective: calmer editorial surface, visibly a different mental mode */
.pmnx-ah-layer--identity{
  margin-left:0!important;
  margin-right:0!important;
  padding:76px 0 78px!important;
  background:transparent!important;
}
.pmnx-ah-layer--identity::before{
  background:
    radial-gradient(circle at 88% 8%, rgba(79,70,229,.12), transparent 30%),
    radial-gradient(circle at 8% 86%, rgba(55,138,221,.055), transparent 30%),
    linear-gradient(180deg, rgba(241,245,249,.72) 0%, rgba(248,250,252,.96) 100%);
  border-top:1px solid rgba(199,210,254,.42);
}
.pmnx-ah-layer--identity .pmnx-ah-layer-kicker::after{
  background:linear-gradient(90deg, rgba(79,70,229,.28), rgba(55,138,221,.14), transparent);
}

@media(max-width:900px){
  .pmnx-ah-hero{padding-top:40px;padding-bottom:38px;}
  .pmnx-ah-layer--workspace{padding-top:34px;padding-bottom:40px;}
  .pmnx-ah-layer--intelligence{padding-top:46px;padding-bottom:52px;}
  .pmnx-ah-layer--identity{padding-top:52px!important;padding-bottom:54px!important;}
}
@media(max-width:640px){
  .pmnx-ah-hero::before,
  .pmnx-ah-layer::before{width:calc(100vw + 2px);}
}

/* Premium OS hero */
.pmnx-ah-hero-copy h1{font-family:Inter,system-ui,sans-serif!important;font-size:clamp(26px,3.4vw,40px)!important;font-weight:850;letter-spacing:-.03em;}
.pmnx-ah-os-card{position:relative;background:linear-gradient(180deg,var(--amber-bg),#fff7ee);border:1px solid var(--amber-bdr);border-radius:26px;min-height:320px;padding:18px;overflow:hidden;box-shadow:0 12px 30px rgba(186,117,23,.12)}
.pmnx-ah-os-center{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:92px;height:92px;border-radius:50%;background:#fff;color:var(--amber-md);display:flex;align-items:center;justify-content:center;font-weight:900;box-shadow:0 10px 30px rgba(0,0,0,.08)}
.pmnx-ah-os-lines{position:absolute;inset:0;width:100%;height:100%}.pmnx-ah-os-lines line{stroke:#d5b27b;stroke-width:1;opacity:.7}
.pmnx-ah-os-node{position:absolute;display:flex;flex-direction:column;align-items:center;gap:6px;font-size:11px;font-weight:700;color:#6b4a0d}
.pmnx-ah-os-node label{max-width:92px;text-align:center}
.pmnx-ah-os-node .ico{width:54px;height:54px;border-radius:16px;background:#fff;box-shadow:0 8px 18px rgba(0,0,0,.08);position:relative}
.pmnx-ah-os-node .ico:before,.pmnx-ah-os-node .ico:after{content:'';position:absolute}
.ico.tailoring:before{inset:16px 12px;border-top:3px solid #BA7517;border-bottom:3px solid #BA7517}
.ico.risk:before{left:17px;top:10px;width:20px;height:28px;border:3px solid #854F0B;border-radius:14px 14px 10px 10px}
.ico.replay:before{left:14px;top:14px;width:24px;height:24px;border:3px solid #2E2787;border-radius:50%;border-right-color:transparent}
.ico.profile:before{left:18px;top:10px;width:16px;height:16px;border:3px solid #185FA5;border-radius:50%}.ico.profile:after{left:14px;bottom:10px;width:26px;height:12px;border:3px solid #185FA5;border-top:none;border-radius:0 0 18px 18px}
.ico.simulator:before{left:12px;top:14px;width:30px;height:20px;border:3px solid #3730A3;border-radius:6px}
.pmnx-ah-os-node .ico{animation:pmnxFloat 4s ease-in-out infinite}
.n1{left:8%;top:12%}.n2{right:8%;top:12%}.n3{left:6%;bottom:12%}.n4{right:6%;bottom:12%}.n5{left:50%;transform:translateX(-50%);top:2%}
@keyframes pmnxFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}


/* v2.1.9 — Ensure premium Operating System card is visible in the hero */
.pmnx-ah-hero{
  display:grid!important;
  grid-template-columns:minmax(0,1.02fr) minmax(340px,.98fr)!important;
  gap:42px!important;
  align-items:center!important;
  max-width:1180px!important;
  padding:48px 0 46px!important;
}
.pmnx-ah-hero-copy{min-width:0;}
.pmnx-ah-hero-copy h1{
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  font-size:clamp(30px,3.6vw,46px)!important;
  line-height:1.06!important;
  letter-spacing:-.04em!important;
  max-width:620px!important;
}
.pmnx-ah-hero-copy>p{max-width:560px!important;}
.pmnx-ah-hero-right{
  display:grid!important;
  gap:14px!important;
  min-width:0!important;
}
.pmnx-ah-os-card{
  display:block!important;
  width:100%!important;
  min-height:330px!important;
}
.pmnx-ah-os-card::before{
  content:"Apply OS";
  position:absolute;
  left:22px;
  top:18px;
  font-size:10px;
  line-height:1;
  font-weight:900;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:#854F0B;
  opacity:.9;
}
.pmnx-ah-os-card::after{
  content:"One workspace. Five connected decision functions.";
  position:absolute;
  left:22px;
  right:22px;
  bottom:16px;
  font-size:12px;
  line-height:1.45;
  color:#6B4A0D;
  text-align:center;
}
.pmnx-ah-os-center{
  background:linear-gradient(180deg,#fff,#FFF9F0)!important;
  border:1px solid rgba(186,117,23,.22)!important;
}
.pmnx-ah-os-node label{font-size:10px!important;letter-spacing:.01em;}
.pmnx-ah-os-lines line{stroke:#BA7517!important;stroke-width:.8!important;stroke-dasharray:3 4;animation:pmnxAhSignal 5s linear infinite;}
@keyframes pmnxAhSignal{0%{stroke-dashoffset:0;opacity:.35}50%{opacity:.85}100%{stroke-dashoffset:-28;opacity:.35}}
@media(max-width:980px){
  .pmnx-ah-hero{grid-template-columns:1fr!important;gap:24px!important;padding:34px 0 30px!important;}
  .pmnx-ah-hero-right{order:0!important;}
  .pmnx-ah-os-card{min-height:300px!important;}
}
@media(max-width:640px){
  .pmnx-ah-hero-copy h1{font-size:32px!important;}
  .pmnx-ah-os-card{min-height:280px!important;padding:14px!important;}
  .pmnx-ah-os-node .ico{width:46px!important;height:46px!important;}
}


/* v2.1.10 — Amber OS mesh hero: single compact card, no active-project duplicate */
.pmnx-ah-hero{
  display:grid!important;
  grid-template-columns:minmax(0,1.04fr) minmax(360px,.96fr)!important;
  gap:40px!important;
  align-items:center!important;
  max-width:1180px!important;
  padding:42px 0 40px!important;
}
.pmnx-ah-hero-right{display:block!important;min-width:0!important;}
.pmnx-ah-hero-snapshot,.pmnx-ah-hero-no-project{display:none!important;}
.pmnx-ah-os-card{
  position:relative!important;
  display:block!important;
  width:100%!important;
  min-height:246px!important;
  height:246px!important;
  padding:18px 20px 16px!important;
  border-radius:22px!important;
  border:1px solid rgba(186,117,23,.36)!important;
  background:
    radial-gradient(circle at 50% 47%, rgba(255,255,255,.96) 0 11%, rgba(255,255,255,.32) 12%, transparent 28%),
    radial-gradient(circle at 16% 18%, rgba(255,255,255,.82), transparent 23%),
    linear-gradient(135deg,#FFF8EA 0%,#FAEEDA 55%,#FFF9F0 100%)!important;
  box-shadow:0 18px 42px rgba(133,79,11,.13), inset 0 1px 0 rgba(255,255,255,.9)!important;
  overflow:hidden!important;
}
.pmnx-ah-os-card::before,.pmnx-ah-os-card::after{content:none!important;display:none!important;}
.pmnx-ah-os-eyebrow{
  position:absolute;left:20px;top:16px;z-index:4;
  font-size:10px;font-weight:900;letter-spacing:.16em;text-transform:uppercase;color:#854F0B;
}
.pmnx-ah-os-mesh{position:absolute;inset:22px 22px 28px;width:calc(100% - 44px);height:calc(100% - 50px);z-index:1;pointer-events:none;}
.pmnx-ah-os-mesh .mesh-line{fill:none;stroke:url(#pmnxAhMeshGold);stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;}
.pmnx-ah-os-mesh .mesh-line-b{opacity:.78}.pmnx-ah-os-mesh .mesh-line-c{opacity:.45;stroke-dasharray:3 8;}
.pmnx-ah-os-mesh .mesh-flow{fill:none;stroke:#BA7517;stroke-width:1.8;stroke-linecap:round;stroke-dasharray:1 17;opacity:.78;animation:pmnxAhMeshFlow 4.8s linear infinite;}
.pmnx-ah-os-mesh .flow-b{animation-delay:-1.4s}.pmnx-ah-os-mesh .flow-c{animation-delay:-2.6s;opacity:.58;}
@keyframes pmnxAhMeshFlow{to{stroke-dashoffset:-72}}
.pmnx-ah-os-center,.pmnx-ah-os-core{
  position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;z-index:3;
  width:64px!important;height:64px!important;border-radius:999px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  background:rgba(255,255,255,.86)!important;border:1px solid rgba(186,117,23,.24)!important;
  box-shadow:0 14px 32px rgba(133,79,11,.12)!important;color:#BA7517!important;
}
.pmnx-ah-os-core span{font-size:15px;font-weight:950;letter-spacing:.06em;}
.pmnx-ah-os-module{
  position:absolute;z-index:4;display:flex;flex-direction:column;align-items:center;gap:5px;
  width:104px;text-align:center;color:#6B4A0D;font-size:10px;font-weight:850;line-height:1.15;
}
.pmnx-ah-os-module label{display:block;max-width:104px;text-align:center;}
.pmnx-ah-os-icon{
  width:46px;height:46px;border-radius:15px;display:flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,.92);border:1px solid rgba(226,188,126,.62);
  box-shadow:0 10px 22px rgba(133,79,11,.10);animation:pmnxAhIconFloat 5s ease-in-out infinite;
}
.pmnx-ah-os-icon svg{width:22px;height:22px;display:block;}
.icon-tailoring{color:#BA7517}.icon-risk{color:#854F0B}.icon-replay{color:#2E2787}.icon-profile{color:#185FA5}.icon-simulator{color:#3730A3}
.module-tailoring{left:10%;top:35px}.module-risk{right:10%;top:35px}.module-replay{left:8%;bottom:28px}.module-profile{right:8%;bottom:28px}.module-simulator{left:50%;top:14px;transform:translateX(-50%)}
.module-risk .pmnx-ah-os-icon{animation-delay:-.8s}.module-replay .pmnx-ah-os-icon{animation-delay:-1.6s}.module-profile .pmnx-ah-os-icon{animation-delay:-2.4s}.module-simulator .pmnx-ah-os-icon{animation-delay:-3.2s}
@keyframes pmnxAhIconFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
.pmnx-ah-os-caption{position:absolute;left:20px;right:20px;bottom:12px;margin:0!important;text-align:center;font-size:11px;line-height:1.35;color:#7A5212;z-index:4;}
@media(max-width:980px){
  .pmnx-ah-hero{grid-template-columns:1fr!important;gap:22px!important;padding:34px 0 32px!important;}
  .pmnx-ah-os-card{height:236px!important;min-height:236px!important;}
}
@media(max-width:640px){
  .pmnx-ah-hero-copy h1{font-size:32px!important;}
  .pmnx-ah-os-card{height:250px!important;min-height:250px!important;padding:14px!important;}
  .pmnx-ah-os-module{width:88px;font-size:9px;}
  .pmnx-ah-os-icon{width:42px;height:42px;}
  .module-tailoring{left:4%;}.module-risk{right:4%;}.module-replay{left:3%;}.module-profile{right:3%;}
}


/* v2.1.11 — true five-node mesh: no central OS node */
.pmnx-ah-os-card{
  height:218px!important;
  min-height:218px!important;
  padding:16px 18px 12px!important;
  background:linear-gradient(135deg,#FFF8EA 0%,#FAEEDA 58%,#FFF9F0 100%)!important;
}
.pmnx-ah-os-center,.pmnx-ah-os-core{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important;}
.pmnx-ah-os-mesh{inset:22px 28px 32px!important;width:calc(100% - 56px)!important;height:calc(100% - 54px)!important;}
.pmnx-ah-os-mesh .mesh-line{stroke:url(#pmnxAhMeshGold)!important;stroke-width:.95!important;opacity:.62!important;stroke-dasharray:none!important;}
.pmnx-ah-os-mesh .mesh-flow{stroke:#BA7517!important;stroke-width:1.45!important;stroke-dasharray:1 18!important;opacity:.58!important;animation:pmnxAhMeshFlow 4.2s linear infinite!important;}
.pmnx-ah-os-mesh .flow-b{animation-delay:-1.2s!important;opacity:.44!important;}
.pmnx-ah-os-mesh .flow-c{animation-delay:-2.4s!important;opacity:.38!important;}
.pmnx-ah-os-module{z-index:5!important;}
.module-tailoring{left:8%!important;top:42px!important;}
.module-simulator{left:50%!important;top:18px!important;transform:translateX(-50%)!important;}
.module-risk{right:8%!important;top:42px!important;}
.module-replay{left:7%!important;bottom:24px!important;}
.module-profile{right:7%!important;bottom:24px!important;}
.pmnx-ah-os-icon{width:44px!important;height:44px!important;border-radius:14px!important;}
.pmnx-ah-os-icon svg{width:21px!important;height:21px!important;}
.pmnx-ah-os-caption{bottom:8px!important;font-size:10.5px!important;}
@media(max-width:980px){.pmnx-ah-os-card{height:218px!important;min-height:218px!important;}}
@media(max-width:640px){
  .pmnx-ah-os-card{height:230px!important;min-height:230px!important;}
  .pmnx-ah-os-mesh{inset:28px 18px 34px!important;width:calc(100% - 36px)!important;height:calc(100% - 62px)!important;}
  .pmnx-ah-os-module{width:84px!important;font-size:8.5px!important;}
  .pmnx-ah-os-icon{width:40px!important;height:40px!important;}
  .module-tailoring{left:2%!important;top:48px!important;}.module-risk{right:2%!important;top:48px!important;}
  .module-replay{left:1%!important;bottom:28px!important;}.module-profile{right:1%!important;bottom:28px!important;}
}


/* v2.1.12 — narrower desktop mesh card + corrected Apply icon colors */
@media (min-width:981px){
  .pmnx-ah-hero{
    grid-template-columns:minmax(0,1.22fr) minmax(300px,420px)!important;
    gap:46px!important;
    align-items:center!important;
  }
  .pmnx-ah-hero-right{
    max-width:420px!important;
    width:100%!important;
    justify-self:end!important;
  }
  .pmnx-ah-os-card{
    width:100%!important;
    height:208px!important;
    min-height:208px!important;
    padding:14px 16px 10px!important;
    border-radius:20px!important;
  }
  .pmnx-ah-os-mesh{
    inset:20px 24px 30px!important;
    width:calc(100% - 48px)!important;
    height:calc(100% - 50px)!important;
  }
  .module-tailoring{left:7%!important;top:38px!important;}
  .module-simulator{left:50%!important;top:16px!important;transform:translateX(-50%)!important;}
  .module-risk{right:7%!important;top:38px!important;}
  .module-replay{left:6%!important;bottom:22px!important;}
  .module-profile{right:6%!important;bottom:22px!important;}
  .pmnx-ah-os-icon{width:42px!important;height:42px!important;border-radius:13px!important;}
  .pmnx-ah-os-icon svg{width:20px!important;height:20px!important;}
  .pmnx-ah-os-module{font-size:9.5px!important;width:96px!important;}
  .pmnx-ah-os-caption{bottom:7px!important;font-size:10px!important;}
}
.icon-tailoring{color:#BA7517!important;}
.icon-risk{color:#854F0B!important;}
.icon-replay{color:#BA7517!important;}
.icon-profile{color:#3730A3!important;}
.icon-simulator{color:#3730A3!important;}
.pmnx-ah-os-icon.icon-replay{border-color:rgba(186,117,23,.42)!important;background:rgba(255,255,255,.94)!important;}
.pmnx-ah-os-icon.icon-profile,
.pmnx-ah-os-icon.icon-simulator{border-color:rgba(55,48,163,.25)!important;background:rgba(255,255,255,.95)!important;}
