:root {
  --ink: #17233c;
  --muted: #66728a;
  --navy: #132a50;
  --blue: #2764e7;
  --light: #f3f6fb;
  --line: #dfe5ef;
  --green: #16815b;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Segoe UI", system-ui, sans-serif;
}
.pane { padding: 20px 18px 28px; max-width: 430px; margin: auto; }
header { display: flex; gap: 12px; align-items: center; margin-bottom: 22px; }
h1 { margin: 2px 0 0; font-size: 23px; letter-spacing: -.4px; }
.eyebrow { margin: 0; font-size: 10px; font-weight: 800; letter-spacing: 1.5px; color: var(--blue); }
.brand-mark {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px;
  color: white; background: linear-gradient(145deg, #2764e7, #15315e); font-size: 30px;
  box-shadow: 0 10px 24px rgba(39,100,231,.2);
}
.brand-mark.small { width: 42px; height: 42px; border-radius: 13px; font-size: 23px; }
.quick { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 7px; margin-bottom: 14px; }
button, input { font: inherit; }
.quick button, .mode-tabs button {
  border: 1px solid var(--line); background: #fff; border-radius: 9px; padding: 9px 7px;
  color: var(--navy); font-size: 12px; cursor: pointer;
}
.quick button:hover { border-color: var(--blue); color: var(--blue); }
.card { border: 1px solid var(--line); background: var(--light); border-radius: 15px; padding: 15px; }
label { display: block; color: var(--muted); font-size: 12px; font-weight: 700; }
input[type="date"], input[type="time"] {
  display: block; width: 100%; margin-top: 6px; padding: 10px; color: var(--ink);
  background: white; border: 1px solid var(--line); border-radius: 9px;
}
.mode-tabs { display: grid; grid-template-columns: 1fr 1fr; margin: 14px 0 12px; }
.mode-tabs button { border-radius: 9px 0 0 9px; }
.mode-tabs button + button { border-radius: 0 9px 9px 0; border-left: 0; }
.mode-tabs .active { color: white; background: var(--navy); border-color: var(--navy); }
.two-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check { display: flex; align-items: flex-start; gap: 8px; margin-top: 14px; line-height: 1.35; }
.check input { margin-top: 2px; }
.hidden { display: none !important; }
.preview { margin: 15px 0; padding: 15px; border-left: 3px solid var(--blue); background: #f7f9ff; border-radius: 3px 12px 12px 3px; }
.preview-time { margin: 5px 0 3px; font-size: 19px; font-weight: 750; }
.muted, .footnote { color: var(--muted); font-size: 12px; line-height: 1.45; }
.link-button { border: 0; background: none; color: var(--blue); padding: 8px 0 0; cursor: pointer; font-size: 12px; }
.primary {
  width: 100%; padding: 13px 15px; border: 0; border-radius: 11px; color: #fff;
  background: var(--blue); font-weight: 750; cursor: pointer; box-shadow: 0 8px 18px rgba(39,100,231,.18);
}
.primary:disabled { opacity: .55; cursor: wait; }
.notice { padding: 11px; margin: 12px 0; border-radius: 9px; font-size: 12px; line-height: 1.4; }
.notice.ok { color: #0d6949; background: #e8f7f1; }
.notice.error { color: #9b2c2c; background: #fff0f0; }
.footnote { text-align: center; padding: 0 8px; }
.landing { min-height: 100vh; display: grid; place-items: center; background: #f3f6fb; padding: 24px; }
.welcome { max-width: 560px; background: white; padding: 44px; border-radius: 22px; box-shadow: 0 18px 60px rgba(23,35,60,.12); }
.welcome h1 { font-size: 34px; margin-top: 12px; }
.welcome p { color: var(--muted); line-height: 1.6; }
.success { margin-top: 20px; color: var(--green); font-weight: 700; }

