  margin-bottom:var(--space-md);
}
.restaurant-search-context span {
  color:var(--coral-ink);
  font:500 .6875rem 'DM Mono',monospace;
}
.restaurant-search-context small {
  color:var(--muted);
  font:500 .625rem 'DM Mono',monospace;
  letter-spacing:.08em;
}
.restaurant-search-form { display:grid; gap:7px; }
.restaurant-search-form > label { font-size:.875rem; font-weight:800; }
.restaurant-search-bar { display:grid; grid-template-columns:minmax(0,1fr) auto; }
.restaurant-search-bar input {
  min-width:0;
  min-height:52px;
  padding:0 var(--space-md);
  border:1px solid var(--ink);
  border-right:0;
  border-radius:0;
  background:var(--paper);
  color:var(--ink);
  font:600 1rem/1.4 Manrope,system-ui,sans-serif;
}
.restaurant-search-bar input::-webkit-search-cancel-button { cursor:pointer; }
.restaurant-search-bar button {
  min-width:72px;
  min-height:52px;
  padding:0 var(--space-md);
  border:1px solid var(--ink);
  background:var(--ink);
  color:var(--paper);
  cursor:pointer;
  font-size:.8125rem;
  font-weight:800;
}
.restaurant-search-bar button:disabled { cursor:wait; opacity:.62; }
.restaurant-search-bar input:focus,
.restaurant-search-bar button:focus-visible {
  position:relative;
  z-index:1;
  outline:2px solid var(--coral);
  outline-offset:2px;
}
.restaurant-search-form > small {
  color:var(--muted);
  font-size:.6875rem;
  line-height:1.5;
}
.restaurant-search-message,
.restaurant-form-message {
  min-height:18px;
  margin:var(--space-sm) 0 0;
  color:#17845a;
  font-size:.75rem;
  line-height:1.5;
}
.restaurant-search-message.error,.restaurant-form-message.error { color:#c33725; }
.restaurant-search-results {
  margin:var(--space-md) calc(var(--space-lg) * -1) calc(var(--space-lg) * -1);
  border-top:1px solid var(--ink);
  background:var(--paper);
}
.restaurant-search-results[hidden] { display:none; }
.restaurant-search-result {
  display:grid;
  grid-template-columns:34px minmax(0,1fr) auto;
  gap:var(--space-md);
  align-items:center;
  width:100%;
  min-height:72px;
  padding:10px var(--space-lg);
  border:0;
  border-bottom:1px solid var(--line);
  background:transparent;
  color:var(--ink);
  cursor:pointer;
  text-align:left;
}
.restaurant-search-result:last-child { border-bottom:0; }
.restaurant-search-result > span:first-child {
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  border:1px solid var(--ink);
  border-radius:50%;
  color:var(--coral-ink);
  font:500 .6875rem 'DM Mono',monospace;
}
.restaurant-search-result-copy { min-width:0; }
.restaurant-search-result-copy strong,
.restaurant-search-result-copy small { display:block; }
.restaurant-search-result-copy strong {
  overflow:hidden;
  font-size:.875rem;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.restaurant-search-result-copy small {
  display:-webkit-box;
  overflow:hidden;
  margin-top:3px;
  color:var(--muted);
  font-size:.6875rem;
  line-height:1.4;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}
.restaurant-search-result > span:last-child { color:var(--coral-ink); font-size:1rem; }
.restaurant-search-result:focus-visible { outline:2px solid var(--ink); outline-offset:-3px; }
.restaurant-form {
  margin:var(--space-md) calc(var(--space-lg) * -1) calc(var(--space-lg) * -1);
  padding:var(--space-lg);
  border-top:1px solid var(--ink);
  background:var(--yellow);
}
.restaurant-form[hidden] { display:none; }
.restaurant-selected-place { display:grid; gap:4px; }
.restaurant-selected-place > span {
  color:rgba(16,24,40,.64);
  font:500 .625rem 'DM Mono',monospace;
  letter-spacing:.08em;
}
.restaurant-selected-place > strong { font-size:1rem; letter-spacing:-.03em; }
.restaurant-selected-place > address {
  color:rgba(16,24,40,.7);
  font:500 .6875rem/1.5 'DM Mono',monospace;
  overflow-wrap:anywhere;
}
.restaurant-edit-fields {
  display:grid;
  gap:6px;
  margin-top:var(--space-md);
}
.restaurant-edit-fields[hidden] { display:none; }
.restaurant-edit-fields label {
  color:rgba(16,24,40,.64);
  font:500 .625rem 'DM Mono',monospace;
  letter-spacing:.08em;
}
.restaurant-edit-fields input {
  width:100%;
  min-height:42px;
  padding:8px 10px;
  border:1px solid rgba(16,24,40,.5);
  background:rgba(255,255,255,.5);
  color:var(--ink);
  font:500 .8rem/1.4 'DM Mono',monospace;
}
.restaurant-note-disclosure {
  margin-top:var(--space-md);
  border-top:1px solid rgba(16,24,40,.22);
}
.restaurant-note-disclosure summary {
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:44px;
  cursor:pointer;
  font-size:.75rem;
  font-weight:800;
  list-style:none;
}
.restaurant-note-disclosure summary::-webkit-details-marker { display:none; }
.restaurant-note-disclosure summary span { color:rgba(16,24,40,.58); font-size:.6875rem; }
.restaurant-note-disclosure textarea {
  width:100%;
  min-height:74px;
  padding:10px 12px;
  resize:vertical;
  border:1px solid var(--ink);
  border-radius:0;
  background:var(--paper);
  color:var(--ink);
  font:500 .875rem/1.5 Manrope,system-ui,sans-serif;
}
.restaurant-note-disclosure textarea:focus { outline:2px solid var(--coral); outline-offset:2px; }
.restaurant-selection-actions {
  display:grid;
  grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);
  gap:var(--space-sm);
  margin-top:var(--space-md);
}
.restaurant-selection-actions button {
  min-height:48px;
  padding:0 var(--space-md);
  border:1px solid var(--ink);
  background:transparent;
  color:var(--ink);
  cursor:pointer;
  font-size:.75rem;
  font-weight:800;
}
.restaurant-submit {
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  border:1px solid var(--ink);
  background:var(--coral);
  color:var(--ink);
  cursor:pointer;
  font-size:.8125rem;
  font-weight:800;
}
.restaurant-submit:disabled {
  cursor:wait;
  opacity:.58;
}
.restaurant-submit:focus-visible {
  outline:2px solid var(--ink);
  outline-offset:3px;
}
.restaurant-list-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-top:var(--space-2xl);
  padding-bottom:var(--space-sm);
}
.restaurant-list-head strong { font-size:.875rem; }
.restaurant-vote-control {
  display:flex;
  align-items:center;
  gap:5px;
}
.restaurant-vote-control label { color:var(--muted); font-size:.6875rem; }
.restaurant-vote-control select {
  min-height:44px;
  padding:0 24px 0 7px;
  border:1px solid var(--line);
  border-radius:0;
  background:var(--paper);
  color:var(--ink);
  font-size:.75rem;
}
.restaurant-list-head span {
  color:var(--coral-ink);
  font:500 .75rem 'DM Mono',monospace;
}
.restaurant-list { border-top:1px solid var(--ink); }
.restaurant-item {
  display:grid;
  grid-template-columns:24px minmax(0,1fr);
  gap:var(--space-md);
  padding:var(--space-lg) 0;
  border-bottom:1px solid var(--line);
}
.restaurant-marker {
  padding-top:2px;
  color:var(--coral-ink);
  font-size:.75rem;
}
.restaurant-item-main { min-width:0; }
.restaurant-item-main > strong,
.restaurant-item-main > small,
.restaurant-item-main > address {
  display:block;
}
.restaurant-item-main > strong {
  font-size:1rem;
  letter-spacing:-.03em;
}
.restaurant-item-main > small {
  margin-top:2px;
  color:var(--muted);
  font-size:.75rem;
}
.restaurant-item-main > address {
  margin-top:var(--space-sm);
  color:var(--muted);
  font:500 .6875rem/1.5 'DM Mono',monospace;
  overflow-wrap:anywhere;
}
.restaurant-vote-summary { margin-top:var(--space-sm); }
.restaurant-vote-summary small { color:var(--coral-ink); font-size:.6875rem; font-weight:700; }
.restaurant-item-actions {
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:var(--space-md);
}
.restaurant-item-actions button,
.restaurant-item-actions a {
  display:inline-flex;
  flex:0 1 auto;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 12px;
  border:1px solid var(--line);
  background:transparent;
  color:var(--ink);
  text-decoration:none;
  cursor:pointer;
  font-size:.6875rem;
  font-weight:800;
}
.restaurant-item-actions button[data-action="vote"] { border-color:var(--ink); }
.restaurant-item-actions button[data-action="vote"].is-voted { background:var(--coral); }
.restaurant-item-actions a { border-color:var(--ink); background:var(--yellow); }
.restaurant-item-actions button[data-action="delete"] {
  margin-left:auto;
  border-color:var(--line);
  color:var(--coral-ink);
}
.restaurant-item-actions button:focus-visible,
.restaurant-item-actions a:focus-visible {
  outline:2px solid var(--ink);
  outline-offset:2px;
}
.restaurant-empty {
  display:grid;
  gap:var(--space-sm);
  padding:var(--space-xl) var(--space-lg);
  background:color-mix(in srgb,var(--yellow) 42%,var(--paper));
  color:var(--muted);
  font-size:.75rem;
  line-height:1.55;
}
.restaurant-empty strong { color:var(--ink); font-size:.875rem; }
.restaurant-empty button {
  justify-self:start;
  min-height:44px;
  padding:0 12px;
  border:1px solid var(--ink);
  background:var(--paper);
  color:var(--ink);
  cursor:pointer;
  font-size:.75rem;
  font-weight:800;
}
.restaurant-undo {
  position:fixed;
  z-index:var(--z-toast);
  left:50%;
  bottom:calc(var(--bottom-nav-reserve) + 12px);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:var(--space-lg);
  width:min(440px,calc(100vw - 32px));
  min-height:52px;
  padding:8px 10px 8px 16px;
  border:1px solid var(--paper);
  background:var(--ink);
  color:var(--paper);
  opacity:0;
  transform:translate(-50%,12px);
  transition:opacity .18s ease-out,transform .18s ease-out;
}
.restaurant-undo.show {
  opacity:1;
  transform:translate(-50%,0);
}
.restaurant-undo span { font-size:.75rem; }
.restaurant-undo button {
  min-height:44px;
  padding:0 12px;
  border:0;
  background:var(--yellow);
  color:var(--ink);
  cursor:pointer;
  font-size:.75rem;
  font-weight:800;
}
.restaurant-undo button:focus-visible {
  outline:2px solid var(--paper);
  outline-offset:2px;
}
.restaurant-load-message {
  margin:var(--space-lg) 0 calc(var(--space-md) * -1);
  padding:10px 12px;
  border:1px solid #c33725;
  background:#ffddd5;
  color:#8f2418;
  font-size:.75rem;
  line-height:1.5;
}
.restaurant-load-message[hidden] { display:none; }
.restaurant-item { grid-template-columns:32px minmax(0,1fr); align-items:start; }
.restaurant-number {
  display:grid;
  place-items:center;
  width:28px;
  min-height:28px;
  border:1px solid var(--ink);
  border-radius:50%;
  color:var(--coral-ink);
  font:500 .6875rem 'DM Mono',monospace;
}
.restaurant-copy { min-width:0; }
.restaurant-copy > strong,.restaurant-copy > small,.restaurant-copy > address { display:block; }
.restaurant-copy > strong { overflow-wrap:anywhere; font-size:1rem; letter-spacing:-.03em; }
.restaurant-copy > small { margin-top:2px; color:var(--muted); font-size:.75rem; }
.restaurant-copy > address {
  margin-top:var(--space-sm);
  color:var(--muted);
  font:500 .6875rem/1.5 'DM Mono',monospace;
  overflow-wrap:anywhere;
}
.restaurant-votes { margin-top:var(--space-sm); }
.restaurant-votes small { color:var(--coral-ink); font-size:.6875rem; font-weight:700; }
.restaurant-actions {
  grid-column:2;
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:var(--space-md);
}
.restaurant-actions button,.restaurant-actions a {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 12px;
  border:1px solid var(--line);
  background:transparent;
  color:var(--ink);
  text-decoration:none;
  cursor:pointer;
  font-size:.6875rem;
  font-weight:800;
}
.restaurant-actions button[data-action="vote"] { border-color:var(--ink); }
.restaurant-actions a { border-color:var(--ink); background:var(--yellow); }
.restaurant-actions button[data-action="delete"] { margin-left:auto; border-color:var(--line); color:var(--coral-ink); }
.restaurant-actions button:focus-visible,.restaurant-actions a:focus-visible {
  outline:2px solid var(--ink);
  outline-offset:2px;
}
@container restaurant (min-width:420px) {
  .restaurant-search-result { grid-template-columns:40px minmax(0,1fr) auto; }
  .restaurant-item { grid-template-columns:28px minmax(0,1fr); }
}
@media (max-width:389px) {
  .restaurant-list-head { align-items:flex-start; flex-direction:column; gap:var(--space-sm); }
  .restaurant-vote-control { width:100%; justify-content:space-between; }
}
@media (hover:hover) and (pointer:fine) {
  .schedule-view-tabs button:hover,.place-day-tabs button:hover,.restaurant-day-tabs button:hover { background:var(--yellow); }
  .place-pin:hover { background:rgba(255,211,78,.22); }
  .place-pin:hover .place-pin-arrow { transform:translateX(3px); }
  .day-route-link:hover,.restaurant-submit:hover { background:var(--yellow); }
  .schedule-add-place:hover { color:var(--coral); }
  .restaurant-search-result:hover { background:color-mix(in srgb,var(--yellow) 30%,var(--paper)); }
  .restaurant-item-actions button:hover { background:rgba(16,24,40,.06); }
  .restaurant-item-actions button[data-action="delete"]:hover { background:#ffddd5; }
}
@media (prefers-reduced-motion:reduce) {
  .place-pin-arrow,.restaurant-undo,.schedule-view-tabs,.schedule-map-marker-visual { transition:none; }
}
