/*
 * Фирменная оболочка панели управления «Хвоя».
 * Функциональные стили остаются в index.php, здесь — единая визуальная система сайта.
 */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("/admin/fonts/cormorant-garamond-cyrillic-400.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("/admin/fonts/cormorant-garamond-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("/admin/fonts/manrope-cyrillic-400.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("/admin/fonts/manrope-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 600 800;
  src: url("/admin/fonts/manrope-cyrillic-600.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 600 800;
  src: url("/admin/fonts/manrope-latin-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --green: #071712;
  --green-2: #0b2119;
  --green-3: #123026;
  --gold: #a86d30;
  --gold-2: #cf9a59;
  --cream: #e9dcc4;
  --paper: rgba(8, 28, 21, 0.94);
  --ink: #efe3cf;
  --muted: #aaa596;
  --line: rgba(207, 154, 89, 0.22);
  --danger: #d77d70;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --radius: 2px;
  color: var(--ink);
  background: #04100c;
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
}

html {
  background: #04100c;
  color-scheme: dark;
}

body {
  color: var(--ink);
  background:
    radial-gradient(circle at 84% 12%, rgba(118, 78, 38, 0.12), transparent 25rem),
    radial-gradient(circle at 16% 82%, rgba(34, 75, 55, 0.18), transparent 30rem),
    #04100c;
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
}

button,
input,
textarea {
  font-family: inherit;
}

button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 3px;
}

::selection {
  color: #fff8eb;
  background: #8d5a29;
}

/* Авторизация и первичная настройка */

.loading-screen,
.auth-screen {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(1, 10, 7, 0.93), rgba(2, 14, 10, 0.72)),
    url("/assets/forest-taiga-v2.jpg") center / cover no-repeat;
}

.loading-screen::after,
.auth-screen::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.34;
  background:
    radial-gradient(circle at 82% 20%, rgba(207, 154, 89, 0.18), transparent 22rem),
    linear-gradient(180deg, transparent 65%, #03100b 100%);
}

.loading-card {
  color: var(--cream);
  letter-spacing: 0.04em;
}

.spinner {
  border-color: rgba(233, 220, 196, 0.14);
  border-top-color: var(--gold-2);
}

.auth-card {
  width: min(1080px, 100%);
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(340px, 0.92fr) minmax(420px, 1.08fr);
  overflow: hidden;
  border: 1px solid rgba(207, 154, 89, 0.32);
  border-radius: 2px;
  background: rgba(4, 16, 12, 0.94);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.48);
}

.auth-head {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100%;
  padding: 54px 52px;
  overflow: hidden;
  color: var(--cream);
  background:
    linear-gradient(180deg, rgba(3, 15, 10, 0.18), rgba(2, 14, 10, 0.96)),
    url("/assets/about-spa-interior-v2.jpg") center / cover no-repeat;
}

.auth-head::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(transparent, var(--gold-2), transparent);
  opacity: 0.48;
}

.auth-brand {
  position: absolute;
  top: 42px;
  left: 48px;
  margin: 0;
}

.auth-brand img {
  width: 112px;
  max-height: 136px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) saturate(100%) invert(84%) sepia(20%) saturate(580%) hue-rotate(352deg) brightness(92%) contrast(89%);
}

.auth-kicker,
.dashboard-kicker {
  display: block;
  margin-bottom: 18px;
  color: var(--gold-2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.auth-head h1 {
  max-width: 410px;
  margin: 0 0 16px;
  color: var(--cream);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.025em;
}

.auth-head p {
  max-width: 400px;
  color: rgba(233, 220, 196, 0.72);
  font-size: 14px;
  line-height: 1.7;
}

.auth-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 54px 58px;
  color: var(--ink);
  background:
    radial-gradient(circle at 100% 0, rgba(168, 109, 48, 0.11), transparent 17rem),
    rgba(7, 23, 18, 0.98);
}

.setup-step {
  color: var(--cream);
  letter-spacing: 0.01em;
}

.setup-step span {
  color: var(--gold-2);
  border: 1px solid var(--line);
  background: rgba(207, 154, 89, 0.08);
}

.auth-note {
  color: var(--muted);
  border: 1px solid rgba(233, 220, 196, 0.08);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.025);
}

