:root {
  --ink: #142033;
  --muted: #5c6b80;
  --line: #e4e8ef;
  --bg: #f4f6f9;
  --card: #fff;
  --navy: #0B1F3A;
  --red: #C8102E;
  --tap: 52px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.45;
}
.s-top {
  background: #fff;
  border-bottom: 3px solid var(--red);
  padding: 12px 16px;
}
.s-top img { height: 34px; width: auto; display: block; }
.s-wrap { max-width: 960px; margin: 0 auto; padding: 16px; }
.s-profile, .s-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}
.s-profile { text-align: center; margin-bottom: 14px; }
.s-photo {
  width: 112px; height: 112px; border-radius: 50%; object-fit: cover;
  border: 3px solid #fff; box-shadow: 0 0 0 3px var(--navy);
  background: var(--navy);
}
.s-profile h1 { margin: 12px 0 2px; font-size: 26px; }
.s-title { margin: 0; font-weight: 650; }
.s-org { margin: 2px 0 8px; color: var(--red); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: 13px; }
.s-blurb { margin: 0 0 8px; color: var(--ink); }
.s-note { color: var(--muted); font-size: 15px; margin: 6px 0 12px; }
.s-kicker { margin: 0; color: var(--red); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: 12px; }
.s-h { margin: 4px 0 12px; font-size: 24px; }
.s-types, .s-slots { display: flex; flex-direction: column; gap: 10px; }
.s-type, .s-slot {
  text-align: left; width: 100%;
  background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--c, var(--navy));
  border-radius: 14px; padding: 14px 14px; min-height: var(--tap);
  font: inherit; color: inherit; cursor: pointer;
}
.s-type-name, .s-slot { font-weight: 750; }
.s-type-meta, .s-type-desc { display: block; color: var(--muted); font-weight: 500; font-size: 15px; }
.s-type:hover, .s-slot:hover, .s-type:focus, .s-slot:focus { border-color: var(--navy); outline: none; }
.s-slot { border-left-width: 1px; text-align: center; font-size: 18px; }
.s-cal-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.s-icon, .s-day, .s-back, .s-btn {
  font: inherit; cursor: pointer;
}
.s-icon {
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-size: 26px;
}
.s-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.s-dow { text-align: center; font-size: 12px; color: var(--muted); font-weight: 700; padding: 4px 0; }
.s-day {
  min-height: 44px; border-radius: 12px; border: 1px solid transparent; background: #eef2f7; color: #98a2b3;
  font-weight: 700;
}
.s-day.open { background: #fff; border-color: var(--line); color: var(--navy); }
.s-day.open:hover, .s-day.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.s-day:disabled { cursor: default; }
.s-back {
  background: none; border: 0; color: var(--navy); font-weight: 700; padding: 0 0 8px;
}
.s-input {
  width: 100%; min-height: 48px; border-radius: 12px; border: 1px solid #cfd6e0;
  padding: 10px 12px; font: inherit; background: #fff; color: var(--ink);
}
textarea.s-input { min-height: 88px; }
label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; margin-bottom: 12px; }
.s-opt { font-weight: 500; color: var(--muted); }
.s-btn {
  display: flex; align-items: center; justify-content: center; width: 100%;
  min-height: var(--tap); border-radius: 14px; border: 0; background: var(--navy); color: #fff;
  font-weight: 800; font-size: 18px; text-decoration: none; margin: 8px 0;
}
.s-btn-quiet { background: #fff; color: var(--navy); border: 2px solid var(--line); }
.s-btn-ghost { background: #fff; color: var(--red); border: 2px solid var(--red); }
.s-error { background: #fde8ec; color: #8d1024; padding: 12px; border-radius: 12px; }
.s-you { background: #eef3f9; border-radius: 12px; padding: 10px 12px; }
.s-you button { background: none; border: 0; color: var(--navy); font: inherit; font-weight: 800; cursor: pointer; text-decoration: underline; }
.s-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.s-done h2 { margin-top: 0; }
.s-when { font-size: 22px; font-weight: 750; margin: 8px 0; }
.s-noscript { padding: 0 16px 24px; }
@media (min-width: 800px) {
  .s-wrap { display: grid; grid-template-columns: 300px 1fr; gap: 20px; align-items: start; padding: 28px 16px 48px; }
  .s-profile { margin: 0; position: sticky; top: 16px; }
  .s-slots { display: grid; grid-template-columns: 1fr 1fr; }
  .s-top img { height: 40px; }
}
