@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Manrope:wght@400;500;600;700&display=swap");

:root {
  --bg-page: #F4F1EA;
  --bg-panel: #FBF8F3;
  --bg-elevated: rgba(255,255,255,0.72);
  --text-strong: #26241F;
  --text-soft: #6F6B63;
  --line-soft: rgba(62,57,49,0.12);
  --line-strong: rgba(62,57,49,0.20);
  --accent-olive: #59614B;
  --accent-olive-deep: #41493A;
  --accent-champagne: #D7C7AE;
  --accent-blush: #DECFC9;
  --metal-silver: #B9B7B1;
  --bg: var(--bg-page);
  --bg-soft: #f7f4ee;
  --bg-rose: var(--accent-blush);
  --texture-page: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
  --texture-panel: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(246, 241, 234, 0.84));
  --texture-card: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(247, 242, 235, 0.88));
  --texture-card-light: linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(248, 244, 237, 0.76));
  --container-bg: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(247, 242, 235, 0.84));
  --card: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(247, 242, 235, 0.88));
  --card-solid: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(247, 242, 235, 0.82));
  --line: var(--line-soft);
  --text: var(--text-strong);
  --muted: var(--text-soft);
  --accent: var(--accent-olive);
  --accent-dark: var(--accent-olive-deep);
  --accent-soft: rgba(89, 97, 75, 0.1);
  --warning: #d97706;
  --warning-soft: rgba(217, 119, 6, 0.12);
  --danger: #c94d43;
  --shadow: 0 24px 60px rgba(49, 43, 37, 0.08);
  --shadow-soft: 0 12px 28px rgba(49, 43, 37, 0.05);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --sans: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", serif;
  --motion-ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --motion-duration-fast: 0.18s;
  --motion-duration-medium: 0.34s;
  --motion-lift-1: translate3d(0, -1px, 0);
  --motion-lift-2: translate3d(0, -3px, 0);
  --motion-press: translate3d(0, 1px, 0) scale(0.992);
  --focus-ring: 0 0 0 4px rgba(89, 97, 75, 0.16);
  --focus-ring-soft: 0 0 0 3px rgba(89, 97, 75, 0.12);
  --public-header-offset: 126px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--public-header-offset);
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at top, rgba(215, 199, 174, 0.14), transparent 28%),
    radial-gradient(circle at right 16%, rgba(89, 97, 75, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(244, 241, 234, 0.96), rgba(240, 236, 228, 0.99)),
    var(--texture-page);
  background-repeat: no-repeat, no-repeat, repeat, repeat;
  background-position: top center, top right, center, center;
  background-size: auto, auto, auto, auto;
  color: var(--text);
  font-family: var(--sans);
  letter-spacing: -0.01em;
  overflow-x: clip;
}

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

[data-plan-panel][hidden] {
  display: none !important;
}

button,
input {
  font: inherit;
}

textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-shell {
  min-height: 100vh;
}

.has-motion-polish .ui-reveal {
  opacity: 0;
  transform: translate3d(0, var(--reveal-distance, 18px), 0);
  transition:
    opacity var(--motion-duration-medium) var(--motion-ease-soft),
    transform var(--motion-duration-medium) var(--motion-ease-soft);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: transform, opacity;
}

.has-motion-polish .ui-reveal.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.site-footer {
  padding: 0 18px 36px;
}

.site-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 34px 44px 24px;
  border: 1px solid rgba(62, 57, 49, 0.08);
  border-radius: 32px;
  background-image:
    linear-gradient(rgba(255, 251, 246, 0.92), rgba(252, 247, 240, 0.9)),
    var(--texture-panel);
  background-repeat: repeat, repeat;
  background-position: center, center;
  background-size: auto, 540px auto;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    var(--shadow-soft);
}

.site-footer__layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
  align-items: start;
}

.site-footer__brand-block {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 14px;
  min-height: 142px;
}

.site-footer__brand {
  display: inline-flex;
  justify-content: flex-start;
  align-items: center;
  min-height: 0;
  padding: 0;
  border: 0;
}

.site-footer__logo {
  display: block;
  width: min(100%, 248px);
  max-width: 100%;
  height: auto;
  opacity: 1;
}

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, max-content));
  justify-content: end;
  column-gap: clamp(44px, 6.5vw, 92px);
  row-gap: 14px;
  padding-top: 12px;
}

.site-footer__column {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 12px;
}

.site-footer__link {
  display: inline-block;
  max-width: 360px;
  color: rgba(38, 36, 31, 0.82);
  font-family: var(--serif);
  font-size: clamp(17px, 1.24vw, 22px);
  line-height: 1.24;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: underline;
  text-decoration-thickness: 1.25px;
  text-underline-offset: 0.22em;
  text-decoration-color: rgba(38, 36, 31, 0.3);
  transition: color 0.18s ease, text-decoration-color 0.18s ease;
}

.site-footer__link:hover {
  color: var(--accent-dark);
  text-decoration-color: rgba(89, 97, 75, 0.5);
}

.site-footer__meta {
  display: flex;
  justify-content: flex-end;
  align-items: end;
  gap: 18px;
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(62, 57, 49, 0.06);
}

.site-footer__copyright,
.site-footer__signature {
  margin: 0;
  color: rgba(113, 100, 92, 0.82);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.site-footer__signature {
  text-align: right;
}

.site-footer__heart {
  display: inline-block;
  margin: 0 0.12em;
  color: #e2324f;
  font-size: 1.1em;
  line-height: 1;
  vertical-align: -0.06em;
}

.cookie-notice {
  position: fixed;
  right: clamp(14px, 3vw, 40px);
  bottom: clamp(14px, 3vw, 32px);
  left: clamp(14px, 3vw, 40px);
  z-index: 120;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 20px;
  color: var(--text);
  background: rgba(251, 248, 243, 0.98);
  border: 1px solid rgba(65, 73, 58, 0.14);
  border-radius: 20px;
  box-shadow: 0 18px 44px rgba(49, 43, 37, 0.16);
}

.cookie-notice__text {
  margin: 0;
  font-size: clamp(0.96rem, 1.5vw, 1.12rem);
  line-height: 1.45;
  font-weight: 700;
}

.cookie-notice__link {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.cookie-notice__button {
  min-width: 160px;
  padding: 13px 24px;
  color: #ffffff;
  font: inherit;
  font-weight: 800;
  border: 0;
  border-radius: 16px;
  background: var(--accent);
  box-shadow: 0 12px 24px rgba(65, 73, 58, 0.18);
  cursor: pointer;
}

.cookie-notice__button:hover {
  background: var(--accent-dark);
}

.cookie-notice__button:focus-visible,
.cookie-notice__link:focus-visible {
  outline: 3px solid rgba(89, 97, 75, 0.35);
  outline-offset: 4px;
}

body.has-cookie-notice {
  padding-bottom: 116px;
}

.skip-link {
  position: absolute;
  left: 18px;
  top: -48px;
  z-index: 80;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--accent-dark);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  transition: top 0.18s ease;
}

.skip-link:focus {
  top: 18px;
}

.page-shell--subpage {
  min-height: 100dvh;
  overflow-x: clip;
  background:
    radial-gradient(circle at top, rgba(215, 199, 174, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(251, 248, 243, 0.98), rgba(245, 240, 233, 0.98));
}

.subpage-header {
  position: sticky;
  top: 0;
  z-index: 45;
  padding: 0 18px 0;
  background:
    linear-gradient(180deg, rgba(244, 241, 234, 0.98), rgba(244, 241, 234, 0.98)),
    var(--texture-page);
  background-repeat: repeat, repeat;
  background-position: center, center;
  background-size: auto, auto;
}

.subpage-header__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(0, auto) minmax(220px, 1fr);
  gap: 18px 24px;
  align-items: center;
  padding: 18px 22px;
  border: 1px solid rgba(62, 57, 49, 0.08);
  border-radius: 0 0 28px 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 244, 238, 0.98)),
    var(--texture-panel);
  background-repeat: repeat, repeat;
  background-position: center, center;
  background-size: auto, 760px auto;
  box-shadow: 0 18px 38px rgba(49, 43, 37, 0.05);
}

.subpage-header__inner > *,
.subpage-hero__grid > *,
.subpage-grid > *,
.subpage-section > * {
  min-width: 0;
}

.subpage-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.subpage-header__brand img {
  display: block;
  width: 172px;
  height: auto;
}

.subpage-header__nav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  justify-self: end;
  align-items: center;
  gap: 11px;
  margin-left: 82px;
  min-width: 0;
}

.subpage-header__nav a {
  position: relative;
  color: rgba(43, 33, 29, 0.76);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--motion-duration-fast) ease;
}

.subpage-header__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.34;
  transform: scaleX(0.35);
  transform-origin: left center;
  transition:
    opacity var(--motion-duration-fast) ease,
    transform var(--motion-duration-medium) var(--motion-ease-soft);
}

.subpage-header__nav a:hover,
.subpage-header__nav a[aria-current="page"] {
  color: var(--accent-dark);
}

.subpage-header__nav a:hover::after,
.subpage-header__nav a[aria-current="page"]::after,
.subpage-header__nav a:focus-visible::after {
  opacity: 0.9;
  transform: scaleX(1);
}

.subpage-header__nav a:focus-visible {
  box-shadow: none;
  color: var(--accent-dark);
}

.subpage-header__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  justify-self: end;
  gap: 10px;
}

.subpage-main {
  display: grid;
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 22px 18px 52px;
  overflow-x: clip;
}

.subpage-hero {
  overflow: hidden;
}

.subpage-hero__inner {
  padding: 20px 26px 24px;
}

.subpage-backlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 22px;
  padding: 10px 15px;
  border-radius: 999px;
  border: 1px solid rgba(97, 78, 66, 0.1);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 22px rgba(111, 86, 73, 0.06);
  color: var(--accent-dark);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.subpage-backlink:hover {
  color: var(--accent);
  border-color: rgba(157, 110, 82, 0.2);
}

.subpage-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 1.04fr);
  gap: 22px;
  align-items: start;
}

.subpage-hero__content {
  display: grid;
  gap: 16px;
  max-width: 620px;
}

.subpage-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 10px 16px;
  border: 1px solid rgba(62, 57, 49, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: rgba(38, 36, 31, 0.72);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.subpage-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(89, 97, 75, 0.08);
}

.subpage-hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(46px, 5.2vw, 68px);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.04em;
  max-width: 11ch;
  text-wrap: balance;
}

.subpage-hero__lead {
  margin: 0;
  color: var(--text);
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.58;
  font-weight: 600;
  max-width: 31ch;
}

.subpage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 2px;
}

.feedback-hero__inner {
  padding-bottom: 26px;
}

.feedback-hero__grid {
  grid-template-columns: minmax(0, 1.28fr) minmax(320px, 0.72fr);
  gap: 24px 34px;
  align-items: stretch;
}

.feedback-hero__content {
  min-width: 0;
  width: 100%;
  max-width: none;
  padding: 8px 0 6px;
  display: grid;
  gap: 18px;
  align-content: start;
  overflow-wrap: anywhere;
}

.feedback-hero__content .subpage-hero__lead {
  width: 100%;
  max-width: none;
  min-width: 0;
  overflow-wrap: anywhere;
}

.feedback-hero__aside {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(62, 57, 49, 0.08);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(249, 245, 238, 0.64)),
    var(--texture-card-light);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    var(--shadow-soft);
}

.feedback-hero__trust {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feedback-hero__trust li {
  position: relative;
  padding-left: 18px;
  color: rgba(56, 43, 36, 0.8);
  font-size: 14px;
  line-height: 1.55;
}

.feedback-hero__trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(111, 86, 73, 0.74);
  box-shadow: 0 0 0 4px rgba(111, 86, 73, 0.08);
}

.feedback-hero .subpage-actions {
  margin-top: 2px;
}

.feedback-section {
  min-width: 0;
  padding: 0;
}

.feedback-section__grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.62fr) minmax(0, 1.38fr);
  gap: 0;
  align-items: stretch;
}

.feedback-section__copy,
.feedback-section__form-wrap {
  min-width: 0;
}

.feedback-section__copy {
  display: grid;
  align-content: start;
  padding: 32px 24px 32px 32px;
  border-right: 1px solid rgba(87, 61, 42, 0.08);
}

.feedback-section__copy .subpage-copy-block {
  width: 100%;
  min-width: 0;
  gap: 12px;
  overflow-wrap: anywhere;
}

.feedback-section__copy h2 {
  width: 100%;
  max-width: none;
}

.feedback-section__form-wrap {
  width: 100%;
}

.feedback-section__form-wrap .feedback-form {
  height: 100%;
  padding-top: 32px;
}

.subpage-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.subpage-pill-list li {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(62, 57, 49, 0.08);
  color: rgba(43, 33, 29, 0.78);
  font-size: 13px;
  font-weight: 600;
}

.subpage-hero__rail {
  display: grid;
  gap: 12px;
}

.subpage-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.subpage-stat,
.subpage-note-card,
.subpage-side-card {
  display: grid;
  gap: 10px;
  padding: 20px;
  border: 1px solid rgba(62, 57, 49, 0.08);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(249, 245, 238, 0.64)),
    var(--texture-card-light);
  background-repeat: repeat, repeat;
  background-position: center, center;
  background-size: auto, 420px auto;
  box-shadow: var(--shadow-soft);
}

