
.profile-page{max-width:672px;margin:0 auto;padding:20px 24px 40px}
.profile-back{display:inline-flex;align-items:center;gap:6px;font-size:14px;color:#9ca3af;margin-bottom:24px}
.profile-page h1{font-size:24px;line-height:32px;font-weight:900;margin:0 0 4px}
.profile-subtitle{font-size:14px;color:#9ca3af;margin-bottom:20px}
.profile-card{background:#222;border:1px solid #303030;border-radius:16px;margin-bottom:14px;overflow:hidden}
.profile-identity{padding:20px;display:flex;align-items:center;gap:16px}
.profile-initial{width:56px;height:56px;flex-shrink:0;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:900;color:#fff;background:linear-gradient(135deg,var(--color-primary),#08245b)}
.profile-identity strong{font-size:18px;font-weight:800}
.profile-identity p{color:#9ca3af;font-size:14px;margin-top:3px;overflow-wrap:anywhere}
.profile-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px;border-bottom:1px solid #303030}
.profile-row:last-child{border:0}
.profile-row dt{font-size:11px;color:#9ca3af;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.profile-row dd{font-size:14px;font-weight:600;text-align:right;display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;min-width:0;overflow-wrap:anywhere}
.profile-pending{font-size:9px;color:#fcd34d;border:1px solid #854d0e;background:#78350f33;border-radius:5px;padding:2px 5px;text-transform:uppercase}
.profile-muted{color:#9ca3af}
.profile-keys{padding:20px}
.profile-keys-heading{display:flex;justify-content:space-between;align-items:center;gap:8px}
.profile-page h2{font-size:14px;font-weight:800}
.profile-keys-heading>span{font-size:10px;color:#9ca3af}
.profile-help{font-size:12px;color:#9ca3af;line-height:1.5;margin:5px 0 12px}
.profile-key{padding:14px;background:#333;border:1px solid #393939;border-radius:12px;display:flex;align-items:center;gap:12px;margin-top:8px}
.profile-key>div{flex:1;min-width:0}
.profile-key-label{font-size:10px;text-transform:uppercase;letter-spacing:.04em;font-weight:800;color:#a1a1aa;background:#414141;padding:2px 6px;border-radius:5px}
.profile-key-value{display:block;font:13px ui-monospace,monospace;color:white;margin-top:5px;overflow-wrap:anywhere}
.profile-key-origin{font-size:9px;text-transform:uppercase;color:#9ca3af;font-weight:700;flex-shrink:0}
.profile-add>summary{font-size:12px;color:var(--color-primary);font-weight:700;cursor:pointer;margin-top:14px;list-style:none}
.profile-form{padding:14px;margin-top:12px;background:#2a2a2a;border-radius:10px}
.profile-form label{display:block;font-size:12px;color:#cbd5e1;margin:10px 0 5px}
.profile-form input,.profile-form select{width:100%;padding:11px 12px;background:#333;color:white;border:1px solid #4b5563;border-radius:8px}
.profile-form button{padding:10px 16px;background:var(--color-primary);color:white;border-radius:8px;font-size:12px;font-weight:700;margin-top:12px}
.profile-remove{color:#fca5a5;padding:5px;font-size:18px}
.profile-complete{padding:16px}
.profile-complete>summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center}
.profile-complete strong{font-size:14px;display:block}
.profile-complete span{font-size:12px;color:#9ca3af}
.profile-support{font-size:12px;text-align:center;color:#9ca3af;margin-top:18px}
.profile-flash{padding:12px;background:#015df21f;border:1px solid #015df2;border-radius:10px;font-size:13px;margin-bottom:14px}
.profile-history{padding:18px}
.profile-history>summary{cursor:pointer;font-weight:700}
.profile-history table{width:100%;font-size:12px;margin-top:12px}
.profile-history td,.profile-history th{padding:10px 4px;text-align:left;border-bottom:1px solid #333}
@media(max-width:639px){.profile-page{padding:16px 16px 32px}.profile-page h1{font-size:20px}.profile-row{padding:14px 12px}.profile-row dd{font-size:12px}.profile-keys{padding:16px}}

.profile-keys-heading>span{display:inline-flex;align-items:center;gap:4px}

#home-view[hidden],#account-view[hidden]{display:none!important}

/* Tipografia e superficies alinhadas ao frontend de referencia. */
body{font-family:var(--font-sans);-webkit-font-smoothing:antialiased}
.profile-page,.profile-page *{box-sizing:border-box}
.profile-page{width:100%;max-width:672px;padding:16px 24px 40px;color:#fff;line-height:1.5}
.profile-page h1{font-weight:900;font-size:24px;line-height:32px}
.profile-page button,.profile-page input,.profile-page select{font-family:inherit}
.profile-back{margin-bottom:20px;line-height:20px}
.profile-subtitle{line-height:20px;margin-bottom:20px}
.profile-card{background:#212121;border:1px solid rgba(255,255,255,.07);border-radius:16px;box-shadow:inset 0 1px 0 rgba(255,255,255,.015);margin:0 0 16px}
.profile-identity{padding:20px;gap:16px;margin-bottom:12px}
.profile-identity strong{font-size:18px;line-height:28px;font-weight:900}
.profile-identity p{line-height:20px;margin:0}
.profile-row{padding:14px 16px;min-height:49px;border-color:rgba(255,255,255,.06)}
.profile-row dt{font-size:11px;line-height:16px;letter-spacing:.025em}
.profile-row dd{margin:0;font-size:14px;line-height:20px;font-weight:600}
.profile-keys{padding:20px}
.profile-key{padding:12px 14px;background:#323232;border:1px solid rgba(255,255,255,.04);border-radius:12px}
.profile-key-value{font-family:ui-monospace,SFMono-Regular,Menlo,CHINA,Consolas,"Liberation Mono",monospace;font-size:14px;line-height:20px}
.profile-complete{border-radius:12px;padding:16px}
.profile-support{margin:16px 0 0;line-height:16px}
#account-view{background:radial-gradient(ellipse at 50% 38%,#1b1b1b 0%,#101010 65%,#0a0a0a 100%)}
#main-content:has(#account-view:not([hidden])) .site-footer{margin-top:0}
#main-content:has(#account-view:not([hidden])) .footer-inner{background:#181a1b;border:1px solid rgba(255,255,255,.07);border-radius:16px;box-shadow:inset 0 1px 0 rgba(255,255,255,.02)}
@media(max-width:639px){.profile-page{padding:16px 16px 40px}.profile-page h1{font-size:20px;line-height:28px}.profile-row dd{font-size:13px}.profile-keys{padding:20px}}

.complete-page{max-width:448px;margin:0 auto;padding:48px 16px;color:#fff;min-height:580px}
.complete-back{display:inline-flex;align-items:center;gap:8px;color:#9ca3af;font-size:12px;font-weight:600;margin-bottom:24px}
.complete-page h1{font-size:30px;line-height:36px;font-weight:900;letter-spacing:-.025em}
.complete-description{font-size:14px;line-height:20px;color:#9ca3af;margin-top:12px}
#complete-profile-form{margin-top:32px}
#complete-profile-form label,#complete-profile-form legend{display:block;font-size:14px;font-weight:600;color:#9ca3af;margin-bottom:8px}
#complete-profile-form input:not([type=hidden]){box-sizing:border-box;width:100%;padding:12px 16px;border-radius:12px;background:#212121;border:1px solid rgba(255,255,255,.07);color:white;font-size:16px;line-height:24px;outline:none}
#complete-profile-form input:focus{border-color:var(--color-primary)}
#complete-cpf{font-family:ui-monospace,SFMono-Regular,Menlo,CHINA,Consolas,monospace}
#complete-profile-form fieldset{border:0;padding:0;margin-top:16px;min-width:0}
.complete-birth{display:grid;grid-template-columns:1fr 1fr 1.4fr;gap:8px}
.complete-birth input{text-align:center;font-variant-numeric:tabular-nums}
#complete-birth-hint{font-size:11px;color:#9ca3af;margin-top:4px;line-height:16px}
#complete-profile-form>button{width:100%;padding:12px;border-radius:12px;background:var(--color-primary);color:#09090b;font-size:16px;line-height:24px;font-weight:700;margin-top:16px}
#complete-profile-form>button:hover{filter:brightness(1.1)}
#complete-profile-form>button:disabled{opacity:.5}
#complete-profile-form [role=alert]{color:#fca5a5;font-size:13px;margin-top:12px}

/* Fundo continuo entre o perfil e o footer. */
#main-content:has(#account-view:not([hidden])){background:radial-gradient(ellipse 75% 650px at 50% 330px,#1c1c1c 0%,#121212 55%,#0a0a0a 100%)}
#main-content:has(#account-view:not([hidden])) #account-view{background:transparent}
#main-content:has(#account-view:not([hidden])) .site-footer{background:transparent;display:flow-root}

body:has(#account-view:not([hidden])){background:#0a0a0a}

/* Fundo neutro tambem abaixo do footer e fora do conteudo. */
html,body{background-color:#0a0a0a!important}
#main-content{display:flow-root;background-color:#0a0a0a}

.profile-add[open]>summary{display:none}.profile-pix-form{margin-top:14px;padding:12px;background:#323232;border-radius:12px}.profile-pix-form .pix-type-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 0 10px;padding:0;border:0}.profile-pix-form .pix-type-options label{margin:0;position:relative;cursor:pointer}.pix-type-options input{position:absolute;opacity:0;width:1px;height:1px}.pix-type-options span{display:flex;align-items:center;justify-content:center;height:36px;border:1px solid #2d2d2d;border-radius:8px;background:#404040;color:#9ca3af;font-size:11px;font-weight:800}.pix-type-options input:checked+span{background:#404040;border:2px solid var(--color-primary);color:white;box-shadow:none}.pix-type-options input:focus-visible+span{outline:2px solid var(--color-primary);outline-offset:2px}.pix-entry-row{display:flex;gap:8px}.profile-pix-form .pix-entry-row input{flex:1;min-width:0;width:100%;height:46px;margin:0;padding:12px 14px;background:#404040;border:1px solid #484848;border-radius:8px;color:white;font:700 13px ui-monospace,monospace}.profile-pix-form .pix-save{margin:0;min-width:82px;height:46px;padding:0 16px;border-radius:8px;background:var(--color-primary);color:#101018;font-size:12px;font-weight:900}.pix-entry-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:8px}.pix-entry-footer p{margin:0;color:#818896;font-size:10px}.profile-pix-form .pix-cancel{margin:0;padding:0;background:none;color:#9ca3af;font-size:11px;font-weight:400;border:0}.pix-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
