/* Dashboard surfaces and controls are scoped separately from account screens. */
.dashboard-page {
  --dashboard-fg: #f2f2f3;
  --dashboard-muted: #a5a6ac;
  --dashboard-accent: #9baec5;
  min-height: 100svh;
  color: var(--dashboard-fg);
  background: radial-gradient(ellipse 55% 48% at 51% -14%, rgb(190 191 198 / .085), transparent 76%), radial-gradient(ellipse 46% 54% at 105% 78%, rgb(122 126 141 / .04), transparent 75%), #08090b;
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.5;
}
.dashboard-session-loading { overflow: hidden; }
.dashboard-session-loading .dashboard-session-nav { pointer-events: none; }
.session-loading-brand, .session-loading-actions span, .session-loading-line, .session-loading-weather {
  display: block;
  border-radius: 10px;
  background: linear-gradient(100deg, rgb(255 255 255 / .055) 25%, rgb(255 255 255 / .11) 50%, rgb(255 255 255 / .055) 75%);
  background-size: 220% 100%;
  animation: session-loading-shimmer 1.6s ease-in-out infinite;
}
.session-loading-brand { width: 164px; height: 22px; }
.session-loading-actions { display: flex; align-items: center; gap: 8px; }
.session-loading-actions span { width: 58px; height: 32px; border-radius: 8px; }
.session-loading-actions span:first-child { width: 36px; }
.session-loading-greeting { display: flex; flex-direction: column; gap: 10px; }
.session-loading-line-small { width: 112px; height: 12px; }
.session-loading-line-large { width: 260px; height: 30px; border-radius: 8px; }
.session-loading-weather { width: 132px; height: 36px; }
.session-loading-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 112px;
  border: 1px solid rgb(255 255 255 / .06);
  border-radius: 16px;
  color: #a5a6ac;
  background: linear-gradient(145deg, rgb(30 31 35 / .72), rgb(20 21 25 / .76));
  box-shadow: inset 0 1px rgb(255 255 255 / .045);
}
.session-loading-spinner {
  width: 15px;
  height: 15px;
  border: 2px solid rgb(255 255 255 / .16);
  border-top-color: #9baec5;
  border-radius: 50%;
  animation: session-loading-spin .8s linear infinite;
}
@keyframes session-loading-shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
@keyframes session-loading-spin { to { transform: rotate(360deg); } }
@media (max-width: 767px) {
  .session-loading-brand { width: 124px; }
  .session-loading-actions span { width: 42px; }
  .session-loading-actions span:first-child { width: 32px; }
  .session-loading-line-large { width: min(220px, 58vw); }
  .session-loading-weather { width: 112px; }
  .session-loading-panel { min-height: 92px; }
}
@media (prefers-reduced-motion: reduce) {
  .session-loading-brand, .session-loading-actions span, .session-loading-line, .session-loading-weather, .session-loading-spinner { animation: none; }
}
.dashboard-page button, .profile-dialog button {
  width: auto;
  min-height: 36px;
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #a5a6ac;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}
.dashboard-page button:hover:not(:disabled), .profile-dialog button:hover:not(:disabled) { color: #f2f2f3; background: rgb(255 255 255 / .07); }
.dashboard-page button:disabled, .profile-dialog button:disabled { opacity: .4; cursor: default; }
.dashboard-page button:focus-visible, .dashboard-page a:focus-visible, .profile-dialog button:focus-visible { outline: 2px solid rgb(155 174 197 / .54); outline-offset: 3px; }
.dashboard-page svg, .profile-dialog svg { display: block; width: 24px; height: 24px; flex-shrink: 0; }
.dashboard-nav {
  position: fixed;
  inset: 12px 24px auto;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 60px;
  max-width: 1536px;
  margin-inline: auto;
  padding: 10px 20px;
  border: 1px solid rgb(255 255 255 / .06);
  border-radius: 16px;
  background: linear-gradient(145deg, rgb(43 44 49 / .76), rgb(23 24 28 / .76));
  box-shadow: inset 0 1px rgb(255 255 255 / .09), 0 10px 28px rgb(0 0 0 / .2);
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
}
.dashboard-brand { color: #f2f2f3; text-decoration: none; font-family: "Cormorant Garamond", Georgia, serif; font-size: 28px; font-weight: 500; line-height: 1; letter-spacing: -.02em; white-space: nowrap; }
.brand-short { display: none; }
.nav-actions { display: flex; align-items: center; gap: 8px; min-width: 0; }
.dashboard-page .icon-button, .dashboard-page .profile-button, .profile-dialog .dialog-close { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 36px; height: 36px; padding: 6px; }
.dashboard-page .profile-button { width: auto; min-width: 36px; gap: 8px; padding-inline: 8px; color: #d4d9e0; background: rgb(155 174 197 / .1); }
.dashboard-page .profile-button { background: transparent; }
.nav-link { padding: 8px 12px; border-radius: 8px; color: #f2f2f3; text-decoration: none; white-space: nowrap; }
.nav-link:hover { background: rgb(255 255 255 / .06); }
.dashboard-nav button[aria-label="Выйти"] { width: auto; padding-inline: 12px; }
.nav-email { max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #a5a6ac; font-size: 12px; }
.dashboard-main { width: 100%; margin: 0 auto; padding: 104px 24px 112px; }
.greeting-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 28px; }
.greeting-header { max-width: 1600px; margin-inline: auto; }
.greeting-copy { min-width: 0; }
.greeting-eyebrow { margin: 0 0 6px; color: #a5a6ac; font-size: 12px; }
.dashboard-page .greeting-title { margin: 0; font-size: 30px; font-weight: 600; letter-spacing: -.035em; line-height: 1.25; }
.greeting-title { overflow-wrap: anywhere; }
.greeting-summary { margin: 8px 0 0; color: #a5a6ac; font-size: 13px; }
.weather-placeholder { display: flex; align-items: center; gap: 12px; max-width: 260px; color: #a5a6ac; font-size: 12px; }
.weather-placeholder svg { color: #9baec5; }
.weather-placeholder { margin-right: auto; }
.name-banner { flex-wrap: wrap; }
.name-banner .profile-error { flex-basis: 100%; }
.name-banner { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; padding: 18px 20px; border: 1px solid rgb(255 255 255 / .06); border-radius: 14px; background: linear-gradient(130deg, rgb(38 39 44 / .9), rgb(23 24 28 / .92)); box-shadow: inset 0 1px rgb(255 255 255 / .07); }
.name-copy { flex: 1; min-width: 0; }
.name-copy p { margin: 4px 0 0; color: #a5a6ac; font-size: 12px; }
.name-form { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dashboard-page .field-input, .profile-dialog .field-input { width: 100%; min-height: 42px; border: 1px solid rgb(255 255 255 / .06); border-radius: 8px; padding: 10px 12px; color: #f2f2f3; background: rgb(255 255 255 / .055); font: inherit; outline: none; }
.name-form .field-input { width: 190px; }
.field-input::placeholder { color: #85868d; }
.dashboard-page .field-input:focus-visible, .profile-dialog .field-input:focus-visible { border-color: rgb(155 174 197 / .4); box-shadow: 0 0 0 2px rgb(155 174 197 / .2); }
.dashboard-page .button-primary, .profile-dialog .button-primary { color: #17181b; background: #dfe0e3; }
.dashboard-page .button-primary:hover:not(:disabled), .profile-dialog .button-primary:hover:not(:disabled) { color: #17181b; background: #f0f0f2; }
.dashboard-page .button-secondary, .profile-dialog .button-secondary { color: #d3d4d8; background: rgb(255 255 255 / .055); }
.stage-notice { margin: 0 0 18px; color: #888a92; font-size: 12px; line-height: 1.6; }
.dashboard-grid { position: relative; width: 100%; }
.dashboard-grid { transition: height 180ms cubic-bezier(.2, .8, .2, 1); }

@keyframes ui-reveal-up { from { opacity: .94; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ui-reveal-scale { from { opacity: 0; transform: scale(.95) translateY(8px); } to { opacity: 1; transform: scale(1) translateY(0); } }
@keyframes ui-overlay-sheet-in { from { opacity: 0; transform: translateY(100%); } to { opacity: 1; transform: translateY(0); } }
.ui-reveal-in-view { animation: ui-reveal-up .38s ease-out both; }
.ui-reveal-scale { animation: ui-reveal-scale .2s cubic-bezier(.22,1,.36,1) both; }
.ui-overlay-panel-in { animation: ui-reveal-scale .22s cubic-bezier(.22,1,.36,1) both; }
@keyframes ui-overlay-backdrop-in { from { opacity: 0; } to { opacity: 1; } }
.profile-dialog::backdrop, .notes-dialog::backdrop, .weather-dialog::backdrop { animation: ui-overlay-backdrop-in .22s ease-out both; }
@media (max-width: 767px) { .notes-dialog.ui-overlay-panel-in, .weather-dialog.ui-overlay-panel-in { animation: ui-overlay-sheet-in .22s cubic-bezier(.22,1,.36,1) both; } }
@media (prefers-reduced-motion: reduce) { .ui-reveal-in-view, .ui-reveal-scale, .ui-overlay-panel-in, .profile-dialog::backdrop, .notes-dialog::backdrop, .weather-dialog::backdrop { animation: none; } }
.widget-card { position: absolute; display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid rgb(255 255 255 / .055); border-radius: 16px; background: linear-gradient(155deg, rgb(30 31 35 / .92), rgb(20 21 25 / .94)); box-shadow: inset 0 1px rgb(255 255 255 / .065), 0 14px 30px rgb(0 0 0 / .11); }
.widget-card { transition: left 180ms cubic-bezier(.2, .8, .2, 1), top 180ms cubic-bezier(.2, .8, .2, 1), width 180ms cubic-bezier(.2, .8, .2, 1), height 180ms cubic-bezier(.2, .8, .2, 1), border-color 160ms ease, box-shadow 160ms ease; }
.widget-card.is-dragging { transition-property: width, height, border-color, box-shadow; }
.widget-card.is-resizing { transition-duration: 90ms; }
.widget-card.is-primary { background: linear-gradient(155deg, rgb(37 38 42 / .93), rgb(23 24 28 / .95)); }
.widget-card.is-editing { border-color: rgb(155 174 197 / .24); }
.widget-card.is-active { z-index: 10; border-color: rgb(155 174 197 / .65); box-shadow: 0 0 0 1px rgb(155 174 197 / .15), 0 18px 40px rgb(0 0 0 / .3); }
.widget-toolbar { display: none; align-items: center; min-height: 32px; background: rgb(255 255 255 / .035); border-bottom: 1px solid rgb(255 255 255 / .045); }
.is-editing > .widget-toolbar { display: flex; }
.dashboard-page .drag-handle { display: flex; flex: 1; justify-content: flex-start; align-items: center; height: 32px; min-height: 32px; padding: 0 12px; border-radius: 0; cursor: grab; touch-action: none; user-select: none; }
.dashboard-page .drag-handle:active { cursor: grabbing; }
.drag-handle svg { width: 18px; height: 18px; }
.toolbar-actions { display: flex; align-items: center; gap: 2px; padding-right: 4px; }
.toolbar-actions .icon-button { width: 28px; height: 28px; min-height: 28px; padding: 5px; }
.toolbar-actions svg { width: 16px; height: 16px; }
.widget-heading { margin: 0; padding: 20px 20px 0; font-size: 14px; font-weight: 550; letter-spacing: -.01em; }
.widget-body { display: flex; flex: 1; flex-direction: column; min-height: 0; padding: 20px; }
.widget-body[hidden] { display: none; }
.widget-body .widget-heading { padding: 0; }
.widget-placeholder { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 0; padding: 12px; color: #85868d; text-align: center; font-size: 13px; }
.widget-placeholder p { max-width: 230px; margin: 0; }
.placeholder-icon { display: grid; place-items: center; width: 44px; height: 44px; color: #9baec5; border-radius: 12px; background: rgb(155 174 197 / .055); }
.dashboard-page .resize-handle { display: none; position: absolute; right: 0; bottom: 0; width: 26px; height: 26px; min-height: 26px; padding: 4px; border-radius: 0; cursor: nwse-resize; touch-action: none; color: #a5a6ac; }
.is-editing > .resize-handle { display: block; }
.resize-handle svg { width: 18px; height: 18px; }
.stacked-toolbar { display: flex; flex-shrink: 0; align-items: center; justify-content: space-between; gap: 8px; padding: 16px 20px; min-height: 64px; }
.stacked-title { margin: 0; font-size: 14px; font-weight: 550; }
.dashboard-page .stacked-title { display: flex; flex: 1; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; padding: 0; color: #f2f2f3; text-align: left; }
.stacked-title svg { width: 18px; height: 18px; }
.chevron-closed { transform: rotate(-90deg); }
.dashboard-grid.is-stacked { display: flex; flex-direction: column; gap: 16px; height: auto !important; }
.is-stacked .widget-card { position: relative; inset: auto !important; width: 100% !important; height: 240px !important; }
.is-stacked .widget-card.is-primary { height: 360px !important; }
.is-stacked .widget-card[data-widget="habits"] { height: 360px !important; }
.is-stacked .widget-card[data-widget="currency"]:not(.is-collapsed),
.is-stacked .widget-card[data-widget="crypto"]:not(.is-collapsed) { height: auto !important; min-height: 280px; }
.is-stacked .widget-card[data-widget="pomodoro"]:not(.is-collapsed) { height: auto !important; min-height: 340px; }
.is-stacked .widget-card.is-collapsed { height: 64px !important; }
.is-stacked .is-collapsed .widget-body { display: none; }
.is-stacked .widget-toolbar, .is-stacked .resize-handle { display: none; }
.is-stacked .widget-body { padding-top: 0; }
.editor-dock { position: fixed; z-index: 60; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; max-width: calc(100vw - 32px); padding: 6px; border: 1px solid rgb(255 255 255 / .08); border-radius: 14px; background: linear-gradient(140deg, rgb(43 44 49 / .78), rgb(25 26 30 / .84)); box-shadow: inset 0 1px rgb(255 255 255 / .1), 0 16px 42px rgb(0 0 0 / .3); backdrop-filter: blur(24px) saturate(1.08); -webkit-backdrop-filter: blur(24px) saturate(1.08); }
.editor-dock { left: auto; right: 24px; transform: none; }
.dashboard-page .editor-button, .dashboard-page .hidden-toggle { display: flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; min-height: 40px; padding: 8px 14px; font-size: 13px; }
.editor-button[aria-pressed="true"] { color: #dbe4ef; background: rgb(155 174 197 / .15); }
.editor-button svg, .hidden-toggle svg { width: 18px; height: 18px; }
.hidden-menu { position: absolute; left: 0; right: 0; bottom: calc(100% + 10px); padding: 8px; border: 1px solid rgb(255 255 255 / .08); border-radius: 14px; background: linear-gradient(145deg, rgb(42 43 49 / .985), rgb(23 24 29 / .99)); box-shadow: 0 12px 36px rgb(0 0 0 / .3); }
.hidden-menu { left: auto; min-width: 220px; }
.hidden-menu > p { margin: 6px 10px; color: #a5a6ac; font-size: 12px; }
.dashboard-page .hidden-widget { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; text-align: left; color: #d3d4d8; }
.hidden-widget svg { width: 16px; height: 16px; }
.save-status { margin: 14px 0 0; min-height: 20px; color: #85868d; font-size: 12px; }
.save-status { position: absolute; bottom: calc(100% + 12px); right: 0; width: max-content; max-width: min(420px, calc(100vw - 32px)); margin: 0; text-align: right; }
.save-status:has(.status-error) { padding: 10px 12px; background: #1b1c21; border: 1px solid rgb(224 128 112 / .2); border-radius: 10px; }
.editor-dock:has(.hidden-menu) .save-status { display: none; }
.dashboard-edit-hint { position: absolute; right: 0; bottom: calc(100% + 10px); width: min(252px, calc(100vw - 32px)); padding: 12px 34px 12px 14px; border: 1px solid rgb(255 255 255 / .08); border-radius: 16px; color: #f2f2f3; background: linear-gradient(145deg, rgb(42 43 49 / .985), rgb(23 24 29 / .99)); box-shadow: 0 12px 36px rgb(0 0 0 / .3); text-align: right; }
.dashboard-edit-hint strong, .dashboard-edit-hint span { display: block; }
.dashboard-edit-hint strong { font-size: 13px; font-weight: 600; }
.dashboard-edit-hint span { margin-top: 4px; color: #a5a6ac; font-size: 12px; line-height: 1.45; }
.dashboard-edit-hint-close { position: absolute; top: 5px; right: 5px; width: 24px !important; height: 24px; min-height: 24px !important; padding: 4px !important; }
.dashboard-edit-hint-close svg { width: 13px; height: 13px; }
.dashboard-guide-backdrop { position: fixed; z-index: 70; inset: 0; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgb(0 0 0 / .6); animation: ui-overlay-backdrop-in .22s ease-out both; }
.dashboard-guide { display: flex; width: min(384px, 100%); flex-direction: column; gap: 20px; padding: 24px; border: 1px solid rgb(255 255 255 / .08); border-radius: 20px; color: #f2f2f3; background: linear-gradient(145deg, rgb(42 43 49 / .985), rgb(23 24 29 / .99)); box-shadow: inset 0 1px rgb(255 255 255 / .1), 0 24px 80px rgb(0 0 0 / .5); }
.dashboard-guide-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dashboard-guide-header h2 { margin: 0; font-size: 18px; font-weight: 600; }
.dashboard-guide-intro { margin: 0; color: #a5a6ac; font-size: 13px; line-height: 1.6; }
.dashboard-guide-steps { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.dashboard-guide-steps li { display: flex; align-items: flex-start; gap: 12px; }
.dashboard-guide-icon { display: grid; flex: 0 0 auto; place-items: center; width: 36px; height: 36px; margin-top: 2px; border-radius: 6px; color: #9baec5; background: rgb(255 255 255 / .05); }
.dashboard-guide-icon svg { width: 20px; height: 20px; }
.dashboard-guide-steps strong, .dashboard-guide-steps span { display: block; }
.dashboard-guide-steps strong { font-size: 13px; font-weight: 550; }
.dashboard-guide-steps span { margin-top: 2px; color: #a5a6ac; font-size: 13px; line-height: 1.5; }
.dashboard-guide-confirm { width: 100% !important; color: #f2f2f3 !important; background: rgb(255 255 255 / .08) !important; }
.dashboard-guide-confirm:hover:not(:disabled) { background: rgb(255 255 255 / .12) !important; }
.status-error, .profile-error { color: #e08070; }
.dashboard-page .retry-button { min-height: 28px; padding: 2px 8px; color: #d3d4d8; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.empty-layout { display: flex; align-items: center; justify-content: center; min-height: 280px; padding: 24px; border: 1px dashed rgb(255 255 255 / .1); border-radius: 16px; color: #a5a6ac; text-align: center; }
.empty-layout { flex-direction: column; gap: 12px; }
.empty-layout p { margin: 0; }
.empty-layout span { max-width: 420px; font-size: 13px; }
.profile-dialog { width: min(448px, calc(100vw - 32px)); max-height: calc(100svh - 48px); overflow-y: auto; padding: 24px; border: 1px solid rgb(255 255 255 / .08); border-radius: 20px; color: #f2f2f3; background: linear-gradient(145deg, rgb(42 43 49 / .985), rgb(23 24 29 / .99)); box-shadow: inset 0 1px rgb(255 255 255 / .12), 0 28px 80px rgb(0 0 0 / .5); font: 14px/1.5 "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.profile-dialog::backdrop { background: rgb(0 0 0 / .65); backdrop-filter: blur(4px); }
.dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.dialog-header-actions { display: flex; align-items: center; gap: 4px; }
.dialog-header h2 { margin: 0; font-size: 20px; font-weight: 500; }
.dialog-form { display: flex; flex-direction: column; gap: 16px; }
.field-label { display: block; margin-bottom: 6px; color: #a5a6ac; font-size: 12px; }
.profile-email { margin: 0; color: #a5a6ac; overflow-wrap: anywhere; }
.dialog-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 8px; }
.profile-error { margin: 0; font-size: 13px; }
@media (min-width: 1024px) { .dashboard-main { padding-inline: 32px; } .editor-dock { right: 32px; } }
@media (max-width: 900px) { .name-banner { align-items: flex-start; flex-direction: column; gap: 12px; } }
@media (max-width: 639px) {
  .dashboard-nav { inset: 12px 12px auto; min-height: 56px; padding: 8px 12px; border-radius: 14px; }
  .dashboard-brand { font-size: 25px; }
  .brand-long { display: none; }
  .brand-short { display: inline; }
  .nav-email { display: none; }
  .nav-actions { gap: 4px; }
  .nav-link, .dashboard-nav button[aria-label="Выйти"] { padding-inline: 8px; }
  .dashboard-main { padding: 104px 16px 112px; }
  .greeting-header { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 24px; }
  .dashboard-page .greeting-title { font-size: 24px; }
  .weather-placeholder { gap: 8px; max-width: none; font-size: 11px; }
  .weather-placeholder svg { width: 18px; height: 18px; }
  .name-banner { padding: 16px; }
  .name-form { width: 100%; }
  .name-form .field-input { width: 100%; font-size: 16px; }
  .editor-dock { bottom: 16px; gap: 2px; padding: 5px; }
  .editor-dock { bottom: max(16px, env(safe-area-inset-bottom, 0px)); }
  .editor-dock { right: 16px; }
  .dashboard-page .editor-button, .dashboard-page .hidden-toggle { gap: 6px; min-height: 40px; padding: 8px 10px; font-size: 12px; }
  .widget-heading { padding: 18px 18px 0; }
  .widget-body { padding: 18px; }
  .stacked-toolbar { padding-inline: 18px; }
  .is-stacked .widget-card[data-widget="currency"]:not(.is-collapsed),
  .is-stacked .widget-card[data-widget="crypto"]:not(.is-collapsed) { min-height: 240px; }
  .is-stacked .widget-card[data-widget="pomodoro"]:not(.is-collapsed) { min-height: 300px; }
  .is-stacked .currency-row { min-height: 36px; }
  .is-stacked .crypto-chart-wrap { min-height: 88px; }
  .dashboard-page .is-stacked .pomodoro-widget { gap: 8px; }
  .dashboard-page .is-stacked .pomodoro-clock { min-height: 76px; }
  .dashboard-page .is-stacked .pomodoro-time { font-size: 40px; }
  .dashboard-page .is-stacked .pomodoro-actions .pomodoro-start,
  .dashboard-page .is-stacked .pomodoro-actions .widget-text-button { min-height: 38px; }
  .profile-dialog { padding: 20px; }
}
@media (max-width: 359px) { .dashboard-brand { font-size: 20px; } .dashboard-nav { gap: 8px; } }
@media (prefers-reduced-motion: reduce) { .dashboard-grid, .widget-card, .dashboard-guide-backdrop { transition: none; animation: none; } }