.subpage-stat__value {
  display: block;
  color: var(--text);
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.subpage-stat__label,
.subpage-note-card strong,
.subpage-side-card strong {
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.subpage-stat p,
.subpage-note-card p,
.subpage-side-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.subpage-side-card--accent {
  background:
    radial-gradient(circle at top right, rgba(215, 199, 174, 0.18), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(247, 242, 235, 0.76)),
    var(--texture-card-light);
}

.subpage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  gap: 22px;
}

.subpage-section {
  display: grid;
  gap: 18px;
}

.subpage-panel {
  padding: 0 28px 28px;
}

.subpage-panel .panel__hint {
  max-width: 760px;
}

.subpage-copy-block {
  display: grid;
  gap: 14px;
}

.subpage-copy-block h2,
.subpage-copy-block h3 {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(28px, 2.5vw, 38px);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.subpage-copy-block p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.subpage-feature-list,
.subpage-meta-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.subpage-feature-list li,
.subpage-meta-list li {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(62, 57, 49, 0.08);
  background: rgba(255, 255, 255, 0.7);
  color: rgba(43, 33, 29, 0.84);
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.subpage-feature-list strong,
.subpage-meta-list strong {
  color: var(--text);
}

.blog-side-list,
.blog-summary-list,
.blog-process-list,
.blog-detail-list {
  margin: 0;
  padding-left: 20px;
  color: rgba(43, 33, 29, 0.84);
  line-height: 1.7;
}

.blog-side-list {
  display: grid;
  gap: 10px;
  padding-left: 18px;
}

.blog-side-list li,
.blog-summary-list li,
.blog-process-list li,
.blog-detail-list li {
  overflow-wrap: anywhere;
}

.blog-hub-page,
.blog-article-page {
  gap: 24px;
}

.blog-hub-hero .subpage-hero__grid,
.blog-article-hero .subpage-hero__grid {
  align-items: start;
}

.blog-route-grid,
.blog-card-grid,
.blog-related-grid {
  display: grid;
  gap: 18px;
}

.blog-route-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.blog-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.blog-related-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blog-route-card,
.blog-card,
.blog-related-card,
.blog-summary-card,
.blog-next-step-card {
  min-width: 0;
  width: 100%;
  border: 1px solid rgba(62, 57, 49, 0.08);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(247, 242, 235, 0.86)),
    var(--texture-card-light);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    var(--shadow-soft);
}

.blog-route-card,
.blog-related-card {
  display: grid;
  gap: 12px;
  padding: 24px;
  color: inherit;
  text-decoration: none;
  transition:
    transform var(--motion-duration-fast) var(--motion-ease-soft),
    box-shadow var(--motion-duration-fast) ease,
    border-color var(--motion-duration-fast) ease;
}

.blog-card {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 24px;
}

.blog-card h3,
.blog-related-card strong,
.blog-route-card strong {
  margin: 0;
  font-size: clamp(21px, 1.9vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.blog-card h3 a {
  color: inherit;
  text-decoration: none;
}

.blog-card p,
.blog-route-card p,
.blog-related-card span,
.blog-summary-card p,
.blog-next-step-card p,
.blog-cluster__lead,
.blog-closing-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.blog-card__eyebrow,
.blog-route-card__kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(89, 97, 75, 0.1);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.blog-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  color: rgba(43, 33, 29, 0.74);
  font-size: 14px;
  line-height: 1.55;
}

.blog-card__meta a {
  color: var(--accent-dark);
  text-decoration: none;
  font-weight: 700;
}

.blog-route-card:hover,
.blog-related-card:hover,
.blog-card h3 a:hover,
.blog-card__meta a:hover {
  color: var(--accent-dark);
}

@media (hover: hover) {
  .blog-route-card:hover,
  .blog-related-card:hover {
    transform: var(--motion-lift-2);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.86),
      0 20px 38px rgba(49, 43, 37, 0.1);
    border-color: rgba(89, 97, 75, 0.18);
  }
}

.blog-cluster {
  display: grid;
  gap: 24px;
}

.blog-summary-card,
.blog-next-step-card {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.blog-summary-card strong,
.blog-next-step-card strong {
  color: var(--text);
  font-size: 20px;
  line-height: 1.2;
}

.blog-process-list {
  display: grid;
  gap: 12px;
  padding-left: 24px;
}

.blog-process-list li {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(62, 57, 49, 0.08);
  background: rgba(255, 255, 255, 0.7);
}

.blog-detail-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-detail-list li {
  padding: 16px 18px;
  border-left: 3px solid rgba(89, 97, 75, 0.26);
  border-radius: 0 18px 18px 0;
  background: rgba(255, 255, 255, 0.58);
}

.blog-toc {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.blog-toc a {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  padding: 14px 16px;
  border: 1px solid rgba(62, 57, 49, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
  color: rgba(43, 33, 29, 0.84);
  text-decoration: none;
  line-height: 1.45;
  transition:
    transform var(--motion-duration-fast) var(--motion-ease-soft),
    border-color var(--motion-duration-fast) ease,
    background-color var(--motion-duration-fast) ease;
}

.blog-toc a:hover {
  border-color: rgba(89, 97, 75, 0.18);
  background: rgba(255, 255, 255, 0.86);
}

.blog-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: rgba(38, 36, 31, 0.72);
  font-size: 14px;
  line-height: 1.5;
}

.tariffs-page {
  gap: 24px;
}

.tariffs-page .subpage-hero h1 {
  max-width: 13.2ch;
  font-size: clamp(42px, 4.9vw, 64px);
  line-height: 0.96;
}

.tariffs-hero__rail {
  align-content: start;
}

.plan-toggle {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: min(100%, 440px);
  padding: 8px;
  border: 1px solid rgba(157, 184, 205, 0.55);
  border-radius: 28px;
  background: rgba(255, 249, 242, 0.84);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 18px 36px rgba(44, 64, 94, 0.08);
}

.plan-toggle--card {
  width: 100%;
  padding: 6px;
  gap: 6px;
  border-color: rgba(157, 184, 205, 0.38);
  background: rgba(255, 252, 247, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 12px 24px rgba(49, 43, 37, 0.08);
}

.plan-toggle--pricing,
.plan-toggle--account {
  width: 100%;
  padding: 4px;
  gap: 4px;
  border-color: rgba(89, 97, 75, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 242, 235, 0.86)),
    rgba(255, 255, 255, 0.8);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 10px 20px rgba(49, 43, 37, 0.05);
}

.plan-toggle--inline {
  width: fit-content;
  min-width: 0;
  grid-template-columns: repeat(2, minmax(104px, auto));
  justify-self: end;
}

.plan-toggle__button {
  display: grid;
  gap: 6px;
  align-items: center;
  justify-items: center;
  min-height: 92px;
  padding: 14px 16px;
  border: 0;
  border-radius: 22px;
  background: transparent;
  color: rgba(74, 111, 137, 0.86);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  transition:
    background-color var(--motion-duration-fast) ease,
    color var(--motion-duration-fast) ease,
    box-shadow var(--motion-duration-fast) ease,
    transform var(--motion-duration-fast) var(--motion-ease-soft);
}

.plan-toggle--card .plan-toggle__button {
  min-height: 74px;
  padding: 12px 14px;
  border-radius: 20px;
}

.plan-toggle--pricing .plan-toggle__button,
.plan-toggle--account .plan-toggle__button {
  min-height: 50px;
  padding: 8px 10px;
  gap: 4px;
  border-radius: 16px;
  color: color-mix(in srgb, var(--accent-dark) 78%, white 22%);
}

.plan-toggle__button.is-active {
  background: #344761;
  color: #fff8f0;
  box-shadow: 0 18px 28px rgba(33, 48, 71, 0.24);
}

.plan-toggle--card .plan-toggle__button.is-active {
  box-shadow: 0 14px 24px rgba(33, 48, 71, 0.2);
}

.plan-toggle--pricing .plan-toggle__button.is-active,
.plan-toggle--account .plan-toggle__button.is-active {
  background: var(--accent-olive-deep);
  color: #fbf8f3;
  box-shadow: 0 10px 20px rgba(65, 73, 58, 0.18);
}

.plan-toggle__label {
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1;
  letter-spacing: -0.03em;
}

.plan-toggle--card .plan-toggle__label {
  font-size: clamp(17px, 1.8vw, 22px);
}

.plan-toggle--pricing .plan-toggle__label,
.plan-toggle--account .plan-toggle__label {
  font-size: clamp(13px, 1.15vw, 16px);
}

.plan-toggle__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #b88768;
  color: #fff8f0;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

.plan-toggle--card .plan-toggle__badge {
  min-height: 24px;
  padding: 0 10px;
  font-size: 13px;
}

.plan-toggle--pricing .plan-toggle__badge,
.plan-toggle--account .plan-toggle__badge {
  min-height: 18px;
  padding: 0 7px;
  background: rgba(215, 199, 174, 0.46);
  color: var(--accent-dark);
  font-size: 10px;
}

.plan-price-panel__headline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 16px;
  align-items: start;
}

.plan-price-panel__content {
  display: grid;
  min-width: 0;
  align-content: start;
}

.plan-toggle--pricing .plan-toggle__button.is-active .plan-toggle__badge,
.plan-toggle--account .plan-toggle__button.is-active .plan-toggle__badge {
  background: rgba(255, 255, 255, 0.14);
  color: #fbf8f3;
}

.plan-price-panel__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.plan-price-panel__old {
  color: rgba(65, 73, 58, 0.62);
  font-size: 18px;
  font-weight: 700;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.plan-price-panel__discount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(215, 199, 174, 0.4);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.plan-price-panel__meta--pricing {
  margin-bottom: 2px;
  min-width: 0;
}

.tariffs-hero__price {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 8px 12px;
}

.tariffs-hero__price strong {
  color: var(--text);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.tariffs-hero__price span {
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.tariffs-hero__plan-panel {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.tariffs-hero__billing {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.tariffs-hero__billing--monthly {
  font-weight: 600;
}

.tariffs-panel {
  padding: 0 28px 28px;
}

.tariffs-panel__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.tariff-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(62, 57, 49, 0.08);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(247, 242, 235, 0.82)),
    var(--texture-card-light);
  background-repeat: repeat, repeat;
  background-position: center, center;
  background-size: auto, 420px auto;
  box-shadow: var(--shadow-soft);
}

.tariff-card--featured {
  border-color: rgba(89, 97, 75, 0.2);
  background:
    radial-gradient(circle at top right, rgba(215, 199, 174, 0.24), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 239, 230, 0.88)),
    var(--texture-card-light);
}

.tariff-card__top {
  display: grid;
  gap: 12px;
}

.tariff-card__label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(97, 78, 66, 0.08);
  background: rgba(255, 255, 255, 0.74);
  color: rgba(43, 33, 29, 0.78);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tariff-card__title {
  display: grid;
  gap: 8px;
}

.tariff-card__plan-panel {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.tariff-card__title h3 {
  margin: 0;
  color: var(--text);
  font-family: var(--sans);
  font-size: clamp(28px, 2.6vw, 36px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.tariff-card__price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 8px 12px;
}

.tariff-card__price {
  color: var(--text);
  font-size: clamp(40px, 4vw, 56px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.92;
}

.tariff-card__period {
  color: var(--accent-dark);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

.tariff-card__summary {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.tariff-card__annual-total {
  margin: 0;
  color: var(--accent-dark);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.tariff-card__annual-total--monthly,
.account-plan-picker__annual--monthly {
  color: var(--muted);
  font-weight: 600;
}

.tariff-card__feature-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tariff-card__feature-list li {
  position: relative;
  padding: 0 0 0 20px;
  color: rgba(43, 33, 29, 0.84);
  line-height: 1.58;
  overflow-wrap: anywhere;
}

.tariff-card__feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(89, 97, 75, 0.72);
  box-shadow: 0 0 0 4px rgba(89, 97, 75, 0.08);
}

.tariff-card__footer {
  display: grid;
  gap: 8px;
  align-content: start;
}

.tariffs-compare {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.tariffs-compare__item {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(62, 57, 49, 0.08);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 12px 28px rgba(49, 43, 37, 0.04);
}

.tariffs-compare__item strong {
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.tariffs-compare__item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.64;
}

.instruction-page {
  gap: 24px;
}

.instruction-hero__summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.instruction-hero__card {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  border: 1px solid rgba(87, 61, 42, 0.08);
  border-radius: 20px;
  background-image: var(--texture-card-light);
  background-repeat: repeat, repeat;
  background-position: center, center;
  background-size: auto, 420px auto;
  box-shadow: var(--shadow-soft);
}

.instruction-hero__card strong {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-dark);
}

.instruction-hero__card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 15px;
}

.instruction-toc__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  padding: 10px 28px 22px;
}

.instruction-toc__link {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(97, 78, 66, 0.08);
  border-radius: 18px;
  background-image: var(--texture-card-light);
  background-repeat: repeat, repeat;
  background-position: center, center;
  background-size: auto, 420px auto;
  color: rgba(43, 33, 29, 0.82);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.instruction-toc__link:hover {
  color: var(--accent-dark);
  border-color: rgba(157, 110, 82, 0.22);
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.about-hero-path {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-hero-path li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
}

.about-hero-path span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(87, 61, 42, 0.08);
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 700;
}

.about-hero-path p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.faq-list--subpage {
  padding: 0 28px 28px;
}

.instruction-steps {
  display: grid;
  gap: 22px;
}

.instruction-step {
  padding: 22px;
}

.instruction-step__head {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.instruction-step__head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(32px, 3.4vw, 44px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.instruction-step__intro {
  margin: 0;
  max-width: 840px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.instruction-step__body {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 20px;
  align-items: start;
}

.instruction-shot {
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(87, 61, 42, 0.08);
  border-radius: 26px;
  background-image: linear-gradient(rgba(255, 251, 246, 0.92), rgba(252, 247, 240, 0.92)), var(--texture-panel);
  background-repeat: repeat, repeat;
  background-position: center, center;
  background-size: auto, 520px auto;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.instruction-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid rgba(97, 78, 66, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

.instruction-shot--sidebar {
  aspect-ratio: 4 / 3.45;
}

.instruction-shot--wide {
  aspect-ratio: 16 / 10;
}

.instruction-shot--modal {
  aspect-ratio: 16 / 11.2;
}

.instruction-shot--compact {
  aspect-ratio: 16 / 11.2;
}

.instruction-shot--sidebar img,
.instruction-shot--wide img,
.instruction-shot--modal img,
.instruction-shot--compact img {
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.instruction-step__content {
  display: grid;
  gap: 14px;
}

.instruction-list {
  margin: 0;
  padding-left: 24px;
  display: grid;
  gap: 12px;
  color: rgba(56, 43, 36, 0.88);
  font-size: 16px;
  line-height: 1.65;
}

.instruction-result {
  margin: 0;
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid rgba(157, 110, 82, 0.12);
  background: rgba(157, 110, 82, 0.08);
  color: var(--accent-dark);
  font-size: 15px;
  line-height: 1.6;
}

body.is-instruction-capture .hero,
body.is-instruction-capture .seo-copy,
body.is-instruction-capture .faq,
body.is-instruction-capture .faq-section,
body.is-instruction-capture .info-section,
body.is-instruction-capture .site-footer {
  display: none;
}

body.is-embed-mode .hero,
body.is-embed-mode .seo-copy,
body.is-embed-mode .faq,
body.is-embed-mode .faq-section,
body.is-embed-mode .info-section,
body.is-embed-mode .site-footer {
  display: none;
}

body.is-embed-mode .planner-page {
  max-width: none;
  padding-top: 18px;
}

body.is-embed-mode .workspace {
  max-width: 1320px;
  margin: 0 auto;
}

body.is-instruction-capture .planner-page {
  padding-top: 18px;
}

body.is-instruction-capture .workspace {
  padding-top: 0;
}

body.is-instruction-capture .summary-grid {
  display: none;
}

body.is-instruction-capture .workspace__layout {
  grid-template-columns: minmax(0, 1.15fr) minmax(380px, 0.85fr);
}

body.is-instruction-capture .sidebar {
  position: static;
}

body.is-instruction-capture .canvas-panel__hint,
body.is-instruction-capture .wizard__status,
body.is-instruction-capture .zone-list {
  display: none;
}

body.is-instruction-capture--event .workspace__top,
body.is-instruction-capture--hall .workspace__top,
body.is-instruction-capture--obstacles .workspace__top,
body.is-instruction-capture--zones .workspace__top,
body.is-instruction-capture--tables .workspace__top {
  display: none;
}

body.is-instruction-capture--event .workspace__layout,
body.is-instruction-capture--hall .workspace__layout,
body.is-instruction-capture--obstacles .workspace__layout,
body.is-instruction-capture--zones .workspace__layout,
body.is-instruction-capture--tables .workspace__layout {
  grid-template-columns: minmax(0, 720px);
  justify-content: center;
}

body.is-instruction-capture--event .canvas-panel,
body.is-instruction-capture--hall .canvas-panel,
body.is-instruction-capture--obstacles .canvas-panel,
body.is-instruction-capture--zones .canvas-panel,
body.is-instruction-capture--tables .canvas-panel {
  display: none;
}

body.is-instruction-capture--scheme .workspace__layout,
body.is-instruction-capture--export .workspace__layout {
  grid-template-columns: 1fr;
}

body.is-instruction-capture--scheme .sidebar,
body.is-instruction-capture--export .sidebar {
  display: none;
}

body.is-instruction-capture--scheme .workspace__top,
body.is-instruction-capture--export .workspace__top,
body.is-instruction-capture--scheme .canvas-panel__top,
body.is-instruction-capture--export .canvas-panel__top {
  display: none;
}

body.is-instruction-capture--scheme .scheme-note,
body.is-instruction-capture--scheme .export-confirm,
body.is-instruction-capture--scheme .pdf-template-picker {
  display: none;
}

body.is-instruction-capture--export .hall-scroll,
body.is-instruction-capture--export .scheme-note {
  display: none;
}

body.is-instruction-capture--export .wizard__progress,
body.is-instruction-capture--export .wizard__steps,
body.is-instruction-capture--export .wizard__footer {
  display: none;
}

body.is-instruction-capture--object .workspace__top,
body.is-instruction-capture--guests .workspace__top {
  opacity: 0.22;
}


.legal-panel {
  min-width: 0;
  padding: 22px;
  scroll-margin-top: 108px;
  border: 1px solid rgba(87, 61, 42, 0.07);
  border-radius: 24px;
  background-image:
    linear-gradient(rgba(255, 251, 246, 0.9), rgba(252, 247, 240, 0.9)),
    var(--texture-panel);
  background-repeat: repeat, repeat;
  background-position: center, center;
  background-size: auto, 540px auto;
  box-shadow: var(--shadow-soft);
}

.legal-panel__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.legal-panel__head h3 {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  color: rgba(43, 33, 29, 0.84);
}

.legal-panel__close {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(87, 61, 42, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: rgba(43, 33, 29, 0.78);
  font: inherit;
}

.legal-panel__content {
  display: grid;
  gap: 14px;
  width: 100%;
  min-width: 0;
  color: rgba(108, 94, 87, 0.94);
  line-height: 1.72;
  font-size: 16px;
  max-width: min(78ch, 100%);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.legal-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 2px;
}

.legal-meta__item {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid rgba(87, 61, 42, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(249, 245, 238, 0.64)),
    var(--texture-card-light);
  background-repeat: repeat, repeat;
  background-position: center, center;
  background-size: auto, 420px auto;
}

.legal-meta__label {
  color: rgba(106, 88, 78, 0.74);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-meta__item strong {
  color: rgba(43, 33, 29, 0.9);
  font-size: 15px;
  line-height: 1.5;
}

.legal-toc {
  display: grid;
  gap: 12px;
  margin-bottom: 8px;
  padding: 18px 20px 20px;
  border: 1px solid rgba(87, 61, 42, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.46);
}

.legal-toc__title {
  margin: 0;
  color: rgba(62, 50, 45, 0.84);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.legal-toc__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
}

.legal-toc__grid a {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  padding: 11px 13px;
  border-radius: 14px;
  color: rgba(43, 33, 29, 0.82);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(87, 61, 42, 0.08);
  transition: transform 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.legal-toc__grid a:hover,
.legal-toc__grid a:focus-visible {
  color: var(--accent-dark);
  border-color: rgba(157, 110, 82, 0.22);
  box-shadow: 0 10px 20px rgba(77, 60, 50, 0.06);
  transform: translateY(-1px);
}

.legal-panel__content h4 {
  margin: 24px 0 2px;
  color: rgba(43, 33, 29, 0.88);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  scroll-margin-top: 112px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.legal-panel__content p,
.legal-panel__content ul,
.legal-panel__content ol {
  margin: 0;
  min-width: 0;
  max-width: 72ch;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.legal-panel__content ul,
.legal-panel__content ol {
  display: grid;
  gap: 8px;
  padding-left: 24px;
}

.legal-panel__content li + li {
  margin-top: 0;
}

.legal-panel__content p + ul,
.legal-panel__content p + ol,
.legal-panel__content ul + p,
.legal-panel__content ol + p {
  margin-top: -4px;
}

.legal-panel__content p + h4,
.legal-panel__content ul + h4,
.legal-panel__content ol + h4 {
  margin-top: 30px;
}

.subpage-cta {
  padding: 26px 28px 28px;
  background:
    radial-gradient(circle at top right, rgba(215, 199, 174, 0.16), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(247, 242, 235, 0.78)),
    var(--texture-panel);
  background-repeat: repeat, repeat;
  background-position: center, center;
  background-size: auto, 700px auto;
}

.subpage-cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.subpage-cta h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.subpage-cta p {
  margin: 10px 0 0;
  max-width: 56ch;
  color: var(--muted);
  line-height: 1.7;
}

.about-page,
.legal-page,
.instruction-page {
  gap: 26px;
}

.tariffs-page .subpage-hero__grid {
  grid-template-columns: minmax(0, 0.86fr) minmax(340px, 1.14fr);
  gap: 18px;
  align-items: stretch;
}

.tariffs-page .subpage-hero__content {
  max-width: 560px;
  gap: 14px;
  padding: 8px 0 6px;
}

.tariffs-page .subpage-hero__lead {
  max-width: 34ch;
}

.tariffs-page .subpage-hero__rail {
  align-content: stretch;
}

.tariffs-page .subpage-side-card {
  min-height: 100%;
}

.about-page .subpage-hero__grid,
.legal-page .subpage-hero__grid {
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: 24px;
  align-items: stretch;
}

.about-page .subpage-hero__content,
.legal-page .subpage-hero__content {
  max-width: 700px;
  gap: 18px;
}

.about-page .subpage-hero h1,
.legal-page .subpage-hero h1 {
  max-width: 15.5ch;
  font-size: clamp(39px, 4.1vw, 56px);
  line-height: 0.97;
}

.about-page .subpage-hero__lead,
.legal-page .subpage-hero__lead {
  max-width: 43ch;
  color: rgba(74, 61, 55, 0.88);
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 500;
}

.about-page .subpage-pill-list {
  max-width: 680px;
}

.about-page .subpage-hero__rail {
  align-content: start;
  padding-top: 6px;
}

.about-page .subpage-actions {
  margin-top: 0;
}

.about-page .subpage-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.about-page .subpage-grid > .subpage-panel {
  height: 100%;
}

.about-side-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-side-list li {
  position: relative;
  padding-left: 18px;
  color: rgba(86, 71, 64, 0.9);
  line-height: 1.6;
}

.about-side-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(157, 110, 82, 0.7);
  transform: translateY(-50%);
}

.about-side-list--links a {
  color: rgba(43, 33, 29, 0.86);
  font-weight: 600;
  text-decoration: none;
}

.about-side-list--links a:hover,
.about-side-list--links a:focus-visible {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.about-page .subpage-copy-block p {
  max-width: 64ch;
}

.about-page .subpage-cta__grid > :first-child {
  gap: 8px;
}

.legal-page .subpage-hero__copy {
  padding: 16px 18px;
  border-left: 3px solid rgba(157, 110, 82, 0.28);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.54);
}

.legal-page .subpage-pill-list {
  max-width: 720px;
}

.legal-page .subpage-hero__rail {
  align-content: start;
}

.legal-page .subpage-actions {
  margin-top: 8px;
}

.legal-page .subpage-side-card {
  gap: 12px;
}

.legal-page--policy {
  gap: 18px;
}

.legal-page--policy .subpage-hero__grid {
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
  gap: 18px;
  align-items: start;
}

.legal-page--policy .subpage-hero__content {
  max-width: 760px;
  gap: 12px;
}

.legal-page--policy .subpage-hero h1 {
  max-width: 18.5ch;
}

.legal-page--policy .subpage-hero__lead {
  max-width: 47ch;
}

.legal-page--policy .subpage-hero__rail {
  justify-self: end;
  width: min(100%, 360px);
  padding-top: 2px;
}

.legal-page--policy .subpage-hero__rail .legal-toc {
  gap: 14px;
  margin-bottom: 0;
  padding: 20px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(215, 199, 174, 0.18), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(247, 242, 235, 0.76)),
    var(--texture-card-light);
  background-repeat: repeat, repeat, repeat;
  background-position: center, center, center;
  background-size: auto, auto, 420px auto;
  box-shadow: var(--shadow-soft);
}

.legal-page--policy .subpage-hero__rail .legal-toc__grid {
  grid-template-columns: 1fr;
  gap: 10px;
}

.legal-page--policy .legal-panel {
  padding-top: 18px;
}

.legal-page--policy .legal-panel__content {
  gap: 14px;
}

.legal-page--terms {
  gap: 18px;
}

.legal-page--terms .subpage-hero__grid {
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
  gap: 18px;
  align-items: start;
}

.legal-page--terms .subpage-hero__content {
  max-width: 760px;
  gap: 12px;
}

.legal-page--terms .subpage-hero h1 {
  max-width: 18.5ch;
}

.legal-page--terms .subpage-hero__lead {
  max-width: 47ch;
}

.legal-page--terms .subpage-hero__rail {
  justify-self: end;
  width: min(100%, 360px);
  padding-top: 2px;
}

.legal-page--terms .subpage-hero__rail .legal-toc {
  gap: 14px;
  margin-bottom: 0;
  padding: 20px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(215, 199, 174, 0.18), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(247, 242, 235, 0.76)),
    var(--texture-card-light);
  background-repeat: repeat, repeat, repeat;
  background-position: center, center, center;
  background-size: auto, auto, 420px auto;
  box-shadow: var(--shadow-soft);
}

.legal-page--terms .subpage-hero__rail .legal-toc__grid {
  grid-template-columns: 1fr;
  gap: 10px;
}

.legal-page--terms .legal-panel {
  padding-top: 18px;
}

.legal-page--terms .legal-panel__content {
  gap: 14px;
}

.legal-page .legal-panel {
  padding: 26px;
}

.legal-page .legal-panel__content {
  max-width: min(76ch, 100%);
  gap: 18px;
}

.about-page .subpage-cta,
.legal-page .subpage-cta {
  padding-top: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(248, 243, 236, 0.74)),
    var(--texture-panel);
  background-repeat: repeat, repeat;
  background-position: center, center;
  background-size: auto, 700px auto;
}

.about-page .subpage-cta__grid,
.legal-page .subpage-cta__grid {
  grid-template-columns: minmax(0, 1fr) minmax(240px, auto);
  align-items: start;
}

.subpage-cta__stack {
  display: grid;
  justify-items: start;
  gap: 12px;
  min-width: 0;
}

.instruction-page .subpage-hero__grid {
  grid-template-columns: minmax(0, 1.06fr) minmax(280px, 0.94fr);
  gap: 24px;
}

.instruction-page .subpage-hero__content {
  max-width: 700px;
  gap: 15px;
}

.instruction-page .subpage-hero h1 {
  max-width: 14.5ch;
  font-size: clamp(39px, 4.5vw, 60px);
  line-height: 1.01;
}

.instruction-page .subpage-hero__lead {
  max-width: 36ch;
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 550;
}

.instruction-page .subpage-hero__rail {
  align-content: start;
  padding-top: 6px;
}

.instruction-page .instruction-steps {
  gap: 18px;
}

.instruction-page .subpage-cta {
  background:
    radial-gradient(circle at top left, rgba(215, 199, 174, 0.14), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(247, 242, 235, 0.78)),
    var(--texture-panel);
}

.instruction-page .subpage-cta__grid {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.subpage-cta__note {
  margin: 0;
  max-width: 28ch;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.subpage-cta__note a {
  color: var(--accent-dark);
}

.hero__sticky-shell {
  position: sticky;
  top: 0;
  z-index: 46;
  padding: 0 18px 0;
  background:
    linear-gradient(180deg, rgba(244, 241, 234, 0.98), rgba(244, 241, 234, 0.98)),
    var(--texture-page);
  background-repeat: repeat, repeat;
  background-position: center, center;
  background-size: auto, auto;
}

.hero__sticky-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 22px;
  border: 1px solid rgba(62, 57, 49, 0.08);
  border-radius: 0 0 28px 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 244, 238, 0.98)),
    var(--texture-panel);
  background-repeat: repeat, repeat;
  background-position: center, center;
  background-size: auto, 760px auto;
  box-shadow: 0 18px 38px rgba(49, 43, 37, 0.05);
}

.hero {
  padding: 16px 18px 34px;
}

.hero__content {
  max-width: 1240px;
  margin: 0 auto;
  padding: 22px 26px 32px;
  border: 1px solid rgba(62, 57, 49, 0.08);
  border-radius: 34px;
  background-image:
    radial-gradient(circle at 50% 0%, rgba(215, 199, 174, 0.18), transparent 34%),
    linear-gradient(rgba(251, 248, 243, 0.97), rgba(246, 242, 235, 0.96)),
    var(--texture-panel);
  background-repeat: repeat, repeat;
  background-position: center, center;
  background-size: auto, 900px auto;
  box-shadow: 0 26px 70px rgba(49, 43, 37, 0.09);
  position: relative;
  overflow: hidden;
}

.hero__content::before {
  content: "";
  position: absolute;
  inset: auto auto -120px -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 199, 174, 0.26), rgba(215, 199, 174, 0));
  pointer-events: none;
}

.hero__content::after {
  content: "";
  position: absolute;
  inset: 34px 34px auto auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.hero__utility {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(0, auto) minmax(240px, 1fr);
  gap: 18px 24px;
  align-items: center;
  position: relative;
  z-index: 3;
}

.hero__brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  max-width: 420px;
  text-decoration: none;
  color: var(--text);
}

.hero__brand-mark-wrap {
  display: none;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero__brand-mark {
  width: 60px;
  height: auto;
  display: block;
}

.hero__brand-copy {
  display: grid;
  gap: 0;
}

.hero__brand-logo {
  display: block;
  width: min(100%, 326px);
  height: auto;
}

.hero__nav {
  display: flex;
  justify-content: center;
  justify-self: end;
  align-items: center;
  gap: 11px;
  margin-left: 82px;
  min-width: 0;
}

.hero__nav-link {
  position: relative;
  color: rgba(38, 36, 31, 0.7);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition:
    color var(--motion-duration-fast) ease,
    opacity var(--motion-duration-fast) ease;
}

.hero__nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 1px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.3;
  transform: scaleX(0.35);
  transform-origin: left center;
  transition:
    opacity var(--motion-duration-fast) ease,
    transform var(--motion-duration-medium) var(--motion-ease-soft);
}

.hero__nav-link:hover {
  color: var(--accent-dark);
}

.hero__nav-link:hover::after,
.hero__nav-link:focus-visible::after {
  opacity: 0.9;
  transform: scaleX(1);
}

.hero__nav-link:focus-visible {
  box-shadow: none;
  color: var(--accent-dark);
}

.hero__topbar {
  display: flex;
  justify-content: flex-end;
  justify-self: end;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  position: relative;
  z-index: 3;
}

.hero__auth-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 12px;
  border: 1px solid rgba(62, 57, 49, 0.1);
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform var(--motion-duration-fast) var(--motion-ease-soft),
    background var(--motion-duration-fast) ease,
    border-color var(--motion-duration-fast) ease,
    color var(--motion-duration-fast) ease,
    box-shadow var(--motion-duration-fast) ease;
}

.hero__auth-link--ghost {
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  box-shadow: 0 10px 24px rgba(49, 43, 37, 0.05);
}

.hero__auth-link--ghost:hover {
  border-color: rgba(89, 97, 75, 0.24);
  color: var(--accent-dark);
}

.hero__auth-link--primary {
  background: linear-gradient(180deg, rgba(89, 97, 75, 0.96), rgba(65, 73, 58, 0.98));
  color: #fff;
  box-shadow: 0 12px 26px rgba(65, 73, 58, 0.16);
}

.hero__auth-link--primary:hover {
  background: var(--accent-dark);
}

.hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  gap: 24px;
  align-items: start;
}

.hero__main {
  min-width: 0;
  width: 100%;
  max-width: 840px;
  padding: 28px 10px 0 4px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(62, 57, 49, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: rgba(38, 36, 31, 0.72);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 12px 26px rgba(49, 43, 37, 0.05);
}

.hero__badge-mark {
  color: var(--accent-dark);
  font-size: 14px;
}

.hero__eyebrow,
.section-label {
  margin: 18px 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-label--cta {
  font-size: 14px;
  letter-spacing: 0.18em;
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(54px, 5.35vw, 72px);
  line-height: 0.94;
  font-weight: 500;
  letter-spacing: -0.04em;
  max-width: 14.8ch;
  text-wrap: balance;
}

.hero__lede {
  margin: 22px 0 0;
  color: var(--text);
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.68;
  max-width: 46ch;
  font-weight: 500;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.hero__text {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.78;
  max-width: 54ch;
}

.hero__button,
.primary-button,
.secondary-button,
.danger-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 14px;
  border: 0;
  text-decoration: none;
  transition:
    transform var(--motion-duration-fast) var(--motion-ease-soft),
    background var(--motion-duration-fast) ease,
    border-color var(--motion-duration-fast) ease,
    color var(--motion-duration-fast) ease,
    box-shadow var(--motion-duration-fast) ease;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.hero__button,
.primary-button {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 14px 30px rgba(65, 73, 58, 0.18);
}

.hero__button:hover,
.primary-button:hover,
.secondary-button:hover,
.danger-button:hover,
.hero__ghost:hover {
}

.hero__button:hover,
.primary-button:hover {
  background: var(--accent-dark);
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.hero__ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid rgba(62, 57, 49, 0.1);
  border-radius: 16px;
  color: var(--text);
  text-decoration: none;
  background: transparent;
  font-weight: 700;
  box-shadow: none;
  transition:
    transform var(--motion-duration-fast) var(--motion-ease-soft),
    border-color var(--motion-duration-fast) ease,
    color var(--motion-duration-fast) ease,
    background var(--motion-duration-fast) ease,
    box-shadow var(--motion-duration-fast) ease;
}

.hero__aside {
  display: grid;
  gap: 16px;
  width: 100%;
  min-width: 0;
  padding-top: 18px;
  position: relative;
  z-index: 2;
}

.audio-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  min-width: 0;
  padding: 15px 15px 15px 20px;
  border: 1px solid rgba(215, 199, 174, 0.9);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(249, 245, 238, 0.76));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 18px 40px rgba(49, 43, 37, 0.06);
  position: relative;
  z-index: 2;
}

.audio-pill__copy {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  text-align: left;
}

.audio-pill__note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  background: rgba(247, 239, 226, 0.96);
  color: var(--accent-dark);
  font-size: 22px;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(89, 97, 75, 0.08);
}

.audio-pill__text-wrap {
  min-width: 0;
}

.audio-pill__label {
  display: block;
  margin-bottom: 3px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.audio-pill__text {
  margin: 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.35;
  font-weight: 500;
}

.audio-pill__toggle {
  position: relative;
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  padding: 0;
  border: 1px solid rgba(215, 199, 174, 0.92);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 0 0 6px rgba(233, 224, 209, 0.72), 0 12px 30px rgba(49, 43, 37, 0.08);
  color: var(--accent-dark);
  transition:
    transform var(--motion-duration-fast) var(--motion-ease-soft),
    box-shadow var(--motion-duration-fast) ease,
    border-color var(--motion-duration-fast) ease,
    background var(--motion-duration-fast) ease;
  z-index: 3;
  pointer-events: auto;
}

.audio-pill__toggle:hover {
  box-shadow: 0 18px 34px rgba(75, 54, 42, 0.15);
}

.audio-pill__toggle:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 4px rgba(89, 97, 75, 0.16),
    0 14px 30px rgba(49, 43, 37, 0.12);
}

.audio-pill__toggle.is-playing {
  border-color: rgba(89, 97, 75, 0.24);
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.96), rgba(230, 231, 223, 0.92));
}

.audio-pill__pause,
.audio-pill__wave {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.audio-pill__pause {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  opacity: 1;
  transform: scale(1);
}

.audio-pill__pause span {
  display: block;
  width: 4px;
  height: 20px;
  border-radius: 999px;
  background: var(--accent-dark);
}

.audio-pill__wave {
  gap: 3px;
  opacity: 0;
  transform: scale(0.92);
}

.audio-pill__wave span {
  width: 3px;
  border-radius: 999px;
  background: var(--accent-dark);
  transform-origin: center bottom;
  animation: audioWave 1.05s ease-in-out infinite;
}

.audio-pill__wave span:nth-child(1) {
  height: 10px;
  animation-delay: 0s;
}

.audio-pill__wave span:nth-child(2) {
  height: 18px;
  animation-delay: 0.1s;
}

.audio-pill__wave span:nth-child(3) {
  height: 26px;
  animation-delay: 0.2s;
}

.audio-pill__wave span:nth-child(4) {
  height: 18px;
  animation-delay: 0.3s;
}

.audio-pill__wave span:nth-child(5) {
  height: 10px;
  animation-delay: 0.4s;
}

.audio-pill__toggle.is-playing .audio-pill__pause {
  opacity: 0;
  transform: scale(0.88);
}

.audio-pill__toggle.is-playing .audio-pill__wave {
  opacity: 1;
  transform: scale(1);
}

@keyframes audioWave {
  0%,
  100% {
    transform: scaleY(0.5);
    opacity: 0.55;
  }

  50% {
    transform: scaleY(1.18);
    opacity: 1;
  }
}

.hero__notes {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.hero-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 84px;
  gap: 14px;
  align-items: center;
  width: 100%;
  min-width: 0;
  padding: 19px 18px 19px 20px;
  border: 1px solid rgba(62, 57, 49, 0.08);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(250, 246, 240, 0.62));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    var(--shadow-soft);
}

.hero-note--accent {
  background:
    linear-gradient(180deg, rgba(215, 199, 174, 0.2), rgba(255, 255, 255, 0.54));
}

.hero-note--soft {
  grid-template-columns: 1fr;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.66), rgba(251, 248, 243, 0.52));
}

.hero-note--output {
  min-height: 156px;
}

.hero-note__copy {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.hero-note__label {
  display: block;
  margin-bottom: 0;
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-note strong,
.hero-note p {
  margin: 0;
}

.hero-note strong,
.hero-note__value {
  display: block;
  font-size: 17px;
  line-height: 1.34;
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-note p:not(.hero-note__value) {
  color: var(--muted);
  line-height: 1.55;
  font-size: 13px;
}

.hero-note__value {
  color: var(--text);
}

.hero-note__text {
  margin: 0;
}

.hero-note__media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(247, 241, 232, 0.92);
  border: 1px solid rgba(215, 199, 174, 0.46);
}

.hero-note__media--tall {
  height: 96px;
}

.hero-note__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.72) brightness(1.02);
}

.hero-note__media--illustration img {
  object-fit: contain;
  padding: 6px;
  filter: none;
}

.secondary-button {
  border: 1px solid rgba(87, 61, 42, 0.1);
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
  box-shadow: var(--shadow-soft);
}

.secondary-button:hover {
  border-color: rgba(157, 110, 82, 0.35);
  color: var(--accent-dark);
}

#wizard-finish-btn {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(111, 86, 73, 0.14);
}

#wizard-finish-btn:hover {
  background: var(--accent-dark);
  color: #fff;
  border-color: transparent;
}

.danger-button {
  background: rgba(188, 91, 82, 0.1);
  color: var(--danger);
  box-shadow: none;
}

.danger-button:hover {
  background: rgba(201, 77, 67, 0.18);
}

.planner-page {
  display: grid;
  gap: 32px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 18px 60px;
}

.constructor-live-page {
  --constructor-header-offset: 144px;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(215, 199, 174, 0.18), transparent 26%),
    linear-gradient(180deg, rgba(244, 241, 234, 0.98), rgba(240, 236, 228, 0.99)),
    var(--texture-page);
  background-repeat: no-repeat, repeat, repeat;
  background-position: top left, center, center;
  background-size: auto, auto, auto;
}

.constructor-header {
  position: sticky;
  top: 0;
  z-index: 45;
  padding: 0 18px;
  background:
    linear-gradient(180deg, rgba(244, 241, 234, 0.98), rgba(244, 241, 234, 0.98)),
    var(--texture-page);
  background-repeat: repeat, repeat;
  background-position: center, center;
  background-size: auto, auto;
}

.constructor-shell {
  width: min(1680px, calc(100% - 28px));
  margin: 0 auto;
  padding: 18px 0 28px;
}

.constructor-shell__topbar {
  max-width: 1680px;
  margin: 0 auto;
  padding: 16px 22px;
  border: 1px solid rgba(62, 57, 49, 0.08);
  border-radius: 0 0 28px 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 244, 238, 0.98)),
    var(--texture-panel);
  background-repeat: repeat, repeat;
  background-position: center, center;
  background-size: auto, 760px auto;
  box-shadow: 0 18px 38px rgba(49, 43, 37, 0.05);
}

.constructor-shell__utility {
  display: grid;
  grid-template-columns: minmax(180px, auto) minmax(0, 1fr) auto;
  gap: 18px 24px;
  align-items: center;
}

.constructor-shell__utility > * {
  min-width: 0;
}

.constructor-shell__brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  width: fit-content;
  max-width: 172px;
  color: inherit;
  text-decoration: none;
}

.constructor-shell__brand-copy {
  display: grid;
  gap: 0;
  width: 100%;
}

.constructor-shell__brand img {
  display: block;
  width: 100%;
  max-width: 172px;
  height: auto;
}

.constructor-shell__primary-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  min-width: 0;
}

