/* Tokens from the Vila Akoya theme (tailwind.config.js in the main site). */
:root {
  --surface: #fcf9ef; --surface-low: #f7f4e9; --surface-container: #f1eee4; --surface-high: #ebe8de;
  --on-surface: #1c1c16; --on-surface-variant: #56423c; --outline-variant: #dcc1b9;
  --primary: #9a4021; --primary-dim: #8a3416; --on-primary: #ffefeb; --secondary: #5c6348; --tertiary: #695a3e;
  --error: #b31b25;
  --font-head: "Marcellus", Georgia, serif; --font-body: "Josefin Sans", system-ui, sans-serif; --font-brand: "Barrio", system-ui, sans-serif;
  --r: 14px; --gap: 1rem;
  --sun: #e9b45a; --hill: #e6dcc0; --house: #fffaf0; --line: #8a6a4f; --water: #a9c3c0;
  --bar-h: 64px; --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--surface); color: var(--on-surface); font: 300 17px/1.5 var(--font-body); }
h1, h2, h3 { font-family: var(--font-head); font-weight: 400; line-height: 1.2; margin: 0 0 .5rem; }
h1 { font-size: 2rem; } h2 { font-size: 1.35rem; } h3 { font-size: 1.1rem; }
a { color: var(--primary); }
main { max-width: 760px; margin: 0 auto; padding: 1rem 1rem 4rem; }
.muted { color: var(--on-surface-variant); } .small { font-size: .88rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.brand { font-family: var(--font-brand); font-size: 1.8rem; color: #9a3412; text-decoration: none; }
.subtabs a { padding: .6rem .8rem; text-decoration: none; color: var(--on-surface-variant); white-space: nowrap; border-bottom: 2px solid transparent; }
.subtabs a[aria-current] { color: var(--primary); border-color: var(--primary); font-weight: 600; }
.subtabs { display: flex; gap: .25rem; overflow-x: auto; margin-bottom: 1rem; scrollbar-width: none; border-bottom: 1px solid var(--outline-variant); }
.subtabs::-webkit-scrollbar { display: none; }
.section { margin-top: 2rem; }
.btn { font: 600 .95rem var(--font-body); background: var(--primary); color: var(--on-primary); border: 0; border-radius: 999px; padding: .6rem 1.2rem; min-height: 44px; cursor: pointer; }
.btn:hover { background: var(--primary-dim); }
.btn.ghost { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn:disabled { background: var(--surface-high); color: var(--on-surface-variant); cursor: default; }
.link { background: none; border: 0; color: var(--primary); font: inherit; font-size: .9rem; cursor: pointer; padding: .3rem; min-height: 44px; }
.danger { color: var(--error); }
input, select, textarea { font: 400 1rem var(--font-body); width: 100%; padding: .6rem .7rem; border: 1px solid var(--outline-variant); border-radius: 10px; background: #fff; color: var(--on-surface); min-height: 44px; }
input.s { width: 6.5rem; }
label { display: block; font-size: .9rem; color: var(--on-surface-variant); }
label > input, label > select, label > textarea { margin-top: .25rem; }
.stack { display: grid; gap: .8rem; }
.row { display: flex; gap: .5rem; align-items: end; } .row.wrap { flex-wrap: wrap; } .row.wrap > * { flex: 1 1 8rem; }
.check { display: flex; align-items: center; gap: .4rem; flex: 0 0 auto !important; } .check input { width: auto; min-height: 0; }
.inline { display: inline; }
.flash { background: var(--surface-container); border-left: 3px solid var(--secondary); padding: .6rem .8rem; border-radius: 6px; }
.error { color: var(--error); }
/* login */
.login { display: grid; gap: 1.5rem; }
.login-img { width: 100%; height: 34vh; object-fit: cover; border-radius: var(--r); }
.login-box { max-width: 380px; }
@media (min-width: 760px) { .login { grid-template-columns: 1.1fr 1fr; align-items: center; } .login-img { height: 70vh; } }
/* slider */
.slider { margin: 0 -1rem; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; position: relative; }
.slide img { width: 100%; height: 300px; object-fit: cover; display: block; }
.slide-text { position: absolute; inset: auto 0 0 0; padding: 2.5rem 1.2rem 1.2rem; color: #fff; background: linear-gradient(transparent, rgba(28,28,22,.75)); }
.slide-text h2 { color: #fff; font-size: 1.5rem; } .slide-text p { margin: 0; }
.dots { display: flex; justify-content: center; gap: .2rem; padding: .2rem; }
.dots button { width: 28px; height: 28px; border: 0; background: none; cursor: pointer; position: relative; }
.dots button::after { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: var(--outline-variant); }
.dots button[aria-current]::after { background: var(--primary); }
@media (min-width: 760px) { .slider { margin: 1rem 0 0; } .slide img { height: 380px; border-radius: var(--r); } .slide-text { border-radius: 0 0 var(--r) var(--r); } }
/* schedule */
.day { padding: 1rem 0; border-bottom: 1px solid var(--surface-high); }
.events { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.events li { display: flex; justify-content: space-between; gap: 1rem; align-items: center; background: var(--surface-low); padding: .7rem .9rem; border-radius: var(--r); }
.events p { margin: .15rem 0 0; }
.time { font-weight: 600; color: var(--secondary); }
.more { font-weight: 600; }
/* veg */
.veg { display: grid; gap: .3rem; }
.veg-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .4rem 0; border-bottom: 1px solid var(--surface-high); font-size: 1rem; color: var(--on-surface); }
.veg-row input { width: 5.5rem; margin: 0; text-align: right; }
.veg .btn { margin-top: 1rem; justify-self: start; }
/* shop */
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.card { background: var(--surface-low); border-radius: var(--r); overflow: hidden; }
.card img { width: 100%; height: 200px; object-fit: cover; display: block; }
.card-body { padding: .9rem; } .card-body p { margin: .3rem 0; }
.card .row select { flex: 1; }
.plain { padding-left: 1.1rem; }
/* admin */
.add { background: var(--surface-low); border-radius: var(--r); padding: .8rem 1rem; margin-bottom: 1rem; }
summary { cursor: pointer; min-height: 32px; }
.add > summary { font-weight: 600; color: var(--primary); }
.admin-list { list-style: none; padding: 0; margin: 0; }
.admin-list > li { display: flex; justify-content: space-between; align-items: start; gap: .5rem; padding: .7rem 0; border-bottom: 1px solid var(--surface-high); }
.admin-list > li > :first-child { flex: 1; min-width: 0; }
/* A thumbnail sits at its own size; the text after it takes the room (round 14: News text floated mid-row). */
.admin-list > li > .thumb:first-child { flex: none; }
.admin-list > li > .thumb + * { flex: 1; min-width: 0; }
.admin-list p { margin: .1rem 0 0; }
.admin-list details form { margin-top: .8rem; }
.tag { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; background: var(--surface-high); color: var(--tertiary); padding: .1rem .4rem; border-radius: 4px; }
.sync { margin-top: 2rem; }
/* page header with a real Vila Akoya photo */
.page-head { position: relative; margin: 0 -1rem 1rem; }
.page-head img { width: 100%; height: 150px; object-fit: cover; display: block; }
.page-head > div { position: absolute; inset: auto 0 0 0; padding: 2rem 1rem .8rem; background: linear-gradient(transparent, rgba(28,28,22,.7)); color: #fff; }
.page-head h1 { color: #fff; margin: 0; font-size: 1.8rem; } .page-head p { margin: .2rem 0 0; font-size: .9rem; }
@media (min-width: 760px) { .page-head { margin: 1rem 0; } .page-head img, .page-head > div { border-radius: var(--r); } }
.empty { text-align: center; padding: 1rem 0; } .empty img { width: 100%; max-height: 180px; object-fit: cover; border-radius: var(--r); }
.empty p { color: var(--on-surface-variant); }
.post-cta { margin: .8rem 0 0; } .post-cta .btn { display: block; text-align: center; text-decoration: none; line-height: 44px; padding: 0; }
a.btn { text-decoration: none; display: inline-block; line-height: 1.6; }
/* photo picker */
.photo-pick { border: 0; padding: 0; margin: 0; display: grid; gap: .5rem; }
.photo-pick legend { font-size: .9rem; color: var(--on-surface-variant); padding: 0; margin-bottom: .25rem; }
.photo-pick .row > * { flex: 1; text-align: center; display: flex; align-items: center; justify-content: center; }
.photo-pick .pick:focus-within { outline: 2px solid var(--primary); outline-offset: 2px; }
.preview { width: 100%; max-height: 240px; object-fit: cover; border-radius: var(--r); }
.preview[hidden] { display: none; }
/* events with a photo */
.ev-img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; flex: 0 0 auto; }
.ev-main { flex: 1; min-width: 0; }
.thumb { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; flex: 0 0 auto !important; }
/* birthdays */
.bday-card { display: flex; gap: .9rem; align-items: center; margin-top: 1rem; padding: .7rem; border-radius: var(--r); background: var(--primary); color: var(--on-primary); }
.bday-card img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; }
.bday-card h2 { color: var(--on-primary); margin: 0; } .bday-card p { margin: 0; opacity: .85; }
.bdays { list-style: none; padding: 0; margin: 0; } .bdays li { display: flex; justify-content: space-between; padding: .45rem 0; border-bottom: 1px solid var(--surface-high); }
.bday-line { margin: .3rem 0; }
/* calendar */
.cal-nav { display: flex; justify-content: space-between; align-items: center; }
.cal-nav h2 { margin: 0; font-size: 1.2rem; }
.cal-nav a { min-width: 44px; min-height: 44px; display: grid; place-items: center; text-decoration: none; font-size: 1.3rem; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; margin: .5rem 0 1rem; }
.cal-wd { text-align: center; font-size: .75rem; color: var(--on-surface-variant); padding: .2rem 0; }
.cal-day { min-height: 46px; border-radius: 8px; background: var(--surface-low); color: var(--on-surface); text-decoration: none; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: .95rem; }
.cal-day.today { box-shadow: inset 0 0 0 1.5px var(--secondary); }
.cal-day.sel { background: var(--primary); color: var(--on-primary); }
.marks { display: flex; gap: 2px; height: 12px; align-items: center; }
.m-ev { font-style: normal; font-size: .62rem; line-height: 1; color: var(--secondary); font-weight: 600; }
.sel .m-ev { color: var(--on-primary); }
.m-bd { width: 6px; height: 6px; border-radius: 50%; background: var(--tertiary); }
.sel .m-bd { background: var(--on-primary); }
.cal-detail { scroll-margin-top: 1rem; }
/* incoming feed */
.feed { list-style: none; padding: 0; margin: 0; }
.feed li { display: flex; gap: .7rem; align-items: start; padding: .7rem 0; border-bottom: 1px solid var(--surface-high); }
.feed p { margin: .1rem 0 0; }
.src { flex: 0 0 5.2rem; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; padding: .2rem .4rem; border-radius: 4px; text-align: center; background: var(--surface-high); color: var(--tertiary); }
.src-notion { background: var(--on-surface); color: var(--surface); }
.src-telegram { background: var(--secondary); color: var(--surface); }
/* shopping runs */
.runs { display: grid; gap: .8rem; margin: .5rem 0 1rem; }
.run { background: var(--surface-container); border-radius: var(--r); padding: .9rem; border-left: 4px solid var(--primary); }
.run header p { margin: 0; } .run h2 { margin: .1rem 0; } .run-time { color: var(--secondary); font-weight: 600; }
.wishes { list-style: none; padding: 0; margin: .6rem 0; }
.wishes li { display: flex; align-items: center; gap: .5rem; padding: .3rem 0; border-bottom: 1px solid var(--surface-high); }
.wishes li > span:first-of-type { flex: 1; }
.wishes li.done > span:first-of-type { text-decoration: line-through; color: var(--on-surface-variant); }
.tick { width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; padding: 0; }
.tick::after { content: ""; position: absolute; inset: 11px; border: 2px solid var(--primary); border-radius: 6px; }
.tick[aria-pressed="true"]::after { background: var(--primary); }
.wish-form { display: flex; gap: .4rem; } .wish-form input { flex: 1; min-width: 0; } .wish-form .qty { flex: 0 0 4.2rem; }
.run-actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .6rem; } .run-actions > * { flex: 1; } .run-actions .btn { width: 100%; text-align: center; }
.going { margin-top: 1rem; }

/* Round 2: kids & school, today, marketplace, roles. */
.chips { display: flex; gap: .4rem; overflow-x: auto; margin: .5rem 0 1rem; }
.chips a { white-space: nowrap; text-decoration: none; font-size: .88rem; padding: .35rem .8rem; border-radius: 999px; background: var(--surface-container); color: var(--on-surface-variant); }
.chips a[aria-current] { background: var(--primary); color: var(--on-primary); }
.tag.cover, .tag.needs-cover { background: #fbe3dc; color: var(--error); }
.tag.ok, .tag.paid { background: #e3e8d6; color: var(--secondary); }
.tag.cat-market, .tag.kind-sell { background: #f4e7c9; color: var(--tertiary); }
.tag.cat-external, .tag.kind-swap { background: #e0e6ec; color: #3d5263; }
.tag.kind-give { background: #e3e8d6; color: var(--secondary); }
.needs-cover { border-left: 3px solid var(--error); }
.absence-row { display: flex; flex-wrap: wrap; gap: .3rem; margin: .4rem 0; }
.day-chip { font: 600 .82rem var(--font-body); border-radius: 999px; padding: .3rem .65rem; min-height: 36px; border: 1.5px solid var(--secondary); background: #e3e8d6; color: var(--secondary); cursor: pointer; }
.day-chip.off { border-color: var(--error); background: #fbe3dc; color: var(--error); text-decoration: line-through; }
.att-count { font-family: var(--font-head); font-size: 1.2rem; }
.att { list-style: none; padding: 0; margin: 0; } .att li { padding: .5rem 0; border-bottom: 1px solid var(--surface-high); display: flex; justify-content: space-between; }
.att .away { color: var(--error); text-decoration: line-through; }
.pay-table { width: 100%; border-collapse: collapse; font-size: .92rem; } .pay-table th, .pay-table td { text-align: left; padding: .45rem .3rem; border-bottom: 1px solid var(--surface-high); }
.pay { font: 600 .78rem var(--font-body); text-transform: uppercase; border-radius: 6px; padding: .25rem .5rem; border: 0; background: #fbe3dc; color: var(--error); min-height: 32px; cursor: pointer; }
.pay.paid { background: #e3e8d6; color: var(--secondary); }
.listing { background: var(--surface-low); border-radius: var(--r); overflow: hidden; margin-bottom: .8rem; }
.listing img { width: 100%; max-height: 220px; object-fit: cover; display: block; }
.agreement { background: var(--surface-low); border-radius: var(--r); padding: .9rem; margin-bottom: .8rem; }
.placeholder { border: 1.5px dashed var(--outline-variant); }
.today { background: var(--surface-container); border-radius: var(--r); padding: .7rem .9rem; margin-bottom: 1rem; }
.today h2 { font-size: 1.1rem; margin: 0 0 .3rem; }
.today-list { list-style: none; padding: 0; margin: 0; font-size: .92rem; } .today-list li { padding: .2rem 0; }
.today-cover { padding: .5rem 0; font-size: .92rem; border-top: 1px solid var(--outline-variant); margin-top: .5rem; }
.today-cover p { margin: 0 0 .25rem; }
.cover-line { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .3rem 0; }
.cover-line .btn { flex: none; padding: .45rem 1rem; }
.roles { display: inline-flex; flex-wrap: wrap; gap: .25rem; }
.tag.role-management { background: var(--primary); color: var(--on-primary); }
.tag.role-teacher { background: #e0e6ec; color: #3d5263; } .tag.role-parent { background: #f4e7c9; color: var(--tertiary); }
.role-pick { border: 1px solid var(--outline-variant); border-radius: 10px; display: flex; flex-wrap: wrap; gap: .3rem .9rem; padding: .5rem .7rem; }

/* Round 3: knowledge center, member links, profile, polish. */
.today-more { margin: .5rem 0 0; padding-top: .45rem; border-top: 1px solid var(--outline-variant); }
.kb-search { display: flex; gap: .4rem; margin: 0 0 1rem; } .kb-search input { flex: 1; min-width: 0; margin: 0; }
.kb-new { margin: 0 0 1rem; }
.kb-faq { display: grid; gap: .15rem; padding: .9rem 1rem; border-radius: var(--r); background: var(--primary); color: var(--on-primary); text-decoration: none; }
.kb-faq strong { font-family: var(--font-head); font-weight: 400; font-size: 1.2rem; }
.kb-cats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
@media (min-width: 640px) { .kb-cats { grid-template-columns: repeat(3, 1fr); } }
.kb-cats a { position: relative; display: block; border-radius: var(--r); overflow: hidden; color: #fff; text-decoration: none; aspect-ratio: 4 / 3; background: var(--surface-high); }
.kb-cats img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kb-cats a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgba(28,28,22,.78)); }
.kb-cats span { position: absolute; z-index: 1; inset: auto .6rem .55rem; font: 600 .92rem/1.2 var(--font-body); }
.kb-cats em { position: absolute; z-index: 1; top: .45rem; right: .45rem; font: 600 .72rem var(--font-body); font-style: normal; background: rgba(252,249,239,.92); color: var(--on-surface); border-radius: 999px; padding: .1rem .45rem; }
.kb-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.kb-item { display: grid; gap: .2rem; padding: .8rem .9rem; border-radius: var(--r); background: var(--surface-low); text-decoration: none; color: var(--on-surface); }
.kb-item strong { font-family: var(--font-head); font-weight: 400; font-size: 1.08rem; color: var(--primary); }
.kb-item .tag { justify-self: start; }
.crumbs { margin: .3rem 0 .8rem; color: var(--on-surface-variant); } .crumbs a { text-decoration: none; }
.kb-hero { width: calc(100% + 2rem); margin: 0 -1rem 1rem; height: 170px; object-fit: cover; display: block; }
@media (min-width: 760px) { .kb-hero { width: 100%; margin: 0 0 1rem; border-radius: var(--r); } }
.kb-article h1 { font-size: 1.85rem; }
.lead { font-size: 1.08rem; color: var(--on-surface-variant); margin: 0 0 1rem; }
.prose h2 { font-size: 1.2rem; margin: 1.4rem 0 .4rem; } .prose p { margin: 0 0 .8rem; } .prose ul { padding-left: 1.2rem; margin: 0 0 .9rem; } .prose li { margin: .2rem 0; }
.qa { border-bottom: 1px solid var(--surface-high); } .qa summary { padding: .75rem 0; font-weight: 600; color: var(--on-surface); list-style-position: outside; }
.qa > div { padding: 0 0 .6rem; }
.kb-meta { margin-top: 1.5rem; padding-top: .7rem; border-top: 1px solid var(--surface-high); } .kb-meta p { margin: .15rem 0; }
.kb-del { margin-top: .6rem; }
.notice { background: #e3e8d6; border-radius: var(--r); padding: .9rem 1rem; margin-bottom: 1rem; } .notice h2 { font-size: 1.15rem; }
.copy-row { display: flex; gap: .4rem; margin-top: .4rem; } .copy-row input { flex: 1; min-width: 0; margin: 0; font-size: .85rem; } .copy-row .btn { padding: .4rem .9rem; }
textarea { line-height: 1.45; }
.top form .link { max-width: 52vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tabs { scrollbar-width: none; -webkit-overflow-scrolling: touch; } .tabs::-webkit-scrollbar { display: none; }
.tabs a { font-size: .95rem; }
.who { display: flex; align-items: center; gap: .3rem; } .who a { text-decoration: none; max-width: 40vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Round 3: facility status and site notes */
.status-block { margin: .8rem 0; }
.status-block h2.small { font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; color: var(--on-surface-variant); margin: .6rem 0 .3rem; }
.st-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.st { display: flex; gap: .6rem; align-items: flex-start; padding: .6rem .7rem; border-radius: 12px; background: #f4f6f2; border-left: 4px solid #9aa39a; }
.st > div { display: flex; flex-direction: column; gap: .15rem; min-width: 0; flex: 1; }
.st-dot { flex: 0 0 1.6rem; height: 1.6rem; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; background: #9aa39a; }
.st-ok { border-left-color: #3f8f52; } .st-ok .st-dot { background: #3f8f52; }
.st-warning { border-left-color: #d08a1e; background: #fdf5e8; } .st-warning .st-dot { background: #d08a1e; }
.st-off { border-left-color: #c0392b; background: #fbeceb; } .st-off .st-dot { background: #c0392b; }
.st-label { display: inline-block; font-size: .75rem; font-weight: 600; padding: .05rem .45rem; border-radius: 99px; background: #fff; border: 1px solid currentColor; width: fit-content; }
li.st-ok .st-label, span.st-ok { color: #2e6e3e; } li.st-warning .st-label, span.st-warning { color: #9a6210; }
li.st-off .st-label, span.st-off { color: #a02c20; } li.st-unknown .st-label, span.st-unknown { color: #5f665f; }
.st-text { color: inherit; }
.st-edit summary { cursor: pointer; color: var(--accent, #2e6e3e); }
.seg { display: flex; flex-wrap: wrap; gap: .4rem; border: 0; padding: 0; margin: 0; }
.seg label { display: inline-flex; align-items: center; gap: .3rem; padding: .35rem .7rem; border: 1px solid #d5d9d3; border-radius: 99px; background: #fff; font-size: .9rem; }
.seg legend { margin-bottom: .3rem; }
.kb-loc { display: block; color: #6b5a3a; font-style: normal; }
.kb-loc::before { content: "\1F4CD\FE0E  "; }
.kb-notes { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.kb-notes a { display: flex; gap: .7rem; align-items: center; text-decoration: none; color: inherit; background: #fff; border-radius: 12px; padding: .5rem; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.kb-notes img { width: 72px; height: 72px; object-fit: cover; border-radius: 9px; flex: 0 0 72px; }
.kb-notes span { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }

/* ---------- round 4: workshops ---------- */
.tag.cat-workshop { background: #dfe9e4; color: var(--secondary); }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: .3rem .9rem; margin: 1rem 0; font-size: .95rem; }
.facts dt { font-weight: 600; color: var(--on-surface-variant, #555); } .facts dd { margin: 0; }
.ws-dates { list-style: none; padding: 0; margin: .5rem 0; font-size: .92rem; } .ws-dates li { padding: .2rem 0; }
.signup fieldset { border: 1px solid var(--surface-high); border-radius: 10px; padding: .6rem .8rem; display: flex; flex-wrap: wrap; gap: .4rem 1rem; }
.signup legend { font-weight: 600; padding: 0 .3rem; }
.roster li { align-items: flex-start; } .roster .grow { flex: 1; min-width: 0; }
.note-form { margin-top: .35rem; gap: .4rem; } .note-form input { flex: 1; min-width: 0; font-size: .9rem; }
.roster-actions { display: flex; flex-direction: column; align-items: flex-end; gap: .3rem; }
.roster li.here strong::after { content: ' \2713'; color: var(--secondary); }
.copy-text { width: 100%; font: .9rem/1.4 var(--font-body); }
.today-ws { margin-top: .6rem; }

/* Round 4b: public sign-up form and share box */
.public-form { max-width: 560px; margin: 0 auto; }
.public-hero { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: var(--r); margin-bottom: 1rem; }
.public-form .lead { color: var(--on-surface-variant); }
.public-form fieldset { border: 1px solid var(--outline-variant); border-radius: var(--r); padding: .6rem .9rem; }
.public-form .check { align-items: flex-start; } .public-form .check input { margin-top: .3rem; }
.req { color: var(--error); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.share .qr { background: #fff; display: inline-block; padding: .4rem; border-radius: 8px; margin: .6rem 0; }
.share .qr svg { display: block; width: 220px; height: 220px; }
.tag.public { background: var(--secondary); color: var(--on-primary); }
.tag.cat-nearby { background: #e6e0ef; color: #4a3d63; }
.map-link { margin-left: auto; padding: .35rem .7rem; border-radius: 999px; border: 1px solid var(--line, #ddd); font-size: .85rem; white-space: nowrap; text-decoration: none; }
.btn.whatsapp { background: var(--secondary); color: var(--on-primary); text-decoration: none; display: inline-flex; align-items: center; }

/* Showcase page (/showcase) */
.sc-hero { position: relative; border-radius: var(--r); overflow: hidden; margin-top: .5rem; }
.sc-hero img { display: block; width: 100%; height: 22rem; object-fit: cover; }
.sc-hero-text { position: absolute; inset: auto 0 0; padding: 1.2rem; color: #fff; background: linear-gradient(transparent, rgba(28, 28, 22, .75)); }
.sc-hero-text h1 { font-size: 2.2rem; } .sc-hero-text p { margin: 0; }
.sc-ctas { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.2rem 0; } .sc-ctas .btn { flex: 1 1 12rem; text-align: center; }
a.btn.sc-big { font-size: 1.05rem; line-height: 2.4; }
.sc-intro { color: var(--on-surface-variant); }
.sc-part { display: grid; gap: 1rem; margin-top: 2.5rem; align-items: center; }
.sc-part figure { margin: 0; justify-self: center; max-width: 260px; border-radius: 26px; overflow: hidden; border: 6px solid var(--on-surface); background: var(--on-surface); }
.sc-part figure img { display: block; width: 100%; height: auto; }
.sc-solves { border-left: 3px solid var(--primary); padding-left: .7rem; color: var(--primary-dim); font-weight: 400; }
.sc-next { margin-top: 2.5rem; background: var(--surface-container); border-radius: var(--r); padding: 1rem 1.2rem; }
.sc-next ul { margin: 0; padding-left: 1.2rem; } .sc-next li { margin: .3rem 0; }
@media (min-width: 700px) {
  .sc-part { grid-template-columns: 260px 1fr; gap: 2rem; } .sc-part.flip figure { order: 2; }
  .sc-hero img { height: 26rem; }
}

/* What's on */
.whatson .chips { margin: .2rem 0 .5rem; scrollbar-width: none; align-items: center; }
.chips-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--on-surface-variant); flex: 0 0 auto; min-width: 3.4rem; }
.wo-count { margin: .6rem 0; }
.wo-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.wo-card { display: flex; gap: .8rem; padding: .7rem; border-radius: 16px; background: var(--surface-container); }
.wo-thumb { position: relative; flex: 0 0 88px; height: 88px; border-radius: 12px; overflow: hidden; display: grid; place-items: center; background: var(--hill); color: var(--line); align-self: flex-start; }
.wo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.wo-thumb > .ic { position: absolute; right: 10px; bottom: 10px; width: 30px; height: 30px; stroke-width: 1.4; }
.wo-thumb.cat-market, .wo-thumb.cat-food { background: #efe0c4; } .wo-thumb.cat-music, .wo-thumb.cat-film { background: #ead7cf; }
.wo-thumb.cat-sports, .wo-thumb.cat-workshop { background: #dfe3d2; color: var(--secondary); } .wo-thumb.cat-culture { background: #e3e0ea; }
.wo-date { position: absolute; left: 6px; top: 6px; display: flex; flex-direction: column; align-items: center; min-width: 2.3rem; padding: .15rem .3rem; border-radius: 8px; background: var(--surface); color: var(--primary); font-size: .68rem; line-height: 1.1; text-transform: uppercase; letter-spacing: .03em; box-shadow: 0 1px 3px rgba(28,28,22,.15); }
.wo-date b { font-size: 1.05rem; letter-spacing: 0; }
.wo-body { min-width: 0; flex: 1; }
.wo-body p { margin: .2rem 0; }
.wo-title { display: block; line-height: 1.25; }
.wo-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; margin-top: .45rem; }
.wo-actions .mini, .wo-extra > summary.mini { display: inline-flex; align-items: center; justify-content: center; height: 2rem; padding: 0 .8rem; line-height: 1; box-sizing: border-box; }
.wo-actions.big .mini { font-size: .95rem; padding: .5rem 1rem; }
.mini { font-size: .82rem; padding: .3rem .7rem; border-radius: 999px; border: 1px solid var(--outline-variant, #c9c2b6); text-decoration: none; color: var(--primary); background: var(--surface, #fff); white-space: nowrap; }
.whatson.loading { opacity: .55; transition: opacity .15s; }
.month-view > summary { cursor: pointer; list-style: none; }
.month-view > summary h2 { display: inline; }
.month-view > summary::before { content: '▸ '; }
.month-view[open] > summary::before { content: '▾ '; }
.share-dialog { border: 0; border-radius: 20px; padding: 1rem 1.2rem 1.4rem; max-width: 30rem; width: calc(100% - 2rem); max-height: 90vh; overflow: auto; }
.share-dialog::backdrop { background: rgb(0 0 0 / .4); }
.share-dialog .close { float: right; }
.share-panel .h-share { margin-top: 0; }
.share-box .qr { margin-top: .6rem; }
.copy-row { display: flex; gap: .4rem; }
.copy-row input { flex: 1; min-width: 0; }
.btn.whatsapp { background: #25d366; color: #073b1c; }
.e-foot { margin-top: 2rem; text-align: center; }
@media (max-width: 600px) {
  .share-dialog { margin: auto 0 0; width: 100%; max-width: none; border-radius: 20px 20px 0 0; }
}

/* Sign-up forms */
.signup-form .field { display: block; margin: 0 0 1rem; border: 0; padding: 0; }
.signup-form .field input:not([type=radio]):not([type=checkbox]), .signup-form select, .signup-form textarea { display: block; width: 100%; margin-top: .3rem; }
.signup-form legend { padding: 0; margin-bottom: .3rem; }
.signup-form .choice { display: flex; align-items: center; gap: .5rem; padding: .35rem 0; }
.signup-form .choice input[type=radio], .signup-form .choice input[type=checkbox] { width: 1.2rem; height: 1.2rem; min-height: 0; padding: 0; margin: 0; flex: none; accent-color: var(--primary); }
.signup-form .choice { justify-content: flex-start; text-align: left; }
.signup-form .choice.other input[type=text] { flex: 1; min-width: 0; }
.signup-form .req { color: var(--error); }
.signup-intro p { margin: .2rem 0; }
.hp { position: absolute; left: -9999px; }
.form-owner { margin-top: 1.5rem; padding: 1rem; border-radius: 16px; background: var(--surface-container); }
.signup-dialog { max-height: 92vh; }
.notice.error { background: #fbe3dc; color: var(--error); }
.bot-intro code, .bot-try pre { overflow-wrap: anywhere; white-space: pre-wrap; }
.bot-log { list-style: none; padding: 0; }
.bot-log li { padding: .35rem 0; border-bottom: 1px solid #0001; }
/* Round 8: the assistant button and panel. Bottom sheet on a phone, a window on desktop. */
.as-fab { position: fixed; right: 1rem; bottom: 1rem; z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--primary); color: var(--on-primary); box-shadow: 0 4px 14px rgb(0 0 0 / .22); }
.as-fab:hover { background: var(--primary-dim); }
.as-fab:focus-visible, .as-chip:focus-visible, .as-mic:focus-visible { outline: 3px solid var(--secondary); outline-offset: 2px; }
.as-fab[hidden] { display: none; }
.as-panel { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; max-height: 82vh; display: flex; flex-direction: column;
  background: var(--surface); border-radius: var(--r) var(--r) 0 0; box-shadow: 0 -6px 24px rgb(0 0 0 / .2); padding: .8rem 1rem calc(.8rem + env(safe-area-inset-bottom)); }
.as-panel[hidden] { display: none; }
@media (min-width: 700px) { .as-panel { left: auto; right: 1.2rem; bottom: 1.2rem; width: 400px; max-height: min(640px, 80vh); border-radius: var(--r); } }
.as-panel.as-inline { position: static; z-index: auto; max-height: none; width: auto; box-shadow: none; border: 1px solid var(--outline-variant); border-radius: var(--r); padding: .6rem .8rem; margin: .6rem 0 1rem; }
.as-inline .as-log { max-height: 55vh; min-height: 12rem; }
.bot-dev > summary { cursor: pointer; font-weight: 600; padding: .5rem 0; }
.as-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--outline-variant); padding-bottom: .4rem; }
.as-head h2 { margin: 0; }
.as-log { list-style: none; margin: 0; padding: .6rem 0; overflow-y: auto; flex: 1; min-height: 8rem; display: flex; flex-direction: column; gap: .5rem; }
.as-page-log { overflow: visible; }
.as-msg { max-width: 88%; padding: .55rem .8rem; border-radius: var(--r); background: var(--surface-container); white-space: pre-wrap; overflow-wrap: anywhere; font-size: .95rem; }
.as-me { align-self: flex-end; background: var(--primary); color: var(--on-primary); }
.as-me a { color: inherit; }
.as-denied { background: #fbe9e7; color: var(--error); }
.as-busy { opacity: .6; }
.as-links { margin: .4rem 0 0; padding-left: 1.1rem; white-space: normal; }
.as-confirm { margin-top: .5rem; display: flex; gap: .5rem; white-space: normal; }
.as-chips { display: flex; gap: .4rem; overflow-x: auto; padding: .3rem 0; }
.as-chip { font: 400 .88rem var(--font-body); white-space: nowrap; background: var(--surface-high); color: var(--on-surface); border: 1px solid var(--outline-variant); border-radius: 999px; padding: .35rem .8rem; min-height: 36px; cursor: pointer; }
.as-input { display: flex; gap: .4rem; align-items: center; }
.as-input input { flex: 1; min-width: 0; }
.as-mic { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1.5px solid var(--primary); background: transparent; color: var(--primary); display: grid; place-items: center; cursor: pointer; }
.as-mic[hidden] { display: none; }
.as-mic[aria-pressed="true"] { background: var(--primary); color: var(--on-primary); }
.as-voice { margin-top: .3rem; display: flex; gap: .8rem; align-items: center; }
.as-voice[hidden] { display: none; }
.as-voice select { width: auto; min-height: 36px; padding: .2rem .4rem; }

/* Round 9: header and navigation. A slim sticky bar; on a phone the main sections sit in a bottom tab bar and
   More opens a sheet, on desktop they sit in the bar and More drops down. <details> keeps it working without JS. */
.top { position: sticky; top: 0; z-index: 30; background: var(--surface); border-bottom: 1px solid var(--surface-high); }
.top-in { display: flex; align-items: center; gap: .5rem; max-width: 960px; margin: 0 auto; padding: .45rem 1rem; min-height: 52px; }
.brand { font-family: var(--font-brand); font-size: 1.55rem; color: #9a3412; text-decoration: none; margin-right: auto; }
.ic { flex: 0 0 auto; vertical-align: middle; }
.who { order: 3; display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; padding: 0 .4rem; color: var(--on-surface-variant); text-decoration: none; font-size: .9rem; border-radius: 999px; }
.who:hover { color: var(--primary); }
.nav-main { display: flex; align-items: center; gap: .15rem; }
.nav-main > a, .nav-more > summary { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: 0 .75rem; border-radius: 999px; text-decoration: none;
  color: var(--on-surface-variant); font-size: .95rem; cursor: pointer; list-style: none; transition: background-color .2s var(--ease), color .2s var(--ease); }
.nav-more > summary::-webkit-details-marker { display: none; }
.nav-main > a:hover, .nav-more > summary:hover { background: var(--surface-container); color: var(--on-surface); }
.nav-main > a[aria-current], .nav-more[data-here] > summary { background: var(--surface-high); color: var(--primary); font-weight: 600; }
.nav-main a:focus-visible, .nav-more > summary:focus-visible, .who:focus-visible { outline: 3px solid var(--secondary); outline-offset: 2px; }
.nav-more { position: relative; }
.nav-sheet { position: absolute; right: 0; top: calc(100% + .4rem); width: 280px; max-height: 75vh; overflow-y: auto; background: var(--surface); border: 1px solid var(--outline-variant);
  border-radius: 18px; box-shadow: 0 14px 40px rgba(60, 40, 20, .16); padding: .6rem; z-index: 50; animation: sheet-in .18s var(--ease); }
.nav-sheet ul { list-style: none; margin: 0 0 .3rem; padding: 0; }
.nav-sheet a, .nav-out { display: flex; align-items: center; gap: .7rem; min-height: 44px; padding: 0 .7rem; border-radius: 12px; text-decoration: none; color: var(--on-surface); font: 400 1rem var(--font-body); }
.nav-out { width: 100%; background: none; border: 0; cursor: pointer; color: var(--on-surface-variant); }
.nav-sheet a:hover, .nav-out:hover { background: var(--surface-container); }
.nav-sheet a[aria-current] { background: var(--surface-high); color: var(--primary); font-weight: 600; }
.nav-sheet .ic { color: var(--secondary); }
.nav-group { margin: .5rem .7rem .2rem; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--on-surface-variant); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.narrow-only { display: none; }
@media (max-width: 759px) {
  .who span { display: none; }
  .wide-only { display: none !important; }
  .narrow-only { display: block; }
  .nav-main { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; height: calc(var(--bar-h) + env(safe-area-inset-bottom)); padding: 0 .25rem env(safe-area-inset-bottom);
    background: var(--surface); border-top: 1px solid var(--surface-high); box-shadow: 0 -6px 20px rgba(60, 40, 20, .06); justify-content: space-around; gap: 0; }
  .nav-main > a, .nav-more > summary { flex-direction: column; gap: .15rem; padding: .35rem .2rem; border-radius: 14px; font-size: .72rem; min-width: 60px; justify-content: center; }
  .nav-main > a[aria-current], .nav-more[data-here] > summary { background: transparent; }
  .nav-main > a[aria-current] .ic, .nav-more[data-here] > summary .ic { background: var(--surface-high); border-radius: 999px; padding: 2px 14px; box-sizing: content-box; }
  .nav-main .lbl { font-size: 0; } .nav-main .lbl::after { content: attr(data-short); font-size: .72rem; }
  .nav-more .lbl { font-size: .72rem; } .nav-more .lbl::after { content: none; }
  .nav-more[open] > summary::before { content: ""; position: fixed; inset: 0 0 calc(var(--bar-h) + env(safe-area-inset-bottom)); background: rgba(28, 28, 22, .3); cursor: default; }
  .nav-sheet { position: fixed; left: 0; right: 0; top: auto; bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); width: auto; max-height: 70vh; border-radius: 22px 22px 0 0;
    border-width: 1px 0 0; padding: .4rem 1rem 1rem; animation-name: sheet-up; }
  .nav-sheet::before { content: ""; display: block; width: 40px; height: 4px; border-radius: 4px; background: var(--outline-variant); margin: .3rem auto .4rem; }
  .nav-sheet ul { display: grid; grid-template-columns: 1fr 1fr; gap: .1rem .4rem; }
  body.has-nav main { padding-bottom: calc(var(--bar-h) + 5.5rem); }
  body.has-nav .as-fab { bottom: calc(var(--bar-h) + env(safe-area-inset-bottom) + .9rem); }
}
@keyframes sheet-up { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .nav-sheet { animation: none; } .nav-main > a, .nav-more > summary { transition: none; } }

/* Round 9: the visibility switch and badge, the same everywhere. */
.vis-switch { border: 0; padding: 0; margin: .3rem 0; min-width: 0; }
.vis-switch legend { font-size: .9rem; color: var(--on-surface-variant); padding: 0; margin-bottom: .35rem; }
.vis-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface-container); border: 1px solid var(--surface-high); max-width: 420px; }
.vis-opt { position: relative; display: flex; align-items: center; justify-content: center; gap: .45rem; min-height: 44px; border-radius: 999px; cursor: pointer;
  font-size: .95rem; color: var(--on-surface-variant); transition: background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease); }
.vis-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.vis-opt:has(input:checked) { background: var(--surface); color: var(--primary); font-weight: 600; box-shadow: 0 1px 4px rgba(60, 40, 20, .14); }
.vis-public:has(input:checked) { background: var(--primary); color: var(--on-primary); }
.vis-opt:has(input:focus-visible) { outline: 3px solid var(--secondary); outline-offset: 2px; }
.vis-hint { margin: .4rem .3rem 0; color: var(--on-surface-variant); display: none; }
.vis-switch:has(.vis-members input:checked) .vis-hint-members, .vis-switch:has(.vis-public input:checked) .vis-hint-public { display: block; }
.vis-badge { display: inline-flex; align-items: center; gap: .3rem; vertical-align: middle; font: 600 .72rem var(--font-body); letter-spacing: .04em; text-transform: uppercase;
  padding: .2rem .55rem .2rem .45rem; border-radius: 999px; background: var(--surface-high); color: var(--tertiary); }
.vis-badge .ic { width: 14px; height: 14px; }
.vis-badge.public { background: var(--primary); color: var(--on-primary); }
.vis-go { display: inline-flex; align-items: center; gap: .45rem; }
.more-info summary { cursor: pointer; color: var(--primary); min-height: 32px; }
@media (prefers-reduced-motion: reduce) { .vis-opt { transition: none; } }

/* Round 9: calmer lists. Extra filters and extra card actions fold away; facility lines open on a tap. */
.wo-more { margin: .2rem 0 .4rem; }
.wo-more > summary { display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; padding: 0 .9rem; border-radius: 999px; background: var(--surface-container); cursor: pointer; font-size: .88rem; list-style: none; }
.wo-more > summary::-webkit-details-marker { display: none; }
.wo-more[open] > summary { background: var(--surface-high); }
.wo-more .count { background: var(--primary); color: var(--on-primary); border-radius: 999px; padding: 0 .45rem; font-size: .75rem; }
.wo-extra { display: inline-block; position: relative; }
.wo-extra > summary { list-style: none; display: inline-flex; align-items: center; cursor: pointer; }
.wo-extra > summary::-webkit-details-marker { display: none; }
.wo-extra > summary .ic { width: 18px; height: 18px; }
.wo-extra > summary.mini { width: 2.4rem; padding: 0; }
.wo-extra[open] > div { position: absolute; right: 0; top: calc(100% + .3rem); z-index: 5; display: flex; flex-direction: column; align-items: stretch; gap: .35rem; padding: .45rem; border-radius: 12px; background: var(--surface); box-shadow: 0 6px 18px rgba(28,28,22,.16); }
.st-list.compact { display: grid; gap: .35rem; }
.st-list.compact details > summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; min-height: 40px; }
.st-list.compact details > summary::-webkit-details-marker { display: none; }
.st-list.compact .st-text, .st-list.compact .st-meta { display: block; margin-top: .3rem; }

/* Round 9: drawn scenes for empty states and section heads. */
.scene { display: block; width: 100%; height: auto; max-height: 150px; }
.empty .scene { max-width: 340px; margin: 0 auto .4rem; border-radius: var(--r); background: linear-gradient(#fbf3df, var(--surface)); }
.greet { display: grid; grid-template-columns: 1fr 120px; align-items: end; gap: .5rem; margin: 1rem 0 .2rem; }
.greet h2 { margin: 0; font-size: 1.5rem; } .greet p { margin: .1rem 0 0; }
.greet .scene { max-height: 70px; }
body:has(.nav-more[open]) .as-fab { display: none; }
.visibility form .vis-switch { flex: 1 1 100%; }
[id] { scroll-margin-top: 72px; }
/* Round 10: guest page "What's on today?" box and Leave a review. */
.ask-box { margin-top: 1.5rem; background: var(--surface-low); border-radius: var(--r); padding: 1rem; }
.ask-box h2 { margin-top: 0; display: flex; align-items: center; gap: .4rem; }
.ask-box h2 .ic { color: var(--sun); }
.ask-form { display: flex; gap: .5rem; margin-bottom: .6rem; }
.ask-form input { flex: 1; min-width: 0; min-height: 44px; border: 1px solid var(--outline-variant); border-radius: 999px; padding: 0 1rem; font: inherit; background: var(--surface); }
.ask-list { list-style: none; padding: 0; margin: .3rem 0 0; display: grid; gap: .5rem; }
.ask-list li { display: flex; gap: .8rem; align-items: baseline; padding: .55rem .7rem; background: var(--surface); border-radius: 10px; }
.ask-list li > span:last-child { display: grid; } .ask-list a { text-decoration: none; }
.ask-when { flex: 0 0 4.2rem; font-weight: 600; color: var(--primary); font-size: .9rem; display: grid; } .ask-when small { font-weight: 300; color: var(--on-surface-variant); }
.review-box { position: relative; margin-top: 2rem; background: var(--surface-container); border-radius: var(--r); padding: .2rem 1rem 1rem; overflow: hidden; }
.review-box h2 { display: flex; align-items: center; gap: .4rem; } .review-box h2 .ic { color: var(--sun); fill: var(--sun); }
.review-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.star-pick { border: 0; padding: 0; margin: 0; }
.star-pick legend { margin-bottom: .2rem; padding: 0; }
.star-row { display: inline-flex; flex-direction: row-reverse; gap: .15rem; }
.star-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; margin: 0; padding: 0; pointer-events: none; }
.star-pick label { font-size: 2rem; line-height: 1; color: #fffaf2; -webkit-text-stroke: 1.5px var(--line); cursor: pointer; min-width: 44px; min-height: 44px; display: grid; place-items: center; }
.star-row input:checked ~ label, .star-row label:hover, .star-row label:hover ~ label { color: var(--sun); -webkit-text-stroke-color: #b07f2c; }
.star-pick input:focus-visible + label { outline: 2px solid var(--primary); border-radius: 8px; }
.stars { color: var(--sun); letter-spacing: .05em; } .stars .off { color: var(--surface-high); }
.review-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .6rem; }
.review-list li { background: var(--surface); border-radius: 10px; padding: .6rem .8rem; } .review-list p { margin: .2rem 0; }
/* Round 10: the guide. */
.g-hero { text-align: center; margin: -1rem -1rem 1rem; padding: 0 1rem 1rem; background: var(--surface-low); }
.g-scene { display: block; width: calc(100% + 2rem); height: 120px; margin: 0 -1rem .8rem; }
.g-toc ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0 0 1rem; counter-reset: g; }
.g-toc li { counter-increment: g; } .g-toc a { display: inline-block; padding: .35rem .8rem; border-radius: 999px; background: var(--surface-container); text-decoration: none; font-size: .88rem; }
.g-toc a::before { content: counter(g) ". "; color: var(--on-surface-variant); }
.g-step { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--surface-high); scroll-margin-top: 70px; }
.g-step h2 { display: flex; align-items: center; gap: .6rem; }
.g-ic { flex: 0 0 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--hill); color: var(--primary); }
.g-list { padding-left: 1.2rem; } .g-list li { margin: .35rem 0; }
.g-defs dt { font-weight: 600; display: flex; align-items: center; gap: .4rem; margin-top: .8rem; color: var(--on-surface); } .g-defs dt .ic { color: var(--primary); width: 20px; height: 20px; }
.g-defs dd { margin: .2rem 0 0 1.7rem; }
.g-tip { background: var(--surface-container); border-left: 3px solid var(--sun); border-radius: 8px; padding: .6rem .8rem; display: block; }
.g-tip .ic { width: 18px; height: 18px; vertical-align: -3px; color: var(--primary); }
.g-two { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.g-say { list-style: none; padding: 0; display: grid; gap: .35rem; } .g-say li { background: var(--primary); color: var(--on-primary); border-radius: 16px 16px 4px 16px; padding: .45rem .8rem; justify-self: end; max-width: 90%; font-size: .92rem; }
.g-shot { margin: 1rem auto 0; max-width: 280px; } .g-shot img { width: 100%; border-radius: 18px; box-shadow: 0 6px 20px rgba(28,28,22,.15); }
.g-end { margin-top: 2rem; display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; }
.review-or { font-size: 1rem; margin: 1.2rem 0 .4rem; }
/* Round 10: showcase events and guide link. */
.sc-events, .sc-guide { max-width: 760px; margin: 2.5rem auto; padding: 0 1rem; }
.sc-ev-list { list-style: none; padding: 0; display: grid; gap: .7rem; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.sc-ev-list a { display: flex; gap: .8rem; align-items: center; padding: .5rem; border-radius: 16px; background: var(--surface-container); text-decoration: none; color: inherit; }
.sc-ev-list strong { display: block; }
.sc-guide { text-align: center; background: var(--surface-low); border-radius: 20px; padding: 1.2rem 1rem; }
.g-start { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: .8rem; }
.g-checks { list-style: none; padding: 0; }
.g-checks li { margin: .6rem 0; } .g-checks label { display: flex; gap: .5rem; align-items: center; cursor: pointer; }
.g-checks input { width: 1.2rem; height: 1.2rem; accent-color: var(--primary); flex: none; }
.g-checks .small { display: block; margin-left: 1.7rem; color: var(--on-surface-variant); }
@media (min-width: 900px) { .guide { max-width: 760px; margin: 0 auto; } .g-step:has(.g-shot) { display: grid; grid-template-columns: 1fr 240px; column-gap: 2rem; } .g-step:has(.g-shot) > h2 { grid-column: 1 / -1; } .g-step:has(.g-shot) > .g-shot { grid-column: 2; grid-row: 2 / span 9; margin-top: 0; } .g-step:has(.g-shot) > :not(h2):not(.g-shot) { grid-column: 1; } }
.as-default { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); }
.sc-why { max-width: 760px; margin: 2rem auto; padding: 0 1rem; }
.g-why { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin: .8rem 0 0; }
.g-why > div { background: var(--surface-container); border-radius: 14px; padding: .7rem .9rem; }
.g-why dt { font-weight: 600; } .g-why dd { margin: .2rem 0 0; font-size: .92rem; }

/* Password show/hide */
.pw-field { position: relative; display: block; }
.pw-field input { width: 100%; padding-right: 3rem; }
.pw-toggle { position: absolute; top: 50%; right: .25rem; transform: translateY(-50%); width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border: 0; background: none; color: var(--on-surface-variant); border-radius: 999px; cursor: pointer; }
.pw-toggle:hover { color: inherit; }
.pw-toggle:focus-visible { outline: 2px solid currentColor; outline-offset: 1px; }
.pw-toggle[aria-pressed="true"] .pw-slash { display: none; }

/* Profile photo */
.avatar { display: inline-grid; place-items: center; flex: none; width: 2.5rem; height: 2.5rem; border-radius: 50%; object-fit: cover; background: var(--surface-high); color: var(--on-surface-variant); font: 400 .95rem/1 var(--font-head); }
.avatar-sm { width: 2rem; height: 2rem; font-size: .8rem; margin-right: .5rem; vertical-align: middle; }
.avatar-lg { width: 4.5rem; height: 4.5rem; font-size: 1.5rem; }
.profile-head { display: flex; align-items: center; gap: var(--gap); margin-bottom: var(--gap); }
.profile-head h1 { margin: 0; }
.members-overview li { align-items: center; justify-content: flex-start; }
.members-overview li > .avatar { flex: 0 0 2rem; max-width: 2rem; }
.members-overview li > div { flex: 1; }
.admin-list .move { align-items: center; gap: .8rem; white-space: nowrap; }
