
            /* File : Account.20.Components */
			/* Copyright (c) A|iens. All rights reserved.
 * Account components · 1.0.0 · Shared screen and interaction vocabulary.
 */

/* Typography, layout and page rhythm */
h1, h2, h3, h4, p { overflow-wrap: anywhere; }
h1, h2, h3, h4 { color: var(--text); }
h2 { font-size: 18px; line-height: 1.4; font-weight: 650; }
h3 { font-size: 15px; line-height: 1.4; font-weight: 650; }
p { margin: 0 0 12px; }
.muted { color: var(--muted); }
.small { font-size: 12px; line-height: 1.5; }
.code-text { font-family: var(--mono); font-size: 12px; overflow-wrap: anywhere; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 18px; margin: 0 0 24px; }
.page-head > div:first-child { min-width: 0; flex: 1 1 320px; }
.eyebrow { display: flex; align-items: center; gap: 7px; margin: 0 0 8px; color: var(--muted); font-size: 11px; font-weight: 650; letter-spacing: .65px; text-transform: uppercase; }
.page-title { margin: 0 0 8px; font-size: 29px; font-weight: 650; line-height: 1.2; letter-spacing: -.55px; }
.page-intro { margin: 0; max-width: 760px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.page-actions { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.grid { display: grid; gap: 16px; min-width: 0; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid > * { min-width: 0; }
.stack { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.stack > * { margin-block: 0; }
.page > .grid, .page > .stack, .page > .card, .page > .notice, .page > .tabs, .page > .filter-bar { margin-bottom: 18px; }
.page > :last-child { margin-bottom: 0; }
.section-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin: 24px 0 12px; }
.section-heading h2 { margin: 0; font-size: 17px; }
.section-heading p { margin: 0; font-size: 12px; color: var(--muted); }
.divider { height: 1px; border: 0; background: var(--line); margin: 20px 0; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(240px, 1fr); gap: 18px; align-items: start; }
.master-detail-layout { width: 100%; max-width: 1320px; min-width: 0; margin-inline: auto; }
.master-detail-main { min-width: 0; }
.master-list { display: none; }
.master-list > h2 { flex: 0 0 auto; margin: 0 0 14px; font-size: 14px; }
.master-list > .field { flex: 0 0 auto; margin: 0 0 12px; }
.master-list-records { display: flex; flex: 1 1 auto; flex-direction: column; gap: 4px; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 6px; margin: -6px; }
.master-record { display: flex; flex-direction: column; gap: 4px; min-width: 0; min-height: 56px; padding: 10px; border: 1px solid transparent; border-radius: 9px; background: transparent; color: var(--text); text-decoration: none !important; }
.master-record strong { font-size: 12.5px; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
.master-record small { color: var(--muted); font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.master-record:hover { background: var(--hover); }
.master-record[aria-current="page"] { border-color: color-mix(in srgb, var(--accent) 24%, transparent); background: var(--accent-soft); color: var(--accent-ink); }
.master-list-empty { margin: 0; padding: 12px 3px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.inline { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.right { text-align: right; }
.mono { font-family: var(--mono); font-size: 12px; }
.accent { color: var(--accent-ink); }
.full-width { width: 100%; }

/* Content surfaces */
.card { min-width: 0; border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel); box-shadow: none; overflow: hidden; }
.card-head { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 21px 22px 16px; }
.card-head > div:first-child { min-width: 0; flex: 1; }
.card-head h2, .card-head h3 { margin: 0; font-size: 16px; font-weight: 650; }
.card-head p, .card-subtitle { margin: 5px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.card-head > svg, .card-icon { color: var(--accent-ink); }
.card-head .card-actions { display: flex; align-items: center; gap: 7px; }
.card-body { min-width: 0; padding: 0 22px 21px; }
.card > .card-body:first-child { padding-top: 21px; }
.card-title-icon { display: inline-flex; float: left; margin: 1px 8px 0 0; color: var(--accent-ink); }
.card-title-icon svg { width: 19px; height: 19px; }
.card-body > :first-child { margin-top: 0; }
.card-body > :last-child { margin-bottom: 0; }
.card-body > .setting-row:first-child, .card-body > .record-list:first-child .record-row:first-child { padding-top: 3px; }
.card-body > .setting-row:last-child, .card-body > .record-list:last-child .record-row:last-child { padding-bottom: 0; }
.card-body .card { box-shadow: none; border-radius: var(--radius); }
.card-body > .notice { margin: 12px 0; }
.card-footer { padding: 13px 22px; background: color-mix(in srgb, var(--panel-2) 36%, var(--panel)); border-top: 1px solid var(--line); font-size: 12px; }
.card-link { color: inherit; text-decoration: none !important; transition: box-shadow .18s ease, border-color .18s ease; }
.card-link:hover { box-shadow: var(--shadow-lift); border-color: color-mix(in srgb, var(--accent) 35%, var(--border)); }
.card-tag { display: inline-flex; align-items: center; gap: 5px; border-radius: 7px; background: var(--accent-soft); color: var(--accent-ink); padding: 5px 8px; font-size: 11px; }
.hero-card { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 28px; border: 1px solid var(--border); border-radius: 18px; background: linear-gradient(115deg, var(--panel), color-mix(in srgb, var(--accent-soft) 72%, var(--panel))); box-shadow: none; overflow: hidden; }
.hero-card h2 { margin: 0 0 8px; font-size: 24px; line-height: 1.25; font-weight: 650; }
.hero-card p { margin: 0; max-width: 550px; font-size: 13px; color: var(--muted); line-height: 1.7; }
.hero-card .page-actions { margin-top: 20px; }
.hero-card .hero-icon { flex-shrink: 0; width: 76px; height: 76px; display: grid; place-items: center; border-radius: 24px; color: var(--accent-ink); background: var(--accent-soft); }
.hero-card .hero-icon svg { width: 38px; height: 38px; }
.hero-card .hero-art { width: 90px; height: 90px; flex: 0 0 90px; object-fit: contain; }
.hero-content { min-width: 0; }
.hero-kicker { color: var(--accent-ink); font-size: 11px; font-weight: 650; text-transform: uppercase; letter-spacing: .6px; margin-bottom: 10px; }
.hero-identity { display: flex; align-items: center; min-width: 0; gap: 20px; }
.hero-identity > div { min-width: 0; }
.hero-identity .avatar-lg { flex-shrink: 0; width: 74px; height: 74px; font-size: 28px; border: 3px solid var(--panel); }
.hero-identity .eyebrow { margin-bottom: 8px; font-size: 10px; }
.hero-identity .text-link { display: inline-flex; margin-top: 11px; font-size: 12px; }
.hero-context { flex: 0 0 auto; max-width: 220px; text-align: right; }
.hero-context p { margin-top: 10px; font-size: 11.5px; }

/* Controls */
.button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 40px; padding: 9px 15px; border: 1px solid var(--border); border-radius: 10px; background: var(--panel); color: var(--text); font-size: 12.5px; font-weight: 600; line-height: 1.35; text-decoration: none !important; white-space: normal; text-align: center; transition: background .15s ease, border-color .15s ease; }
.button svg { width: 17px; height: 17px; }
.button:hover:not(:disabled) { background: var(--hover); border-color: color-mix(in srgb, var(--muted) 25%, var(--border)); }
.button:active:not(:disabled) { transform: translateY(1px); }
.button-primary { background: var(--primary); border-color: transparent; color: var(--primary-ink); }
.button-primary:hover:not(:disabled) { background: var(--primary-hover); border-color: transparent; }
.button-secondary { background: var(--panel); color: var(--text); }
.button-quiet { background: transparent; color: var(--accent-ink); border-color: transparent; }
.button-quiet:hover:not(:disabled) { background: var(--accent-soft); color: var(--accent-ink); border-color: transparent; }
.button-danger { background: var(--danger-soft); border-color: color-mix(in srgb, var(--danger) 20%, transparent); color: var(--danger); }
.button-danger:hover:not(:disabled) { background: color-mix(in srgb, var(--danger) 15%, var(--danger-soft)); border-color: color-mix(in srgb, var(--danger) 30%, transparent); }
.button-small { min-height: 34px; padding: 7px 11px; font-size: 11.5px; }
.button-pill { border-radius: 24px; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 40px; height: 40px; min-width: 40px; min-height: 40px; padding: 9px; border: 0; border-radius: 11px; background: transparent; color: var(--muted); }
.icon-button svg { width: 20px; height: 20px; }
.icon-button:hover { background: var(--hover); color: var(--text); }
.text-link { display: inline-flex; align-items: center; min-height: 36px; gap: 6px; padding: 4px 0; color: var(--accent-ink); font-size: 12.5px; font-weight: 550; }
button.text-link { border: 0; background: none; text-align: left; }
.action-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.action-grid > a, .action-grid > button { text-align: left; justify-content: flex-start; min-height: 52px; }
.action-tile { display: flex; align-items: center; min-height: 80px; padding: 16px; gap: 13px; border-radius: 14px; border: 1px solid var(--border); background: var(--panel); text-decoration: none !important; color: var(--text); }
.action-tile:hover { border-color: color-mix(in srgb, var(--accent) 30%, var(--border)); background: color-mix(in srgb, var(--accent-soft) 25%, var(--panel)); }
.action-tile > svg { color: var(--accent-ink); }
.action-tile strong { display: block; font-size: 13px; }
.action-tile small { display: block; margin-top: 4px; font-size: 11.5px; color: var(--muted); }

/* Grouped account rows */
.setting-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 0; min-width: 0; border-bottom: 1px solid var(--line); }
.setting-row:last-child { border-bottom: 0; }
.row-copy { flex: 1; min-width: 0; }
.row-copy strong, .row-copy h3 { display: block; margin: 0; font-size: 13px; font-weight: 600; color: var(--text); }
.row-copy p, .row-copy small { display: block; margin: 4px 0 0; max-width: 630px; font-size: 12px; line-height: 1.55; color: var(--muted); }
.row-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.row-control { flex: 0 0 auto; display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; max-width: 50%; text-align: right; }
.row-control > .button { min-height: 36px; padding: 7px 11px; font-size: 12px; }
.row-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 38px; width: 38px; height: 38px; border-radius: 12px; color: var(--accent-ink); background: var(--accent-soft); }
.row-icon svg { width: 19px; height: 19px; }
.record-list { display: flex; flex-direction: column; gap: 0; }
.record-row { display: flex; align-items: center; gap: 13px; padding: 16px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.record-row:last-child { border-bottom: 0; }
.record-row > div:not(.avatar):not(.row-icon):not(.row-control) { min-width: 0; }
.record-row strong { font-size: 13px; font-weight: 620; }
.record-row p, .record-row small { font-size: 12px; color: var(--muted); margin: 4px 0 0; }
.record-row > .button, .record-row > .badge, .record-row > .record-actions { margin-left: auto; }
.record-row .record-main { flex: 1; }
.record-row .record-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.record-row a:not(.button) { color: var(--text); }
.record-row a:not(.button):hover { color: var(--accent-ink); }
.record-row.is-selected { background: var(--accent-soft); }

/* Labels and status: status is never color alone. */
.badge, .pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 7px; background: var(--panel-2); color: var(--muted); font-size: 10.5px; font-weight: 600; line-height: 1.35; white-space: normal; text-align: center; }
.pill { padding: 5px 10px; border-radius: 999px; }
.badge-neutral { background: var(--panel-2); color: var(--muted); }
.badge-success, .badge-good { background: var(--success-soft); color: var(--success); }
.badge-warning, .badge-pending { background: var(--warning-soft); color: var(--warning); }
.badge-danger, .badge-error { background: var(--danger-soft); color: var(--danger); }
.badge-info, .badge-accent { background: var(--info-soft); color: var(--info); }
.badge-purple, .badge-violet { background: var(--violet-soft); color: var(--violet); }
.status-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; flex-shrink: 0; background: var(--muted); }
.status-dot.success, .status-dot.online { background: var(--success); }
.status-dot.warning { background: var(--warning); }
.status-dot.danger { background: var(--danger); }
.avatar { width: 40px; height: 40px; flex: 0 0 40px; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); font-size: 13px; font-weight: 650; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
img.avatar { object-fit: cover; }
.avatar-lg { width: 72px; height: 72px; flex: 0 0 72px; font-size: 24px; background: linear-gradient(135deg, #337fc5, #655cc7); color: #fff; }
.stat-card { min-width: 0; display: flex; align-items: center; gap: 12px; padding: 17px 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel); box-shadow: none; }
.stat-card > svg, .stat-card > .stat-icon { color: var(--accent-ink); }
.stat-card > div { min-width: 0; }
.stat-card .stat-value { display: block; font-size: 25px; font-weight: 650; line-height: 1.2; letter-spacing: -.45px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat-card .stat-label, .stat-card small { display: block; margin-top: 4px; font-size: 11.5px; color: var(--muted); }
.stat-card .stat-note { display: block; margin-top: 7px; font-size: 10px; color: var(--muted); }

/* Forms and accessible branded controls */
fieldset { min-width: 0; margin: 18px 0; padding: 0; border: 0; }
fieldset > legend { margin-bottom: 12px; padding: 0; color: var(--text); font-size: 13px; font-weight: 600; }
fieldset > .radio-card + .radio-card { margin-top: 9px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.form-grid > .full, .form-grid > .full-width { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; align-items: stretch; gap: 7px; min-width: 0; margin-bottom: 18px; }
.field > label, .field > .field-label, .field-label { color: var(--text); font-size: 12px; font-weight: 600; line-height: 1.4; }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea, .filter-bar input, .filter-bar select { display: block; width: 100%; min-width: 0; min-height: 44px; padding: 11px 12px; color: var(--text); background: var(--panel); border: 1px solid color-mix(in srgb, var(--muted) 24%, var(--border)); border-radius: 10px; font-size: 13px; line-height: 1.4; box-shadow: none; }
.field textarea { min-height: 112px; resize: vertical; font-family: var(--font); }
.field input:focus, .field textarea:focus, .field select:focus, .filter-bar input:focus { border-color: var(--accent); outline: 2px solid var(--accent-soft); outline-offset: 1px; }
.field input[readonly], .field textarea[readonly] { color: var(--muted); background: var(--panel-2); }
.field input:disabled, .field select:disabled { color: var(--muted); background: var(--panel-2); cursor: not-allowed; }
.field select, .filter-bar select { appearance: none; padding-right: 34px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23677689' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 11px center; }
.field-help { margin: 0; font-size: 11.5px; color: var(--muted); line-height: 1.55; }
.field-error { margin: 0; font-size: 11.5px; color: var(--danger); line-height: 1.5; }
.field [aria-invalid="true"] { border-color: var(--danger) !important; background: color-mix(in srgb, var(--danger-soft) 30%, var(--panel)) !important; }
.error-summary { padding: 14px 16px; margin: 0 0 20px; border: 1px solid color-mix(in srgb, var(--danger) 28%, transparent); border-radius: 12px; color: var(--danger); background: var(--danger-soft); font-size: 12px; }
.error-summary strong, .error-summary h3 { margin: 0; color: var(--danger); font-size: 13px; }
.error-summary ul { margin: 8px 0 0; padding-left: 20px; }
.error-summary a { color: inherit; text-decoration: underline; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; justify-content: flex-end; padding-top: 20px; border-top: 1px solid var(--line); margin-top: 10px; }
.form-actions > .muted { margin-right: auto; font-size: 12px; }
.row-control .form-actions { margin: 0; padding: 0; border: 0; justify-content: flex-end; }
.row-value { color: var(--text); font-size: 12.5px; overflow-wrap: anywhere; }
.switch { position: relative; display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; cursor: pointer; font-size: 12px; font-weight: 550; }
.switch > input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.switch-track { position: relative; display: inline-block; flex: 0 0 51px; width: 51px; height: 31px; border: 1px solid transparent; border-radius: 18px; background: var(--switch-off); transition: background .18s ease; }
.switch-track::before { content: ""; position: absolute; left: 1px; top: 1px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .15); transition: transform .18s ease; }
.switch > input:checked + .switch-track { background: var(--mint); }
.switch > input:checked + .switch-track::before { transform: translateX(20px); }
.switch > input:focus-visible + .switch-track { outline: 3px solid var(--focus); outline-offset: 3px; }
.switch > input:disabled + .switch-track { opacity: .42; cursor: not-allowed; }
.switch:has(input:disabled) { cursor: not-allowed; color: var(--muted); }
input[type="checkbox"]:not(.switch input), input[type="radio"] { appearance: none; position: relative; display: inline-grid; place-content: center; flex: 0 0 18px; width: 18px; min-width: 18px; height: 18px; margin: 0; border: 1.5px solid color-mix(in srgb, var(--muted) 60%, transparent); border-radius: 5px; background: var(--panel); vertical-align: middle; cursor: pointer; }
input[type="checkbox"]:not(.switch input):checked { background: var(--primary); border-color: var(--primary); }
input[type="checkbox"]:not(.switch input):checked::after { content: ""; width: 8px; height: 4px; border-left: 2px solid var(--primary-ink); border-bottom: 2px solid var(--primary-ink); transform: rotate(-45deg) translateY(-1px); }
input[type="radio"] { border-radius: 50%; }
input[type="radio"]:checked { border-color: var(--accent-ink); }
input[type="radio"]:checked::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-ink); }
.check-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.check-list li, .check-list label { display: flex; align-items: flex-start; gap: 10px; padding: 6px 0; font-size: 12.5px; line-height: 1.6; }
.check-list input { margin-top: 3px !important; }
.check-list li > svg { color: var(--success); margin-top: 2px; }
.radio-card { display: flex; align-items: flex-start; gap: 12px; min-height: 68px; padding: 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--panel); cursor: pointer; }
.radio-card input { margin-top: 2px; }
.radio-card strong { display: block; font-size: 13px; }
.radio-card small, .radio-card p { display: block; margin: 5px 0 0; font-size: 12px; color: var(--muted); }
.radio-card:has(input:checked), .radio-card[aria-checked="true"] { border-color: var(--accent); background: var(--accent-soft); }
.radio-card[aria-disabled="true"] { opacity: .5; }
.segmented { display: inline-flex; align-self: flex-start; padding: 3px; gap: 2px; border: 1px solid var(--line); border-radius: 11px; background: var(--panel-2); max-width: 100%; }
.segmented > button, .segmented > a, .segmented > label { display: flex; align-items: center; justify-content: center; min-height: 32px; padding: 6px 11px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-size: 11.5px; font-weight: 600; text-decoration: none; white-space: normal; text-align: center; }
.segmented > .active, .segmented > [aria-pressed="true"], .segmented > [aria-selected="true"], .segmented > [aria-checked="true"], .segmented > :has(input:checked) { background: var(--panel); color: var(--text); box-shadow: 0 1px 4px rgba(15, 23, 42, .08); }
.segmented > button:hover, .segmented > a:hover { color: var(--text); }
.select-wrap { position: relative; }
.native-select-source { display: none !important; }
.select-trigger { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 44px; padding: 10px 12px; gap: 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--panel); color: var(--text); font-size: 13px; text-align: left; }
.select-trigger > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.select-trigger[aria-expanded="true"] { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.native-select-source[aria-invalid="true"] + .select-trigger { border-color: var(--danger); }
.native-select-source:disabled + .select-trigger, fieldset:disabled .select-trigger { color: var(--muted); background: var(--panel-2); cursor: not-allowed; }
.select-menu { position: fixed; z-index: 1140; display: flex; flex-direction: column; margin: 0; padding: 8px; border-radius: 22px; background: var(--vapour); border: 1px solid var(--vapour-ring); backdrop-filter: blur(60px) saturate(210%); -webkit-backdrop-filter: blur(60px) saturate(210%); box-shadow: var(--overlay-shadow); min-width: 220px; max-height: 320px; overflow: hidden; }
.select-filter { display: block; flex: 0 0 auto; padding: 8px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.select-filter input { display: block; width: 100%; min-width: 0; min-height: 44px; padding: 11px 12px; color: var(--text); background: var(--panel); border: 1px solid color-mix(in srgb, var(--muted) 24%, var(--border)); border-radius: 10px; font-size: 13px; line-height: 1.4; }
.select-filter input:focus { border-color: var(--accent); outline: 2px solid var(--accent-soft); outline-offset: 1px; }
.select-options { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.select-empty { flex: 0 0 auto; margin: 0; padding: 16px 14px; color: var(--muted); font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.select-menu [role="option"] { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 10px 14px; border: 0; width: 100%; border-radius: 14px; background: transparent; color: var(--text); font-size: 14px; text-align: left; }
.select-menu [role="option"]:hover, .select-menu [role="option"]:focus { background: var(--hover); }
.select-menu [aria-selected="true"] { color: var(--accent-ink); font-weight: 650; }
.select-menu .select-option { cursor: pointer; }
.select-menu .select-option > span { min-width: 0; overflow-wrap: anywhere; }
.select-menu .select-option small { display: block; margin-top: 4px; color: var(--muted); font-size: 11.5px; font-weight: 400; line-height: 1.4; }
.select-menu .select-option.focused { background: var(--accent-soft); color: var(--accent-ink); }
.select-menu .select-option[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }

/* Feedback, empty and review states */
.notice { display: flex; align-items: flex-start; gap: 11px; padding: 14px 16px; border: 1px solid color-mix(in srgb, var(--info) 14%, transparent); border-radius: 12px; background: var(--info-soft); color: var(--info); font-size: 12px; line-height: 1.6; }
.notice > svg { margin-top: 2px; width: 18px; height: 18px; }
.notice > div { min-width: 0; flex: 1; }
.notice strong, .notice h3 { display: block; margin: 0 0 2px; color: inherit; font-size: 12.5px; font-weight: 650; }
.notice p { margin: 0; color: inherit; }
.notice .button { margin-top: 9px; }
.notice-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 7px; }
.notice.info { color: var(--info); background: var(--info-soft); }
.notice.warning { color: var(--warning); background: var(--warning-soft); border-color: color-mix(in srgb, var(--warning) 14%, transparent); }
.notice.success { color: var(--success); background: var(--success-soft); border-color: color-mix(in srgb, var(--success) 14%, transparent); }
.notice.danger { color: var(--danger); background: var(--danger-soft); border-color: color-mix(in srgb, var(--danger) 14%, transparent); }
.empty { text-align: center; padding: 36px 20px; max-width: 560px; margin: 0 auto; }
.empty > svg, .empty .empty-icon { display: block; width: 42px; height: 42px; color: var(--muted); margin: 0 auto 16px; }
.empty h2, .empty h3 { margin: 0 0 8px; font-size: 16px; font-weight: 650; }
.empty p { margin: 0 auto 18px; max-width: 410px; color: var(--muted); font-size: 12.5px; line-height: 1.7; }
.empty .page-actions { justify-content: center; }
.empty .form-actions { justify-content: center; padding: 0; margin-top: 0; border: 0; }
.danger-zone { border: 1px solid color-mix(in srgb, var(--danger) 22%, var(--border)); border-radius: 15px; padding: 20px; background: color-mix(in srgb, var(--danger-soft) 35%, var(--panel)); }
.danger-zone h2, .danger-zone h3 { color: var(--danger); margin-top: 0; }
.danger-zone p { font-size: 12.5px; color: var(--muted); }
.impact-list { margin: 0; padding-left: 20px; font-size: 12.5px; }
.impact-list li { margin-bottom: 10px; }
.draft-bar { position: sticky; bottom: 0; z-index: 20; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 14px 18px; border: 1px solid var(--border); border-radius: 15px; background: var(--vapour); backdrop-filter: blur(24px); box-shadow: var(--shadow-lift); }
.draft-bar > :first-child { margin-right: auto; }
.draft-bar .button { min-height: 38px; }

/* Lists, tables, filters and tabs */
.filter-bar { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 10px; padding: 0 0 16px; min-width: 0; }
.filter-bar .field { flex: 1 1 160px; margin: 0; }
.filter-bar .field:first-child { flex-grow: 2; }
.filter-bar input[type="search"] { min-width: 180px; }
.filter-bar > .segmented { margin-left: auto; align-self: center; }
.filter-summary { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 2px 0 12px; font-size: 11.5px; color: var(--muted); }
.filter-chip { display: inline-flex; min-height: 32px; align-items: center; gap: 7px; padding: 5px 10px; background: var(--panel); border: 1px solid var(--border); border-radius: 20px; color: var(--muted); font-size: 11px; }
.filter-chip.active { background: var(--accent-soft); color: var(--accent-ink); border-color: color-mix(in srgb, var(--accent) 30%, transparent); }
.tabs { display: flex; flex-wrap: nowrap; align-items: center; gap: 4px; border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; margin-bottom: 18px; padding-bottom: 1px; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 15px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font-size: 12.5px; font-weight: 600; text-decoration: none !important; }
.tab:hover { color: var(--text); background: var(--hover); }
.tab.active, .tab[aria-current="page"], .tab[aria-selected="true"] { color: var(--accent-ink); border-bottom-color: var(--accent); }
.table-wrap { width: 100%; max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.data-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 12px; text-align: left; }
.data-table th { padding: 12px 14px; font-size: 10.5px; font-weight: 650; color: var(--muted); background: color-mix(in srgb, var(--panel-2) 58%, var(--panel)); white-space: nowrap; border-bottom: 1px solid var(--border); }
.data-table td { padding: 14px; vertical-align: middle; line-height: 1.6; border-bottom: 1px solid var(--line); max-width: 260px; min-width: 110px; overflow-wrap: anywhere; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover td { background: color-mix(in srgb, var(--hover) 45%, var(--panel)); }
.data-table th:first-child, .data-table td:first-child { position: sticky; left: 0; z-index: 2; background: var(--panel); min-width: 140px; }
.data-table th:first-child { background: color-mix(in srgb, var(--panel-2) 58%, var(--panel)); }
.data-table th:first-child::after, .data-table td:first-child::after { position: absolute; content: ""; inset: 0 -1px 0 auto; width: 1px; background: var(--line); }
.data-table td .button { min-height: 32px; font-size: 11px; padding: 6px 10px; }
.data-table td strong { display: block; font-size: 12.5px; }
.data-table td small { display: block; margin-top: 3px; font-size: 11px; color: var(--muted); }
.data-table .numeric { text-align: right; font-variant-numeric: tabular-nums; }
.pagination { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding-top: 16px; font-size: 12px; color: var(--muted); }
.pagination .button { min-width: 34px; min-height: 34px; padding: 6px 10px; }
.permission-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.permission-grid > div, .permission-grid > label { min-width: 0; border: 1px solid var(--border); border-radius: 11px; padding: 14px; background: var(--panel); }
.permission-grid strong { display: block; font-size: 12.5px; }
.permission-grid p, .permission-grid small { color: var(--muted); font-size: 11.5px; margin: 5px 0 0; }
.permission-grid .switch { width: 100%; }
.definition-list, dl.definition, .definition { margin: 0; display: grid; grid-template-columns: minmax(120px, .8fr) minmax(0, 1.2fr); column-gap: 18px; row-gap: 0; }
.definition-list dt, dl.definition dt, .definition dt { font-size: 12px; color: var(--muted); padding: 11px 0; border-bottom: 1px solid var(--line); }
.definition-list dd, dl.definition dd, .definition dd { margin: 0; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--text); overflow-wrap: anywhere; }
.definition-list dt:last-of-type, .definition-list dd:last-of-type, .definition dt:last-of-type, .definition dd:last-of-type { border-bottom: 0; }
.definition-list { display: block; }
.definition-list > div { display: grid; grid-template-columns: minmax(120px, .8fr) minmax(0, 1.2fr); gap: 18px; border-bottom: 1px solid var(--line); }
.definition-list > div:last-child { border-bottom: 0; }
.definition-list > div > dt, .definition-list > div > dd { border: 0; }

/* Review flows, profile and audit */
.progress-steps { display: flex; margin: 0 0 24px; padding: 0; list-style: none; gap: 8px; }
.progress-steps .step { display: flex; flex: 1; align-items: center; gap: 8px; min-width: 0; font-size: 11px; color: var(--muted); padding: 11px 12px; background: var(--panel-2); border: 1px solid transparent; border-radius: 10px; }
.step .step-number { display: grid; place-items: center; flex-shrink: 0; width: 22px; height: 22px; border: 1px solid var(--border); border-radius: 50%; font-size: 10px; font-weight: 700; }
.step.active, .step[aria-current="step"] { color: var(--accent-ink); background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 25%, transparent); }
.step.complete, .step.completed { color: var(--success); background: var(--success-soft); }
.progress-track { height: 5px; border-radius: 5px; overflow: hidden; background: var(--panel-2); margin: 12px 0; }
.progress-track > span { display: block; height: 100%; background: var(--accent); border-radius: inherit; }
progress { accent-color: var(--accent); width: 100%; height: 7px; border: 0; border-radius: 7px; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline-item { position: relative; padding: 0 0 20px 25px; margin: 0; border-left: 1px solid var(--border); }
.timeline-item:last-child { padding-bottom: 0; border-left-color: transparent; }
.timeline-item::before { content: ""; position: absolute; left: -4px; top: 6px; width: 7px; height: 7px; background: var(--accent); border: 2px solid var(--panel); border-radius: 50%; box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 40%, transparent); }
.timeline-item h3, .timeline-item strong { font-size: 12.5px; margin: 0; display: block; font-weight: 600; }
.timeline-item p { color: var(--muted); font-size: 12px; margin: 4px 0; }
.timeline-item time, .timeline-item .event-meta { display: block; font-size: 10.5px; color: var(--muted); margin: 3px 0 7px; }
.timeline-item .badge { margin-top: 6px; }
.timeline-item:has(> .timeline-marker) { display: flex; align-items: flex-start; gap: 12px; padding-left: 35px; margin-left: 13px; min-height: 76px; }
.timeline-item:has(> .timeline-marker)::before { display: none; }
.timeline-item:has(> .timeline-marker) > div { min-width: 0; flex: 1; }
.timeline-item:has(> .timeline-marker) > .badge { flex: 0 0 auto; margin: 0; }
.timeline-marker { position: absolute; display: grid; place-items: center; left: -15px; top: 0; width: 29px; height: 29px; color: var(--accent-ink); border: 4px solid var(--panel); border-radius: 50%; background: var(--accent-soft); }
.timeline-marker svg { width: 16px; height: 16px; }
.profile-preview { min-width: 0; background: var(--panel); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; padding: 26px; }
.profile-preview .profile-cover { height: 86px; margin: -26px -26px 0; overflow: hidden; background: linear-gradient(115deg, var(--accent-soft), var(--violet-soft)); }
.profile-cover-image { display: block; width: 100%; height: 100%; object-fit: cover; }
.profile-preview .avatar-lg { margin-top: 0; border: 4px solid var(--panel); }
.profile-preview .profile-cover + .avatar-lg { margin-top: -25px; }
.profile-preview h2 { margin: 16px 0 4px; font-size: 23px; }
.profile-preview .profile-meta { color: var(--muted); font-size: 12px; margin-bottom: 16px; }
.profile-preview .profile-bio { font-size: 13px; line-height: 1.7; }
.profile-preview .profile-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; font-size: 12px; }
.profile-device-preview { width: 100%; min-width: 0; margin-top: 16px; }
.profile-device-preview[data-preview-device="phone"] { max-width: 320px; margin-inline: auto; }
.profile-device-preview[data-preview-device="phone"] .profile-preview { padding: 22px; }
.profile-device-preview[data-preview-device="phone"] .profile-cover { margin: -22px -22px 0; }
.avatar-crop .avatar-image { display: block; flex: 0 0 100%; }
.profile-grid { align-items: start; }
.profile-edit-photo { display: flex; align-items: center; gap: 16px; padding: 0 0 22px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.profile-edit-photo .avatar { width: 72px; height: 72px; font-size: 26px; flex-shrink: 0; }
.profile-edit-photo .field-help { margin: 8px 0 0; }
.profile-edit-photo .button-quiet { min-height: 32px; padding: 5px 0; }
.profile-cover-editor { margin: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.profile-cover-editor > summary { min-height: 44px; padding: 12px 0; color: var(--text); font-size: 13px; font-weight: 600; cursor: pointer; }
.profile-cover-editor > summary::marker { color: var(--muted); }
.profile-cover-controls { padding: 2px 0 18px; }
.check-row { display: flex; align-items: flex-start; gap: 10px; padding: 11px 0; margin-bottom: 14px; color: var(--muted); font-size: 12px; line-height: 1.65; cursor: pointer; }
.check-row input { margin-top: 2px; }
.faq { border-bottom: 1px solid var(--line); }
.faq:last-child { border-bottom: 0; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 56px; padding: 14px 0; cursor: pointer; list-style: none; color: var(--text); font-size: 13px; font-weight: 550; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; display: grid; place-items: center; flex: 0 0 24px; width: 24px; height: 24px; color: var(--muted); font-size: 20px; font-weight: 400; }
.faq[open] summary::after { content: "−"; }
.faq p { margin: 0 0 18px; padding-right: 34px; color: var(--muted); font-size: 12.5px; line-height: 1.75; }
.review-progress { display: flex; align-items: center; gap: 20px; padding: 14px 0 22px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.review-progress strong { flex-shrink: 0; font-size: 12px; font-weight: 600; }
.review-progress progress { flex: 1; min-width: 0; }
.search-results { display: flex; flex-direction: column; gap: 8px; }
.search-result { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 13px; border: 1px solid var(--border); background: var(--panel); color: var(--text); text-decoration: none !important; }
.search-result:hover { border-color: color-mix(in srgb, var(--accent) 30%, var(--border)); background: var(--accent-soft); }
.search-result strong { display: block; font-size: 13px; }
.search-result small { display: block; font-size: 11.5px; margin-top: 4px; color: var(--muted); }
.search-result > svg:last-child { margin-left: auto; color: var(--muted); }
.search-result + .search-result { margin-top: 8px; }
.search-suggestions > .button { margin-top: 12px; }
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 20px; margin-top: 20px; border-top: 1px solid var(--line); }
.pagination > span { text-align: center; }
.search-group { margin: 16px 0 8px; color: var(--muted); font-size: 11px; font-weight: 650; text-transform: uppercase; letter-spacing: .5px; }
.receipt { padding: 24px; border: 1px solid var(--border); border-radius: 14px; background: var(--panel); }
.receipt .receipt-head { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--border); padding-bottom: 20px; margin-bottom: 18px; }
.receipt .receipt-total { display: flex; justify-content: space-between; border-top: 1px solid var(--border); padding-top: 16px; margin-top: 18px; font-weight: 650; }
.auth-card { max-width: 520px; margin: 24px auto; padding: 32px; border: 1px solid var(--border); border-radius: 24px; background: var(--panel); box-shadow: var(--shadow); }
.auth-card > .auth-logo { width: 48px; height: 48px; margin-bottom: 22px; }
.auth-card h2 { font-size: 25px; margin: 0 0 8px; }
.auth-card > p { color: var(--muted); font-size: 13px; }
.auth-card .notice { margin: 20px 0; }
.auth-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 76px; max-width: 1060px; min-height: calc(100dvh - 120px); margin: auto; }
.auth-story { padding: 30px 0; }
.auth-product-art { display: block; width: 80px; height: 80px; margin-bottom: 28px; object-fit: contain; }
.auth-story .page-title { font-size: 36px; margin-bottom: 18px; letter-spacing: -.7px; }
.auth-story .page-intro { font-size: 15px; line-height: 1.75; }
.auth-story .check-list { margin: 30px 0 22px; }
.auth-story .check-list li { font-size: 13px; margin-bottom: 13px; }
.auth-form-card { padding: 7px; border-radius: 18px; }
.auth-form-card .card-head { padding: 24px 25px 22px; }
.auth-form-card .card-head h2 { font-size: 20px; }
.auth-form-card .card-body { padding: 0 25px 26px; }
.auth-form-card .form-actions { border: 0; margin: 8px 0 0; padding-top: 12px; }
.auth-form-card .form-actions > .button-primary { width: 100%; min-height: 45px; }
.auth-form-card .notice { margin: 16px 0; }
.auth-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-top: 22px; margin-top: 24px; border-top: 1px solid var(--line); font-size: 12px; }
.method-preview { display: flex; align-items: center; gap: 12px; padding: 15px; border: 1px solid var(--border); border-radius: 10px; background: var(--panel-2); }
.method-preview > svg { width: 22px; height: 22px; color: var(--accent-ink); }
.method-preview strong { font-size: 12px; font-weight: 600; }
.method-preview p { margin: 4px 0 0; font-size: 11px; }
.skeleton { border-radius: 8px; background: var(--panel-2); animation: account-pulse 1.5s ease-in-out infinite alternate; }
.skeleton-stack { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.skeleton-stack .skeleton { height: 44px; width: 100%; }
.skeleton-stack .skeleton:nth-child(2) { width: 80%; }
.skeleton-stack .skeleton:nth-child(3) { width: 55%; }
@keyframes account-pulse { to { opacity: .45; } }

/* Usage: semantic native controls retain keyboard behavior; screen modules share these classes. */

/* Native leaf metadata does not add a surface or flex/grid item. */
:where(card[component][data-app="Account"]) { display: block; }
#app card[component][data-app="Account"]:not([class]) { display: contents; border: 0; margin: 0; padding: 0; background: transparent; box-shadow: none; }
.stack > card[component] > :not(.field) { margin-block: 0; }
.card-body > card[component]:first-child > :first-child { margin-top: 0; }
.card-body > card[component]:last-child > :last-child { margin-bottom: 0; }
.action-grid > card[component] > a, .action-grid > card[component] > button { text-align: left; justify-content: flex-start; min-height: 52px; }
.segmented > card[component] > button, .segmented > card[component] > a, .segmented > card[component] > label { display: flex; align-items: center; justify-content: center; min-height: 32px; padding: 6px 11px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-size: 11.5px; font-weight: 600; text-decoration: none; white-space: normal; text-align: center; }
.segmented > card[component] > button:hover, .segmented > card[component] > a:hover { color: var(--text); }
.definition-groups > card[component]:not(:last-child) > .definition-list > div:last-child { border-bottom: 1px solid var(--line); }
fieldset > card[component]:has(> .radio-card) + card[component]:has(> .radio-card) > .radio-card { margin-top: 9px; }
.permission-grid > :where(card[component]) > div, .permission-grid > :where(card[component]) > label { min-width: 0; border: 1px solid var(--border); border-radius: 11px; padding: 14px; background: var(--panel); }
.card-body > card[component][data-app="Account"] > .notice { margin: 12px 0; }
.row-control > card[component] > .button { min-height: 36px; padding: 7px 11px; font-size: 12px; }
.filter-bar > card[component] > .field { flex-grow: 1; }
.filter-bar > card[component]:first-child > .field { flex-grow: 2; }
.segmented > card[component] > .active, .segmented > card[component] > [aria-pressed="true"], .segmented > card[component] > [aria-selected="true"], .segmented > card[component] > [aria-checked="true"], .segmented > card[component] > :has(input:checked) { background: var(--panel); color: var(--text); box-shadow: 0 1px 4px rgba(15, 23, 42, .08); }
card[component="Account.IdentityFaq"]:not(:last-child) > .faq { border-bottom: 1px solid var(--line); }
.auth-form-card .form-actions > card[component] > .button-primary { width: 100%; min-height: 45px; }

            /* File : Account.20.Components Ended*/
            