/* the sign-up steps: account, your pub, your events */
:root {
  --cream: #F8F3E7; --cream-light: #FCF8ED; --cream-shade: #EDE5D8; --pressed: #E2D8C8;
  --ink: #1C1814; --soft: #6E6358; --clay: #845141; --edge: rgba(28,24,20,0.12);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--cream); color: var(--ink); font-family: Figtree, "Helvetica Neue", Arial, sans-serif; font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }

/* top bar: the wordmark, where you are, and a way out */
.top { max-width: 1120px; margin: 0 auto; padding: 0 40px; height: 80px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.top > :last-child { justify-self: end; }
.wordmark { font-family: Chango; color: var(--clay); font-size: 32px; text-decoration: none; justify-self: start; }
.top a.plain { font-weight: 600; font-size: 15px; color: var(--ink); }

/* the three steps, small and quiet */
.steps { display: flex; gap: 6px; align-items: center; font-size: 13px; font-weight: 700; color: var(--soft); }
.steps span { display: flex; align-items: center; gap: 6px; }
.steps em { font-style: normal; }
.steps i { width: 22px; height: 22px; border-radius: 50%; background: var(--cream-shade); display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 12px; color: var(--soft); }
.steps .done i { background: var(--pressed); color: var(--ink); }
.steps .now { color: var(--ink); }
.steps .now i { background: none; color: var(--ink); position: relative; font-size: 13px; }
.steps .now i::after { content: ""; position: absolute; left: -5px; top: -4px; width: 32px; height: 30px; background: url(/assets/img/ring.png) center/100% 100% no-repeat; }
.steps .now { gap: 10px; margin-left: 4px; }
.steps b { width: 18px; height: 1.5px; background: var(--edge); }

.page { max-width: 1120px; margin: 0 auto; padding: 24px 40px 80px; }
.narrow { max-width: 460px; margin: 0 auto; }
.split { display: grid; grid-template-columns: 1fr 360px; gap: 64px; align-items: start; }

/* titles with the three stars, like the app's sign-up screens */
.head { position: relative; margin: 24px 0 32px; }
.head h1 { font-family: Bric; font-size: 44px; line-height: 1.05; letter-spacing: -0.5px; padding-right: 70px; }
.head p { color: var(--soft); font-size: 18px; margin-top: 10px; }
.stars { position: absolute; top: -20px; right: 0; width: 80px; height: 80px; }
.stars img { position: absolute; }

/* fields */
.field { margin-bottom: 22px; }
.label { font-weight: 700; font-size: 15px; margin-bottom: 8px; display: block; }
.label em { font-style: normal; font-weight: 600; color: var(--soft); font-size: 13px; margin-left: 6px; }
.hint { color: var(--soft); font-size: 14px; margin: -4px 0 8px; }
.input { height: 52px; border-radius: 14px; background: var(--cream-shade); display: flex; align-items: center; padding: 0 16px; color: var(--ink); font-size: 16px; }
.input.ph { color: #9C9083; }
.input.focus { background: var(--pressed); }
.input.tall { height: 96px; align-items: flex-start; padding-top: 14px; }
.input .right { margin-left: auto; font-weight: 600; font-size: 14px; color: var(--soft); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.photo { height: 150px; border-radius: 16px; border: 1.5px dashed rgba(28,24,20,0.22); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--soft); font-size: 14px; }
.photo b { color: var(--ink); font-size: 15px; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--edge); display: inline-flex; align-items: center; font-size: 15px; }
.pill.on { background: var(--pressed); border-color: var(--pressed); font-weight: 700; }

.tick { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--soft); margin: 8px 0 30px; line-height: 1.55; }
.tick i { width: 22px; height: 22px; border-radius: 6px; background: var(--ink); flex: none; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.tick u { color: var(--ink); }

.btn { height: 54px; border-radius: 999px; background: var(--ink); color: var(--cream); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; }
.btn.line { background: none; color: var(--ink); border: 1.5px solid var(--edge); }
.link { text-align: center; margin-top: 26px; font-weight: 600; font-size: 15px; }
.link a, .note a { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.note { font-size: 14px; color: var(--soft); text-align: center; margin-top: 14px; }
.divider { height: 1px; background: var(--edge); margin: 30px 0; }
.section { font-weight: 700; font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--clay); margin-bottom: 16px; }

/* the live preview beside the event form */
.preview-wrap { position: static; }
.preview-label { font-weight: 700; font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--soft); margin-bottom: 12px; }
.card { background: var(--cream-light); border-radius: 26px; padding: 20px; box-shadow: 0 18px 40px -18px rgba(28,24,20,0.25); }
.card .ph { aspect-ratio: 16 / 9; border-radius: 16px; background: #845141 url(/assets/img/music-photo.jpg) center/cover; position: relative; }
.card .area { font-weight: 700; font-size: 11px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--clay); margin-top: 16px; }
.card .name { font-family: Bric; font-size: 24px; line-height: 1.1; margin-top: 4px; }
.card .pub { color: var(--clay); font-weight: 600; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; margin-top: 6px; }
.card .meta { font-weight: 700; font-size: 14px; margin-top: 6px; }
.card .tags { display: flex; gap: 6px; margin-top: 12px; }
.card .tags span { background: var(--cream-shade); border-radius: 999px; padding: 5px 11px; font-weight: 600; font-size: 13px; }
.card .desc { font-size: 14px; margin-top: 12px; }
.card .actions { display: flex; gap: 8px; margin-top: 16px; align-items: center; }
.card .round { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--edge); display: flex; align-items: center; justify-content: center; flex: none; }
.card .go { flex: 1; height: 46px; border-radius: 999px; background: var(--ink); color: var(--cream); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; }
/* your drawn heart, the same as the app's */
.card .ph::after { content: ""; position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; background: rgba(252,248,237,0.92) url(/assets/img/heart.png) center/20px no-repeat; }
.card .round img { width: 22px; height: auto; display: block; }

