/* menu.rothbergs.com — Olivia & Matt, Pier Sixty 09.26.26 */
:root{
  --paper:#FBF8F3; --card:#FFFFFF; --ink:#2F3E46; --muted:#6B6257;
  --gold:#9A7B4F; --gold-soft:#F3EADC; --rule:#E6DFD3; --green:#4A7C59;
  --shadow:0 1px 2px rgba(47,62,70,.05), 0 8px 24px rgba(47,62,70,.06);
  --serif:"Iowan Old Style",Georgia,"Times New Roman",serif;
  --sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --bar:calc(76px + env(safe-area-inset-bottom));
}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);
  font-size:17px;line-height:1.5;padding-bottom:var(--bar);
  overscroll-behavior-y:none;
}
button,input{font:inherit;color:inherit}
button{cursor:pointer;border:none;background:none}
.wrap{max-width:760px;margin:0 auto;padding:0 16px}

/* ---------------------------------------------------------------- masthead */
header.mast{background:var(--ink);color:#F6F1E8;padding:22px 0 18px;text-align:center}
.mast h1{font-family:var(--serif);font-weight:400;font-size:30px;letter-spacing:.01em;margin:0}
.mast .sub{font-size:12.5px;letter-spacing:.16em;text-transform:uppercase;opacity:.7;margin-top:7px}
.whochip{
  display:inline-flex;align-items:center;gap:7px;margin-top:14px;padding:8px 15px;
  border:1px solid rgba(246,241,232,.3);border-radius:999px;font-size:14px;color:#F6F1E8;
}
.whochip b{font-weight:600}

/* ------------------------------------------------------------------- navbar */
nav.chips{
  position:sticky;top:0;z-index:40;background:var(--paper);
  border-bottom:1px solid var(--rule);
}
.chips .row{display:flex;gap:8px;overflow-x:auto;padding:11px 16px;scrollbar-width:none;
  max-width:760px;margin:0 auto}
.chips .row::-webkit-scrollbar{display:none}
.chip{
  flex:0 0 auto;padding:9px 16px;border-radius:999px;border:1px solid var(--rule);
  background:var(--card);font-size:14.5px;font-weight:500;color:var(--muted);white-space:nowrap;
}
.chip.on{background:var(--ink);color:#F6F1E8;border-color:var(--ink)}

/* ------------------------------------------------------------------ section */
.group-head{
  font-family:var(--serif);font-size:13px;letter-spacing:.22em;text-transform:uppercase;
  color:var(--gold);text-align:center;margin:38px 0 4px;font-weight:400;
}
.group-head::after{content:"";display:block;width:34px;height:1px;background:var(--gold);
  margin:12px auto 0;opacity:.5}

section.card{
  background:var(--card);border:1px solid var(--rule);border-radius:16px;
  margin:16px 0;overflow:hidden;box-shadow:var(--shadow);
}
.hero{width:100%;height:158px;object-fit:cover;display:block;background:var(--gold-soft)}
.sec-head{padding:17px 18px 14px}
.sec-head h2{font-family:var(--serif);font-weight:400;font-size:24px;margin:0 0 6px;line-height:1.2}
.blurb{font-size:14.5px;color:var(--muted);margin:0 0 12px;line-height:1.45}
.pill{
  display:inline-flex;align-items:center;gap:6px;font-size:13.5px;font-weight:600;
  padding:6px 13px;border-radius:999px;background:var(--gold-soft);color:var(--gold);
}
.pill.done{background:#E6F0E8;color:var(--green)}
.pill.over{background:#FBEEE4;color:#B4622E}

/* -------------------------------------------------------------------- items */
ul.items{list-style:none;margin:0;padding:0;border-top:1px solid var(--rule)}
li.item{display:flex;align-items:flex-start;gap:13px;padding:14px 18px;
  border-bottom:1px solid var(--rule);min-height:56px;transition:background .12s}
li.item:last-child{border-bottom:none}
li.item.on{background:#FCFAF6}
li.item:active{background:#F4EFE6}
.tick{
  flex:0 0 auto;width:26px;height:26px;border-radius:50%;border:1.5px solid #C9C0B2;
  margin-top:1px;display:flex;align-items:center;justify-content:center;
  background:var(--card);transition:all .15s;
}
li.item.on .tick{background:var(--ink);border-color:var(--ink)}
.tick svg{width:14px;height:14px;stroke:#fff;stroke-width:2.6;fill:none;
  opacity:0;transform:scale(.6);transition:all .15s}
li.item.on .tick svg{opacity:1;transform:scale(1)}
.body{flex:1;min-width:0}
.nm{font-weight:600;font-size:16.5px;line-height:1.3}
.ds{font-size:14px;color:var(--muted);margin-top:3px;line-height:1.4}
.note-txt{font-size:13.5px;color:var(--gold);margin-top:6px;font-style:italic}
.meta{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:7px}
.tag{font-size:10.5px;letter-spacing:.07em;text-transform:uppercase;font-weight:700;
  padding:3px 7px;border-radius:5px;background:#EFF3EF;color:var(--green)}
.tag.warn{background:#FBEEE4;color:#B4622E}
.cost{font-size:12.5px;font-weight:700;letter-spacing:.02em;padding:3px 8px;border-radius:5px;
  background:var(--gold-soft);color:var(--gold)}
.cost.free{background:#E6F0E8;color:var(--green)}
.hint{font-size:12.5px;color:var(--muted);font-style:italic}
.notebtn{flex:0 0 auto;width:44px;height:44px;display:flex;align-items:center;
  justify-content:center;border-radius:10px;color:#BDB4A5;margin:-4px -6px 0 0;position:relative}
.notebtn:active{background:#F0EAE0}
.notebtn.has{color:var(--gold)}
.notebtn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8}
.notebtn .badge{position:absolute;top:2px;right:1px;min-width:17px;height:17px;padding:0 4px;
  border-radius:9px;background:var(--gold);color:#fff;font-size:10.5px;font-weight:700;
  line-height:17px;text-align:center}

/* ------------------------------------------------- inline comment preview */
.cstrip{display:flex;align-items:flex-start;gap:8px;width:100%;text-align:left;margin-top:9px;
  padding:9px 11px;border-radius:10px;background:#F7F2E9;border:1px solid #EDE3D2;
  font-size:13.5px;line-height:1.4;color:var(--ink)}
.cstrip:active{background:#F0E7D8}
.cstrip.resolved{opacity:.6}
.cstrip .ct{flex:1;min-width:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
  overflow:hidden}
.cstrip .cn{flex:0 0 auto;font-size:11.5px;font-weight:700;color:var(--gold);
  background:#fff;border-radius:8px;padding:2px 7px}
.av{flex:0 0 auto;width:22px;height:22px;border-radius:50%;background:var(--gold);color:#fff;
  font-size:11.5px;font-weight:700;display:flex;align-items:center;justify-content:center}

/* -------------------------------------------------------- comment thread view */
.cmt-sub{font-size:12.5px;opacity:.72;margin-top:2px}
#cmtThread .bubble{padding:13px 0;border-bottom:1px solid var(--rule)}
#cmtThread .bubble:last-child{border-bottom:none}
#cmtThread .bubble.done{opacity:.55}
.bhead{display:flex;align-items:center;gap:8px;font-size:14.5px}
.bhead b{font-weight:650}
.bhead time{font-size:12.5px;color:var(--muted);margin-left:auto}
.rtag{font-size:10.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;
  background:#E6F0E8;color:var(--green);padding:3px 7px;border-radius:5px}
.btext{font-size:16px;line-height:1.5;margin:7px 0 0;padding-left:30px;white-space:pre-wrap}
.bacts{display:flex;gap:16px;padding-left:30px;margin-top:8px}
.bacts button{font-size:13.5px;font-weight:600;color:var(--gold);padding:6px 0;min-height:32px}
.bacts button:last-child{color:#B4622E}
#cmtInput{width:100%;padding:14px 15px;border:1.5px solid var(--rule);border-radius:12px;
  font-size:16px;background:var(--paper);resize:vertical;margin-bottom:12px;
  font-family:var(--sans);line-height:1.45}
#cmtInput:focus{outline:none;border-color:var(--gold)}

.crow{display:block;width:100%;text-align:left;padding:12px 0;border-bottom:1px solid var(--rule)}
.crow:last-child{border-bottom:none}
.crow:active{background:#F7F2E9}
.crow-t{font-weight:650;font-size:15.5px;display:flex;align-items:center;gap:9px}
.crow-t .cn{font-size:11px;font-weight:700;color:#fff;background:var(--gold);
  border-radius:9px;padding:2px 7px}
.crow-t .cn.off{background:#C9C0B2}
.crow-b{font-size:14px;color:var(--muted);margin-top:3px;overflow:hidden;text-overflow:ellipsis;
  white-space:nowrap}

/* --------------------------------------------------------------- name chips */
.people{display:flex;flex-wrap:wrap;gap:9px}
.person{padding:12px 18px;border-radius:11px;border:1.5px solid var(--rule);background:var(--paper);
  font-size:16px;font-weight:600;min-height:48px;color:var(--ink)}
.person:active{background:var(--gold-soft);border-color:var(--gold)}
.person.me{background:var(--ink);color:#F6F1E8;border-color:var(--ink)}
.person.new{color:var(--gold);border-style:dashed}
#dlgPeople{margin-bottom:16px}

/* ------------------------------------------------------------------ sub-sec */
.subsec{margin:0;border-top:3px solid var(--gold-soft);background:#FDFCF9}
.subsec .sec-head{padding:15px 18px 12px}
.subsec .sec-head h2{font-size:18px;font-family:var(--sans);font-weight:600}

/* ------------------------------------------------------------------ bottombar */
.bottom{
  position:fixed;left:0;right:0;bottom:0;z-index:60;background:var(--ink);color:#F6F1E8;
  padding:12px 16px calc(12px + env(safe-area-inset-bottom));
  box-shadow:0 -6px 24px rgba(47,62,70,.16);
}
.bottom .in{max-width:760px;margin:0 auto;display:flex;align-items:center;gap:14px}
.tot{flex:1;min-width:0}
.tot .big{font-family:var(--serif);font-size:25px;line-height:1.1}
.tot .sm{font-size:12.5px;opacity:.72;margin-top:3px}
.review{
  flex:0 0 auto;background:#F6F1E8;color:var(--ink);font-weight:650;font-size:15.5px;
  padding:13px 20px;border-radius:11px;min-height:48px;
}
.review:active{transform:scale(.97)}

/* -------------------------------------------------------------------- sheet */
.sheet{position:fixed;inset:0;z-index:80;background:var(--paper);overflow-y:auto;
  display:none;-webkit-overflow-scrolling:touch}
.sheet.open{display:block}
.sheet-top{position:sticky;top:0;background:var(--ink);color:#F6F1E8;padding:15px 16px;
  display:flex;align-items:center;gap:12px;z-index:5}
.sheet-top h2{font-family:var(--serif);font-weight:400;font-size:21px;margin:0;flex:1}
.x{width:42px;height:42px;border-radius:50%;background:rgba(246,241,232,.14);color:#F6F1E8;
  font-size:22px;line-height:1;display:flex;align-items:center;justify-content:center}
.panel{background:var(--card);border:1px solid var(--rule);border-radius:14px;
  padding:16px 18px;margin:16px 0;box-shadow:var(--shadow)}
.panel h3{font-family:var(--serif);font-weight:400;font-size:19px;margin:0 0 12px}

.stepper{display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:11px 0;border-bottom:1px solid var(--rule)}
.stepper:last-child{border-bottom:none}
.stepper .lbl{flex:1}
.stepper .lbl b{display:block;font-weight:600;font-size:16px}
.stepper .lbl span{font-size:13px;color:var(--muted)}
.ctrl{display:flex;align-items:center;gap:4px;background:var(--paper);
  border:1px solid var(--rule);border-radius:11px;padding:4px}
.ctrl button{width:42px;height:42px;font-size:22px;color:var(--ink);border-radius:8px;
  display:flex;align-items:center;justify-content:center}
.ctrl button:active{background:var(--gold-soft)}
.ctrl input{width:64px;text-align:center;border:none;background:none;font-size:18px;
  font-weight:650;padding:0}
.ctrl input:focus{outline:none}

table.bill{width:100%;border-collapse:collapse;font-size:15px}
table.bill td{padding:9px 0;border-bottom:1px solid var(--rule);vertical-align:top}
table.bill td:last-child{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
table.bill tr.tot td{border-bottom:none;border-top:2px solid var(--ink);font-weight:700;
  font-size:18px;padding-top:12px}
table.bill tr.sub2 td{font-size:13.5px;color:var(--muted);padding:5px 0}
table.bill tr.pg td{border-bottom:none;color:var(--muted);font-size:14px}

.sumsec{margin-bottom:16px}
.sumsec h4{font-size:11.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--gold);
  margin:0 0 7px;font-weight:700}
.sumsec .pick{font-size:15.5px;padding:5px 0;border-bottom:1px solid var(--rule)}
.sumsec .pick:last-child{border-bottom:none}
.sumsec .pick i{font-style:normal;color:var(--gold);font-weight:600;font-size:13.5px}
.missing{color:#B4622E;font-size:14.5px;padding:5px 0}

.btnrow{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-top:6px}
.btn{display:flex;align-items:center;justify-content:center;gap:8px;min-height:54px;
  border-radius:12px;font-weight:650;font-size:16px;background:var(--ink);color:#F6F1E8;
  text-decoration:none;padding:0 14px;text-align:center}
.btn.ghost{background:var(--card);color:var(--ink);border:1.5px solid var(--rule)}
.btn.danger{background:var(--card);color:#B4622E;border:1.5px solid #EEDCCE}
.btn:active{transform:scale(.98)}
.btn svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.9}

.feed{list-style:none;margin:0;padding:0;font-size:14.5px}
.feed li{padding:9px 0;border-bottom:1px solid var(--rule);color:var(--muted)}
.feed li:last-child{border-bottom:none}
.feed b{color:var(--ink);font-weight:600}
.feed time{display:block;font-size:12px;opacity:.65;margin-top:2px}

/* ------------------------------------------------- what's included expander */
details.inc{margin-top:9px}
details.inc summary{
  display:inline-flex;align-items:center;gap:6px;list-style:none;cursor:pointer;
  font-size:13.5px;font-weight:600;color:var(--gold);padding:7px 12px;border-radius:8px;
  background:var(--gold-soft);min-height:34px;
}
details.inc summary::-webkit-details-marker{display:none}
details.inc summary::after{content:"▾";font-size:11px;transition:transform .18s}
details.inc[open] summary::after{transform:rotate(180deg)}
details.inc ul{margin:10px 0 2px;padding:0 0 0 17px;font-size:14px;color:var(--muted);line-height:1.5}
details.inc li{margin-bottom:5px}

/* -------------------------------------------------------------------- dialog */
.dlg{position:fixed;inset:0;z-index:100;background:rgba(47,62,70,.45);display:none;
  align-items:center;justify-content:center;padding:20px}
.dlg.open{display:flex}
.dlg-box{background:var(--card);border-radius:18px;padding:24px 22px 20px;width:100%;
  max-width:430px;box-shadow:0 20px 60px rgba(47,62,70,.3)}
.dlg-box h3{font-family:var(--serif);font-weight:400;font-size:22px;margin:0 0 9px;line-height:1.25}
.dlg-box p{font-size:14.5px;color:var(--muted);margin:0 0 16px;line-height:1.45}
.dlg-box input{width:100%;padding:14px 15px;border:1.5px solid var(--rule);border-radius:11px;
  font-size:16px;background:var(--paper);margin-bottom:18px}
.dlg-box input:focus{outline:none;border-color:var(--gold)}
.dlg-btns{display:grid;grid-template-columns:1fr 1fr;gap:11px}

.note-small{font-size:13.5px;color:var(--muted);line-height:1.5}
.sync{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(var(--bar) + 12px);
  background:var(--ink);color:#F6F1E8;font-size:13.5px;padding:8px 16px;border-radius:999px;
  z-index:70;opacity:0;transition:opacity .25s;pointer-events:none}
.sync.show{opacity:.95}
footer.fine{padding:24px 16px 34px;text-align:center;font-size:12.5px;color:var(--muted);
  line-height:1.6}

@media (min-width:640px){
  .hero{height:210px}
  .mast h1{font-size:38px}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}
