.sb-root {
  display:grid;
  grid-template-columns:minmax(0, .87fr) minmax(0, 1.13fr);
  align-items:start;
  gap:clamp(36px, 6vw, 92px);
  padding-block:clamp(32px, 4.8vw, 72px) clamp(56px, 7vw, 104px);
}
.sb-intro {padding-top:clamp(8px, 2vw, 32px)}
.sb-sun {width:clamp(110px, 12vw, 155px);height:auto;display:block;margin:0 0 28px -4px}
.sb-intro h1,.sb-panel h2 {
  font:650 clamp(2.95rem, 5.1vw, 4.7rem)/1.025 var(--serif);
  letter-spacing:-.047em;
  text-wrap:balance;
}
.sb-intro p,#sb-pending > p:not(.sb-help) {font-size:clamp(1.14rem,1.55vw,1.32rem);line-height:1.5;color:var(--muted);margin-top:20px;max-width:35ch}
.sb-panel {border-top:3px solid var(--ink);padding-top:24px;min-width:0}
.sb-fields {display:grid;grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);gap:18px 16px}
.sb-field {display:grid;grid-template-rows:1fr auto;gap:6px;min-width:0}
.sb-field label,.sb-choices legend,.sb-choices strong {font-weight:700}
.sb-combo {position:relative}
.sb-field input {
  width:100%;
  min-width:0;
  height:48px;
  color:var(--ink);
  font-size:1rem;
  padding:10px 12px;
  background:var(--paper);
  border:1px solid #91a8b8;
  border-radius:6px;
}
.sb-field input::placeholder {color:var(--muted);opacity:1}
.sb-field input:focus {border-color:var(--accent);outline:3px solid #0067a22b;outline-offset:1px}
.sb-field input[aria-invalid=true] {border-color:#9b3535}
.sb-city {grid-column:1/-1;grid-template-rows:auto}
#sb-cities {
  list-style:none;
  z-index:4;
  position:absolute;
  left:0;
  right:0;
  top:calc(100% + 4px);
  max-height:min(37vh,284px);
  overflow-y:auto;
  overscroll-behavior:contain;
  margin:0;
  padding:5px;
  background:var(--paper);
  border:1px solid #a7bcc8;
  border-radius:6px;
  box-shadow:0 10px 28px #102b4217;
}
#sb-cities li {display:flex;justify-content:space-between;align-items:center;gap:10px;cursor:pointer;min-height:44px;padding:9px 10px;font-weight:650;border-radius:4px}
#sb-cities li small {font-weight:500;color:var(--muted)}
#sb-cities li:hover,#sb-cities li[aria-selected=true] {background:var(--tint)}
.sb-choices {border:0;padding:0;margin:25px 0 0;min-width:0}
.sb-choices legend {padding:0 0 8px;letter-spacing:-.015em;font-size:1.08rem}
.sb-choices label,.sb-consent {display:flex;align-items:flex-start;gap:12px;padding-block:12px;cursor:pointer}
.sb-choices label {border-top:1px solid var(--line)}
.sb-choices input,.sb-consent input {flex:none;margin:2px 0 0;width:20px;height:20px;accent-color:var(--accent);cursor:pointer}
.sb-choices small {display:block;color:var(--muted);font-size:.94rem;line-height:1.45;margin-top:2px}
.sb-consent {border-top:1px solid var(--line);font-size:.96rem;padding-block:17px}
.sb-submit {min-height:48px;border:0;border-radius:6px;padding:12px 22px;background:var(--ink);color:white;font-weight:700}
.sb-submit:enabled:hover {background:var(--accent)}
.sb-submit:disabled {cursor:wait;opacity:.7}
.sb-help,#sb-city-status,#sb-status,#sb-choice-error {color:var(--muted);font-size:.92rem;line-height:1.52}
.sb-help,#sb-status:not(:empty) {margin-top:14px}
#sb-city-status:empty,#sb-status:empty,#sb-choice-error:empty {display:none}
#sb-status[data-error],#sb-choice-error,#sb-city-status[data-error] {color:#91382d}
#sb-choice-error:not(:empty) {padding-bottom:10px}
.sb-panel h2 {font-size:clamp(2rem,3.5vw,3rem)}
#sb-edit {padding:0;background:none;border:none;color:var(--accent);text-decoration:underline;text-underline-offset:3px}
@media(max-width:930px) {
  .sb-root {grid-template-columns:minmax(0, .75fr) minmax(0, 1.25fr);gap:32px}
  .sb-fields {grid-template-columns:1fr;gap:14px}
  .sb-intro h1 {font-size:clamp(2.6rem,5.2vw,3.5rem)}
}
@media(max-width:730px) {
  .sb-root {display:block;max-width:600px;padding-top:18px}
  .sb-intro {padding:0;margin-bottom:22px}
  .sb-sun {width:88px;margin-bottom:16px}
  .sb-intro h1 {font-size:clamp(2.45rem,8.3vw,3.4rem)}
  .sb-intro p {margin-top:12px;font-size:1.08rem;max-width:45ch}
  .sb-panel {padding-top:18px;border-width:2px}
  .sb-submit {width:100%}
}