/* your events */
.pubhead { display: flex; gap: 18px; align-items: center; margin: 24px 0 8px; }
.pubhead .thumb { width: 72px; height: 72px; border-radius: 18px; background: #845141 url(/assets/img/music-photo.jpg) center/cover; flex: none; }
.pubhead h1 { font-family: Bric; font-size: 36px; line-height: 1.05; }
.pubhead .editpub { margin-left: auto; align-self: flex-start; margin-top: 6px; height: 38px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--edge); display: flex; align-items: center; font-weight: 600; font-size: 14px; flex: none; color: var(--ink); text-decoration: none; }
.status { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--soft); }
.status i { width: 8px; height: 8px; border-radius: 50%; background: #C9A227; }
.banner { background: var(--cream-light); border: 1px solid var(--edge); border-radius: 18px; padding: 16px 18px; font-size: 15px; color: var(--soft); margin: 22px 0 28px; }
.banner b { color: var(--ink); }
.ev { display: flex; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--edge); }
.ev .t { width: 64px; height: 64px; border-radius: 14px; background-size: cover; background-position: center; flex: none; }
.ev h3 { font-family: Bric; font-size: 20px; line-height: 1.15; }
.ev p { font-size: 14px; color: var(--soft); margin-top: 2px; }
.ev p b { color: var(--ink); }
.ev .edit { margin-left: auto; height: 38px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--edge); display: flex; align-items: center; font-weight: 600; font-size: 14px; flex: none; }
.addrow { margin-top: 24px; }

@media (max-width: 820px) {
  .top { padding: 0 20px; height: 64px; }
  .wordmark { font-size: 26px; }
  .steps em { display: none; }
  .steps b { width: 10px; }
  .page { padding: 8px 20px 56px; }
  .split { grid-template-columns: 1fr; gap: 0; }
  .preview-wrap { display: none; }
  .head h1 { font-size: 34px; }
  .head p { font-size: 16px; }
  .pubhead h1 { font-size: 28px; }
  .ev .edit { padding: 0 12px; }
}