.constructor-shell__action,
.constructor-shell__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(62, 57, 49, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(49, 43, 37, 0.05);
}

.constructor-shell__action {
  font: inherit;
  cursor: pointer;
  white-space: nowrap;
}

.constructor-shell__action--secondary {
  background: rgba(255, 255, 255, 0.76);
}

.constructor-shell__action--primary {
  border-color: rgba(65, 73, 58, 0.16);
  background: linear-gradient(135deg, #59614b, #41493a);
  color: #fbf8f3;
  box-shadow: 0 16px 30px rgba(65, 73, 58, 0.2);
}

.constructor-shell__secondary-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  min-width: 0;
}

.constructor-shell__auth {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.constructor-shell__auth .hero__auth-link {
  width: auto;
  min-height: 48px;
  padding: 0 20px;
  white-space: nowrap;
}

.constructor-shell__action:hover,
.constructor-shell__link:hover {
  border-color: rgba(62, 57, 49, 0.18);
  box-shadow: 0 14px 28px rgba(49, 43, 37, 0.08);
}

.constructor-shell__action--primary:hover {
  border-color: rgba(65, 73, 58, 0.28);
  box-shadow: 0 18px 32px rgba(65, 73, 58, 0.24);
}

.planner-page--constructor {
  max-width: none;
  padding: 0;
}

.constructor-live-page [data-workspace-root],
.constructor-live-page .hall-scroll {
  scroll-margin-top: var(--constructor-header-offset);
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background-image: var(--card);
  background-repeat: repeat, repeat;
  background-position: center, center;
  background-size: auto, 700px auto;
  box-shadow: var(--shadow);
}

.panel__heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 32px 32px 18px;
}

