:root {
  color-scheme: light;
  --ink: #17202b;
  --ink-soft: #5e6570;
  --navy: #071724;
  --navy-2: #0b1e2e;
  --navy-3: #10283b;
  --paper: #faf8f5;
  --paper-deep: #f3efea;
  --surface: #fffefc;
  --line: #dedad5;
  --line-strong: #c9c3bc;
  --violet: #453c5d;
  --violet-soft: #675b7f;
  --gold: #efa95d;
  --gold-pale: #f8d29e;
  --coral: #e65d3c;
  --coral-dark: #c8472e;
  --green: #248255;
  --red: #b83c34;
  --shadow: 0 18px 48px rgba(20, 25, 35, .14);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sidebar: 216px;
  --topbar: 98px;
}

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

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--navy);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
}

button,
input,
textarea,
select {
  color: inherit;
  font: inherit;
}

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

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: .48;
}

img,
svg {
  display: block;
}

[hidden] {
  display: none !important;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: var(--navy);
  background: white;
  border-radius: 6px;
  transform: translateY(-140%);
  transition: transform .18s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid rgba(230, 93, 60, .36);
  outline-offset: 2px;
}

.owner-shell {
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0, 1fr);
  min-height: 100vh;
}

.owner-sidebar {
  position: fixed;
  z-index: 30;
  inset: 0 auto 0 0;
  width: var(--sidebar);
  display: flex;
  flex-direction: column;
  padding: 28px 14px 24px;
  color: white;
  background:
    radial-gradient(circle at 50% 82%, rgba(239, 169, 93, .12), transparent 24%),
    linear-gradient(160deg, #07131f 0%, #0a1b2a 55%, #071724 100%);
  border-right: 1px solid rgba(239, 169, 93, .35);
  overflow-y: auto;
}

.owner-sidebar::after {
  content: "";
  position: absolute;
  left: -54px;
  bottom: 130px;
  width: 202px;
  height: 112px;
  border: 1px solid rgba(239, 169, 93, .4);
  border-right-color: transparent;
  border-radius: 50% 50% 0 0;
  pointer-events: none;
}

.owner-brand {
  position: relative;
  z-index: 1;
  display: block;
  padding: 8px 5px 34px;
}

.owner-brand img {
  width: 154px;
  height: auto;
}

.owner-nav {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 7px;
}

.owner-nav button {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0 16px;
  color: rgba(255, 255, 255, .86);
  background: transparent;
  border: 0;
  border-radius: 4px;
  text-align: left;
  transition: background .18s ease, color .18s ease;
}

.owner-nav button:hover {
  color: white;
  background: rgba(255, 255, 255, .07);
}

.owner-nav button[aria-current="page"] {
  color: white;
  background: linear-gradient(90deg, rgba(103, 91, 127, .74), rgba(69, 60, 93, .68));
  box-shadow: inset 2px 0 var(--gold);
}

.owner-nav svg,
.owner-account svg,
.trash-shortcut svg,
.trash-action svg {
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.owner-nav span {
  font-size: .94rem;
  font-weight: 520;
}

.owner-account {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 43px minmax(0, 1fr);
  gap: 8px 11px;
  margin-top: auto;
  padding: 26px 6px 0;
}

.account-avatar {
  grid-row: span 2;
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  color: white;
  border: 2px solid var(--gold);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.05rem;
}

.owner-account strong,
.owner-account > div span {
  display: block;
}

.owner-account strong {
  margin-top: 2px;
  font-size: .9rem;
}

.owner-account > div span {
  max-width: 120px;
  margin-top: 2px;
  color: rgba(255, 255, 255, .67);
  font-size: .7rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mfa-state {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: #78d89b;
  font-size: .78rem;
}

.mfa-state svg {
  width: 20px;
  height: 20px;
}

.sign-out {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 2px;
  padding: 3px 0;
  color: rgba(255, 255, 255, .67);
  background: transparent;
  border: 0;
  font-size: .74rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.owner-app {
  grid-column: 2;
  min-width: 0;
  min-height: 100vh;
}

.owner-topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  min-height: var(--topbar);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 26px 20px 30px;
  color: white;
  background: linear-gradient(90deg, #091826, #07131f);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.owner-topbar h1 {
  min-width: 260px;
  margin: 0 auto 0 0;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2vw, 2.05rem);
  font-weight: 400;
  letter-spacing: -.025em;
}

.mobile-nav-toggle {
  display: none;
}

.language-switcher,
.preview-switcher {
  display: flex;
  align-items: center;
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 6px;
}

.language-switcher button,
.preview-switcher button {
  min-height: 35px;
  padding: 0 13px;
  color: rgba(255, 255, 255, .86);
  background: transparent;
  border: 0;
  border-radius: 4px;
  font-size: .78rem;
}

.language-switcher button[aria-pressed="true"],
.preview-switcher button[aria-pressed="true"] {
  color: white;
  background: var(--violet);
}

.preview-switcher button {
  display: flex;
  align-items: center;
  gap: 7px;
}

.preview-switcher svg,
.mobile-nav-toggle svg,
.editor-order svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.draft-state {
  max-width: 185px;
  margin: 0;
  color: rgba(255, 255, 255, .75);
  font-size: .75rem;
  text-align: right;
}

.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border-radius: 5px;
  font-size: .82rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}

.button:not(:disabled):hover {
  transform: translateY(-1px);
}

.button-secondary {
  color: inherit;
  background: transparent;
  border: 1px solid var(--line-strong);
}

.owner-topbar .button-secondary {
  color: white;
  border-color: var(--gold);
}

.button-primary {
  color: white;
  background: var(--violet);
  border: 1px solid var(--violet);
}

.button-danger {
  color: white;
  background: #9f3c38;
  border: 1px solid #9f3c38;
}

.button-danger:not(:disabled):hover {
  background: #812f2c;
  border-color: #812f2c;
}

.button-publish {
  color: white;
  background: linear-gradient(135deg, var(--coral), #ea6b46);
  border: 1px solid var(--coral);
  box-shadow: 0 8px 20px rgba(230, 93, 60, .22);
}

.button-publish:not(:disabled):hover {
  background: var(--coral-dark);
  border-color: var(--coral-dark);
}

.owner-feedback {
  position: fixed;
  z-index: 80;
  top: calc(var(--topbar) + 14px);
  right: 22px;
  max-width: min(430px, calc(100vw - 36px));
  padding: 13px 16px;
  color: white;
  background: var(--navy-2);
  border-left: 3px solid var(--gold);
  border-radius: 5px;
  box-shadow: var(--shadow);
  font-size: .82rem;
}

.owner-feedback[data-tone="success"] { border-left-color: #66c889; }
.owner-feedback[data-tone="error"] { border-left-color: #f17768; }

.owner-main {
  min-width: 0;
  min-height: calc(100vh - var(--topbar));
  background: var(--paper);
}

.owner-view {
  min-width: 0;
}

.content-view {
  display: grid;
  grid-template-columns: 254px 368px minmax(420px, 1fr) 228px;
  min-height: calc(100vh - var(--topbar));
}

.section-rail,
.editor-pane,
.preview-pane,
.history-rail {
  min-width: 0;
  border-right: 1px solid var(--line);
}

.section-rail,
.editor-pane,
.history-rail {
  background: rgba(255, 254, 252, .72);
}

.rail-heading,
.editor-heading,
.preview-pane > header {
  min-height: 75px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px;
}

.rail-heading h2,
.editor-heading h2,
.preview-pane h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 400;
}

.editor-heading {
  padding-inline: 22px;
}

.editor-heading p,
.page-heading p,
.owner-dialog header p {
  margin: 0 0 2px;
  color: var(--coral);
  font-size: .66rem;
  font-weight: 750;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.editor-order {
  display: flex;
  gap: 4px;
}

.editor-order button,
.rail-heading > button {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 5px;
}

.section-list {
  display: grid;
  gap: 7px;
  padding: 0 14px;
}

.section-item {
  position: relative;
  width: 100%;
  min-height: 55px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 10px;
  padding: 7px 9px;
  color: var(--ink);
  background: rgba(255, 255, 255, .62);
  border: 1px solid var(--line);
  border-radius: 5px;
  text-align: left;
}

.section-item[aria-current="true"] {
  color: white;
  background: linear-gradient(135deg, var(--violet), #38324e);
  border-color: var(--violet);
}

.section-item[data-hidden="true"] {
  opacity: .58;
}

.drag-mark {
  width: 12px;
  height: 20px;
  background-image: radial-gradient(circle, currentColor 1.5px, transparent 1.8px);
  background-size: 6px 6px;
  opacity: .7;
}

.section-item strong {
  overflow: hidden;
  font-size: .84rem;
  font-weight: 560;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.visibility-mark {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
}

.visibility-mark svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.add-section {
  width: calc(100% - 28px);
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 28px 14px 18px;
  color: var(--coral-dark);
  background: transparent;
  border: 1px dashed rgba(230, 93, 60, .62);
  border-radius: 5px;
  font-weight: 620;
}

.add-section span {
  font-size: 1.3rem;
  font-weight: 300;
}

.template-hint {
  display: grid;
  gap: 3px;
  margin: 0 14px;
  padding: 14px;
  color: var(--ink-soft);
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: 5px;
}

.template-hint span,
.template-hint small {
  font-size: .68rem;
}

.template-hint strong {
  color: var(--ink);
  font-size: .75rem;
}

#content-form {
  padding: 2px 22px 35px;
}

#content-form fieldset {
  display: grid;
  gap: 21px;
  padding: 0;
  margin: 0;
  border: 0;
}

.field {
  position: relative;
  display: grid;
  gap: 7px;
}

.field > span,
.image-field > span {
  font-size: .77rem;
  font-weight: 680;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 11px 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: .82rem;
  line-height: 1.5;
  transition: border-color .16s ease, box-shadow .16s ease;
}

.field input {
  min-height: 44px;
}

.field textarea {
  min-height: 100px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--violet-soft);
  box-shadow: 0 0 0 3px rgba(103, 91, 127, .12);
}

.field > small {
  position: absolute;
  right: 7px;
  bottom: -17px;
  color: var(--ink-soft);
  font-size: .64rem;
}

.field > .field-help {
  position: static;
  color: var(--ink-soft);
  line-height: 1.45;
}

.field input[readonly] {
  color: var(--ink-soft);
  background: var(--paper-deep);
  cursor: default;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.design-fields {
  padding: 17px !important;
  background: linear-gradient(145deg, rgba(238, 233, 242, .72), rgba(255, 255, 255, .76));
  border: 1px solid rgba(103, 91, 127, .22) !important;
  border-radius: 7px;
}

.design-fields legend {
  width: 100%;
  display: grid;
  gap: 4px;
  margin-bottom: 15px;
  padding: 0;
}

.design-fields legend span {
  color: var(--violet);
  font-family: var(--serif);
  font-size: 1.22rem;
}

.design-fields legend small {
  color: var(--ink-soft);
  font-size: .68rem;
  line-height: 1.45;
}

.design-grid {
  display: grid;
  gap: 13px;
}

.design-grid .field {
  gap: 5px;
}

.design-grid .field > span {
  font-size: .7rem;
}

.design-grid select {
  min-height: 40px;
  padding-block: 8px;
  font-size: .76rem;
}

.reset-design {
  justify-self: start;
  padding: 3px 0;
  color: var(--violet);
  background: transparent;
  border: 0;
  font-size: .69rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.image-field {
  display: grid;
  gap: 10px;
}

.image-editor {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 10px;
}

.image-thumb {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--gold);
  background:
    radial-gradient(circle at 30% 30%, rgba(239, 169, 93, .32), transparent 25%),
    linear-gradient(145deg, var(--navy-3), #263449);
  border-radius: 5px;
}

.image-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-thumb span {
  font-family: var(--serif);
  font-size: 2rem;
}

.image-editor > div:last-child {
  min-width: 0;
}

.file-button {
  width: 100%;
  min-height: 43px;
  cursor: pointer;
}

.file-button input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.image-editor p {
  margin: 8px 2px 0;
  color: var(--ink-soft);
  font-size: .65rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.remove-image {
  margin: 8px 0 0;
  padding: 2px 0;
  color: var(--red);
  background: transparent;
  border: 0;
  font-size: .7rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.trash-action {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 7px;
  margin-top: 5px;
  padding: 7px 0;
  color: var(--red);
  background: transparent;
  border: 0;
  font-size: .74rem;
}

.trash-action svg {
  width: 18px;
  height: 18px;
}

.preview-pane {
  background: #f4f1ed;
  overflow: hidden;
}

.preview-pane > header {
  min-height: 75px;
  padding-inline: 24px;
}

.preview-pane > header span {
  color: var(--ink-soft);
  font-size: .71rem;
}

.preview-page-switcher {
  display: flex;
  align-items: center;
  padding: 2px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--line);
  border-radius: 5px;
}

.preview-page-switcher button {
  min-height: 32px;
  padding: 0 11px;
  color: var(--ink-soft);
  background: transparent;
  border: 0;
  border-radius: 4px;
  font-size: .68rem;
}

.preview-page-switcher button[aria-pressed="true"] {
  color: white;
  background: var(--violet);
}

.site-preview-wrap {
  width: calc(100% - 26px);
  max-width: 640px;
  min-height: 630px;
  margin: 0 auto 30px;
  overflow: auto;
  background: white;
  border: 1px solid #d8d3cd;
  border-radius: 7px;
  box-shadow: 0 11px 32px rgba(30, 34, 42, .1);
  transition: max-width .24s ease;
}

.site-preview-wrap[data-size="mobile"] {
  max-width: 390px;
}

.site-preview {
  min-height: 630px;
  color: white;
  background: var(--navy);
}

.preview-header {
  height: 81px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 25px;
  background: rgba(5, 18, 29, .98);
}

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

.preview-brand img {
  width: 42px;
  height: 42px;
}

.preview-brand strong,
.preview-brand small {
  display: block;
}

.preview-brand strong {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
}

.preview-brand small {
  color: var(--gold-pale);
  font-size: .43rem;
  font-weight: 750;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.preview-menu {
  width: 27px;
  height: 20px;
  border-block: 2px solid white;
  position: relative;
}

.preview-menu::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 8px;
  border-top: 2px solid white;
}

.preview-section {
  position: relative;
  min-height: 220px;
  display: grid;
  align-content: center;
  padding: 60px 12%;
  overflow: hidden;
}

.preview-section[data-template="hero"] {
  min-height: 430px;
  background:
    radial-gradient(circle at 64% 30%, rgba(103, 91, 127, .45), transparent 24%),
    linear-gradient(145deg, #0e2032, #172c45 48%, #081725);
}

.preview-section[data-template="hero"]::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.65) .7px, transparent .9px);
  background-size: 33px 31px;
  opacity: .24;
}

.preview-section.has-image {
  background-size: cover;
  background-position: center;
}

.preview-section.has-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 16, 28, .84), rgba(4, 16, 28, .32));
}

.preview-section[data-template="text_image"],
.preview-section[data-template="contact"] {
  color: var(--ink);
  background: #faf7f2;
}

.preview-section[data-template="callout"] {
  min-height: 190px;
  color: white;
  background: var(--violet);
}

.preview-section[aria-hidden="true"] {
  display: none;
}

.preview-section-content {
  position: relative;
  z-index: 2;
  max-width: 480px;
}

.preview-section-label {
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.preview-section h3 {
  max-width: 520px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.035em;
}

.preview-section p {
  max-width: 480px;
  margin: 19px 0 0;
  font-size: clamp(.82rem, 1.5vw, 1rem);
  line-height: 1.65;
}

.preview-cta {
  display: inline-flex;
  margin-top: 27px;
  padding: 13px 19px;
  color: white;
  background: var(--coral);
  border-radius: 5px;
  font-size: .82rem;
  font-weight: 680;
}

.site-preview-wrap[data-size="mobile"] .preview-header {
  height: 72px;
  padding: 14px 18px;
}

.site-preview-wrap[data-size="mobile"] .preview-section {
  min-height: 250px;
  padding: 48px 25px;
}

.site-preview-wrap[data-size="mobile"] .preview-section[data-template="hero"] {
  min-height: 450px;
}

.site-preview-wrap[data-size="mobile"] .preview-section h3 {
  font-size: 2.25rem;
}

.history-rail {
  border-right: 0;
}

.content-view.history-hidden {
  grid-template-columns: 254px 368px minmax(420px, 1fr);
}

.content-view.history-hidden .history-rail {
  display: none;
}

.rail-heading > button {
  border: 0;
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 300;
}

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

.history-list.compact {
  padding: 0 12px 12px;
}

.history-card,
.trash-card,
.translation-card,
.image-card {
  padding: 15px;
  background: rgba(255, 255, 255, .7);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.history-card header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 9px;
}

.history-card strong,
.history-card span,
.history-card time,
.history-card small {
  display: block;
}

.history-card strong {
  font-size: .79rem;
}

.history-card time,
.history-card small {
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: .67rem;
}

.version-badge {
  padding: 3px 7px;
  color: var(--violet);
  background: #ece7f1;
  border-radius: 3px;
  font-size: .6rem;
  white-space: nowrap;
}

.version-badge.published {
  color: #1f6d48;
  background: #dff2e6;
}

.history-card button {
  width: 100%;
  min-height: 35px;
  margin-top: 12px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  font-size: .7rem;
}

.history-all {
  width: calc(100% - 24px);
  margin: 0 12px 22px;
}

.trash-shortcut {
  width: calc(100% - 24px);
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin: 0 12px;
  padding: 15px 5px;
  color: var(--coral);
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  text-align: left;
}

.trash-shortcut span strong,
.trash-shortcut span small {
  display: block;
}

.trash-shortcut strong { color: var(--ink); font-size: .8rem; }
.trash-shortcut small { margin-top: 2px; font-size: .66rem; }
.trash-shortcut i { color: var(--ink); font-family: var(--serif); font-size: 1.5rem; font-style: normal; }

.collection-view,
.summary-view {
  padding: clamp(28px, 4vw, 62px);
}

.page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto 34px;
}

.page-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 400;
  letter-spacing: -.035em;
}

.page-heading span {
  display: block;
  max-width: 640px;
  margin-top: 8px;
  color: var(--ink-soft);
}

body[data-owner-view="vip-users"] .language-switcher,
body[data-owner-view="vip-users"] .preview-switcher,
body[data-owner-view="vip-users"] .draft-state,
body[data-owner-view="vip-users"] [data-save-draft],
body[data-owner-view="vip-users"] [data-open-publish],
body[data-owner-view="operations"] .language-switcher,
body[data-owner-view="operations"] .preview-switcher,
body[data-owner-view="operations"] .draft-state,
body[data-owner-view="operations"] [data-save-draft],
body[data-owner-view="operations"] [data-open-publish] {
  display: none;
}

.operations-workspace {
  max-width: 1180px;
  margin: 0 auto;
}

.operations-tabs {
  display: flex;
  gap: 6px;
  padding: 6px;
  overflow-x: auto;
  background: #ece9e3;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.operations-tabs button {
  min-height: 42px;
  flex: 1 0 145px;
  padding: 9px 16px;
  color: var(--ink-soft);
  background: transparent;
  border: 0;
  border-radius: 5px;
  font: inherit;
  font-size: .78rem;
  font-weight: 750;
  cursor: pointer;
}

.operations-tabs button[aria-current="page"] {
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 3px 12px rgba(24, 36, 49, .08);
}

.operations-provider {
  margin-top: 20px;
  padding: clamp(22px, 3vw, 34px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(24, 36, 49, .06);
}

.operations-provider-heading,
.operations-provider-heading > div,
.operations-history-card .rail-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}

.operations-provider-heading > div {
  justify-content: flex-start;
}

.operations-provider-heading p {
  margin: 0;
  color: var(--violet);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.operations-provider-heading h3,
.operations-history-card h3,
.operations-form h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
}

.operations-provider-heading h3 { font-size: 1.7rem; }
.operations-provider-heading > span { color: var(--ink-soft); font-size: .76rem; }

.operations-actions-bar {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
}

.operations-mode {
  display: grid;
  gap: 5px;
  min-width: 130px;
}

.operations-mode span { color: var(--ink-soft); font-size: .69rem; font-weight: 750; }
.operations-mode select { min-height: 42px; padding: 8px 34px 8px 11px; border: 1px solid var(--line-strong); border-radius: 5px; background: var(--surface); }

.operations-result {
  min-height: 118px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 18px;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 7px;
}

.operations-result:empty::before {
  content: "Pulsa actualizar para comprobar el estado real.";
  align-self: center;
  grid-column: 1 / -1;
  color: var(--ink-soft);
  font-size: .82rem;
}

.operations-status-item,
.operations-record {
  min-width: 0;
  padding: 13px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.operations-status-item span,
.operations-record small {
  display: block;
  color: var(--ink-soft);
  font-size: .68rem;
}

.operations-status-item strong,
.operations-record strong {
  display: block;
  margin-top: 5px;
  overflow-wrap: anywhere;
  font-size: .82rem;
}

.operations-status-item[data-ok="true"] strong { color: #155c3f; }
.operations-status-item[data-ok="false"] strong { color: #8c2f2b; }

.operations-record {
  display: grid;
  gap: 8px;
}

.operations-record .operations-record-actions,
.operations-form-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 5px;
}

.operations-record-actions .button { min-height: 36px; padding: 7px 11px; font-size: .7rem; }

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

.operations-form {
  display: grid;
  gap: 14px;
  margin-top: 20px;
  padding: 20px;
  background: #fbfaf7;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.operations-form-grid .operations-form { margin-top: 0; }
.operations-form h4 { font-size: 1.25rem; }
.operations-form > div > p { margin: 6px 0 0; color: var(--ink-soft); font-size: .78rem; line-height: 1.5; }
.operations-form > .button { justify-self: start; }

.operations-preview {
  padding: 12px;
  color: var(--ink);
  background: #f2eee6;
  border-left: 3px solid var(--gold);
  font-size: .78rem;
  line-height: 1.5;
}

.operations-history-card {
  margin-top: 20px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.operations-history-card h3 { font-size: 1.35rem; }
.operations-history-card [data-operations-history] { display: grid; gap: 8px; margin-top: 14px; }
.operations-history-entry { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.operations-history-entry:first-child { border-top: 0; }
.operations-history-entry strong { font-size: .78rem; }
.operations-history-entry p { margin: 4px 0 0; color: var(--ink-soft); font-size: .72rem; }
.operations-history-entry time { color: var(--ink-soft); font-size: .7rem; white-space: nowrap; }

.vip-layout {
  max-width: 1180px;
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(340px, 1.28fr);
  gap: 20px;
  margin: 0 auto;
}

.vip-layout > section {
  min-width: 0;
  padding: clamp(22px, 3vw, 34px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(24, 36, 49, .06);
}

.vip-layout h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
}

.vip-search-card > p,
.vip-account-note {
  color: var(--ink-soft);
  line-height: 1.55;
}

.vip-search-card form {
  display: grid;
  gap: 13px;
  margin-top: 22px;
}

.vip-search-card form .button {
  justify-self: start;
}

.vip-inline-status,
.vip-inline-error {
  margin: 18px 0 0;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  font-size: .82rem;
}

.vip-inline-error {
  color: #8c2f2b;
}

.vip-account-card > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.vip-account-card > header p {
  margin: 0 0 6px;
  color: var(--violet);
  font-size: .7rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.vip-status-badge {
  flex: 0 0 auto;
  padding: 7px 10px;
  color: #5e5144;
  background: #f3eee6;
  border: 1px solid #dfd5c7;
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 750;
}

.vip-status-badge[data-active="true"] {
  color: #155c3f;
  background: #e5f5ec;
  border-color: #b6dfc7;
}

.vip-account-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 24px 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}

.vip-account-details div {
  min-width: 0;
  padding: 15px;
  background: var(--surface);
}

.vip-account-details dt {
  color: var(--ink-soft);
  font-size: .7rem;
}

.vip-account-details dd {
  margin: 5px 0 0;
  overflow-wrap: anywhere;
  font-weight: 650;
}

.vip-actions {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.vip-history-card {
  grid-column: 1 / -1;
}

.vip-history-card .rail-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.vip-history-card .rail-heading span {
  color: var(--ink-soft);
  font-size: .75rem;
}

.vip-history {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.vip-history-entry {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 13px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.vip-history-entry:first-child { border-top: 0; }
.vip-history-entry strong { font-size: .82rem; }
.vip-history-entry p { margin: 3px 0 0; color: var(--ink-soft); overflow-wrap: anywhere; }
.vip-history-entry time { color: var(--ink-soft); font-size: .72rem; white-space: nowrap; }
.vip-history-mark { color: var(--violet); font-size: 1.15rem; line-height: 1; }
.vip-history-entry[data-action="revoked"] .vip-history-mark { color: #9f3c38; }

.summary-grid {
  max-width: 1180px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, .8fr);
  gap: 22px;
  margin: 0 auto;
}

.summary-primary {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(34px, 6vw, 75px);
  color: white;
  background:
    radial-gradient(circle at 75% 30%, rgba(239, 169, 93, .18), transparent 24%),
    linear-gradient(145deg, var(--navy-2), #14283b);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.summary-symbol {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 2.7rem;
}

.summary-primary h3 {
  max-width: 540px;
  margin: 14px 0 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 400;
  line-height: 1.04;
}

.summary-primary p {
  max-width: 540px;
  margin: 20px 0 28px;
  color: rgba(255, 255, 255, .72);
}

.summary-details {
  display: grid;
  align-content: stretch;
  gap: 1px;
  margin: 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.summary-details div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px;
  background: var(--surface);
}

.summary-details dt {
  color: var(--ink-soft);
  font-size: .72rem;
}

.summary-details dd {
  margin: 7px 0 0;
  font-family: var(--serif);
  font-size: 1.25rem;
}

.image-library,
.translation-list,
.history-list.full,
.trash-list {
  max-width: 1180px;
  margin: 0 auto;
}

.image-library {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px;
}

.image-card {
  padding: 0;
  overflow: hidden;
}

.image-card figure {
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  margin: 0;
  color: var(--gold);
  background: linear-gradient(145deg, var(--navy-3), #263449);
}

.image-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-card > div {
  padding: 15px;
}

.image-card strong,
.image-card small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.image-card small {
  margin-top: 4px;
  color: var(--ink-soft);
}

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

.translation-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
}

.translation-code {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--violet);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.05rem;
}

.translation-card strong,
.translation-card small {
  display: block;
}

.translation-card small {
  margin-top: 3px;
  color: var(--ink-soft);
}

.translation-card button,
.trash-card button {
  min-height: 38px;
  padding: 0 13px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  font-size: .72rem;
}

.history-list.full,
.trash-list {
  display: grid;
  gap: 12px;
}

.history-list.full .history-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  align-items: center;
  gap: 20px;
}

.history-list.full .history-card button {
  margin: 0;
}

.trash-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
}

.trash-card strong,
.trash-card small {
  display: block;
}

.trash-card small {
  margin-top: 4px;
  color: var(--ink-soft);
}

.empty-state {
  min-height: 230px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 30px;
  color: var(--ink-soft);
  background: rgba(255,255,255,.62);
  border: 1px dashed var(--line-strong);
  border-radius: 7px;
  text-align: center;
}

.empty-state span {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 2.2rem;
}

.empty-state strong {
  color: var(--ink);
}

.empty-state p {
  max-width: 470px;
  margin: 0;
  font-size: .8rem;
}

.access-layer {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: white;
  background:
    radial-gradient(circle at 50% 28%, rgba(103, 91, 127, .3), transparent 25%),
    radial-gradient(circle at 23% 80%, rgba(239, 169, 93, .12), transparent 22%),
    var(--navy);
}

.access-layer[hidden] {
  display: none;
}

.access-card {
  width: min(440px, 100%);
  padding: 36px;
  background: rgba(12, 31, 46, .92);
  border: 1px solid rgba(239, 169, 93, .28);
  border-radius: 10px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .35);
}

.access-card > img {
  width: 170px;
  height: auto;
  margin-bottom: 34px;
}

.access-card h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
}

.access-card > p {
  margin: 12px 0 24px;
  color: rgba(255, 255, 255, .7);
  font-size: .84rem;
}

.access-card form {
  display: grid;
  gap: 18px;
}

.field-dark input {
  color: white;
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .22);
}

.owner-captcha {
  display: grid;
  min-width: 0;
  gap: 7px;
}

.owner-captcha-widget {
  min-height: 65px;
  overflow: hidden;
  border-radius: 8px;
}

.owner-captcha > p {
  margin: 0;
  color: rgba(255, 255, 255, .68);
  font-size: .76rem;
  line-height: 1.45;
}

.access-card form .button {
  width: 100%;
  margin-top: 4px;
}

.access-card > a,
.text-button.light {
  display: inline-block;
  margin-top: 20px;
  padding: 0;
  color: var(--gold-pale);
  background: transparent;
  border: 0;
  font-size: .76rem;
  text-underline-offset: 3px;
}

.access-error {
  padding: 10px 12px;
  color: #ffd0c8 !important;
  background: rgba(184, 60, 52, .2);
  border-left: 2px solid #f17768;
  border-radius: 3px;
}

.access-loading {
  text-align: center;
}

.access-loading > img {
  margin-inline: auto;
}

.loading-orbit {
  width: 38px;
  height: 38px;
  display: block;
  margin: 0 auto 25px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: orbit .9s linear infinite;
}

@keyframes orbit { to { transform: rotate(360deg); } }

.mfa-enrollment {
  display: grid;
  gap: 18px;
}

.mfa-pending {
  display: grid;
  gap: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(239, 169, 93, .28);
  border-radius: 6px;
}

.mfa-pending p {
  margin: 0;
  color: rgba(255, 255, 255, .76);
  font-size: .78rem;
}

.mfa-pending .button {
  width: 100%;
}

.mfa-qr {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 17px;
  color: var(--ink);
  background: white;
  border-radius: 6px;
}

.mfa-qr img {
  width: 190px;
  height: 190px;
}

.mfa-qr p {
  margin: 0;
  color: var(--ink-soft);
  font-size: .7rem;
}

.mfa-qr code {
  max-width: 100%;
  padding: 5px;
  overflow-wrap: anywhere;
  font-size: .75rem;
}

.owner-dialog {
  width: min(610px, calc(100vw - 30px));
  padding: 0;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 28px 90px rgba(10, 15, 24, .28);
}

.owner-dialog::backdrop {
  background: rgba(4, 13, 22, .62);
  backdrop-filter: blur(2px);
}

.owner-dialog > form {
  padding: 30px;
}

.owner-dialog header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.owner-dialog header h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 400;
}

.owner-dialog header > button {
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1;
}

.template-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  margin-top: 26px;
}

.template-options button {
  min-height: 132px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-content: center;
  gap: 4px 11px;
  padding: 17px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  text-align: left;
}

.template-options button:hover {
  border-color: var(--coral);
}

.template-options button > span {
  grid-row: span 2;
  color: var(--coral);
  font-family: var(--serif);
  font-size: 1.5rem;
}

.template-options strong {
  font-size: .85rem;
}

.template-options small {
  color: var(--ink-soft);
  font-size: .7rem;
}

.confirmation-dialog > form > p {
  margin: 20px 0 24px;
  color: var(--ink-soft);
}

.confirmation-dialog footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

noscript {
  position: fixed;
  z-index: 999;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 30px;
  color: white;
  background: var(--navy);
}

@media (max-width: 1440px) {
  .content-view {
    grid-template-columns: 230px 350px minmax(400px, 1fr);
  }

  .history-rail {
    display: none;
  }

  .owner-topbar {
    gap: 10px;
    padding-inline: 22px;
  }

  .owner-topbar h1 {
    min-width: 230px;
    font-size: 1.55rem;
  }

  .draft-state {
    display: none;
  }
}

@media (max-width: 1160px) {
  :root { --sidebar: 188px; }

  .owner-sidebar { padding-inline: 10px; }
  .owner-brand img { width: 145px; }
  .owner-nav button { padding-inline: 12px; gap: 11px; }

  .content-view {
    grid-template-columns: 220px 340px minmax(350px, 1fr);
  }

  .preview-switcher {
    display: none;
  }
}

@media (max-width: 960px) {
  :root { --topbar: 76px; }

  .owner-shell { display: block; }
  .owner-app { margin-left: 0; }

  .owner-sidebar {
    width: min(300px, 86vw);
    transform: translateX(-105%);
    box-shadow: var(--shadow);
    transition: transform .22s ease;
  }

  body[data-menu-open="true"] .owner-sidebar {
    transform: translateX(0);
  }

  body[data-menu-open="true"]::after {
    content: "";
    position: fixed;
    z-index: 25;
    inset: 0;
    background: rgba(4, 13, 22, .55);
  }

  .owner-topbar {
    min-height: var(--topbar);
    padding: 12px 16px;
  }

  .mobile-nav-toggle {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    color: white;
    background: transparent;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 5px;
  }

  .owner-topbar h1 {
    min-width: 0;
    font-size: 1.3rem;
  }

  .language-switcher {
    margin-left: auto;
  }

  .language-switcher button {
    min-height: 32px;
    padding-inline: 9px;
  }

  .owner-topbar > .button-secondary {
    display: none;
  }

  .content-view {
    grid-template-columns: 230px minmax(330px, .86fr) minmax(350px, 1.14fr);
    min-height: calc(100vh - var(--topbar));
  }
}

@media (max-width: 780px) {
  .owner-topbar h1,
  .language-switcher {
    display: none;
  }

  .owner-topbar .button-publish {
    margin-left: auto;
  }

  .content-view {
    display: block;
  }

  .section-rail,
  .editor-pane,
  .preview-pane {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section-rail {
    padding-bottom: 24px;
  }

  .section-list {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }

  .section-item {
    flex: 0 0 190px;
    scroll-snap-align: start;
  }

  .template-hint {
    display: none;
  }

  .editor-pane {
    padding-bottom: 12px;
  }

  .preview-pane {
    padding-bottom: 22px;
  }

  .site-preview-wrap {
    max-width: 390px;
    min-height: 600px;
  }

  .summary-grid,
  .translation-list,
  .vip-layout {
    grid-template-columns: 1fr;
  }

  .operations-form-grid {
    grid-template-columns: 1fr;
  }

  .vip-history-card { grid-column: auto; }

  .history-list.full .history-card,
  .trash-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .owner-topbar {
    gap: 8px;
  }

  .owner-topbar .button {
    min-height: 40px;
    padding-inline: 12px;
    font-size: .72rem;
  }

  .field-row,
  .image-editor,
  .template-options {
    grid-template-columns: 1fr;
  }

  .image-thumb {
    max-width: 180px;
  }

  .collection-view,
  .summary-view {
    padding: 28px 17px;
  }

  .page-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .translation-card {
    grid-template-columns: 45px minmax(0, 1fr);
  }

  .translation-code {
    width: 45px;
    height: 45px;
  }

  .translation-card button {
    grid-column: 1 / -1;
  }

  .vip-account-card > header,
  .vip-history-card .rail-heading,
  .operations-provider-heading,
  .operations-provider-heading > div,
  .operations-history-card .rail-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .operations-actions-bar .button,
  .operations-mode {
    width: 100%;
  }

  .operations-history-entry {
    grid-template-columns: 1fr;
  }

  .vip-account-details {
    grid-template-columns: 1fr;
  }

  .vip-actions {
    flex-direction: column;
  }

  .vip-actions .button {
    width: 100%;
  }

  .vip-history-entry {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .vip-history-entry time {
    grid-column: 2;
  }

  .access-layer {
    padding: 10px;
  }

  .access-card {
    padding: 27px 22px;
  }

  .owner-dialog > form {
    padding: 23px 18px;
  }

  .confirmation-dialog footer {
    flex-direction: column-reverse;
  }

  .confirmation-dialog footer .button {
    width: 100%;
  }
}

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