/* motion: the page settles in once; off for anyone who's asked for less */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.head, .pubhead { animation: rise .55s cubic-bezier(.2,.7,.2,1) both; }
.field, .tick, .row2, .banner, .ev, .section { animation: rise .5s cubic-bezier(.2,.7,.2,1) .12s both; }
.link, .note, .addrow { animation: rise .5s cubic-bezier(.2,.7,.2,1) .2s both; }
.preview-wrap { animation: rise .6s cubic-bezier(.2,.7,.2,1) .25s both; }
.btn, .pill, .edit, .review a { transition: background-color .2s ease, border-color .2s ease, transform .2s ease; }
.btn:hover { transform: translateY(-1px); background: #3A332C; }
.pill:hover, .edit:hover { border-color: rgba(28,24,20,0.3); }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; } .btn:hover { transform: none; } }

/* ---- the working forms ---- */
a { color: inherit; }
.wordmark { text-decoration: none; }
.top .plain { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; background: none; border: 0; font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; color: var(--ink); }
input.input, textarea.input { width: 100%; border: 0; outline: none; font: inherit; color: var(--ink); }
textarea.input { height: 110px; padding: 14px 16px; resize: vertical; line-height: 1.5; display: block; }
input.input::placeholder, textarea.input::placeholder { color: #9C9083; }
input.input:focus, textarea.input:focus { background: var(--pressed); }
input.input:focus-visible, textarea.input:focus-visible { box-shadow: 0 0 0 2px rgba(132,81,65,0.35); }
.pw { position: relative; }
.pw .input { padding-right: 84px; }
/* show / hide: a full thumb-sized target, not just the word */
.pw button { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); min-width: 72px; min-height: 44px; padding: 0 14px; border-radius: 12px; background: none; border: 0; font: inherit; font-weight: 600; font-size: 14px; color: var(--soft); cursor: pointer; touch-action: manipulation; }
.pw button:active { background: rgba(28,24,20,0.06); }
/* sign in: "forgot password?" sits under its box, one quiet line under the button */
.field .forgot { display: block; margin: 10px 0 0 auto; padding: 4px 0; background: none; border: 0; font: inherit; font-size: 14px; font-weight: 600; color: var(--soft); cursor: pointer; }
.alt { text-align: center; margin-top: 24px; font-size: 15px; color: var(--soft); }
.alt a { color: var(--ink); font-weight: 700; text-decoration: none; }
/* "that's 08:00 in the morning. did you mean 20:00?" */
.ampm { margin-top: 8px; font-size: 14px; color: var(--soft); }
.ampm button { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--clay); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
/* confirm your email: the button and what's under it, with room to breathe */
.confirm .head { margin-bottom: 40px; }
.confirm-actions { display: grid; gap: 18px; }
.confirm-actions .btn { width: 100%; }
.confirm-actions .note { margin-top: 4px; }
button.btn { width: 100%; border: 0; font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; }
button.btn[disabled] { opacity: .55; cursor: default; transform: none; }
a.btn { text-decoration: none; }
button.pill { background: none; font: inherit; font-size: 15px; color: var(--ink); cursor: pointer; }
button.pill.on { background: var(--pressed); }
.pill:focus-visible, .btn:focus-visible, .plain:focus-visible { outline: 2px solid var(--clay); outline-offset: 2px; }
.err { color: #A72628; font-size: 14px; margin-top: 6px; }
.form-err { background: rgba(167,38,40,0.07); color: #A72628; border-radius: 12px; padding: 12px 14px; font-size: 15px; margin-bottom: 16px; }
.form-ok { background: rgba(90,122,74,0.1); color: #3E5A31; border-radius: 12px; padding: 12px 14px; font-size: 15px; margin-bottom: 16px; }
.count { font-size: 13px; color: var(--soft); text-align: right; margin-top: 6px; }
.tick { cursor: pointer; }
.tick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tick i { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(28,24,20,0.35); }
.tick input:checked + i { background: var(--ink); box-shadow: none; }
.tick input:not(:checked) + i svg { display: none; }
.tick input:focus-visible + i { outline: 2px solid var(--clay); outline-offset: 2px; }
.photo { position: relative; cursor: pointer; overflow: hidden; background-size: cover; background-position: center; }
.photo input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.photo.has { border-style: solid; border-color: transparent; color: transparent; }
.photo.has b, .photo.has span { visibility: hidden; }
.photo .change { position: absolute; right: 10px; bottom: 10px; background: rgba(252,248,237,0.92); color: var(--ink); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 700; visibility: hidden; }
.photo.has .change { visibility: visible; }
.hidden { display: none !important; }
.loading { color: var(--soft); text-align: center; padding: 80px 0; }
.setup-missing { background: #A72628; color: #fff; padding: 12px 20px; font-size: 14px; text-align: center; }
.quiet-link { display: block; text-align: center; margin-top: 18px; font-size: 14px; color: var(--soft); background: none; border: 0; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; width: 100%; }
.status.live i { background: #5A7A4A; }
.empty-events { color: var(--soft); padding: 18px 0 6px; }
.ev .t { background-color: var(--cream-shade); }

/* the second preview: what they see after tapping let's go */
.going { margin-top: 18px; background: var(--cream-light); border-radius: 26px; overflow: hidden; box-shadow: 0 18px 40px -18px rgba(28,24,20,0.25); }
.going .gph { height: 110px; background: #845141 center/cover; }
.going .gbody { padding: 16px 20px 20px; }
.going .eyebrow { font-weight: 700; font-size: 11px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--soft); }
.going .gname { font-family: Bric; font-size: 22px; line-height: 1.1; margin-top: 4px; }
.going .gpub { color: var(--clay); font-weight: 600; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; margin-top: 6px; }
.going .gmeta { font-weight: 700; font-size: 13px; margin-top: 10px; }
.going .gaddr { font-size: 13px; color: var(--soft); margin-top: 4px; }
.going .gcal { font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; margin-top: 8px; }
.going .gdesc { font-size: 13px; margin-top: 10px; }
.going .gdir { margin-top: 14px; height: 42px; border-radius: 999px; background: var(--ink); color: var(--cream); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }

/* legal pages */
.legal { max-width: 640px; margin: 0 auto; }
.legal h1 { font-family: Bric; font-size: 44px; line-height: 1.05; margin: 24px 0 12px; }
.legal .eb { font-weight: 700; font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--clay); margin-top: 24px; }
.legal h2 { font-family: Bric; font-size: 22px; margin: 30px 0 8px; font-weight: 400; }
.legal p { color: var(--soft); margin-top: 8px; }
.legal .intro { font-size: 18px; color: var(--ink); }
.ev .edit, .pubhead .editpub { text-decoration: none; color: var(--ink); }
.status i { flex: none; }
@media (max-width: 820px) {
  .pubhead { flex-wrap: wrap; align-items: flex-start; }
  .pubhead > div:nth-child(2) { flex: 1 1 calc(100% - 78px); min-width: 0; }
  .pubhead { row-gap: 10px; }
  .pubhead .thumb { width: 60px; height: 60px; }
  .pubhead .editpub { order: 3; margin-left: 78px; margin-top: 0; }
}
.status { align-items: flex-start; }
.status i { margin-top: 7px; }

/* the address dropdown */
.addr { position: relative; }
.suggest { list-style: none; margin-top: 6px; background: var(--cream-light); border: 1.5px solid var(--edge); border-radius: 14px; overflow: hidden; box-shadow: 0 14px 30px -18px rgba(28,24,20,0.35); }
.suggest li { padding: 12px 16px; cursor: pointer; font-size: 15px; }
.suggest li + li { border-top: 1px solid var(--edge); }
.suggest li:hover, .suggest li.on { background: var(--cream-shade); }
.pin-ok { color: #3E5A31; font-weight: 700; font-size: 14px; margin-top: 8px; }
.pin-hint { color: var(--soft); font-size: 14px; margin-top: 8px; }

/* the code box */
.code-step .input.code { font-family: Bric, Figtree, sans-serif; font-size: 30px; letter-spacing: 10px; text-align: center; height: 64px; }
.code-step .input.code::placeholder { letter-spacing: 10px; color: #C4B49A; }
.code-step .quiet-link { display: block; }
.code-step .quiet-link[disabled] { opacity: .55; cursor: default; text-decoration: none; }
.code-step .btn { margin-top: 4px; }
.form-err a, .form-ok a { color: inherit; font-weight: 700; }
.inline-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.inline-actions .btn { width: auto; height: 42px; padding: 0 18px; font-size: 15px; }
.inline-actions .btn.line { background: none; color: var(--ink); border: 1.5px solid var(--edge); }
/* buttons inside a message keep their own colours */
.form-err .btn, .form-ok .btn { color: var(--cream); }
.form-err .btn.line, .form-ok .btn.line { color: var(--ink); }
/* "there's already an account": a note, not an error */
.form-err.soft { background: var(--cream-shade); color: var(--ink); }

/* a time that couldn't be read */
.input.bad { box-shadow: inset 0 0 0 1.5px rgba(167,38,40,0.45); }
.field .err { margin-top: 8px; }

/* the photo box: the app's shape (16:9), drag to frame it, zoom to fit */
.crop-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; border: 1.5px dashed rgba(28,24,20,0.22); background: center/cover no-repeat; touch-action: none; user-select: none; -webkit-user-select: none; }
.crop-frame.has { border: 0; background-color: var(--cream-shade); }
.crop-frame.live { cursor: grab; }
.crop-frame.dragging { cursor: grabbing; }
.crop-frame.over { border-color: var(--clay); background-color: var(--cream-shade); }
.crop-frame:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }
.crop-img { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; pointer-events: none; }
.crop-empty { position: absolute; inset: 0; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: none; border: 0; font: inherit; color: var(--soft); font-size: 14px; cursor: pointer; }
.crop-empty b { color: var(--ink); font-size: 15px; }
.crop-empty:focus-visible { outline: 2px solid var(--clay); outline-offset: -4px; border-radius: 14px; }
.crop-tools { display: flex; align-items: center; gap: 16px; margin-top: 12px; }
.crop-zoom { flex: 1; display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: var(--soft); }
.crop-zoom input { flex: 1; -webkit-appearance: none; appearance: none; height: 4px; border-radius: 999px; background: var(--pressed); outline: none; cursor: pointer; }
.crop-zoom input::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); border: 3px solid var(--cream); box-shadow: 0 1px 4px rgba(28,24,20,0.3); }
.crop-zoom input::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--ink); border: 3px solid var(--cream); box-shadow: 0 1px 4px rgba(28,24,20,0.3); }
.crop-zoom input:focus-visible { box-shadow: 0 0 0 3px rgba(132,81,65,0.3); }
.crop-change { margin-left: auto; height: 38px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--edge); background: none; font: inherit; font-weight: 600; font-size: 14px; color: var(--ink); cursor: pointer; flex: none; }
.crop-change:hover { border-color: rgba(28,24,20,0.3); }
.crop-change:focus-visible { outline: 2px solid var(--clay); outline-offset: 2px; }
.crop-hint { font-size: 13px; color: var(--soft); margin-top: 8px; }
.crop-file { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* a finished step you can go back to (your pub, from the events pages) */
a.steps-back, .steps a.back { display: flex; align-items: center; gap: 6px; color: var(--soft); text-decoration: none; }
.steps a.back:hover em, .steps a.back:focus-visible em { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.steps a.back:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 6px; }
/* sign in: who it's for */
.head .eb { font-weight: 700; font-size: 13px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--clay); margin: 0 0 12px; }
.not-pub-note { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--edge); }
.not-pub-note a, .link a { color: var(--ink); }
#noPub .btn { margin-top: 4px; }

