/* Profile presentation only. The #app branch intentionally outranks the
   production shell's legacy surface rules without !important or global resets. */
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish){--profile-panel:var(--surface,var(--panel,#fff));--profile-ink:var(--ink,#17212e);--profile-muted:var(--muted,#536377);--profile-line:var(--line,#ccd1d9);--profile-accent:var(--accent,#2f6bf2);--profile-action-ink:#fff;width:100%;max-width:640px;margin:0 auto;padding:0;border:0;background:transparent;box-shadow:none;color:var(--profile-ink);font:400 15px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;text-align:left}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) *{box-sizing:border-box}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) h1{font:650 28px/1.15 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-.7px;margin:0 0 8px}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) h2{font-size:18px;line-height:1.3;font-weight:620;letter-spacing:-.3px;margin:0 0 10px}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) p{margin:0 0 12px;max-width:64ch}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) :is(.kd-profile-heading p,.native-profile-subtitle){font-size:14px;color:var(--profile-muted);margin:0 0 22px}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) .kd-profile-account{padding:20px;margin:0 0 22px;background:var(--profile-panel);border:1px solid var(--profile-line);border-radius:24px;box-shadow:0 3px 14px #17212e04;overflow:hidden}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) .profile-account-heading{display:flex;align-items:center;gap:13px;margin:0 0 18px;padding:0;border:0;background:none;box-shadow:none;border-radius:0}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) .profile-account-heading img{width:48px;height:48px;flex:none;border-radius:14px;background:#fff;object-fit:cover}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) .profile-account-heading :is(strong,h2){display:block;margin:0;font-size:18px;font-weight:650;line-height:1.3;letter-spacing:-.3px}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) .profile-account-heading :is(span,p){display:block;margin:4px 0 0;font-size:12px;color:var(--profile-muted)}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) .kd-profile-overview{display:grid;gap:0;margin:0 0 18px;padding:0;border:0;border-radius:0;background:none;box-shadow:none}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) .kd-profile-overview>div{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:34px;padding:5px 0;border:0}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) .kd-profile-overview dt{font-size:13px;color:var(--profile-muted)}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) .kd-profile-overview dd{margin:0;font-size:13px;font-weight:550;text-align:right}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) .kd-profile-verified{color:var(--profile-accent)}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) :is(.kd-profile-member,.kd-profile-map,.kd-verify-card,.kd-profile-checking){margin:0;padding:0;border:0;background:none;border-radius:0;box-shadow:none}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) :is(.kd-verify-card,.kd-profile-member,.native-profile-controls)>p{color:var(--profile-muted);font-size:14px;line-height:1.55}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) :is(button,.button,.kd-verify-primary,.kd-verify-quiet){font-family:inherit;cursor:pointer;min-height:44px;text-decoration:none}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) :is(.button,.kd-verify-primary){display:flex;align-items:center;justify-content:center;width:100%;padding:12px 15px;border:1px solid var(--profile-line);border-radius:13px;background:transparent;color:var(--profile-accent);font-size:15px;font-weight:600;line-height:1.35;text-align:center;margin:10px 0 0}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) :is(.button.primary,.kd-verify-primary){color:var(--profile-action-ink);background:var(--profile-accent);border-color:transparent}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) :is(button:disabled,.button[aria-disabled=true]){cursor:default;opacity:.52}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) :is(.quiet-button,.kd-verify-quiet){display:block;width:100%;padding:10px 8px;border:0;border-radius:10px;color:var(--profile-accent);background:transparent;font-size:14px;text-align:left}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) :is(.profile-list,.kd-profile-privacy){display:block;overflow:hidden;border:1px solid var(--profile-line);border-radius:18px;background:var(--profile-panel);box-shadow:none;padding:0;margin:0 0 14px}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) .profile-group-title{font-size:13px;font-weight:500;color:var(--profile-muted);margin:24px 0 8px;padding-inline:14px;letter-spacing:0}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) :is(.profile-list>button,.profile-list>a,.kd-profile-support-group>a){display:flex;align-items:center;gap:12px;min-height:62px;width:100%;padding:12px 15px;margin:0;border:0;border-radius:0;background:none;box-shadow:none;color:var(--profile-ink);font-family:inherit;font-size:15px;font-weight:500;line-height:1.35;text-align:left;text-decoration:none}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) :is(.profile-list>button,.profile-list>a)+:is(button,a){border-top:1px solid var(--profile-line)}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) :is(.profile-list,.kd-profile-support-group) strong{font-size:15px;font-weight:550;color:var(--profile-ink)}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) :is(.profile-list,.kd-profile-support-group) small{display:block;font-size:12px;line-height:1.4;color:var(--profile-muted);margin-top:3px}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) .kd-phone-app-entry-icon{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;min-width:28px;border:0;border-radius:0;background:none;color:var(--profile-muted)}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) .kd-phone-app-entry-icon svg{width:23px;height:23px}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) :is(.kd-phone-app-entry-arrow,.kd-profile-support>span:last-child){margin-left:auto;color:var(--profile-muted);font-size:19px;flex:none}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;min-height:56px;padding:12px 15px;color:var(--profile-ink);font-size:14px;font-weight:550;cursor:pointer;user-select:none}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) summary::-webkit-details-marker{display:none}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) details>summary>span[aria-hidden]{color:var(--profile-muted);font-size:19px;transition:transform .16s ease}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) details[open]>summary>span[aria-hidden]{transform:rotate(90deg)}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) :is(.kd-profile-access-details,.kd-device-settings,.access-code-details,.native-profile-devices){margin:18px 0 0;border:0;border-top:1px solid var(--profile-line);border-radius:0;background:none;padding:0}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) :is(.kd-profile-access-details,.kd-device-settings,.access-code-details)>summary{padding-inline:0}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) :is(.kd-profile-access-details,.kd-device-settings,.access-code-details) small{display:block;color:var(--profile-muted);font-size:12px;margin-top:2px}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) .member-access-card{padding:12px 0 0;margin:0;border:0;border-radius:0;background:none;box-shadow:none}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) :is(.access-divider,.access-help,.kd-profile-privacy-content,.native-profile-note,.native-profile-muted){font-size:13px;color:var(--profile-muted)}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) :is(.kd-profile-privacy-content,.native-profile-information>p,.native-profile-access){padding:0 15px 15px}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) .kd-profile-privacy-content details{border-top:1px solid var(--profile-line);margin-top:14px}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) .kd-profile-privacy-content details summary{padding-inline:0}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) .check-row{display:flex;gap:9px;align-items:flex-start;margin:15px 0}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) input[type=checkbox]{width:20px;height:20px;flex:none;accent-color:var(--profile-accent)}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) :is(.error-text,.kd-verify-error){color:#bf3c39;font-size:14px;line-height:1.5}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) [role=status]{font-size:13px;color:var(--profile-muted)}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) .native-profile-message:empty{display:none}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) .native-profile-offer{margin-top:18px;background:none;border:0;border-top:1px solid var(--profile-line);border-radius:0}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) .native-profile-offer>summary{padding-inline:0}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) .native-profile-access>h2{font-size:16px}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) table{width:100%;border-collapse:collapse;text-align:left;font-size:12px;line-height:1.5}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) :is(th,td){padding:9px 0;vertical-align:top;border-bottom:1px solid var(--profile-line)}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) th{width:45%;padding-right:12px;font-weight:550}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) .native-login-number{display:block;font-size:28px;letter-spacing:4px;margin:14px 0;color:var(--profile-ink)}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) :is(button,a,summary,input):focus-visible{outline:3px solid var(--profile-accent);outline-offset:3px}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) :is(button,a):active{opacity:.72}
@media(prefers-reduced-motion:reduce){:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) *{transition:none;animation:none;scroll-behavior:auto}}

[data-theme=dark] :is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish),:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish)[data-theme=dark]{--profile-action-ink:#17212e}

:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) .native-profile-help{min-height:58px;padding:14px 16px;border:1px solid var(--profile-line);border-radius:18px;background:var(--profile-panel);color:var(--profile-ink);font-size:15px;margin-top:20px}