.sidebar--studio .panel__heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(154px, 0.8fr);
  align-items: end;
  gap: 18px;
  padding-bottom: 18px;
}

.panel__heading-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.panel__heading h2,
.workspace__top h2 {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(31px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.panel__hint,
.workspace__meta,
.canvas-panel__hint,
.wizard-step p,
.sidebar__empty p,
.sidebar__selected-type,
.sidebar__selected-size,
#guest-capacity-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.wizard {
  padding-bottom: 22px;
}

.wizard__progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 0 28px 20px;
}

.wizard__progress--sidebar {
  grid-template-columns: 1fr;
  padding: 0;
  gap: 12px;
  margin-bottom: 18px;
}

.wizard__dot {
  min-height: 58px;
  padding: 14px 18px;
  border: 1px solid rgba(62, 57, 49, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  color: color-mix(in srgb, var(--muted) 72%, var(--text) 28%);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0;
  text-align: left;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 8px 20px rgba(49, 43, 37, 0.04);
}

.wizard__dot.is-active {
  border-color: rgba(89, 97, 75, 0.34);
  background:
    linear-gradient(180deg, rgba(89, 97, 75, 0.12), rgba(255, 255, 255, 0.92));
  color: var(--accent-dark);
  box-shadow:
    inset 0 0 0 1px rgba(89, 97, 75, 0.12),
    0 14px 30px rgba(49, 43, 37, 0.08);
}

.wizard__steps {
  padding: 0 28px;
}

.wizard__steps--sidebar {
  padding: 0;
}

.wizard-step {
  display: none;
  padding: 30px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(62, 57, 49, 0.1);
}

.wizard-step.is-active {
  display: block;
  border-color: rgba(89, 97, 75, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(248, 244, 238, 0.94));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.78),
    0 22px 48px rgba(49, 43, 37, 0.08);
}

.wizard-step h3,
.canvas-panel__top h3,
.sidebar h3,
.guest-form__header h4 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-weight: 400;
}

.canvas-panel__title {
  font-size: clamp(32px, 3.6vw, 42px);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.panel__headline {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.04em;
  max-width: 360px;
  text-wrap: balance;
}

.panel__hint--hero {
  max-width: 200px;
  justify-self: end;
  align-self: center;
  color: var(--accent-dark);
  font-family: var(--sans);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-align: left;
}

.wizard-step__heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 10px;
}

.wizard-step__title {
  font-size: clamp(28px, 2.6vw, 34px);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.wizard-step__title--tables {
  font-size: clamp(24px, 2.1vw, 28px);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.wizard-step__note {
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.wizard-step--tables p {
  max-width: 620px;
  font-size: 15px;
  line-height: 1.46;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.field-grid--single {
  grid-template-columns: minmax(0, 1fr);
}

.field {
  display: grid;
  gap: 8px;
}

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

.field span {
  font-size: 15px;
  color: color-mix(in srgb, var(--muted) 72%, var(--text) 28%);
  transition: color var(--motion-duration-fast) ease;
}

.field,
.brand-auth__field,
.auth-field {
  transition: transform var(--motion-duration-fast) var(--motion-ease-soft);
}

.field:focus-within span,
.brand-auth__field:focus-within .brand-auth__field-label,
.auth-field:focus-within .auth-field__label {
  color: var(--accent-dark);
}

.field input {
  width: 100%;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid rgba(62, 57, 49, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  font-size: 16px;
  outline: none;
  transition:
    border-color var(--motion-duration-fast) ease,
    box-shadow var(--motion-duration-fast) ease,
    background-color var(--motion-duration-fast) ease,
    transform var(--motion-duration-fast) var(--motion-ease-soft);
}

.wizard-step.is-active .field input,
.wizard-step.is-active .picker-button {
  border-color: rgba(62, 57, 49, 0.22);
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 10px 24px rgba(49, 43, 37, 0.06);
}

.field input:focus {
  border-color: rgba(89, 97, 75, 0.52);
  box-shadow: var(--focus-ring-soft);
  transform: translate3d(0, -1px, 0);
}

.config-block {
  margin-top: 18px;
  padding: 20px;
  border: 1px solid rgba(87, 61, 42, 0.06);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
}

.config-block__title {
  font-size: 15px;
  font-weight: 700;
}

.zone-form {
  margin-top: 20px;
  padding: 22px;
  border: 1px solid rgba(87, 61, 42, 0.06);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.74);
}

.zone-form .field-grid {
  margin-top: 0;
}

.zone-form__actions,
.wizard__actions,
.toolbar__group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.wizard__actions [hidden] {
  display: none !important;
}

.zone-form__actions {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(87, 61, 42, 0.08);
  justify-content: flex-end;
}

.zone-form__actions .secondary-button,
.zone-form__actions .primary-button {
  min-width: 150px;
}

.zone-item__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.zone-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.zone-item {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(87, 61, 42, 0.1);
  border-radius: 16px;
  background: var(--container-bg);
}

.zone-item__meta {
  display: grid;
  gap: 4px;
}

.zone-item__name {
  font-weight: 700;
}

.zone-item__details {
  color: var(--muted);
  font-size: 14px;
}

.wizard__footer {
  display: block;
  padding: 20px 28px 0;
}

.wizard__status {
  margin: 0;
  color: var(--muted);
  width: 100%;
  min-width: 0;
}

.wizard__actions {
  display: flex;
  width: 100%;
  justify-content: flex-end;
  min-width: 0;
  align-items: stretch;
  margin-top: 16px;
  flex-wrap: wrap;
}

.wizard__actions .secondary-button,
.wizard__actions .primary-button {
  min-width: 168px;
  min-height: 58px;
  padding-inline: 24px;
  font-size: 16px;
  font-weight: 700;
  border-width: 1px;
}

.wizard__actions .secondary-button {
  border-color: rgba(87, 61, 42, 0.16);
}

.wizard__actions .primary-button,
#wizard-finish-btn {
  border: 1px solid rgba(65, 73, 58, 0.24);
}

.wizard__status.is-error {
  color: var(--danger);
}

.workspace {
  display: grid;
  gap: 22px;
}

.workspace.is-hidden {
  display: none;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
  grid-auto-rows: 1fr;
}

.support-grid > * {
  min-width: 0;
}

.support-grid > .panel {
  min-height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-width: 0;
}

.support-grid .panel__heading {
  display: block;
  gap: 12px;
}

.support-grid .panel__heading > div {
  min-width: 0;
  width: 100%;
}

.support-grid .panel__heading h2 {
  margin-bottom: 0;
}

.support-grid .panel__hint {
  display: block;
  width: 100%;
  max-width: none;
  min-width: 0;
  margin-top: 12px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.seo-copy {
  overflow: hidden;
}

.seo-copy__content {
  display: grid;
  gap: 15px;
  padding: 0 32px 28px;
  grid-template-columns: minmax(0, 1fr);
}

.seo-copy__content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.seo-copy__content p:first-child {
  color: var(--text);
  font-size: 21px;
  line-height: 1.62;
  width: 100%;
  max-width: none;
  text-wrap: pretty;
}

.seo-copy__grid,
.faq-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0 32px 32px;
}

.faq-list {
  border-radius: 30px;
}

.seo-copy__card,
.faq-item {
  padding: 24px 24px 22px;
  border: 1px solid rgba(62, 57, 49, 0.07);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.66), rgba(249, 245, 238, 0.5));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    var(--shadow-soft);
}

.seo-copy__card h3,
.faq-item h3 {
  margin: 0 0 12px;
  font-family: var(--sans);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.03em;
}

.seo-copy__card p,
.faq-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.66;
}

.feedback-form {
  display: grid;
  gap: 18px;
  padding: 0 28px 28px;
}

.feedback-form .field-grid {
  margin-top: 0;
}

.feedback-form input::placeholder,
.feedback-form textarea::placeholder {
  color: rgba(98, 77, 64, 0.56);
}

.feedback-form textarea {
  width: 100%;
  min-height: 136px;
  padding: 14px;
  border: 1px solid rgba(87, 61, 42, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  outline: none;
  resize: vertical;
  line-height: 1.6;
  transition:
    border-color var(--motion-duration-fast) ease,
    box-shadow var(--motion-duration-fast) ease,
    background-color var(--motion-duration-fast) ease,
    transform var(--motion-duration-fast) var(--motion-ease-soft);
}

.feedback-form textarea:focus {
  border-color: rgba(157, 110, 82, 0.55);
  box-shadow: 0 0 0 4px rgba(157, 110, 82, 0.12);
  transform: translate3d(0, -1px, 0);
}

.field__hint {
  margin-top: -2px;
  color: rgba(98, 77, 64, 0.74);
  font-size: 13px;
  line-height: 1.5;
}

.subpage-return {
  justify-self: start;
  margin-bottom: 18px;
}

.feedback-captcha {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(87, 61, 42, 0.07);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.58);
  transition:
    border-color var(--motion-duration-fast) ease,
    box-shadow var(--motion-duration-fast) ease,
    background-color var(--motion-duration-fast) ease;
}

.feedback-captcha__title {
  margin: 0;
  color: rgba(56, 43, 36, 0.76);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.feedback-captcha__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 148px;
  gap: 10px;
  align-items: center;
}

