:root {
  --ink: #2E2926;
  --ink-66: rgba(46,41,38,0.66);
  --ink-55: rgba(46,41,38,0.55);
  --ink-45: rgba(46,41,38,0.45);
  --ink-12: rgba(46,41,38,0.12);
  --ink-10: rgba(46,41,38,0.10);
  --ink-08: rgba(46,41,38,0.08);
  --walnut: #8A5A33;
  --brass: #E2B04A;
  --sage: #5FAE6A;
  --sky: #7FBFE0;
  --page: #FFFFFF;
  --walnut-tint: #F6EDE3;
  --sage-tint: #E8F4EA;
  --brass-tint: #FBF1DA;
  --sky-tint: #EAF4FA;
  --font: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: Manrope, Inter, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--font); font-size: 14px; line-height: 1.45; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 880px; margin: 0 auto; padding: 28px 16px 48px; display: flex; flex-direction: column; gap: 22px; position: relative; isolation: isolate; }
.blobs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
@media (min-width: 700px) { .wrap { padding: 36px 48px 56px; } }

.blob { position: absolute; border-radius: 50%; opacity: 0.9; }
.wrap > * { position: relative; z-index: 1; }

/* header */
.hdr { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; }
.wordmark { display: flex; align-items: baseline; font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.wordmark .i { position: relative; display: inline-block; }
.wordmark .i svg { position: absolute; left: 50%; top: -1px; transform: translateX(-50%); }
.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav a { display: inline-block; padding: 9px 12px; border-radius: 999px; font-size: 13px; font-weight: 500; }
.nav a.active { background: var(--walnut-tint); font-weight: 600; }
.nav a.reserved { color: var(--ink-45); border: 1px dashed rgba(46,41,38,0.25); }
.avatar { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; color: var(--ink); margin-left: 4px; }

/* countdown pill */
.cd { display: flex; align-items: center; gap: 14px; padding: 8px 16px 8px 14px; border-radius: 999px; background: var(--ink); color: #fff; }
.cd .lbl { display: flex; flex-direction: column; gap: 1px; padding-right: 12px; border-right: 1px solid rgba(255,255,255,0.18); }
.cd .lbl small { font-size: 9.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.cd .lbl b { font-size: 12px; font-weight: 600; white-space: nowrap; }
.cd .nums { display: flex; align-items: baseline; gap: 8px; font-variant-numeric: tabular-nums; }
.cd .u { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; }
.cd .u b { font-family: var(--display); font-size: 20px; font-weight: 700; }
.cd .u small { font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-top: 3px; }
.cd .sep { font-family: var(--display); font-size: 18px; font-weight: 700; color: rgba(255,255,255,0.35); align-self: flex-start; }
.cd .u.brass b { color: var(--brass); }

/* section headings */
.sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sec-h h2 { margin: 0; font-family: var(--display); font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.sec-h .meta { font-size: 11.5px; color: var(--ink-55); }
.legend { display: flex; gap: 14px; font-size: 11px; color: var(--ink-55); }
.legend span { display: inline-flex; align-items: center; gap: 5px; }
.legend i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }

/* outlook strip */
.strip { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 700px) { .strip { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 72px; border-radius: 14px; border: 1px solid var(--ink-12); background: #fff; color: var(--ink); }
.tile small { font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.8; }
.tile b { font-family: var(--display); font-size: 26px; font-weight: 700; line-height: 1; letter-spacing: -0.02em; display: inline-flex; align-items: center; gap: 4px; }
.tile.locked { background: var(--sage); border-color: var(--sage); color: #fff; }
.tile.issue { background: var(--brass); border-color: var(--brass); color: #fff; }
.tile.open b { opacity: 0.35; }
.tile.searching { border-style: dashed; }
.tile.searching b { opacity: 0.55; font-size: 18px; }
.hint { font-size: 12.5px; color: var(--ink-55); text-align: center; }

/* cards */
.card { background: #fff; border: 1px solid var(--ink-10); border-radius: 18px; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 1px 0 rgba(46,41,38,0.04); }
.card.tint { background: var(--walnut-tint); border-color: var(--ink-08); box-shadow: none; }
.card-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.card-h .k { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-55); }
.card-h .m { font-size: 11px; color: var(--ink-45); }
.card-h .tag { margin-left: auto; font-size: 11px; font-style: italic; color: var(--ink-55); }

/* chat */
.msgs { display: flex; flex-direction: column; gap: 8px; }
.msg { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; }
.msg .av { width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; }
.msg .av.helper { border-radius: 7px; background: var(--walnut-tint); display: inline-flex; align-items: center; justify-content: center; }
.bubble { max-width: 480px; padding: 8px 12px; font-size: 13px; line-height: 1.45; border-radius: 12px 12px 12px 4px; background: #fff; }
.bubble.me { align-self: flex-end; background: var(--ink); color: #fff; border-radius: 12px 12px 4px 12px; }
.bubble.helper { align-self: flex-start; }
.composer { display: flex; align-items: center; gap: 8px; border: 1px solid var(--ink-12); border-radius: 999px; padding: 5px 5px 5px 14px; background: #fff; }
.composer input { flex-grow: 1; border: 0; outline: 0; font: inherit; font-size: 13px; color: var(--ink); background: transparent; min-width: 0; }
.composer button { width: 26px; height: 26px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }

/* roster chips */
.roster { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px 5px 7px; border-radius: 999px; font-size: 12.5px; font-weight: 500; background: var(--sage-tint); }
.chip i { width: 9px; height: 9px; border-radius: 50%; background: var(--sage); display: inline-block; }
.chip.gold { background: var(--brass-tint); }
.chip.gold i { background: var(--brass); }
.chip small { font-weight: 400; color: var(--ink-66); }
.chip.on-dark { background: rgba(255,255,255,0.22); color: #fff; }
.chip.on-dark i { background: #fff; }
.chip.on-gold { background: rgba(46,41,38,0.10); color: var(--ink); }
.chip.on-gold i { background: var(--ink); }
.chip.champion { background: #fff; border: 1.5px solid var(--ink); font-weight: 600; }
.chip.champion i { background: #fff; border: 1.5px solid var(--ink); }

/* status card */
.status { border-radius: 18px; padding: 20px 22px; display: flex; flex-direction: column; gap: 10px; }
.status.locked { background: var(--sage); color: #fff; }
.status.issue { background: var(--brass); color: var(--ink); }
.status.searching { background: #fff; border: 1.5px dashed rgba(46,41,38,0.25); }
.status.open { background: #fff; border: 1.5px dashed rgba(46,41,38,0.25); }
.status .k { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.85; }
.status h1 { margin: 0; font-family: var(--display); font-size: 34px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
.status .t { font-size: 15px; font-weight: 500; opacity: 0.95; }
.status .where { display: flex; align-items: flex-start; gap: 8px; margin-top: 4px; font-size: 13px; line-height: 1.45; opacity: 0.95; }
.btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.btn { display: inline-block; padding: 8px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 600; }
.btn.white { background: #fff; color: var(--ink); }
.btn.ink { background: var(--ink); color: #fff; }
.btn.ghost { border: 1px solid rgba(255,255,255,0.5); color: #fff; font-weight: 500; }
.btn.ghost-ink { border: 1px solid rgba(46,41,38,0.4); color: var(--ink); font-weight: 500; }
.btn.outline { border: 1px solid var(--ink-12); background: #fff; color: var(--ink); font-weight: 500; }
.two { display: grid; grid-template-columns: 1fr 260px; gap: 16px; align-items: stretch; }
@media (max-width: 700px) { .two { grid-template-columns: 1fr; } }
.side { background: var(--ink); color: #fff; border-radius: 18px; padding: 18px 20px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.side.white { background: #fff; color: var(--ink); border: 1px solid var(--ink-12); }
.side small.k { font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.side.white small.k { color: var(--ink-55); }
.inplay { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 700px) { .inplay { grid-template-columns: 1fr; } }
.opt { border: 1px solid var(--ink-12); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.opt .d { display: flex; justify-content: space-between; align-items: baseline; }
.opt .d b { font-family: var(--display); font-size: 18px; font-weight: 700; }
.opt .d span { font-size: 12px; color: var(--ink-55); }
.dots { display: flex; gap: 4px; align-items: center; }
.dots i { width: 18px; height: 18px; border-radius: 50%; background: var(--sage); display: inline-block; }
.dots i.pending { background: #fff; border: 1.5px solid var(--brass); }
.dots span { font-size: 11.5px; color: var(--ink-55); margin-left: 6px; }

/* crumbs */
.crumbs { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-55); }
.crumbs b { color: var(--ink); font-weight: 500; }

/* shares */
.row { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; -webkit-mask-image: linear-gradient(to right, black 92%, transparent); mask-image: linear-gradient(to right, black 92%, transparent); }
.w-card { flex: 0 0 300px; background: #fff; border: 1px solid var(--ink-10); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.w-card q { font-family: var(--display); font-size: 15px; font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; quotes: "“" "”"; }
.who { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--ink-66); }
.who i { width: 18px; height: 18px; border-radius: 50%; display: inline-block; }
.m-card { flex: 0 0 240px; background: #fff; border: 1px solid var(--ink-10); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; color: var(--ink); }
.m-card .top { display: flex; align-items: center; gap: 8px; }
.pill { padding: 3px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.pill.podcast, .pill.book { background: var(--sage-tint); }
.pill.article, .pill.video { background: var(--sky-tint); }
.pill.file, .pill.other { background: var(--brass-tint); }
.m-card .src { font-size: 11px; color: var(--ink-55); }
.m-card .ttl { font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.pre { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 700px) { .pre { grid-template-columns: 1fr; } }
.pre .m-card { flex: none; }
.pre .why { font-size: 12.5px; line-height: 1.45; color: rgba(46,41,38,0.75); }

.c-brass { background: var(--brass); } .c-sky { background: var(--sky); } .c-walnut { background: var(--walnut); } .c-sage { background: var(--sage); }
.footer-note { font-size: 12px; color: var(--ink-55); line-height: 1.5; }

/* My Atty (member setup page) and answer buttons */
.lede { margin: 0; font-size: 14px; line-height: 1.5; }
.fine { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--ink-66); }
.fine a, .lede a { text-decoration: underline; }
.fine.warn { color: var(--ink); background: var(--brass-tint); border-radius: 10px; padding: 8px 12px; }
.me-head { display: flex; flex-direction: column; gap: 10px; }
.me-head h1 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 1.12; letter-spacing: -0.02em; }
.me-top { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; align-items: center; }
.me-top .k { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-55); }
.pill-note { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; background: var(--walnut-tint); font-size: 12px; font-weight: 600; }
.pill-note.movable { background: var(--sage-tint); }
.pill-note.locked { background: var(--ink-08); }
.me-now { display: flex; align-items: center; gap: 9px; font-size: 13.5px; padding: 10px 14px; border-radius: 14px; background: var(--sage-tint); }
.me-now.manual { background: var(--brass-tint); }
.me-now i { width: 10px; height: 10px; border-radius: 50%; background: var(--sage); flex: none; }
.me-now.manual i { background: var(--brass); }
.flash { padding: 11px 15px; border-radius: 14px; font-size: 13.5px; font-weight: 500; border: 1.5px solid var(--ink); background: #fff; }
.flash.err { background: var(--brass-tint); }
.me-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--ink); font-size: 14px; font-weight: 600; background: #fff; }
.tab.on { background: var(--ink); color: #fff; }
.me-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
@media (max-width: 700px) { .me-two { grid-template-columns: 1fr; } }
.btn-b { display: inline-flex; align-items: center; justify-content: center; align-self: flex-start; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--ink); background: #fff; color: var(--ink); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.btn-b.yes { background: var(--brass); }
.btn-b.sky { background: var(--sky); }
.btn-b.small { min-height: 36px; padding: 0 14px; font-size: 12.5px; }
.tab:focus-visible, .btn-b:focus-visible, .steps summary:focus-visible, .feed-form input:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.steps { background: #fff; border-radius: 12px; padding: 0 14px; }
.steps summary { cursor: pointer; font-weight: 600; font-size: 14px; padding: 12px 0; min-height: 44px; }
.steps ol { margin: 0 0 10px; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; }
.steps .fine { padding-bottom: 12px; }
.feed-form { display: flex; flex-direction: column; gap: 8px; }
.feed-form label { font-size: 12.5px; font-weight: 600; }
.feed-form input { min-height: 44px; width: 100%; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--ink); font: inherit; font-size: 14px; }
.feeds { display: flex; flex-direction: column; gap: 8px; padding-top: 10px; border-top: 1px solid var(--ink-08); }
.feed { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.feed-l { font-size: 13px; color: var(--ink-66); flex: 1 1 140px; min-width: 0; overflow-wrap: anywhere; }
.grid-wrap { overflow-x: auto; }
.wk-grid { display: flex; flex-direction: column; gap: 5px; min-width: 300px; }
.wk-row { display: grid; grid-template-columns: 52px repeat(5, minmax(0, 1fr)); gap: 5px; align-items: center; }
.wk-row.head span { font-size: 11px; font-weight: 600; color: var(--ink-55); text-align: center; }
.wk-l { font-size: 11.5px; color: var(--ink-55); }
.day { display: flex; flex-direction: column; gap: 2px; }
.day i, .sw { display: block; height: 11px; border-radius: 3px; background: #fff; border: 1px solid var(--ink-12); }
.day i.busy, .sw.busy { background: var(--ink); border-color: var(--ink); }
.day i.maybe, .sw.maybe { background: repeating-linear-gradient(135deg, var(--ink) 0 2px, #fff 2px 5px); border-color: var(--ink); }
.day i.past { background: var(--ink-08); border-color: transparent; }
.legend .sw { display: inline-block; width: 16px; vertical-align: -1px; margin-right: 5px; }
.legend { flex-wrap: wrap; }
.video-slot { background: var(--ink); color: #fff; border-radius: 18px; padding: 20px 22px; min-height: 230px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
.video-slot .k { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brass); }
.video-slot h2 { margin: 0 0 4px; font-family: var(--display); font-size: 22px; font-weight: 700; }
.video-slot p { margin: 0; font-size: 13.5px; line-height: 1.5; }
.standing { display: flex; flex-direction: column; gap: 8px; }
.st-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; }
.st-row > span:first-child { flex: 1 1 150px; font-weight: 500; }
.asks { display: flex; flex-direction: column; gap: 8px; }
.ask { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; background: #fff; border-radius: 14px; padding: 10px 14px; font-size: 14px; }
.ask form { display: flex; flex-wrap: wrap; gap: 8px; }

/* Sign-in, the member's sign-in settings, and the admin roster */
.signout button { border: 0; background: none; font: inherit; font-size: 12.5px; color: var(--ink-66); cursor: pointer; padding: 8px 4px; text-decoration: underline; }
.auth { max-width: 440px; margin: 24px auto 0; display: flex; flex-direction: column; gap: 14px; width: 100%; }
.auth h1 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 28px; letter-spacing: -0.02em; }
.card.pw summary { cursor: pointer; font-weight: 600; font-size: 14px; min-height: 28px; }
.card.pw[open] summary { margin-bottom: 6px; }
.stack { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.me-two.flat { align-items: start; }
.steps.plain { background: var(--walnut-tint); }
.steps.plain .feed-form { padding-bottom: 10px; }
.roster-list { display: flex; flex-direction: column; }
.r-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; gap: 8px 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--ink-08); }
.r-row:first-child { border-top: 0; }
.r-row.off .r-who { opacity: 0.55; }
.r-who { display: flex; flex-direction: column; min-width: 0; font-size: 14px; }
.r-who span { font-size: 12.5px; color: var(--ink-66); overflow-wrap: anywhere; }
.r-who small { font-weight: 400; color: var(--ink-66); }
.r-state { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.r-acts { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.r-edit { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; background: var(--walnut-tint); border-radius: 14px; padding: 14px; }
.r-edit label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 4px; }
.r-edit input { width: 100%; min-height: 40px; padding: 0 12px; border-radius: 10px; border: 1.5px solid var(--ink); font: inherit; font-size: 14px; }
.r-edit-acts, .r-edit .fine { grid-column: 1 / -1; display: flex; gap: 8px; }
@media (max-width: 700px) { .r-row { grid-template-columns: 1fr; } .r-acts { justify-content: flex-start; } .r-edit { grid-template-columns: 1fr; } }
.o-row { display: flex; flex-direction: column; gap: 8px; background: #fff; border-radius: 14px; padding: 12px 14px; }
.o-h { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; font-size: 13.5px; }
.o-row pre { margin: 0; font: inherit; font-size: 13px; white-space: pre-wrap; overflow-wrap: anywhere; background: var(--walnut-tint); border-radius: 10px; padding: 10px 12px; }
.r-edit input:focus-visible, .signout button:focus-visible, .card.pw summary:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
