/* Compact profiles; one fact per line, service actions live in the overflow menu. */
:root[data-theme] .account-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}
:root[data-theme] .compact-profile{display:flex;flex-direction:column;align-items:stretch;gap:10px;padding:16px;border-radius:20px}
:root[data-theme] .compact-profile .account-head{margin:0;gap:9px;padding:0}
:root[data-theme] .compact-profile .account-avatar{width:32px;height:32px;font-size:12px}
:root[data-theme] .compact-profile .account-name{font-size:14px}
:root[data-theme] .compact-profile .account-id{font-size:10px}
:root[data-theme] .compact-profile .badge{font-size:10px;min-height:23px;padding:0 8px}
:root[data-theme] .compact-profile .account-fields{gap:10px;grid-template-columns:1.4fr 1fr}
:root[data-theme] .compact-profile .field-kicker{font-size:9px;margin-bottom:2px}
:root[data-theme] .compact-profile .field-value{font-size:12px;white-space:normal;line-height:1.35}
:root[data-theme] .compact-profile .dates-row{gap:4px;margin:0}
:root[data-theme] .compact-profile .date-tag{padding:3px 7px;font-size:10px}
:root[data-theme] .compact-profile .account-stats{display:flex!important;gap:14px;margin:0;font-size:11px}
:root[data-theme] .compact-profile .account-stats>span{padding:0;background:none}
:root[data-theme] .compact-profile .account-stats b{font-size:13px}
:root[data-theme] .compact-profile .account-actions{padding:0;margin:0;gap:6px;background:none;grid-template-columns:1fr 1fr}
:root[data-theme] .compact-profile .account-actions .button{min-height:32px;font-size:11px}
:root[data-theme] .compact-profile .account-details{margin:0;border-top:1px solid var(--border)}
:root[data-theme] .compact-profile .account-details summary{justify-content:flex-start;gap:7px;min-height:30px;padding:7px 0;font-size:11px;line-height:1.2}
:root[data-theme] .compact-profile .detail-count{margin:0;padding:2px 5px;font-size:10px}
.demo-account-menu{position:relative;flex:none;margin-left:0}.demo-account-menu>summary{list-style:none;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--card-alt);cursor:pointer;font-size:20px}.demo-account-menu>summary::-webkit-details-marker{display:none}.demo-account-menu .refresh-row{position:absolute;right:0;top:35px;z-index:5;display:flex;flex-direction:column;align-items:stretch;width:180px;padding:6px;border:1px solid var(--border);border-radius:16px;background:var(--card-alt);box-shadow:0 12px 30px #0006}.demo-account-menu .button{justify-content:flex-start;font-size:11px}
.goal-wizard{width:min(460px,calc(100% - 24px));padding:22px;max-height:90dvh;overflow:auto}.goal-wizard .demo-modal-head{margin:0 0 18px}.wizard-context{color:var(--muted);font-size:12px}.wizard-progress{display:flex;justify-content:space-between;gap:8px;margin-bottom:25px}.wizard-progress>span{display:flex;align-items:center;gap:5px;color:var(--muted);font-size:11px}.wizard-progress i{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--card-alt);font-style:normal;font-size:10px}.wizard-progress .current{color:var(--text)}.wizard-progress .current i{background:#4eafff;color:white}.wizard-progress .done i{color:#30d158}.wizard-body h3{font-size:21px;font-weight:500;letter-spacing:-.03em}.wizard-hint{color:var(--muted);font-size:12px;line-height:1.5;margin:7px 0 16px}.goal-wizard .field{font-size:12px;margin:14px 0}.goal-wizard input,.goal-wizard select{min-height:40px;font-size:13px;padding:9px 11px}.goal-wizard .demo-modal-footer{justify-content:space-between;margin-top:12px;padding-top:14px;border-top:1px solid var(--border)}.goal-wizard .form-error{min-height:16px;margin-top:10px}.goal-wizard .calendar-day{min-height:34px;height:34px;font-size:12px}.goal-wizard .demo-days{gap:4px;margin:10px 0}.goal-wizard .demo-month{margin-top:16px}.goal-wizard .demo-month strong{font-size:13px;font-weight:500}.wizard-selected{display:flex;justify-content:space-between;color:var(--muted);font-size:11px}.wizard-presets{display:flex;gap:8px}.wizard-extra{margin-top:15px;color:var(--muted);font-size:12px}.wizard-extra summary{cursor:pointer}.wizard-review{display:grid;gap:0;margin-top:16px}.wizard-review>div{display:flex;gap:16px;justify-content:space-between;padding:11px 0;border-bottom:1px solid var(--border);font-size:12px}.wizard-review span{color:var(--muted);flex:none}.wizard-review strong{font-weight:500;text-align:right;max-width:70%;line-height:1.45}.goal-wizard .check-field small{display:block;font-size:11px;color:var(--muted)}
@media(max-width:740px){:root[data-theme] .account-list{grid-template-columns:1fr}.goal-wizard{padding:18px}.wizard-progress{gap:4px}.wizard-progress>span{font-size:10px}}

/* Only the current step carries a visible title, including narrow screens. */
:root[data-theme] .goal-wizard .wizard-progress{display:flex;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:12px;min-height:28px}
:root[data-theme] .goal-wizard .wizard-progress>span{display:flex;align-items:center;gap:0;flex:0 0 auto;white-space:nowrap;min-width:0}
:root[data-theme] .goal-wizard .wizard-progress>span.current{gap:8px}
:root[data-theme] .goal-wizard .wizard-progress i{flex-shrink:0;width:24px;height:24px}
.wizard-step-label{display:inline-block;overflow:hidden;white-space:nowrap;animation:wizardStepReveal .55s cubic-bezier(.22,1,.36,1) both}
@keyframes wizardStepReveal{from{opacity:0;max-width:0;transform:translateX(-5px)}to{opacity:1;max-width:100px;transform:translateX(0)}}
@media(prefers-reduced-motion:reduce){.wizard-step-label{animation:none}}

.goal-wizard .wizard-step-label{animation-duration:.7s;animation-timing-function:cubic-bezier(.22,1,.36,1)}.goal-wizard[data-step-motion="false"] .wizard-step-label{animation:none}
