:root{
  --bg:#F8FAFC;
  --card:#FFFFFF;
  --border:#E5E7EB;
  --text:#0F172A;
  --muted:#475569;
  --muted2:#64748B;
  --primary:#2563EB;
  --primary2:#1D4ED8;
  --radius:5px;
  --focus: 0 0 0 3px rgba(37,99,235,.18);
}

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

a{color:var(--primary); text-decoration:none}
a:hover{text-decoration:underline}

.container{
  min-height:100vh;
  padding:40px 20px;
  display:flex;
  justify-content:center;
}

.shell{
  width:100%;
  max-width:980px;
}

.bg{display:none !important;} /* keep markup compatible, but match Seatly minimal */

.header{
  margin:0 0 18px;
}
.kicker{
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--muted2);
  margin-bottom:10px;
}
.h1{
  font-size:34px;
  font-weight:600;
  margin:0 0 10px;
  line-height:1.15;
}
.lead{
  margin:0;
  color:var(--muted);
  font-size:15px;
  max-width:70ch;
}

.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:18px;
}

.toolbar{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  margin-bottom:14px;
}

.search{
  flex:1 1 320px;
  min-width:240px;
}
.search input{
  width:100%;
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:10px 12px;
  background:#fff;
  color:var(--text);
  font-size:14px;
  outline:none;
}
.search input:focus{
  border-color:rgba(37,99,235,.45);
  box-shadow: var(--focus);
}

.pills{
  display:flex;
  gap:8px;
  flex:0 0 auto;
}
.pill{
  appearance:none;
  border:1px solid var(--border);
  background:#fff;
  color:var(--text);
  border-radius:999px;
  padding:8px 10px;
  font-size:13px;
  cursor:pointer;
  line-height:1;
  transition: background-color .14s ease, border-color .14s ease, color .14s ease;
}
.pill[aria-pressed="true"]{
  border-color:rgba(37,99,235,.45);
  background:rgba(37,99,235,.06);
  color:var(--primary2);
}
.pill:focus{ outline:none; box-shadow: var(--focus); border-color:rgba(37,99,235,.45); }
.pill:hover{ background:rgba(15,23,42,.02); }

.section h2{
  margin:0 0 14px;
  font-size:18px;
  font-weight:600;
}

.list{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.item{
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:12px;
  display:flex;
  gap:12px;
  align-items:flex-start;
  justify-content:space-between;
  background:#fff;
  transition: transform .16s ease, opacity .16s ease, background-color .16s ease;
}
.item:hover{ background:rgba(15,23,42,.01); }

.item__main{ min-width:0; }
.item__title{
  margin:0 0 6px;
  font-weight:600;
  font-size:14px;
}
.item__meta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  color:var(--muted);
  font-size:12px;
}
.item__actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
  flex:0 0 auto;
}

.btn{
  appearance:none;
  border:1px solid var(--border);
  background:#fff;
  color:var(--text);
  border-radius:var(--radius);
  padding:8px 10px;
  font-size:13px;
  line-height:1;
  cursor:pointer;
  text-decoration:none;
  transition: background-color .14s ease, border-color .14s ease, color .14s ease;
}
.btn:hover{ background:rgba(15,23,42,.02); text-decoration:none; }
.btn:focus{ outline:none; box-shadow: var(--focus); border-color:rgba(37,99,235,.45); }

.btn--primary{
  background:var(--primary);
  border-color:var(--primary);
  color:#fff;
}
.btn--primary:hover{
  background:var(--primary2);
  border-color:var(--primary2);
}

.note{
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid var(--border);
  color:var(--muted);
  font-size:13px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  justify-content:space-between;
}

.hidden{ display:none !important; }

/* tasteful page-load micro animation */
html.js .card{
  opacity:0;
  transform: translateY(6px);
}
html.js.js-enter .card{
  opacity:1;
  transform:none;
  transition: opacity .18s ease, transform .18s ease;
}

html.js .item{
  opacity:0;
  transform: translateY(4px);
}
html.js.js-enter .item{
  opacity:1;
  transform:none;
}

@media (prefers-reduced-motion: reduce){
  *{ transition:none !important; animation:none !important; }
  html.js .card, html.js .item{ opacity:1; transform:none; }
}

@media (max-width:720px){
  .container{ padding:26px 14px; }
  .card{ padding:14px; }
  .item{ flex-direction:column; align-items:stretch; }
  .item__actions{ justify-content:flex-start; }
}
