/* Plan with friends: the plan page, the new-plan page and the crew page (site/plan.js). */
/* Page frame: these pages don't load pages.css, so the normal page flow and the brand row are set here (same as pages.css). */
body.page { display: block; height: auto; }
.page-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 24px; max-width: 980px; margin: 0 auto; }
.page-top .btn { text-decoration: none; }
@media (max-width: 640px) { .page-top { padding-left: 16px; padding-right: 16px; } }
.plan-main { max-width: 640px; margin: 0 auto; padding: 8px 16px 72px; }
.plan-loading { color: var(--muted); padding: 40px 0; text-align: center; }
.plan-main h1 { font-size: 26px; letter-spacing: -.02em; margin: 6px 0 4px; line-height: 1.15; }
.plan-main h2 { font-size: 16px; margin: 0 0 10px; letter-spacing: -.01em; }
.pcard2 { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin: 14px 0; }
.kicker2 { font-family: var(--hand-font); font-size-adjust: var(--hand-adjust); font-weight: 600; font-size: 20px; color: var(--muted); }
.sub { color: var(--muted); font-size: 14px; line-height: 1.5; }
.status { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; font-size: 14px; padding: 6px 12px; border-radius: 99px; background: var(--surface-2); }
.status.on { background: color-mix(in srgb, #D7EC5A 75%, var(--surface)); color: #171717; }
.status.cancelled { background: color-mix(in srgb, #EE6B79 30%, var(--surface)); }
.ev-line { display: flex; gap: 12px; align-items: flex-start; }
.ev-line .tag { flex: none; }
.ev-title { font-weight: 700; font-size: 17px; line-height: 1.3; }
.ev-title a { color: var(--ink); }
.row-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.answer-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0; }
.answer-btns .btn { justify-content: center; padding: 11px 8px; font-weight: 700; }
.answer-btns .btn[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.field { display: grid; gap: 4px; font-size: 13px; font-weight: 600; color: var(--muted); margin: 0 0 10px; }
.field input, .field select, .field textarea { font: inherit; font-size: 15px; font-weight: 400; color: var(--ink); padding: 9px 11px; border: 1px solid var(--line-strong); border-radius: var(--r-md); background: var(--bg); outline: none; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink); }
.field small { font-weight: 400; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stepper { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.stepper button { width: 32px; height: 32px; border-radius: 99px; border: 1px solid var(--line-strong); background: transparent; font-size: 18px; cursor: pointer; color: var(--ink); }
.people { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.people li { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.people .dot { width: 9px; height: 9px; border-radius: 50%; flex: none; background: var(--line-strong); }
.people .in .dot { background: #4C9A5B; }
.people .maybe .dot { background: #F6A462; }
.people .waitlist .dot { background: transparent; border: 2px solid #4C9A5B; }
.people .out { color: var(--muted); }
.people .out .nm { text-decoration: line-through; }
.people .rm { border: 0; background: none; color: var(--muted); font-size: 15px; line-height: 1; padding: 6px 8px; border-radius: 99px; cursor: pointer; }
.people .rm:hover { background: var(--surface-2); color: var(--ink); }
.people .who-tag { font-size: 12px; color: var(--muted); }
.people .right { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.days { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.day { border: 1px solid var(--line-strong); border-radius: var(--r-md); padding: 8px; text-align: center; cursor: pointer; background: transparent; color: var(--ink); font: inherit; }
.day b { display: block; font-size: 14px; }
.day span { font-size: 12px; color: var(--muted); }
.day[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.day[aria-pressed="true"] span { color: var(--bg); opacity: .8; }
.day.best { box-shadow: 0 0 0 2px #D7EC5A; }
.bar { height: 6px; border-radius: 3px; background: var(--surface-2); margin-top: 6px; overflow: hidden; }
.bar i { display: block; height: 100%; background: #4C9A5B; }
.sugg { display: grid; gap: 8px; }
.sugg .s { display: flex; gap: 10px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: var(--r-md); }
.sugg .s .grow { flex: 1; min-width: 0; }
.sugg .s .t { font-weight: 600; }
.sugg .s .m { font-size: 13px; color: var(--muted); }
.vote { border: 1px solid var(--line-strong); border-radius: 99px; background: transparent; padding: 6px 10px; cursor: pointer; font: inherit; font-size: 14px; color: var(--ink); white-space: nowrap; }
.vote[aria-pressed="true"] { background: color-mix(in srgb, #D7EC5A 70%, var(--surface)); border-color: transparent; color: #171717; }
.chips2 { display: flex; flex-wrap: wrap; gap: 6px; }
.money { font-size: 15px; line-height: 1.5; }
.msgs { display: grid; gap: 8px; }
.msg { display: flex; gap: 8px; align-items: center; justify-content: space-between; padding: 10px; border: 1px solid var(--line); border-radius: var(--r-md); font-size: 14px; }
.msg span { color: var(--muted); }
.org { border-style: dashed; }
.note { white-space: pre-wrap; }
.err { color: var(--i-nightlife); font-weight: 600; font-size: 14px; }
.ok-line { color: #2F7A3E; font-weight: 600; font-size: 14px; }
.share-big { width: 100%; justify-content: center; padding: 13px; font-size: 16px; font-weight: 700; }
details.more summary { cursor: pointer; font-weight: 600; font-size: 14px; margin: 4px 0 10px; }
.tabs2 { display: flex; gap: 6px; background: var(--surface-2); padding: 3px; border-radius: var(--r-lg); margin: 10px 0 14px; }
.tabs2 button { flex: 1; border: 0; background: transparent; padding: 9px; border-radius: var(--r-sm); font: inherit; font-weight: 600; cursor: pointer; color: var(--muted); }
.tabs2 button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(23,23,23,.12); }
.plist2 { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.plist2 a { color: var(--ink); font-weight: 600; }
@media (max-width: 520px) { .grid2 { grid-template-columns: 1fr; gap: 0; } }
