:root{
  --bg: #f6f6f4;
  --card: #ffffff;
  --text: #121212;
  --muted: #6b6b6b;
  --line: rgba(0,0,0,.08);
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --radius: 16px;
  --accent: #111111;
  --accent2:#2b2b2b;
  --ok:#1a7f37;
  --err:#b42318;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:var(--bg);
}

a{color:inherit}
.wrap{max-width:1080px;margin:0 auto;padding:24px}
.topbar{
  position:sticky;top:0;z-index:20;
  background:rgba(246,246,244,.78);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}
.topbar-inner{display:flex;align-items:center;justify-content:space-between;gap:16px}
.brand{display:flex;align-items:center;gap:10px;font-weight:650;letter-spacing:.2px}
.brand-dot{width:10px;height:10px;border-radius:99px;background:var(--accent)}
.badge{
  font-size:12px;color:var(--muted);
  border:1px solid var(--line); border-radius:999px;
  padding:6px 10px; background:rgba(255,255,255,.6);
}

.hero{padding:40px 0 10px}
.hero h1{margin:0 0 10px;font-size:clamp(28px, 3.2vw, 44px);letter-spacing:-.5px}
.hero p{margin:0;color:var(--muted);font-size:16px;max-width:70ch;line-height:1.5}

.grid{
  display:grid;
  grid-template-columns:repeat(12, 1fr);
  gap:18px;
  padding:18px 0 32px;
}

.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}
.card-pad{padding:18px}
.card h2{margin:0 0 10px;font-size:18px}
.small{font-size:13px;color:var(--muted);line-height:1.4}

.slot-list{grid-column:span 8}
.side{grid-column:span 4}

@media (max-width: 900px){
  .slot-list,.side{grid-column:span 12}
  .hero{padding:26px 0 6px}
}

.slots{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:12px;
}
@media (max-width: 640px){ .slots{grid-template-columns:1fr} }

.slot{
  display:flex;flex-direction:column;gap:6px;
  text-decoration:none;
  padding:14px 14px;
  border-radius:14px;
  border:1px solid var(--line);
  background:linear-gradient(180deg, #fff, #fbfbfb);
  transition:transform .12s ease, border-color .12s ease, box-shadow .12s ease;
}
.slot:hover{
  transform:translateY(-1px);
  border-color:rgba(0,0,0,.16);
  box-shadow:0 10px 26px rgba(0,0,0,.10);
}
.slot .day{font-weight:650;letter-spacing:.2px}
.slot .time{color:var(--muted);font-size:13px}
.slot .cta{
  margin-top:6px;
  display:flex;align-items:center;justify-content:space-between;
  font-size:13px;color:var(--accent2);
}
.arrow{opacity:.6}

.kpi{
  display:flex;flex-direction:column;gap:10px;
}
.kpi .row{display:flex;justify-content:space-between;gap:10px}
.kpi .row b{font-weight:650}
.hr{height:1px;background:var(--line);margin:14px 0}

.btn{
  display:inline-flex;align-items:center;justify-content:center;
  gap:10px;
  padding:12px 14px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.12);
  background:var(--accent);
  color:#fff;
  text-decoration:none;
  font-weight:650;
  cursor:pointer;
}
.btn:disabled{
  opacity:.5; cursor:not-allowed;
}
.btn-ghost{
  background:transparent;
  color:var(--text);
  border:1px solid var(--line);
}

.form{
  display:grid;
  grid-template-columns:repeat(12, 1fr);
  gap:12px;
}
.field{grid-column:span 6; display:flex; flex-direction:column; gap:6px}
.field.full{grid-column:span 12}
label{font-size:13px;color:var(--muted)}
input, textarea{
  width:100%;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#fff;
  font:inherit;
}
textarea{min-height:90px;resize:vertical}

.notice{
  padding:12px 14px;
  border-radius:12px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.7);
  color:var(--muted);
  font-size:13px;
  line-height:1.4;
}
.err{border-color:rgba(180,35,24,.25); color:var(--err); background:rgba(180,35,24,.06)}
.ok{border-color:rgba(26,127,55,.25); color:var(--ok); background:rgba(26,127,55,.06)}

.checks{display:flex;flex-direction:column;gap:10px}
.check{
  display:flex; gap:10px; align-items:flex-start;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#fff;
}
.check input{width:18px;height:18px;margin-top:2px}
.check .txt{font-size:13px;line-height:1.35;color:var(--muted)}
.check .txt b{color:var(--text)}
.check a{color:var(--text);text-decoration:underline; text-underline-offset:2px}

details{
  border:1px solid var(--line);
  border-radius:12px;
  padding:12px 12px;
  background:#fff;
}
details summary{
  cursor:pointer;
  font-weight:650;
}
details p{margin:10px 0 0;color:var(--muted);font-size:13px;line-height:1.5}

.footer{
  padding:24px 0 40px;
  color:var(--muted);
  font-size:12px;
}