.feedback-captcha__question {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 14px;
  background: rgba(247, 242, 235, 0.92);
  color: var(--text);
  font-weight: 600;
}

.feedback-captcha__row input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(87, 61, 42, 0.16);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  outline: none;
  transition:
    border-color var(--motion-duration-fast) ease,
    box-shadow var(--motion-duration-fast) ease,
    transform var(--motion-duration-fast) var(--motion-ease-soft);
}

.feedback-captcha__row input:focus {
  border-color: rgba(157, 110, 82, 0.55);
  box-shadow: 0 0 0 4px rgba(157, 110, 82, 0.12);
  transform: translate3d(0, -1px, 0);
}

.feedback-consent {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-top: 0;
  color: rgba(56, 43, 36, 0.86);
  font-size: 14px;
  line-height: 1.6;
  transition:
    box-shadow var(--motion-duration-fast) ease,
    background-color var(--motion-duration-fast) ease;
}

.feedback-consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.feedback-consent a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.feedback-consent a:hover {
  color: var(--accent);
}

.feedback-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.feedback-form__footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px 16px;
  align-items: end;
  margin-top: 0;
  padding-top: 14px;
  border-top: 1px solid rgba(87, 61, 42, 0.08);
}

.feedback-form__footer-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.feedback-form__note {
  margin: 0;
  color: rgba(98, 77, 64, 0.74);
  font-size: 13px;
  line-height: 1.5;
}

.feedback-form__hint {
  margin: 0;
  color: var(--muted);
  min-height: 1.6em;
  line-height: 1.6;
}

.feedback-form__hint.is-error {
  color: var(--danger);
}

.feedback-captcha:focus-within,
.feedback-consent:focus-within,
.export-confirm:focus-within,
.brand-auth__check:focus-within {
  box-shadow: var(--focus-ring-soft);
}

.feedback-form .primary-button {
  min-width: 220px;
}

.feedback-form .primary-button:disabled {
  opacity: 0.56;
  box-shadow: none;
  cursor: not-allowed;
}

.support-grid .feedback-form,
.support-grid .info-list {
  align-self: stretch;
  min-width: 0;
}

.support-grid .feedback-form {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}

.support-grid .feedback-form .field-grid,
.support-grid .info-list {
  align-content: start;
}

.info-list {
  display: grid;
  gap: 18px;
  padding: 0 32px 32px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.info-section .panel__hint {
  padding-left: 0;
}

.info-section {
  overflow: hidden;
}

.info-item {
  width: 100%;
  max-width: 100%;
  border: 1px solid rgba(62, 57, 49, 0.07);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(249, 245, 238, 0.52));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    var(--shadow-soft);
  overflow: hidden;
  min-width: 0;
  transition:
    border-color var(--motion-duration-fast) ease,
    box-shadow var(--motion-duration-fast) ease,
    transform var(--motion-duration-fast) var(--motion-ease-soft);
}

.info-item[open] {
  background:
    radial-gradient(circle at 100% 0%, rgba(215, 199, 174, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(246, 242, 236, 0.82));
  border-color: rgba(89, 97, 75, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 18px 38px rgba(49, 43, 37, 0.07);
}

.info-item summary {
  display: block;
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 24px 62px 24px 26px;
  font-family: var(--serif);
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.08;
  font-weight: 400;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.info-item summary::-webkit-details-marker {
  display: none;
}

.info-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.88);
  color: var(--accent-dark);
  font-family: var(--sans);
  font-size: 21px;
  line-height: 1;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 8px 16px rgba(49, 43, 37, 0.06);
}

.info-item[open] summary::after {
  content: "−";
}

.info-item__body {
  display: grid;
  gap: 14px;
  padding: 0 26px 26px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.info-item__body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.workspace__top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  padding: 0 4px;
}

.workspace__demo-note {
  display: grid;
  gap: 6px;
  max-width: 340px;
  padding: 16px 18px;
  border: 1px solid rgba(89, 97, 75, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 12px 24px rgba(49, 43, 37, 0.05);
}

.workspace__demo-note strong {
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.workspace__demo-note span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.embed-hall-switcher {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.embed-hall-switcher__label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.embed-hall-switcher__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.embed-hall-switcher__button {
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid rgba(87, 61, 42, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  transition:
    border-color var(--motion-duration-fast) ease,
    color var(--motion-duration-fast) ease,
    transform var(--motion-duration-fast) var(--motion-ease-soft),
    box-shadow var(--motion-duration-fast) ease;
}

.embed-hall-switcher__button:hover {
  border-color: rgba(157, 110, 82, 0.28);
  box-shadow: var(--shadow-soft);
}

.embed-hall-switcher__button.is-active {
  border-color: rgba(157, 110, 82, 0.32);
  background: rgba(157, 110, 82, 0.1);
  color: var(--accent-dark);
  box-shadow: inset 0 0 0 1px rgba(157, 110, 82, 0.08);
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.summary-card {
  padding: 18px 20px;
  border: 1px solid rgba(62, 57, 49, 0.07);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(249, 245, 238, 0.52));
  transition: 0.2s ease;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.76),
    var(--shadow-soft);
}

.summary-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 8px;
}

.summary-card strong {
  font-size: 32px;
  font-family: var(--sans);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
}

.summary-card.has-alert {
  border-color: rgba(217, 119, 6, 0.28);
  background-image:
    linear-gradient(180deg, rgba(255, 250, 245, 0.96), rgba(217, 119, 6, 0.08)),
    var(--texture-card);
  background-repeat: repeat, repeat;
  background-position: center, center;
  background-size: auto, 420px auto;
  box-shadow: inset 0 0 0 1px rgba(217, 119, 6, 0.1);
}

.summary-card.has-alert span,
.summary-card.has-alert strong {
  color: #a35d07;
}

.workspace__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.8fr);
  gap: 18px;
  align-items: start;
}

.constructor-live-page .workspace__layout {
  grid-template-columns: minmax(0, 1.72fr) minmax(420px, 0.98fr);
  gap: 22px;
}

.workspace__cta-strip {
  grid-column: 1;
  margin-top: -4px;
}

.canvas-panel,
.sidebar {
  padding: 22px;
}

.canvas-panel {
  border-radius: 28px;
}

.sidebar {
  border-radius: 28px;
}

.sidebar {
  position: static;
}

.picker-button--icon {
  display: flex;
  align-items: center;
  gap: 12px;
}

.picker-button__shape {
  flex: 0 0 auto;
  display: inline-block;
  width: 26px;
  height: 26px;
  border: 2px solid rgba(89, 97, 75, 0.82);
}

.picker-button__shape--circle {
  border-radius: 999px;
}

.picker-button__shape--rect {
  width: 42px;
  height: 20px;
  border-radius: 0;
}

.picker-button__shape--oval {
  width: 44px;
  height: 18px;
  border-radius: 999px;
}

.picker-button__label {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 14px;
  line-height: 1.3;
  overflow-wrap: anywhere;
  word-break: normal;
}

.wizard-step--tables .picker-button {
  min-height: 112px;
  padding-inline: 18px;
}

.wizard-step--tables .picker-button__label {
  font-size: 12px;
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.wizard-step--tables .picker-button__shape--rect {
  width: 40px;
}

.wizard-step--tables .picker-button__shape--oval {
  width: 54px;
}

#add-obstacle-rect-btn,
#add-zone-rect-btn {
  padding-left: 12px;
  padding-right: 12px;
  align-items: flex-start;
}

#add-obstacle-rect-btn .picker-button__shape,
#add-zone-rect-btn .picker-button__shape {
  width: 42px;
  height: 20px;
  border-radius: 0;
  margin-top: 1px;
}

#add-obstacle-rect-btn .picker-button__label,
#add-zone-rect-btn .picker-button__label {
  font-size: 11px;
  line-height: 1.16;
  overflow-wrap: normal;
  word-break: normal;
}

.canvas-panel__top {
  display: block;
}

.canvas-panel__hint {
  max-width: 640px;
}

.canvas-panel__actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 12px;
  margin-top: 0;
  width: 100%;
  padding: 14px;
  border: 1px solid rgba(62, 57, 49, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.54);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 14px 28px rgba(49, 43, 37, 0.05);
}

.canvas-panel__actions .secondary-button,
.canvas-panel__actions .primary-button {
  width: 100%;
  min-width: 0;
  min-height: 64px;
  padding-inline: 20px;
  border-radius: 18px;
  text-align: center;
  text-wrap: balance;
  box-shadow: 0 8px 20px rgba(49, 43, 37, 0.05);
}

.hall-scroll {
  margin-top: 18px;
  padding: 16px;
  overflow: auto;
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 0%, rgba(215, 199, 174, 0.14), transparent 42%),
    linear-gradient(rgba(251, 248, 243, 0.94), rgba(244, 239, 232, 0.9));
  border: 1px solid rgba(62, 57, 49, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.hall {
  position: relative;
  border: 2px solid rgba(89, 97, 75, 0.72);
  border-radius: 30px;
  background: linear-gradient(180deg, #fdfbf8 0%, #f0ebe2 100%);
  overflow: hidden;
  touch-action: none;
  user-select: none;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.4),
    0 18px 36px rgba(49, 43, 37, 0.06);
}

.constructor-live-page .hall-scroll {
  padding: 20px;
}

.constructor-live-page .canvas-panel,
.constructor-live-page .sidebar {
  padding: 26px;
}

.workspace--demo .hall,
.workspace--demo .wizard-step,
.workspace--demo .summary-card {
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.workspace--demo:hover .hall,
.workspace--demo:focus-within .hall {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.4),
    0 22px 44px rgba(49, 43, 37, 0.08);
}

.workspace--demo .field input[disabled],
.workspace--demo button[disabled] {
  cursor: default;
}

.hall::before,
.hall::after {
  content: "";
  position: absolute;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.hall.is-empty::before {
  inset: 17% 13% 18%;
  z-index: 1;
  opacity: 1;
  background:
    radial-gradient(circle at 24% 36%, rgba(215, 199, 174, 0.26) 0 34px, transparent 35px),
    radial-gradient(circle at 54% 30%, rgba(215, 199, 174, 0.18) 0 44px, transparent 45px),
    radial-gradient(circle at 74% 58%, rgba(215, 199, 174, 0.22) 0 38px, transparent 39px),
    radial-gradient(circle at 41% 68%, rgba(215, 199, 174, 0.18) 0 30px, transparent 31px),
    linear-gradient(rgba(89, 97, 75, 0.05), rgba(89, 97, 75, 0.05));
  border-radius: 26px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.5));
}

.hall.is-empty::after {
  content: "Добавь стол, зону или препятствие\Aи начни собирать схему";
  top: 50%;
  left: 50%;
  z-index: 2;
  opacity: 1;
  width: min(70%, 360px);
  padding: 20px 22px;
  border: 1px solid rgba(62, 57, 49, 0.07);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 14px 28px rgba(49, 43, 37, 0.06);
  color: rgba(38, 36, 31, 0.78);
  font-size: 14px;
  line-height: 1.65;
  font-weight: 600;
  text-align: center;
  white-space: pre-line;
  transform: translate(-50%, -50%);
}

.hall__grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(89, 97, 75, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(89, 97, 75, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.46;
}

.hall__chip {
  position: absolute;
  z-index: 3;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--muted);
  font-size: 12px;
  box-shadow: 0 8px 18px rgba(49, 43, 37, 0.05);
  border: 1px solid rgba(62, 57, 49, 0.06);
}

.hall__chip--title {
  top: 14px;
  left: 14px;
  font-weight: 700;
  color: var(--accent-dark);
}

.hall__chip--top {
  top: 14px;
  right: 14px;
}

.hall__chip--left {
  left: 14px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: left center;
}

.hall__chip--bottom {
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
}

.hall__zones,
.hall__obstacles,
.hall__tables {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hall__obstacles {
  z-index: 2;
}

.hall__zones {
  z-index: 3;
}

.hall__tables {
  z-index: 5;
}

.hall[data-active-step="3"] .hall__obstacles {
  z-index: 6;
}

.hall[data-active-step="4"] .hall__zones {
  z-index: 6;
}

.hall[data-active-step="5"] .hall__tables {
  z-index: 6;
}

.picker-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.picker-button {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 68px;
  padding: 16px 18px;
  border: 1px solid rgba(62, 57, 49, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  font-weight: 800;
  text-align: left;
  transition:
    transform var(--motion-duration-fast) var(--motion-ease-soft),
    border-color var(--motion-duration-fast) ease,
    box-shadow var(--motion-duration-fast) ease,
    color var(--motion-duration-fast) ease,
    background-color var(--motion-duration-fast) ease;
}

.picker-button:hover {
  border-color: rgba(89, 97, 75, 0.22);
  color: var(--accent-dark);
}

.obstacle-box,
.zone-box {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  cursor: grab;
  text-align: center;
  padding: 14px;
  font-size: 12px;
  line-height: 1.45;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.obstacle-box:active,
.zone-box:active {
  cursor: grabbing;
}

.obstacle-box {
  border: 1px solid rgba(124, 83, 61, 0.24);
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(124, 83, 61, 0.18), rgba(124, 83, 61, 0.08)),
    rgba(124, 83, 61, 0.12);
  color: rgba(92, 58, 41, 0.98);
  z-index: 2;
}

.obstacle-box--circle {
  border-radius: 999px;
}

.zone-box {
  border: 1px dashed rgba(142, 111, 96, 0.42);
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(142, 111, 96, 0.06)),
    rgba(142, 111, 96, 0.06);
  color: var(--accent-dark);
}

.zone-box--circle {
  border-radius: 999px;
}

.table-wrap {
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  cursor: grab;
  z-index: 5;
}

.table-wrap.is-selected {
  z-index: 12;
}

.table-wrap:active {
  cursor: grabbing;
}

.table-wrap.is-warning .table-shape {
  box-shadow:
    0 0 0 7px rgba(204, 122, 45, 0.18),
    0 14px 28px rgba(72, 49, 37, 0.18);
}

.table-wrap.is-selected .table-shape {
  box-shadow:
    0 0 0 6px rgba(142, 111, 96, 0.16),
    0 14px 30px rgba(72, 49, 37, 0.2);
}

.table-wrap.is-full .table-shape {
  background: #c79c62;
}

.table-warning-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  z-index: 2;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(217, 119, 6, 0.96);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(217, 119, 6, 0.24);
  pointer-events: none;
}

.chair {
  position: absolute;
  border-radius: 14px;
  border: 1px solid rgba(87, 61, 42, 0.12);
  background: #dec5ad;
  box-shadow: 0 3px 8px rgba(65, 47, 36, 0.08);
}

.table-shape {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  box-shadow: 0 12px 22px rgba(72, 49, 37, 0.14);
  pointer-events: none;
}

.table-shape--round {
  background: #9d6e52;
  border-radius: 50%;
}

.table-shape--rect {
  background: #9d6e52;
  border-radius: 0;
}

.table-shape--presidium {
  background: #7c533d;
  border-radius: 999px / 62%;
}

.table-name {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1;
}

.table-info {
  font-size: 11px;
  opacity: 0.95;
}

.toolbar {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.toolbar__group {
  align-items: center;
}

.scheme-note {
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(142, 111, 96, 0.08);
  border: 1px solid rgba(142, 111, 96, 0.1);
  color: var(--muted);
  line-height: 1.6;
}

.export-confirm {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(62, 57, 49, 0.08);
  color: var(--text);
  line-height: 1.55;
}

.export-confirm input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
  flex: 0 0 auto;
}

.export-confirm span {
  display: block;
}

.export-confirm__copy {
  display: grid;
  gap: 6px;
}

.export-confirm__text,
.export-confirm__agreement {
  display: block;
}

.export-confirm__agreement {
  color: var(--muted);
}

.export-confirm__link {
  color: var(--accent-dark);
  text-decoration: underline;
  text-decoration-color: rgba(127, 87, 63, 0.34);
  text-underline-offset: 0.14em;
  transition: color 0.18s ease, text-decoration-color 0.18s ease;
}

.export-confirm__link:hover {
  color: var(--accent-dark);
  text-decoration-color: rgba(127, 87, 63, 0.7);
}

.pdf-template-picker {
  margin-top: 16px;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.66), rgba(249, 245, 238, 0.48));
  border: 1px solid rgba(62, 57, 49, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    var(--shadow-soft);
}

.pdf-template-picker__heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.pdf-template-picker__heading h3 {
  margin: 0;
}

