:root {
  color-scheme: light;
  --navy: #14283d;
  --navy-2: #203b56;
  --blue: #2469bd;
  --blue-soft: #eaf3ff;
  --paper: #ffffff;
  --canvas: #edf2f7;
  --ink: #132235;
  --muted: #647387;
  --line: #d6dee8;
  --error: #b42318;
  --success: #0d6b47;
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
body { margin: 0; color: var(--ink); background: var(--canvas); min-height: 100vh; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: 310px; background: var(--navy); z-index: -1; }
.shell { width: min(1080px, calc(100% - 40px)); margin: 0 auto; display: grid; grid-template-columns: 0.72fr 1.28fr; gap: 58px; padding: 64px 0 46px; align-items: start; }
.masthead { color: white; padding-top: 14px; }
.brand-mark { width: 48px; height: 48px; border: 2px solid rgba(255,255,255,.9); border-radius: 12px; margin-bottom: 44px; position: relative; }
.brand-mark::before { content:""; position:absolute; left:7px; right:7px; top:13px; border-top:4px solid #72b2ff; }
.brand-mark span::before, .brand-mark span::after { content:""; position:absolute; width:4px; height:9px; top:6px; border-radius:4px; background:white; }
.brand-mark span::before { left:12px; } .brand-mark span::after { right:12px; }
.eyebrow, .step { margin: 0 0 12px; font-size: .76rem; font-weight: 800; letter-spacing: .14em; }
.eyebrow { color: #8fc2ff; }
h1 { margin: 0; font-size: clamp(2.15rem, 4vw, 3.35rem); line-height: 1.12; letter-spacing: -.055em; }
.intro { max-width: 285px; margin: 22px 0 0; color: #c8d5e2; line-height: 1.7; font-size: 1rem; }
.form-card { background: var(--paper); border-radius: 18px; box-shadow: 0 20px 55px rgba(24, 43, 65, .16); padding: 34px 38px 38px; }
.card-heading { display:flex; justify-content:space-between; gap:20px; align-items:center; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.step { color: var(--blue); margin-bottom: 5px; }
h2 { margin:0; font-size:1.55rem; letter-spacing:-.025em; }
.privacy { color: var(--success); font-size:.82rem; font-weight:700; white-space:nowrap; }
.privacy span { font-size:.58rem; vertical-align:2px; margin-right:4px; }
form { padding-top: 27px; }
.field, fieldset { margin: 0 0 25px; }
fieldset { border:0; padding:0; min-width:0; }
label, legend { display:block; font-size:.91rem; font-weight:750; margin-bottom:9px; }
.required, .optional { margin-left:5px; font-size:.72rem; font-weight:700; }
.required { color:var(--blue); } .optional { color:var(--muted); }
input, select, button { font: inherit; }
input, select { width:100%; min-height:48px; border:1px solid var(--line); border-radius:9px; background:#fbfcfe; color:var(--ink); padding:10px 12px; font-size:1rem; outline:none; transition:border-color .14s, box-shadow .14s, background .14s; }
input:hover, select:hover { border-color:#aebccc; }
input:focus, select:focus, button:focus-visible { border-color:var(--blue); box-shadow:0 0 0 3px rgba(36,105,189,.17); background:white; }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color:var(--error); box-shadow:0 0 0 3px rgba(180,35,24,.11); }
input::placeholder { color:#9ca8b6; }
.segmented-inputs { display:flex; align-items:end; gap:8px; }
.date-grid .mini-field { width:72px; } .date-grid .year-field { width:104px; }
.mini-field label { color:var(--muted); font-size:.76rem; margin-bottom:5px; }
.unit, .colon { height:48px; display:flex; align-items:center; color:var(--muted); font-weight:650; }
.time-columns { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.time-grid .period-field { flex:1.2; } .time-grid .mini-field { flex:1; min-width:0; }
.colon { font-size:1.25rem; }
.hint { margin:7px 0 0; color:var(--muted); font-size:.79rem; }
.legend-row { display:flex; justify-content:space-between; align-items:center; margin-bottom:9px; }
.legend-row legend { margin:0; }
.text-button { border:0; color:var(--blue); background:transparent; font-size:.86rem; font-weight:750; padding:7px 4px; border-radius:6px; cursor:pointer; }
.alarm-list { display:grid; gap:9px; }
.alarm-row { display:grid; grid-template-columns:1fr auto; gap:9px; }
.remove-alarm { width:48px; border:1px solid var(--line); border-radius:9px; background:white; color:var(--muted); cursor:pointer; font-size:1.2rem; }
.remove-alarm:hover { color:var(--error); border-color:#efb7b2; }
.primary-button { width:100%; min-height:56px; border:0; border-radius:10px; padding:13px 18px; background:var(--blue); color:white; font-weight:800; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:8px; box-shadow:0 8px 18px rgba(36,105,189,.2); }
.primary-button:hover { background:#195aa8; }
.primary-button[disabled] { cursor:wait; opacity:.7; }
.secondary-button { width:100%; border:0; background:transparent; color:var(--blue); font-weight:750; padding:13px; margin-top:7px; border-radius:8px; cursor:pointer; }
.secondary-button:hover { background:var(--blue-soft); }
.download-icon { font-size:1.35rem; margin-right:3px; }
kbd { font:700 .68rem/1 sans-serif; padding:4px 5px; color:#dcecff; border:1px solid rgba(255,255,255,.42); border-radius:4px; margin-left:8px; }
.key-plus { color:#bcd9fa; font-size:.7rem; margin:0 -5px; }
.error-summary, .success-message { border-radius:9px; padding:12px 14px; margin:20px 0 -4px; font-size:.9rem; line-height:1.5; }
.error-summary { color:var(--error); background:#fff1f0; border:1px solid #fac5c1; }
.success-message { color:var(--success); background:#eefbf5; border:1px solid #bce8d5; }
footer { text-align:center; color:#6f7d8c; font-size:.78rem; padding:0 20px 28px; }
@media (max-width: 780px) {
  body::before { height:250px; }
  .shell { width:min(100% - 24px, 620px); grid-template-columns:1fr; gap:30px; padding-top:32px; }
  .masthead { padding:0 10px; display:grid; grid-template-columns:auto 1fr; gap:18px; align-items:start; }
  .brand-mark { width:40px; height:40px; margin:3px 0 0; }
  h1 { font-size:2.05rem; } .intro { margin-top:12px; }
  .form-card { padding:27px 22px 28px; border-radius:15px; }
}
@media (max-width: 540px) {
  .time-columns { grid-template-columns:1fr; gap:0; }
  .card-heading { align-items:flex-start; } .privacy { margin-top:4px; font-size:.74rem; }
  .date-grid { gap:5px; } .date-grid .year-field { width:94px; } .date-grid .mini-field { width:60px; }
  input, select { padding-left:9px; padding-right:9px; }
  kbd, .key-plus { display:none; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior:auto !important; transition:none !important; } }
