:root {
  --bg: #08110f;
  --bg-deep: #050b0a;
  --panel: #0d1916;
  --panel-2: #11221d;
  --panel-3: #162a24;
  --line: #243c35;
  --line-bright: #3c6a5d;
  --text: #f2fbf7;
  --muted: #8ca59d;
  --lime: #b7ef3f;
  --mint: #61efb8;
  --cyan: #36d5cf;
  --amber: #ffb92e;
  --red: #ff817b;
  --sidebar: 252px;
  --radius: 18px;
  --shadow: 0 24px 64px rgba(0, 0, 0, .28);
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg-deep); }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 76% -12%, rgba(70, 224, 170, .17), transparent 34%),
    radial-gradient(circle at 12% 92%, rgba(183, 239, 63, .06), transparent 27%),
    linear-gradient(rgba(97, 239, 184, .018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(97, 239, 184, .018) 1px, transparent 1px),
    var(--bg);
  background-size: auto, auto, 42px 42px, 42px 42px, auto;
  font: 15px/1.55 Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

a,
a:link,
a:visited,
a:hover,
a:active { color: inherit; text-decoration: none !important; }
button, input { font: inherit; }
input[type="number"] { appearance: textfield; -moz-appearance: textfield; }
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; appearance: none; margin: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button:not(:disabled), a { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

/* Sidebar */
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 50;
  width: var(--sidebar);
  padding: 27px 20px;
  overflow: hidden;
  border-right: 1px solid rgba(97, 239, 184, .17);
  background: linear-gradient(180deg, rgba(8, 21, 17, .98), rgba(6, 15, 13, .98));
  box-shadow: 18px 0 50px rgba(0, 0, 0, .14);
  backdrop-filter: blur(18px);
}
.sidebar::before {
  content: "";
  position: absolute;
  top: -130px;
  left: -90px;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(97, 239, 184, .12), transparent 68%);
  pointer-events: none;
}
.brand {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 8px 35px;
  color: var(--text);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: .12em;
  text-decoration: none !important;
}
.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: contain;
  filter: drop-shadow(0 0 13px rgba(54, 213, 207, .25));
}
.brand span {
  background: linear-gradient(100deg, var(--lime), var(--mint) 52%, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sidebar nav { position: relative; display: grid; gap: 8px; }
.sidebar nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 47px;
  padding: 11px 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #8ba29a;
  font-weight: 650;
  text-decoration: none !important;
  transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease;
}
.sidebar nav a > i {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #708b82;
  font-style: normal;
  text-align: center;
}
.sidebar nav a:hover {
  color: var(--text);
  border-color: rgba(97, 239, 184, .12);
  background: rgba(21, 45, 37, .72);
  transform: translateX(2px);
}
.sidebar nav a.on {
  color: #09231c;
  border-color: rgba(201, 255, 109, .72);
  background: linear-gradient(100deg, var(--lime), var(--mint) 70%, #49e6cf);
  box-shadow: 0 12px 30px rgba(97, 239, 184, .14), inset 0 1px rgba(255, 255, 255, .34);
}
.sidebar nav a.on > i { color: #0c3228; }
.state {
  position: absolute;
  left: 34px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #91a69f;
  font-size: 12px;
}
.state > i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(183, 239, 63, .07), 0 0 14px var(--lime);
}
.guest-note { margin: 24px 12px; color: var(--muted); line-height: 1.8; }
.guest-logo { position: relative; margin: 28px 3px; text-align: center; }
.guest-logo img { width: 178px; max-width: 100%; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .52)); }
.guest-logo p { margin-top: 13px; color: #9db2aa; font-size: 11px; letter-spacing: .16em; }

/* Page shell and headings */
main {
  width: calc(100% - var(--sidebar));
  max-width: 1540px;
  min-height: 100vh;
  margin-left: var(--sidebar);
  padding: 27px clamp(20px, 4vw, 62px) 64px;
}
body.has-support-fab main { padding-bottom: calc(116px + env(safe-area-inset-bottom)); }
a.support-fab {
  position: fixed;
  z-index: 30;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  max-width: calc(100vw - 24px);
  padding: 8px 17px 8px 9px;
  border: 1px solid #b9f67a;
  border-radius: 999px;
  background: linear-gradient(105deg, var(--lime), var(--mint) 70%, var(--cyan));
  color: #08271e;
  box-shadow: 0 12px 32px rgba(0,0,0,.36), 0 0 0 4px rgba(97,239,184,.1);
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}
a.support-fab:hover { color: #08271e; filter: brightness(1.08); transform: translateY(-2px); }
a.support-fab:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.support-fab__icon { display: grid; flex: 0 0 auto; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #103f30; color: var(--mint); font-size: 17px; line-height: 1; }
@media (max-width: 520px) {
  a.support-fab { right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); min-height: 44px; padding: 6px 13px 6px 7px; font-size: 12px; }
  .support-fab__icon { width: 30px; height: 30px; }
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 57px;
  margin-bottom: 25px;
}
small {
  color: var(--mint);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .17em;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin: 2px 0 0;
  background: linear-gradient(96deg, var(--lime), var(--mint) 54%, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(25px, 2.4vw, 34px);
  font-weight: 900;
  letter-spacing: -.035em;
  filter: drop-shadow(0 5px 18px rgba(97, 239, 184, .1));
}
h2 { margin: 5px 0 0; font-size: 22px; font-weight: 860; letter-spacing: -.025em; }
h3 { font-size: 16px; }
.account { display: flex; align-items: center; gap: 13px; color: #abc0b9; font-size: 12px; }
.account > span {
  padding: 7px 11px;
  border: 1px solid rgba(97, 239, 184, .13);
  border-radius: 999px;
  background: rgba(11, 28, 23, .78);
}
.account form { margin: 0; }
.account > a { color: #a8bdb6; text-decoration: none; padding: 8px 12px; border: 1px solid var(--line); border-radius: 9px; background: #0d1c18; }
.account > a:hover { border-color: var(--line-bright); color: var(--text); }
.ghost {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #0d1c18;
  color: #a8bdb6;
}
.ghost:hover { border-color: var(--line-bright); color: var(--text); }
.notice {
  position: relative;
  margin-bottom: 18px;
  padding: 13px 16px 13px 19px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
}
.notice::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: currentColor; }
.notice.ok { color: var(--lime); border-color: #345c45; background: linear-gradient(90deg, #153326, #10251e); }
.notice.err { color: #ffaaa5; border-color: #60302d; background: linear-gradient(90deg, #351c1c, #251717); }
.notice.mock { color: #ffd389; border-color: #5e4924; background: linear-gradient(90deg, #292313, #1b2117); }

/* Operation feedback stays in view after redirects and form submissions. */
.client-toast-stack {
  position: fixed;
  z-index: 1100;
  top: max(18px, env(safe-area-inset-top));
  right: max(18px, env(safe-area-inset-right));
  display: grid;
  gap: 10px;
  width: min(460px, calc(100vw - 36px));
  pointer-events: none;
}
.client-toast {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 14px;
  border: 1px solid #468665;
  border-left: 5px solid var(--mint);
  border-radius: 14px;
  background: #103025;
  color: #f1fff7;
  box-shadow: 0 20px 54px rgba(0, 0, 0, .48);
  pointer-events: auto;
  overflow-wrap: anywhere;
}
.client-toast--error {
  border-color: #a85d50;
  border-left-color: #ff9b81;
  background: #361e1b;
}
.client-toast__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 8px;
  background: #69e5a7;
  color: #09251b;
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
}
.client-toast--error .client-toast__icon { background: #ff9b81; color: #3a1613; }
.client-toast__body { flex: 1; min-width: 0; }
.client-toast__body strong { display: block; margin: 1px 0 3px; font-size: 13px; line-height: 1.35; }
.client-toast__body p { margin: 0; color: #d4f0dd; font-size: 13px; line-height: 1.55; }
.client-toast--error .client-toast__body p { color: #ffded5; }
.client-toast__close {
  display: grid;
  flex: none;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  color: #f1fff7;
  font-size: 20px;
  line-height: 1;
}
.client-toast__close[hidden] { display: none; }
.client-toast__close:hover { background: rgba(255, 255, 255, .17); }
.client-toast__close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.client-toast.is-dismissed { display: none; }
.password-modal .client-toast-stack {
  position: sticky;
  top: 0;
  right: auto;
  width: 100%;
  padding: 10px 10px 0;
}
@media (max-width: 600px) {
  .client-toast-stack {
    top: max(10px, env(safe-area-inset-top));
    right: max(10px, env(safe-area-inset-right));
    left: max(10px, env(safe-area-inset-left));
    width: auto;
  }
  .client-toast { padding: 12px; }
  .password-modal .client-toast-stack { left: auto; right: auto; }
}

/* Public pay-to-rent flow */
.flash-hero {
  max-width: 1180px;
  margin: 8px auto 24px;
  text-align: center;
}
.flash-hero small {
  display: inline-flex;
  padding: 6px 12px;
  border: 1px solid rgba(97, 239, 184, .24);
  border-radius: 999px;
  background: rgba(20, 54, 43, .46);
}
.flash-hero h2 {
  margin: 13px 0 8px;
  background: linear-gradient(96deg, var(--lime), var(--mint) 53%, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(31px, 4.4vw, 58px);
  font-weight: 950;
  letter-spacing: -.055em;
}
.flash-hero p { margin-bottom: 0; color: #a9beb7; font-size: 15px; }
.direct-rent-flow {
  display: grid;
  grid-template-columns: 1.18fr 1.04fr .92fr;
  gap: 1px;
  max-width: 1280px;
  margin: 0 auto 22px;
  overflow: hidden;
  border: 1px solid #3d6156;
  border-radius: 20px;
  background: #28463d;
  box-shadow: 0 28px 72px rgba(0,0,0,.31);
}
.flow-banner {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 72px;
  padding: 17px 24px;
  background: linear-gradient(100deg, var(--lime), #8eef76 48%, var(--mint));
  color: #09231c;
}
.flow-banner span { font-size: clamp(20px,2.5vw,31px); font-weight: 950; }
.flow-banner b { padding-left: 14px; border-left: 1px solid rgba(9,35,28,.25); font-size: 12px; }
.flow-step {
  position: relative;
  min-height: 252px;
  padding: 27px 24px 23px;
  background: linear-gradient(145deg,#10231d,#091713);
}
.flow-step > div { width: 100%; }
.flow-step > i {
  position: absolute;
  top: 20px;
  right: 20px;
  color: rgba(183,239,63,.16);
  font: 950 43px/1 ui-monospace,monospace;
  font-style: normal;
}
.flow-step h3 { margin: 7px 0 18px; font-size: 18px; }
.flow-step p { color: #9eb3ac; line-height: 1.8; }
.flow-step em { color: var(--amber); font-size: 11px; font-style: normal; }
.guest-product-options { display: grid; gap: 9px; }
.guest-product-option { position: relative; display: block; }
.guest-product-option > input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.guest-product-option > span {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 10px;
  align-items: center;
  min-height: 69px;
  padding: 11px 13px;
  border: 1px solid #365a4e;
  border-radius: 11px;
  background: #07120f;
  transition: .18s ease;
}
.guest-product-option b { font-size: 13px; }
.guest-product-option em { grid-row: 2; color: #90a79f; }
.guest-product-option strong {
  grid-row: 1/3;
  grid-column: 2;
  color: var(--amber);
  font: 900 16px ui-monospace,monospace;
  white-space: nowrap;
}
.guest-product-option:hover > span { border-color: #659770; transform: translateY(-1px); }
.guest-product-option > input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 3px; }
.guest-product-option > input:checked + span {
  border-color: var(--lime);
  background: linear-gradient(105deg,var(--lime),#88ed8a 49%,var(--mint));
  color: #09231c;
  box-shadow: 0 10px 25px rgba(97,239,184,.14), inset 0 1px rgba(255,255,255,.42);
}
.guest-product-option > input:checked + span em { color: #24513f; }
.guest-product-option > input:checked + span strong { color: #173729; }
.guest-quantity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 11px;
  padding: 11px 12px;
  border: 1px solid #2e4e43;
  border-radius: 11px;
  background: rgba(5,16,13,.72);
}
.guest-quantity > div:first-child { display: grid; gap: 2px; }
.guest-quantity span { color: #dcece6; font-size: 12px; font-weight: 800; }
.guest-quantity small { color: #8ca59d; font-size: 9px; font-weight: 600; letter-spacing: 0; }
.quantity-control { display: grid; grid-template-columns: 34px 52px 34px; overflow: hidden; border: 1px solid #4d7568; border-radius: 9px; }
.quantity-control button, .quantity-control input {
  min-width: 0;
  height: 36px;
  border: 0;
  background: #10271f;
  color: var(--text);
  text-align: center;
}
.quantity-control button { color: var(--lime); font-size: 18px; font-weight: 900; }
.quantity-control button:hover:not(:disabled) { background: var(--lime); color: #09231c; }
.quantity-control button:disabled { color: #546a63; cursor: not-allowed; }
.quantity-control input { border-right: 1px solid #36584c; border-left: 1px solid #36584c; font-weight: 900; appearance: textfield; }
.quantity-control input::-webkit-inner-spin-button, .quantity-control input::-webkit-outer-spin-button { margin: 0; appearance: none; }
.guest-unavailable { padding: 20px; border: 1px dashed #50665f; border-radius: 11px; color: var(--muted); text-align: center; }
.address-step code {
  position: relative;
  z-index: 1;
  display: block;
  padding: 15px;
  border: 1px dashed #80d544;
  border-radius: 11px;
  background: #edfff8;
  color: #11271f;
  font: 800 15px/1.55 ui-monospace,monospace;
  word-break: break-all;
  user-select: all;
}
.address-step button {
  width: 100%;
  margin-top: 11px;
  padding: 10px;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(100deg,var(--lime),var(--mint));
  color: #09231c;
  font-weight: 900;
}
.address-step button:hover { filter: brightness(1.05); transform: translateY(-1px); }
.guest-payment-summary { display: grid; gap: 9px; }
.guest-payment-summary > div {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 12px 13px;
  border: 1px solid #315247;
  border-radius: 11px;
  background: #06110e;
}
.guest-payment-summary span { color: #96ada5; font-size: 10px; font-weight: 700; }
.guest-payment-summary strong { color: var(--mint); font: 900 22px ui-monospace,monospace; }
.guest-payment-summary small { color: #759087; font-size: 8px; letter-spacing: .13em; }
.guest-payment-summary .guest-payable {
  border-color: rgba(255,185,46,.55);
  background: linear-gradient(120deg,#322619,#151f1b);
}
.guest-payment-summary .guest-payable strong {
  padding-right: 88px;
  color: var(--amber);
  font-size: clamp(22px,2.1vw,29px);
  text-shadow: 0 0 22px rgba(255,185,46,.15);
}
.guest-payable button {
  position: absolute;
  right: 10px;
  bottom: 12px;
  min-height: 31px;
  padding: 6px 10px;
  border: 1px solid rgba(255,185,46,.42);
  border-radius: 8px;
  background: rgba(255,185,46,.11);
  color: #ffd16f;
  font-size: 10px;
  font-weight: 850;
}
.guest-payable button:hover:not(:disabled) { background: var(--amber); color: #2a1b04; }
.guest-payable button:disabled { opacity: .45; cursor: not-allowed; }
.payment-step p { margin: 14px 0 8px; font-size: 12px; line-height: 1.65; }
.payment-step > div > em { display: block; line-height: 1.55; }
.auth { margin-top: 22px; }

.panel, .stats article, .auth {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(17, 34, 29, .96), rgba(8, 19, 16, .98));
  box-shadow: var(--shadow);
}
.panel { padding: 25px; }
.panel::before, .auth::before {
  content: "";
  position: absolute;
  inset: -1px 28px auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(183, 239, 63, .72), rgba(54, 213, 207, .52), transparent);
}

/* Login and registration */
.auth {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: clamp(28px, 4vw, 58px);
  min-height: 560px;
  padding: clamp(28px, 4.2vw, 58px);
  overflow: hidden;
}
.auth::after {
  content: "⚡";
  position: absolute;
  left: 4%;
  bottom: -82px;
  color: rgba(183, 239, 63, .035);
  font-size: 290px;
  font-weight: 900;
  line-height: 1;
  transform: rotate(-8deg);
  pointer-events: none;
}
.auth-copy { position: relative; z-index: 1; align-self: center; padding: 18px 4px; }
.auth-copy small {
  display: inline-flex;
  padding: 6px 10px;
  border: 1px solid rgba(97, 239, 184, .24);
  border-radius: 99px;
  background: rgba(30, 76, 61, .24);
}
.auth-copy h2 {
  max-width: 520px;
  margin-top: 17px;
  background: linear-gradient(98deg, var(--lime), var(--mint), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.16;
}
.auth-copy p { max-width: 530px; color: #9bb0a9; font-size: 16px; line-height: 1.85; }
.auth-copy ul { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; padding: 0; list-style: none; }
.auth-copy li {
  padding: 8px 12px;
  border: 1px solid rgba(97, 239, 184, .18);
  border-radius: 30px;
  background: rgba(7, 18, 15, .68);
  color: #bad0c8;
  font-size: 11px;
}
.auth-copy li::before { content: "✓"; margin-right: 6px; color: var(--lime); font-weight: 900; }
.auth-forms { position: relative; z-index: 2; width: 100%; max-width: 480px; justify-self: end; align-self: center; }
.auth-card {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid #315545;
  border-radius: 20px;
  background: linear-gradient(158deg, #10271b, #091711 55%, #09130f);
  box-shadow: 0 24px 52px rgba(0, 0, 0, .19), inset 0 1px rgba(255, 255, 255, .04);
}
.auth-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--lime), var(--mint), var(--cyan));
}
.auth-card-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.auth-card-heading span { color: #eef9ef; font-size: 15px; font-weight: 850; }
.auth-card-heading small { color: #789b87; font-size: 9px; font-weight: 750; letter-spacing: .14em; }
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 20px 0 24px;
  padding: 5px;
  border: 1px solid #274536;
  border-radius: 12px;
  background: #08150e;
}
.auth-tabs a {
  min-height: 43px;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #9db8a8;
  font-size: 13px;
  font-weight: 800;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}
.auth-tabs a:hover { color: #e6ffed; background: #132b1e; }
.auth-tabs a[aria-current="page"] { border-color: #5d9f72; background: linear-gradient(125deg, #173d29, #1c463b); color: #b9f59c; }
.auth-form-intro { margin-bottom: 3px; }
.auth-form-intro h3 { margin: 0; font-size: 23px; line-height: 1.25; }
.auth-form-intro p { margin: 6px 0 0; color: #91ad9d; font-size: 12px; line-height: 1.6; }
.auth-error { margin: -8px 0 18px; padding: 10px 12px; border: 1px solid rgba(255, 129, 123, .3); border-radius: 9px; background: rgba(255, 129, 123, .08); color: #ffb4ad; font-size: 12px; line-height: 1.55; }
.auth-error[hidden] { display: none; }
.auth-forms form {
  display: grid;
  gap: 15px;
}
.auth-forms form[hidden] { display: none !important; }
.auth-forms h3 { margin-bottom: 5px; color: #ecfaf5; }
.auth label, .field { display: grid; gap: 7px; color: #bdd1ca; font-size: 12px; }
.auth input, .field input {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid #2c493f;
  border-radius: 10px;
  background: #06100d;
  color: white;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.auth input:hover, .field input:hover { border-color: #467464; }
.auth input:focus, .field input:focus {
  border-color: var(--mint);
  background: #081713;
  box-shadow: 0 0 0 4px rgba(97, 239, 184, .08);
}
.auth button, .submit, .primary-link {
  border: 0;
  border-radius: 10px;
  background: linear-gradient(100deg, var(--lime), var(--mint) 58%, #48e0c9);
  color: #08231c;
  padding: 13px;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 10px 26px rgba(97, 239, 184, .13), inset 0 1px rgba(255, 255, 255, .35);
  transition: filter .18s ease, transform .18s ease, box-shadow .18s ease;
}
.auth button:hover, .submit:hover, .primary-link:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(97, 239, 184, .2), inset 0 1px rgba(255, 255, 255, .35);
}
.auth .secondary {
  border: 1px solid #3b6a59;
  background: linear-gradient(130deg, #193d32, #143129);
  color: var(--mint);
  box-shadow: none;
}
.auth .captcha-widget { display: grid; gap: 8px; min-width: 0; }
.auth .captcha-widget > label { color: #bdd1ca; font-size: 12px; }
.auth .captcha-row { display: flex; align-items: stretch; gap: 9px; min-width: 0; }
.auth .captcha-row img { display: block; width: 170px; height: 54px; max-width: calc(100% - 92px); border: 1px solid #3c6653; border-radius: 10px; background: #e9f5ed; cursor: pointer; }
.auth .captcha-row .captcha-refresh { flex: 1; min-width: 82px; padding: 8px; border: 1px solid #3b6a59; background: #122920; color: #b9f3d4; box-shadow: none; font-size: 12px; cursor: pointer; }
.auth .captcha-widget input { text-transform: uppercase; letter-spacing: .14em; }
.auth-forms form > button[type="submit"] { width: 100%; min-height: 49px; margin-top: 3px; }

/* Dashboard */
.stats { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 16px; margin-bottom: 18px; }
.stats article { min-height: 137px; padding: 22px; overflow: hidden; }
.stats article::after {
  content: "";
  position: absolute;
  pointer-events: none;
  right: -42px;
  bottom: -55px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(97, 239, 184, .1), transparent 70%);
}
.stats span, .stats p { color: var(--muted); font-size: 12px; }
.stats strong { display: block; margin: 8px 0; font: 800 27px ui-monospace, SFMono-Regular, monospace; }
.stats p { margin-bottom: 0; }
.stats .balance {
  border-color: #3d715d;
  background: linear-gradient(132deg, #1c4636, #102a22 72%);
}
.stats .balance strong { color: #f7fff9; }
.stats .balance a { float: right; color: var(--lime); font-size: 12px; font-weight: 800; }
.dashboard-grid { display: grid; grid-template-columns: 1.45fr .7fr; gap: 18px; }
.actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; margin-top: 20px; }
.actions a {
  display: flex;
  gap: 11px;
  align-items: center;
  min-height: 79px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #07120f;
  transition: .18s ease;
}
.actions a:hover { border-color: #5b8a64; background: linear-gradient(135deg, #132c24, #0d201a); transform: translateY(-2px); }
.actions b { color: var(--lime); font-size: 21px; filter: drop-shadow(0 0 10px rgba(183, 239, 63, .2)); }
.actions span, .actions em { display: block; }
.actions span { font-size: 12px; font-weight: 800; }
.actions em { margin-top: 4px; color: var(--muted); font-size: 10px; font-style: normal; font-weight: 400; }
.tips p { margin: 18px 0 0; color: var(--muted); line-height: 1.75; }
.recent { margin-top: 18px; overflow: hidden; }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.section-title > a { color: var(--lime); font-size: 12px; font-weight: 800; }

/* Rental flow */
.rent-page { max-width: 1040px; }
.rent-page > h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 7px;
  font-size: 26px;
}
.rent-page > h2::before {
  content: "1";
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--lime), var(--mint));
  color: #09231b;
  font: 900 13px/1 Inter, sans-serif;
}
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 23px 0 26px; }
.products label { position: relative; display: block; }
.products input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.products span {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 82px;
  padding: 16px 18px;
  overflow: hidden;
  border: 1px solid #315047;
  border-radius: 13px;
  background: #06100d;
  transition: .2s ease;
}
.products span::after {
  content: "选择";
  margin-left: 12px;
  padding: 4px 7px;
  border: 1px solid #35564a;
  border-radius: 99px;
  color: #779088;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .06em;
}
.products label:hover span { border-color: #5a8c70; transform: translateY(-1px); }
.products input:checked + span {
  border-color: var(--lime);
  background: linear-gradient(105deg, var(--lime), #83ef8b 47%, var(--mint));
  color: #09251d;
  box-shadow: 0 13px 34px rgba(97, 239, 184, .16), inset 0 1px rgba(255, 255, 255, .48);
}
.products input:checked + span::after {
  content: "✓ 已选";
  border-color: rgba(8, 35, 27, .26);
  background: rgba(8, 35, 27, .12);
  color: #09251d;
}
.products input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 3px; }
.products b, .products em { display: block; }
.products b { font-size: 15px; }
.products em { color: var(--mint); font-size: 12px; font-style: normal; font-weight: 800; }
.products input:checked + span em { color: #0d4837; }
.form-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr .7fr;
  gap: 14px;
  padding-top: 27px;
  border-top: 1px solid rgba(97, 239, 184, .12);
}
.form-grid::before {
  content: "2  填写接收地址与转账笔数";
  position: absolute;
  top: -10px;
  left: 0;
  padding-right: 12px;
  background: var(--panel);
  color: var(--mint);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .04em;
}
.field { margin-top: 5px; }
.field small { color: var(--muted); font-size: 10px; font-weight: 400; letter-spacing: 0; }
.quick { display: flex; align-items: center; gap: 8px; margin: 15px 0; }
.quick > span { margin-right: 2px; color: var(--muted); font-size: 10px; }
.quick button {
  min-width: 58px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0b1915;
  color: #a4b8b1;
}
.quick button:hover { border-color: var(--lime); background: #172e26; color: var(--lime); }
.member-quick { flex-wrap: wrap; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #0b1d17; }
.member-quick > span { margin-right: 10px; color: var(--text); font-size: 12px; font-weight: 750; }
.member-quick button { min-width: 68px; padding: 9px 13px; color: var(--text); font-size: 13px; font-weight: 700; cursor: pointer; }
.member-quick button[aria-pressed="true"] { border-color: var(--mint); background: #1a3c30; color: var(--mint); font-weight: 800; }
.member-quick button:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }
.list-pagination { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.pagination-actions { display: flex; align-items: center; gap: 8px; }
.pagination-actions a { display: inline-grid; place-items: center; min-height: 36px; padding: 0 13px; border: 1px solid var(--line); border-radius: 9px; color: var(--text); text-decoration: none; }
.pagination-actions a:hover { border-color: var(--mint); color: var(--mint); }
.order-summary {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin: 21px 0 14px;
  padding: 17px 18px;
  border: 1px solid #315047;
  border-radius: 13px;
  background: linear-gradient(110deg, #07120f, #0e241d);
}
.order-summary span, .order-summary b { display: block; }
.order-summary span { color: var(--muted); font-size: 10px; }
.order-summary b { margin-top: 5px; font-size: 12px; }
.order-summary > div:last-child { text-align: right; }
.order-summary strong {
  display: block;
  margin-top: 0;
  color: var(--amber);
  font: 900 clamp(22px, 2.6vw, 30px) ui-monospace, monospace;
  text-shadow: 0 0 22px rgba(255, 185, 46, .17);
}
.submit { width: 100%; min-height: 48px; font-size: 15px; }
.form-note { margin: 12px 0 0; color: var(--muted); font-size: 10px; text-align: center; }

/* Recharge and direct-rent */
.recharge-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 18px; }
.direct > p, .telegram-page p { color: #97ada5; line-height: 1.75; }
.address-card {
  position: relative;
  margin: 20px 0;
  padding: 20px;
  overflow: hidden;
  border: 2px solid var(--mint);
  border-radius: 15px;
  background: linear-gradient(145deg, #173b30, #102820);
  box-shadow: 0 0 0 5px rgba(97, 239, 184, .04), 0 18px 40px rgba(0, 0, 0, .18);
}
.address-card::after {
  content: "TRON";
  position: absolute;
  right: 16px;
  top: 13px;
  color: rgba(183, 239, 63, .1);
  font-size: 36px;
  font-weight: 950;
  letter-spacing: -.05em;
}
.address-card > span {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 12px;
  color: var(--lime);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
}
.address-card > span::before { content: "◆"; margin-right: 7px; color: var(--amber); }
.address-card code {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  padding: 14px;
  border: 1px dashed #82cc3e;
  border-radius: 10px;
  background: #ecfff7;
  color: #11271f;
  font-size: clamp(14px, 1.55vw, 18px);
  font-weight: 800;
  line-height: 1.55;
  letter-spacing: .015em;
  word-break: break-all;
  user-select: all;
  box-shadow: inset 0 1px 8px rgba(8, 35, 27, .08);
}
.address-card button {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: 13px;
  padding: 11px;
  border: 1px solid rgba(183, 239, 63, .62);
  border-radius: 9px;
  background: linear-gradient(100deg, rgba(183, 239, 63, .18), rgba(97, 239, 184, .16));
  color: var(--lime);
  font-weight: 850;
}
.address-card button:hover { background: linear-gradient(100deg, var(--lime), var(--mint)); color: #09251d; }
.direct ul { display: grid; gap: 10px; margin-top: 19px; padding: 0; list-style: none; }
.direct li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  min-height: 67px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #07120f;
}
.direct li b {
  color: var(--amber);
  font: 900 21px ui-monospace, monospace;
  white-space: nowrap;
  text-shadow: 0 0 18px rgba(255, 185, 46, .13);
}
.direct li span { color: #a2b8b0; font-size: 12px; text-align: right; }
.warn {
  padding: 11px 13px;
  border: 1px solid rgba(255, 185, 46, .18);
  border-radius: 9px;
  background: linear-gradient(90deg, #332619, #282016);
  color: #ffd172;
  font-size: 11px;
  text-align: center;
}
.recharge-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: end;
  margin: 18px 0;
}
.recharge-form label { display: grid; gap: 7px; color: #b9cec7; font-size: 12px; }
.recharge-form input {
  min-height: 45px;
  padding: 10px 12px;
  border: 1px solid #315247;
  border-radius: 10px;
  background: #06100d;
  color: var(--text);
}
.recharge-form button, .recharge-intent button {
  min-height: 45px;
  padding: 10px 15px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(100deg,var(--lime),var(--mint));
  color: #09231c;
  font-weight: 900;
}
.recharge-intent {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px 12px;
  align-items: center;
  padding: 17px;
  border: 1px solid rgba(255,185,46,.46);
  border-radius: 13px;
  background: linear-gradient(120deg,#332619,#17251f);
}
.recharge-intent > span { color: #c4d5cf; font-size: 11px; }
.recharge-intent > strong { color: var(--amber); font: 950 clamp(25px,3vw,36px) ui-monospace,monospace; }
.recharge-intent > button { grid-row: 1/3; grid-column: 2; }
.recharge-intent > small { color: #b99f6c; font-weight: 500; letter-spacing: 0; }
.recharge-countdown { grid-column: 1/-1; display: flex; align-items: center; gap: 12px; color: #ffd172; font-size: 13px; font-weight: 800; }
.recharge-countdown b { font: 900 20px ui-monospace,monospace; font-variant-numeric: tabular-nums; }
.recharge-intent.is-expired > strong { opacity: .55; text-decoration: line-through; }
.recharge-intent.is-expired > button { cursor: not-allowed; opacity: .6; }
.recharge-intent.is-expired .recharge-countdown { color: #ff9b80; }

/* Tables and empty states */
.orders-page { overflow: hidden; }
.order-table-scroll { max-width: 100%; overflow-x: auto; }
.orders-page table { min-width: 1050px; }
.orders-page .full-order-address { display: block; min-width: 230px; max-width: 300px; white-space: normal; overflow-wrap: anywhere; user-select: all; }
.order-stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; margin: 20px 0 18px; }
.order-stats article { padding: 16px; border: 1px solid #2d4a3d; border-radius: 12px; background: linear-gradient(145deg,#10261e,#0a1814); }
.order-stats span,.order-stats small { display: block; color: #91ad9e; font-size: 11px; }
.order-stats strong { display: block; margin: 8px 0 3px; color: #d6f5d5; font-size: clamp(18px,2vw,25px); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.order-stats article:nth-child(3) strong { color: var(--mint); }
.order-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; padding: 16px; border: 1px solid #29473a; border-radius: 12px; background: #0b1b15; }
.order-filters label { display: grid; gap: 6px; min-width: 142px; flex: 1 1 142px; color: #9fb6a8; font-size: 11px; }
.order-filters input,.order-filters select { width: 100%; min-height: 40px; padding: 8px 10px; border: 1px solid #36594a; border-radius: 8px; background: #07140f; color: #e6f4ea; color-scheme: dark; outline: none; }
.order-filters input:focus,.order-filters select:focus { border-color: var(--mint); box-shadow: 0 0 0 3px rgba(97,239,184,.09); }
.order-filters button,.order-filters>a { min-height: 40px; padding: 9px 16px; border: 1px solid #3a6650; border-radius: 8px; background: #173b29; color: #d9f5e5; font-size: 12px; font-weight: 800; }
.order-filters button { border-color: var(--mint); background: linear-gradient(100deg,var(--lime),var(--mint)); color: #0a291d; }
.order-filters>a { display: inline-grid; place-items: center; }
.order-filter-error { margin: 12px 0 0; color: #ffaaa5; font-size: 12px; }
.orders-page .member-order-table { min-width: 1450px; }
.member-order-table th,.member-order-table td { white-space: normal; vertical-align: top; }
.member-order-table td { line-height: 1.55; }
.member-order-table td:first-child { color: #d5efe0; font-family: ui-monospace,SFMono-Regular,Menlo,monospace; font-size: 11px; font-weight: 750; white-space: nowrap; }
.member-order-table td strong,.member-order-table td small { display: block; }
.member-order-table td small { margin-top: 4px; color: #89a699; font-size: 10px; letter-spacing: 0; }
.member-order-table td time { white-space: nowrap; }
.order-tx-link { display: flex; align-items: start; gap: 5px; max-width: 230px; color: var(--mint); }
.order-tx-link code { overflow-wrap: anywhere; font-size: 10px; }
.order-tx-link span { flex: none; }
.order-tx-muted { color: #89a699; font-size: 11px; }
@media (max-width: 900px) { .order-stats { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 520px) { .order-stats { gap: 8px; } .order-stats article { padding: 12px; } .order-stats strong { font-size: 18px; } .order-filters label { flex-basis: calc(50% - 10px); min-width: 0; } }
.empty {
  display: grid;
  place-items: center;
  gap: 9px;
  min-height: 155px;
  margin-top: 18px;
  padding: 28px;
  border: 1px dashed #35564a;
  border-radius: 12px;
  background: rgba(5, 14, 12, .28);
  color: var(--muted);
  text-align: center;
}
.empty b { color: #c8dbd5; }
.empty span { font-size: 12px; }
.empty a { color: var(--lime); font-weight: 800; }
table { width: 100%; margin-top: 16px; border-collapse: collapse; }
th, td { padding: 13px 9px; border-bottom: 1px solid var(--line); font-size: 12px; text-align: left; white-space: nowrap; }
th { color: #789088; font-size: 10px; font-weight: 800; letter-spacing: .07em; }
td { color: #c5d7d1; }
tr:hover td { background: rgba(97, 239, 184, .025); }
td code { color: #9bb1aa; }
.status { display: inline-flex; padding: 5px 9px; border-radius: 30px; font-size: 10px; font-weight: 750; }
.status.success { color: var(--lime); background: #163126; }
.status.processing, .status.pending { color: var(--amber); background: #332619; }
.status.failed, .status.refunded { color: #ffaaa5; background: #351c1c; }
.plus { color: var(--mint); }
.minus { color: var(--amber); }

/* Telegram */
.telegram-page { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 1040px; }
.telegram-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin-bottom: 20px;
  border: 1px solid #437660;
  border-radius: 19px;
  background: linear-gradient(135deg, #1f4c3e, #17382f);
  color: var(--lime);
  font-size: 29px;
  box-shadow: 0 13px 28px rgba(0, 0, 0, .18);
}
.primary-link, .disabled { display: inline-block; margin-top: 13px; }
.disabled {
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #111c19;
  color: #687b74;
  cursor: not-allowed;
}
.command-list ul { margin: 18px 0 0; padding: 0; list-style: none; }
.command-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.command-list code { color: var(--lime); }
.command-list span { color: var(--muted); font-size: 12px; }

.mobile-menu, .overlay { display: none; }

@media (max-width: 1100px) {
  .auth { grid-template-columns: 1fr; min-height: 0; }
  .auth-copy { padding-bottom: 0; }
  .direct-rent-flow { grid-template-columns: 1fr 1fr; }
  .flow-step:last-child { grid-column: 1/-1; min-height: 170px; }
  .dashboard-grid, .recharge-grid { grid-template-columns: 1fr; }
  .actions { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  :root { --sidebar: 0px; }
  .sidebar {
    width: 268px;
    transform: translateX(-100%);
    transition: transform .22s ease;
  }
  .sidebar.open { transform: translateX(0); }
  main { width: 100%; margin-left: 0; padding: 18px 15px 48px; }
  header { min-height: 48px; padding-left: 48px; }
  .mobile-menu {
    position: fixed;
    top: 18px;
    left: 15px;
    z-index: 60;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid var(--line-bright);
    border-radius: 10px;
    background: #0c1c17;
    color: var(--lime);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .25);
  }
  .overlay.show { position: fixed; inset: 0; z-index: 40; display: block; border: 0; background: rgba(0, 0, 0, .7); backdrop-filter: blur(3px); }
  .stats, .products, .form-grid, .order-summary, .telegram-page { grid-template-columns: 1fr; }
  .direct-rent-flow { grid-template-columns: 1fr; }
  .flow-step:last-child { grid-column: auto; }
  .flow-step { min-height: 0; }
  .auth { padding: 25px; }
  .auth-forms { grid-template-columns: 1fr; }
  .account > span { display: none; }
  .order-summary > div:last-child { text-align: left; }
  .recent, .orders-page { overflow-x: auto; }
}

@media (max-width: 520px) {
  main { padding-right: 12px; padding-left: 12px; }
  header { margin-bottom: 18px; }
  h1 { font-size: 23px; }
  .panel { padding: 20px 17px; border-radius: 15px; }
  .auth { padding: 20px 16px; }
  .auth-copy h2 { font-size: 34px; }
  .auth-forms form { padding: 0; }
  .stats article { min-height: 124px; }
  .products span { align-items: flex-start; flex-direction: column; gap: 5px; }
  .products span::after { position: absolute; top: 13px; right: 13px; }
  .quick { flex-wrap: wrap; }
  .quick > span { width: 100%; }
  .address-card { padding: 16px; }
  .address-card code { padding: 12px; font-size: 13px; }
  .flow-banner { align-items: flex-start; flex-direction: column; gap: 4px; }
  .flow-banner b { padding-left: 0; border-left: 0; }
  .recharge-form { grid-template-columns: 1fr; }
  .recharge-intent { grid-template-columns: 1fr; }
  .recharge-intent > button { grid-row: auto; grid-column: auto; }
  .section-title { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Guest storefront: a focused, full-width purchase path. */
.guest-page {
  background:
    radial-gradient(ellipse 650px 420px at 82% 2%, rgba(69, 169, 134, .11), transparent 75%),
    radial-gradient(ellipse 520px 420px at 4% 40%, rgba(49, 120, 96, .06), transparent 75%),
    #08120f;
}
.guest-page main {
  width: min(100%, 1450px);
  max-width: none;
  min-width: 0;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 64px) 70px;
}
.guest-topbar {
  min-height: 84px;
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid rgba(186, 221, 204, .1);
}
.guest-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  white-space: nowrap;
}
.guest-brand img {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: contain;
}
.guest-brand > span {
  display: grid;
  gap: 0;
  color: #f4fbf6;
  font-size: 22px;
  font-weight: 850;
  letter-spacing: .06em;
  line-height: 1.15;
}
.guest-brand small { color: #86a79a; font-size: 8px; font-weight: 700; letter-spacing: .23em; }
.guest-topbar nav { display: flex; align-items: center; gap: clamp(12px, 2.6vw, 32px); }
.guest-topbar nav a { color: #a8beb4; font-size: 13px; font-weight: 700; transition: color .18s ease; }
.guest-topbar nav a:hover { color: #72e6bd; }
.guest-topbar nav a:last-child {
  padding: 9px 16px;
  border: 1px solid #39594d;
  border-radius: 9px;
  color: #e8f5ed;
}
.guest-topbar nav a:last-child:hover { border-color: #72e6bd; background: rgba(114, 230, 189, .08); }
.guest-page .flash-hero {
  max-width: none;
  margin: 45px 0 34px;
  text-align: left;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #85bca5;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .2em;
}
.hero-eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #74e3b7;
  box-shadow: 0 0 13px rgba(116, 227, 183, .45);
}
.guest-page .flash-hero h1 {
  max-width: 1040px;
  margin: 14px 0 12px;
  background: none;
  color: #f2f8f2;
  font-size: clamp(37px, 4.9vw, 64px);
  font-weight: 850;
  letter-spacing: -.06em;
  line-height: 1.16;
  filter: none;
}
.guest-page .flash-hero h1 span { color: #73e5bd; }
.guest-page .flash-hero p {
  max-width: 780px;
  margin: 0;
  color: #a4b9ad;
  font-size: 15px;
  line-height: 1.7;
}
.hero-points { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.hero-points span {
  padding: 7px 12px;
  border: 1px solid #2a453a;
  border-radius: 7px;
  background: rgba(20, 42, 32, .5);
  color: #bad5c5;
  font-size: 11px;
  font-weight: 700;
}
.guest-page .direct-rent-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  max-width: none;
  margin: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.guest-page .direct-rent-flow .flow-step:last-child { grid-column: auto; }
.guest-page .flow-step {
  min-width: 0;
  min-height: 0;
  padding: clamp(20px, 2.5vw, 34px);
  border: 1px solid #2b4538;
  border-radius: 20px;
  background: linear-gradient(155deg, #12251b, #0b1a14 85%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .16);
}
.guest-page .payment-step { border-color: #426250; background: linear-gradient(160deg, #173024, #0d2119 78%); }
.guest-page .step-heading { margin-bottom: 24px; }
.step-index { color: #81caa5; font-size: 11px; font-weight: 800; letter-spacing: .09em; }
.guest-page .step-heading h2 { margin: 8px 0 5px; color: #f4fbf5; font-size: clamp(21px, 2.1vw, 28px); letter-spacing: -.035em; }
.guest-page .step-heading p { margin: 0; color: #9bb0a3; font-size: 12px; line-height: 1.6; }
.guest-page .guest-product-options { gap: 10px; }
.guest-page .guest-product-option > span {
  min-height: 92px;
  padding: 16px 18px;
  border-color: #304b3d;
  border-radius: 12px;
  background: #0b1913;
  color: #edf8ed;
}
.guest-page .guest-product-option:hover > span { border-color: #78c4a2; transform: none; }
.guest-page .guest-product-option > input:checked + span {
  border-color: #78dfb3;
  background: linear-gradient(110deg, #1b4030, #142f24);
  color: #f6fff7;
  box-shadow: inset 3px 0 #78dfb3, 0 8px 22px rgba(0, 0, 0, .08);
}
.guest-page .guest-product-option b { font-size: 18px; line-height: 1.25; }
.guest-page .guest-product-option em,
.guest-page .guest-product-option > input:checked + span em { color: #9dbbab; font-size: 11px; line-height: 1.5; }
.guest-page .guest-product-option strong,
.guest-page .guest-product-option > input:checked + span strong {
  color: #f1d48d;
  font: 800 25px/1.1 ui-monospace, SFMono-Regular, monospace;
}
.guest-page .guest-product-option strong small { display: block; margin-top: 4px; color: #b8c9ad; font: 700 10px/1.2 Inter, system-ui, sans-serif; letter-spacing: .05em; }
.guest-page .guest-quantity {
  min-height: 72px;
  margin-top: 18px;
  padding: 12px 14px;
  border-color: #355342;
  border-radius: 11px;
  background: rgba(4, 15, 10, .45);
}
.guest-page .guest-quantity span { color: #f0f8ef; font-size: 13px; }
.guest-page .guest-quantity small { color: #95ad9d; font-size: 10px; }
.guest-page .quantity-control { grid-template-columns: 36px 50px 36px; border-color: #426d53; }
.guest-page .quantity-control button,
.guest-page .quantity-control input { height: 38px; background: #183b2b; }
.guest-page .quantity-control button { color: #93ecb3; }
.guest-page .quantity-control button:hover:not(:disabled) { background: #83e7b2; color: #10311e; }
.guest-page .energy-tip {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(242, 194, 106, .26);
  border-radius: 9px;
  background: rgba(139, 99, 33, .1);
  color: #d5c6a4;
  font-size: 11px;
  line-height: 1.6;
}
.guest-page .energy-tip b { color: #f2d699; }
.guest-page .guest-payment-summary { gap: 0; }
.guest-page .guest-payment-summary .guest-payable {
  display: block;
  padding: 20px;
  border: 1px solid #527960;
  border-radius: 12px;
  background: linear-gradient(115deg, #214c34, #183f2c 65%, #16402e);
}
.guest-page .guest-payment-summary span { color: #b8d7bd; font-size: 11px; font-weight: 700; }
.guest-page .payable-row { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.guest-page .guest-payment-summary .guest-payable strong {
  padding: 0;
  color: #ffe0a0;
  font-size: clamp(29px, 3vw, 42px);
  line-height: 1.1;
  letter-spacing: -.05em;
  text-shadow: none;
}
.guest-page .guest-payable button,
.guest-page .address-step button {
  position: static;
  width: auto;
  min-height: 36px;
  margin: 0;
  padding: 8px 13px;
  border: 1px solid #b7e4c2;
  border-radius: 8px;
  background: #e2f7db;
  color: #153d28;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}
.guest-page .guest-payable button:hover:not(:disabled),
.guest-page .address-step button:hover { background: white; color: #153d28; transform: none; }
.guest-page .guest-payment-summary .guest-energy {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 15px 2px 12px;
  border: 0;
  border-bottom: 1px solid #3b6049;
  border-radius: 0;
  background: none;
}
.guest-page .guest-energy strong { margin-left: auto; color: #f0f7ec; font-size: 23px; }
.guest-page .guest-energy small { color: #83a797; font-size: 8px; }
.guest-page .address-step { margin-top: 19px; }
.address-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 9px; }
.address-heading span { color: #d4e6d8; font-size: 12px; font-weight: 800; }
.address-heading small { color: #91ad99; font-size: 10px; letter-spacing: 0; }
.guest-page .address-step code {
  display: block;
  padding: 15px 16px;
  border: 1px solid #5b896e;
  border-radius: 10px;
  background: #07160f;
  color: #d5f3d8;
  font: 700 14px/1.65 ui-monospace, SFMono-Regular, monospace;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.guest-page .address-step button { width: 100%; margin-top: 10px; }
.payment-rule {
  margin-top: 18px;
  padding: 13px 14px;
  border-left: 3px solid #8fe9b8;
  border-radius: 0 8px 8px 0;
  background: rgba(8, 31, 19, .78);
}
.payment-rule b { color: #acf0c4; font-size: 12px; }
.guest-page .payment-rule p { margin: 3px 0 0; color: #aec2b2; font-size: 11px; line-height: 1.65; }
.guest-page .auth {
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr);
  gap: clamp(20px, 3vw, 45px);
  min-height: 0;
  margin-top: 30px;
  padding: clamp(24px, 3vw, 38px);
  border-color: #2a4538;
  border-radius: 20px;
  background: #0d1c15;
  box-shadow: none;
}
.guest-page .auth::before,
.guest-page .auth::after { display: none; }
.guest-page .auth-copy { align-self: center; padding: 5px 0; }
.guest-page .auth-copy small { padding: 0; border: 0; background: none; color: #82cda7; }
.guest-page .auth-copy h2 { margin: 14px 0; background: none; color: #f0f8ed; font-size: clamp(28px, 3vw, 40px); line-height: 1.35; letter-spacing: -.025em; }
.guest-page .auth-copy h2 span { color: var(--mint); }
.guest-page .auth-copy > p { max-width: 480px; color: #b3c7ba; font-size: 14px; line-height: 1.8; }
.guest-page .auth-copy .member-benefits { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 18px; margin: 27px 0; }
.guest-page .auth-copy .member-benefits li { display: flex; align-items: flex-start; gap: 10px; min-width: 0; padding: 0; border: 0; border-radius: 0; background: none; }
.guest-page .auth-copy .member-benefits li::before { content: none; }
.member-benefits .benefit-icon { display: grid; flex: 0 0 31px; width: 31px; height: 34px; place-items: center; border: 1px solid #335842; border-radius: 9px; background: #152d20; color: var(--lime); font: 700 24px/1 ui-monospace,monospace; }
.member-benefits .benefit-code { font-size: 14px; }
.member-benefits h3 { margin: 0 0 5px; color: #eef8f0; font-size: 14px; line-height: 1.5; }
.guest-page .auth-copy .member-benefits p { margin: 0; color: #9fb7a9; font-size: 12px; line-height: 1.75; }
.member-register-action { display: flex; align-items: flex-start; flex-direction: column; gap: 10px; }
.guest-page .member-register-cta { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 48px; padding: 12px 20px; border: 1px solid #b4f569; border-radius: 10px; background: linear-gradient(105deg,var(--lime),var(--mint)); color: #092218; font-size: 14px; font-weight: 850; transition: filter .2s ease; }
.guest-page .member-register-cta:hover { color: #092218; filter: brightness(1.08); }
.member-register-cta:focus-visible { outline: 3px solid #edffcf; outline-offset: 4px; }
.member-register-action > span { color: #8daf99; font-size: 11px; }
.guest-page .auth-forms { max-width: 480px; }
.member-energy-tip {
  margin: 13px 0 19px;
  padding: 11px 13px;
  border: 1px solid rgba(242, 194, 106, .25);
  border-radius: 9px;
  background: rgba(151, 108, 35, .11);
  color: #decaa5;
  font-size: 12px;
  line-height: 1.65;
}
.member-energy-tip b { color: #ffdea0; }

@media (max-width: 830px) {
  .guest-page .auth { grid-template-columns: 1fr; }
  .guest-page .auth-copy { width: 100%; max-width: 480px; justify-self: center; }
  .guest-page .auth-forms { justify-self: center; }
}
@media (max-width: 760px) {
  .guest-page main { padding: 0 18px 48px; }
  .guest-page .guest-topbar { min-height: 72px; padding-left: 0; }
  .guest-page .flash-hero { margin: 34px 0 25px; }
  .guest-page .flash-hero h1 { font-size: clamp(34px, 7vw, 48px); }
  .guest-page .direct-rent-flow { grid-template-columns: 1fr; gap: 14px; }
  .guest-page .flow-step:last-child { grid-column: auto; }
  .guest-page .flow-step { padding: 24px; }
}
@media (max-width: 540px) {
  .guest-page main { padding: 0 14px 42px; }
  .guest-brand img { width: 40px; height: 40px; }
  .guest-brand > span { font-size: 19px; }
  .guest-brand small { font-size: 7px; }
  .guest-page .guest-topbar nav { gap: 8px; }
  .guest-page .guest-topbar nav a { font-size: 11px; }
  .guest-page .guest-topbar nav a:last-child { padding: 7px 9px; }
  .guest-page .flash-hero h1 { font-size: clamp(32px, 9vw, 42px); }
  .guest-page .flash-hero p { font-size: 13px; }
  .guest-page .flow-step { padding: 21px 17px; }
  .guest-page .guest-product-option > span { min-height: 84px; padding: 13px 12px; }
  .guest-page .guest-product-option b { font-size: 15px; }
  .guest-page .guest-product-option strong { font-size: 21px; }
  .guest-page .guest-product-option em { font-size: 10px; }
  .guest-page .guest-payment-summary .guest-payable strong { font-size: 31px; }
  .guest-page .auth { padding: 22px 17px; }
  .guest-page .auth-forms { max-width: none; }
  .guest-page .auth-card { padding: 21px 17px; }
  .guest-page .auth-card-heading small { font-size: 8px; }
  .guest-page .auth-copy .member-benefits { gap: 18px 12px; }
  .guest-page .auth-copy .member-benefits li { gap: 8px; }
  .member-benefits .benefit-icon { flex-basis: 26px; width: 26px; height: 30px; }
  .member-benefits h3 { font-size: 13px; }
  .member-register-cta { width: 100%; padding: 12px; }
}

/* Member smart hosting. Keep this distinct from the 5-minute / 1-hour flash-rental flow. */
.host-page { max-width: 1180px; }
.host-intro {
  position: relative;
  overflow: hidden;
  padding: clamp(23px, 3vw, 34px);
  border: 1px solid #356050;
  border-radius: 20px;
  background: radial-gradient(circle at 94% 13%, rgba(183, 239, 63, .17), transparent 31%),
    linear-gradient(125deg, #173a2e, #0c201a 68%);
  box-shadow: var(--shadow);
}
.host-intro::after {
  content: "↗";
  position: absolute;
  top: -34px;
  right: 20px;
  color: rgba(183, 239, 63, .07);
  font: 900 clamp(140px, 20vw, 230px)/1 ui-monospace, monospace;
  pointer-events: none;
}
.host-eyebrow, .host-kicker {
  position: relative;
  z-index: 1;
  color: var(--mint);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .16em;
}
.host-intro h2 {
  position: relative;
  z-index: 1;
  margin: 8px 0;
  color: #f4fff9;
  font-size: clamp(24px, 2.6vw, 33px);
  line-height: 1.3;
}
.host-intro p {
  position: relative;
  z-index: 1;
  max-width: 790px;
  margin: 0;
  line-height: 1.65;
}
.host-intro .host-intro-lead {
  color: #f2fff5;
  font-size: clamp(16px, 1.65vw, 21px);
  font-weight: 750;
}
.host-intro-key { position: relative; z-index: 1; display: grid; gap: 4px; max-width: 750px; margin-top: 17px; padding: 11px 15px; border: 1px solid rgba(183, 239, 63, .35); border-radius: 10px; background: rgba(6, 28, 18, .52); }
.host-intro-key strong { color: var(--lime); font-size: clamp(14px, 1.45vw, 17px); line-height: 1.5; }
.host-intro-key span { color: #d9efdd; font-size: clamp(15px, 1.35vw, 16px); line-height: 1.6; }
.host-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(310px, .84fr);
  gap: 18px;
  align-items: start;
  margin-top: 26px;
}
.host-card {
  min-width: 0;
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid #2a493e;
  border-radius: 18px;
  background: linear-gradient(145deg, #11261e, #0a1813);
  box-shadow: var(--shadow);
}
.host-card-head { margin-bottom: 23px; }
.host-card-head h3, .host-explain h3, .host-history h3, .host-payment-rules h3 {
  margin: 5px 0 0;
  color: #f3fcf6;
  font-size: 20px;
  line-height: 1.35;
}
.host-card-head p { margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.host-form { display: grid; gap: 18px; }
.host-field { display: grid; gap: 8px; color: #d2e3d8; font-size: 12px; font-weight: 750; }
.host-field input, .host-field select {
  width: 100%;
  min-width: 0;
  min-height: 49px;
  padding: 11px 14px;
  border: 1px solid #3b6551;
  border-radius: 10px;
  background: #07130e;
  color: var(--text);
  font-size: 15px;
  font-weight: 650;
}
.host-field input:hover, .host-field select:hover { border-color: #6ca87a; }
.host-field input:focus, .host-field select:focus { border-color: var(--mint); box-shadow: 0 0 0 4px rgba(97, 239, 184, .1); }
.host-field input::placeholder { color: #78988a; font-weight: 400; }
.host-field-note { color: #90aa9a; font-size: 11px; font-weight: 400; line-height: 1.6; }
.host-field-note b { color: #e1f8c8; }
.host-quote {
  display: grid;
  gap: 12px;
  padding: 17px;
  border: 1px solid #497758;
  border-radius: 12px;
  background: linear-gradient(120deg, #0b2218, #122f21);
}
.host-quote-line { display: flex; justify-content: space-between; gap: 15px; align-items: baseline; }
.host-quote-line span { color: #a6bead; font-size: 12px; }
.host-quote-line strong { color: #f2fff0; font-size: 12px; text-align: right; }
.host-quote-price { padding-top: 11px; border-top: 1px solid rgba(183, 239, 63, .2); }
.host-quote-price strong { color: var(--amber); font: 900 clamp(22px, 2.4vw, 29px)/1.2 ui-monospace, monospace; }
.host-quote-feedback { margin: 0; color: #b9dec2; font-size: 11px; line-height: 1.6; }
.host-quote-feedback.is-warning { color: #ffd197; }
.host-consent { display: flex; align-items: flex-start; gap: 10px; color: #bed2c2; font-size: 11px; line-height: 1.65; }
.host-consent input { flex: 0 0 auto; width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--lime); }
.host-consent a { color: var(--mint); text-decoration: underline !important; text-underline-offset: 2px; }
.host-submit {
  min-height: 49px;
  padding: 12px 16px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(100deg, var(--lime), var(--mint) 65%, var(--cyan));
  color: #09231c;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(97, 239, 184, .15);
}
.host-submit:hover:not(:disabled) { filter: brightness(1.06); transform: translateY(-1px); }
.host-submit:disabled { opacity: .55; cursor: not-allowed; }
.host-explain { border-color: #425b3c; background: linear-gradient(150deg, #182d20, #0b1b14); }
.host-use-list { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.host-use-list li { display: grid; gap: 3px; padding: 13px 15px; border: 1px solid #385f47; border-radius: 10px; background: rgba(6, 29, 19, .56); }
.host-use-list strong { color: #e8ffdd; font-size: 13px; line-height: 1.5; }
.host-use-list span { color: #abc4af; font-size: 11px; line-height: 1.6; }
.host-rules-details { margin-top: 18px; padding-top: 16px; border-top: 1px solid #365642; }
.host-rules-details summary { color: var(--mint); font-size: 12px; font-weight: 800; cursor: pointer; }
.host-rules-details summary:hover, .host-rules-details summary:focus-visible { color: var(--lime); }
.host-rules-details[open] summary { margin-bottom: 13px; }
.host-explain-list { display: grid; gap: 12px; margin: 20px 0 0; padding: 0; list-style: none; }
.host-explain-list li { display: grid; gap: 4px; padding-left: 14px; border-left: 2px solid #679d5b; }
.host-explain-list strong { color: #e9f8e7; font-size: 12px; line-height: 1.5; }
.host-explain-list span { color: #a3b8a9; font-size: 11px; line-height: 1.7; }
.host-warning {
  margin: 21px 0 0;
  padding: 13px 14px;
  border: 1px solid rgba(255, 185, 46, .35);
  border-radius: 10px;
  background: rgba(166, 107, 24, .13);
  color: #f5d9a0;
  font-size: 11px;
  line-height: 1.75;
}
.host-history { margin-top: 18px; overflow-x: auto; }
.host-history-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.host-history-head a { color: var(--lime); font-size: 12px; font-weight: 800; }
.host-history table { width: 100%; min-width: 660px; margin-top: 19px; border-collapse: collapse; }
.host-history th, .host-history td { padding: 12px 8px; border-bottom: 1px solid #284537; font-size: 11px; text-align: left; }
.host-history th { color: #8eac98; font-weight: 700; }
.host-history td { color: #d5e8d8; }
.host-history td code { color: var(--mint); font-size: 11px; word-break: break-all; }
.host-empty { margin: 18px 0 0; padding: 25px; border: 1px dashed #3b5a43; border-radius: 12px; color: #9bb3a2; font-size: 12px; text-align: center; }
.host-address-list { display: grid; gap: 7px; padding: 12px 14px; border: 1px solid #315344; border-radius: 10px; background: #0a1c14; }
.host-address-list summary { color: #c7e0cd; font-size: 11px; font-weight: 750; cursor: pointer; }
.host-address-list[open] summary { margin-bottom: 9px; }
.host-address-list code { overflow-wrap: anywhere; color: var(--mint); font-size: 11px; }
.host-address-choice { width: 100%; padding: 7px 9px; border: 1px solid transparent; border-radius: 7px; background: transparent; color: var(--mint); font: 650 11px/1.6 ui-monospace, monospace; text-align: left; overflow-wrap: anywhere; }
.host-address-choice:hover, .host-address-choice:focus-visible { border-color: #4f9d79; background: #133023; }
.host-address-busy { display: grid; gap: 2px; padding: 7px 9px; color: #90a99a; }
.host-address-busy code { color: #90a99a; }
.host-address-busy small { color: #e9b76f; font-size: 10px; }
.host-inline-action { min-width: 58px; padding: 7px 12px; border: 1px solid var(--line-bright); border-radius: 8px; color: var(--text); background: var(--panel-3); font-size: 12px; }
.host-inline-action:hover { border-color: var(--mint); }
.host-order-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.host-order-actions form { margin: 0; }
.host-close-trigger { border-color: #ac7852; background: #35251c; color: #ffdbb8; font-weight: 800; cursor: pointer; }
.host-close-trigger:hover, .host-close-trigger:focus-visible { border-color: #e8ac71; background: #463021; }
.host-close-dialog { width: min(540px, calc(100vw - 28px)); max-width: 100%; max-height: min(88dvh, 780px); margin: auto; padding: 0; border: 1px solid #9b7855; border-radius: 18px; background: #10231b; color: #eef9f0; box-shadow: 0 30px 95px rgba(0, 0, 0, .7); overflow: auto; color-scheme: dark; }
.host-close-dialog::backdrop { background: rgba(1, 11, 9, .78); backdrop-filter: blur(5px); }
.host-close-dialog-inner { padding: 24px; }
.host-close-dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; padding-bottom: 17px; border-bottom: 1px solid #3e5846; }
.host-close-dialog-heading h3 { margin: 7px 0 0; color: #fff8ef; font-size: 23px; line-height: 1.3; }
.host-close-dismiss { flex: 0 0 auto; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid #55715e; border-radius: 9px; background: #1c3b2b; color: #dcece1; font-size: 25px; line-height: 1; cursor: pointer; }
.host-close-dismiss:hover, .host-close-dismiss:focus-visible { border-color: var(--mint); color: var(--mint); }
.host-close-address { display: grid; gap: 5px; margin: 17px 0; }
.host-close-address span, .host-close-address small { color: #a6bdae; font-size: 11px; }
.host-close-address code { color: var(--mint); font-size: 13px; overflow-wrap: anywhere; }
.host-close-form { display: grid; gap: 15px; }
.host-close-breakdown { display: grid; gap: 10px; padding: 16px; border: 1px solid #41614d; border-radius: 12px; background: #0b1c15; }
.host-close-breakdown > div { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 14px; color: #bdd2c2; font-size: 12px; }
.host-close-breakdown strong { color: #f2f8ec; text-align: right; }
.host-close-breakdown .host-close-refund { padding-top: 10px; border-top: 1px solid #36513e; color: #ffdcad; font-weight: 800; }
.host-close-refund strong { color: #ffc67c; font-size: 18px; }
.host-close-warning { margin: 0; padding: 11px 13px; border-left: 3px solid #c99458; border-radius: 0 7px 7px 0; background: #2a241b; color: #f3dcc0; font-size: 12px; line-height: 1.7; }
.host-close-consent { display: flex; align-items: flex-start; gap: 9px; color: #e4eee2; font-size: 12px; line-height: 1.6; cursor: pointer; }
.host-close-consent input { flex: 0 0 auto; width: 17px; height: 17px; margin: 2px 0 0; accent-color: #e8ac71; }
.host-close-dialog-actions { display: flex; justify-content: flex-end; gap: 9px; padding-top: 13px; border-top: 1px solid #3e5846; }
.host-close-dialog-actions button { min-height: 40px; padding: 9px 16px; border-radius: 9px; font-size: 12px; font-weight: 850; cursor: pointer; }
.host-close-cancel { border: 1px solid #55715e; background: #1c3b2b; color: #e6efe6; }
.host-close-cancel:hover, .host-close-cancel:focus-visible { border-color: var(--mint); }
.host-close-confirm { border: 1px solid #e8ac71; background: #a35d2a; color: #fff8ef; }
.host-close-confirm:hover, .host-close-confirm:focus-visible { background: #b76c36; }
@media (max-width: 600px) { .host-close-dialog-inner { padding: 18px; } .host-close-dialog-actions { flex-direction: column-reverse; } .host-close-dialog-actions button { width: 100%; } }
.host-events-closed { border-left: 3px solid var(--mint); padding-left: 12px; color: #caead2; }
.host-events-link { display: inline-flex; align-items: center; min-height: 32px; padding: 7px 12px; border: 1px solid #69bc85; border-radius: 8px; background: #173c2b; color: #c9ffc7; font-size: 11px; font-weight: 850; white-space: nowrap; text-decoration: none; }
.host-events-link:hover, .host-events-link:focus-visible, .host-events-link[aria-current="true"] { border-color: var(--lime); background: #28513a; color: #f4ffcf; }
.host-history table { min-width: 790px; }
.host-events { margin-top: 18px; scroll-margin-top: 18px; }
.host-events-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.host-events-head h3 { margin: 5px 0 0; color: #f3fcf6; font-size: 20px; line-height: 1.35; }
.host-events-head a { color: var(--mint); font-size: 11px; font-weight: 800; text-decoration: none; }
.host-events-head a:hover, .host-events-head a:focus-visible { text-decoration: underline; }
.host-event-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin-top: 19px; }
.host-event-summary > div { display: grid; gap: 7px; min-width: 0; padding: 13px 15px; border: 1px solid #305543; border-radius: 10px; background: #0a2017; }
.host-event-summary span { color: #90ad9c; font-size: 10px; font-weight: 750; }
.host-event-summary strong, .host-event-summary code { color: #e5ffed; font-size: 12px; font-weight: 800; overflow-wrap: anywhere; }
.host-event-summary .host-event-address { grid-column: 1 / -1; border-color: #417958; background: #113123; }
.host-event-summary .host-event-address code { color: var(--mint); font-size: 13px; }
.host-events-note { margin: 16px 0 0; padding: 11px 13px; border-left: 3px solid #76b684; background: #102b20; color: #bdd2c1; font-size: 11px; line-height: 1.75; }
.host-event-table { width: 100%; margin-top: 16px; border-collapse: collapse; }
.host-event-table th, .host-event-table td { padding: 12px 10px; border-bottom: 1px solid #284537; color: #d7eadb; font-size: 12px; text-align: left; }
.host-event-table th { color: #8eac98; font-size: 11px; font-weight: 750; }
.host-event-table td strong { color: var(--lime); }

@media (max-width: 900px) {
  .host-layout { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .host-intro { padding: 22px 18px; }
  .host-intro::after { right: 4px; font-size: 140px; }
  .host-card { padding: 20px 17px; }
  .host-quote-line { align-items: flex-start; }
  .host-event-table thead { display: none; }
  .host-event-table tbody { display: grid; gap: 9px; }
  .host-event-table tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; padding: 13px; border: 1px solid #305543; border-radius: 10px; background: #0a2017; }
  .host-event-table td { display: grid; gap: 4px; min-width: 0; padding: 0; border: 0; }
  .host-event-table td::before { content: attr(data-label); color: #8eac98; font-size: 10px; font-weight: 750; }
}

/* Logged-in flash-rental address book and daily schedules. */
.rental-intro { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 32px; background: radial-gradient(circle at 80% 0,rgba(97,239,184,.14),transparent 42%),var(--panel); }
.rental-intro small,.rental-add-panel .section-title small,.rental-address-section .section-title small,.rental-runs .section-title small { color: var(--mint); font-size: 10px; font-weight: 900; letter-spacing: .13em; }
.rental-intro h2 { margin: 5px 0 9px; font-size: clamp(25px,3vw,36px); }
.rental-intro p { max-width: 750px; margin: 0; color: #adc6b9; font-size: 13px; line-height: 1.8; }
.rental-balance { min-width: 205px; padding: 17px 20px; border: 1px solid #396b53; border-radius: 14px; background: #0d2b20; }
.rental-balance span,.rental-balance strong,.rental-balance a { display: block; }
.rental-balance span { color: #aed0bc; font-size: 11px; }
.rental-balance strong { margin: 4px 0; color: var(--lime); font-size: 24px; }
.rental-balance strong small { color: var(--mint); font-size: 11px; }
.rental-balance a { color: var(--mint); font-size: 11px; font-weight: 800; }
.rental-rules { display: flex; align-items: flex-start; gap: 13px; margin: 15px 0 20px; padding: 14px 17px; border: 1px solid rgba(255,185,46,.34); border-radius: 12px; background: rgba(105,71,20,.13); color: #dfd2b7; font-size: 11px; line-height: 1.7; }
.rental-rules b { flex: 0 0 auto; color: var(--amber); }
.rental-add-panel .section-title,.rental-address-section .section-title { margin-bottom: 18px; }
.rental-add-hint { margin: -7px 0 15px; color: var(--muted); font-size: 11px; }
.rental-add-panel .section-title h2,.rental-address-section .section-title h2,.rental-runs .section-title h2 { margin: 3px 0 0; font-size: 21px; }
.rental-add-panel .section-title > span,.rental-address-section .section-title > span { color: var(--muted); font-size: 11px; }
.rental-add-form { display: grid; grid-template-columns: 1.4fr 1fr 1fr .9fr auto; gap: 11px; align-items: end; }
.rental-add-form .submit { width: auto; min-width: 125px; }
.rental-add-form label,.rental-card-actions label,.rental-plan-actions label { display: grid; gap: 7px; color: #b2c8bd; font-size: 11px; font-weight: 750; }
.rental-add-form input,.rental-add-form select,.rental-card-actions input,.rental-card-actions select,.rental-plan-actions input,.rental-plan-actions select {
  width: 100%; min-width: 0; min-height: 43px; padding: 10px 12px; border: 1px solid #33574a; border-radius: 9px; background: #071510; color: #e8f8ef; color-scheme: dark; outline: none;
}
.rental-add-form input:focus,.rental-add-form select:focus,.rental-card-actions input:focus,.rental-card-actions select:focus,.rental-plan-actions input:focus,.rental-plan-actions select:focus { border-color: var(--mint); box-shadow: 0 0 0 3px rgba(97,239,184,.09); }
.rental-address-section { margin: 23px 0; }
.rental-address-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.rental-address-card { display: grid; grid-template-areas: "identity actions"; grid-template-columns: minmax(0,1fr) minmax(520px,1.45fr); align-items: start; gap: 16px; min-width: 0; padding: 17px 20px; }
.rental-address-identity { grid-area: identity; min-width: 0; }
.rental-address-heading,.rental-address-heading > div { display: flex; align-items: center; gap: 11px; }
.rental-address-heading { justify-content: space-between; }
.rental-address-heading > div { min-width: 0; }
.rental-address-heading small { color: var(--muted); font-size: 10px; letter-spacing: .08em; }
.rental-address-heading h3 { margin: 0; font-size: 17px; overflow-wrap: anywhere; }
.rental-address-title { min-width: 0; }
.rental-address-name { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 8px; min-width: 0; }
.rental-address-times { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px; min-width: 0; }
.rental-address-time { display: inline-block; padding: 2px 6px; border: 1px solid #3b6a50; border-radius: 6px; background: #123022; color: var(--mint); font: 750 10px/1.3 ui-monospace,monospace; white-space: nowrap; }
.rental-address-time.off { border-color: #3a4b42; background: #1a2820; color: #a3b3a7; text-decoration: line-through; }
.rental-address-time.more { border-style: dashed; background: transparent; color: var(--muted); }
.rental-address-icon { display: grid; place-items: center; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(140deg,var(--lime),var(--mint)); color: #09271e; font-size: 22px; font-weight: 900; }
.rental-pill { display: inline-flex; align-items: center; width: max-content; max-width: 100%; padding: 3px 8px; border-radius: 99px; font-size: 10px; font-weight: 850; white-space: nowrap; }
.rental-pill.active { background: #173a2c; color: var(--lime); }
.rental-pill.off { background: #26312d; color: #aabbb1; }
.rental-full-address { display: block; margin-top: 9px; padding: 8px 10px; border: 1px solid #385b4a; border-radius: 9px; background: #071510; color: var(--mint); font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; user-select: all; }
.rental-address-meta { display: flex; gap: 8px; justify-content: space-between; flex-wrap: wrap; margin: 7px 0 0; color: var(--muted); font-size: 10px; }
.rental-schedule-status { grid-column: 1 / -1; min-width: 0; padding: 0; border: 0; background: none; }
.rental-schedule-trigger { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; color: var(--mint); font-size: 11px; font-weight: 800; cursor: pointer; list-style: none; }
.rental-schedule-trigger::-webkit-details-marker { display: none; }
.rental-schedule-trigger > span { text-decoration: underline; text-underline-offset: 3px; }
.rental-schedule-status .rental-schedule-trigger small { display: inline; margin-top: 0; color: var(--muted); letter-spacing: 0; }
.rental-schedule-trigger:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 2px; }
.rental-schedule-trigger > span:first-child { min-width: 0; }
.rental-schedule-trigger:hover b { color: var(--mint); }
.rental-schedule-trigger .rental-pill { flex: 0 0 auto; }
.rental-schedule-status b { font-size: 11px; }
.rental-schedule-status p { margin: 6px 0 0; color: #a3bbae; font-size: 11px; }
.rental-schedule-status small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }
.rental-schedule-status .rental-stop-reason { color: var(--amber); }
.rental-plan-list { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 9px; margin-top: 10px; }
.rental-plan { min-width: 0; padding: 11px 12px; border: 1px solid #345b48; border-radius: 9px; background: #10261c; }
.rental-plan-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rental-plan-title strong { color: var(--text); font: 900 15px ui-monospace,monospace; }
.rental-plan-actions { display: flex; flex-wrap: wrap; align-items: start; gap: 7px; margin-top: 9px; }
.rental-plan-actions details[open] { flex-basis: 100%; }
.rental-plan-actions .rental-form-row { grid-template-columns: 1fr; }
.rental-plan-actions details form { display: grid; gap: 10px; padding: 10px 0 0; }
.rental-plan-actions button,.rental-plan-actions summary,.rental-secondary-actions button,.rental-card-actions > details > summary,.rental-card-actions form > button:not(.submit) { min-height: 34px; padding: 7px 10px; border: 1px solid #3d6b55; border-radius: 8px; background: #163226; color: #ccebd5; font-size: 11px; font-weight: 800; }
.rental-plan-actions summary,.rental-card-actions > details > summary { cursor: pointer; list-style: none; }
.rental-plan-actions summary::-webkit-details-marker,.rental-card-actions > details > summary::-webkit-details-marker { display: none; }
.rental-plan-actions summary:hover,.rental-plan-actions button:hover,.rental-card-actions > details > summary:hover { border-color: var(--mint); color: var(--mint); }
.rental-plan-actions .danger,.rental-secondary-actions .danger { border-color: #744743; color: #ffc3b3; }
.rental-card-actions { grid-area: actions; display: flex; flex-wrap: wrap; align-content: start; gap: 7px; min-width: 0; }
.rental-card-actions > details { min-width: 0; }
.rental-card-actions > details[open] { flex-basis: 100%; }
.rental-card-actions > details > summary { display: block; padding: 9px 11px; font-size: 11px; white-space: nowrap; }
.rental-card-actions > details[open] > summary { border-color: #8dcb62; color: var(--lime); }
.rental-card-actions > details > form,.rental-card-actions > details > .rental-inline-note { margin: 10px 0 0; }
.rental-card-actions form { display: grid; gap: 11px; }
.rental-card-actions .submit { min-height: 42px; }
.rental-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rental-quote { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px; padding: 10px 11px; border: 1px solid #375b48; border-radius: 8px; background: #0c2419; color: #b4c9b9; font-size: 11px; }
.rental-quote b { color: var(--mint); }
.rental-quote strong { color: var(--amber); font-size: 15px; }
.rental-inline-note { color: #a6beae; font-size: 10px; line-height: 1.7; }
.rental-secondary-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.rental-runs { margin-top: 24px; }
.rental-runs .order-table-scroll { margin-top: 17px; }
.rental-runs table { width: 100%; min-width: 790px; border-collapse: collapse; }
.rental-runs th,.rental-runs td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; font-size: 11px; vertical-align: top; }
.rental-runs th { color: var(--muted); }
.rental-runs td small { display: block; margin-top: 4px; color: var(--muted); }
.rental-run-address { display: block; max-width: 290px; overflow-wrap: anywhere; color: var(--mint); user-select: all; }
/* Address actions stay compact; editing happens in focused dialogs. */
.rental-address-card { align-items: center; gap: 18px; }
.rental-address-identity { align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.rental-schedule-status { align-self: center; }
.rental-schedule-status[open] { align-self: stretch; }
.rental-card-actions { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); align-content: center; align-items: stretch; gap: 8px; }
.rental-card-actions > button { min-width: 0; min-height: 40px; padding: 8px 10px; border: 1px solid #47765c; border-radius: 9px; color: #d8f1e0; background: #173327; font-size: 11px; font-weight: 850; cursor: pointer; }
.rental-card-actions > form { min-width: 0; }
.rental-card-actions > form > button:not(.submit) { width: 100%; min-height: 40px; border: 1px solid #47765c; border-radius: 9px; background: #173327; color: #d8f1e0; font-size: 11px; font-weight: 850; cursor: pointer; }
.rental-card-actions > form > button:not(.submit):hover,.rental-card-actions > form > button:not(.submit):focus-visible { border-color: var(--mint); color: var(--mint); }
.rental-card-actions > button:hover,.rental-card-actions > button:focus-visible { border-color: var(--mint); color: var(--mint); }
.rental-card-actions > .rental-action-primary { min-height: 46px; border-color: #a5ef6c; background: linear-gradient(105deg,#b2f245,#64e9ad 56%,#40d6c4); color: #08271e; font-size: 13px; box-shadow: 0 9px 24px rgba(72,227,157,.12); }
.rental-card-actions > .rental-action-primary:hover,.rental-card-actions > .rental-action-primary:focus-visible { border-color: #e5ff96; color: #08271e; filter: brightness(1.06); box-shadow: 0 11px 28px rgba(72,227,157,.24); }
.rental-action-limit { order: 1; grid-column: 1 / -1; padding: 9px 10px; border: 1px solid #314c3d; border-radius: 8px; color: #a4b8aa; font-size: 11px; }
.rental-plan-actions > button[data-rental-dialog-open] { cursor: pointer; }
.rental-dialog { width: min(520px,calc(100vw - 32px)); max-width: 100%; max-height: min(88dvh,760px); margin: auto; padding: 0; border: 1px solid #56836b; border-radius: 18px; background: #0c2119; color: #e8f8ef; box-shadow: 0 28px 90px rgba(0,0,0,.58); overflow: auto; color-scheme: dark; }
.rental-dialog::backdrop { background: rgba(1,11,9,.78); backdrop-filter: blur(5px); }
.rental-dialog-inner { padding: 23px; }
.rental-dialog-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 20px; padding-bottom: 17px; border-bottom: 1px solid #2e4c3c; }
.rental-dialog-heading small { color: var(--mint); font-size: 10px; font-weight: 900; letter-spacing: .13em; }
.rental-dialog-heading h3 { margin: 5px 0; font-size: 21px; line-height: 1.3; }
.rental-dialog-heading p { margin: 0; color: #a7bcb0; font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; }
.rental-dialog .rental-dialog-close { flex: 0 0 auto; display: grid; place-items: center; width: 32px; height: 32px; min-height: 32px; padding: 0; border: 1px solid #3b5f4d; border-radius: 8px; background: #183629; color: #c8dfd0; font-size: 23px; line-height: 1; cursor: pointer; }
.rental-dialog .rental-dialog-close:hover { border-color: var(--mint); color: var(--mint); }
.rental-dialog form { display: grid; gap: 12px; }
.rental-dialog label { display: grid; gap: 7px; color: #bfd4c6; font-size: 11px; font-weight: 800; }
.rental-dialog input,.rental-dialog select { width: 100%; min-width: 0; min-height: 43px; padding: 10px 12px; border: 1px solid #3a604d; border-radius: 9px; background: #071510; color: #edf9f1; color-scheme: dark; outline: none; }
.rental-dialog input:focus,.rental-dialog select:focus { border-color: var(--mint); box-shadow: 0 0 0 3px rgba(97,239,184,.12); }
.rental-dialog .rental-form-row { grid-template-columns: repeat(2,minmax(0,1fr)); }
.rental-dialog .rental-inline-note { margin: 0; line-height: 1.65; }
.rental-dialog-footer { display: flex; justify-content: flex-end; gap: 9px; margin-top: 5px; padding-top: 12px; border-top: 1px solid #2a4939; }
.rental-dialog-footer button { min-height: 41px; padding: 9px 17px; border-radius: 9px; font-size: 12px; font-weight: 850; cursor: pointer; }
.rental-dialog-footer .rental-dialog-cancel { min-height: 41px; border: 1px solid #43664f; background: #173227; color: #d2e6d6; }
.rental-dialog-footer .rental-dialog-cancel:hover { border-color: var(--mint); }
.rental-dialog-footer .submit { width: auto; min-width: 145px; }
.rental-dialog .rental-secondary-actions { margin-top: 17px; }
.rental-times-heading { display: flex; justify-content: space-between; gap: 9px; color: #bfd4c6; font-size: 11px; font-weight: 800; }
.rental-times-heading small { color: #90aa97; font-size: 10px; }
.rental-time-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; max-height: 185px; overflow: auto; }
.rental-time-row { display: flex; align-items: end; gap: 5px; min-width: 0; padding: 8px; border: 1px solid #315541; border-radius: 9px; background: #102b1e; }
.rental-time-row label { flex: 1; min-width: 0; }
.rental-time-row button { flex: 0 0 auto; min-height: 43px; padding: 0 8px; border: 1px solid #5b6548; border-radius: 7px; background: #244032; color: #cbdccd; font-size: 10px; cursor: pointer; }
.rental-time-row button:disabled { opacity: .42; cursor: not-allowed; }
.rental-dialog .rental-add-time { width: 100%; min-height: 39px; border: 1px dashed #5a8f68; border-radius: 8px; background: #163326; color: var(--mint); font-size: 11px; font-weight: 850; cursor: pointer; }
.rental-dialog .rental-add-time:hover { border-color: var(--mint); background: #1d4030; }
.rental-dialog .rental-add-time:disabled { opacity: .48; cursor: not-allowed; }
.rental-time-error { margin: 0; padding: 8px 10px; border: 1px solid #895347; border-radius: 8px; background: #3b211c; color: #ffccbd; font-size: 11px; }
.rental-time-error[hidden] { display: none; }
@media (max-width: 1420px) { .rental-add-form { grid-template-columns: repeat(2,minmax(0,1fr)); } .rental-add-form .submit { width: 100%; } }
@media (max-width: 1250px) { .rental-address-card { grid-template-areas: "identity" "actions"; grid-template-columns: minmax(0,1fr); } }
@media (max-width: 900px) { .rental-card-actions { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 700px) { .rental-intro { grid-template-columns: 1fr; padding: 22px; } .rental-balance { min-width: 0; } .rental-rules { display: block; } .rental-rules b { display: block; margin-bottom: 3px; } .rental-add-form { grid-template-columns: 1fr; } .rental-form-row { grid-template-columns: 1fr; } .rental-address-card { gap: 10px; padding: 16px; } .rental-dialog-inner { padding: 17px; } .rental-dialog .rental-form-row,.rental-time-list { grid-template-columns: 1fr; } .rental-dialog-footer { flex-direction: column-reverse; } .rental-dialog-footer .submit,.rental-dialog-footer .rental-dialog-cancel { width: 100%; } }
@media (max-width: 420px) { .rental-card-actions { grid-template-columns: 1fr; } }
