/* Portal v2 shell styles. Colors come only from the brand file (CSS vars --b-*). Matches the approved customer portal mockup. */
:root{--kv-page:#F5F5F7;--kv-teal:#1E7691;--kv-teal-text:#175A6F;--kv-teal-glow:rgba(30,118,145,.14);--kv-accent-warm:#D9480F;--kv-accent-warm-glow:rgba(217,72,15,.14);--kv-accent-warm-tint:#FFF3EC;--kv-accent-warm-tint-hover:#FFEADB;--kv-accent-warm-line:#F5D6C4}
/* hdr-align-1119 + app-icon-colors-1119: --kv-teal is the wordmark colour of the real logo asset (/fp/app/v2/brand/konaview-logo-light.e3c477e4.svg fill #1E7691; also the most common opaque pixel of the rendered logo, 47650 px).
   --kv-accent-warm is a darkened coral/amber (the logo's own amber #FFC145 is only 1.6:1 on white; #D9480F is 4.3:1 on white). One place; icons and tints read these. */
@font-face{font-family:Inter;src:url(/fp/fonts/inter.3100e775.woff2) format('woff2');font-weight:100 900;font-display:swap}
*{box-sizing:border-box}
html{scrollbar-gutter:stable;-webkit-font-smoothing:antialiased}
body{margin:0;font:400 18px/1.55 Inter,system-ui,-apple-system,'Segoe UI',sans-serif;color:var(--b-ink);background:var(--b-page);font-variant-numeric:tabular-nums}
a{color:inherit;text-decoration:none}
button{font:inherit}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
:focus-visible{outline:3px solid var(--b-focus);outline-offset:2px}
svg.i{width:20px;height:20px;flex:0 0 20px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
/* header */
.p2-top{height:68px;display:flex;align-items:center;justify-content:flex-start;padding:0 max(56px,calc((100% - 968px) / 2));border-bottom:1px solid #E5E5EA;background:var(--b-page);gap:12px}
.p2-logo{display:inline-flex;align-items:center;min-height:48px;flex:0 0 auto}.p2-logo img,.p2-logo .n4-blogo{height:34px;width:auto;display:block;box-shadow:none}.p2-logo svg{height:var(--logo-h,34px);width:auto;display:block}
.p2-um{position:relative;margin-left:auto}
.p2-av{width:48px;height:48px;border-radius:50%;border:0;background:#F5F5F7;color:#1D1D1F;font-size:17px;font-weight:600;cursor:pointer}
.p2-menu{position:absolute;right:0;top:56px;z-index:20;min-width:240px;background:#fff;border:1px solid #E5E5EA;border-radius:16px;box-shadow:0 12px 32px rgba(0,0,0,.10);padding:8px 0}
.p2-menu[hidden]{display:none}
.p2-menu .who{padding:12px 14px;border-bottom:1px solid #eee;margin-bottom:6px;display:flex;flex-direction:column}.p2-menu .who b{font-weight:600}.p2-menu .who span{color:var(--b-muted);font-size:17px}
.p2-menu a{display:flex;align-items:center;gap:12px;min-height:48px;padding:0 20px;border-radius:0;font-size:17px;font-weight:500}.p2-menu a:hover{background:#FAFAFC}
.p2-menu-sep{height:1px;background:#E5E5EA;margin:8px 0}
/* page */
.p2-wrap{max-width:1080px;margin:0 auto;padding:48px 56px 96px}
.p2-back{margin-bottom:24px}
h1,.p2-h1{font-size:40px;font-weight:700;letter-spacing:-.02em;margin:0 0 8px;line-height:1.1;color:#1D1D1F}
h1.hello,.p2-h1.hello{font-size:40px;font-weight:700;letter-spacing:-.02em;margin:0 0 8px}
.p2-sub{color:#424245;margin:0 0 32px;font-size:19px;max-width:720px;line-height:1.4}
h2{font-size:26px;font-weight:600;letter-spacing:-.02em;margin:0 0 12px}
h3{font-size:21px;font-weight:600;margin:0;letter-spacing:-.01em}
/* buttons: ONE .p2-main (brand blue) per page; everything else .p2-sec or .p2-link */
.p2-main,.p2-sec{display:inline-flex;align-items:center;justify-content:center;gap:10px;cursor:pointer;white-space:nowrap}
.p2-main,.p2-btn{min-height:48px;height:48px;padding:0 24px;border:0;border-radius:999px;background:#2147C7;color:#fff;font-size:17px;font-weight:600}
.p2-main:hover,.p2-btn:hover{background:#1B3BA8}.p2-main[disabled]{opacity:.55;cursor:not-allowed}
.p2-sec{min-height:48px;padding:0 18px;border:1px solid var(--b-control);border-radius:10px;background:#fff;color:var(--b-ink);font-size:17px;font-weight:500}
.p2-sec:hover{border-color:#bbb}
.p2-block{display:flex;width:100%}
.p2-link{background:none;border:0;padding:0;color:var(--b-primary);font-weight:500;cursor:pointer;font-size:17px;min-height:44px;display:inline-flex;align-items:center}
/* tiles + cards */
.p2-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:88px}
.p2-tile{display:flex;flex-direction:column;gap:14px;padding:32px 28px;border:1px solid var(--b-line);border-radius:16px;min-height:200px;transition:border-color .16s,background .16s;background:transparent}
a.p2-tile:hover{border-color:var(--b-primary);background:var(--b-tint)}
.p2-tile .ic{width:20px;height:20px;color:var(--b-primary)}
.p2-tile b{font-size:23px;font-weight:600;letter-spacing:-.015em;line-height:1.4}.p2-tile span{color:#555}
.p2-tile .t{display:flex;flex-direction:column;gap:6px}
.p2-card{padding:24px 20px;border:1px solid var(--b-line);border-radius:16px;background:#fff;display:flex;flex-direction:column;gap:12px}
.p2-card .ic{width:20px;height:20px;color:var(--b-primary)}
.p2-card p{margin:0;color:var(--b-muted)}
.p2-card .act{margin-top:auto;padding-top:12px}
.p2-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:24px}
.p2-bar{height:4px;border-radius:2px;background:#e8e8e8;overflow:hidden}.p2-bar b{display:block;height:100%;background:var(--b-primary)}
/* rows */
.p2-sec-block{margin-bottom:80px}
.p2-row{display:grid;grid-template-columns:minmax(0,1fr) auto 96px;align-items:center;gap:16px;padding:16px 0;border-top:1px solid #eee;min-height:60px}
.p2-row>span{color:#444}.p2-row>b{font-weight:500;text-align:right}.p2-row .p2-sec{justify-self:end}
.p2-st{font-weight:500;color:#1D1D1F;background:none;border:0;padding:0;border-radius:0}.p2-st.good{color:#1D1D1F}.p2-st.warn{color:var(--b-warn)}.p2-st.bad{color:var(--b-bad)} /* normal states (Paid/Active/Completed) are plain ink text; only problems keep a colored word */
.p2-empty{padding:40px 24px;border:1px dashed #D9D9D9;border-radius:16px;text-align:center;color:var(--b-muted)}
.p2-empty b{display:block;color:var(--b-ink);font-size:21px;margin-bottom:6px}
/* site preview (home) */
.p2-preview{position:relative;border-radius:12px;overflow:hidden;border:1px solid #E3E3E8;aspect-ratio:16/10;background:#fff;color:inherit}
.p2-preview .pv-nav{display:flex;justify-content:space-between;align-items:center;padding:14px 28px;background:rgba(0,0,0,.35);font-size:17px}
.p2-preview .pv-nav span{display:flex;gap:18px;color:#eee}
.p2-preview .pv-hero{position:absolute;left:28px;right:28px;top:30%}
.p2-preview .pv-hero strong{display:block;font-size:44px;line-height:1.05;letter-spacing:.01em;text-transform:uppercase;font-weight:800;max-width:720px}
.p2-preview .pv-hero p{max-width:440px;color:#eee;margin:14px 0 0}
.p2-preview .pv-ph{position:absolute;inset:0;background:linear-gradient(135deg,#4b5563,#1f2937);}
.p2-preview .pv-tag{position:absolute;right:28px;top:68px;font-size:17px;color:#ddd}
.p2-preview .p2-main{position:absolute;right:20px;bottom:20px}
/* auth (sign in / create account) */
body.p2-auth{background:var(--b-auth-page)}
.p2-authcol{max-width:440px;margin:48px auto 96px}
.p2-authcol .p2-logo{margin-bottom:28px;min-height:36px}.p2-authcol .p2-logo svg{height:36px}
.p2-acard{background:#fff;border:1px solid var(--b-line);border-radius:16px;padding:36px 32px;box-shadow:0 4px 20px rgba(0,0,0,.04);font-size:17px}
.p2-acard h1{font-size:32px;letter-spacing:-.5px;margin:0 0 6px}
.p2-acard .p2-sub{margin:0 0 28px}
label.p2-l{display:block;font-weight:600;margin:0 0 8px;font-size:17px}
.p2-in{display:block;width:100%;min-height:52px;padding:0 14px;border:1px solid var(--b-field);border-radius:10px;font:inherit;font-size:17px;margin:0 0 20px;background:#fff;color:var(--b-ink)}
textarea.p2-in{padding:12px 14px;min-height:120px;resize:vertical}
.p2-in::placeholder{color:#4f4f4f}
.p2-row2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.p2-help{margin:12px 0 0;color:#4f4f4f;text-align:center}
.p2-hint{margin:-12px 0 20px;color:#4f4f4f}
.p2-or{display:flex;align-items:center;gap:12px;margin:22px 0;color:#4f4f4f}.p2-or:before,.p2-or:after{content:'';flex:1;height:1px;background:#e6e6e6}
.p2-links{margin-top:28px;text-align:center;color:#4f4f4f;line-height:2}
.p2-choice{display:flex;gap:16px;align-items:flex-start;width:100%;text-align:left;padding:20px;border:1px solid var(--b-control);border-radius:14px;background:#fff;margin:0 0 12px;cursor:pointer;color:var(--b-ink)}
.p2-choice:hover{border-color:var(--b-primary);background:var(--b-tint)}
.p2-choice svg{width:26px;height:26px;flex:0 0 26px;color:var(--b-primary)}
.p2-choice b{display:block;font-size:19px;font-weight:600}.p2-choice em{display:block;font-style:normal;color:var(--b-muted);font-size:17px}
.p2-backlk{margin:-8px 0 8px}
.p2-codes{display:flex;gap:8px;margin:0 0 20px}.p2-codes input{width:100%;min-width:0;height:56px;text-align:center;font-size:24px;border:1px solid var(--b-field);border-radius:10px}
.p2-ex{color:#4f4f4f;text-align:center;margin-top:16px}
.p2-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.p2-article{max-width:720px}.p2-article p,.p2-article li{color:#333}
/* tablet + phone */
@media (max-width:900px){.p2-tiles,.p2-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.p2-top{padding:0 24px;height:68px}.p2-wrap{padding:36px 24px 80px}}
@media (max-width:600px){
 .p2-top{height:68px;padding:0 20px}.p2-logo svg,.p2-logo img,.p2-logo .n4-blogo{height:28px}
 .p2-wrap{padding:28px 20px 64px}
 h1{font-size:34px}h1.hello{font-size:36px}.p2-sub{font-size:19px;margin-bottom:40px}
 .p2-tiles{grid-template-columns:1fr;gap:14px;margin-bottom:64px}
 .p2-tile{min-height:0;padding:22px 20px;flex-direction:row;align-items:flex-start;gap:16px}.p2-tile b{font-size:21px}.p2-tile span{font-size:17px}
 .p2-cards{grid-template-columns:1fr}
 .p2-row{grid-template-columns:minmax(0,1fr) auto;row-gap:2px}.p2-row>b{display:block;grid-column:1/-1;text-align:left}
 .p2-authcol{margin:48px 20px 96px}.p2-acard{padding:28px 20px}.p2-acard h1{font-size:28px}.p2-acard .p2-sub{font-size:19px}
 .p2-row2{grid-template-columns:1fr}
 .p2-preview{aspect-ratio:3/4}.p2-preview .pv-nav span{display:none}.p2-preview .pv-hero strong{font-size:30px}.p2-preview .pv-tag{display:none}
 .p2-preview .p2-main{left:16px;right:16px;bottom:16px}
}
.p2-acts{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:24px 0}
/* r8 (QA 2 L, 768): the mockup header is 68px from 860px down (it was 80px until 600px here) */
@media (max-width:860px){.p2-top{height:68px}.p2-logo svg{height:28px}}
.p2-av:hover{background:#F5F5F7}.p2-av:focus-visible{outline:3px solid #2147C7;outline-offset:2px;background:#F5F5F7}
/* golive T1: Home shows the customer's real site preview (server-rendered, same origin) */
.p2-preview.hm-real{width:100%;min-width:0;box-sizing:border-box;background:#fff;color:inherit;aspect-ratio:auto;max-height:none;height:auto;overflow:hidden}
.p2-preview.hm-real .hm-scale{position:absolute;top:0;left:0;width:1280px;max-width:none;transform-origin:top left}
.p2-preview .hm-frame{position:absolute;inset:0;width:100%;height:100%;border:0;pointer-events:none;background:#fff}
.p2-preview.hm-real .hm-frame{position:relative;inset:auto;display:block;width:1280px;max-width:none;height:800px}
.p2-preview.hm-real .p2-main{z-index:1}
/* golive T1 (CEO 9:05): v2 Sign In (brand primary, no green, no logo shadow) */
.lg2 form{margin:0}.lg2 .p2-l{display:block;margin-top:16px}.lg2 .p2-main{margin-top:24px}
.lg-alt{display:grid;gap:12px;margin:16px 0 0}.lg-alt .p2-sec{width:100%;justify-content:center}
.lg-small{margin:16px 0 0;font-size:17px;text-align:center}.lg-help{margin-top:24px}
.lg-chk{display:flex;gap:10px;align-items:center;margin:16px 0;font-size:17px}
.lg-msg{margin:0 0 16px;padding:12px 14px;border-radius:10px;font-size:17px;border:1px solid #d9d9d9;color:#1a1a1a;background:#fff}
.lg-msg.err{border-color:#8F1C13;color:#8F1C13}.lg-msg.ok,.lg-msg.info{border-color:#1e3a8a;color:#1e3a8a}
.p2-auth .p2-logo,.p2-auth .p2-logo svg,.p2-auth .p2-logo img{box-shadow:none!important;filter:none!important}
.bl-inc{list-style:none;margin:0;padding:0;display:grid;gap:10px;font-size:17px}.bl-inc li{display:flex;gap:10px;align-items:flex-start}.bl-inc svg{color:var(--b-primary,#1e3a8a);margin-top:3px}
/* 1.9.2 unclaimed preview @<=600px: the draft frame stops above the button, so Make a Change sits in its own strip below the draft instead of covering its text */
@media (max-width:600px){.p2-preview.hm-pv .hm-frame{height:calc(100% - 88px);bottom:auto;border-bottom:1px solid var(--b-line)}}
/* 1.9.2a preview: gated actions */
.p2-gated{display:inline-flex;flex-direction:column;gap:6px;align-items:flex-start}.p2-gated .p2-block{width:100%}.p2-gated>button[disabled]{opacity:1;cursor:not-allowed;color:#374151;background:#f3f4f6;border-color:#d1d5db}.p2-gnote{font-size:15px;color:#374151}

/* Global Apple 48px select */
.p2-wrap select,select.p2-in,.af-select{
  appearance:none;-webkit-appearance:none;-moz-appearance:none;
  height:48px;min-height:48px;border-radius:12px;background-color:#F5F5F7;border:1px solid #D2D2D7;
  padding:0 44px 0 16px;font-size:17px;font-weight:500;color:#1D1D1F;cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%232147C7' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 14px center;background-size:20px 20px}
/* design-gate button-states (CEO 12:30 AM CT Nov 6): initials avatar hover #E5E5EA (#1D1D1F text 14.3:1); focus ring unchanged */
html #p2-av:hover{background:#E5E5EA!important;color:#1D1D1F!important}
/* Apple sign-in (Owner ruling 7:00 AM CT Nov 6, "Change the login page using the apple design standards"): /app/v2/login/ + /app/v2/signup/ only (body.p2-auth).
   Soft #F5F5F7 canvas, one flat white card (no shadow), 50px #F5F5F7 fields, one blue pill per step, tonal gray secondary pills, 48px targets, no decorative icons. */
body.p2-auth{background:#F5F5F7;min-height:100vh;color:#1D1D1F}
body.p2-auth .p2-authcol{max-width:440px;margin:0 auto;padding:56px 0 96px}
body.p2-auth .p2-authcol>.p2-logo{display:flex;align-items:center;justify-content:center;width:max-content;min-height:48px;min-width:48px;margin:0 auto 24px;padding:0 10px;border-radius:12px;text-decoration:none;transition:background-color .14s ease}
body.p2-auth .p2-authcol>.p2-logo:hover{background:#E8E8ED}
body.p2-auth .p2-authcol>.p2-logo:focus-visible{outline:3px solid #2147C7;outline-offset:2px}
body.p2-auth .p2-acard{background:#FFFFFF;border:1px solid #E3E3E8;border-radius:20px;padding:36px 32px;box-shadow:none;font-size:17px;color:#1D1D1F}
body.p2-auth .p2-acard h1{font-size:32px;line-height:1.15;font-weight:700;letter-spacing:-.02em;color:#1D1D1F;margin:0 0 8px}
body.p2-auth .p2-acard .p2-sub{font-size:17px;line-height:1.45;color:#424245;margin:0 0 28px;max-width:none}
body.p2-auth label.p2-l{display:block;font:600 17px/1.35 Inter,-apple-system,system-ui,sans-serif;color:#1D1D1F;margin:0 0 8px}
body.p2-auth .p2-in{display:block;width:100%;height:50px;min-height:48px;padding:0 16px;margin:0 0 20px;border:1px solid #D2D2D7;border-radius:12px;background:#F5F5F7;color:#1D1D1F;font:400 17px/1.35 Inter,-apple-system,system-ui,sans-serif;box-shadow:none;-webkit-appearance:none;appearance:none;transition:background-color .14s ease,border-color .14s ease}
body.p2-auth textarea.p2-in{height:auto;min-height:120px;padding:12px 16px;resize:vertical}
body.p2-auth .p2-in::placeholder{color:#515154;opacity:1}
body.p2-auth .p2-in:hover{border-color:#AEAEB2}
body.p2-auth .p2-in:focus,body.p2-auth .p2-in:focus-visible{background:#FFFFFF;border-color:#2147C7;outline:3px solid #2147C7;outline-offset:2px;box-shadow:none}
body.p2-auth .p2-hint{margin:-12px 0 20px;color:#424245;font-size:17px}
body.p2-auth .p2-codes{gap:6px;margin:0 0 20px}
body.p2-auth .p2-codes input{height:56px;min-height:48px;border:1px solid #D2D2D7;border-radius:12px;background:#F5F5F7;color:#1D1D1F;font:600 24px/1 Inter,-apple-system,system-ui,sans-serif;box-shadow:none}
body.p2-auth .p2-codes input:focus{background:#FFFFFF;border-color:#2147C7;outline:3px solid #2147C7;outline-offset:2px}
/* one solid blue pill per step */
body.p2-auth .p2-main{height:50px;min-height:48px;padding:0 24px;border:0;border-radius:999px;background:#2147C7;color:#FFFFFF;font:600 17px/1 Inter,-apple-system,system-ui,sans-serif;box-shadow:none;text-decoration:none;transition:background-color .14s ease}
body.p2-auth .p2-main:hover{background:#1B3BA8;color:#FFFFFF}
body.p2-auth .p2-main:focus-visible{outline:3px solid #2147C7;outline-offset:2px}
body.p2-auth .p2-main[disabled]{opacity:.55}
body.p2-auth .p2-main[disabled]:hover{background:#2147C7}
/* tonal secondary pills (no border, no icon) */
body.p2-auth .p2-sec{height:50px;min-height:48px;padding:0 22px;border:0;border-radius:999px;background:#E8E8ED;color:#1D1D1F;font:600 17px/1 Inter,-apple-system,system-ui,sans-serif;box-shadow:none;text-decoration:none;transition:background-color .14s ease}
body.p2-auth .p2-sec:hover{background:#DCDCE1;border:0;color:#1D1D1F}
body.p2-auth .p2-sec:focus-visible{outline:3px solid #2147C7;outline-offset:2px}
/* text links: one style, 48px targets, no underline */
body.p2-auth .p2-link{display:inline-flex;align-items:center;justify-content:center;min-height:48px;min-width:48px;padding:0 4px;background:none;border:0;border-radius:8px;color:#2147C7;font:500 17px/1.35 Inter,-apple-system,system-ui,sans-serif;text-decoration:none;cursor:pointer;vertical-align:middle}
body.p2-auth .p2-link:hover{color:#1A3AA6;background:#F0F0F5}
body.p2-auth .p2-link:focus-visible{outline:3px solid #2147C7;outline-offset:2px}
body.p2-auth .lg2 .p2-main{margin-top:8px}
body.p2-auth .lg-forgot{display:flex;justify-content:center;margin:12px 0 0}
body.p2-auth .p2-or{display:flex;align-items:center;gap:16px;margin:20px 0;color:#424245;font-size:17px;line-height:1}
body.p2-auth .p2-or:before,body.p2-auth .p2-or:after{content:'';flex:1;height:1px;background:#E3E3E8}
body.p2-auth .lg-alt{display:grid;gap:12px;margin:0}
body.p2-auth .lg-alt .p2-sec{width:100%;justify-content:center}
body.p2-auth .lg-chk{display:flex;align-items:center;gap:12px;min-height:48px;margin:0 0 12px;font-size:17px;color:#1D1D1F;cursor:pointer}
body.p2-auth .lg-chk input{width:22px;height:22px;margin:0;flex:0 0 22px;accent-color:#2147C7;cursor:pointer}
body.p2-auth .lg-back{display:flex;justify-content:center;margin:12px 0 0}
body.p2-auth .lg-msg{margin:0 0 20px;padding:14px 16px;border-radius:12px;font-size:17px;line-height:1.45;border:1px solid #D2D2D7;background:#F5F5F7;color:#1D1D1F}
body.p2-auth .lg-msg.err{border-color:#8F1C13;background:#FFFFFF;color:#8F1C13}
body.p2-auth .lg-msg.ok,body.p2-auth .lg-msg.info{border-color:#1E3A8A;background:#FFFFFF;color:#1E3A8A}
/* quiet footer row at the bottom of the card (on white, so #2147C7 links keep 8.59:1): legal line + Get Help */
body.p2-auth .lg-foot{margin:28px 0 0;padding:16px 0 0;border-top:1px solid #E3E3E8;text-align:center;color:#424245;font-size:17px;line-height:1.45}
body.p2-auth .lg-foot p{margin:0}
body.p2-auth .lg-foot .lg-legal a{padding:0 2px}
body.p2-auth .lg-foot .lg-help{display:flex;justify-content:center;margin:8px 0 0}
/* Create Your Account */
body.p2-auth .p2-choices{display:grid;grid-auto-rows:1fr;gap:12px} /* both choices always the same height */
body.p2-auth .p2-choice{display:flex;gap:16px;align-items:center;width:100%;min-height:48px;margin:0;padding:20px;text-align:left;border:1px solid #D2D2D7;border-radius:16px;background:#FFFFFF;color:#1D1D1F;box-shadow:none;cursor:pointer;transition:background-color .14s ease,border-color .14s ease}
body.p2-auth .p2-choice:hover{background:#F5F5F7;border-color:#2147C7}
body.p2-auth .p2-choice:focus-visible{outline:3px solid #2147C7;outline-offset:2px}
body.p2-auth .p2-choice svg{width:26px;height:26px;flex:0 0 26px;color:#2147C7;filter:none;box-shadow:none}
body.p2-auth .p2-choice b{display:block;font-size:19px;font-weight:600;color:#1D1D1F;line-height:1.3}
body.p2-auth .p2-choice em{display:block;font-style:normal;font-size:17px;color:#424245;line-height:1.4;margin-top:2px}
body.p2-auth .p2-links{margin:24px 0 0;text-align:center;color:#424245;font-size:17px;line-height:1.45}
body.p2-auth .p2-help{margin:12px 0 0;text-align:center;color:#424245;font-size:17px}
body.p2-auth .p2-ex{margin:16px 0 0;text-align:center;color:#424245;font-size:17px}
body.p2-auth .p2-backlk{margin:-12px 0 4px -4px}
body.p2-auth .p2-row2{gap:12px}
body.p2-auth .p2-bar{height:6px;border-radius:3px;background:#E8E8ED;margin:0 0 24px}
@media (max-width:520px){
 body.p2-auth .p2-authcol{padding:32px 16px 72px}
 body.p2-auth .p2-acard{padding:28px 20px}
 body.p2-auth .p2-acard h1{font-size:32px}
 body.p2-auth .p2-acard .p2-sub{font-size:17px}
 body.p2-auth .p2-row2{grid-template-columns:1fr;gap:0}
 body.p2-auth .p2-codes{gap:4px;margin:0 -6px 20px}
 body.p2-auth .p2-main,body.p2-auth .p2-sec{white-space:normal;text-align:center;line-height:1.2}
}
/* portal-v51-1117 (ledger 297): app icon + name beside the logo (1px divider), quiet '← Home' row, initials menu name/email block.
   Text floor: 17px body, 15px captions; every text colour >= 7:1 on its background. */
.p2-hdiv{flex:none;width:1px;height:28px;background:#D2D2D7}
/* hdr-align-1119: the wordmark's letters sit lower in the logo box than its centre (emoji above them). --logo-dy is the measured offset
   (letters ink box 84..227 of 234, centre 155.5 = 0.6645 of the height, so 0.1645 x logo height below the box centre). Divider, icon and name
   all take it, so every app header aligns to the letters 'kona view'. No shadows, no underlines. */
.p2-top{--logo-h:34px;--logo-dy:calc(var(--logo-h) * .1645)}
.p2-hdiv,.p2-ctx{position:relative;top:var(--logo-dy)}
.p2-ctx-ic svg[stroke="#2147C7"]{stroke:var(--kv-teal)}
.p2-ctx{display:inline-flex;align-items:center;gap:10px;min-width:0;font-size:17px;font-weight:600;color:#1D1D1F;white-space:nowrap}
.p2-ctx-ic{flex:none;display:inline-flex;width:28px;height:28px;color:var(--kv-teal)}
.p2-ctx-ic svg{width:28px;height:28px;display:block}
.p2-ctx-n{overflow:hidden;text-overflow:ellipsis}
.p2-subbar{background:#fff;border-bottom:1px solid #E5E5EA}
.p2-subwrap{display:flex;align-items:center;min-height:48px;padding:0 max(56px,calc((100% - 968px) / 2))}
.p2-homelink{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 12px;margin-left:-12px;border-radius:10px;font-size:15px;font-weight:400;color:#515154;text-decoration:none;white-space:nowrap}
.p2-homelink:hover{color:#1D1D1F;background:#F5F5F7;text-decoration:none}
.p2-homelink:focus-visible{outline:3px solid #2147C7;outline-offset:2px;color:#1D1D1F}
.p2-smdiv{width:1px;height:17px;background:#C7C7CC;flex:none;margin:0 8px 0 4px} /* pb-settings-card-1117: Settings sub-menu (standard 16/17) */
.p2-smenu{display:flex;align-items:center;min-width:0}
.p2-smitem{display:inline-flex;align-items:center;min-height:44px;padding:0 12px;font-size:15px;font-weight:400;color:#4A4A4F;text-decoration:none;white-space:nowrap;background:none;border:0;border-radius:0}
.p2-smitem:hover{color:#1D1D1F;text-decoration:none}
.p2-smitem[aria-current=page]{color:#1D1D1F;font-weight:600}
.p2-smitem:focus-visible{outline:3px solid #2147C7;outline-offset:2px;border-radius:8px}
body:has(.p2-subbar) .n4c-home{display:none!important} /* the '← Home' row replaces the small house icon */
.p2-menu .who{padding:10px 20px 12px}
.p2-menu .who b{font-size:17px;color:#1D1D1F;overflow-wrap:anywhere}
.p2-menu .who span{font-size:15px;color:#4F4F4F;overflow-wrap:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;max-width:100%}
/* v5.1 delta: menu sizes to the email (one line), capped on screen; longer emails ellipsize with title=full email */
.p2-menu{width:max-content;min-width:260px;max-width:min(360px,calc(100vw - 32px))}
@media (max-width:900px){.p2-subwrap{padding:0 24px}}
@media (max-width:600px){.p2-top{--logo-h:28px}.p2-subwrap{padding:0 20px}.p2-ctx-n{max-width:38vw}.p2-hdiv{height:24px}.p2-ctx{gap:8px}.p2-ctx-ic,.p2-ctx-ic svg{width:24px;height:24px}}
/* flat-page-bg-1119 (Richard t6190u, konaview-app-standard 29): every app page (Videos, Careers, Site editor) is ONE flat page gray, --kv-page #F5F5F7 (the Videos reference v38 --page), edge to edge
   under the white header and sub-menu bar, with white cards on top. The gray lives on html + body + #n4p only (html too so the scrollbar gutter is not a white strip); the wrappers inside (main#main, #af-app-root, .crs, .vp-*) stay transparent, no gradient, no inner panel. */
html:has(#n4p[data-page=app]),html:has(#n4p[data-page=edit]),body:has(#n4p[data-page=app]),body:has(#n4p[data-page=app]) #n4p,body:has(#n4p[data-page=edit]),body:has(#n4p[data-page=edit]) #n4p{background:var(--kv-page)}
/* videos-careers-1119b: --kv-teal-text #175A6F = the logo teal hue (194°) darkened until text reaches the standard's 7:1 (point 4) on white (7.70:1) AND on --kv-page #F5F5F7 (7.07:1). Every teal TEXT uses it; icons keep --kv-teal (non-text, 3:1). */