.pdf-template-picker__hint {
  max-width: 460px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.seo-copy__hint {
  max-width: 760px;
  margin-top: 10px;
}

.pdf-template-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.pdf-template-card {
  display: grid;
  gap: 10px;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(62, 57, 49, 0.08);
  background: rgba(255, 255, 255, 0.62);
  text-align: left;
  color: var(--text);
  transition:
    transform var(--motion-duration-fast) var(--motion-ease-soft),
    border-color var(--motion-duration-fast) ease,
    box-shadow var(--motion-duration-fast) ease,
    background var(--motion-duration-fast) ease;
}

.pdf-template-card:hover {
  border-color: rgba(89, 97, 75, 0.24);
  box-shadow: var(--shadow-soft);
}

.pdf-template-card.is-locked {
  cursor: not-allowed;
  opacity: 0.62;
}

.pdf-template-card.is-locked:hover {
  transform: none;
  box-shadow: none;
}

.pdf-template-card.is-selected {
  border-color: rgba(89, 97, 75, 0.34);
  background: linear-gradient(rgba(89, 97, 75, 0.08), rgba(255, 255, 255, 0.72));
  box-shadow: inset 0 0 0 1px rgba(89, 97, 75, 0.1);
}

.pdf-template-card__preview {
  position: relative;
  aspect-ratio: 3600 / 2544;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(247, 242, 234, 0.8);
  border: 1px solid rgba(87, 61, 42, 0.08);
}

.pdf-template-card__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pdf-template-card__meta {
  display: grid;
  gap: 4px;
}

.pdf-template-card__name {
  font-size: 14px;
  font-weight: 700;
}

.pdf-template-card__desc {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.pdf-template-card__check {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--accent-dark);
  font-size: 14px;
  box-shadow: 0 8px 16px rgba(75, 54, 42, 0.12);
}

.pdf-template-card__lock {
  position: absolute;
  top: 10px;
  right: 10px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 8px 16px rgba(75, 54, 42, 0.12);
}

.toolbar__group span {
  align-self: center;
  color: var(--muted);
  font-size: 14px;
}

.sidebar__empty {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.sidebar__icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: rgba(142, 111, 96, 0.1);
  color: var(--accent-dark);
  font-size: 28px;
}

.sidebar__selected {
  display: grid;
  gap: 16px;
}

.sidebar__selected-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.warning-box {
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--warning-soft);
  color: #9a6529;
  line-height: 1.45;
  border-left: 4px solid rgba(204, 122, 45, 0.72);
}

.guest-form {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background-image: var(--container-bg);
  background-repeat: repeat, repeat;
  background-position: center, center;
  background-size: auto, 520px auto;
  box-shadow: var(--shadow-soft);
}

.guest-form__header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.guest-form__button {
  width: 100%;
  margin-top: 12px;
}

.guest-list {
  display: grid;
  gap: 10px;
  max-height: 240px;
  overflow: auto;
  padding-right: 4px;
}

.guest-item,
.guest-list__empty {
  padding: 12px 14px;
  border-radius: 14px;
  background-image: var(--container-bg);
  background-repeat: repeat, repeat;
  background-position: center, center;
  background-size: auto, 460px auto;
  border: 1px solid rgba(87, 61, 42, 0.06);
}

.guest-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.guest-item__name {
  font-size: 14px;
  line-height: 1.4;
}

.guest-item input {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(87, 61, 42, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  outline: none;
}

.guest-item__remove {
  border: 0;
  background: transparent;
  color: var(--danger);
}

.guest-list__empty {
  color: var(--muted);
  text-align: center;
}

.modal-stat {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 14px 16px;
  border: 1px solid rgba(87, 61, 42, 0.08);
  border-radius: 16px;
  background-image: var(--container-bg);
  background-repeat: repeat, repeat;
  background-position: center, center;
  background-size: auto, 420px auto;
}

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

.modal-stat strong {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
}

#object-guest-capacity-text.is-error {
  color: var(--danger);
  font-weight: 700;
}

.object-modal[hidden] {
  display: none;
}

.object-modal [hidden] {
  display: none !important;
}

.object-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
}

.object-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(38, 26, 20, 0.34);
  backdrop-filter: blur(4px);
}

.object-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  margin: 12px auto;
  padding: 22px;
  overflow: auto;
  border: 1px solid rgba(87, 61, 42, 0.1);
  border-radius: 28px;
  background-image: var(--card);
  background-repeat: repeat, repeat;
  background-position: center, center;
  background-size: auto, 560px auto;
  box-shadow: 0 24px 80px rgba(46, 29, 20, 0.22);
}

.object-modal__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.object-modal__head h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.object-modal__meta {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.object-modal__close {
  min-width: 120px;
}

.object-modal__actions-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.guest-form--modal,
.object-modal .guest-list,
.object-modal .warning-box,
.object-modal .field-grid,
.object-modal__footer {
  margin-top: 18px;
}

.object-modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.brand-auth-page {
  min-height: 100vh;
  background-image:
    radial-gradient(circle at top left, rgba(215, 199, 174, 0.2), transparent 30%),
    radial-gradient(circle at right 12%, rgba(89, 97, 75, 0.1), transparent 24%),
    linear-gradient(180deg, rgba(244, 241, 234, 0.98), rgba(240, 236, 228, 0.99)),
    var(--texture-page);
  background-repeat: no-repeat, no-repeat, repeat, repeat;
  background-position: top left, top right, center, center;
  background-size: auto, auto, auto, auto;
}

.brand-auth-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.2), transparent 80%);
  opacity: 0.16;
}

.brand-auth {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 28px));
  margin: 0 auto;
  padding: 28px 0 38px;
}

.brand-auth__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.brand-auth__topbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.brand-auth__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(62, 57, 49, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 24px rgba(49, 43, 37, 0.05);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.brand-auth__back:hover {
  border-color: rgba(62, 57, 49, 0.18);
  box-shadow: 0 14px 28px rgba(49, 43, 37, 0.08);
}

.brand-auth__nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.brand-auth__nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(62, 57, 49, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(49, 43, 37, 0.04);
}

.brand-auth__nav-link:hover {
  border-color: rgba(62, 57, 49, 0.18);
  box-shadow: 0 12px 24px rgba(49, 43, 37, 0.07);
}

.brand-auth__card {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  margin-top: 18px;
  border: 1px solid rgba(62, 57, 49, 0.08);
  border-radius: 34px;
  overflow: hidden;
  background-image: var(--texture-card);
  box-shadow: var(--shadow);
}

.brand-auth__story {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  border-right: 1px solid rgba(62, 57, 49, 0.08);
  background: linear-gradient(180deg, rgba(73, 79, 68, 0.82), rgba(54, 60, 51, 0.86));
}

.brand-auth__story::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 42%);
}

.brand-auth__panel h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.brand-auth__art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.brand-auth__art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.brand-auth__panel {
  padding: 34px 34px 30px;
  background-image: var(--container-bg);
  box-shadow: inset 1px 0 0 rgba(63, 57, 49, 0.05);
}

.brand-auth__logo {
  display: block;
  width: min(100%, 218px);
  height: auto;
  margin-bottom: 26px;
}

.brand-auth__panel h2 {
  font-size: clamp(34px, 4vw, 42px);
  line-height: 0.94;
}

.brand-auth__panel-lead {
  margin: 12px 0 0;
  max-width: 42ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.68;
}

.brand-auth__next-step {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  padding: 15px 16px;
  border-radius: 18px;
  border: 1px solid rgba(89, 97, 75, 0.16);
  background: linear-gradient(180deg, rgba(89, 97, 75, 0.07), rgba(89, 97, 75, 0.04));
}