/* sign up on a phone: a little more room under the top bar, and the tick box,
   button and sign in sit at the bottom of the screen, under your thumb */
@media (max-width: 820px) {
  .head { margin-top: 36px; }
  .page:has(.pin) { min-height: calc(100svh - 64px); display: flex; flex-direction: column; padding-bottom: 28px; }
  .pin { flex: 1; display: flex; flex-direction: column; width: 100%; }
  .pin #form { flex: 1; display: flex; flex-direction: column; }
  .pin #form .tick { margin-top: auto; padding-top: 24px; }
}
.pin .tick { margin: 0 0 18px; }
.pin .link { margin-top: 18px; }

/* says back what they picked: "every monday", "every other friday: 7 nov, 21 nov…" */
.repeat { margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--clay); }
/* the nudge to add another event */
.another { color: var(--soft); font-size: 15px; margin-bottom: 12px; }

/* ─── the admin page ─── */
.admin-top { display: flex; justify-content: space-between; align-items: flex-end; margin: 24px 0 24px; }
.admin-top h1 { font-family: Bric; font-size: 40px; line-height: 1.05; letter-spacing: -0.5px; }
.admin-top .refresh { width: auto; margin: 0; }
.admin .section { margin-top: 36px; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.tile { background: var(--cream-light); border: 1px solid var(--edge); border-radius: 16px; padding: 14px 16px; }
.tile b { display: block; font-family: Bric; font-size: 30px; line-height: 1.1; }
.tile span { font-size: 13px; color: var(--soft); }
.tile.warn b { color: #A72628; }
.a-card { background: var(--cream-light); border: 1px solid var(--edge); border-radius: 22px; overflow: hidden; margin-bottom: 16px; }
.a-card.done { opacity: .6; }
.a-photo { aspect-ratio: 16 / 9; background: var(--cream-shade) center/cover no-repeat; }
.a-body { padding: 18px 20px 20px; }
.a-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.a-row h2 { font-family: Bric; font-size: 26px; line-height: 1.1; font-weight: 400; }
.a-wait { font-size: 13px; font-weight: 700; color: var(--soft); white-space: nowrap; }
.a-wait.late { color: #A72628; }
.a-area { color: var(--soft); font-size: 15px; margin-top: 4px; }
.a-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: 14px; font-weight: 600; }
.a-links a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.a-bad { color: #A72628; }
.a-quote { margin-top: 12px; font-size: 15px; color: var(--ink); }
.a-sub { margin-top: 16px; font-weight: 700; font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--clay); }
.a-events { margin-top: 6px; }
.a-ev { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--edge); }
.a-ev .t { width: 52px; height: 52px; border-radius: 12px; background: var(--cream-shade) center/cover no-repeat; flex: none; }
.a-ev b { display: block; font-size: 15px; }
.a-ev span { display: block; font-size: 14px; color: var(--soft); }
.a-ev em { display: block; font-style: normal; font-size: 13px; color: var(--soft); margin-top: 2px; }
.a-actions { display: flex; gap: 10px; margin-top: 16px; }
.a-actions .btn { flex: 1; height: 48px; }
.a-ok { margin-top: 16px; color: #3E5A31; font-weight: 700; font-size: 15px; }
.a-msg { margin-top: 10px; color: #A72628; font-size: 14px; }
.a-muted { color: var(--soft); font-size: 14px; padding: 8px 0; }
.a-empty { color: var(--soft); padding: 4px 0 8px; }
.a-report { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--edge); }
.a-report b { display: block; font-size: 15px; }
.a-report span { display: block; font-size: 14px; color: var(--soft); }
.a-live { border-top: 1px solid var(--edge); }
.a-live summary { display: flex; align-items: baseline; gap: 10px; padding: 14px 0; cursor: pointer; list-style: none; }
.a-live summary::-webkit-details-marker { display: none; }
.a-live summary b { font-size: 16px; }
.a-live summary span { font-size: 14px; color: var(--soft); }
.a-live .a-count { margin-left: auto; font-weight: 600; color: var(--ink); }
.a-live .a-count.none { color: #A72628; }
.a-live-body { padding: 0 0 14px; }
.a-mail { display: inline-block; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; margin-bottom: 8px; }
.a-step { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--edge); font-size: 15px; }
@media (max-width: 820px) {
  .tiles { grid-template-columns: 1fr 1fr; }
  .admin-top h1 { font-size: 32px; }
  .a-row { flex-direction: column; gap: 2px; }
}
.admin-top .eb { font-weight: 700; font-size: 13px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--clay); margin-bottom: 8px; }
/* phones: pinch to zoom like any photo, so no slider */
.crop-hint .touch { display: none; }
@media (pointer: coarse) {
  .crop-zoom { visibility: hidden; }
  .crop-hint .touch { display: inline; }
  .crop-hint .mouse { display: none; }
}
