/* ARVYNO 0.9.143 — All Profile inner pages. Warm surfaces, compact forms. */
.profile-detail-screen { top:0 !important; background:var(--bg,#f6f2ec); opacity:1 !important; visibility:hidden; transition:none !important; }
.profile-detail-screen.visible { visibility:visible; }
.profile-detail-screen .profile-detail-panel,
.profile-detail-screen .profile-detail-scroll { background:var(--bg,#f6f2ec); }
.profile-detail-screen .profile-detail-panel [data-profile-detail-content] .profile-detail-topbar { grid-template-columns:88px minmax(0,1fr) 88px !important; gap:4px; padding:calc(var(--arvyno-header-top,0px) + 4px) 12px 4px !important; min-height:0 !important; background:var(--bg,#f6f2ec) !important; box-shadow:none !important; border-bottom:1px solid rgba(92,80,68,.075) !important; backdrop-filter:none !important; }
.profile-detail-screen .profile-detail-panel [data-profile-detail-content] .profile-detail-topbar .tracker-top-title { font-size:14px !important; font-weight:600 !important; line-height:1.3; letter-spacing:-.015em; text-align:center; overflow-wrap:anywhere; }
.profile-detail-screen .profile-detail-panel [data-profile-detail-content] .profile-detail-topbar .tracker-icon-button,
.profile-detail-screen .profile-detail-panel [data-profile-detail-content] .profile-category-header-add { display:grid !important; place-items:center; width:44px !important; height:44px !important; min-width:44px !important; min-height:44px !important; padding:0 !important; border:0 !important; border-radius:12px !important; background:transparent !important; box-shadow:none !important; color:var(--text) !important; }
.profile-detail-screen .profile-detail-panel [data-profile-detail-content] .profile-category-header-add { justify-self:end !important; }
.profile-detail-screen .profile-detail-panel [data-profile-detail-content] .profile-detail-topbar svg { width:24px; height:24px; display:block; }
.profile-detail-screen .profile-detail-panel [data-profile-detail-content] .profile-detail-topbar .profile-category-header-add::after { display:none; }
.profile-detail-screen .profile-header-save,
.profile-detail-screen .profile-category-editor-save { width:auto !important; height:44px !important; min-height:44px !important; padding:0 2px !important; border:0 !important; background:transparent !important; box-shadow:none !important; justify-self:end; color:var(--sage-dark) !important; font-family:inherit; line-height:1.3; font-size:14px !important; font-weight:600 !important; }
.profile-detail-screen .profile-detail-top-spacer { width:44px; height:44px; justify-self:end; }
.profile-detail-screen .profile-detail-scroll { padding:12px 16px calc(24px + max(env(safe-area-inset-bottom), var(--arvyno-safe-bottom), var(--arvyno-content-safe-bottom))) !important; gap:12px !important; grid-auto-rows:max-content; align-content:start; }
.profile-detail-screen .profile-detail-scroll > * { min-width:0; margin-block:0 !important; }
.profile-detail-screen .card,
.profile-detail-screen .metric { min-height:0 !important; padding:14px 16px !important; background:#fff !important; border:0 !important; border-radius:20px !important; box-shadow:0 3px 12px rgba(54,47,40,.012) !important; backdrop-filter:none !important; }
.profile-detail-screen .card-title-row { gap:12px; margin:0 0 10px; }
.profile-detail-screen h2 { font-size:18px !important; font-weight:600 !important; line-height:1.25 !important; letter-spacing:-.025em; }
.profile-detail-screen .card-subtitle { margin-top:3px; color:#78736c; font-size:11px !important; line-height:1.4; }
.profile-detail-screen .profile-section-intro { padding:2px 0 0 !important; }
.profile-detail-screen .profile-section-intro > .section-eyebrow { display:none; }
.profile-detail-screen .profile-section-intro h1 { margin:0 0 5px !important; font-size:22px !important; font-weight:600 !important; line-height:1.15 !important; letter-spacing:-.035em; }
.profile-detail-screen .profile-section-intro p { color:#78736c; font-size:12px !important; line-height:1.4; }
.profile-detail-screen .grid-2 { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.profile-detail-screen .metric { padding:12px !important; border-radius:16px !important; }
.profile-detail-screen .metric-label { color:#78736c; font-size:12px !important; line-height:1.3; }
.profile-detail-screen .metric-value { margin-top:5px; font-size:22px !important; font-weight:600; line-height:1.2; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; letter-spacing:-.025em; }
.profile-detail-screen .metric small { display:block; margin-top:4px; color:#78736c; font-size:11px !important; line-height:1.35; overflow-wrap:anywhere; }
.profile-detail-screen .profile-detail-metrics .metric:last-child .metric-value { font-size:clamp(16px,4.3vw,20px) !important; }
.profile-detail-screen .settings-form { grid-template-columns:minmax(0,1fr) !important; gap:0 !important; }
.profile-detail-screen .settings-form > * { grid-column:1/-1 !important; min-width:0; }
.profile-detail-screen .settings-form .field { display:grid !important; grid-template-columns:minmax(0,1fr) minmax(0,1.35fr); align-items:center; gap:12px !important; min-height:56px; padding:8px 0 !important; margin:0 !important; border-bottom:1px solid rgba(92,80,68,.075); }
.profile-detail-screen .settings-form .field > span { font-size:13px !important; font-weight:500 !important; line-height:1.35; color:var(--text); letter-spacing:0; }
.profile-detail-screen .settings-form .field input,
.profile-detail-screen .settings-form .field select { min-width:0; width:100%; max-width:100%; height:40px; min-height:40px; padding:8px 2px !important; border:0 !important; border-radius:8px !important; background:transparent !important; box-shadow:none !important; color:#67645d; font-size:16px !important; line-height:1.25; text-align:right; text-align-last:right; font-weight:400 !important; }
.profile-detail-screen .settings-form .field select { padding-right:18px !important; }
.profile-detail-screen .settings-form .field input:focus,
.profile-detail-screen .settings-form .field select:focus { background:#f7f8f5 !important; outline:2px solid #829681; outline-offset:0; }
.profile-detail-screen .settings-form .field input:disabled,
.profile-detail-screen .settings-form .field select:disabled { color:#8b857e; opacity:1; }
.profile-detail-screen .settings-help { margin:0 !important; padding:6px 0 8px; font-size:11px; line-height:1.4; color:#78736c; }
.profile-detail-screen .profile-inner-native-submit { display:none !important; position:absolute !important; width:1px !important; height:1px !important; padding:0 !important; margin:-1px !important; overflow:hidden !important; clip-path:inset(50%); opacity:0; pointer-events:none; }
.profile-detail-screen .profile-edit-card { gap:8px; }
.profile-detail-screen .profile-edit-hero { gap:12px; padding-bottom:12px; border-color:rgba(92,80,68,.075); }
.profile-detail-screen .profile-edit-hero > div { min-width:0; }
.profile-detail-screen .profile-edit-hero .profile-avatar { width:48px !important; height:48px !important; flex:0 0 48px; border-radius:16px; box-shadow:none; font-size:20px; }
.profile-detail-screen .profile-edit-hero h2 { margin:0 0 3px; overflow-wrap:anywhere; }
.profile-detail-screen .profile-edit-hero p { font-size:12px; color:#78736c; overflow-wrap:anywhere; }
.profile-detail-screen .profile-inline-action { padding:4px 0; min-height:44px; font-size:12px; font-weight:500; }
.profile-detail-screen .profile-readonly-row { min-height:44px; align-items:center; padding:8px 0; background:transparent; border-radius:0; border-top:1px solid rgba(92,80,68,.075); font-size:12px; }
.profile-detail-screen .profile-readonly-row b { font-weight:500; }
.profile-detail-screen .profile-notification-group { padding:6px 0 8px; border-bottom:1px solid rgba(92,80,68,.075); }
.profile-detail-screen .profile-notification-group:last-of-type { border-bottom:0; }
.profile-detail-screen .profile-notification-form .settings-toggle { min-height:48px; gap:12px; padding:4px 0 !important; border:0; }
.profile-detail-screen .settings-toggle > div { min-width:0; }
.profile-detail-screen .settings-toggle b { font-size:14px; font-weight:550; line-height:1.3; }
.profile-detail-screen .settings-toggle small { font-size:11px; line-height:1.35; color:#78736c; }
.profile-detail-screen .switch { width:44px; height:26px; }
.profile-detail-screen .switch i { background:#dcded8; }
.profile-detail-screen .switch i::after { width:20px; height:20px; box-shadow:0 1px 3px rgba(54,47,40,.1); }
.profile-detail-screen .switch input:checked + i { background:#7f9782; }
.profile-detail-screen .switch input:checked + i::after { transform:translateX(18px); }
.profile-detail-screen .switch:has(input:focus-visible) { outline:2px solid #526b55; outline-offset:4px; border-radius:16px; }
.profile-detail-screen .profile-notification-form .field { min-height:44px; border:0; padding:2px 0 !important; }
.profile-detail-screen .profile-notification-form .field > span { color:#78736c; font-size:12px !important; }
.profile-detail-screen .settings-two-fields { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:12px !important; margin:0 !important; }
.profile-detail-screen .settings-two-fields .field { grid-column:auto !important; grid-template-columns:minmax(0,1fr) 44px; gap:6px !important; }
.profile-detail-screen .settings-two-fields .field:last-child { grid-template-columns:auto minmax(100px,1fr); }
.profile-detail-screen .settings-zone { margin-top:12px; padding:8px 10px; border-radius:12px; background:#f7f8f5; color:#78736c; font-size:11px; line-height:1.4; }
.profile-detail-screen .profile-analytics-switch,
.profile-detail-screen .profile-category-tabs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); min-height:44px; width:100%; margin:12px 0 0 !important; padding:4px; border:0; border-radius:14px; background:#efede7; gap:4px; box-shadow:none; }
.profile-detail-screen .profile-category-tabs { grid-template-columns:repeat(2,minmax(0,1fr)); margin:0 !important; }
.profile-detail-screen .profile-analytics-switch button,
.profile-detail-screen .profile-category-tabs button { min-height:36px; border:0; padding:6px 4px; background:transparent; border-radius:10px; font-size:12px; font-weight:500; color:#78736c; }
.profile-detail-screen .profile-analytics-switch button.active,
.profile-detail-screen .profile-category-tabs button.active { color:var(--sage-dark); background:#fff; box-shadow:0 2px 8px rgba(54,47,40,.025); }
.profile-detail-screen .analytics-score-card { padding:16px !important; margin:0 !important; border-radius:20px; box-shadow:none; background:#6b816c; gap:12px; }
.profile-detail-screen .analytics-score-card b { font-size:32px; font-weight:600; }
.profile-detail-screen .analytics-score-card small { font-size:11px; line-height:1.35; opacity:.85; }
.profile-detail-screen .analytics-ring { width:52px; height:52px; flex-basis:52px; }
.profile-detail-screen .analytics-ring::after { inset:5px; background:#6b816c; }
.profile-detail-screen .analytics-ring span { font-size:12px; font-weight:550; }
.profile-detail-screen .analytics-bars { height:120px; padding:8px 0 0; }
.profile-detail-screen .analytics-bar-track { height:88px; border-radius:7px; }
.profile-detail-screen .analytics-bar-track i { border-radius:7px; background:#829780; }
.profile-detail-screen .analytics-bar-item span { font-size:10px; }
.profile-detail-screen .analytics-day-summary { margin-top:12px; gap:8px; grid-template-columns:repeat(2,minmax(0,1fr)); }
.profile-detail-screen .analytics-day-summary > div,
.profile-detail-screen .analytics-money-grid > div { min-width:0; padding:10px; border-radius:12px; background:#f7f8f5; gap:4px; }
.profile-detail-screen .analytics-day-summary span,
.profile-detail-screen .analytics-money-grid span { color:#78736c; font-size:11px; line-height:1.35; }
.profile-detail-screen .analytics-day-summary b,
.profile-detail-screen .analytics-money-grid b { font-size:12px; font-weight:550; line-height:1.4; overflow-wrap:anywhere; font-variant-numeric:tabular-nums; }
.profile-detail-screen .analytics-money-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.profile-detail-screen .analytics-expenses { gap:10px; margin-top:12px; }
.profile-detail-screen .analytics-expenses > div > div:first-child { font-size:12px; }
.profile-detail-screen .analytics-expenses > div > div:first-child b { font-size:12px; font-weight:550; overflow-wrap:anywhere; text-align:right; }
.profile-detail-screen .progress-track { height:3px !important; }
.profile-detail-screen .weekly-report-score { margin-top:8px; padding:10px; background:#f7f8f5; border-radius:12px; }
.profile-detail-screen .weekly-report-score span { font-size:12px; }
.profile-detail-screen .weekly-report-score b { font-size:24px; font-weight:600; }
.profile-detail-screen .weekly-report-summary { flex-wrap:wrap; overflow:visible; gap:6px; }
.profile-detail-screen .weekly-report-summary span { max-width:100%; padding:6px 8px; font-size:11px; line-height:1.4; overflow-wrap:anywhere; border-radius:8px; background:#f7f8f5; }
.profile-detail-screen .weekly-insights { margin-top:8px; gap:0; }
.profile-detail-screen .weekly-insight { padding:10px 0; border-color:rgba(92,80,68,.075); }
.profile-detail-screen .weekly-insight > div { min-width:0; }
.profile-detail-screen .weekly-insight b { font-size:13px; font-weight:550; }
.profile-detail-screen .weekly-insight p { font-size:12px; line-height:1.4; }
.profile-detail-screen .profile-category-tabs-wrap { margin:0; }
.profile-detail-screen .profile-category-order-toolbar { margin:0 !important; min-height:44px; }
.profile-detail-screen .profile-category-order-toggle { min-height:44px !important; min-width:44px !important; font-size:14px; }
.profile-detail-screen .profile-category-order-button { width:44px !important; height:44px !important; min-width:44px; min-height:44px; padding:0 !important; border:0 !important; border-radius:10px !important; background:#f7f8f5 !important; font-size:16px !important; }
.profile-detail-screen .profile-categories-simple-card { padding:0 16px !important; }
.profile-detail-screen .profile-categories-simple-card .profile-category-row { min-height:52px !important; padding:0 !important; border-color:rgba(92,80,68,.075); }
.profile-detail-screen .profile-category-edit-zone { min-height:52px !important; padding:6px 0 !important; gap:10px; }
.profile-detail-screen .profile-category-icon { width:32px; height:32px; border-radius:10px; background:#f7f8f5; font-size:19px; }
.profile-detail-screen .profile-category-copy b { font-size:14px; font-weight:550; line-height:1.3; }
.profile-detail-screen .profile-categories-simple-card.is-sort-mode .profile-category-row { grid-template-columns:minmax(0,1fr) 96px !important; gap:8px !important; }
.profile-detail-screen .profile-category-order-controls { grid-template-columns:repeat(2,44px) !important; gap:8px !important; }
.profile-detail-screen #profile-category-form .profile-category-task-title { margin:0 0 12px !important; padding:0 !important; }
.profile-detail-screen #profile-category-form .profile-category-task-title input { min-height:56px !important; padding:10px 0 !important; margin:0; font-size:24px !important; font-weight:550 !important; letter-spacing:-.025em; }
.profile-detail-screen #profile-category-form .profile-category-task-fields { padding:0 16px !important; margin:0 0 12px !important; border:0 !important; border-radius:20px !important; background:#fff !important; box-shadow:none !important; }
.profile-detail-screen #profile-category-form .task-quiet-row { min-height:52px !important; padding-block:8px !important; }
.profile-detail-screen #profile-category-form .task-quiet-row-label { font-size:13px !important; font-weight:500 !important; }
.profile-detail-screen #profile-category-form .profile-category-kind-display { font-size:16px !important; }
.profile-detail-screen #profile-category-form .task-like-category-icons-card { padding:0 16px 14px !important; margin:0 !important; }
.profile-detail-screen #profile-category-form .profile-category-icon-grid { grid-template-columns:repeat(6,minmax(44px,1fr)); gap:6px; padding:4px 0 0 !important; }
.profile-detail-screen #profile-category-form .profile-category-icon-choice { min-width:44px; min-height:44px; height:44px !important; border:1px solid transparent; border-radius:12px; box-shadow:none; background:#f7f8f5; }
.profile-detail-screen #profile-category-form .profile-category-icon-choice.is-selected { border-color:#829681; background:#edf2eb; }
.profile-detail-screen #profile-category-form .profile-category-icon-choice:has(input:focus-visible) { outline:2px solid #526b55; outline-offset:1px; }
.profile-detail-screen #profile-category-form .profile-category-icon-choice span { font-size:22px; }
.profile-detail-screen .profile-category-delete { min-height:44px; margin:12px 0 0 !important; padding:10px 0 !important; font-size:12px !important; }
.profile-detail-screen .profile-data-actions { padding-block:0 !important; }
.profile-detail-screen .profile-data-actions > button { min-height:68px; padding:12px 0; border-color:rgba(92,80,68,.075); }
.profile-detail-screen .profile-data-actions > button:last-of-type { border-bottom:0; }
.profile-detail-screen .profile-data-actions b { font-size:14px; font-weight:550; line-height:1.3; }
.profile-detail-screen .profile-data-actions small { font-size:12px; line-height:1.4; color:#78736c; }
.profile-detail-screen .profile-data-actions i { width:32px; height:32px; border-radius:10px; background:#f7f8f5; }
.profile-detail-screen .profile-data-actions i svg { width:20px; height:20px; }
.profile-detail-screen .danger-zone-card { gap:10px; }
.profile-detail-screen .danger-zone-card .section-eyebrow { font-size:10px; letter-spacing:.06em; color:#975a50; }
.profile-detail-screen .danger-zone-card p { color:#78736c; font-size:12px; line-height:1.4; }
.profile-detail-screen .danger-secondary { min-height:44px; border:0; border-radius:12px; background:#f8efec; color:#975a50; font-size:13px; font-weight:550; padding:10px 12px; }
.profile-detail-screen .profile-about-card { min-height:0 !important; padding:20px 16px 12px !important; }
.profile-detail-screen .profile-about-logo { width:48px; height:48px; margin:0 0 12px; border-radius:16px; background:#6b816c; box-shadow:none; font-size:24px; font-weight:600; }
.profile-detail-screen .profile-about-card h1 { margin:6px 0; font-size:24px; font-weight:600; line-height:1.2; }
.profile-detail-screen .profile-about-card > p { font-size:12px; color:#78736c; line-height:1.4; }
.profile-detail-screen .profile-about-meta { margin-top:16px; }
.profile-detail-screen .profile-about-meta > div { min-height:44px; align-items:center; padding:8px 0; border-color:rgba(92,80,68,.075); font-size:12px; }
.profile-detail-screen .profile-about-meta b { font-weight:550; overflow-wrap:anywhere; }
.profile-detail-screen button:focus-visible { outline:2px solid #526b55; outline-offset:2px; }
@media(max-width:360px) {
 .profile-detail-screen .profile-detail-scroll { padding-inline:12px !important; }
 .profile-detail-screen .profile-detail-panel [data-profile-detail-content] .profile-detail-topbar { grid-template-columns:82px minmax(0,1fr) 82px !important; padding-inline:8px !important; }
 .profile-detail-screen .settings-form .field { grid-template-columns:minmax(0,1fr) minmax(0,1.2fr); gap:8px !important; }
 .profile-detail-screen .settings-two-fields { grid-template-columns:minmax(0,1fr) !important; }
 .profile-detail-screen #profile-category-form .profile-category-icon-grid { grid-template-columns:repeat(5,minmax(44px,1fr)); }
}
@media(prefers-reduced-motion:reduce) { .profile-detail-screen, .profile-detail-screen .switch i, .profile-detail-screen .switch i::after { transition:none !important; } }

.profile-confirm .confirm-sheet { padding:20px 16px !important; border:0 !important; border-radius:20px !important; background:#fff !important; box-shadow:0 8px 30px rgba(54,47,40,.06) !important; }
.profile-confirm .confirm-icon { width:36px; height:36px; margin-bottom:12px; border-radius:12px; background:#f8efec; color:#975a50; box-shadow:none; font-size:18px; }
.profile-confirm h2 { font-size:20px; font-weight:600; line-height:1.25; letter-spacing:-.025em; }
.profile-confirm p { color:#78736c; font-size:13px; line-height:1.45; }
.profile-confirm .confirm-actions { gap:8px; }
.profile-confirm .confirm-actions button { min-height:44px; border:0; border-radius:12px; font:inherit; font-size:13px; font-weight:550; padding:10px 12px; box-shadow:none; }
.profile-confirm .secondary-button { background:#f7f8f5; color:var(--text); }
.profile-confirm .confirm-danger { background:#f8efec; color:#975a50; }
.profile-confirm button:focus-visible { outline:2px solid #526b55; outline-offset:2px; }

/* ARVYNO 0.9.166 — Data Safety */
.profile-detail-screen .danger-zone-item { display:grid; gap:10px; }
.profile-detail-screen .danger-zone-divider { height:1px; background:rgba(151,90,80,.12); margin:2px 0; }
.profile-detail-screen .danger-zone-delete h2 { color:#7f332c; }
.profile-detail-screen .danger-delete {
  min-height:44px;
  border:1px solid rgba(151,90,80,.22);
  border-radius:12px;
  background:#8f3f36;
  color:#fff;
  font-size:13px;
  font-weight:600;
  padding:10px 12px;
}
.profile-detail-screen .danger-retention-note { color:#8a8178; font-size:10.5px; line-height:1.45; }
.account-deleted-message { margin-top:24px; text-align:center; }
.account-deleted-message p { max-width:32rem; margin-inline:auto; }
