body.dashboard-page {
  --dash-ink: #202b42;
  --dash-muted: #8791a2;
  --dash-border: #e8edf3;
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: #f5f7fb;
  color: var(--dash-ink);
  font-family: var(--font-sans);
}

.dashboard-page *,
.dashboard-page *::before,
.dashboard-page *::after { box-sizing: border-box; }

.dashboard-shell { min-height: 100vh; }
.dashboard-shell[hidden] { display: none; }
.dashboard-gate {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px;
  text-align: center;
}
.dashboard-gate img { width: 48px; height: 48px; margin-bottom: 12px; border-radius: 12px; object-fit: cover; }
.dashboard-gate h1 { margin: 0 0 8px; color: #25324a; font-size: 22px; }
.dashboard-gate p { max-width: 480px; margin: 0 0 16px; color: #778398; font-size: 12px; line-height: 1.6; }
.dashboard-gate a[hidden] { display: none; }
.dashboard-gate a { margin: 4px; }
.dashboard-sidebar {
  position: fixed;
  z-index: 1200;
  inset: 0 auto 0 0;
  display: flex;
  width: 256px;
  flex-direction: column;
  padding: 26px 17px 18px;
  background: #17254b;
  color: #fff;
  transition: transform 220ms ease;
}
.dashboard-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 8px 25px;
  color: inherit;
  text-decoration: none;
}
.dashboard-brand img { width: 42px; height: 42px; border-radius: 12px; object-fit: cover; }
.dashboard-brand strong, .dashboard-brand small, .dashboard-school strong, .dashboard-school small { display: block; }
.dashboard-brand strong { font-size: 15px; letter-spacing: .09em; }
.dashboard-brand small { margin-top: 3px; color: #aebbd7; font-size: 9px; font-weight: 700; letter-spacing: .16em; }
.dashboard-school {
  display: flex;
  min-height: 66px;
  align-items: center;
  gap: 10px;
  margin-bottom: 29px;
  padding: 11px 10px;
  border: 1px solid rgba(228, 235, 252, .12);
  border-radius: 12px;
  background: rgba(255, 255, 255, .055);
}
.dashboard-school-mark {
  display: grid;
  width: 35px;
  height: 35px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
  background: #d6b57a;
  color: #17254b;
  font-size: 17px;
  font-weight: 800;
}
.dashboard-school strong { font-size: 11px; font-weight: 650; }
.dashboard-school small { margin-top: 4px; color: #aebbd7; font-size: 10px; }
.dashboard-online-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  margin-left: auto;
  border-radius: 50%;
  background: #70d5a5;
  box-shadow: 0 0 0 3px rgba(112, 213, 165, .14);
}
.dashboard-nav-label, .dashboard-eyebrow {
  margin: 0;
  color: #929db2;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .15em;
}
.dashboard-nav-label { padding: 0 11px 10px; color: #8492b2; }
.dashboard-nav { display: grid; gap: 5px; }
.dashboard-nav-link {
  display: flex;
  min-height: 43px;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #b8c3d9;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  text-align: left;
  transition: background 150ms ease, color 150ms ease;
}
.dashboard-nav-link > span:first-child { width: 18px; color: #9faecc; font-size: 18px; text-align: center; }
.dashboard-nav-link:hover, .dashboard-nav-link.is-active { background: rgba(255, 255, 255, .105); color: #fff; }
.dashboard-nav-link.is-active > span:first-child { color: #e6c78f; }
.dashboard-nav-count {
  display: grid;
  min-width: 22px;
  height: 20px;
  place-items: center;
  margin-left: auto;
  border-radius: 6px;
  background: rgba(255, 255, 255, .1);
  color: #d7deeb;
  font-size: 10px;
}
.dashboard-sidebar-help {
  margin-top: auto;
  padding: 15px 13px;
  border: 1px solid rgba(228, 235, 252, .12);
  border-radius: 10px;
  background: rgba(255, 255, 255, .05);
}
.dashboard-help-icon {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  margin-bottom: 10px;
  border: 1px solid rgba(230, 199, 143, .6);
  border-radius: 50%;
  color: #e6c78f;
  font-size: 12px;
  font-weight: 700;
}
.dashboard-sidebar-help strong { font-size: 11px; }
.dashboard-sidebar-help p { margin: 6px 0 10px; color: #aebbd7; font-size: 10px; line-height: 1.55; }
.dashboard-sidebar-help a { color: #e6c78f; font-size: 10px; font-weight: 650; text-decoration: none; }
.dashboard-sidebar-help a span { margin-left: 4px; }
.dashboard-view-site {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 0 10px;
  border-top: 1px solid rgba(228, 235, 252, .12);
  color: #c7d1e4;
  font-size: 11px;
  text-decoration: none;
}
.dashboard-view-site span { font-size: 16px; }
.dashboard-main { min-height: 100vh; margin-left: 256px; }
.dashboard-topbar {
  position: sticky;
  z-index: 100;
  top: 0;
  display: flex;
  height: 68px;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(22px, 4vw, 58px);
  border-bottom: 1px solid #e9edf4;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px);
}
.dashboard-breadcrumb { display: flex; align-items: center; gap: 10px; color: #8c96a8; font-size: 11px; }
.dashboard-breadcrumb strong { color: #38445c; font-weight: 650; }
.dashboard-topbar-actions { display: flex; align-items: center; gap: 19px; }
.dashboard-preview-link { color: #4d5b74; font-size: 11px; font-weight: 600; text-decoration: none; }
.dashboard-preview-link span { margin-right: 5px; color: #7f8aa0; }
.dashboard-avatar {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #e9edf8;
  box-shadow: 0 0 0 1px #dfe4ed;
  color: #314477;
  font-size: 12px;
  font-weight: 750;
}
.dashboard-logout-button {
  padding: 7px 10px;
  border: 1px solid #e1e6ef;
  border-radius: 6px;
  background: #fff;
  color: #58667d;
  cursor: pointer;
  font: inherit;
  font-size: 10px;
  font-weight: 600;
}
.dashboard-logout-button:hover { background: #f6f8fb; }
.dashboard-mobile-menu { display: none; border: 0; background: transparent; color: #243353; cursor: pointer; font-size: 20px; }
.dashboard-content { width: min(100%, 1400px); margin: 0 auto; padding: 25px clamp(22px, 4vw, 58px); }
.dashboard-demo-notice {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 28px;
  padding: 10px 13px;
  border: 1px solid #eeddb8;
  border-radius: 8px;
  background: #fffaf0;
  color: #725d35;
}
.dashboard-demo-notice[hidden] { display: none; }
.dashboard-notice-icon {
  display: grid;
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #b79555;
  border-radius: 50%;
  color: #8c6c31;
  font-size: 11px;
  font-weight: 700;
}
.dashboard-demo-notice p { flex: 1; margin: 0; font-size: 10px; line-height: 1.55; }
.dashboard-demo-notice strong { margin-right: 5px; color: #604b27; }
.dashboard-notice-dismiss { border: 0; background: transparent; color: #947d51; cursor: pointer; font-size: 18px; }
.dashboard-panel { display: none; animation: dashboard-enter 220ms ease both; }
.dashboard-panel.is-visible { display: block; }
@keyframes dashboard-enter { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.dashboard-page-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 23px; }
.dashboard-page-heading h1 { margin: 8px 0 6px; color: #202b42; font-size: clamp(23px, 2.5vw, 30px); font-weight: 720; letter-spacing: -.035em; line-height: 1.2; }
.dashboard-page-heading h1 span { color: #d1ad6d; font-size: 18px; vertical-align: 3px; }
.dashboard-page-heading > div > p:last-child { margin: 0; color: #818b9d; font-size: 12px; line-height: 1.55; }
.dashboard-eyebrow { color: #8792a6; font-size: 9px; }
.dashboard-primary-button, .dashboard-secondary-button {
  display: inline-flex;
  min-height: 39px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: 7px;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 650;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}
.dashboard-primary-button { background: #263a70; box-shadow: 0 3px 8px rgba(32, 49, 94, .15); color: #fff; }
.dashboard-primary-button:hover { transform: translateY(-1px); background: #1b2e61; box-shadow: 0 5px 12px rgba(32, 49, 94, .2); }
.dashboard-primary-button > span { font-size: 17px; font-weight: 400; }
.dashboard-secondary-button { border-color: #dfe4ed; background: #fff; color: #4e5c73; }
.dashboard-secondary-button:hover { background: #f7f8fb; }
.dashboard-stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 17px; }
.dashboard-stat-card, .dashboard-card { border: 1px solid #e9edf3; border-radius: 10px; background: #fff; box-shadow: 0 2px 8px rgba(30, 48, 82, .025); }
.dashboard-stat-card { position: relative; min-height: 132px; padding: 17px 18px; }
.dashboard-stat-icon {
  position: absolute;
  top: 17px;
  right: 17px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 9px;
  font-size: 18px;
}
.stat-icon-blue { background: #edf1fc; color: #4d68ad; }
.stat-icon-gold { background: #fbf4e8; color: #b68e4a; }
.stat-icon-green { background: #eaf7f0; color: #438d68; }
.dashboard-stat-card p { margin: 0 0 11px; color: #737f92; font-size: 10px; font-weight: 550; }
.dashboard-stat-card > strong { display: block; color: #26334b; font-size: 25px; font-weight: 720; letter-spacing: -.035em; line-height: 1; }
.dashboard-stat-note { display: block; margin-top: 8px; color: #98a1af; font-size: 9px; }
.dashboard-overview-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(245px, .85fr); gap: 15px; margin-bottom: 15px; }
.dashboard-card { padding: 17px 18px; }
.dashboard-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.dashboard-card-heading h2 { margin: 4px 0 0; color: #27334a; font-size: 14px; font-weight: 680; letter-spacing: -.015em; }
.dashboard-shortcut-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.dashboard-shortcut {
  position: relative;
  display: flex;
  min-height: 80px;
  flex-direction: column;
  align-items: flex-start;
  padding: 11px 12px;
  border: 1px solid #edf0f5;
  border-radius: 8px;
  background: #fff;
  color: #2d3951;
  cursor: pointer;
  text-align: left;
  transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}
.dashboard-shortcut:hover { transform: translateY(-1px); border-color: #cbd5eb; background: #fbfcff; }
.shortcut-symbol { display: grid; width: 24px; height: 24px; place-items: center; margin-bottom: 7px; border-radius: 7px; font-size: 14px; }
.shortcut-event { background: #edf1fc; color: #4d68ad; }
.shortcut-gallery { background: #fbf4e8; color: #ae8542; }
.shortcut-staff { background: #edf7f1; color: #508d6c; }
.shortcut-news { background: #f3effa; color: #8161a9; }
.dashboard-shortcut strong { font-size: 10px; font-weight: 650; }
.dashboard-shortcut small { margin-top: 3px; color: #929baa; font-size: 9px; }
.shortcut-arrow { position: absolute; top: 12px; right: 12px; color: #a3adbd; font-size: 14px; }
.dashboard-link-mark { color: #a7b0bf; font-size: 14px; }
.dashboard-checklist > a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 1px;
  border-bottom: 1px solid #f0f2f6;
  color: #9aa4b3;
  font-size: 13px;
  text-decoration: none;
}
.dashboard-checklist > a:hover { color: #354b7e; }
.dashboard-check-icon { display: grid; width: 28px; height: 28px; flex: 0 0 auto; place-items: center; border-radius: 8px; background: #f1f3f8; color: #63749d; }
.dashboard-checklist > a > span:nth-child(2) { flex: 1; }
.dashboard-checklist > a strong, .dashboard-checklist > a small { display: block; }
.dashboard-checklist > a strong { color: #39465e; font-size: 10px; font-weight: 650; }
.dashboard-checklist > a small { margin-top: 3px; color: #929baa; font-size: 9px; }
.dashboard-checklist-foot { display: flex; align-items: center; gap: 8px; margin-top: 13px; color: #818c9d; font-size: 9px; }
.dashboard-checklist-foot .dashboard-online-dot { width: 6px; height: 6px; margin-left: 0; }
.dashboard-recent { padding-bottom: 8px; }
.dashboard-text-button { padding: 5px 0; border: 0; background: transparent; color: #506493; cursor: pointer; font: inherit; font-size: 10px; font-weight: 650; text-decoration: none; }
.dashboard-text-button:hover { color: #263b70; }
.dashboard-draft-list { display: grid; }
.dashboard-draft-row { display: flex; min-height: 59px; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid #eff1f5; }
.dashboard-draft-row:last-child { border-bottom: 0; }
.dashboard-draft-thumb, .dashboard-profile-initials { width: 39px; height: 39px; flex: 0 0 auto; border-radius: 8px; background: #eef1f8; object-fit: cover; }
.dashboard-profile-initials { display: grid; place-items: center; color: #52658f; font-size: 15px; font-weight: 700; }
.dashboard-draft-content { min-width: 0; flex: 1; }
.dashboard-draft-tag { display: block; margin-bottom: 3px; color: #8c98ab; font-size: 8px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; }
.dashboard-draft-content h3 { overflow: hidden; margin: 0; color: #354159; font-size: 11px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-draft-content p { overflow: hidden; margin: 3px 0 0; color: #949dac; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-delete-button { flex: 0 0 auto; padding: 5px 7px; border: 0; border-radius: 5px; background: transparent; color: #a0a8b6; cursor: pointer; font: inherit; font-size: 9px; }
.dashboard-delete-button:hover { background: #fff0ef; color: #b14641; }
.dashboard-item-controls { display: flex; flex: 0 0 auto; align-items: center; gap: 2px; }
.dashboard-empty-state { display: flex; min-height: 145px; flex-direction: column; align-items: center; justify-content: center; padding: 18px; color: #68768c; text-align: center; }
.dashboard-empty-icon { display: grid; width: 34px; height: 34px; place-items: center; margin-bottom: 8px; border-radius: 10px; background: #f1f3f8; color: #64759d; font-size: 18px; }
.dashboard-empty-state > strong { color: #39465d; font-size: 11px; }
.dashboard-empty-state p { max-width: 360px; margin: 5px 0 8px; color: #909aaa; font-size: 9px; line-height: 1.6; }
.dashboard-library-card { margin-bottom: 15px; padding: 20px; }
.dashboard-local-label { padding: 5px 7px; border-radius: 5px; background: #f5f1e8; color: #947544; font-size: 8px; font-weight: 700; letter-spacing: .08em; }
.dashboard-photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.dashboard-published-photo, .dashboard-photo-card { overflow: hidden; min-width: 0; border: 1px solid #eceff4; border-radius: 8px; background: #fff; }
.dashboard-published-photo img, .dashboard-photo-card > img { display: block; width: 100%; height: 116px; background: #eef1f5; object-fit: cover; }
.dashboard-published-photo > div, .dashboard-photo-caption { display: grid; gap: 4px; padding: 9px 10px; }
.dashboard-published-photo strong, .dashboard-photo-caption strong { overflow: hidden; color: #354159; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-published-photo span { color: #929baa; font-size: 9px; }
.dashboard-photo-caption p { margin: 0; color: #929baa; font-size: 9px; }
.dashboard-photo-card .dashboard-delete-button { margin: 0 9px 8px; }
.dashboard-profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.dashboard-pages-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.dashboard-page-card { display: flex; min-height: 76px; align-items: center; gap: 12px; padding: 14px; border: 1px solid #e9edf3; border-radius: 9px; background: #fff; color: inherit; text-decoration: none; transition: border-color 150ms ease, transform 150ms ease; }
.dashboard-page-card:hover { transform: translateY(-1px); border-color: #cbd5eb; }
.page-card-icon { display: grid; width: 35px; height: 35px; flex: 0 0 auto; place-items: center; border-radius: 9px; background: #f0f2f8; color: #52658f; font-size: 16px; }
.dashboard-page-card > span:nth-child(2) { flex: 1; }
.dashboard-page-card strong, .dashboard-page-card small { display: block; }
.dashboard-page-card strong { color: #344158; font-size: 11px; font-weight: 650; }
.dashboard-page-card small { margin-top: 4px; color: #8d98a8; font-size: 9px; }
.page-card-arrow { color: #a2acba; font-size: 13px; }
.dashboard-connection-note { display: flex; align-items: flex-start; gap: 10px; margin-top: 17px; padding: 13px; border: 1px solid #eeddb8; border-radius: 8px; background: #fffaf0; color: #755f36; }
.dashboard-connection-note > span { display: grid; width: 18px; height: 18px; flex: 0 0 auto; place-items: center; border: 1px solid #b79555; border-radius: 50%; font-size: 10px; font-weight: 700; }
.dashboard-connection-note p { margin: 0; font-size: 10px; line-height: 1.6; }
.dashboard-connection-note strong { color: #604b27; }
.dashboard-footer { padding: 22px 0 5px; color: #9ba4b1; font-size: 9px; text-align: center; }
.dashboard-footer span { padding: 0 5px; }
.dashboard-modal[hidden] { display: none; }
.dashboard-modal { position: fixed; z-index: 1400; inset: 0; display: grid; overflow-y: auto; place-items: center; padding: 20px; }
.dashboard-modal-backdrop { position: fixed; inset: 0; background: rgba(18, 29, 52, .52); backdrop-filter: blur(2px); }
.dashboard-modal-panel { position: relative; z-index: 1; width: min(100%, 510px); max-height: calc(100vh - 40px); overflow-y: auto; padding: 23px; border: 1px solid #e7ebf1; border-radius: 13px; background: #fff; box-shadow: 0 20px 70px rgba(19, 30, 52, .24); }
.dashboard-modal-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.dashboard-modal-heading h2 { margin: 5px 0; color: #25324a; font-size: 21px; letter-spacing: -.025em; }
.dashboard-modal-heading p:last-child { margin: 0; color: #8490a1; font-size: 11px; }
.dashboard-modal-close { display: grid; width: 30px; height: 30px; flex: 0 0 auto; place-items: center; border: 0; border-radius: 7px; background: #f3f5f8; color: #738096; cursor: pointer; font-size: 20px; }
.dashboard-content-form { display: grid; gap: 12px; }
.dashboard-field { display: grid; gap: 6px; color: #46536a; font-size: 10px; font-weight: 650; }
.dashboard-field[hidden] { display: none; }
.dashboard-field input, .dashboard-field select, .dashboard-field textarea { width: 100%; min-height: 38px; padding: 9px 10px; border: 1px solid #dfe4ec; border-radius: 6px; outline: none; background: #fff; color: #334058; font: inherit; font-size: 11px; }
.dashboard-field textarea { resize: vertical; }
.dashboard-field input:focus, .dashboard-field select:focus, .dashboard-field textarea:focus { border-color: #8194c1; box-shadow: 0 0 0 3px rgba(70, 95, 155, .11); }
.dashboard-upload { display: flex; min-height: 96px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 13px; border: 1px dashed #cbd3e0; border-radius: 8px; background: #fafbfe; color: #586780; cursor: pointer; text-align: center; }
.dashboard-upload:hover { border-color: #8194c1; background: #f7f9fd; }
.dashboard-upload-icon { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 7px; background: #edf1fa; color: #465f9b; font-size: 15px; }
.dashboard-upload strong { max-width: 100%; overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-upload small { color: #929cad; font-size: 9px; }
.dashboard-upload input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }
.dashboard-upload:focus-within { outline: 2px solid #8194c1; outline-offset: 2px; }
.dashboard-upload-preview { display: block; width: 100%; max-height: 180px; border-radius: 7px; background: #f0f2f6; object-fit: contain; }
.dashboard-upload-preview[hidden] { display: none; }
.dashboard-form-note { margin: 0; color: #9a7b43; font-size: 9px; line-height: 1.5; }
.dashboard-form-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 2px; }
.dashboard-primary-button:disabled { opacity: .65; cursor: wait; }
.dashboard-form-feedback { min-height: 15px; margin: 0; color: #a23d37; font-size: 10px; }
.dashboard-toast { position: fixed; z-index: 1500; right: 20px; bottom: 20px; max-width: min(360px, calc(100vw - 40px)); padding: 11px 15px; border: 1px solid rgba(255, 255, 255, .13); border-radius: 8px; background: #20345f; box-shadow: 0 8px 24px rgba(23, 37, 75, .2); color: #fff; font-size: 11px; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity 180ms ease, transform 180ms ease; }
.dashboard-toast.is-visible { opacity: 1; transform: translateY(0); }
.dashboard-modal-open { overflow: hidden; }

@media (max-width: 1050px) {
  .dashboard-photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dashboard-content { padding-right: 28px; padding-left: 28px; }
}
@media (max-width: 820px) {
  .dashboard-sidebar { width: 230px; }
  .dashboard-main { margin-left: 230px; }
  .dashboard-overview-grid { grid-template-columns: 1fr; }
  .dashboard-checklist { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .dashboard-checklist .dashboard-card-heading, .dashboard-checklist-foot { grid-column: 1 / -1; }
  .dashboard-checklist > a { border-bottom: 1px solid #f0f2f6; }
}
@media (max-width: 650px) {
  .dashboard-sidebar { width: min(280px, 84vw); box-shadow: 12px 0 30px rgba(20, 34, 66, .15); transform: translateX(-105%); }
  .dashboard-nav-open .dashboard-sidebar { transform: translateX(0); }
  .dashboard-main { margin-left: 0; }
  .dashboard-topbar { height: 58px; justify-content: flex-start; gap: 12px; padding: 0 17px; }
  .dashboard-mobile-menu { display: inline-grid; width: 30px; height: 34px; flex: 0 0 auto; place-items: center; }
  .dashboard-breadcrumb { flex: 1; }
  .dashboard-topbar-actions { gap: 12px; }
  .dashboard-logout-button { padding: 6px 7px; font-size: 9px; }
  .dashboard-preview-link { font-size: 0; }
  .dashboard-preview-link span { font-size: 15px; }
  .dashboard-avatar { width: 30px; height: 30px; }
  .dashboard-content { padding: 17px 15px 22px; }
  .dashboard-demo-notice { align-items: flex-start; margin-bottom: 21px; padding: 10px; }
  .dashboard-demo-notice p { font-size: 9px; }
  .dashboard-page-heading { align-items: flex-start; flex-direction: column; gap: 13px; margin-bottom: 17px; }
  .dashboard-page-heading h1 { font-size: 24px; }
  .dashboard-stat-grid { gap: 8px; }
  .dashboard-stat-card { min-height: 116px; padding: 13px 11px; }
  .dashboard-stat-icon { top: 12px; right: 10px; width: 26px; height: 26px; font-size: 15px; }
  .dashboard-stat-card p { max-width: 80%; margin-bottom: 9px; font-size: 9px; }
  .dashboard-stat-card > strong { font-size: 22px; }
  .dashboard-stat-note { font-size: 8px; line-height: 1.4; }
  .dashboard-card { padding: 14px; }
  .dashboard-shortcut-grid { gap: 7px; }
  .dashboard-shortcut { min-height: 90px; padding: 9px; }
  .dashboard-shortcut small { max-width: 90%; font-size: 8px; line-height: 1.4; }
  .dashboard-checklist { display: block; }
  .dashboard-checklist-foot { margin-top: 12px; }
  .dashboard-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .dashboard-published-photo img, .dashboard-photo-card > img { height: 105px; }
  .dashboard-profile-grid, .dashboard-pages-grid { grid-template-columns: 1fr; }
  .dashboard-library-card { padding: 14px; }
  .dashboard-card-heading h2 { font-size: 13px; }
  .dashboard-modal { align-items: end; padding: 0; }
  .dashboard-modal-panel { width: 100%; max-height: min(92vh, 780px); padding: 19px 16px max(18px, env(safe-area-inset-bottom)); border-radius: 14px 14px 0 0; }
}
@media (max-width: 370px) {
  .dashboard-stat-grid { grid-template-columns: 1fr; }
  .dashboard-stat-card { min-height: 95px; }
  .dashboard-stat-icon { top: 16px; right: 14px; width: 32px; height: 32px; }
  .dashboard-page-heading h1 { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .dashboard-page *, .dashboard-page *::before, .dashboard-page *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