.brand-auth__next-step strong {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.brand-auth__next-step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.brand-auth__alert {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid transparent;
  font-size: 14px;
  line-height: 1.6;
}

.brand-auth__alert strong {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-auth__alert--error {
  background: rgba(201, 77, 67, 0.08);
  border-color: rgba(201, 77, 67, 0.18);
  color: #7f332d;
}

.brand-auth__alert--success {
  background: rgba(49, 109, 70, 0.09);
  border-color: rgba(49, 109, 70, 0.16);
  color: #2f6846;
}

.brand-auth__alert--info {
  background: rgba(89, 97, 75, 0.08);
  border-color: rgba(89, 97, 75, 0.14);
  color: var(--accent-dark);
}

.brand-auth__form {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.brand-auth__field {
  display: grid;
  gap: 8px;
}

.brand-auth__field-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(38, 35, 31, 0.84);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand-auth__required {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-auth__input {
  width: 100%;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid rgba(63, 57, 49, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    0 10px 20px rgba(49, 43, 37, 0.04);
  transition:
    border-color var(--motion-duration-fast) ease,
    box-shadow var(--motion-duration-fast) ease,
    background-color var(--motion-duration-fast) ease,
    transform var(--motion-duration-fast) var(--motion-ease-soft);
}

.brand-auth__input::placeholder {
  color: rgba(108, 103, 95, 0.48);
}

.brand-auth__input:hover {
  border-color: rgba(63, 57, 49, 0.18);
}

.brand-auth__input:focus {
  outline: none;
  border-color: rgba(89, 97, 75, 0.44);
  box-shadow: 0 0 0 4px rgba(89, 97, 75, 0.12);
  transform: translateY(-1px);
}

.brand-auth__hint,
.brand-auth__footnote {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.brand-auth__check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.brand-auth__check input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.brand-auth__utility {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.brand-auth__utility-copy {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.brand-auth__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.brand-auth__actions--stacked {
  justify-content: flex-start;
}

.brand-auth__info-card {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(63, 57, 49, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

.brand-auth__info-card-title {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
}

.brand-auth__step-list {
  display: grid;
  gap: 10px;
}

.brand-auth__step {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.brand-auth__step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(89, 97, 75, 0.1);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
}

.brand-auth__step-body strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  color: var(--text);
}

.brand-auth__step-body span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.58;
}

.auth-page {
  min-height: 100vh;
  padding: 24px 18px 36px;
}

.auth-main {
  display: grid;
  gap: 24px;
}

.auth-card {
  padding: 26px;
  border: 1px solid rgba(97, 78, 66, 0.1);
  border-radius: 28px;
  background-image: var(--texture-card-light);
  box-shadow: var(--shadow-soft);
}

.auth-card--notice {
  background-image: linear-gradient(145deg, rgba(255, 249, 240, 0.94), rgba(252, 244, 232, 0.94));
}

.auth-card__header {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.auth-card__header h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.02;
  font-weight: 500;
}

.auth-card__lead {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.auth-form {
  display: grid;
  gap: 16px;
}

.auth-field {
  display: grid;
  gap: 8px;
}

.auth-field__label {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.auth-field__input {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid rgba(97, 78, 66, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.76),
    0 8px 20px rgba(75, 54, 42, 0.05);
  transition:
    border-color var(--motion-duration-fast) ease,
    box-shadow var(--motion-duration-fast) ease,
    background-color var(--motion-duration-fast) ease,
    transform var(--motion-duration-fast) var(--motion-ease-soft);
}

.auth-field__input:focus {
  outline: none;
  border-color: rgba(157, 110, 82, 0.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 0 0 4px rgba(157, 110, 82, 0.12);
  transform: translate3d(0, -1px, 0);
}

.auth-status {
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(97, 78, 66, 0.1);
  font-size: 14px;
  line-height: 1.6;
}

.auth-status--error {
  background: rgba(201, 77, 67, 0.08);
  border-color: rgba(201, 77, 67, 0.18);
  color: #7f332d;
}

.auth-status--success {
  background: rgba(139, 116, 86, 0.1);
  border-color: rgba(139, 116, 86, 0.18);
  color: #5d4333;
}

.auth-status--info {
  background: rgba(157, 110, 82, 0.08);
  border-color: rgba(157, 110, 82, 0.18);
  color: #6b4f3b;
}

.auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.auth-actions--inline {
  align-items: center;
}

.auth-actions--stack {
  margin-top: 0;
}

.auth-footnote {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.auth-link {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: none;
}

.auth-link:hover {
  text-decoration: underline;
}

@media (hover: hover) and (pointer: fine) {
  .subpage-backlink:hover,
  .hero__auth-link:hover,
  .hero__button:hover,
  .primary-button:hover,
  .secondary-button:hover,
  .danger-button:hover,
  .hero__ghost:hover,
  .audio-pill__toggle:hover,
  .instruction-toc__link:hover,
  .embed-hall-switcher__button:hover,
  .picker-button:hover,
  .pdf-template-card:hover,
  .brand-auth__back:hover {
    transform: var(--motion-lift-1);
  }

  .field input:hover,
  .feedback-form textarea:hover,
  .feedback-captcha__row input:hover,
  .brand-auth__input:hover,
  .auth-field__input:hover {
    border-color: rgba(89, 97, 75, 0.22);
  }

  .tariff-card:hover,
  .tariff-card:focus-within {
    border-color: rgba(89, 97, 75, 0.22);
    box-shadow: 0 20px 34px rgba(49, 43, 37, 0.08);
  }
}

.subpage-backlink:active,
.hero__auth-link:active,
.hero__button:active,
.primary-button:active,
.secondary-button:active,
.danger-button:active,
.hero__ghost:active,
.audio-pill__toggle:active,
.instruction-toc__link:active,
.embed-hall-switcher__button:active,
.picker-button:active,
.pdf-template-card:active,
.brand-auth__back:active {
  transform: var(--motion-press);
}

@media (hover: none), (pointer: coarse) {
  .subpage-backlink:hover,
  .hero__auth-link:hover,
  .hero__button:hover,
  .primary-button:hover,
  .secondary-button:hover,
  .danger-button:hover,
  .hero__ghost:hover,
  .audio-pill__toggle:hover,
  .instruction-toc__link:hover,
  .embed-hall-switcher__button:hover,
  .picker-button:hover,
  .pdf-template-card:hover,
  .brand-auth__back:hover {
    transform: none;
  }

  .instruction-toc__link:hover,
  .pdf-template-card:hover,
  .tariff-card:hover {
    box-shadow: var(--shadow-soft);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .has-motion-polish .ui-reveal,
  .has-motion-polish .ui-reveal.is-revealed {
    opacity: 1;
    transform: none;
  }
}

.account-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.account-card {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 10px;
  min-height: 168px;
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(97, 78, 66, 0.1);
  border-radius: 24px;
  background-image: var(--texture-card-light);
  box-shadow: var(--shadow-soft);
}

.account-card__label {
  min-width: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.account-card__value {
  min-width: 0;
  font-family: var(--serif);
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.02;
  font-weight: 500;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.account-card__hint {
  min-width: 0;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.account-subscription__grid,
.account-branding__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 18px;
  align-items: start;
}

.account-subscription__status,
.account-plan-picker,
.account-branding__preview {
  display: grid;
  gap: 16px;
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(97, 78, 66, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 28px rgba(75, 54, 42, 0.05);
}

.account-subscription__status-head {
  display: grid;
  gap: 10px;
}

.account-subscription__status h3 {
  margin: 10px 0 0;
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1;
  font-weight: 500;
}

.account-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(89, 97, 75, 0.12);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.account-mini-card {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(97, 78, 66, 0.08);
  background: rgba(255, 255, 255, 0.82);
}

.account-mini-card__label {
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.account-mini-card__value {
  color: var(--text);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
}

.account-mini-card__hint,
.account-subscription__note,
.account-branding__preview p,
.account-draft-note p,
.account-plan-picker__summary,
.account-plan-picker__annual {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.account-inline-form,
.account-plan-picker__form {
  display: grid;
  gap: 14px;
}

.account-check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 16px 18px;
  border: 1px solid rgba(97, 78, 66, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
}

.account-check__input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: #344761;
}

.account-check__content {
  display: grid;
  gap: 4px;
}

.account-check__content strong {
  color: var(--text);
  font-size: 16px;
  line-height: 1.4;
}

.account-check__content span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.account-plan-picker__eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.account-plan-picker__panel {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.account-plan-picker__price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 8px 12px;
}

.account-plan-picker__price-row strong {
  color: var(--text);
  font-size: clamp(42px, 4vw, 58px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.92;
}

.account-plan-picker__price-row span {
  color: var(--accent-dark);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.account-plan-picker__summary-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 249, 242, 0.84);
  border: 1px solid rgba(157, 184, 205, 0.24);
}

.account-draft-note {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(89, 97, 75, 0.16);
  background: rgba(244, 248, 239, 0.82);
}

.account-draft-note strong {
  color: var(--accent-dark);
  font-size: 15px;
  line-height: 1.45;
}

.account-branding__preview {
  align-content: start;
}

.account-branding__preview img {
  display: block;
  max-width: min(100%, 280px);
  max-height: 120px;
  object-fit: contain;
}

.account-branding__placeholder {
  display: grid;
  place-items: center;
  min-height: 120px;
  padding: 20px;
  border: 1px dashed rgba(97, 78, 66, 0.18);
  border-radius: 20px;
  background: rgba(255, 249, 242, 0.78);
  color: var(--accent-dark);
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.08;
  text-align: center;
}

@media (max-width: 980px) {
  .brand-auth__card {
    grid-template-columns: 1fr;
  }

  .brand-auth__story {
    border-right: 0;
    border-bottom: 1px solid rgba(62, 57, 49, 0.08);
    min-height: clamp(320px, 48vw, 440px);
  }

  .hero__sticky-inner,
  .subpage-header__inner,
  .subpage-hero__grid,
  .subpage-grid,
  .subpage-cta__grid {
    grid-template-columns: 1fr;
  }

  .tariffs-page .subpage-hero__grid,
  .about-page .subpage-hero__grid,
  .legal-page .subpage-hero__grid,
  .instruction-page .subpage-hero__grid,
  .about-page .subpage-grid,
  .about-page .subpage-cta__grid,
  .legal-page .subpage-cta__grid,
  .instruction-page .subpage-cta__grid {
    grid-template-columns: 1fr;
  }

  .feedback-hero__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
    gap: 22px;
  }

  .feedback-section__grid {
    grid-template-columns: minmax(220px, 0.6fr) minmax(0, 1.4fr);
  }

  .feedback-section__copy {
    padding-right: 22px;
  }

  .tariffs-page .subpage-hero__content,
  .about-page .subpage-hero__content,
  .legal-page .subpage-hero__content,
  .instruction-page .subpage-hero__content {
    max-width: none;
  }

  .subpage-header__nav,
  .subpage-header__actions {
    justify-content: flex-start;
  }

  .subpage-hero__content {
    max-width: none;
  }

  .tariffs-panel__grid,
  .tariffs-compare {
    grid-template-columns: 1fr;
  }

  .blog-route-grid,
  .blog-card-grid,
  .blog-related-grid,
  .blog-toc {
    grid-template-columns: 1fr;
  }

  .account-subscription__grid,
  .account-branding__layout {
    grid-template-columns: 1fr;
  }

  .workspace__layout {
    grid-template-columns: 1fr;
  }

  .workspace__cta-strip {
    grid-column: 1 / -1;
    margin-top: -2px;
  }

  .support-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .support-grid .panel__heading {
    gap: 12px;
  }

  .support-grid .panel__hint {
    width: 100%;
  }

  .pdf-template-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sidebar {
    position: static;
  }

  .sidebar__empty {
    min-height: auto;
    padding: 18px 0;
  }

  .constructor-live-page {
    --constructor-header-offset: 204px;
  }

  .constructor-shell__utility {
    grid-template-columns: minmax(180px, auto) minmax(0, 1fr);
    align-items: start;
    gap: 14px 18px;
  }

  .constructor-shell__primary-actions {
    grid-column: 2;
    grid-row: 1;
  }

  .constructor-shell__secondary-actions {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: end;
  }

}

@media (max-width: 820px) {
  :root {
    --public-header-offset: 168px;
  }

  .constructor-live-page {
    --constructor-header-offset: 282px;
  }

  .feedback-hero__grid {
    grid-template-columns: 1fr;
  }

  .feedback-section__grid {
    grid-template-columns: 1fr;
  }

  .subpage-header {
    padding-top: 0;
  }

  .subpage-header__inner {
    padding: 16px 18px;
    border-radius: 0 0 24px 24px;
  }

  .subpage-hero__inner,
  .subpage-panel,
  .subpage-cta {
    padding-left: 18px;
    padding-right: 18px;
  }

  .feedback-hero__aside {
    padding: 18px;
  }

  .feedback-section__copy {
    padding: 28px 18px 18px;
    border-right: 0;
    border-bottom: 1px solid rgba(87, 61, 42, 0.08);
  }

  .feedback-section__form-wrap .feedback-form {
    padding-top: 24px;
  }

  .blog-route-card,
  .blog-card,
  .blog-related-card,
  .blog-summary-card,
  .blog-next-step-card {
    padding: 20px;
    border-radius: 20px;
  }

  .blog-process-list {
    padding-left: 20px;
  }

  .legal-page .subpage-hero__copy {
    padding: 14px 16px;
  }

  .legal-page--policy {
    gap: 16px;
  }

  .legal-page--policy .subpage-hero__content {
    gap: 12px;
  }

  .legal-page--policy .subpage-hero__rail {
    width: 100%;
    padding-top: 0;
  }

  .legal-page--policy .subpage-hero__rail .legal-toc {
    padding: 18px;
  }

  .legal-page--terms {
    gap: 16px;
  }

  .legal-page--terms .subpage-hero__content {
    gap: 12px;
  }

  .legal-page--terms .subpage-hero__rail {
    width: 100%;
    padding-top: 0;
  }

  .legal-page--terms .subpage-hero__rail .legal-toc {
    padding: 18px;
  }

  .legal-meta,
  .legal-toc__grid {
    grid-template-columns: 1fr;
  }

  .faq-list--subpage {
    padding-left: 18px;
    padding-right: 18px;
  }

  .subpage-stat-grid {
    grid-template-columns: 1fr;
  }

  .hero__brand {
    max-width: none;
  }

  .hero__sticky-shell {
    padding: 0 18px 0;
  }

  .hero__sticky-inner {
    padding: 16px 18px;
    border-radius: 0 0 24px 24px;
  }

  .hero__utility {
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
  }

  .hero__nav {
    order: 3;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 12px;
    width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding: 0 2px 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .hero__nav::-webkit-scrollbar {
    display: none;
  }

  .hero__nav-link {
    flex: 0 0 auto;
    padding: 6px 0;
  }

  .sidebar--studio .panel__heading {
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: start;
  }

  .hero__topbar {
    order: 2;
    justify-content: flex-start;
    justify-self: start;
    flex-wrap: wrap;
    width: 100%;
    gap: 8px;
  }

  .constructor-header {
    padding: 0 16px;
  }

  .constructor-shell {
    width: min(100%, calc(100% - 24px));
    padding-top: 16px;
  }

  .constructor-shell__topbar {
    padding: 16px 18px;
    border-radius: 0 0 24px 24px;
  }

  .constructor-shell__utility {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .constructor-shell__brand,
  .constructor-shell__primary-actions,
  .constructor-shell__secondary-actions,
  .constructor-shell__auth {
    width: 100%;
  }

  .constructor-shell__primary-actions,
  .constructor-shell__secondary-actions,
  .constructor-shell__auth {
    justify-content: flex-start;
  }

  .constructor-shell__secondary-actions {
    justify-self: stretch;
  }

  .hero__layout {
    grid-template-columns: 1fr;
  }

  .audio-pill {
    align-items: flex-start;
  }

  .hero__content,
  .panel__heading,
  .wizard__steps,
  .wizard__progress,
  .wizard__footer,
  .canvas-panel,
  .sidebar,
  .site-footer__inner {
    padding-left: 18px;
    padding-right: 18px;
  }

  .panel__heading,
  .workspace__top,
  .canvas-panel__top,
  .site-footer__meta {
    flex-direction: column;
  }

  .feedback-form__footer {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .pdf-template-picker__heading {
    flex-direction: column;
  }

  .pdf-template-picker__hint {
    max-width: none;
  }

  .summary-grid,
  .wizard__progress,
  .field-grid,
  .picker-grid,
  .feedback-captcha__row,
  .seo-copy__grid,
  .faq-list,
  .instruction-hero__top,
  .instruction-hero__summary,
  .instruction-toc__grid,
  .instruction-step__body {
    grid-template-columns: 1fr;
  }

  .instruction-hero__top {
    padding: 0 18px 24px;
  }

  .hero-note {
    grid-template-columns: 1fr;
  }

  .hero__main {
    padding: 10px 8px 0;
  }

  .hero__aside {
    padding-top: 8px;
  }

  .instruction-toc__grid {
    padding: 8px 20px 18px;
  }

  .zone-item {
    flex-direction: column;
    align-items: stretch;
  }

  .zone-item__actions {
    width: 100%;
  }

  .account-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-status-grid {
    grid-template-columns: 1fr;
  }

  .feedback-form .primary-button {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 640px) {
  :root {
    --public-header-offset: 186px;
  }

  .constructor-live-page {
    --constructor-header-offset: 404px;
  }

  .brand-auth {
    width: min(100%, calc(100% - 18px));
    padding: 18px 0 24px;
  }

  .brand-auth__topbar,
  .brand-auth__topbar .hero__topbar,
  .brand-auth__utility,
  .brand-auth__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .brand-auth__back,
  .brand-auth__story,
  .brand-auth__panel {
    width: 100%;
  }

  .brand-auth__panel {
    padding: 24px 18px 20px;
  }

  .brand-auth__story {
    min-height: clamp(280px, 72vw, 360px);
  }

  .brand-auth__panel h2 {
    font-size: 34px;
  }

  .subpage-header__nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 14px;
    width: 100%;
  }

  .subpage-header__nav a {
    font-size: 13px;
    padding: 6px 0;
  }

  .subpage-hero h1 {
    font-size: clamp(38px, 12vw, 54px);
    max-width: 9.2ch;
  }

  .tariffs-page .subpage-hero h1 {
    max-width: 9.2ch;
  }

  .about-page .subpage-hero h1,
  .legal-page .subpage-hero h1,
  .instruction-page .subpage-hero h1 {
    max-width: 12.2ch;
  }

  .legal-page .subpage-pill-list li {
    min-height: 36px;
    padding: 0 12px;
    font-size: 12px;
  }

  .legal-page--policy .subpage-hero h1 {
    max-width: 13.4ch;
  }

  .subpage-hero__lead {
    font-size: 17px;
  }

  .feedback-hero__content {
    max-width: none;
    padding-bottom: 0;
  }

  .feedback-hero__aside {
    gap: 14px;
    border-radius: 20px;
  }

  .feedback-hero__trust {
    gap: 8px;
  }

  .tariff-card {
    padding: 20px;
    border-radius: 24px;
  }

  .plan-toggle {
    width: 100%;
    padding: 6px;
  }

  .plan-toggle--inline {
    width: fit-content;
    grid-template-columns: repeat(2, minmax(92px, auto));
  }

  .plan-toggle__button {
    min-height: 78px;
    padding: 12px 14px;
  }

  .plan-toggle--card .plan-toggle__button {
    min-height: 66px;
    padding: 12px;
  }

  .plan-toggle--card .plan-toggle__label {
    font-size: 16px;
  }

  .plan-toggle--pricing .plan-toggle__button,
  .plan-toggle--account .plan-toggle__button {
    min-height: 44px;
    padding: 8px;
    border-radius: 16px;
  }

  .plan-toggle--pricing .plan-toggle__label,
  .plan-toggle--account .plan-toggle__label {
    font-size: 12px;
  }

  .plan-toggle--pricing .plan-toggle__badge,
  .plan-toggle--account .plan-toggle__badge {
    min-height: 17px;
    font-size: 9px;
  }

  .plan-price-panel__headline {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .plan-toggle--inline {
    justify-self: start;
  }

  .tariff-card__feature-list li {
    padding-left: 18px;
  }

  .tariffs-compare__item {
    padding: 16px;
  }

  .hero {
    padding-top: 20px;
  }

  .hero__sticky-shell {
    padding: 0 16px 0;
  }

  .hero__sticky-inner {
    padding: 14px 16px;
    border-radius: 0 0 22px 22px;
  }

  .hero__content {
    padding: 16px 16px 20px;
    border-radius: 30px;
  }

  .hero__utility {
    gap: 10px;
  }

  .hero__topbar {
    width: auto;
    gap: 8px;
    margin-bottom: 0;
  }

  .constructor-header {
    padding: 0 12px;
  }

  .constructor-shell {
    width: min(100%, calc(100% - 18px));
    padding-top: 14px;
  }

  .constructor-shell__topbar {
    padding: 14px 16px;
    border-radius: 0 0 22px 22px;
  }

  .constructor-shell__utility {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .constructor-shell__brand {
    width: 100%;
    max-width: none;
  }

  .constructor-shell__primary-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  #export-pdf-topbar-btn {
    order: -1;
    grid-column: 1 / -1;
  }

  .constructor-shell__secondary-actions,
  .constructor-shell__auth {
    display: grid;
    align-items: stretch;
  }

  .constructor-shell__secondary-actions {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .constructor-shell__auth {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .constructor-shell__action,
  .constructor-shell__link,
  .constructor-shell__auth .hero__auth-link {
    width: 100%;
  }

  .constructor-shell__auth .hero__auth-link {
    justify-content: center;
  }

  .hero__brand {
    max-width: 260px;
  }

  .hero__brand-logo {
    width: min(100%, 210px);
  }

  .hero__nav {
    gap: 11px;
  }

  .hero__nav-link {
    font-size: 14px;
  }

  .hero h1 {
    font-size: clamp(38px, 12vw, 54px);
    max-width: 10.2ch;
  }

  .hero__eyebrow {
    margin: 6px 0 8px;
    font-size: 11px;
    letter-spacing: 0.14em;
  }

  .hero__main {
    padding: 6px 4px 0;
  }

  .hero__actions {
    margin-top: 16px;
    gap: 10px;
  }

  .hero__lede {
    margin-top: 18px;
    font-size: 17px;
    line-height: 1.64;
    max-width: none;
  }

  .hero__badge {
    width: 100%;
    justify-content: center;
    padding-inline: 14px;
    font-size: 11px;
    letter-spacing: 0.08em;
  }

  .audio-pill {
    padding: 14px 16px;
    gap: 14px;
  }

  .audio-pill__text {
    font-size: 15px;
  }

  .audio-pill__toggle {
    width: 58px;
    height: 58px;
  }

  .planner-page {
    padding: 0 12px 36px;
  }

  .subpage-main {
    padding: 18px 12px 36px;
  }

  .subpage-backlink {
    max-width: 100%;
    margin: 0 0 16px;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 11px;
  }

  .site-footer {
    padding: 0 12px 24px;
  }

  .panel,
  .wizard-step,
  .summary-card,
  .site-footer__inner,
  .legal-panel {
    border-radius: 24px;
  }

  .zone-form {
    padding: 16px;
    border-radius: 18px;
  }

  .pdf-template-picker {
    padding: 16px;
    border-radius: 20px;
  }

  .hall-scroll {
    padding: 8px;
  }

  .hall__chip {
    font-size: 11px;
  }

  .secondary-button,
  .primary-button,
  .danger-button,
  .hero__button,
  .hero__ghost,
  .hero__auth-link {
    width: 100%;
  }

  .hero__topbar .hero__auth-link {
    width: auto;
    min-height: 42px;
    padding: 0 16px;
    font-size: 12px;
    white-space: nowrap;
  }

  .brand-auth__topbar .hero__auth-link {
    width: 100%;
  }

  .wizard__actions,
  .zone-form__actions {
    width: 100%;
  }

  .wizard__actions {
    flex-direction: column;
  }

  .wizard__actions .secondary-button,
  .wizard__actions .primary-button {
    min-width: 0;
  }

  .legal-panel__close {
    width: 100%;
  }

  .canvas-panel__actions {
    grid-template-columns: 1fr;
  }

  .canvas-panel__actions .secondary-button,
  .canvas-panel__actions .primary-button {
    width: 100%;
  }

  .panel__hint--hero {
    max-width: none;
    align-self: flex-start;
    justify-self: start;
    font-size: clamp(16px, 5vw, 20px);
  }

  .wizard-step__title {
    font-size: clamp(28px, 9vw, 36px);
  }

  .wizard-step__title--tables {
    font-size: clamp(24px, 7vw, 30px);
  }

  .wizard-step__note {
    font-size: 14px;
  }

  .wizard-step--tables .picker-button__label {
    font-size: 10.5px;
  }

  .site-footer__inner {
    padding-left: 22px;
    padding-right: 22px;
  }

  .site-footer__layout,
  .site-footer__nav {
    grid-template-columns: 1fr;
  }

  .site-footer__nav {
    justify-content: start;
    row-gap: 20px;
    padding-top: 0;
  }

  .site-footer__column {
    min-height: 0;
    gap: 10px;
  }

  .site-footer__meta {
    gap: 10px;
    text-align: left;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .instruction-step {
    padding: 20px;
  }

  .instruction-step__head h2 {
    font-size: clamp(28px, 8vw, 38px);
  }

  .instruction-step__intro {
    font-size: 16px;
  }

  .instruction-shot {
    padding: 14px;
    border-radius: 22px;
  }

  .site-footer__copyright,
  .site-footer__signature {
    text-align: left;
  }

  .site-footer__logo {
    width: min(100%, 240px);
  }

  .cookie-notice {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 14px;
    padding: 16px;
    border-radius: 18px;
  }

  .cookie-notice__button {
    width: 100%;
    min-width: 0;
  }

  body.has-cookie-notice {
    padding-bottom: 210px;
  }

  .object-modal__dialog {
    width: min(100vw - 16px, 760px);
    max-height: calc(100vh - 16px);
    margin: 8px auto;
    padding: 18px;
    border-radius: 24px;
  }

  .object-modal__head,
  .object-modal__footer {
    flex-direction: column;
  }

  .subpage-panel {
    padding: 0 18px 22px;
  }

  .pdf-template-grid {
    grid-template-columns: 1fr;
  }

  .zone-form__actions {
    padding-top: 12px;
    justify-content: stretch;
  }

  .zone-form__actions .secondary-button,
  .zone-form__actions .primary-button {
    min-width: 0;
  }

  .auth-page {
    padding-left: 12px;
    padding-right: 12px;
  }

  .auth-card,
  .account-card {
    padding: 20px 18px;
    border-radius: 24px;
  }

  .account-subscription__status,
  .account-plan-picker,
  .account-branding__preview {
    padding: 18px;
    border-radius: 22px;
  }

  .account-grid {
    grid-template-columns: 1fr;
  }

  .auth-actions {
    flex-direction: column;
  }

  .zone-item__actions {
    width: 100%;
  }

  .zone-item__actions .secondary-button,
  .zone-item__actions .danger-button {
    width: 100%;
  }
}

@media (max-width: 460px) {
  .constructor-live-page {
    --constructor-header-offset: 454px;
  }

  .constructor-shell__primary-actions,
  .constructor-shell__auth {
    grid-template-columns: 1fr;
  }
}

body.cabinet-shell {
  --cabinet-header-offset: 112px;
  margin: 0;
  min-height: 100vh;
  color: #26241f;
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top, rgba(215, 199, 174, 0.16), transparent 28%),
    linear-gradient(rgba(244, 241, 234, 0.95), rgba(240, 236, 228, 0.98)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
}

.cabinet-header-shell {
  position: sticky;
  top: 0;
  z-index: 45;
  padding: 0 12px;
  background:
    linear-gradient(180deg, rgba(244, 241, 234, 0.98), rgba(244, 241, 234, 0.98)),
    var(--texture-page);
  background-repeat: repeat, repeat;
  background-position: center, center;
  background-size: auto, auto;
}

.cabinet-header {
  width: min(1320px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px 16px;
  align-items: center;
  padding: 14px 20px;
  border: 1px solid rgba(62, 57, 49, 0.08);
  border-radius: 0 0 28px 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 244, 238, 0.98)),
    var(--texture-panel);
  background-repeat: repeat, repeat;
  background-position: center, center;
  background-size: auto, 760px auto;
  box-shadow: 0 18px 38px rgba(49, 43, 37, 0.05);
}

.cabinet-header > * {
  min-width: 0;
}

.cabinet-header__brand-group {
  display: flex;
  align-items: center;
  justify-self: start;
  gap: 14px;
  min-width: 0;
  flex-wrap: nowrap;
}

.cabinet-header__brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  width: fit-content;
  max-width: 172px;
  color: inherit;
  text-decoration: none;
}

.cabinet-header__brand img {
  display: block;
  width: 100%;
  max-width: 172px;
  height: auto;
}

.cabinet-header__backlink,
.cabinet-logout-btn,
body.cabinet-shell .button,
body.cabinet-shell .button-secondary,
body.cabinet-shell .button-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(62, 57, 49, 0.1);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.cabinet-header__backlink,
.cabinet-logout-btn,
body.cabinet-shell .button-secondary {
  background: rgba(255, 255, 255, 0.72);
  color: #26241f;
  box-shadow: 0 10px 24px rgba(49, 43, 37, 0.05);
}

.cabinet-header__nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  justify-self: stretch;
  gap: 12px;
  flex-wrap: wrap;
}

.cabinet-header__nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(62, 57, 49, 0.1);
  background: rgba(255, 255, 255, 0.72);
  color: #26241f;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 24px rgba(49, 43, 37, 0.05);
}

.cabinet-header__backlink:hover,
.cabinet-logout-btn:hover,
.cabinet-header__nav-link:hover,
body.cabinet-shell .button-secondary:hover,
body.cabinet-shell .button-danger:hover {
  border-color: rgba(62, 57, 49, 0.18);
  box-shadow: 0 14px 28px rgba(49, 43, 37, 0.08);
}

.cabinet-header__nav-link:hover {
  transform: translateY(-1px);
}

.cabinet-header__nav-link.is-active {
  border-color: rgba(62, 57, 49, 0.16);
  background: rgba(255, 255, 255, 0.9);
  color: #26241f;
  box-shadow: 0 16px 30px rgba(49, 43, 37, 0.08);
}

.cabinet-header__actions {
  display: flex;
  align-items: center;
  justify-self: end;
  justify-content: flex-end;
}

.cabinet-page {
  width: min(1320px, calc(100% - 28px));
  margin: 0 auto;
  padding: 18px 0 42px;
}

.cabinet-logout-btn {
  font: inherit;
}

body.cabinet-shell .button {
  background: linear-gradient(135deg, #59614b, #41493a);
  color: #fbf8f3;
  box-shadow: 0 16px 30px rgba(65, 73, 58, 0.22);
}

body.cabinet-shell .button-danger {
  background: rgba(182, 65, 57, 0.12);
  color: #9f2f2a;
  border-color: rgba(182, 65, 57, 0.2);
}

.cabinet-home-link:hover,
.cabinet-logout-btn:hover,
body.cabinet-shell .button:hover,
body.cabinet-shell .button-secondary:hover,
body.cabinet-shell .button-danger:hover {
  transform: translateY(-1px);
}

.cabinet-frame {
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  gap: 18px;
}

.cabinet-sidebar,
.cabinet-content {
  border: 1px solid rgba(62, 57, 49, 0.08);
  border-radius: 30px;
  box-shadow: 0 30px 70px rgba(49, 43, 37, 0.1);
}

.cabinet-sidebar {
  position: relative;
  overflow: hidden;
  padding: 24px 18px;
  background:
    linear-gradient(180deg, rgba(63, 69, 57, 0.98), rgba(48, 52, 43, 1)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: auto, 40px 40px, 40px 40px;
  color: rgba(247, 243, 237, 0.92);
}

.cabinet-sidebar::after {
  content: "";
  position: absolute;
  inset: auto -56px -56px auto;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.cabinet-content {
  padding: 24px;
  background: linear-gradient(145deg, rgba(251, 248, 243, 0.95), rgba(247, 243, 236, 0.94));
}

.cabinet-brand {
  display: grid;
  gap: 10px;
  margin: 0 0 10px;
}

.cabinet-brand img {
  display: block;
  width: min(100%, 168px);
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.94;
}

.cabinet-brand span {
  color: rgba(255, 248, 238, 0.68);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cabinet-user {
  display: grid;
  gap: 10px;
  padding: 20px 18px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(6px);
}

.cabinet-user__name {
  margin: 0;
  font-size: 23px;
  font-weight: 800;
  line-height: 1.1;
  color: #fbf8f3;
}

.cabinet-user__email,
.cabinet-user__note {
  margin: 0;
  color: rgba(247, 243, 237, 0.74);
  font-size: 14px;
  line-height: 1.55;
}

.cabinet-nav {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}

.cabinet-nav-group {
  display: grid;
  gap: 10px;
}

.cabinet-nav-label {
  margin: 0;
  color: rgba(255, 248, 238, 0.62);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cabinet-nav-links {
  display: grid;
  gap: 8px;
}

.cabinet-nav-links a {
  display: block;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 16px;
  color: rgba(247, 243, 237, 0.84);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.4;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.cabinet-nav-links a:hover,
.cabinet-nav-links a.is-active {
  background: rgba(255, 255, 255, 0.13);
  color: #ffffff;
  transform: translateX(2px);
}

.cabinet-hero {
  margin-bottom: 24px;
  padding: 26px;
  border: 1px solid rgba(62, 57, 49, 0.08);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.66), rgba(246, 241, 234, 0.88)),
    radial-gradient(circle at top right, rgba(215, 199, 174, 0.16), transparent 40%);
}

.cabinet-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.9fr);
  gap: 22px;
  align-items: start;
}

.cabinet-kicker {
  margin: 0 0 12px;
  color: #59614b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cabinet-hero h1 {
  margin: 0;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: #26241f;
}

.cabinet-hero p {
  margin: 14px 0 0;
  max-width: 64ch;
  color: #5e5b55;
  font-size: 16px;
  line-height: 1.65;
}

.cabinet-hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cabinet-hero-actions {
  margin-top: 24px;
}

.hero-facts {
  display: grid;
  gap: 12px;
}

.hero-fact {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(62, 57, 49, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.7);
}

.hero-fact__label,
.metric-card__label,
.account-mini-card__label,
.field__label {
  display: block;
  margin: 0 0 8px;
  color: #7f796f;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-fact__value {
  margin: 0;
  color: #26241f;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
}

.hero-fact__hint,
.metric-card__hint,
.muted,
.account-mini-card__hint {
  margin: 8px 0 0;
  min-width: 0;
  width: 100%;
  color: #6f6b63;
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.cabinet-body {
  display: grid;
  gap: 18px;
}

.status-banner,
.error-banner {
  min-width: 0;
  padding: 16px 18px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.status-banner {
  border: 1px solid rgba(47, 107, 67, 0.18);
  background: rgba(239, 250, 242, 0.96);
  color: #29593a;
}

.error-banner {
  border: 1px solid rgba(182, 65, 57, 0.16);
  background: rgba(255, 244, 243, 0.96);
  color: #8f322d;
}

.status-banner__link {
  color: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.metric-card,
.card {
  min-width: 0;
  border: 1px solid rgba(62, 57, 49, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 20px 44px rgba(59, 51, 43, 0.06);
}

.metric-card {
  grid-column: span 4;
  padding: 22px 20px;
}

.metric-card__value,
.account-mini-card__value {
  margin: 0;
  color: #26241f;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.card {
  grid-column: span 12;
  padding: 24px;
}

.card--span-5 {
  grid-column: span 5;
}

.card--span-6 {
  grid-column: span 6;
}

.card--span-7 {
  grid-column: span 7;
}

.card__intro,
.card__toolbar {
  display: grid;
  gap: 12px;
}

.card__toolbar {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.card__eyebrow {
  margin: 0;
  color: #59614b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.card h2,
.card h3,
.template-card h3 {
  margin: 0;
  color: #26241f;
  line-height: 1.2;
}

.card h2 {
  font-size: 28px;
}

.card__lead,
.template-card p,
.account-branding-preview p {
  margin: 0;
  min-width: 0;
  width: 100%;
  color: #5f5a52;
  font-size: 15px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.card__subheading {
  margin: 14px 0 0;
  font-size: 22px;
}

.stack {
  display: grid;
  gap: 16px;
}

.account-overview-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.account-overview-sections__item {
  min-width: 0;
  padding: 20px 20px 18px;
  border: 1px solid rgba(62, 57, 49, 0.08);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(244, 241, 234, 0.78), rgba(255, 255, 255, 0.92));
}

.account-overview-sections__item h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.15;
  color: #26241f;
}

.account-overview-sections__item p {
  margin: 10px 0 0;
  min-width: 0;
  width: 100%;
  color: rgba(38, 36, 31, 0.78);
  font-size: 16px;
  line-height: 1.72;
  overflow-wrap: anywhere;
}

.stack--compact {
  margin-top: 18px;
  gap: 10px;
}

.mini-badge,
.template-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(215, 199, 174, 0.28);
  color: #59614b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 14px 12px;
  min-width: 0;
  width: auto;
  text-align: left;
  border-bottom: 1px solid rgba(62, 57, 49, 0.08);
  font-size: 14px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.data-table th {
  color: #7b756b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.data-table tbody tr:hover td {
  background: rgba(244, 241, 234, 0.48);
}

.field {
  display: grid;
  gap: 8px;
}

.field__input,
.field__textarea {
  width: 100%;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid rgba(62, 57, 49, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: #26241f;
  font: inherit;
}

.field__textarea {
  min-height: 140px;
  resize: vertical;
}

.inline-form {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.inline-form__title {
  min-width: 0;
  font-size: 14px;
  color: #44413c;
  overflow-wrap: anywhere;
}

.template-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.template-card-form {
  min-width: 0;
}

.template-card {
  position: relative;
  display: grid;
  gap: 14px;
  width: 100%;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(62, 57, 49, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
  text-align: left;
}

.template-card--button {
  cursor: pointer;
}

.template-card--active {
  border-color: rgba(89, 97, 75, 0.34);
  box-shadow: 0 18px 38px rgba(65, 73, 58, 0.12);
}

.template-card--locked {
  opacity: 0.72;
}

.template-card__preview {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 16px;
  background: #efe8dc;
}

.template-card__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.template-card__check,
.template-card__lock {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #41493a;
  font-weight: 800;
}

.account-branding-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
}

.account-branding-preview,
.account-plan-card,
.account-mini-card {
  min-width: 0;
}

.account-branding-preview {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(62, 57, 49, 0.08);
  border-radius: 22px;
  background: rgba(251, 248, 243, 0.92);
}

.account-branding-preview img {
  display: block;
  max-width: 100%;
  max-height: 180px;
  border-radius: 16px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.84);
}

.account-branding-placeholder {
  display: grid;
  place-items: center;
  min-height: 180px;
  border: 1px dashed rgba(62, 57, 49, 0.12);
  border-radius: 16px;
  color: #59614b;
  font-size: 24px;
  font-weight: 800;
}

.account-status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.account-mini-card {
  padding: 16px;
  border: 1px solid rgba(62, 57, 49, 0.08);
  border-radius: 18px;
  background: rgba(251, 248, 243, 0.92);
}

.account-inline-form,
.account-plan-picker__form {
  display: grid;
  gap: 14px;
}

.account-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.account-check__input {
  margin-top: 3px;
}

.account-check__content {
  display: grid;
  gap: 6px;
  color: #5e5a54;
  font-size: 14px;
  line-height: 1.6;
}

.feature-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
  color: #4c4841;
  line-height: 1.65;
}

.plan-price-panel__content {
  display: grid;
}

.account-plan-picker__panel {
  display: grid;
  gap: 10px;
}

.account-plan-picker__price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.account-plan-picker__price-row strong {
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.account-plan-picker__annual,
.account-plan-picker__summary {
  margin: 0;
  color: #5f5a52;
  line-height: 1.6;
}

.account-plan-picker__summary-card {
  padding: 16px;
  border: 1px solid rgba(62, 57, 49, 0.08);
  border-radius: 18px;
  background: rgba(251, 248, 243, 0.92);
}

@media (max-width: 1120px) {
  body.cabinet-shell {
    --cabinet-header-offset: 164px;
  }

  .cabinet-header {
    grid-template-columns: auto auto;
  }

  .cabinet-header__brand-group {
    grid-column: 1;
  }

  .cabinet-header__actions {
    grid-column: 2;
  }

  .cabinet-header__nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    justify-self: stretch;
  }

  .cabinet-frame,
  .cabinet-hero-grid,
  .account-branding-layout {
    grid-template-columns: 1fr;
  }

  .metric-card {
    grid-column: span 6;
  }

  .card--span-5,
  .card--span-6,
  .card--span-7 {
    grid-column: span 12;
  }
}

@media (max-width: 780px) {
  body.cabinet-shell {
    --cabinet-header-offset: 236px;
  }

  .cabinet-header-shell {
    padding: 0 9px;
  }

  .cabinet-header {
    grid-template-columns: minmax(0, 1fr);
    padding: 14px 16px 18px;
  }

  .cabinet-header__brand-group {
    gap: 10px;
    flex-wrap: wrap;
  }

  .cabinet-header__brand img {
    width: min(100%, 148px);
  }

  .cabinet-header__nav,
  .cabinet-header__actions {
    grid-column: 1;
    justify-self: stretch;
  }

  .cabinet-header__actions {
    justify-content: flex-start;
  }

  .cabinet-header__nav-link,
  .cabinet-header__backlink,
  .cabinet-logout-btn {
    min-height: 46px;
  }

  .cabinet-page {
    width: min(100% - 18px, 100%);
    padding-top: 18px;
  }

  .cabinet-content,
  .cabinet-sidebar,
  .cabinet-hero,
  .card,
  .metric-card {
    border-radius: 22px;
  }

  .grid-cards,
  .template-grid,
  .account-status-grid {
    grid-template-columns: 1fr;
  }

  .account-overview-sections {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .metric-card,
  .card--span-5,
  .card--span-6,
  .card--span-7 {
    grid-column: span 1;
  }

  .card__toolbar,
  .inline-form {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .actions,
  .cabinet-hero-actions {
    flex-direction: column;
  }
}