/* Compact revision: one state line, one main CTA, secondary copy folded. */
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) .kd-profile-account{padding:16px;margin-bottom:18px}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) .profile-account-status{display:flex;flex-wrap:wrap;gap:3px 12px;margin:0 0 12px;color:var(--profile-muted);font-size:12px;line-height:1.4}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) .profile-account-status span+span{color:var(--profile-accent)}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) .profile-auth-more,:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) .native-profile-info{border-top:1px solid var(--profile-line);margin-top:12px}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) :is(.profile-auth-more,.native-profile-info,.kd-device-settings,.kd-profile-access-details,.native-profile-offer,.native-profile-devices)>summary{padding:9px 0;min-height:44px;font-size:13px}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) .profile-auth-more :is(p,small){display:block;font-size:13px;color:var(--profile-muted);margin:8px 0 12px}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) .profile-access-facts{border-top:1px solid var(--profile-line)}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) .profile-access-facts .kd-profile-overview{padding:0 15px 12px;margin:0}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) .native-profile-information .profile-account-heading{padding:8px 15px}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) .native-profile-session p{padding:0 15px 15px}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) .native-profile-access{padding:0}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) .native-profile-access>p{margin-bottom:0}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) :is(.kd-profile-access-details,.kd-device-settings,.native-profile-devices,.native-profile-offer){margin-top:12px}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) .native-profile-controls>p{margin-bottom:12px}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) [data-community-verify=check]{display:flex;align-items:center;justify-content:center;background:var(--profile-accent);color:var(--profile-action-ink);border-radius:13px;font-weight:600}

:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) .kd-profile-account h2{margin-bottom:8px}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) .kd-profile-account .kd-verify-primary{margin-top:8px;min-height:44px;padding-block:10px}
:is(.profile-polish,.shell.frame#approved-frame #app .kd-profile.profile-polish) .kd-profile-account :is(.profile-auth-more,.kd-profile-access-details){margin-top:8px}

/* Web legacy inline-slot parity: account already owns the surface. */
.shell.frame#approved-frame #app .kd-profile.profile-polish .kd-verify-access-slot{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
