/* Customer Portal (Pages 37–50) — iiHel Premium Hybrid Blue. Scoped to .pt so the public site is unaffected. */
.pt { --pt-n: #07164D; --pt-b: #0644DB; --pt-b2: #087BFF; --pt-c: #00C8F8; --pt-bg: #F5F8FD; --pt-line: #DFE8F5; --pt-t: #0B1742; --pt-m: #64748B; --pt-g: #12B76A; --pt-y: #F5A524; --pt-r: #F04438; padding: 18px 0 40px; background: var(--pt-bg); }
/* final QA round 4: dialogs and toasts are attached to <body>, outside .pt — they need the same colours (buttons were white on white) */
.pt-modal, .pt-toast { --pt-n: #07164D; --pt-b: #0644DB; --pt-b2: #087BFF; --pt-c: #00C8F8; --pt-bg: #F5F8FD; --pt-line: #DFE8F5; --pt-t: #0B1742; --pt-m: #64748B; --pt-g: #12B76A; --pt-y: #F5A524; --pt-r: #F04438; }
.pt .ihw { max-width: 1520px; }
.pt-card { background: #fff; border: 1px solid var(--pt-line); border-radius: 14px; box-shadow: 0 2px 10px rgba(7, 22, 77, .05); padding: 18px; min-width: 0; }
.pt-load { text-align: center; color: var(--pt-m); }
.pt-mut { color: var(--pt-m); margin: 0; } .small { font-size: 13px; } .center { text-align: center; justify-content: center; } .g { color: var(--pt-g) !important; } .r { color: var(--pt-r) !important; }
.pt-h { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 12px; }
.pt-h h1 { font: 800 clamp(1.25rem, 2.2vw, 1.6rem)/1.2 var(--f-display, 'Plus Jakarta Sans'); margin: 0 0 2px; color: var(--pt-n); }
.pt-ch { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 12px; }
.pt-ch h2 { display: flex; gap: 8px; align-items: center; font: 800 16px/1.2 var(--f-display, 'Plus Jakarta Sans'); margin: 0; color: var(--pt-n); }
.pt-ch h2 svg { color: var(--pt-b); flex: none; }
.pt-va { font-size: 13px; font-weight: 600; color: var(--pt-b); text-decoration: none; white-space: nowrap; }
.pt-sub { font-size: 14px; margin: 14px 0 8px; }

/* app frame: sidebar + main */
.pt-app { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 18px; align-items: start; }
.pt-side { position: sticky; top: 90px; background: linear-gradient(180deg, #0A1B5C, var(--pt-n)); color: #fff; border-radius: 16px; padding: 18px 12px; display: grid; gap: 14px; }
.pt-me { display: flex; align-items: center; gap: 10px; padding: 4px 8px 12px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.pt-me b { display: block; font-size: 16px; } .pt-me em { font-style: normal; font-size: 11.5px; font-weight: 700; background: var(--pt-b2); padding: 2px 10px; border-radius: 99px; }
.pt-av { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--pt-b2), var(--pt-b)); display: grid; place-items: center; font-weight: 800; color: #fff; flex: none; }
.pt-av.sm { width: 30px; height: 30px; font-size: 11px; display: inline-grid; margin-right: 4px; }
.pt-side nav { display: grid; gap: 4px; }
.pt-side nav a { display: flex; align-items: center; gap: 12px; color: #DCE6FF; text-decoration: none; padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: 14.5px; }
.pt-side nav a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.pt-side nav a[aria-current] { background: linear-gradient(90deg, var(--pt-b2), var(--pt-b)); color: #fff; box-shadow: 0 8px 18px -8px rgba(8, 123, 255, .8); }
.pt-help { border: 1px solid rgba(255, 255, 255, .15); border-radius: 12px; padding: 12px; display: grid; gap: 6px; }
.pt-help small { color: #C7D3F5; font-size: 12px; } .pt-help .pt-btn { margin-top: 4px; }
.pt-out { background: none; border: 0; color: #C7D3F5; display: flex; gap: 8px; align-items: center; padding: 6px 12px; cursor: pointer; font: inherit; font-size: 13.5px; }
.pt-main { min-width: 0; display: grid; gap: 14px; align-content: start; }
.pt-tabbar { display: none; }

/* banner */
.pt-banner { position: relative; overflow: hidden; display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 16px; color: #fff; background: radial-gradient(70% 140% at 85% 0%, rgba(0, 200, 248, .35), transparent 60%), linear-gradient(100deg, var(--pt-b) 0%, #0A2E9E 55%, var(--pt-n) 100%); }
.pt-banner h2 { font: 800 clamp(1.15rem, 2vw, 1.5rem)/1.2 var(--f-display, 'Plus Jakarta Sans'); margin: 0 0 4px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.pt-banner p { margin: 0; color: #DCE6FF; font-size: 14px; } .pt-banner > div { flex: 1; min-width: 0; }
.pt-bi { width: 58px; height: 58px; border-radius: 14px; border: 2px solid rgba(255, 255, 255, .5); display: grid; place-items: center; flex: none; }
.pt-bl { display: inline-flex; align-items: center; gap: 8px; } .pt-bl b { font: 800 20px/1 var(--f-display, 'Plus Jakarta Sans'); display: grid; } .pt-bl b small { font-size: 13px; font-weight: 700; }
.pt-banner .pt-bl { margin-left: auto; }
.pt-banner.proj { padding: 14px 18px; } .pt-banner.proj .pt-btn { background: #fff; color: var(--pt-b); flex: none; }
.pt-banner.proj select { min-width: 220px; }

/* KPIs */
.pt-kpis { display: grid; gap: 12px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.pt-kpis.k3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .pt-kpis.k6 { grid-template-columns: repeat(6, minmax(0, 1fr)); } .pt-kpis.k7 { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.pt-kpi { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--pt-line); border-radius: 14px; padding: 14px; min-width: 0; }
.pt-kpi > span:last-child { min-width: 0; flex: 1; }
.pt-kpi small { display: block; color: var(--pt-m); font-size: 12.5px; font-weight: 600; }
.pt-kpi b { display: block; font: 800 20px/1.25 var(--f-display, 'Plus Jakarta Sans'); color: var(--pt-n); overflow-wrap: anywhere; }
.pt-ki { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #EAF1FF; color: var(--pt-b); flex: none; }
.pt-kpi.g { background: #EFFBF4; } .pt-kpi.g .pt-ki { background: #D8F5E5; color: var(--pt-g); } .pt-kpi.g b { color: #0E8A4F; }
.pt-kpi.y { background: #FFF8EB; } .pt-kpi.y .pt-ki { background: #FFEFD0; color: #D98A00; }
.pt-kpi.r { background: #FFF2F1; } .pt-kpi.r .pt-ki { background: #FFE1DE; color: var(--pt-r); } .pt-kpi.r b { color: var(--pt-r); }
.pt-kpi.wide { grid-column: span 1; }

/* grids */
.pt-g3 { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.pt-g3.w2 { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } .pt-g3.w3 { grid-template-columns: minmax(0, .8fr) minmax(0, 2.2fr); } .pt-g3.secg { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) minmax(0, 1fr); }

/* badges, bars */
.pt-b { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 99px; white-space: nowrap; background: #EEF2F7; color: #475569; }
.pt-b.g { background: #DDF6E8; color: #0E8A4F; } .pt-b.b { background: #E3EDFF; color: var(--pt-b); } .pt-b.y { background: #FFF0D4; color: #B36B00; } .pt-b.r { background: #FFE3E0; color: #C4281C; } .pt-b.o { background: #E7F7FE; color: #0279A8; }
.pt-pill { font-size: 12px; font-weight: 700; color: var(--pt-b); background: #E3EDFF; border-radius: 99px; padding: 3px 10px; white-space: nowrap; }
.pt-bar { display: block; height: 8px; background: #E8EEF7; border-radius: 99px; overflow: hidden; min-width: 60px; flex: 1; }
.pt-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--pt-b2), var(--pt-b)); }
.pt-bar.g i { background: linear-gradient(90deg, #2BD27E, var(--pt-g)); }
.pt-pp { display: flex; align-items: center; gap: 8px; min-width: 120px; } .pt-pp b { font-size: 13px; min-width: 36px; text-align: right; } .pt-pp.sm { min-width: 100px; }

/* lists & tables */
.pt-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pt-list > li { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; border: 1px solid transparent; }
.pt-list > li > a, .pt-list > li > button { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; color: inherit; text-decoration: none; background: none; border: 0; font: inherit; text-align: left; cursor: pointer; padding: 0; }
.pt-list > li:hover, .pt-list.sel li.on { background: #F3F7FF; border-color: #CFE0FF; }
.pt-grow { flex: 1; min-width: 0; } .pt-grow b { display: block; font-size: 14px; color: var(--pt-t); overflow-wrap: anywhere; } .pt-grow small { display: block; color: var(--pt-m); font-size: 12.5px; }
.pt-pi { width: 42px; height: 34px; border-radius: 8px; background: linear-gradient(135deg, #0A2E9E, var(--pt-n)); color: #8FC3FF; display: grid; place-items: center; flex: none; }
.pt-pi.lg { width: 74px; height: 50px; }
.pt-fi { width: 38px; height: 38px; border-radius: 9px; background: #FFE7E4; color: #D92D20; font: 800 10px/1 Inter, sans-serif; display: grid; place-items: center; flex: none; }
.pt-fi.sm { width: 28px; height: 28px; display: inline-grid; vertical-align: middle; margin-right: 6px; }
.pt-tw { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pt-t { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.pt-t th { text-align: left; font-size: 12px; color: var(--pt-m); font-weight: 700; padding: 8px; border-bottom: 1px solid var(--pt-line); white-space: nowrap; background: #F8FAFE; }
.pt-t td { padding: 9px 8px; border-bottom: 1px solid #EEF2F8; vertical-align: middle; } .pt-t td small { display: block; color: var(--pt-m); font-size: 12px; }
.pt-t.sel tbody tr { cursor: pointer; } .pt-t.sel tbody tr.on td { background: #F0F6FF; } .pt-t.sel tbody tr.on td:first-child { box-shadow: inset 3px 0 var(--pt-b); }
.pt-ib { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; color: var(--pt-b); background: #EEF4FF; border: 0; cursor: pointer; margin-left: 4px; }
.pt-kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 0 0 12px; font-size: 14px; } .pt-kv dt { color: var(--pt-m); } .pt-kv dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.pt-empty { display: grid; justify-items: center; gap: 4px; text-align: center; padding: 18px 8px; color: var(--pt-m); } .pt-empty svg { color: #9BB3D9; } .pt-empty b { color: var(--pt-t); }
.pt-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.pt-chips button, .pt-tabs button { border: 1px solid var(--pt-line); background: #fff; border-radius: 99px; padding: 6px 14px; font: 600 13px Inter, sans-serif; cursor: pointer; color: var(--pt-t); display: inline-flex; gap: 6px; align-items: center; }
.pt-chips button[aria-pressed=true], .pt-tabs button[aria-selected=true] { background: var(--pt-b); color: #fff; border-color: var(--pt-b); }
.pt-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; } .pt-tabs button { border-radius: 10px; padding: 10px 16px; white-space: nowrap; }

/* milestones, stages, timeline */
.pt-ms { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.pt-ms > li { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border: 1px solid #EEF2F8; border-radius: 12px; }
.pt-ms > li.submitted { border-color: #F5C26B; background: #FFFBF2; }
.pt-msi { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #E3EDFF; color: var(--pt-b); font-weight: 800; font-size: 13px; flex: none; }
.pt-ms > li.approved .pt-msi { background: var(--pt-g); color: #fff; } .pt-ms > li.changes_requested .pt-msi { background: var(--pt-r); color: #fff; }
.pt-ms p { margin: 6px 0 0; font-size: 13px; }
.pt-dl { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 12.5px; color: var(--pt-m); } .pt-dl li { display: inline-flex; gap: 4px; align-items: center; }
.pt-dec { margin-top: 10px; display: grid; gap: 8px; }
.pt-stages { list-style: none; padding: 0; margin: 4px 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; counter-reset: s; }
.pt-stages li { display: grid; justify-items: center; text-align: center; gap: 3px; position: relative; font-size: 12px; }
.pt-stages li::before { content: ''; position: absolute; top: 13px; left: -50%; width: 100%; height: 3px; background: #DCE5F2; z-index: 0; } .pt-stages li:first-child::before { display: none; }
.pt-stages li.done::before, .pt-stages li.current::before { background: var(--pt-g); }
.pt-stages span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid #C9D6EA; z-index: 1; color: #fff; }
.pt-stages li.done span { background: var(--pt-g); border-color: var(--pt-g); } .pt-stages li.current span { background: var(--pt-b); border-color: var(--pt-b); box-shadow: 0 0 0 4px #D9E6FF; }
.pt-stages small { color: var(--pt-m); } .pt-stages li.current small { color: var(--pt-b); font-weight: 700; } .pt-stages li.done small { color: var(--pt-g); }
.pt-tl { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.pt-tl li { display: flex; gap: 10px; } .pt-tl .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--pt-b); margin-top: 4px; flex: none; box-shadow: 0 0 0 3px #DCE8FF; }
.pt-tl .dot.g { background: var(--pt-g); box-shadow: 0 0 0 3px #D8F5E5; } .pt-tl .dot.r { background: var(--pt-r); box-shadow: 0 0 0 3px #FFE1DE; }
.pt-tl b { display: block; font-size: 13.5px; font-weight: 600; } .pt-tl small { color: var(--pt-m); font-size: 12px; }
.pt-prog { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; } .pt-prog li { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) 44px; gap: 10px; align-items: center; font-size: 13.5px; } .pt-prog b { text-align: right; }
.pt-plist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.pt-plist a { display: flex; gap: 12px; align-items: center; border: 1px solid var(--pt-line); border-radius: 12px; padding: 10px; color: inherit; text-decoration: none; }
.pt-plist a:hover { border-color: var(--pt-b2); background: #F7FAFF; }

/* quick actions, money, misc */
.pt-qa { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pt-qa a, .pt-qa button { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 14px 8px; border-radius: 12px; border: 1px solid var(--pt-line); background: #F8FBFF; color: var(--pt-n); font: 700 13px Inter, sans-serif; text-decoration: none; cursor: pointer; }
.pt-qa a svg, .pt-qa button svg { color: var(--pt-b); } .pt-qa a:hover, .pt-qa button:hover { border-color: var(--pt-b2); }
.pt-don .donut { justify-content: center; } .pt .donut { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.pt .donut-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; flex: 1; min-width: 140px; font-size: 13px; }
.pt .donut-legend li { display: flex; align-items: center; gap: 8px; } .pt .donut-legend i { width: 9px; height: 9px; border-radius: 50%; flex: none; } .pt .donut-legend span { flex: 1; color: var(--pt-m); }
.pt-sum { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid #EEF2F8; margin-top: 10px; font-size: 14px; }
.pt-pm { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; } .pt-pm div { border: 1px solid var(--pt-line); border-radius: 10px; padding: 10px; } .pt-pm small { display: block; color: var(--pt-m); font-size: 12px; white-space: pre-line; }
.pt-fold { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.pt-fold button { width: 100%; display: flex; gap: 10px; align-items: center; border: 0; background: none; padding: 9px 10px; border-radius: 9px; font: 600 14px Inter, sans-serif; color: var(--pt-t); cursor: pointer; text-align: left; }
.pt-fold button[aria-pressed=true] { background: #E8F0FF; color: var(--pt-b); } .pt-fold svg { color: var(--pt-b2); }
.pt-warn { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: #FFF6E5; border: 1px solid #F5D08A; color: #7A4B00; text-decoration: none; } .pt-warn span { flex: 1; } .pt-warn.info { background: #EEF4FF; border-color: #CFE0FF; color: var(--pt-n); }
.pt-note { display: flex; gap: 8px; padding: 10px 12px; border-radius: 10px; background: #EEF4FF; color: var(--pt-n); font-size: 13px; margin-top: 10px; }
.pt-codes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin: 12px 0; } .pt-codes code { background: #F1F5FB; padding: 8px; border-radius: 8px; text-align: center; font-size: 14px; letter-spacing: .05em; }

/* forms & buttons */
.pt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--pt-line); background: #fff; color: var(--pt-b); font: 700 14px Inter, sans-serif; padding: 10px 16px; border-radius: 10px; cursor: pointer; text-decoration: none; }
.pt-btn.sm { padding: 7px 12px; font-size: 13px; } .pt-btn:disabled { opacity: .6; cursor: default; }
.pt-btn-b { background: linear-gradient(180deg, var(--pt-b2), var(--pt-b)); color: #fff; border-color: transparent; box-shadow: 0 8px 18px -10px rgba(6, 68, 219, .9); }
.pt-btn-g { background: linear-gradient(180deg, #22C06C, #0E9F55); color: #fff; border-color: transparent; }
.pt-btn-r { color: #D92D20; border-color: #F6B7B0; background: #fff; }
.pt-link { background: none; border: 0; color: var(--pt-b); font: 600 13px Inter, sans-serif; cursor: pointer; text-decoration: underline; }
.pt-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; justify-content: space-between; } .pt-dec .pt-row { justify-content: flex-start; }
.pt-form { display: grid; gap: 12px; }
.pt-f { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--pt-t); } .pt-f i { font-style: normal; font-weight: 500; color: var(--pt-m); }
.pt-f input, .pt-f select, .pt-f textarea, .pt-in { width: 100%; border: 1px solid #D5DFEE; border-radius: 10px; padding: 10px 12px; font: 500 14px Inter, sans-serif; color: var(--pt-t); background: #fff; box-sizing: border-box; }
.pt-f.inline { display: block; } .pt-f.inline select { color: var(--pt-t); }
.pt-in { display: flex; align-items: center; gap: 8px; padding: 0 12px; } .pt-in input { border: 0; outline: 0; padding: 11px 0; flex: 1; min-width: 0; font: inherit; background: none; } .pt-in svg { color: var(--pt-m); flex: none; }
.pt-in.search { margin-bottom: 10px; }
.pt-in:focus-within, .pt-f input:focus, .pt-f select:focus, .pt-f textarea:focus { outline: 2px solid #9CC2FF; border-color: var(--pt-b2); }
.pt-eye { background: none; border: 0; color: var(--pt-m); cursor: pointer; padding: 4px; }
.pt-chk { display: inline-flex; gap: 8px; align-items: center; font-size: 13.5px; }
.pt-err { color: var(--pt-r); font-size: 13px; margin: 0; min-height: 1em; }
.pt-otp { display: flex; gap: 8px; justify-content: center; } .pt-otp input { width: 46px; height: 54px; text-align: center; font: 800 22px/1 Inter, sans-serif; border: 1px solid #C9D6EA; border-radius: 10px; color: var(--pt-n); }
.pt-otp input:focus { outline: 2px solid var(--pt-b2); }
.pt-rules { list-style: none; padding: 10px 12px; margin: 0; border-radius: 10px; background: #F4F8FD; display: grid; gap: 4px; font-size: 13px; color: var(--pt-m); }
.pt-rules li::before { content: '○ '; } .pt-rules li.ok { color: #0E8A4F; } .pt-rules li.ok::before { content: '✓ '; }
.pt-rec summary { cursor: pointer; color: var(--pt-b); font-weight: 600; font-size: 13.5px; text-align: center; }

/* auth screens (47/49) */
.pt-auth { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, .8fr); gap: 16px; align-items: stretch; }
.pt-auth-art { border-radius: 18px; padding: 28px; color: #fff; background: radial-gradient(70% 70% at 90% 100%, rgba(0, 200, 248, .35), transparent 60%), linear-gradient(150deg, var(--pt-b) 0%, #0A2E9E 50%, var(--pt-n) 100%); display: grid; align-content: start; gap: 14px; }
.pt-auth-art h1 { font: 800 clamp(1.5rem, 2.6vw, 2.1rem)/1.15 var(--f-display, 'Plus Jakarta Sans'); margin: 10px 0 0; } .pt-auth-art h1 span { display: block; }
.pt-auth-art p { color: #DCE6FF; margin: 0; } .pt-auth-art ul { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 10px; } .pt-auth-art li { display: flex; gap: 8px; align-items: center; } .pt-auth-art li svg { color: #4ADE80; }
.pt-login { display: grid; gap: 12px; align-content: start; padding: 26px; } .pt-login h2 { margin: 6px 0 0; text-align: center; font: 800 22px/1.2 var(--f-display, 'Plus Jakarta Sans'); color: var(--pt-n); } .pt-login > .pt-mut { text-align: center; }
.pt-bl.center { justify-self: center; color: var(--pt-n); } .pt-bl.center b small { color: var(--pt-b); }
.pt-auth-side { display: grid; gap: 12px; align-content: start; } .pt-auth-side h3 { display: flex; gap: 8px; margin: 0; color: var(--pt-n); }
.pt-tip { display: flex; gap: 10px; align-items: flex-start; } .pt-tip svg { color: var(--pt-g); flex: none; margin-top: 2px; } .pt-tip b { display: block; font-size: 13.5px; } .pt-tip small { color: var(--pt-m); font-size: 12.5px; } .pt-tip span { font-size: 13.5px; }
.pt-ok { width: 74px; height: 74px; border-radius: 50%; background: linear-gradient(180deg, #2BD27E, var(--pt-g)); color: #fff; display: grid; place-items: center; margin: 0 auto; box-shadow: 0 0 0 10px #E3F8EC; }
.pt-forgot { grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr) minmax(0, .7fr); }
.pt-steps { display: grid; } .pt-step { display: grid; gap: 12px; align-content: start; justify-items: stretch; text-align: center; max-width: 440px; width: 100%; margin: 0 auto; padding: 26px; }
.pt-step h2 { margin: 0; font: 800 20px/1.2 var(--f-display, 'Plus Jakarta Sans'); color: var(--pt-n); } .pt-step .pt-f { text-align: left; }
.pt-si { width: 62px; height: 62px; border-radius: 16px; background: #EAF1FF; color: var(--pt-b); display: grid; place-items: center; margin: 0 auto; }

/* security (48/50) */
.pt-secart { color: #fff; background: radial-gradient(70% 70% at 90% 100%, rgba(0, 200, 248, .35), transparent 60%), linear-gradient(150deg, var(--pt-b), var(--pt-n)); border: 0; display: grid; gap: 10px; align-content: start; }
.pt-secart h2 { margin: 0; font: 800 24px/1.15 var(--f-display, 'Plus Jakarta Sans'); } .pt-secart p { margin: 0; color: #DCE6FF; } .pt-secart ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; } .pt-secart li { display: flex; gap: 8px; } .pt-secart li svg { color: #4ADE80; }
.pt-checks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.pt-checks div { border: 1px solid var(--pt-line); border-radius: 10px; padding: 10px 6px; display: grid; justify-items: center; text-align: center; gap: 4px; } .pt-checks svg { color: var(--pt-g); } .pt-checks div.warn svg { color: #D98A00; }
.pt-checks b { font-size: 13px; } .pt-checks small { font-size: 12px; color: var(--pt-m); }
.pt-2fa { padding-left: 20px; display: grid; gap: 12px; margin: 0 0 12px; } .pt-2fa li b { display: block; } .pt-2fa li span { color: var(--pt-m); font-size: 13px; }
.pt-qr { margin: 10px 0; } .pt-qr svg { border: 1px solid var(--pt-line); border-radius: 10px; }
.pt-key { display: inline-block; background: #F1F5FB; padding: 6px 10px; border-radius: 8px; font-size: 14px; letter-spacing: .06em; }

/* modal & toast */
.pt-modal { position: fixed; inset: 0; background: rgba(7, 22, 77, .45); display: grid; place-items: center; padding: 16px; z-index: 1000; }
.pt-mbox { background: #fff; border-radius: 16px; width: min(520px, 100%); max-height: calc(100vh - 32px); overflow: auto; box-shadow: 0 30px 70px -20px rgba(7, 22, 77, .5); }
.pt-mh { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--pt-line); } .pt-mh h3 { margin: 0; color: var(--pt-n); }
.pt-mb { padding: 18px; } .pt-x { background: none; border: 0; cursor: pointer; color: var(--pt-m); }
.pt-paybox p { margin: 0 0 8px; }
.pt-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--pt-n, #07164D); color: #fff; padding: 12px 18px; border-radius: 12px; z-index: 1100; font: 600 14px Inter, sans-serif; box-shadow: 0 16px 34px -12px rgba(7, 22, 77, .6); max-width: calc(100vw - 32px); }
.pt-toast.bad { background: #B42318; }

/* responsive */
@media (max-width: 1280px) { .pt-kpis.k6, .pt-kpis.k7 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .pt-g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pt-g3.secg { grid-template-columns: 1fr 1fr; } .pt-auth, .pt-forgot { grid-template-columns: 1fr 1fr; } .pt-auth-side { grid-column: 1 / -1; } }
@media (max-width: 980px) {
  .pt-app { grid-template-columns: 1fr; } .pt-side { display: none; }


  .pt { padding-bottom: 90px; }
  .pt-g3, .pt-g3.w2, .pt-g3.w3, .pt-g3.secg { grid-template-columns: 1fr; }
  .pt-kpis, .pt-kpis.k6, .pt-kpis.k7 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pt-auth, .pt-forgot { grid-template-columns: 1fr; } .pt-auth-art { display: none; }
  .pt-banner .pt-bl { display: none; } .pt-banner.proj { flex-wrap: wrap; }
}
@media (max-width: 520px) {
  .pt-kpis.k3 { grid-template-columns: 1fr; } .pt-kpi b { font-size: 17px; } .pt-ki { width: 38px; height: 38px; }
  .pt-banner { padding: 14px; } .pt-bi { width: 46px; height: 46px; }
  .pt-stages { grid-template-columns: repeat(3, 1fr); row-gap: 12px; } .pt-stages li:nth-child(4)::before { display: none; }
  .pt-checks { grid-template-columns: repeat(2, 1fr); } .pt-otp input { width: 40px; height: 48px; }
  .pt-card { padding: 14px; } .pt-pp { min-width: 90px; }
}
/* layout fixes after first screenshot review */
.pt-g3.dash { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr); }
.pt-list > li > a, .pt-list > li > button { flex-wrap: wrap; row-gap: 6px; } .pt-list .pt-grow { flex-basis: 150px; }
.pt-t td { white-space: nowrap; } .pt-t td.ell { max-width: 180px; overflow: hidden; text-overflow: ellipsis; } .pt-t td.wr { white-space: normal; min-width: 180px; }
@media (max-width: 1280px) { .pt-g3.dash { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 980px) { .pt-g3.dash { grid-template-columns: 1fr; } }
/* mobile: horizontal portal menu (the website keeps its own bottom bar) */
.pt-mnav { display: none; }
@media (max-width: 980px) {
  .pt-app { display: flex; flex-direction: column; } .pt-mnav { order: -1; display: flex; width: 100%; max-width: 100%; box-sizing: border-box; gap: 6px; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: none; } .pt-mnav::-webkit-scrollbar { display: none; }
  .pt-mnav a, .pt-mnav button { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; padding: 8px 12px; border-radius: 99px; background: #fff; border: 1px solid var(--pt-line); color: var(--pt-n); font: 600 13px Inter, sans-serif; text-decoration: none; cursor: pointer; }
  .pt-mnav a[aria-current] { background: var(--pt-b); border-color: var(--pt-b); color: #fff; }
  .pt { padding-bottom: 110px; }
  .pt-ms > li { flex-wrap: wrap; } .pt-ms .pt-pp { flex-basis: 100%; padding-left: 40px; }
  .pt-h h1 { font-size: 1.2rem; } .pt-h p { font-size: 14px; }
}
.pt-stages b { font-size: 11.5px; } .pt-stages small { font-size: 10.5px; line-height: 1.2; }
.pt-kpi b { white-space: nowrap; }
.pt-kpis.k7 .pt-kpi, .pt-kpis.k6 .pt-kpi { padding: 12px 10px; gap: 9px; } .pt-kpis.k7 .pt-ki, .pt-kpis.k6 .pt-ki { width: 38px; height: 38px; } .pt-kpis.k7 b { font-size: 17px; } .pt-kpis.k6 b { font-size: 18px; }
@media (max-width: 520px) { .pt-kpis.k6 b, .pt-kpis.k7 b { font-size: 16px; } }
.pt-list > li > button.pt-btn { flex: none; border: 1px solid var(--pt-line); background: #fff; padding: 7px 12px; color: var(--pt-b); font: 700 13px Inter, sans-serif; }
/* ---- Visual QA pass (1536 px desktop / 390 px mobile) ---- */
.pt-cap { text-transform: capitalize; }
/* tables in the narrower dashboard / invoice cards: tighter cells so the Status column stays visible */
.pt-g3 .pt-t { font-size: 13px; } .pt-g3 .pt-t th, .pt-g3 .pt-t td { padding: 8px 6px; } .pt-t .pt-pill, .pt-t .pt-b, .pt-t [class*="pill"], .pt-t [class*="bdg"] { white-space: nowrap; }
/* stage tracker: labels wrap inside their step instead of running into each other */
.pt-stages li { min-width: 0; } .pt-stages li > b { font-size: 11.5px; line-height: 1.2; max-width: 100%; overflow-wrap: anywhere; hyphens: auto; } .pt-stages small { font-size: 10.5px; }
.pt-g3 > .pt-card .pt-stages { grid-template-columns: repeat(3, 1fr); row-gap: 14px; } .pt-g3 > .pt-card .pt-stages li:nth-child(4)::before { display: none; }
/* one focus ring on icon inputs (wrapper), not two */
.pt-f .pt-in input, .pt-f .pt-in input:focus, .pt-in input:focus-visible { border: 0; outline: 0; box-shadow: none; padding: 11px 0; width: auto; }
/* inside the signed-in portal the floating help button shrinks to its icon so it never covers card content (the sidebar already has "Need Help?") */
body:has(.pt-side) .ih-sl, body:has(.pt-nav) .ih-sl { padding: 6px; gap: 0; } body:has(.pt-side) .ih-sl .ih-sl-t, body:has(.pt-nav) .ih-sl .ih-sl-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* 49: four-step indicator on the reset flow */
.pt-prog { list-style: none; margin: 0 0 6px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.pt-step .pt-prog li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; line-height: 1.2; font-size: 11.5px; font-weight: 600; color: #5B6785; position: relative; }
.pt-prog i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 12.5px; font-weight: 700; background: #E6EBF5; color: #3B4664; position: relative; z-index: 1; }
.pt-prog li + li::before { content: ''; position: absolute; top: 12px; right: 50%; width: 100%; height: 2px; background: #E6EBF5; }
.pt-prog li.on i { background: #0644DB; color: #fff; } .pt-prog li.on { color: #07164D; }
.pt-prog li.done i { background: #12804A; color: #fff; } .pt-prog li.done + li::before, .pt-prog li.on::before { background: #12804A; }

/* page-level error state */
.pt-fail { padding: 34px 12px; gap: 8px; } .pt-fail svg { color: #C4320A; } .pt-fail .pt-btn { margin-top: 8px; } .pt-fail .pt-btn svg { color: inherit; }

/* Accessibility pass: muted text and status greens reach 4.5 : 1 on the tinted cards */
.pt, .pt-auth, .pt-forgot, #ptm, body { --pt-m: #5A6880; }
.pt-stages li.done small { color: #0B7A45; }
/* keyboard focus on links is visible on light and dark bars alike */
a:focus-visible { outline: 2px solid #0644DB !important; outline-offset: 2px; box-shadow: 0 0 0 4px rgba(255, 255, 255, .92); border-radius: 4px; }
/* final QA 13 Nov 2026: a wide table scrolls inside its card instead of widening the page on phones */
.pt-g2 > *, .pt-g3 > *, .pt-card { min-width: 0; }
@media (max-width: 980px) { .pt-g3, .pt-g3.w2, .pt-g3.w3, .pt-g3.secg, .pt-g3.dash { grid-template-columns: minmax(0, 1fr); } }
/* final QA round 3: list rows (e.g. a contract with its "Review & Sign" button) wrap on phones instead of widening the page */
.pt-list { grid-template-columns: minmax(0, 1fr); }
.pt-list > li { min-width: 0; }
@media (max-width: 560px) { .pt-list > li { flex-wrap: wrap; } .pt-list > li .pt-grow { flex-basis: calc(100% - 60px); } }
