@import url('./app.css');
body{min-height:100vh;background:var(--background)}
.portal-layout{color:var(--text-primary)}
.portal-sidebar{border-right:1px solid var(--border-subtle-01);background:var(--layer-01)}
.portal-sidebar .wordmark{color:var(--text-primary)}
.portal-nav .nav-item{color:var(--text-secondary)}
.portal-nav .nav-item.is-active{background:var(--accent-subtle);color:var(--accent-text)}
.account-shell{color:var(--text-primary)}
.account-shell h1,.account-shell h2,.account-shell h3{color:var(--text-primary);font-family:var(--font-sans)}
.account-shell p,.account-shell small,.account-shell .muted{color:var(--text-secondary)}
.account-shell .notice,.account-shell [role=alert],.drawer-error{border:1px solid var(--destructive-subtle-hover);border-radius:var(--radius);background:var(--destructive-subtle);color:var(--destructive-text)}
.account-shell .loading{color:var(--text-secondary)}
.account-shell .grid{gap:var(--space-12)}
.account-shell .card,.account-shell .memory-card,.account-shell .memory-setting,.account-shell .routine-card,.account-shell .routine-editor,.account-shell .proactive-card,.account-shell .schedule,.account-shell .integration-card,.account-shell .drawer-row,.account-shell .dashboard-group{border-color:var(--border-subtle-01);border-radius:var(--radius);background:var(--layer-01);box-shadow:none}
.account-shell .choice,.account-shell .tone-options .choice{border-color:var(--border-subtle-01);border-radius:var(--radius);background:var(--layer-01);box-shadow:none}
.account-shell .choice[aria-pressed=true],.account-shell .memory-filters .choice[aria-pressed=true]{border-color:var(--border-strong-01);background:var(--layer-selected-01);box-shadow:none}
.account-shell .button.danger,.account-shell .button.destructive{color:var(--destructive-text)}
#account-overlays{color:var(--text-primary)}

.detail-portal-field,.detail-text-field,.ui-select-field{min-width:0}
.drawer-actions{display:flex;flex-wrap:wrap;gap:var(--space-8)}
.drawer-row>div{min-width:0;overflow-wrap:anywhere}
.catalog-search>label{min-width:0}
.settings-popup.detail-surface-dialog-popup{z-index:81}
.drawer-viewport.detail-surface-drawer-viewport{z-index:83}
.drawer-popup.detail-surface-drawer-popup{padding:0}
.drawer-backdrop.detail-surface-backdrop{z-index:82}
.settings-backdrop.detail-surface-backdrop{z-index:80}
@media(max-width:620px){
 .family-row,.household-heading,.drawer-row{align-items:flex-start;flex-wrap:wrap}
 .family-row>div,.household-heading>div{min-width:0;overflow-wrap:anywhere}
 .catalog-search{align-items:stretch;flex-direction:column}
 .dialog-popup{padding:var(--space-24) var(--space-16)}
 .settings-popup{padding:0}
}

