:root {
  --brand: #1a73e8;
  --text: #202124;
  --muted: #5f6368;
  --faint: #80868b;
  --chip: #e8f0fe;
  --line: #dadce0;
  --bg: #f8f9fa;
  --hover: #f1f3f4;
  --shadow: 0 1px 2px rgba(32, 33, 36, 0.08), 0 1px 3px rgba(32, 33, 36, 0.06);
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  min-height: 100%;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-decoration: none; }
button, input, select, textarea { font: inherit; }

.to-guest {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background:
    radial-gradient(1200px 480px at 50% -80px, #e8f0fe 0%, transparent 70%),
    var(--bg);
}
.to-guest-card {
  width: min(440px, 92vw);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px 36px 36px;
  text-align: center;
  box-shadow: var(--shadow);
}
.to-guest-card h1 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 16px 0 8px;
}
.to-guest-lede {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
  margin: 0 0 24px;
}
.to-logo img { height: 40px; width: auto; }
.to-side .to-logo {
  display: flex;
  justify-content: center;
  padding: 8px 4px 20px;
}
.to-side .to-logo img { height: 36px; }

.to-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 0.95rem;
  cursor: pointer;
}
.to-btn:hover { filter: brightness(1.05); }
.to-btn-block { width: 100%; }

.to-app {
  display: grid;
  grid-template-columns: 15rem 1fr;
  min-height: 100vh;
  background: var(--bg);
}
.to-side {
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 20px 12px;
}
.to-side-nav { min-height: 12rem; }
.to-main { display: flex; flex-direction: column; min-width: 0; }
.to-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 28px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.to-brand { font-weight: 600; font-size: 0.95rem; }
.to-account { display: flex; align-items: center; gap: 4px; }
.to-account a,
.to-account button {
  color: var(--muted);
  background: none;
  border: 0;
  font: inherit;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 999px;
}
.to-account a:hover,
.to-account button:hover { color: var(--text); background: var(--hover); }
.to-account a[aria-current="page"] { color: var(--brand); background: var(--chip); }

.to-body { padding: 28px; max-width: 1080px; }
.to-page-head { margin-bottom: 20px; }
.to-page-head h1 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}
.to-lede { margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.45; max-width: 42rem; }

.to-grid {
  display: grid;
  grid-template-columns: minmax(0, 22rem) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.to-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 22px 22px;
  box-shadow: var(--shadow);
}
.to-card h2 {
  margin: 0 0 16px;
  font-size: 1rem;
  font-weight: 600;
}
.to-card-wide { grid-column: 1 / -1; }

.to-form { display: grid; gap: 14px; }
.to-field { display: grid; gap: 6px; }
.to-field span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}
.to-form input,
.to-form textarea,
.to-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
  color: var(--text);
}
.to-form textarea { resize: vertical; min-height: 5.5rem; }
.to-form input:focus,
.to-form textarea:focus,
.to-form select:focus {
  outline: 2px solid #aecbfa;
  outline-offset: 1px;
  border-color: var(--brand);
}
.to-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}
.to-check input { width: auto; margin-top: 2px; }

.to-alert {
  margin: 0 0 16px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fce8e6;
  color: #c5221f;
  font-size: 0.9rem;
}

.to-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.to-offer-row {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  background: #fff;
}
.to-offer-row strong { display: block; font-size: 0.98rem; margin-bottom: 4px; }
.to-chip {
  display: inline-block;
  background: var(--chip);
  color: var(--brand);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.to-empty {
  text-align: center;
  padding: 36px 16px 28px;
  color: var(--muted);
}
.to-empty strong {
  display: block;
  color: var(--text);
  font-size: 0.98rem;
  margin-bottom: 6px;
}
.to-help p { line-height: 1.5; margin: 0 0 12px; }
.to-help code {
  display: block;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.82rem;
  overflow-x: auto;
}
.to-muted { color: var(--muted); font-size: 0.9rem; }
.to-widget { font-family: Arial, Helvetica, sans-serif; color: #202124; border: 1px solid #dadce0; border-radius: 12px; padding: 16px; max-width: 420px; background: #fff; }
.to-widget h2 { margin: 0 0 8px; font-size: 1.1rem; }
.to-widget form { display: grid; gap: 8px; grid-template-columns: 1fr; }
.to-widget input[type="text"], .to-widget input[type="email"] { border: 1px solid #dadce0; border-radius: 8px; padding: 8px 10px; font: inherit; }
.to-offer { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0; }
.to-hp { position: absolute; left: -9999px; }

@media (max-width: 900px) {
  .to-grid { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .to-app { grid-template-columns: 1fr; }
  .to-side { display: none; }
  .to-body { padding: 20px 16px 32px; }
}