/* Основная оболочка */

.app {
  color: var(--ink);
  background: #04100c;
}

.topbar {
  height: 82px;
  padding: 0 28px 0 30px;
  border-bottom: 1px solid var(--line);
  color: var(--cream);
  background: rgba(3, 15, 11, 0.92);
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.topbar-brand {
  gap: 13px;
}

.topbar-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(84%) sepia(20%) saturate(580%) hue-rotate(352deg) brightness(92%) contrast(89%);
}

.topbar-brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.topbar-brand-copy strong {
  color: var(--cream);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 27px;
  font-weight: 500;
  letter-spacing: 0.035em;
}

.topbar-brand-copy span {
  margin-top: 5px;
  color: rgba(233, 220, 196, 0.58);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.top-actions {
  gap: 10px;
}

.top-actions a,
.top-actions button {
  min-height: 42px;
  padding: 9px 15px;
  border-color: rgba(233, 220, 196, 0.18);
  border-radius: 2px;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.025);
  font-size: 13px;
  transition: 180ms ease;
}

.top-actions a:hover,
.top-actions button:hover {
  color: #fff5e5;
  border-color: var(--gold-2);
  background: rgba(168, 109, 48, 0.14);
}

.layout {
  grid-template-columns: 270px minmax(0, 1fr);
  min-height: calc(100vh - 82px);
}

.sidebar {
  top: 82px;
  height: calc(100vh - 82px);
  padding: 30px 18px 110px;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(7, 25, 18, 0.99), rgba(4, 16, 12, 0.99)),
    url("/assets/forest-mist.jpg") center bottom / cover no-repeat;
  box-shadow: 12px 0 44px rgba(0, 0, 0, 0.12);
}

.nav-label {
  padding: 0 14px 14px;
  color: rgba(207, 154, 89, 0.72);
  font-size: 10px;
  letter-spacing: 0.2em;
}

.nav-button {
  position: relative;
  min-height: 50px;
  margin: 3px 0;
  padding: 11px 13px;
  border: 1px solid transparent;
  border-radius: 2px;
  color: rgba(233, 220, 196, 0.66);
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.nav-button span {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(233, 220, 196, 0.1);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.025);
  font-size: 15px;
  filter: saturate(0.68);
}

.nav-button:hover {
  color: var(--cream);
  border-color: rgba(207, 154, 89, 0.14);
  background: rgba(255, 255, 255, 0.025);
}

.nav-button.active {
  color: #fff5e5;
  border-color: rgba(207, 154, 89, 0.38);
  background: linear-gradient(90deg, rgba(168, 109, 48, 0.25), rgba(168, 109, 48, 0.06));
}

.nav-button.active::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: -1px;
  width: 2px;
  background: var(--gold-2);
  box-shadow: 0 0 18px rgba(207, 154, 89, 0.5);
}

.nav-button.active span {
  color: var(--gold-2);
  border-color: rgba(207, 154, 89, 0.32);
  background: rgba(168, 109, 48, 0.12);
}

.sidebar-help {
  margin: 30px 5px 0;
  padding: 18px;
  border: 1px solid rgba(207, 154, 89, 0.2);
  border-radius: 2px;
  color: rgba(233, 220, 196, 0.65);
  background: rgba(168, 109, 48, 0.07);
  font-size: 12px;
  line-height: 1.65;
}

.sidebar-help b {
  color: var(--cream);
}

.workspace {
  position: relative;
  z-index: 0;
  padding: 44px 48px 126px;
  background:
    linear-gradient(rgba(4, 16, 12, 0.94), rgba(4, 16, 12, 0.98)),
    url("/assets/forest-mist.jpg") center top / cover fixed no-repeat;
}

.workspace::before {
  content: "";
  position: fixed;
  z-index: -1;
  top: 82px;
  right: 0;
  width: 38vw;
  height: 52vh;
  pointer-events: none;
  opacity: 0.15;
  background: radial-gradient(circle at 100% 0, rgba(207, 154, 89, 0.34), transparent 65%);
}

.page-head {
  position: relative;
  margin-bottom: 30px;
  padding: 0 0 22px;
  border-bottom: 1px solid rgba(233, 220, 196, 0.1);
}

