/* Conta Noryk — componentes e estados de apresentação. */
.home-greeting { justify-content: space-between; align-items: center; margin-bottom: 28px; }
.home-greeting .page-title { margin: 9px 0 5px; }
.home-greeting .lead { margin: 0; }
.home-greeting .icon-button { position: relative; flex: 0 0 46px; width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; color: var(--soft); background: var(--surface); border: 1px solid var(--line); border-radius: 50%; }
.accent { color: var(--accent); }
.home-main-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, 1fr); gap: 22px; margin-bottom: 22px; }
.home-main-grid > * { min-width: 0; margin-bottom: 0; }
.home-main-grid > .panel, .home-main-grid > .panel + .panel { margin-top: 0; }
.balance-panel { display: flex; flex-direction: column; justify-content: center; min-height: 310px; }
.balance-panel .balance { margin: 23px 0 6px; color: var(--text); font-size: clamp(39px, 4.5vw, 60px); line-height: 1.12; font-weight: 500; letter-spacing: -2.9px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.balance-panel .balance > span:first-child { color: var(--soft); font-size: .5em; font-weight: 400; letter-spacing: -.6px; vertical-align: .08em; }
.balance-panel .balance > span:last-child { color: var(--soft); font-size: .68em; letter-spacing: -1.5px; }
.balance-foot { align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 22px; }
.balance-foot > .muted { font-size: 12px; }
.balance-foot .button { min-height: 30px; height: auto; padding: 8px 0; font-size: 12px; }
.balance-panel .action-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 8px; }
.balance-panel .action-card { position: relative; min-width: 0; min-height: 86px; padding: 11px 4px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 11px; color: var(--soft); font-size: 11px; background: transparent; border: 1px solid var(--line); border-radius: 12px; transition: background .18s, border-color .18s, transform .18s; cursor: pointer; }
.balance-panel .action-card strong { font-size: 11px; font-weight: 500; }
.balance-panel .action-card:hover { color: var(--text); border-color: #8d47ef55; background: #8d47ef0a; transform: translateY(-2px); }
.action-icon { display: inline-flex; align-items: center; justify-content: center; color: var(--soft); }
.action-card.is-locked { color: var(--muted); }
.action-card.is-locked .action-icon { opacity: .5; }
.action-lock { position: absolute; right: 7px; top: 7px; display: flex; color: var(--muted); }
.home-card-panel { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
.home-card-panel .section-head { margin-bottom: 0; }
.home-card-panel .section-head h2 { font-size: 15px; }
.home-card-panel .section-head .button { min-width: 28px; min-height: 28px; height: auto; padding: 4px; }
.home-card-panel .card-art { width: 100%; max-width: 340px; max-height: 204px; object-fit: contain; display: block; align-self: center; margin: 0 auto; filter: drop-shadow(0 15px 20px #0004); }
.home-card-panel > .row { justify-content: space-between; gap: 8px; }
.home-card-panel > .row strong { font-size: 12px; font-weight: 500; }
.home-card-panel > .row p { margin: 6px 0 0; font-size: 11px; }
.home-card-panel .status-pill { font-size: 10px; }
.row-icon { display: inline-flex; flex-shrink: 0; width: 42px; height: 42px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 12px; background: #ffffff03; color: var(--soft); }
.row-icon.positive { background: #63dba508; border-color: #63dba514; color: var(--success); }
.row-icon.warning { background: #eec57e08; border-color: #eec57e14; color: #eec57e; }
.row-icon.large { width: 66px; height: 66px; border-radius: 19px; }
.list-copy { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 5px; text-align: left; }
.list-copy strong { font-size: 13px; font-weight: 500; line-height: 1.45; }
.list-copy small { font-size: 11px; line-height: 1.5; }
.list-end { display: flex; flex-shrink: 0; align-items: flex-end; flex-direction: column; gap: 5px; text-align: right; }
.list-end strong { font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; }
.list-end small { font-size: 10px; }
.list-end > svg { color: var(--muted); }
.positive { color: var(--success); }
.danger { color: var(--danger); }
.insight-panel { position: relative; overflow: hidden; display: flex; align-items: flex-start; flex-direction: column; justify-content: center; gap: 15px; isolation: isolate; }
.insight-panel::after { content: ''; position: absolute; width: 220px; height: 220px; border: 1px solid #8d47ef17; border-radius: 50%; right: -95px; bottom: -135px; z-index: -1; }
.insight-panel .row-icon { color: var(--accent-hover); background: #8d47ef0c; border-color: #8d47ef1c; }
.insight-panel h2 { margin: 0; max-width: 260px; font-size: clamp(19px, 2vw, 24px); line-height: 1.3; font-weight: 500; letter-spacing: -.6px; }
.insight-panel p { max-width: 290px; font-size: 12px; line-height: 1.7; margin: 0; }
.insight-panel .button { min-height: 40px; margin-top: 2px; padding: 9px 14px; font-size: 12px; }
.notification-dot { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-hover); top: 10px; right: 10px; box-shadow: 0 0 0 3px var(--surface); }
.notification-dot.inline { display: inline-block; position: static; width: 7px; height: 7px; box-shadow: none; }
.filter-tabs { display: flex; align-items: center; gap: 7px; padding: 20px 0 5px; }
.filter-chip { min-height: 34px; padding: 7px 15px; color: var(--muted); font-family: inherit; font-size: 12px; font-weight: 500; background: transparent; border: 1px solid transparent; border-radius: 8px; cursor: pointer; transition: color .18s, background .18s; }
.filter-chip:hover { color: var(--text); background: #ffffff04; }
.filter-chip.active { color: #d9c1ff; background: #8d47ef15; border-color: #8d47ef25; }
.history-date { margin: 24px 0 7px; padding-bottom: 9px; border-bottom: 1px solid var(--line); font-size: 9px; letter-spacing: 1.4px; }
.profile-identity { display: flex; align-items: center; gap: 18px; }
.profile-identity h2 { font-size: 20px; margin: 0 0 5px; font-weight: 500; letter-spacing: -.5px; }
.profile-identity p { margin: 0 0 11px; font-size: 12px; }
.profile-identity .avatar { width: 70px; height: 70px; flex-shrink: 0; display: grid; place-items: center; font-size: 23px; font-weight: 500; letter-spacing: -1px; color: #d8bcff; border: 1px solid #8d47ef30; border-radius: 22px; background: #8d47ef12; }
.security-status { display: flex; align-items: center; gap: 18px; }
.security-status > div { flex: 1; }
.security-status h2 { margin: 0 0 6px; font-size: 17px; font-weight: 500; }
.security-status p { margin: 0; font-size: 12px; line-height: 1.6; }
.security-status > .status-pill { align-self: flex-start; }
.transaction-hero { display: flex; flex-direction: column; align-items: center; gap: 15px; padding-top: 34px; padding-bottom: 34px; text-align: center; }
.transaction-hero .balance { margin: 0; color: var(--text); font-size: clamp(38px, 5vw, 54px); line-height: 1.1; font-weight: 500; letter-spacing: -2px; font-variant-numeric: tabular-nums; }
.transaction-hero .balance > span:first-child { color: var(--soft); font-size: .52em; letter-spacing: -.5px; }
.transaction-hero .balance > span:last-child { color: var(--soft); font-size: .75em; }
.transaction-hero .muted { margin: 0; font-size: 12px; }
.transaction-hero h2 { margin: 0; font-size: 17px; font-weight: 500; }
.transaction-hero .metric { margin: 0; font-size: 33px; letter-spacing: -1.3px; font-weight: 500; font-variant-numeric: tabular-nums; }
.receipt { max-width: 620px; margin-left: auto; margin-right: auto; overflow: hidden; }
.receipt-brand { display: flex; justify-content: center; padding: 4px 0 26px; border-bottom: 1px solid var(--line); }
.receipt-brand img { display: block; width: 110px; height: 44px; object-fit: contain; }
.receipt .transaction-hero { padding: 29px 0 25px; }
.receipt-code { padding-top: 22px; margin-top: 19px; border-top: 1px dashed #ffffff18; }
.receipt-code > .muted { font-size: 10px; }
.receipt-code p { margin: 9px 0; color: var(--soft); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; line-height: 1.6; overflow-wrap: anywhere; }
.receipt-code .button { padding-left: 0; font-size: 11px; }
.receipt-signature { font-size: 10px; text-align: center; padding-top: 24px; margin: 10px 0 0; }
.help-intro { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.help-intro > div { flex: 1; min-width: 180px; }
.help-intro h2 { font-size: 18px; margin: 0 0 6px; font-weight: 500; }
.help-intro p { font-size: 12px; margin: 0; line-height: 1.6; }
.option-row { display: flex; gap: 15px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); cursor: pointer; color: var(--soft); }
.option-row > span:first-of-type { display: flex; flex-direction: column; flex: 1; gap: 5px; }
.option-row strong { color: var(--text); font-size: 13px; font-weight: 500; }
.option-row small { font-size: 11px; }
.option-row > span:last-child:not(:first-of-type) { font-size: 10px; letter-spacing: 1px; color: var(--muted); }
.option-row input[type="radio"], .option-row input[type="checkbox"], .checkbox-row input[type="checkbox"] { accent-color: var(--accent); flex-shrink: 0; width: 17px; height: 17px; margin: 0; cursor: pointer; }
.option-card { display: flex; align-items: center; gap: 18px; width: 100%; text-align: left; color: var(--text); cursor: pointer; transition: border-color .18s, background .18s; }
.option-card > div { min-width: 0; flex: 1; }
.option-card h2 { margin: 0 0 7px; font-size: 16px; font-weight: 500; letter-spacing: -.3px; }
.option-card p { margin: 0; font-size: 12px; line-height: 1.7; }
.option-card > svg { color: var(--muted); flex-shrink: 0; }
.option-card:hover { border-color: #8d47ef4d; background: #1a1424; }
.password-rules { font-size: 11px; line-height: 1.75; }
.password-rules p { margin: 0; }
#current-transaction-token, #new-transaction-token, #confirm-transaction-token { letter-spacing: 10px; font-size: 18px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.verification-banner { display: flex; align-items: center; gap: 20px; border-color: #8d47ef30; background: #8d47ef07; }
.verification-banner > div { flex: 1; }
.verification-banner h2 { margin: 7px 0; font-size: 20px; line-height: 1.4; letter-spacing: -.6px; font-weight: 500; }
.verification-banner p { font-size: 12px; margin: 0; line-height: 1.7; }
.verification-intro > .row-icon { margin-bottom: 24px; color: var(--accent-hover); }
.verification-intro > h2 { margin: 0 0 27px; font-size: 19px; font-weight: 500; letter-spacing: -.5px; }
.verification-intro .stack > .row, .verification-status + .panel .stack > .row { align-items: center; gap: 15px; }
.verification-intro .stack > .row strong, .verification-status + .panel .stack > .row strong { font-size: 13px; font-weight: 500; }
.verification-intro .stack > .row p, .verification-status + .panel .stack > .row p { margin: 5px 0 0; font-size: 12px; line-height: 1.65; }
.verification-progress { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 11px 15px; margin-bottom: 28px; font-size: 10px; color: var(--muted); }
.verification-progress > span:last-of-type { color: var(--soft); }
.progress-track { grid-column: 1 / -1; height: 3px; overflow: hidden; border-radius: 6px; background: #ffffff09; }
.progress-track > span { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
.capture-panel { padding: 28px; }
.capture-frame { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1.58; min-height: 220px; max-width: 520px; margin: 7px auto 23px; border: 1px solid #ffffff08; border-radius: 19px; background: #0b0910; }
.capture-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 28px; text-align: center; }
.capture-placeholder > svg { color: #7e6e95; stroke-width: 1; }
.capture-placeholder strong { color: var(--soft); font-size: 13px; font-weight: 500; }
.capture-placeholder > span { max-width: 250px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.capture-corner { position: absolute; width: 21px; height: 21px; border-color: #a56af566; border-style: solid; }
.capture-corner.top-left { top: -1px; left: -1px; border-width: 2px 0 0 2px; border-top-left-radius: 19px; }
.capture-corner.top-right { top: -1px; right: -1px; border-width: 2px 2px 0 0; border-top-right-radius: 19px; }
.capture-corner.bottom-left { bottom: -1px; left: -1px; border-width: 0 0 2px 2px; border-bottom-left-radius: 19px; }
.capture-corner.bottom-right { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; border-bottom-right-radius: 19px; }
.capture-frame.capture-face { width: 235px; max-width: 100%; min-height: 310px; aspect-ratio: 3 / 4; border-radius: 48% 48% 44% 44%; border-color: #a56af53a; }
.capture-face .capture-corner { display: none; }
.capture-face .capture-placeholder { padding: 25px; gap: 18px; }
.capture-face .capture-placeholder > svg { width: 90px; height: 90px; }
.capture-tips { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 22px; color: var(--muted); font-size: 10px; }
.capture-tips > span { display: inline-flex; align-items: center; gap: 7px; }
.capture-tips svg { color: #b0a3c3; }
.checkbox-row { display: flex; align-items: flex-start; gap: 11px; color: var(--soft); font-size: 12px; line-height: 1.75; cursor: pointer; }
.checkbox-row input { margin-top: 3px !important; }
.verification-status { display: flex; align-items: center; flex-direction: column; gap: 18px; padding: 38px 30px; text-align: center; }
.verification-status > h2 { max-width: 330px; margin: 0; font-size: 22px; line-height: 1.4; letter-spacing: -.6px; font-weight: 500; }
.verification-status > p { max-width: 390px; margin: 0; font-size: 12px; line-height: 1.8; }
.status-orbit { display: grid; place-items: center; width: 90px; height: 90px; margin-bottom: 3px; border: 1px solid #8d47ef2e; border-radius: 50%; background: #8d47ef08; color: #bc92f5; }
.status-orbit svg { stroke-width: 1.3; }

@media (max-width: 1050px) {
  .home-main-grid { grid-template-columns: minmax(0, 1.3fr) minmax(245px, 1fr); gap: 18px; }
  .home-main-grid .balance-panel { padding: 24px; }
  .balance-panel .balance { font-size: 44px; }
  .balance-panel .action-grid { gap: 6px; }
  .balance-panel .action-card { min-height: 77px; border-radius: 10px; }
  .balance-panel .action-card strong { font-size: 10px; }
  .home-card-panel { padding: 22px; }
  .verification-banner { flex-wrap: wrap; }
  .verification-banner > .button { margin-left: 62px; }
}

@media (max-width: 800px) {
  .home-main-grid { grid-template-columns: minmax(0, 1fr); }
  .home-main-grid .balance-panel { min-height: 290px; }
  .home-card-panel { min-height: auto; }
  .home-card-panel .card-art { max-height: 210px; }
  .balance-panel .action-grid { gap: 10px; }
  .balance-panel .action-card strong { font-size: 11px; }
  .home-card-panel > .row { max-width: 340px; width: 100%; align-self: center; }
}

@media (max-width: 540px) {
  .home-greeting { margin-bottom: 24px; gap: 10px; align-items: flex-start; }
  .home-greeting .page-title { font-size: 31px; letter-spacing: -1.4px; }
  .home-greeting .lead { font-size: 12px; max-width: 260px; }
  .home-greeting .eyebrow { font-size: 8px; letter-spacing: 1.6px; }
  .home-greeting .icon-button { width: 41px; height: 41px; flex-basis: 41px; margin-top: 13px; }
  .home-main-grid { margin-bottom: 18px; }
  .home-main-grid .balance-panel { min-height: 275px; padding: 22px 19px 19px; }
  .balance-panel .balance { margin-top: 24px; font-size: 45px; letter-spacing: -2px; }
  .balance-panel .balance > span:last-child { letter-spacing: -1px; }
  .balance-panel .section-head > .muted { font-size: 11px; }
  .balance-panel .section-head .status-pill { padding: 5px 8px; font-size: 9px; }
  .balance-foot { margin-bottom: 15px; }
  .balance-foot > .muted { font-size: 10px; }
  .balance-foot .button { font-size: 10px; }
  .balance-panel .action-grid { gap: 6px; margin-top: 7px; }
  .balance-panel .action-card { min-height: 72px; padding: 10px 2px; gap: 10px; border-radius: 10px; }
  .balance-panel .action-card strong { font-size: 9px; }
  .balance-panel .action-icon svg { width: 20px; height: 20px; }
  .home-card-panel { gap: 17px; padding: 21px; }
  .home-card-panel .card-art { width: 100%; max-width: 300px; max-height: none; }
  .row-icon { width: 36px; height: 36px; border-radius: 10px; }
  .row-icon svg { width: 19px; height: 19px; }
  .row-icon.large { width: 60px; height: 60px; border-radius: 17px; }
  .row-icon.large svg { width: 30px; height: 30px; }
  .list-copy { gap: 5px; }
  .list-copy strong { font-size: 12px; }
  .list-copy small { font-size: 10px; }
  .list-end strong { font-size: 11px; }
  .list-end small { font-size: 9px; }
  .list-end { max-width: 116px; }
  .insight-panel { gap: 14px; min-height: 250px; }
  .insight-panel h2 { font-size: 22px; }
  .filter-tabs { gap: 5px; padding-top: 17px; }
  .filter-chip { padding: 7px 14px; font-size: 11px; }
  .history-date { font-size: 8px; letter-spacing: 1.1px; margin-top: 25px; }
  .profile-identity { gap: 15px; }
  .profile-identity .avatar { width: 60px; height: 60px; border-radius: 19px; font-size: 20px; }
  .profile-identity h2 { font-size: 18px; }
  .profile-identity p { font-size: 10px; }
  .profile-identity .status-pill { font-size: 9px; }
  .security-status { align-items: flex-start; flex-wrap: wrap; gap: 14px; }
  .security-status > .row-icon.large { width: 46px; height: 46px; border-radius: 14px; }
  .security-status h2 { margin-top: 3px; font-size: 15px; }
  .security-status p { font-size: 11px; }
  .security-status > .status-pill { margin-left: 60px; margin-top: -4px; }
  .transaction-hero { padding-top: 29px; padding-bottom: 29px; gap: 16px; }
  .transaction-hero .balance { font-size: 42px; }
  .transaction-hero .metric { font-size: 32px; }
  .receipt { padding: 24px 20px; }
  .receipt-brand { padding-bottom: 19px; }
  .receipt-brand img { width: 96px; height: 38px; }
  .receipt .transaction-hero { padding-top: 25px; }
  .receipt-code p { font-size: 9px; }
  .help-intro { gap: 15px; }
  .help-intro .button { width: 100%; margin-top: 4px; }
  .help-intro h2 { font-size: 17px; }
  .help-intro p { font-size: 11px; }
  .option-row { gap: 13px; padding: 16px 0; }
  .option-row strong { font-size: 12px; }
  .option-card { gap: 13px; padding: 21px 18px; }
  .option-card h2 { font-size: 14px; line-height: 1.5; margin-bottom: 5px; }
  .option-card p { font-size: 11px; }
  .verification-banner { gap: 14px; padding: 22px 20px; }
  .verification-banner > .row-icon { align-self: flex-start; }
  .verification-banner h2 { font-size: 17px; letter-spacing: -.4px; }
  .verification-banner p { font-size: 11px; }
  .verification-banner > .button { width: 100%; margin: 5px 0 0; }
  .verification-intro > h2 { font-size: 17px; }
  .verification-intro .stack { gap: 23px; }
  .verification-intro .stack > .row { align-items: flex-start; gap: 12px; }
  .verification-intro .stack > .row strong { font-size: 12px; }
  .verification-intro .stack > .row p { font-size: 11px; line-height: 1.7; }
  .verification-progress { margin-bottom: 23px; font-size: 9px; }
  .capture-panel { padding: 20px 17px; }
  .capture-frame { margin-top: 3px; min-height: 205px; margin-bottom: 20px; }
  .capture-placeholder { padding: 22px 19px; gap: 14px; }
  .capture-placeholder > svg { width: 55px; height: 55px; }
  .capture-placeholder strong { font-size: 12px; }
  .capture-placeholder > span { font-size: 10px; }
  .capture-tips { gap: 13px; font-size: 9px; }
  .capture-tips svg { width: 14px; height: 14px; }
  .capture-frame.capture-face { width: 218px; min-height: 290px; }
  .capture-face .capture-placeholder > svg { width: 80px; height: 80px; }
  .checkbox-row { font-size: 11px; gap: 11px; }
  .verification-status { padding: 30px 22px; gap: 18px; }
  .verification-status > h2 { font-size: 20px; }
  .verification-status > p { font-size: 11px; }
  .status-orbit { width: 78px; height: 78px; }
  .status-orbit svg { width: 36px; height: 36px; }
  .verification-status + .panel .stack > .row { align-items: flex-start; gap: 12px; }
  .verification-status + .panel .stack > .row strong { font-size: 12px; }
  .verification-status + .panel .stack > .row p { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .balance-panel .action-card, .filter-chip, .option-card { transition: none; }
}
