:root {
  font-family: Inter, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: #17212d;
  background: #f7f8fa;
  font-size: 15px;
  line-height: 1.6;
  --teal: #116a62;
  --line: #e6e7e7;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: var(--teal);
  text-underline-offset: 4px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  padding: 11px 18px;
  min-height: 44px;
  background: var(--teal);
  border: 1px solid var(--teal);
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}
button:hover,
.button:hover {
  filter: brightness(0.94);
}
button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
button.secondary,
.button.secondary {
  background: white;
  color: #17212d;
  border-color: #d5dadc;
}
button.danger {
  background: white;
  color: #b42318;
  border-color: #e5bdb7;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbd2d6;
  border-radius: 7px;
  padding: 11px;
  background: white;
  color: #17212d;
  min-height: 44px;
}
textarea {
  min-height: 86px;
  resize: vertical;
}
label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 16px;
}
label input,
label select,
label textarea {
  margin-top: 6px;
}
input[type="checkbox"] {
  width: 20px;
  min-height: 20px;
  vertical-align: middle;
  margin-right: 8px;
}
*:focus-visible {
  outline: 3px solid #b08a55;
  outline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 32px;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 14px;
}
h2 {
  font-size: 21px;
  letter-spacing: -0.4px;
}
h3 {
  font-size: 16px;
}
small,
.muted {
  color: #596773;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 700;
  text-transform: uppercase;
  color: #60757a;
  margin-bottom: 12px;
}
.brand {
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 2px;
  text-decoration: none;
  color: inherit;
}
.brand span {
  color: #b08a55;
}
.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 5%;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.top select {
  width: auto;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.landing {
  background: #f8f7f4;
  min-height: 100vh;
}
.hero {
  max-width: 1180px;
  margin: auto;
  padding: 88px 32px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero h1 {
  font-size: 54px;
  line-height: 1.2;
  letter-spacing: -2px;
}
.hero p {
  font-size: 18px;
  max-width: 540px;
  color: #596773;
}
.hero .button {
  margin: 16px 0 24px;
}
.hero-art {
  background: #17212d;
  border-radius: 20px;
  padding: 40px;
  color: white;
  box-shadow: 24px 24px 0 #ece7dd;
}
.hero-art h2 {
  font-size: 28px;
}
.journey {
  border-top: 1px solid #42505d;
  padding: 20px 0;
  display: flex;
  gap: 18px;
  align-items: center;
}
.journey b {
  color: #cdb38b;
  font-size: 24px;
}
.journey small {
  color: #c0cbd2;
}
.features {
  max-width: 1180px;
  margin: auto;
  padding: 0 32px 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  min-width: 0;
}
.auth {
  max-width: 480px;
  margin: 64px auto;
  padding: 32px;
}
.shell {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 100vh;
}
.sidebar {
  background: #17212d;
  color: #fff;
  padding: 32px 20px;
  position: fixed;
  width: 220px;
  height: 100vh;
  display: flex;
  flex-direction: column;
}
.sidebar nav {
  display: grid;
  gap: 8px;
  margin-top: 48px;
}
.sidebar nav a {
  color: #c6cdd4;
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 8px;
}
.sidebar nav a.active {
  background: #293e49;
  color: white;
  border-left: 3px solid #65b7a4;
}
.sidebar .foot {
  margin-top: auto;
  color: #bdc9cf;
  font-size: 12px;
  padding: 16px 12px;
}
.main {
  grid-column: 2;
  min-width: 0;
}
.workspace {
  max-width: 1500px;
  padding: 32px 40px;
  margin: auto;
}
.workspace > .heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.subtop {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 16px 40px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.stat {
  padding: 22px 24px;
}
.stat strong {
  display: block;
  font-size: 32px;
  margin: 10px 0 2px;
}
.stat small {
  font-size: 11px;
}
.columns {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
  gap: 24px;
  align-items: start;
}
.row {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.row:last-child {
  border-bottom: 0;
}
.row p {
  margin: 4px 0;
}
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 5px;
  font-size: 12px;
  background: #eef2f4;
  color: #43545f;
  font-weight: 600;
}
.badge.pending,
.notice {
  background: #fff6e6;
  color: #805413;
}
.badge.confirmed,
.badge.arrived,
.badge.completed {
  background: #e7f4ee;
  color: #166344;
}
.badge.rejected,
.badge.cancelled {
  background: #fcece9;
  color: #a43225;
}
.notice {
  padding: 16px 20px;
  border: 1px solid #efdbb4;
  border-radius: 8px;
  margin-bottom: 24px;
}
.error {
  background: #fcece9;
  color: #a43225;
  padding: 14px;
  border-radius: 8px;
  margin-bottom: 18px;
}
.empty {
  text-align: center;
  padding: 50px 24px;
}
.empty .symbol {
  display: block;
  font-size: 34px;
  color: #116a62;
  margin-bottom: 16px;
}
.empty p {
  color: #596773;
}
.formgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}
.span2 {
  grid-column: 1/-1;
}
.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.resource-icon {
  font-size: 28px;
  color: var(--teal);
  background: #edf5f2;
  border-radius: 8px;
  display: inline-block;
  padding: 8px 16px;
  margin-bottom: 20px;
}
.prices {
  margin: 20px 0;
}
.prices div {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.guest {
  background: #f8f7f4;
  min-height: 100vh;
}
.guest-main {
  max-width: 1140px;
  padding: 48px 24px;
  margin: auto;
}
.guest-head {
  padding: 16px 0 32px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}
.guest-head h1 {
  font-size: 42px;
  margin-top: 16px;
}
.guest-photo {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 32px;
}
.booking-form {
  position: sticky;
  top: 24px;
}
.booking-form h2 {
  margin-bottom: 4px;
}
.timeline {
  border-left: 2px solid #d9e6e0;
  margin: 24px 0;
  padding-left: 22px;
}
.timeline p {
  padding: 8px 0;
}
.legal {
  font-size: 12px;
  line-height: 1.7;
  color: #596773;
  margin-top: 24px;
}
.filter {
  max-width: 250px;
}
.status-card {
  max-width: 760px;
  margin: auto;
}
.code {
  font-family: monospace;
  overflow-wrap: anywhere;
  font-size: 12px;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #17212d;
  color: white;
  padding: 14px 24px;
  border-radius: 8px;
  z-index: 10;
  max-width: 90vw;
}
.checkline {
  font-weight: 400;
}
.loading {
  padding: 80px;
  text-align: center;
}
.stack > * + * {
  margin-top: 20px;
}
.hint {
  font-size: 12px;
  color: #596773;
}
footer {
  padding: 24px;
  text-align: center;
  font-size: 12px;
  color: #596773;
}
details {
  margin: 16px 0;
}
summary {
  cursor: pointer;
  min-height: 44px;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 12px;
}
hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 24px 0;
}
.subtop select {
  width: auto;
  max-width: 280px;
}
.subtop .actions {
  justify-content: flex-end;
}
.guest .top {
  flex-wrap: wrap;
}
.guest .top .actions {
  flex-wrap: nowrap;
}
@media (max-width: 1000px) {
  .hero {
    gap: 32px;
  }
  .hero h1 {
    font-size: 42px;
  }
  .workspace {
    padding: 24px;
  }
  .columns {
    grid-template-columns: 1fr;
  }
  .booking-form {
    position: static;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .shell {
    grid-template-columns: 180px 1fr;
  }
  .sidebar {
    width: 180px;
    padding: 24px 12px;
  }
  .subtop {
    padding: 16px 24px;
  }
}
@media (max-width: 640px) {
  h1 {
    font-size: 27px;
  }
  .top {
    padding: 16px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 48px 24px;
    gap: 40px;
  }
  .hero h1 {
    font-size: 38px;
  }
  .hero-art {
    padding: 28px;
    box-shadow: 10px 10px 0 #ece7dd;
  }
  .features {
    grid-template-columns: 1fr;
    padding: 16px 24px 48px;
  }
  .shell {
    display: block;
  }
  .sidebar {
    position: fixed;
    bottom: 0;
    top: auto;
    width: 100%;
    height: 68px;
    padding: 0;
    z-index: 5;
    border-top: 1px solid #43545f;
  }
  .sidebar > .brand,
  .sidebar > .foot {
    display: none;
  }
  .sidebar nav {
    display: flex;
    margin: 0;
    gap: 0;
    justify-content: space-around;
    height: 100%;
    align-items: center;
  }
  .sidebar nav a {
    padding: 12px 8px;
    font-size: 12px;
  }
  .sidebar nav a.active {
    border-left: 0;
    border-bottom: 3px solid #65b7a4;
    border-radius: 0;
  }
  .main {
    padding-bottom: 78px;
  }
  .workspace {
    padding: 24px 16px;
  }
  .subtop {
    padding: 14px 16px;
    flex-wrap: wrap;
  }
  .subtop .muted {
    font-size: 11px;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 16px;
  }
  .stat strong {
    font-size: 26px;
  }
  .card {
    padding: 20px;
  }
  .formgrid {
    grid-template-columns: 1fr;
  }
  .span2 {
    grid-column: auto;
  }
  .workspace > .heading {
    flex-direction: column;
  }
  .guest-main {
    padding: 28px 16px;
  }
  .guest-head h1 {
    font-size: 32px;
  }
  .auth {
    margin: 24px 16px;
  }
  .row {
    flex-wrap: wrap;
  }
  .guest .columns {
    display: flex;
    flex-direction: column;
  }
  .guest .columns > * {
    width: 100%;
  }
  .toast {
    bottom: 84px;
  }
  .actions .button {
    font-size: 13px;
  }
}
@media (max-width: 640px) {
  .guest .booking-form {
    order: -1;
  }
  .subtop .actions {
    justify-content: flex-start;
  }
  .subtop select {
    max-width: 100%;
  }
  .guest-head h1 {
    overflow-wrap: anywhere;
  }
}