.page-head::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 92px;
  height: 1px;
  background: var(--gold-2);
}

.page-head h1 {
  color: var(--cream);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(42px, 4.6vw, 62px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.025em;
}

.page-head p {
  margin-top: 11px;
  color: var(--muted);
  font-size: 14px;
}

.content,
.page-head {
  max-width: 1240px;
}

/* Главный экран */

.dashboard-welcome {
  position: relative;
  min-height: 270px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 20px;
  padding: 38px 40px;
  overflow: hidden;
  border: 1px solid rgba(207, 154, 89, 0.25);
  background:
    linear-gradient(90deg, rgba(3, 16, 11, 0.96) 0%, rgba(3, 16, 11, 0.74) 55%, rgba(3, 16, 11, 0.2) 100%),
    url("/assets/about-spa-interior-v2.jpg") 68% center / cover no-repeat;
  box-shadow: var(--shadow);
}

.dashboard-welcome::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -58px;
  width: 270px;
  height: 220px;
  opacity: 0.3;
  background: url("/assets/spruce-card-corner.png") right bottom / contain no-repeat;
  pointer-events: none;
}

.dashboard-welcome > div,
.dashboard-site-link {
  position: relative;
  z-index: 1;
}

.dashboard-welcome h2 {
  margin: 0;
  color: var(--cream);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 400;
  line-height: 0.94;
}

.dashboard-welcome p {
  max-width: 560px;
  margin: 18px 0 0;
  color: rgba(233, 220, 196, 0.68);
  font-size: 13px;
  line-height: 1.65;
}

.dashboard-site-link {
  min-width: 180px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0 20px;
  border: 1px solid rgba(233, 220, 196, 0.38);
  color: var(--cream);
  background: rgba(4, 16, 12, 0.56);
  white-space: nowrap;
}

.dashboard-site-link span {
  color: var(--gold-2);
}

/* Карточки, секции и формы */

.cards {
  gap: 16px;
}

.card,
.section-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink);
  background:
    linear-gradient(145deg, rgba(15, 43, 32, 0.86), rgba(6, 23, 17, 0.94));
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.14);
}

.card {
  min-height: 142px;
  padding: 24px;
}

.card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 24px;
  width: 50px;
  height: 1px;
  background: var(--gold-2);
}

.card h2,
.card h3,
.section-card h2,
.section-card h3 {
  color: var(--cream);
}

.card h3,
.section-card-head h2,
.service-card-head h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 26px;
  font-weight: 400;
}

.card p,
.section-card-head p,
.section-card-body p {
  color: var(--muted);
}

.stat strong {
  margin-bottom: 10px;
  color: var(--gold-2);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1;
}

.stat span {
  color: var(--muted);
  font-size: 13px;
}

.quick-card {
  color: var(--ink);
}

.quick-card:hover {
  border-color: rgba(207, 154, 89, 0.46);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.28);
}

.quick-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 19px;
  border: 1px solid rgba(207, 154, 89, 0.25);
  border-radius: 50%;
  color: var(--gold-2);
  background: rgba(168, 109, 48, 0.1);
}

.section-card {
  margin-bottom: 20px;
  overflow: hidden;
}

.section-card-head {
  position: relative;
  padding: 23px 26px 21px;
  border-bottom: 1px solid rgba(233, 220, 196, 0.09);
  background: rgba(255, 255, 255, 0.018);
}

.section-card-head::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 118px;
  height: 80px;
  opacity: 0.1;
  background: url("/assets/spruce-card-corner.png") right top / contain no-repeat;
  pointer-events: none;
}

.section-card-head h2 {
  margin-bottom: 6px;
}

.section-card-body {
  padding: 25px 26px 28px;
}

.field {
  gap: 8px;
}

