@font-face {
  font-family: Barlow;
  src: url("../fonts/barlow-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Barlow;
  src: url("../fonts/barlow-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Barlow;
  src: url("../fonts/barlow-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Barlow;
  src: url("../fonts/barlow-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
:root {
  --blue: #009fe3;
  --action: #0078ae;
  --ink: #17242b;
  --muted: #647580;
  --line: #dce5e9;
  --paper: #f3f7f9;
  --ice: #e9f6fc;
  --green: #267359;
  --amber: #866019;
  --radius: 10px;
  --shadow: 0 10px 34px #15394508;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    16px/1.5 Barlow,
    "Segoe UI",
    Arial,
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #006c9e;
  outline-offset: 4px;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: clamp(2.2rem, 3.1vw, 3.5rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.09;
}
h2 {
  font-size: 1.55rem;
  letter-spacing: -0.025em;
  font-weight: 650;
  line-height: 1.25;
}
h3 {
  font-size: 1.1rem;
  font-weight: 650;
}
small,
.small {
  font-size: 0.875rem;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  text-transform: uppercase;
  color: var(--action);
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  margin-bottom: 13px;
}
.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  vertical-align: middle;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.demo-bar {
  background: #182a34;
  color: #d3e0e7;
  font-size: 0.8rem;
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 8px 20px;
  text-align: center;
}
.demo-bar strong {
  color: white;
  font-weight: 600;
}
.demo-bar a {
  color: #89d9fc;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.header {
  background: white;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1380px;
  margin: auto;
  padding: 22px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.brand img {
  width: 172px;
  height: 75px;
  object-fit: contain;
  display: block;
}
.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.95rem;
  font-weight: 550;
}
.nav > a {
  padding: 12px 0;
  white-space: nowrap;
  color: #647079;
  border-bottom: 2px solid transparent;
}
.nav > a.active {
  color: var(--ink);
  border-bottom-color: var(--blue);
}
.nav .account-link {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 17px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
}
.nav .account-link.active {
  background: var(--ice);
  border-color: #a9dff5;
}
.container {
  max-width: 1380px;
  padding: 0 44px;
  margin: 0 auto;
}
.breadcrumb {
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 27px 0 22px;
}
.breadcrumb .icon {
  width: 13px;
  height: 13px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 32px;
}
.page-heading p {
  margin-top: 14px;
  color: var(--muted);
  max-width: 680px;
  font-size: 1.05rem;
}
.heading-note {
  display: flex;
  gap: 11px;
  align-items: center;
  flex-shrink: 0;
  color: #536670;
  font-size: 0.9rem;
}
.heading-note .icon {
  color: var(--action);
}
.steps {
  display: flex;
  gap: 40px;
  border-bottom: 1px solid var(--line);
  margin: 0 0 30px;
  padding: 0 0 22px;
  list-style: none;
  font-size: 0.95rem;
  color: var(--muted);
}
.steps a {
  display: flex;
  gap: 11px;
  align-items: center;
}
.steps b {
  display: inline-grid;
  place-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid #c8d5dc;
  border-radius: 50%;
  font-size: 0.85rem;
}
.steps .current {
  color: var(--ink);
  font-weight: 600;
}
.steps .current b {
  background: var(--action);
  border-color: var(--action);
  color: white;
}
.steps .done b {
  background: #e8f4ef;
  border-color: #e8f4ef;
  color: var(--green);
}
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 316px;
  gap: 25px;
  align-items: start;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.panel-head {
  padding: 26px 28px 23px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}
.panel-body {
  padding: 27px 28px;
}
.panel + .panel {
  margin-top: 22px;
}
.row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.space-between {
  justify-content: space-between;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.button {
  border: 1px solid var(--action);
  background: var(--action);
  color: white;
  min-height: 47px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 600;
  padding: 11px 21px;
  border-radius: 5px;
  cursor: pointer;
  transition:
    background 0.15s,
    transform 0.15s;
  font-size: 0.95rem;
}
.button:hover {
  background: #006793;
  border-color: #006793;
}
.button.secondary {
  background: white;
  border-color: var(--line);
  color: var(--ink);
}
.button.secondary:hover {
  background: var(--paper);
  border-color: #adc4d0;
}
.button.ghost {
  background: transparent;
  border-color: transparent;
  color: var(--action);
}
.button.full {
  width: 100%;
}
.button.small-button {
  padding: 7px 13px;
  min-height: 36px;
  font-size: 0.875rem;
}
.text-link {
  color: var(--action);
  font-weight: 550;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.text-link .icon {
  width: 17px;
}
.segmented {
  display: flex;
  gap: 3px;
  padding: 4px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 7px;
}
.segmented a {
  padding: 8px 22px;
  border-radius: 4px;
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
}
.segmented .active {
  background: white;
  color: var(--ink);
  box-shadow: 0 1px 4px #142a3712;
}
.selector-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 21px;
}
.date-control {
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 550;
}
.square-button {
  border: 1px solid var(--line);
  height: 35px;
  width: 35px;
  display: grid;
  place-content: center;
  border-radius: 5px;
  background: white;
}
.square-button .icon {
  width: 16px;
}
.date-control > .icon {
  color: var(--action);
}
.subtle-label {
  color: var(--muted);
  font-size: 0.875rem;
}
.legend {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 0.82rem;
  color: var(--muted);
}
.legend span {
  display: flex;
  gap: 7px;
  align-items: center;
}
.legend i {
  width: 11px;
  height: 11px;
  border-radius: 3px;
  border: 1px solid #bbd9e8;
  display: inline-block;
  background: var(--ice);
}
.legend i.busy {
  background: #e9eef1;
  border-color: #e9eef1;
}
.legend i.selected {
  background: var(--action);
  border-color: var(--action);
}
.matrix-wrap {
  overflow: auto;
  padding: 0 20px 8px;
}
.matrix {
  width: 100%;
  border-spacing: 8px 9px;
  min-width: 610px;
  table-layout: fixed;
  font-size: 0.9rem;
}
.matrix th {
  font-weight: 500;
  color: var(--muted);
  height: 55px;
  font-size: 0.86rem;
}
.matrix th:first-child {
  width: 113px;
  text-align: left;
  padding-left: 3px;
}
.matrix th b {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
}
.matrix td:first-child {
  color: #475b68;
  font-size: 0.86rem;
  white-space: nowrap;
}
.slot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 46px;
  border-radius: 5px;
  background: #edf7fc;
  border: 1px solid #d1eaf6;
  color: #247292;
  font-weight: 550;
  font-size: 0.84rem;
  transition: 0.15s;
}
.slot:hover {
  border-color: var(--blue);
  background: #d7f0fb;
}
.slot.busy {
  background: #edf0f2;
  border-color: #edf0f2;
  color: #97a2a8;
}
.slot.chosen {
  background: var(--action);
  border-color: var(--action);
  color: white;
}
.slot .icon {
  width: 15px;
  height: 15px;
}
.matrix-footer {
  padding: 21px 28px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.875rem;
  color: var(--muted);
}
.selection-head {
  background: #eaf6fb;
  border-bottom: 1px solid #d7e9f1;
  padding: 23px 23px 20px;
  border-radius: 9px 9px 0 0;
}
.selection-head h2 {
  font-size: 1.2rem;
}
.selection-head p {
  font-size: 0.85rem;
  color: #547180;
  margin-top: 7px;
}
.selection-body {
  padding: 23px;
}
.receipt-line {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  font-size: 0.94rem;
}
.receipt-line span:first-child {
  color: var(--muted);
}
.receipt-line strong {
  font-weight: 600;
  text-align: right;
}
.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 15px 0;
}
.price {
  font-size: 1.85rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.price small {
  font-size: 0.9rem;
  font-weight: 500;
}
.summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 23px 0;
}
.selection-body .button + .small {
  margin-top: 13px;
  text-align: center;
}
.inline-hint {
  display: flex;
  gap: 10px;
  padding: 15px 17px;
  background: var(--ice);
  border-radius: 6px;
  font-size: 0.9rem;
  color: #365d70;
  align-items: start;
}
.inline-hint .icon {
  margin-top: 2px;
  flex-shrink: 0;
}
.inline-hint.green {
  background: #edf6f1;
  color: #2a6851;
}
.inline-hint.amber {
  background: #fcf6e9;
  color: #7b6029;
}
.first-visit {
  margin: 24px 0 45px;
  display: grid;
  grid-template-columns: 1fr 200px;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
}
.first-visit-content {
  padding: 26px;
  display: flex;
  gap: 18px;
  align-items: start;
}
.first-visit-content > .icon {
  width: 25px;
  height: 25px;
  color: var(--action);
  margin-top: 2px;
}
.first-visit p {
  font-size: 0.94rem;
  color: var(--muted);
  margin: 7px 0 12px;
}
.first-visit img {
  width: 100%;
  height: 100%;
  min-height: 155px;
  object-fit: cover;
}
.footer {
  border-top: 1px solid var(--line);
  background: white;
  margin-top: 55px;
  padding: 32px 0 24px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: start;
}
.footer h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}
.footer p {
  font-size: 0.85rem;
  color: var(--muted);
}
.footer nav {
  display: flex;
  gap: 22px;
  font-size: 0.875rem;
  color: var(--muted);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 27px;
  font-size: 0.75rem;
  color: var(--muted);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 550;
  white-space: nowrap;
  background: var(--ice);
  color: var(--action);
}
.badge.green {
  background: #eaf5ee;
  color: var(--green);
}
.badge.amber {
  background: #fcf3df;
  color: var(--amber);
}
.badge.grey {
  background: #edf1f3;
  color: #65737c;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.field label {
  font-size: 0.9rem;
  font-weight: 550;
}
.field input,
.field select {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #ccd9df;
  border-radius: 5px;
  color: var(--ink);
  min-height: 46px;
  background: white;
}
.field small {
  color: var(--muted);
  font-size: 0.81rem;
  line-height: 1.45;
}
.field.full-span {
  grid-column: 1/-1;
}
.form-section + .form-section {
  margin-top: 27px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}
.form-section h3 {
  margin-bottom: 18px;
}
.radio-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
}
.radio-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 17px 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
}
.radio-card:has(input:checked) {
  border-color: var(--action);
  background: #edf8fc;
}
.radio-card input {
  accent-color: var(--action);
  width: 16px;
  height: 16px;
  margin: 0;
}
.radio-card strong {
  font-size: 0.9rem;
  font-weight: 600;
}
.check-row {
  display: flex;
  align-items: start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--muted);
}
.check-row input {
  width: 17px;
  height: 17px;
  accent-color: var(--action);
  margin-top: 4px;
  flex-shrink: 0;
}
.check-row a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.panel-actions {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  align-items: center;
}
.tabs {
  display: flex;
  gap: 30px;
  border-bottom: 1px solid var(--line);
  margin: 0 0 29px;
  overflow-x: auto;
}
.tabs a {
  padding: 13px 0 16px;
  color: var(--muted);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  font-weight: 550;
}
.tabs a.active {
  border-bottom-color: var(--blue);
  color: var(--ink);
}
[data-pane] {
  display: none;
}
[data-pane].visible {
  display: block;
}
.success-heading {
  text-align: center;
  padding: 8px 0 27px;
}
.success-icon {
  display: grid;
  place-content: center;
  width: 54px;
  height: 54px;
  background: #e7f3ed;
  color: var(--green);
  border-radius: 50%;
  margin: 0 auto 18px;
}
.success-icon .icon {
  width: 26px;
  height: 26px;
}
.success-heading h1 {
  font-size: 2.6rem;
}
.success-heading p {
  margin-top: 14px;
  color: var(--muted);
}
.center-column {
  max-width: 880px;
  margin: auto;
}
.email-preview {
  background: #fafcfd;
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
}
.email-to {
  font-size: 0.83rem;
  padding: 13px 19px;
  background: #f0f5f7;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.email-content {
  padding: 23px;
}
.email-content h3 {
  margin-bottom: 14px;
}
.email-content p {
  font-size: 0.94rem;
  color: var(--muted);
}
.email-content strong {
  color: var(--ink);
}
.email-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.mail-caption {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 13px;
}
.account-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(270px, 1fr);
  gap: 25px;
  align-items: start;
}
.abo-card {
  background: #16394b;
  color: white;
  border-radius: 9px;
  padding: 29px;
  position: relative;
  overflow: hidden;
}
.abo-card .eyebrow {
  color: #94d8f5;
}
.abo-card h2 {
  font-size: 1.8rem;
}
.abo-card p {
  color: #b9d1de;
  margin-top: 11px;
}
.abo-card .rule {
  border-color: #386074;
}
.abo-card .receipt-line span:first-child {
  color: #b9d1de;
}
.abo-card .badge {
  background: #26594f;
  color: #c1f0d5;
}
.booking-item {
  display: flex;
  gap: 21px;
  padding: 26px 28px;
  align-items: center;
}
.day-square {
  border: 1px solid var(--line);
  border-radius: 7px;
  text-align: center;
  min-width: 62px;
  padding: 10px 12px;
  line-height: 1.2;
  background: var(--paper);
  font-size: 0.8rem;
  color: var(--muted);
}
.day-square strong {
  display: block;
  font-size: 1.7rem;
  color: var(--ink);
  font-weight: 650;
}
.booking-item .booking-main {
  flex: 1;
}
.booking-item p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 6px;
}
.booking-item + .booking-item {
  border-top: 1px solid var(--line);
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
}
.article {
  padding: 33px;
}
.article p {
  color: var(--muted);
  margin-top: 12px;
  max-width: 730px;
}
.article-section + .article-section {
  border-top: 1px solid var(--line);
  padding-top: 26px;
  margin-top: 26px;
}
.article-section h2 {
  font-size: 1.35rem;
}
.article-section ul {
  color: var(--muted);
  padding-left: 20px;
  margin: 16px 0 0;
}
.article-section li + li {
  margin-top: 7px;
}
.visit-photo {
  width: 100%;
  height: 215px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.contact-block {
  padding: 22px 0;
  color: var(--muted);
}
.contact-block strong {
  display: block;
  color: var(--ink);
  margin-bottom: 6px;
}
.contest-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: end;
  margin-bottom: 33px;
}
.contest-heading p {
  margin-top: 15px;
  color: var(--muted);
  max-width: 620px;
}
.year-select {
  display: flex;
  align-items: center;
  gap: 12px;
}
.year-select select {
  background: white;
  padding: 12px 39px 12px 15px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--ink);
  font-weight: 600;
}
.contest-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(330px, 1fr);
  gap: 25px;
  align-items: start;
}
.table-scroll {
  overflow: auto;
}
.data-table {
  border-collapse: collapse;
  width: 100%;
  white-space: nowrap;
  font-size: 0.9rem;
}
.data-table th {
  text-align: left;
  background: #f8fafb;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  padding: 15px 22px;
  font-weight: 550;
  border-bottom: 1px solid var(--line);
}
.data-table td {
  padding: 19px 22px;
  border-bottom: 1px solid #e9eef1;
}
.data-table tr:last-child td {
  border-bottom: 0;
}
.rank-table td:first-child {
  font-size: 1.1rem;
  font-weight: 650;
  color: #587080;
  width: 70px;
}
.rank-table tbody tr:first-child {
  background: #f0f8fc;
}
.rank-table tbody tr:first-child td:first-child {
  color: var(--action);
}
.rank-table td:last-child {
  font-size: 1.1rem;
  font-weight: 650;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.rank-table th:last-child {
  text-align: right;
}
.rank-label {
  display: flex;
  gap: 11px;
  align-items: center;
}
.avatar {
  display: grid;
  place-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e8eff3;
  color: #597080;
  font-size: 0.76rem;
  font-weight: 550;
}
.upload-zone {
  border: 1px dashed #a9c6d5;
  border-radius: 7px;
  background: #f7fbfd;
  text-align: center;
  padding: 25px 18px;
}
.upload-zone > .icon {
  width: 29px;
  height: 29px;
  color: var(--action);
  margin-bottom: 10px;
}
.upload-zone p {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 5px 0 15px;
}
.upload-zone input {
  max-width: 100%;
  font-size: 0.8rem;
}
.upload-zone input::file-selector-button {
  font: inherit;
  background: white;
  border: 1px solid var(--line);
  padding: 8px 13px;
  border-radius: 4px;
  color: var(--ink);
  margin-right: 9px;
  cursor: pointer;
}
.admin-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: calc(100vh - 40px);
}
.admin-sidebar {
  background: #152e3d;
  color: #a9c2d0;
  display: flex;
  flex-direction: column;
  padding: 29px 18px 24px;
}
.admin-brand {
  padding: 0 13px 32px;
}
.admin-brand img {
  width: 144px;
  height: 66px;
  object-fit: contain;
}
.admin-brand p {
  font-size: 0.78rem;
  color: #85a8bc;
  margin-top: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.admin-nav a {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 13px 15px;
  border-radius: 5px;
  font-size: 0.9rem;
  color: #c0d1db;
}
.admin-nav a.active {
  background: #244c64;
  color: #fff;
}
.admin-nav a.active .icon {
  color: #55c3f1;
}
.admin-nav a:hover {
  background: #24465c;
}
.admin-bottom {
  margin-top: auto;
  padding: 30px 15px 0;
  font-size: 0.85rem;
}
.admin-bottom a {
  display: flex;
  align-items: center;
  gap: 9px;
}
.admin-main {
  min-width: 0;
}
.admin-topbar {
  background: white;
  border-bottom: 1px solid var(--line);
  padding: 20px 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}
.admin-topbar .row {
  gap: 12px;
}
.admin-content {
  padding: 34px;
  max-width: 1430px;
  margin: auto;
}
.admin-content h1 {
  font-size: 2.35rem;
}
.admin-content .page-heading {
  margin-bottom: 26px;
}
.admin-content .page-heading p {
  font-size: 0.94rem;
  margin-top: 10px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
  margin-bottom: 25px;
}
.stat {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 19px 21px;
}
.stat-top {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.85rem;
}
.stat-top .icon {
  width: 18px;
  color: #7596a8;
}
.stat strong {
  display: block;
  font-size: 1.95rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  margin-top: 9px;
}
.stat small {
  font-size: 0.78rem;
  color: var(--muted);
}
.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 285px;
  gap: 22px;
  align-items: start;
}
.admin-content .panel-head {
  padding: 21px 22px;
}
.admin-content .panel-head h2 {
  font-size: 1.15rem;
}
.admin-content .panel-body {
  padding: 23px;
}
.admin-content .data-table td {
  padding: 16px 19px;
}
.admin-content .data-table th {
  padding: 14px 19px;
}
.mini-date {
  font-size: 0.85rem;
  color: var(--muted);
}
.schedule {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin: 20px 0;
}
.schedule-day {
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  text-align: center;
  padding: 13px 7px;
  font-size: 0.82rem;
  color: var(--muted);
}
.schedule-day strong {
  display: block;
  font-size: 1.15rem;
  color: var(--ink);
  margin-top: 5px;
}
.schedule-day.blocked {
  background: #f3ede6;
  border-color: #e5d7c3;
}
.schedule-day.blocked strong {
  color: #805c28;
}
.schedule-day.active {
  background: var(--ice);
  border-color: #b0d9ec;
}
.block-preview {
  border-left: 3px solid #b69357;
  background: #faf6ef;
  padding: 15px 18px;
  margin-top: 19px;
  font-size: 0.9rem;
}
.block-preview strong {
  display: block;
  margin-bottom: 5px;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 23px;
  align-items: start;
}
.settings-grid > .panel + .panel {
  margin-top: 0;
}
.schedule-mail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  font-size: 0.92rem;
}
.schedule-mail input {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  width: 108px;
}
.schedule-mail:last-child {
  border: 0;
}
.review-details {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 19px;
  color: var(--muted);
  font-size: 0.8rem;
}
.review-details summary {
  cursor: pointer;
  color: #49697b;
}
.review-details p {
  margin: 10px 0;
}
.review-details a {
  text-decoration: underline;
}
.readonly-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.8rem;
}
.admin-title-actions {
  display: flex;
  gap: 12px;
}
.mobile-admin-label {
  display: none;
}
.back-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 25px;
}
.block-space {
  margin-top: 22px;
}
.right {
  text-align: right;
}
.nowrap {
  white-space: nowrap;
}
.input-note {
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--muted);
  margin-top: 12px;
}
.photo-strip {
  background: #163b4c;
  color: white;
  border-radius: 8px;
  display: flex;
  overflow: hidden;
  margin-top: 24px;
}
.photo-strip img {
  width: 42%;
  object-fit: cover;
}
.photo-strip div {
  padding: 23px;
}
.photo-strip h3 {
  font-size: 1.1rem;
}
.photo-strip p {
  font-size: 0.9rem;
  color: #bbd1dc;
  margin-top: 7px;
}
.demo-pill {
  font-size: 0.76rem;
  border: 1px solid #bdd6e2;
  color: #4c7185;
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
}
.full-span {
  grid-column: 1/-1;
}
.field label input,
.field label select {
  display: block;
  margin-top: 7px;
}
.panel,
.field,
.admin-sidebar,
.admin-main,
.two-col > *,
.account-layout > *,
.article-layout > *,
.contest-layout > *,
.settings-grid > *,
.admin-grid > * {
  min-width: 0;
}
.panel-body > .row.space-between {
  flex-wrap: wrap;
}
@media (min-width: 1600px) {
  .container,
  .header-inner {
    max-width: 1440px;
  }
  .two-col {
    grid-template-columns: minmax(0, 1fr) 340px;
  }
}
@media (max-width: 1120px) {
  .header-inner,
  .container {
    padding-left: 28px;
    padding-right: 28px;
  }
  .nav {
    gap: 19px;
  }
  .two-col {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 20px;
  }
  .selector-row {
    flex-wrap: wrap;
  }
  .admin-sidebar {
    padding: 25px 12px;
  }
  .admin-layout {
    grid-template-columns: 190px minmax(0, 1fr);
  }
  .admin-content {
    padding: 26px;
  }
  .admin-grid {
    grid-template-columns: 1fr;
  }
  .admin-grid > aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .admin-grid > aside > .panel + .panel {
    margin-top: 0;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .radio-cards {
    grid-template-columns: 1fr;
  }
  .radio-card {
    padding: 13px;
  }
  .first-visit {
    grid-template-columns: 1fr 150px;
  }
  .account-layout {
    grid-template-columns: minmax(0, 1.3fr) minmax(260px, 1fr);
  }
}
@media (max-width: 800px) {
  .header-inner {
    padding-top: 17px;
    padding-bottom: 17px;
    flex-wrap: wrap;
    gap: 13px;
  }
  .brand img {
    width: 142px;
    height: 61px;
  }
  .nav {
    width: 100%;
    gap: 22px;
    overflow: auto;
    font-size: 0.875rem;
  }
  .nav .account-link {
    padding: 7px 10px;
  }
  .page-heading {
    align-items: start;
  }
  .heading-note {
    display: none;
  }
  .two-col,
  .account-layout,
  .article-layout,
  .contest-layout {
    grid-template-columns: 1fr;
  }
  .two-col > aside {
    display: grid;
    grid-template-columns: 1fr;
  }
  .first-visit {
    margin-bottom: 22px;
  }
  .selector-row .segmented {
    width: 100%;
    justify-content: space-between;
  }
  .selector-row .segmented a {
    flex: 1;
    text-align: center;
  }
  .steps {
    gap: 24px;
    font-size: 0.875rem;
  }
  .steps b {
    width: 24px;
    height: 24px;
  }
  .steps a {
    gap: 8px;
  }
  .footer-top {
    flex-wrap: wrap;
  }
  .admin-layout {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    padding: 16px 22px;
  }
  .admin-brand,
  .admin-bottom {
    display: none;
  }
  .mobile-admin-label {
    display: block;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
  }
  .admin-nav {
    flex-direction: row;
    overflow: auto;
    gap: 5px;
  }
  .admin-nav a {
    padding: 10px 13px;
    white-space: nowrap;
  }
  .admin-nav a .icon {
    display: none;
  }
  .admin-topbar {
    padding: 16px 23px;
  }
  .admin-content {
    padding: 26px 22px;
  }
  .admin-content .page-heading {
    flex-wrap: wrap;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .email-grid {
    grid-template-columns: 1fr;
  }
  .article-layout > aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .visit-photo {
    height: 200px;
  }
  .contest-heading {
    align-items: start;
  }
  .year-select {
    flex-direction: column;
    align-items: start;
    gap: 6px;
  }
  .year-select select {
    padding: 9px 28px 9px 10px;
  }
  .contest-heading h1 {
    font-size: 2.5rem;
  }
  .photo-strip img {
    width: 35%;
  }
  .steps {
    overflow: auto;
    white-space: nowrap;
  }
  .panel-actions {
    flex-wrap: wrap;
  }
  .footer nav {
    flex-wrap: wrap;
    gap: 14px;
  }
  .admin-grid > aside {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .container,
  .header-inner {
    padding-left: 19px;
    padding-right: 19px;
  }
  .demo-bar {
    font-size: 0.72rem;
    gap: 6px;
    flex-wrap: wrap;
    padding: 7px 13px;
  }
  .nav {
    gap: 19px;
  }
  .nav .account-link .icon {
    display: none;
  }
  .breadcrumb {
    padding: 22px 0 20px;
  }
  .page-heading {
    margin-bottom: 26px;
  }
  .page-heading p {
    font-size: 0.96rem;
  }
  .panel-head {
    padding: 20px;
    flex-wrap: wrap;
    gap: 12px;
  }
  .panel-body {
    padding: 20px;
  }
  .matrix-wrap {
    padding: 0 9px 8px;
  }
  .matrix-footer {
    padding: 17px 20px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .legend {
    gap: 13px;
  }
  .date-control {
    font-size: 0.9rem;
    gap: 8px;
  }
  .selector-row {
    gap: 17px;
  }
  .first-visit {
    grid-template-columns: 1fr;
  }
  .first-visit img {
    display: none;
  }
  .first-visit-content {
    padding: 21px;
  }
  .steps {
    gap: 20px;
    padding-bottom: 17px;
    margin-bottom: 24px;
  }
  .steps a {
    font-size: 0.8rem;
  }
  .steps b {
    width: 22px;
    height: 22px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .email-grid {
    grid-template-columns: 1fr;
  }
  .footer-top,
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
  }
  .tabs {
    gap: 24px;
    font-size: 0.9rem;
  }
  .booking-item {
    padding: 22px 20px;
    gap: 15px;
    flex-wrap: wrap;
  }
  .article {
    padding: 23px;
  }
  .article-layout > aside {
    display: block;
  }
  .article-layout .visit-photo {
    height: 200px;
  }
  .contest-heading {
    gap: 17px;
  }
  .contest-heading h1 {
    font-size: 2.15rem;
  }
  .year-select label {
    font-size: 0.8rem;
  }
  .contest-heading p {
    font-size: 0.95rem;
  }
  .success-heading h1 {
    font-size: 2.1rem;
  }
  .panel-actions .button {
    width: 100%;
  }
  .admin-title-actions {
    flex-wrap: wrap;
  }
  .stat {
    padding: 15px;
  }
  .stat-top {
    font-size: 0.8rem;
  }
  .stat-top .icon {
    display: none;
  }
  .admin-content {
    padding: 23px 16px;
  }
  .admin-topbar {
    padding: 14px 19px;
  }
  .admin-content h1 {
    font-size: 2.1rem;
  }
  .admin-content .panel-body {
    padding: 19px;
  }
  .schedule {
    gap: 4px;
  }
  .schedule-day {
    padding: 11px 4px;
    font-size: 0.73rem;
  }
  .photo-strip {
    flex-direction: column;
  }
  .photo-strip img {
    width: 100%;
    height: 160px;
  }
  .admin-nav {
    font-size: 0.83rem;
  }
  .admin-nav a {
    padding: 10px;
  }
  .footer {
    margin-top: 35px;
  }
  .data-table th,
  .data-table td {
    padding-left: 15px;
    padding-right: 15px;
  }
}
@media (max-width: 520px) {
  .admin-topbar > .row:last-child > .muted {
    display: none;
  }
  .admin-topbar > .row:first-child {
    min-width: 0;
  }
  .admin-topbar strong {
    font-size: 0.86rem;
  }
  .matrix-wrap {
    overscroll-behavior-x: contain;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

:root {
  --ink: #191919;
  --muted: #666;
  --line: #dedede;
  --paper: #f5f5f5;
  --ice: #edf8fd;
  --action: #007cad;
  --radius: 2px;
  --shadow: none;
}
body {
  background: #fff;
  color: var(--ink);
}
h1,
h2,
h3 {
  letter-spacing: -0.015em;
}
h1 {
  font-weight: 600;
}
.button,
.panel,
.segmented,
.inline-hint,
.stat,
.email-preview,
.field input,
.field select,
.radio-card,
.upload-zone,
.abo-card,
.photo-strip,
.first-visit,
.visit-photo,
.day-square,
.selection-head,
.nav .account-link {
  border-radius: 2px;
}
.button {
  background: #009fe3;
  border-color: #009fe3;
  color: #082430;
  font-weight: 650;
}
.button:hover {
  background: #078dc5;
  color: white;
}
.button.secondary {
  background: white;
  border-color: #bbb;
  color: #222;
}
.text-link {
  color: #00759d;
}
.demo-bar {
  background: #202020;
  color: #c9c9c9;
}
.demo-bar a {
  color: #79d5fa;
}
.header-inner {
  max-width: 1440px;
  padding: 23px 42px;
  gap: 38px;
}
.brand img {
  width: 170px;
  height: 74px;
}
.nav {
  gap: 24px;
  font-size: 0.95rem;
}
.nav > a {
  color: #222;
  font-weight: 600;
}
.nav > a.active {
  color: #0089c4;
}
.service-nav {
  background: #f0f0f0;
  border-top: 1px solid #e4e4e4;
  font-size: 0.8rem;
}
.service-nav .container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 9px;
  padding-bottom: 9px;
  color: #555;
}
.service-nav .container > div {
  display: flex;
  gap: 25px;
}
.service-nav a {
  color: #222;
  font-weight: 600;
}
.site-band {
  background: #009fe3;
  color: #072531;
  padding: 27px 0 31px;
}
.site-band span {
  display: block;
  font-size: 0.98rem;
}
.site-band strong {
  display: block;
  font-size: clamp(2.1rem, 4vw, 3.65rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin-top: 9px;
}
.container {
  max-width: 1360px;
}
.page-heading {
  margin-bottom: 27px;
}
.page-heading h1 {
  font-size: clamp(2rem, 3vw, 2.8rem);
}
.page-heading .eyebrow {
  margin-bottom: 9px;
}
.breadcrumb {
  padding: 24px 0;
}
.panel + .panel {
  margin-top: 22px;
}
.panel-head {
  border-bottom: 1px solid var(--line);
  padding: 21px 25px;
}
.panel-head h2 {
  font-size: 1.27rem;
}
.panel-body {
  padding: 24px;
}
.selection-head {
  background: #f0f0f0;
}
.abo-card {
  background: #222;
}
.abo-card .rule {
  border-color: #555;
}
.abo-card .eyebrow,
.abo-card p,
.abo-card .receipt-line span:first-child {
  color: #ddd;
}
.footer {
  background: #222;
  color: #fff;
  border: 0;
  padding: 38px 0 28px;
}
.footer p,
.footer nav,
.footer-bottom,
.footer .review-details {
  color: #c2c2c2;
}
.footer .review-details {
  border-color: #555;
}
.footer .review-details summary {
  color: #ddd;
}
.footer a {
  color: #fff;
}
.footer h3 {
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.practical-section {
  margin: 42px 0;
}
.three-panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.three-panels > .panel + .panel {
  margin: 0;
}
.operating-note {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.operating-note:first-child {
  padding-top: 0;
}
.operating-note:last-child {
  border: 0;
  padding-bottom: 0;
}
.operating-note strong {
  display: block;
  font-weight: 600;
  font-size: 0.98rem;
}
.operating-note p {
  font-size: 0.89rem;
  color: var(--muted);
  margin-top: 7px;
  line-height: 1.5;
}
.practical-section .operating-note {
  border: 0;
  border-left: 3px solid var(--blue);
  padding: 0 0 0 19px;
}
.group-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 28px 18px;
  flex-wrap: wrap;
  font-size: 0.83rem;
}
.group-controls > span {
  margin-right: 8px;
  color: var(--muted);
}
.group-controls button {
  border: 1px solid #ccc;
  background: white;
  color: #444;
  padding: 6px 13px;
  cursor: pointer;
}
.group-controls button.active {
  background: #222;
  color: white;
  border-color: #222;
}
.contest-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  margin: 0 0 28px;
  background: #f8f8f8;
}
.contest-steps > div {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 20px 24px;
  border-right: 1px solid var(--line);
}
.contest-steps > div:last-child {
  border: 0;
}
.contest-steps b {
  font-size: 2rem;
  color: #008bbc;
  font-weight: 500;
}
.contest-steps span {
  font-size: 0.83rem;
  color: #666;
}
.contest-steps strong {
  display: block;
  color: #222;
  font-size: 1rem;
  margin-bottom: 3px;
}
.faq {
  margin-top: 19px;
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
}
.faq p {
  max-width: 850px;
  margin-top: 13px;
  color: #666;
}
.cell-sub {
  display: block;
  color: #6d6d6d;
  font-size: 0.76rem;
  margin-top: 5px;
}
.admin-layout {
  grid-template-columns: 235px minmax(0, 1fr);
  background: #f5f5f5;
}
.admin-sidebar {
  background: white;
  border-right: 1px solid #dedede;
  color: #333;
  padding: 30px 15px;
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 650px;
}
.admin-brand {
  padding: 0 17px 30px;
}
.admin-brand img {
  width: 165px;
  height: 74px;
}
.admin-brand p {
  color: #666;
  font-size: 0.74rem;
  border-top: 1px solid #ddd;
  padding-top: 17px;
  margin-top: 15px;
}
.admin-nav a {
  color: #444;
  border-radius: 0;
  padding: 13px 15px;
  gap: 11px;
  border-left: 3px solid transparent;
  font-size: 0.88rem;
}
.admin-nav a.active {
  background: #eaf7fd;
  color: #171717;
  border-left-color: #009fe3;
}
.admin-nav a.active .icon {
  color: #0084b9;
}
.admin-nav a:hover {
  background: #f1f1f1;
  color: #111;
}
.admin-bottom {
  padding: 25px 17px 0;
}
.sidebar-note {
  margin: 35px 16px 15px;
  padding-top: 19px;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  color: #777;
}
.sidebar-note strong {
  color: #444;
  display: block;
  font-weight: 600;
}
.sidebar-note span {
  display: block;
  margin-top: 6px;
}
.admin-topbar {
  height: 69px;
  padding: 18px 30px;
  border-top: 4px solid #009fe3;
  font-size: 0.82rem;
  letter-spacing: 0.015em;
}
.admin-content {
  max-width: 1570px;
  padding: 30px;
}
.admin-content h1 {
  font-size: 2.15rem;
}
.admin-content .eyebrow {
  font-size: 0.71rem;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.admin-content .page-heading {
  align-items: center;
  gap: 20px;
}
.admin-content .page-heading > .row {
  flex-wrap: wrap;
  justify-content: end;
}
.admin-content .page-heading p {
  font-size: 0.9rem;
  margin-top: 10px;
}
.admin-content .button {
  font-size: 0.88rem;
  min-height: 41px;
  padding: 9px 16px;
}
.stats {
  gap: 16px;
  margin-bottom: 25px;
}
.stat {
  padding: 18px 20px;
  border-top: 3px solid #b7b7b7;
}
.stat:first-child {
  border-top-color: #009fe3;
}
.stat strong {
  font-size: 2rem;
  font-weight: 550;
  margin-top: 8px;
}
.stat small {
  display: block;
  line-height: 1.4;
  margin-top: 2px;
}
.admin-content .tabs {
  margin-bottom: 20px;
  gap: 27px;
}
.admin-content .tabs a {
  padding: 9px 0 13px;
  font-size: 0.9rem;
}
.admin-content .data-table {
  font-size: 0.85rem;
}
.admin-content .data-table td {
  padding: 16px 18px;
}
.admin-content .data-table th {
  padding: 13px 18px;
  font-size: 0.7rem;
  letter-spacing: 0.055em;
  background: #f8f8f8;
}
.data-table tbody tr:hover {
  background: #fbfdfe;
}
.filter-bar {
  display: flex;
  align-items: end;
  gap: 16px;
  padding: 19px 22px;
  border-bottom: 1px solid var(--line);
  background: #fdfdfd;
  flex-wrap: wrap;
}
.filter-bar label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.76rem;
  color: #666;
  min-width: 140px;
}
.filter-bar input,
.filter-bar select {
  min-height: 39px;
  border: 1px solid #cfcfcf;
  border-radius: 2px;
  background: #fff;
  padding: 8px 10px;
  color: #222;
  width: 100%;
  font-size: 0.87rem;
}
.filter-bar .grow {
  flex: 1;
  min-width: 190px;
}
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr);
  gap: 24px;
  align-items: start;
}
.detail-layout > * {
  min-width: 0;
}
.meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 23px;
}
.meta-grid span {
  display: block;
  font-size: 0.79rem;
  color: #777;
  margin-bottom: 5px;
}
.meta-grid strong {
  font-weight: 600;
  font-size: 1rem;
}
.customer-identity {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.customer-identity .avatar {
  width: 43px;
  height: 43px;
  background: #ededed;
  border-radius: 2px;
  font-size: 0.92rem;
}
.customer-identity > .badge {
  margin-left: auto;
}
.field textarea {
  font: inherit;
  border: 1px solid #ccc;
  border-radius: 2px;
  width: 100%;
  padding: 12px;
  color: #222;
  resize: vertical;
  background: #fff;
  margin-top: 7px;
}
textarea:focus-visible {
  outline: 3px solid #0079a5;
  outline-offset: 3px;
}
.mail-logo {
  display: block;
  width: 134px;
  height: 59px;
  object-fit: contain;
  margin-bottom: 26px;
}
.occupation-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 850px;
}
.occupation-table th {
  font-size: 0.8rem;
  text-align: left;
  background: #fafafa;
  color: #666;
  padding: 14px;
  font-weight: 500;
  border: 1px solid #e6e6e6;
}
.occupation-table td {
  border: 1px solid #e6e6e6;
  padding: 7px;
  height: 96px;
  min-width: 142px;
}
.booked-cell,
.free-cell {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  min-height: 76px;
  padding: 11px;
  font-size: 0.82rem;
}
.booked-cell {
  background: #e5f5fd;
  border-left: 3px solid #009fe3;
}
.booked-cell small {
  font-size: 0.72rem;
  color: #3b6a80;
}
.free-cell {
  background: #f9f9f9;
  color: #929292;
  text-align: center;
  font-size: 0.76rem;
  border: 1px dashed #ddd;
}
.free-cell:hover {
  background: #edf9ff;
  color: #0076a5;
}
.document-preview {
  min-height: 240px;
  background: #f3f3f3;
  border: 1px dashed #b8b8b8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 25px;
  text-align: center;
}
.document-preview .icon {
  width: 40px;
  height: 40px;
  color: #888;
}
.document-preview span,
.document-preview small {
  font-size: 0.83rem;
  color: #777;
}
.admin-disclaimer {
  margin-top: 35px;
  border-top: 1px solid #ddd;
  padding-top: 18px;
}
.admin-content .three-panels .panel-head {
  padding: 18px 20px;
}
.admin-content .three-panels .panel-body {
  padding: 20px;
}
.admin-content .three-panels .panel-head h2 {
  font-size: 1.03rem;
}
.data-table .field {
  min-width: 95px;
}
.data-table .field label {
  font-size: 0.72rem;
}
.data-table .field input {
  min-height: 35px;
  padding: 7px;
  max-width: 95px;
}
.badge {
  border-radius: 2px;
}
.admin-content .settings-grid > .panel + .panel {
  margin-top: 0;
}
.filter-empty {
  text-align: center;
  color: #777;
  padding: 25px;
}
.filter-empty[hidden] {
  display: none;
}
.site-band + .container .page-heading p {
  max-width: 850px;
}
@media (min-width: 1600px) {
  .admin-content {
    padding: 40px;
  }
  .admin-layout {
    grid-template-columns: 252px minmax(0, 1fr);
  }
  .admin-sidebar {
    padding-left: 23px;
    padding-right: 23px;
  }
}
@media (max-width: 1200px) {
  .header-inner {
    gap: 28px;
    padding-left: 28px;
    padding-right: 28px;
  }
  .nav {
    gap: 16px;
    font-size: 0.86rem;
  }
  .brand img {
    width: 150px;
    height: 66px;
  }
  .admin-layout {
    grid-template-columns: 208px minmax(0, 1fr);
  }
  .admin-brand img {
    width: 145px;
  }
  .admin-content {
    padding: 25px;
  }
  .three-panels {
    grid-template-columns: 1fr;
  }
  .three-panels > .panel + .panel {
    margin: 0;
  }
  .admin-content .three-panels {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }
  .admin-content .three-panels .panel-body {
    padding: 17px;
  }
  .admin-content .three-panels .panel-head {
    padding: 17px;
  }
  .detail-layout {
    grid-template-columns: minmax(0, 1fr) 290px;
  }
  .admin-content .page-heading {
    flex-wrap: wrap;
  }
  .admin-content .page-heading > .row {
    justify-content: start;
  }
  .contest-steps > div {
    padding: 18px 15px;
    gap: 12px;
  }
}
@media (max-width: 1000px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 12px;
  }
  .nav {
    width: 100%;
    overflow: auto;
    gap: 24px;
  }
  .admin-content .three-panels {
    grid-template-columns: 1fr;
  }
  .detail-layout {
    grid-template-columns: 1fr;
  }
  .admin-content .settings-grid {
    grid-template-columns: 1fr;
  }
  .admin-content .settings-grid > .panel + .panel {
    margin: 0;
  }
  .admin-sidebar {
    padding-left: 8px;
    padding-right: 8px;
  }
  .admin-nav a {
    font-size: 0.82rem;
    gap: 9px;
    padding: 12px;
  }
  .admin-layout {
    grid-template-columns: 192px minmax(0, 1fr);
  }
}
@media (max-width: 800px) {
  .admin-layout {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    position: static;
    height: auto;
    min-height: 0;
    padding: 16px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .mobile-admin-label {
    color: #222;
  }
  .sidebar-note {
    display: none;
  }
  .admin-nav a {
    padding: 10px 13px;
  }
  .service-nav .container > span {
    display: none;
  }
  .service-nav .container {
    justify-content: flex-end;
  }
  .contest-steps {
    grid-template-columns: 1fr;
  }
  .contest-steps > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 14px 20px;
  }
  .contest-steps > div:last-child {
    border-bottom: 0;
  }
  .contest-steps b {
    font-size: 1.5rem;
  }
  .site-band {
    padding: 22px 0 26px;
  }
  .admin-topbar {
    padding: 15px 22px;
  }
  .admin-content {
    padding: 25px 20px;
  }
  .meta-grid {
    gap: 19px;
  }
  .filter-bar {
    padding: 18px;
  }
  .filter-bar label {
    flex: 1;
  }
  .practical-section .three-panels {
    gap: 25px;
  }
}
@media (max-width: 520px) {
  .header-inner {
    padding: 17px 19px;
  }
  .brand img {
    width: 145px;
    height: 63px;
  }
  .nav {
    gap: 20px;
  }
  .service-nav {
    font-size: 0.76rem;
  }
  .service-nav .container > div {
    gap: 22px;
  }
  .site-band span {
    font-size: 0.88rem;
  }
  .site-band strong {
    font-size: 2.1rem;
  }
  .page-heading h1 {
    font-size: 2rem;
  }
  .admin-content {
    padding: 24px 16px;
  }
  .admin-content h1 {
    font-size: 1.95rem;
  }
  .stats {
    gap: 11px;
  }
  .stat {
    padding: 14px;
  }
  .stat strong {
    font-size: 1.7rem;
  }
  .stat small {
    font-size: 0.74rem;
  }
  .admin-content .tabs {
    gap: 24px;
  }
  .admin-topbar {
    font-size: 0.73rem;
    padding: 14px 18px;
  }
  .admin-topbar .muted {
    display: none;
  }
  .admin-content .panel-head {
    flex-wrap: wrap;
    gap: 10px;
    padding: 18px;
  }
  .admin-content .panel-body {
    padding: 19px;
  }
  .admin-content .page-heading > .row {
    width: 100%;
  }
  .admin-content .page-heading > .row .button {
    flex: 1;
  }
  .group-controls {
    padding-left: 19px;
    padding-right: 19px;
    gap: 6px;
  }
  .group-controls > span {
    width: 100%;
    margin-bottom: 4px;
  }
  .group-controls button {
    flex: 1;
    padding: 8px;
  }
  .panel-head {
    padding: 19px;
  }
  .meta-grid {
    grid-template-columns: 1fr 1fr;
  }
  .meta-grid strong {
    font-size: 0.94rem;
  }
  .admin-content .data-table td {
    padding: 14px 16px;
  }
  .filter-bar .grow {
    min-width: 100%;
    width: 100%;
  }
  .filter-bar label {
    min-width: 120px;
  }
  .customer-identity > .badge {
    margin-left: 0;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .settings-grid > .panel + .panel {
    margin: 0;
  }
  .site-band + .container .breadcrumb {
    font-size: 0.8rem;
  }
  .group-controls button {
    font-size: 0.8rem;
  }
}

:root {
  --line: #dfe4e7;
  --paper: #f4f6f7;
  --muted: #616b71;
}
body.site-preview {
  color: #202629;
}
.site-preview h1 {
  font-weight: 600;
  letter-spacing: -0.028em;
}
.site-preview .button {
  border-radius: 5px;
  box-shadow: 0 2px 3px #0039520b;
  transition:
    background 0.16s,
    box-shadow 0.16s,
    transform 0.16s;
}
.site-preview .button:hover {
  background: #0075a2;
  color: #fff;
  box-shadow: 0 4px 10px #00395217;
  transform: translateY(-1px);
}
.site-preview .button.secondary {
  border-color: #ccd4d9;
  background: #fff;
  box-shadow: none;
}
.site-preview .button.secondary:hover {
  background: #f4f8fa;
  color: #1c424f;
  border-color: #9db9c6;
}
.site-preview .button:active {
  transform: translateY(0);
}
.site-preview .panel {
  border-radius: 7px;
  box-shadow: 0 2px 5px #162d3c04;
  overflow: hidden;
}
.site-preview .panel-head {
  background: #fff;
  border-color: #e7ecef;
  padding-top: 22px;
  padding-bottom: 21px;
}
.site-preview .panel-head h2 {
  font-weight: 600;
  letter-spacing: -0.016em;
}
.site-preview .field input,
.site-preview .field select,
.site-preview .field textarea,
.site-preview .filter-bar input,
.site-preview .filter-bar select {
  border-radius: 4px;
  border-color: #d0d8dd;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.site-preview :is(input, select, textarea):hover {
  border-color: #8ca7b3;
}
.site-preview :is(input, select, textarea):focus {
  border-color: #008cc7;
  box-shadow: 0 0 0 3px #009fe313;
}
.site-preview .eyebrow {
  font-weight: 600;
  letter-spacing: 0.11em;
}
.site-preview .badge {
  border-radius: 4px;
  padding: 5px 9px;
  font-weight: 500;
  font-size: 0.77rem;
  line-height: 1.3;
}
.site-preview .badge-abo {
  color: #00678f;
  background: #e7f4fc;
}
.site-preview .badge-paid {
  color: #23624a;
  background: #eaf5ee;
}
.site-preview .badge-due {
  color: #805719;
  background: #fff2dc;
}
.site-preview .badge-abo::before,
.site-preview .badge-paid::before,
.site-preview .badge-due::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
.site-preview .admin-layout {
  background: #f3f5f6;
}
.site-preview .admin-sidebar {
  border-color: #e0e6e9;
}
.site-preview .admin-brand {
  padding-bottom: 27px;
}
.site-preview .admin-brand p {
  letter-spacing: 0.11em;
  color: #73818a;
  border-color: #e6ebee;
}
.site-preview .admin-nav {
  gap: 7px;
}
.site-preview .admin-nav a {
  border-radius: 0 5px 5px 0;
  padding-top: 14px;
  padding-bottom: 14px;
  font-weight: 500;
}
.site-preview .admin-nav a.active {
  background: #e9f5fc;
  color: #075475;
  font-weight: 600;
}
.site-preview .sidebar-note {
  margin-top: 37px;
  background: #f8fafb;
  border: 1px solid #e6ebee;
  border-radius: 6px;
  padding: 16px 12px;
  margin-left: 10px;
  margin-right: 10px;
}
.site-preview .sidebar-note .opening-label {
  font-size: 0.69rem;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #637b87;
  margin: 0 0 11px;
}
.site-preview .opening-label .icon {
  width: 13px;
  height: 13px;
}
.site-preview .sidebar-note strong {
  font-size: 0.76rem;
  color: #253a43;
}
.site-preview .sidebar-note > span:last-child {
  color: #3f6b5c;
  font-size: 0.74rem;
}
.site-preview .admin-topbar {
  border-top-width: 3px;
  border-bottom-color: #e0e6e9;
}
.site-preview .preview-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #4b6674;
  font-size: 0.78rem;
  margin-right: 8px;
}
.site-preview .preview-switch .icon {
  width: 15px;
  height: 15px;
}
.site-preview .preview-switch:hover {
  color: #007bb0;
}
.site-preview .admin-content .page-heading {
  margin-bottom: 27px;
}
.site-preview .admin-content .page-heading h1 {
  font-size: 2.35rem;
}
.site-preview .admin-content .page-heading p {
  color: #65747c;
}
.site-preview .stats {
  gap: 17px;
  margin-bottom: 26px;
}
.site-preview .stat-link {
  position: relative;
  border: 1px solid #dfe5e8;
  border-radius: 7px;
  padding: 18px 20px 0;
  display: block;
  min-width: 0;
  background: #fff;
  box-shadow: 0 3px 6px #1c3f5004;
  transition:
    border-color 0.18s,
    box-shadow 0.18s,
    transform 0.18s;
}
.site-preview .stat-link:hover {
  border-color: #9fc8dc;
  box-shadow: 0 5px 15px #1c3f5010;
  transform: translateY(-2px);
}
.site-preview .stat-link .stat-top {
  font-weight: 500;
  font-size: 0.86rem;
  color: #5c6e78;
  min-height: 28px;
  gap: 7px;
}
.site-preview .stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef4f7;
  border-radius: 5px;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: #5d7b8b;
}
.site-preview .stat-icon .icon {
  width: 16px;
  height: 16px;
  color: inherit;
}
.site-preview .stat-link > strong {
  font-variant-numeric: tabular-nums;
  font-size: 2.45rem;
  letter-spacing: -0.04em;
  font-weight: 600;
  line-height: 1.1;
  margin-top: 13px;
  margin-bottom: 8px;
}
.site-preview .stat-link > small {
  font-size: 0.78rem;
  line-height: 1.4;
  min-height: 30px;
  color: #70808a;
}
.site-preview .stat-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid #e8edef;
  margin-top: 12px;
  padding: 11px 0;
  font-size: 0.74rem;
  color: #36647b;
  font-weight: 500;
}
.site-preview .stat-action .icon {
  width: 14px;
  height: 14px;
}
.site-preview .admin-content .tabs {
  gap: 6px;
  padding: 0 0 12px;
  margin-bottom: 19px;
  border-color: #dce3e7;
}
.site-preview .admin-content .tabs a {
  padding: 9px 15px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 0.86rem;
  color: #697a84;
  font-weight: 500;
}
.site-preview .admin-content .tabs a.active {
  border-color: #d8e5ec;
  background: white;
  color: #006e9b;
  box-shadow: 0 1px 3px #00355206;
}
.site-preview .admin-content .tabs a:hover {
  background: #fff;
  color: #006e9b;
}
.site-preview .table-heading p {
  font-size: 0.8rem;
  color: #73808a;
  margin-top: 5px;
}
.site-preview .filter-bar {
  background: #f9fbfc;
  padding-top: 16px;
  padding-bottom: 17px;
  border-color: #e5ebee;
  gap: 14px;
}
.site-preview .filter-bar label {
  font-size: 0.74rem;
  font-weight: 500;
  color: #637984;
}
.site-preview .filter-bar input,
.site-preview .filter-bar select {
  min-height: 39px;
  font-size: 0.84rem;
}
.site-preview .admin-content .data-table th {
  background: #f4f7f8;
  color: #71818b;
  font-size: 0.66rem;
  letter-spacing: 0.065em;
  font-weight: 600;
  border-color: #e3eaee;
}
.site-preview .admin-content .data-table td {
  padding-top: 14px;
  padding-bottom: 14px;
  border-color: #eaf0f3;
  font-variant-numeric: tabular-nums;
}
.site-preview .data-table tbody tr {
  transition: background 0.14s;
}
.site-preview .data-table tbody tr:hover {
  background: #f4faff;
}
.site-preview .data-table .text-link {
  color: #307190;
  font-size: 0.81rem;
}
.site-preview .filter-reservations td:first-child .text-link {
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  color: #344d5b;
  font-weight: 600;
}
.site-preview .filter-reservations td:first-child .icon {
  display: none;
}
.site-preview .filter-reservations td:last-child .text-link {
  border: 1px solid #dce8ee;
  border-radius: 4px;
  padding: 6px 9px;
  font-size: 0.75rem;
  background: #fff;
  white-space: nowrap;
}
.site-preview .filter-reservations td:last-child .text-link:hover {
  background: #e9f5fc;
  text-decoration: none;
  border-color: #abd5e7;
}
.site-preview .table-person {
  display: flex;
  align-items: center;
  gap: 11px;
}
.site-preview .person-monogram {
  display: grid;
  place-items: center;
  background: #edf2f5;
  border: 1px solid #e4ebef;
  border-radius: 5px;
  width: 32px;
  height: 35px;
  flex-shrink: 0;
  font-size: 0.71rem;
  font-weight: 600;
  color: #627e8d;
}
.site-preview .table-person strong {
  font-size: 0.86rem;
  font-weight: 600;
}
.site-preview .cell-sub {
  font-size: 0.7rem;
  color: #80909a;
  margin-top: 3px;
  letter-spacing: 0.025em;
}
.site-preview .first-visit-label {
  font-size: 0.66rem;
  color: #946323;
  display: inline-block;
  margin-top: 4px;
  background: #fff2df;
  border-radius: 3px;
  padding: 1px 5px;
}
.site-preview .matrix-footer {
  background: #fafcfd;
  color: #72818b;
  font-size: 0.79rem;
  border-color: #e6edf1;
  padding-top: 15px;
  padding-bottom: 15px;
}
.site-preview .operating-note strong {
  font-weight: 600;
  color: #364e5b;
}
.site-preview .admin-content .three-panels .panel-head {
  background: #fafcfd;
}
.site-preview .admin-content .three-panels .panel-head h2 {
  font-size: 1.05rem;
}
.site-preview .occupation-table th {
  background: #f4f8fa;
  border-color: #e1e9ee;
  font-weight: 600;
}
.site-preview .occupation-table td {
  border-color: #e5ecf0;
  padding: 8px;
}
.site-preview .booked-cell {
  border-radius: 4px;
  border-left-width: 3px;
  box-shadow: 0 2px 4px #00354f09;
  background: #e4f4fc;
}
.site-preview .free-cell {
  border-radius: 4px;
  border-style: solid;
  border-color: #e7eef2;
  background: #fcfdfe;
  color: #78919e;
}
.site-preview .inline-hint {
  border-radius: 5px;
  border-left: 3px solid #89cee9;
  padding-left: 14px;
}
.site-preview .inline-hint.green {
  border-left-color: #89bd9d;
}
.site-preview .inline-hint.amber {
  border-left-color: #d5b47a;
}
.site-preview .site-band {
  padding-top: 22px;
  padding-bottom: 25px;
  color: #072430;
}
.site-preview .site-band strong {
  font-size: clamp(2.1rem, 3.8vw, 3.2rem);
  letter-spacing: 0.015em;
  font-weight: 600;
}
.site-preview .site-band span {
  font-size: 0.91rem;
}
.site-preview .service-nav {
  background: #f7f9fa;
  border-color: #e6ebef;
}
.site-preview .header {
  border-color: #e0e8ec;
}
.site-preview .steps {
  gap: 35px;
  padding-bottom: 21px;
}
.site-preview .steps b {
  border-radius: 5px;
  width: 29px;
  height: 29px;
  font-weight: 600;
}
.site-preview .steps .current b {
  background: #007bac;
  box-shadow: 0 2px 4px #007cac15;
}
.site-preview .steps .current {
  color: #005c83;
}
.site-preview .matrix {
  border-spacing: 8px 8px;
}
.site-preview .matrix th b {
  font-size: 1.25rem;
  color: #314c5b;
  font-weight: 600;
  margin-top: 2px;
}
.site-preview .matrix th:first-child {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.site-preview .matrix tbody td:first-child {
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  color: #536a78;
}
.site-preview .slot {
  height: 48px;
  border-radius: 5px;
  color: #236680;
  background: #edf8fd;
  border-color: #cde5f0;
  font-size: 0.81rem;
}
.site-preview .slot:hover {
  background: #d9f1fb;
  border-color: #009fe3;
  box-shadow: 0 2px 5px #008ac011;
}
.site-preview .slot.busy {
  background: #f0f2f3;
  color: #84939c;
  border-color: #e7ecef;
}
.site-preview .slot.chosen {
  background: #007cab;
  color: #fff;
  border-color: #007cab;
  box-shadow: 0 3px 7px #007cab24;
  font-weight: 600;
}
.site-preview .group-controls button {
  border-radius: 4px;
  border-color: #d8e3e9;
  font-size: 0.8rem;
  padding: 7px 14px;
}
.site-preview .group-controls button.active {
  background: #20333e;
  border-color: #20333e;
  color: #fff;
}
.site-preview .selection-head {
  background: #f0f7fa;
  color: #202629;
  border-bottom: 1px solid #dce8ee;
  border-radius: 0;
}
.site-preview .selection-head p {
  color: #647985;
}
.site-preview .selection-body {
  padding: 24px;
}
.site-preview .summary-total {
  font-variant-numeric: tabular-nums;
  padding: 16px 0;
  border-top: 1px solid #e2e9ed;
  border-bottom: 1px solid #e2e9ed;
  margin: 20px 0;
}
.site-preview .summary-total .price {
  font-size: 2rem;
  font-weight: 600;
  color: #213c4b;
}
.site-preview .radio-card {
  border-radius: 5px;
  padding-top: 18px;
  padding-bottom: 18px;
  transition:
    border-color 0.16s,
    background 0.16s;
}
.site-preview .radio-card:has(input:checked) {
  background: #edf8fd;
  border-color: #00a0e3;
  box-shadow: inset 0 0 0 1px #00a0e3;
}
.site-preview .abo-card {
  background: #23323b;
  border-radius: 7px;
  border-top: 3px solid #009fe3;
  box-shadow: 0 4px 14px #1734410c;
}
.site-preview .abo-card h2 {
  font-size: 2rem;
  margin-top: 8px;
}
.site-preview .abo-card .receipt-line strong {
  font-variant-numeric: tabular-nums;
}
.site-preview .day-square {
  background: #f4f8fa;
  border-color: #d7e5ed;
  border-radius: 5px;
  color: #6b8796;
}
.site-preview .day-square strong {
  color: #007da9;
}
.site-preview .email-preview {
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 3px 8px #26455505;
}
.site-preview .email-to {
  background: #f5f9fb;
  border-color: #deeaef;
}
.site-preview .rank-table tbody tr:first-child {
  background: #eaf6fc;
}
.site-preview .rank-table tbody tr:first-child td:first-child {
  font-size: 1.6rem;
  color: #0083b8;
}
.site-preview .rank-table tbody tr:first-child .avatar {
  background: #cbeaf8;
  color: #116783;
}
.site-preview .rank-table td:last-child {
  font-variant-numeric: tabular-nums;
}
.site-preview .contest-steps {
  border-radius: 6px;
  background: #f7fafc;
  border-color: #dfe9ef;
}
.site-preview .upload-zone {
  border-radius: 6px;
  background: #f8fcfe;
  border-color: #a7cedf;
}
.site-preview .first-visit {
  border-radius: 7px;
  border-color: #dfe9ee;
}
.site-preview .first-visit-content {
  background: #fafcfd;
}
.site-preview [data-pane].visible {
  animation: pane-in 0.18s ease-out;
}
@keyframes pane-in {
  from {
    opacity: 0.7;
    transform: translateY(3px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (min-width: 1001px) {
  .site-preview .two-col > aside {
    position: sticky;
    top: 24px;
  }
  .site-preview .detail-layout > aside {
    position: sticky;
    top: 24px;
  }
}
@media (max-width: 1200px) {
  .site-preview .stat-link {
    padding-left: 16px;
    padding-right: 16px;
  }
  .site-preview .stat-link .stat-top {
    font-size: 0.8rem;
  }
  .site-preview .stat-action {
    font-size: 0.7rem;
  }
  .site-preview .stat-link > strong {
    font-size: 2.15rem;
  }
  .site-preview .admin-content .data-table th,
  .site-preview .admin-content .data-table td {
    padding-left: 15px;
    padding-right: 15px;
  }
  .site-preview .person-monogram {
    width: 28px;
    height: 32px;
  }
  .site-preview .table-person {
    gap: 8px;
  }
}
@media (max-width: 1000px) and (min-width: 801px) {
  .site-preview .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 800px) {
  .site-preview .admin-sidebar {
    padding-top: 14px;
    padding-bottom: 14px;
  }
  .site-preview .admin-nav a {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .site-preview .admin-content .page-heading h1 {
    font-size: 2.1rem;
  }
  .site-preview .preview-switch {
    margin-right: 0;
  }
  .site-preview .admin-content .tabs {
    gap: 3px;
  }
  .site-preview .admin-content .tabs a {
    padding-left: 11px;
    padding-right: 11px;
  }
  .site-preview .stats {
    gap: 13px;
  }
  .site-preview .stat-link > small {
    min-height: 24px;
  }
}
@media (max-width: 520px) {
  .site-preview .stat-link {
    padding: 14px 13px 0;
  }
  .site-preview .stat-primary {
    padding-top: 12px;
  }
  .site-preview .stat-link .stat-top {
    font-size: 0.76rem;
    gap: 3px;
  }
  .site-preview .stat-icon {
    width: 23px;
    height: 23px;
  }
  .site-preview .stat-icon .icon {
    display: block;
    width: 14px;
    height: 14px;
  }
  .site-preview .stat-link > strong {
    font-size: 2rem;
    margin-top: 10px;
  }
  .site-preview .stat-link > small {
    font-size: 0.73rem;
    min-height: 36px;
  }
  .site-preview .stat-action {
    font-size: 0.69rem;
    gap: 4px;
    padding: 10px 0;
    margin-top: 8px;
  }
  .site-preview .stat-action .icon {
    width: 12px;
    height: 12px;
  }
  .site-preview .preview-switch {
    font-size: 0.7rem;
  }
  .site-preview .admin-topbar .demo-pill {
    display: none;
  }
  .site-preview .admin-content .page-heading h1 {
    font-size: 2rem;
  }
  .site-preview .table-heading p {
    font-size: 0.75rem;
    max-width: 260px;
  }
  .site-preview .matrix {
    border-spacing: 6px 8px;
  }
  .site-preview .steps {
    gap: 20px;
  }
  .site-preview .steps b {
    width: 25px;
    height: 25px;
  }
  .site-preview .group-controls button {
    padding: 7px 9px;
  }
  .site-preview .site-band strong {
    font-size: 2rem;
  }
  .site-preview .slot {
    height: 46px;
  }
  .site-preview .panel-head {
    padding: 19px;
  }
  .site-preview .summary-total .price {
    font-size: 1.85rem;
  }
  .site-preview .admin-content .tabs a {
    font-size: 0.81rem;
  }
  .site-preview .table-person strong {
    font-size: 0.82rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-preview [data-pane].visible {
    animation: none;
  }
  .site-preview .button:hover,
  .site-preview .stat-link:hover {
    transform: none;
  }
}

.site-preview #reservationen > .page-heading {
  margin-bottom: 20px;
}
.site-preview #reservationen > .page-heading > .row {
  gap: 9px;
}
.site-preview #reservationen > .page-heading .button:first-child {
  order: 2;
}
.site-preview #reservationen > .page-heading .button.secondary {
  box-shadow: none;
}
.site-preview .compact-summary {
  gap: 14px;
  margin-bottom: 20px;
}
.site-preview .compact-summary .stat-link {
  padding: 13px 17px 14px;
  border: 1px solid #dfe5e8;
  background: #fff;
  color: #202629;
  box-shadow: none;
  border-radius: 6px;
}
.site-preview .compact-summary .stat-link:hover {
  border-color: #80bed9;
  background: #fbfdff;
  box-shadow: none;
  transform: none;
}
.site-preview .compact-summary .stat-top {
  min-height: 18px;
  font-size: 0.81rem;
  font-weight: 500;
  color: #596e7a;
}
.site-preview .compact-summary .stat-top > .icon {
  width: 14px;
  height: 14px;
  color: #7c96a4;
}
.site-preview .compact-summary .stat-link > strong {
  font-size: 1.95rem;
  line-height: 1.12;
  margin: 8px 0 5px;
  font-weight: 600;
  color: #202629;
}
.site-preview .compact-summary .stat-link > small {
  font-size: 0.75rem;
  line-height: 1.3;
  min-height: 0;
  color: #6b7d87;
}
.site-preview .currency-unit {
  font-size: 1rem;
  font-weight: 500;
  color: #596e7a;
  letter-spacing: 0;
}
.site-preview #reservationen > .tabs {
  padding-bottom: 10px;
  margin-bottom: 14px;
}
.site-preview #reservationen > .panel > .panel-head {
  padding: 16px 21px;
}
.site-preview #reservationen .filter-bar {
  padding: 12px 21px;
  gap: 12px;
}
.site-preview #reservationen .filter-bar label {
  gap: 4px;
}
.site-preview #reservationen .filter-bar input,
.site-preview #reservationen .filter-bar select {
  min-height: 36px;
  padding-top: 6px;
  padding-bottom: 6px;
}
.site-preview #reservationen .data-table td {
  padding-top: 11px;
  padding-bottom: 11px;
}
.site-preview #reservationen .data-table th {
  padding-top: 11px;
  padding-bottom: 11px;
}
@media (max-width: 1200px) {
  .site-preview #reservationen > .page-heading {
    align-items: center;
  }
  .site-preview #reservationen > .page-heading > .row {
    gap: 7px;
  }
  .site-preview #reservationen > .page-heading .button {
    padding: 8px 11px;
    font-size: 0.8rem;
    min-height: 37px;
  }
  .site-preview .compact-summary .stat-link {
    padding-left: 14px;
    padding-right: 14px;
  }
}
@media (max-width: 800px) {
  .site-preview .compact-summary {
    gap: 11px;
  }
  .site-preview #reservationen > .page-heading > .row {
    flex-wrap: wrap;
  }
  .site-preview #reservationen > .page-heading .button:first-child {
    order: 0;
  }
  .site-preview #reservationen > .panel > .panel-head {
    padding: 16px 18px;
  }
  .site-preview #reservationen .filter-bar {
    padding: 13px 18px;
  }
}
@media (max-width: 520px) {
  .site-preview .compact-summary .stat-link {
    padding: 12px;
  }
  .site-preview .compact-summary .stat-link > strong {
    font-size: 1.85rem;
    margin-top: 7px;
  }
  .site-preview .compact-summary .stat-top {
    font-size: 0.73rem;
  }
  .site-preview .compact-summary .stat-link > small {
    font-size: 0.71rem;
    min-height: 28px;
  }
  .site-preview #reservationen > .page-heading .button:first-child {
    flex-basis: 100%;
  }
  .site-preview #reservationen > .page-heading .button.secondary {
    flex: 1;
  }
  .site-preview #reservationen .filter-bar .grow {
    min-width: 100%;
  }
}