.field label,
.field > span {
  color: rgba(233, 220, 196, 0.82);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.field small {
  color: rgba(170, 165, 150, 0.74);
}

.field input,
.field textarea {
  min-height: 48px;
  border: 1px solid rgba(233, 220, 196, 0.14);
  border-radius: 2px;
  color: var(--cream);
  caret-color: var(--gold-2);
  background: rgba(1, 12, 8, 0.56);
  box-shadow: inset 0 1px 8px rgba(0, 0, 0, 0.12);
}

.field textarea {
  min-height: 116px;
}

.field input:hover,
.field textarea:hover {
  border-color: rgba(207, 154, 89, 0.3);
}

.field input:focus,
.field textarea:focus {
  border-color: var(--gold-2);
  box-shadow: 0 0 0 3px rgba(168, 109, 48, 0.15);
}

.field input[type="checkbox"] {
  width: 22px !important;
  min-height: 22px;
  accent-color: var(--gold);
}

.image-editor {
  grid-template-columns: 220px 1fr;
  gap: 22px;
  padding: 16px;
  border: 1px solid rgba(207, 154, 89, 0.24);
  border-radius: 2px;
  background: rgba(1, 12, 8, 0.38);
}

.image-editor img {
  width: 220px;
  height: 135px;
  border: 1px solid rgba(233, 220, 196, 0.1);
  border-radius: 1px;
  background: var(--green);
}

.image-editor strong {
  color: var(--cream);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 24px;
  font-weight: 400;
}

.image-editor p {
  color: var(--muted);
}

.service-card {
  position: relative;
  margin: 14px 0;
  padding: 21px;
  overflow: hidden;
  border: 1px solid rgba(233, 220, 196, 0.1);
  border-radius: 2px;
  background: rgba(1, 13, 9, 0.44);
}

.service-card::after {
  content: "";
  position: absolute;
  top: -10px;
  right: -10px;
  width: 120px;
  height: 84px;
  opacity: 0.07;
  background: url("/assets/spruce-card-corner.png") right top / contain no-repeat;
  pointer-events: none;
}

.service-card-head,
.service-fields {
  position: relative;
  z-index: 1;
}

.category-tabs {
  gap: 9px;
  margin-bottom: 20px;
  padding-bottom: 4px;
}

.category-tab {
  min-height: 42px;
  padding: 9px 16px;
  border: 1px solid rgba(233, 220, 196, 0.16);
  border-radius: 2px;
  color: rgba(233, 220, 196, 0.65);
  background: rgba(6, 24, 17, 0.7);
}

.category-tab:hover {
  color: var(--cream);
  border-color: rgba(207, 154, 89, 0.38);
}

.category-tab.active {
  color: #fff5e5;
  border-color: var(--gold-2);
  background: linear-gradient(135deg, #9a602a, #6e421d);
}

.primary,
.secondary,
.danger,
.ghost {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-weight: 600;
  transition: 160ms ease;
}

.primary {
  color: #fff8ed;
  border-color: #bd8448;
  background: linear-gradient(135deg, #ac7134, #8b5525);
  box-shadow: 0 10px 24px rgba(84, 47, 18, 0.18);
}

.primary:hover {
  border-color: #d3a064;
  background: linear-gradient(135deg, #bd7e3b, #9a6029);
  transform: translateY(-1px);
}

.secondary {
  color: var(--cream);
  border-color: rgba(207, 154, 89, 0.35);
  background: rgba(168, 109, 48, 0.14);
}

.secondary:hover,
.ghost:hover {
  color: #fff5e5;
  border-color: var(--gold-2);
  background: rgba(168, 109, 48, 0.22);
}

.ghost {
  color: var(--gold-2);
  border-color: rgba(207, 154, 89, 0.22);
  background: rgba(168, 109, 48, 0.07);
}

.danger {
  color: #e39a8f;
  border-color: rgba(215, 125, 112, 0.25);
  background: rgba(173, 63, 54, 0.09);
}

.danger:hover {
  color: #ffd8d2;
  border-color: rgba(215, 125, 112, 0.52);
  background: rgba(173, 63, 54, 0.18);
}

.primary:disabled,
.secondary:disabled,
.ghost:disabled,
.danger:disabled {
  cursor: wait;
  opacity: 0.55;
  transform: none;
}

.empty {
  border-color: rgba(233, 220, 196, 0.13);
  border-radius: 2px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.018);
}

.wide {
  grid-column: 1 / -1;
}

.revision,
.admin-row {
  border-bottom-color: rgba(233, 220, 196, 0.09);
}

.revision strong,
.admin-row strong {
  color: var(--cream);
}

.revision small,
.admin-row small {
  color: var(--muted);
}

/* Нижняя публикация и уведомления */

.publish-bar {
  left: 270px;
  min-height: 82px;
  padding: 13px 48px;
  border-top: 1px solid rgba(207, 154, 89, 0.28);
  color: var(--cream);
  background: rgba(3, 15, 11, 0.93);
  box-shadow: 0 -14px 44px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px);
}

.save-status {
  color: var(--muted);
}

.dot {
  background: #648072;
  box-shadow: 0 0 0 5px rgba(100, 128, 114, 0.08);
}

.dot.dirty {
  background: var(--gold-2);
  box-shadow: 0 0 0 6px rgba(207, 154, 89, 0.13);
}

.publish-button {
  min-width: 270px;
}

.toast {
  top: 98px;
  border: 1px solid rgba(207, 154, 89, 0.38);
  border-radius: 2px;
  color: var(--cream);
  background: rgba(8, 35, 25, 0.98);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

.toast.error {
  border-color: rgba(215, 125, 112, 0.45);
  background: rgba(91, 29, 24, 0.98);
}

.mobile-nav {
  background: rgba(4, 18, 13, 0.96);
}

@media (max-width: 1080px) {
  .workspace {
    padding-right: 32px;
    padding-left: 32px;
  }

  .service-fields {
    grid-template-columns: 1fr 1fr;
  }

  .service-fields .steps {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .auth-card {
    grid-template-columns: 1fr;
    max-width: 650px;
  }

  .auth-head {
    min-height: auto;
    justify-content: flex-start;
    padding: 34px 34px 42px;
  }

  .auth-brand {
    position: static;
    margin: 0 0 30px;
  }

  .auth-brand img {
    width: 86px;
    max-height: 104px;
  }

  .auth-body {
    padding: 38px 34px 44px;
  }

  .mobile-nav {
    top: 82px;
    padding: 10px 14px;
    border-bottom-color: var(--line);
    backdrop-filter: blur(18px);
  }

  .mobile-nav .nav-button {
    min-height: 42px;
    padding: 7px 12px;
  }

  .mobile-nav .nav-button span {
    width: 28px;
    height: 28px;
  }

  .workspace {
    padding: 30px 18px 128px;
  }

  .publish-bar {
    left: 0;
    padding: 12px 18px;
  }

  .dashboard-welcome {
    min-height: 300px;
    padding: 30px;
  }
}

@media (max-width: 680px) {
  .auth-screen {
    align-items: start;
    padding: 12px;
  }

  .auth-card {
    min-height: 0;
  }

  .auth-head {
    padding: 28px 26px 34px;
  }

  .auth-brand {
    margin-bottom: 24px;
  }

  .auth-brand img {
    width: 76px;
    max-height: 92px;
  }

  .auth-head h1 {
    font-size: 46px;
  }

  .auth-head p {
    font-size: 13px;
  }

  .topbar {
    height: 70px;
    padding: 0 14px;
  }

  .topbar-brand img {
    width: 40px;
    height: 40px;
  }

  .topbar-brand-copy span {
    display: none;
  }

  .topbar-brand-copy strong {
    font-size: 25px;
  }

  .mobile-nav {
    top: 70px;
  }

  .page-head h1 {
    font-size: 42px;
  }

  .dashboard-welcome {
    min-height: 370px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-end;
    padding: 27px 24px;
    background:
      linear-gradient(180deg, rgba(3, 16, 11, 0.28), rgba(3, 16, 11, 0.98) 66%),
      url("/assets/about-spa-interior-v2.jpg") center / cover no-repeat;
  }

  .dashboard-welcome h2 {
    font-size: 42px;
  }

  .dashboard-site-link {
    width: 100%;
  }

  .image-editor {
    grid-template-columns: 1fr;
  }

  .image-editor img {
    width: 100%;
    height: 190px;
  }

  .service-fields {
    grid-template-columns: 1fr;
  }

  .service-fields .steps {
    grid-column: auto;
  }

  .publish-bar {
    min-height: 108px;
    gap: 9px;
  }

  .publish-button {
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