.site-preview .design-notice {
  position: sticky;
  top: 0;
  z-index: 50;
  display: block;
  background: #edf6fa;
  border: 0;
  border-bottom: 1px solid #b8d9e9;
  color: #365260;
  text-align: left;
  padding: 10px 24px 8px;
  font-size: 0.77rem;
}
.design-notice-main {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1500px;
  margin: auto;
}
.design-label {
  background: #fff;
  border: 1px solid #9bcce1;
  color: #075675;
  border-radius: 4px;
  padding: 5px 9px;
  font-size: 0.71rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.site-preview .design-notice-copy strong {
  display: block;
  color: #264956;
  font-weight: 600;
  font-size: 0.82rem;
}
.design-notice-copy > span {
  display: block;
  color: #526c79;
  margin-top: 1px;
}
.site-preview .design-switch {
  margin-left: auto;
  white-space: nowrap;
  color: #07658b;
  font-size: 0.76rem;
  text-decoration: none;
  font-weight: 600;
}
.preview-context {
  max-width: 1500px;
  margin: 5px auto 0;
  font-size: 0.71rem;
  color: #587480;
}
.preview-context summary {
  cursor: pointer;
  width: fit-content;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.preview-context > div {
  max-width: 1100px;
  padding: 13px 0 7px;
  font-size: 0.81rem;
  line-height: 1.5;
}
.preview-context p + p {
  margin-top: 8px;
}
.site-preview .preview-context strong {
  color: #2c4b59;
}
.site-preview .preview-context a {
  color: #08648b;
  display: inline-block;
  margin-top: 10px;
}
.example-stamp {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.055em;
  color: #678797;
  border-bottom: 1px solid #deeaef;
  padding-bottom: 9px;
  margin-bottom: 18px;
}
.example-session {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  font-size: 0.79rem;
  background: #f7fafc;
  border: 1px solid #e0eaf0;
  border-radius: 4px;
  padding: 10px 14px;
  margin-bottom: 20px;
  color: #526b7a;
  flex-wrap: wrap;
}
.example-session strong {
  color: #3e5a69;
  font-weight: 600;
}
.example-session a {
  color: #00729b;
  white-space: nowrap;
  font-weight: 500;
}
.reference-note {
  font-size: 0.8rem;
  color: #657b87;
  line-height: 1.6;
  margin: 21px 0;
  border-left: 2px solid #bfd9e7;
  padding-left: 14px;
}
.reference-note a {
  color: #096b92;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.reference-note p {
  margin-top: 6px;
}
.site-preview .admin-sidebar {
  top: 86px;
  height: calc(100vh - 86px);
}
@media (min-width: 1001px) {
  .site-preview .two-col > aside,
  .site-preview .detail-layout > aside {
    top: 110px;
  }
}
@media (max-width: 800px) {
  .site-preview .admin-sidebar {
    top: auto;
    height: auto;
  }
  .site-preview .design-notice {
    padding: 9px 18px;
  }
  .design-notice-main {
    gap: 12px;
    flex-wrap: wrap;
  }
  .site-preview .design-switch {
    margin-left: 0;
  }
  .design-notice-copy {
    flex: 1;
  }
  .preview-context {
    margin-top: 6px;
  }
}
@media (max-width: 520px) {
  .design-label {
    font-size: 0.65rem;
    padding: 4px 7px;
  }
  .site-preview .design-notice-copy strong {
    font-size: 0.74rem;
  }
  .design-notice-copy > span {
    font-size: 0.7rem;
    line-height: 1.35;
  }
  .design-notice-main {
    gap: 7px 10px;
    align-items: start;
  }
  .design-notice-copy {
    flex-basis: calc(100% - 110px);
  }
  .site-preview .design-switch {
    font-size: 0.7rem;
  }
  .preview-context {
    font-size: 0.69rem;
  }
  .example-session {
    font-size: 0.75rem;
    padding: 10px 12px;
  }
  .reference-note {
    font-size: 0.77rem;
  }
}
