:root {
  --ink: #17221c;
  --muted: #627067;
  --paper: #f7f3ea;
  --card: #fffdf8;
  --green: #17643b;
  --green-dark: #0f482a;
  --mint: #dcefe1;
  --orange: #ec7a3a;
  --line: #d9ddd5;
  --danger: #a6352b;
  --shadow: 0 18px 55px rgba(23, 34, 28, .09);
  font-family: Inter, ui-rounded, "SF Pro Rounded", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; overflow-x: hidden; background: radial-gradient(circle at top right, #e2efdf 0, transparent 30rem), var(--paper); }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible, textarea:focus-visible, a:focus-visible { outline: 4px solid rgba(236, 122, 58, .35); outline-offset: 2px; }

.site-header { max-width: 1120px; margin: auto; padding: 24px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; gap: 11px; align-items: center; color: var(--ink); text-decoration: none; font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; color: white; background: var(--green); border-radius: 14px 14px 18px 18px; }
.header-note { color: var(--muted); font-size: 15px; }
main { width: min(100% - 32px, 920px); margin: 38px auto 80px; }
footer { padding: 30px 20px 46px; color: var(--muted); text-align: center; font-size: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.hero { max-width: 760px; margin: 65px auto 40px; text-align: center; }
.eyebrow { margin: 0 0 14px; color: var(--green); font-size: 14px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(40px, 8vw, 72px); line-height: .98; letter-spacing: -.055em; }
.lead { max-width: 630px; margin: 24px auto; color: var(--muted); font-size: clamp(18px, 3vw, 22px); line-height: 1.5; }
.hero-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 18px; margin: 28px 0 36px; color: #405048; }
.hero-points span::before { content: "✓"; margin-right: 7px; color: var(--green); font-weight: 900; }

.card { padding: clamp(22px, 5vw, 42px); background: rgba(255, 253, 248, .95); border: 1px solid rgba(23, 34, 28, .08); border-radius: 28px; box-shadow: var(--shadow); }
.form-card { max-width: 760px; margin: 0 auto; }
.section-title { margin: 0 0 8px; font-size: clamp(26px, 5vw, 36px); letter-spacing: -.035em; }
.section-copy { margin: 0 0 28px; color: var(--muted); font-size: 17px; line-height: 1.5; }
.field { display: grid; gap: 8px; margin: 18px 0; }
.compact-field { margin-top: 10px; }
label { font-weight: 750; }
.optional { color: var(--muted); font-size: 13px; font-weight: 500; }
.field-warning { color: var(--danger); font-size: 13px; line-height: 1.4; }
input, textarea, select { width: 100%; min-height: 54px; padding: 14px 16px; color: var(--ink); background: white; border: 2px solid var(--line); border-radius: 14px; font-size: 17px; }
input[type="date"], input[type="time"], input[type="number"], input[type="search"] { min-width: 0; }
textarea { min-height: 92px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #89928c; }
input:focus, textarea:focus, select:focus { border-color: var(--green); outline: 3px solid rgba(23, 100, 59, .12); }
.rich-text-editor { margin-top: 8px; overflow: hidden; background: white; border: 2px solid var(--line); border-radius: 14px; transition: border-color .15s, box-shadow .15s; }
.rich-text-editor:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px rgba(23, 100, 59, .12); }
.rich-text-toolbar { padding: 7px; display: flex; align-items: center; gap: 6px; background: #f4f1e9; border-bottom: 1px solid var(--line); }
.rich-text-toolbar button { min-width: 40px; min-height: 38px; padding: 7px 11px; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 9px; cursor: pointer; font-size: 14px; }
.rich-text-toolbar button:hover { color: var(--green); border-color: var(--green); }
.rich-text-editor textarea { min-height: 170px; padding: 16px; display: block; overflow: hidden; border: 0; border-radius: 0; outline: 0; line-height: 1.6; resize: none; }
.rich-text-editor textarea:focus { border: 0; outline: 0; }
.rich-text-footer { padding: 0 14px 11px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 12px; }
.rich-text-help { min-width: 0; }
.rich-text-count { flex: 0 0 auto; font-variant-numeric: tabular-nums; }
.grid-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-two > * { min-width: 0; }
.organizer-settings { margin: 18px 0 22px; padding: 18px; background: #f4f1e9; border-radius: 18px; }
.organizer-fields { padding: 0; }
.organizer-fields .field { margin-top: 0; }
.privacy-options { padding-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; border-top: 1px solid var(--line); }
.privacy-option { margin: 0; display: flex; align-items: flex-start; gap: 9px; cursor: pointer; }
.privacy-option input { width: 19px; min-height: 19px; margin-top: 1px; accent-color: var(--green); }
.privacy-option span { display: grid; gap: 3px; }
.privacy-option strong { font-size: 14px; line-height: 1.25; }
.privacy-option small { color: var(--muted); font-size: 12px; font-weight: 500; line-height: 1.35; }
.needs { margin: 28px 0; padding: 22px; background: #edf6ef; border: 1px solid #cfe3d4; border-radius: 20px; }
.needs-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.needs-heading h3 { margin: 0; font-size: 20px; }
.needs-heading p { margin: 5px 0 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.need-row { display: grid; grid-template-columns: 145px 1fr 90px 46px; gap: 10px; margin-top: 12px; }
.need-row input { min-width: 0; }
.need-shift-times { grid-column: 2 / 4; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px; background: #f4f1e9; border-radius: 13px; }
.need-shift-times[hidden] { display: none; }
.need-shift-times label { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.need-shift-times input { min-height: 44px; padding: 9px 10px; font-size: 14px; }
.icon-button { min-width: 46px; border: 0; border-radius: 13px; color: var(--danger); background: #f9e8e4; cursor: pointer; font-size: 22px; }

.button { min-height: 54px; padding: 14px 22px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 15px; color: white; background: var(--green); box-shadow: 0 8px 20px rgba(23, 100, 59, .18); cursor: pointer; text-decoration: none; font-weight: 800; font-size: 17px; }
.button:hover { background: var(--green-dark); transform: translateY(-1px); }
.button:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.button.secondary { color: var(--green); background: var(--mint); box-shadow: none; }
.button.ghost { color: var(--ink); background: transparent; border: 2px solid var(--line); box-shadow: none; }
.button.danger { color: var(--danger); background: #f9e8e4; box-shadow: none; }
.button.full { width: 100%; }
.button.large { min-height: 62px; font-size: 19px; }
.add-button { min-height: 48px; margin-top: 10px; padding: 10px 4px; color: var(--green); background: transparent; border: 0; cursor: pointer; font-weight: 800; }

.event-head { margin: 38px 0 28px; text-align: center; }
.event-head h1 { font-size: clamp(36px, 7vw, 60px); }
.event-meta { margin: 18px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; color: var(--muted); }
.event-meta span { padding: 8px 13px; background: rgba(255,255,255,.65); border-radius: 999px; }
.event-organizer { margin: 14px 0 0; color: var(--muted); font-size: 16px; }
.event-organizer strong { color: var(--ink); }
.admin-summary { max-width: 520px; margin: 16px auto 0; padding: 9px 13px; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); background: rgba(255,255,255,.62); border: 1px solid rgba(23,34,28,.07); border-radius: 13px; font-size: 13px; }
.admin-summary strong { color: var(--ink); font-size: 15px; }
.event-message { position: relative; max-width: 700px; margin: 30px auto 34px; padding: 28px 32px 24px; overflow: hidden; background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(255,252,244,.96)); border: 1px solid rgba(23, 100, 59, .13); border-radius: 7px 24px 24px 24px; box-shadow: 0 18px 45px rgba(23, 34, 28, .08); text-align: left; }
.event-message::before { content: ""; position: absolute; top: 0; left: 0; width: 86px; height: 5px; background: var(--orange); border-radius: 0 0 8px 0; }
.event-message::after { content: ""; position: absolute; right: -19px; bottom: -24px; width: 90px; height: 90px; border: 1px solid rgba(23, 100, 59, .09); border-radius: 50%; }
.event-message-heading { position: relative; z-index: 1; display: flex; align-items: center; gap: 13px; margin-bottom: 18px; }
.event-message-icon { flex: 0 0 auto; width: 42px; height: 42px; display: grid; place-items: center; color: white; background: var(--green); border-radius: 50%; font-size: 19px; }
.event-message-heading span:not(.event-message-icon) { display: block; margin-bottom: 2px; color: var(--green); font-size: 12px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.event-message-heading h2 { margin: 0; font-size: 21px; line-height: 1.15; letter-spacing: -.02em; }
.event-message-text { position: relative; z-index: 1; color: #34423a; font-size: 16px; line-height: 1.68; overflow-wrap: anywhere; }
.event-message-text p { margin: 0 0 1em; }
.event-message-text p:last-child { margin-bottom: 0; }
.event-message-text ul { margin: .5em 0 1em; padding-left: 1.35em; }
.event-message-text li + li { margin-top: .3em; }
.event-message.is-collapsible:not(.is-expanded) .event-message-text { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 6; }
.event-message.is-collapsible:not(.is-expanded) .event-message-text::after { content: ""; position: absolute; inset: auto 0 0; height: 55px; background: linear-gradient(transparent, #fffdf8); pointer-events: none; }
.event-message-toggle { position: relative; z-index: 2; min-height: 44px; margin: 17px 0 -5px; padding: 8px 0; color: var(--green); background: transparent; border: 0; cursor: pointer; font-weight: 850; font-size: 15px; }
.event-message-toggle:hover { color: var(--green-dark); }
.event-message-toggle span { display: inline-block; margin-left: 5px; }
.progress-wrap { max-width: 650px; margin: 30px auto; }
.progress-label { display: flex; justify-content: space-between; margin-bottom: 9px; font-weight: 750; }
.progress { height: 12px; overflow: hidden; background: #dce0d9; border-radius: 99px; }
.progress > div { height: 100%; background: linear-gradient(90deg, var(--green), #54a46c); border-radius: inherit; transition: width .4s ease; }
.own-signups { margin: 24px 0 30px; padding: 15px; display: grid; grid-template-columns: minmax(155px, .55fr) 1.45fr; gap: 16px; align-items: center; color: var(--ink); background: #edf6ef; border: 1px solid #cfe3d4; border-radius: 16px; }
.own-signups .eyebrow { margin-bottom: 5px; font-size: 10px; }
.own-signups h2 { margin: 0 0 3px; font-size: 19px; }
.own-signups > div:first-child > p:last-child { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.35; }
.own-signup-list { display: grid; gap: 8px; }
.own-signup-row { min-width: 0; padding: 12px 12px 12px 14px; display: flex; align-items: center; justify-content: space-between; gap: 14px; background: white; border-radius: 13px; }
.own-signup-row > span { min-width: 0; }
.own-signup-row strong, .own-signup-row small { display: block; overflow-wrap: anywhere; }
.own-signup-row small { margin-top: 3px; color: var(--muted); }
.own-signup-time { display: block; margin-top: 3px; color: #86501f; font-size: 13px; font-weight: 750; }
.own-signup-remove { min-height: 42px; padding: 8px 11px; flex: 0 0 auto; color: var(--danger); background: #fff2ef; border: 0; border-radius: 10px; cursor: pointer; font-weight: 800; }
.own-signup-remove span { margin-right: 4px; font-size: 18px; line-height: 1; }
.own-signup-remove:disabled { opacity: .55; }
.choice-section { margin-top: 42px; }
.choice-section.shift-section { margin-top: 52px; padding-top: 34px; border-top: 1px solid var(--line); }
.choice-kicker { margin: 0 0 5px; color: var(--green); font-size: 12px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.choice-title { margin: 0 0 18px; font-size: 24px; }
.choice-grid { display: grid; grid-template-columns: 1fr; gap: 7px; }
.choice { min-height: 0; overflow: hidden; color: var(--ink); background: var(--card); border: 2px solid transparent; border-radius: 14px; box-shadow: 0 5px 18px rgba(23, 34, 28, .05); }
.choice:hover:has(.choice-select:not(:disabled)) { border-color: var(--green); transform: translateY(-2px); }
.choice:has(.choice-select:disabled) { color: var(--muted); background: #eaede8; box-shadow: none; }
.choice-select { width: 100%; padding: 13px 15px 7px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px 12px; align-items: center; color: inherit; background: transparent; border: 0; cursor: pointer; text-align: left; }
.choice-select:disabled { cursor: default; }
.choice-name { font-size: 17px; font-weight: 850; }
.choice-shift-time, .selected-shift-time, .admin-shift-time { display: block; margin-top: 7px; color: #86501f; font-size: 14px; font-weight: 750; }
.choice-count { grid-column: 2; grid-row: 1 / 3; margin: 0; padding: 7px 10px; display: inline-flex; align-items: baseline; gap: 5px; color: var(--green); background: var(--mint); border-radius: 10px; font-weight: 750; }
.choice-count strong { font-size: 15px; font-variant-numeric: tabular-nums; }
.choice-count small { font-size: 11px; font-weight: 700; }
.choice-select:disabled .choice-count { color: var(--muted); }
.people { margin-top: 0; color: var(--muted); font-size: 12px; line-height: 1.4; }
.choice-people { padding: 0 15px 12px; }
.people-toggle { min-height: 32px; margin: 3px 0 -4px; padding: 4px 0; display: block; color: var(--green); background: transparent; border: 0; cursor: pointer; font-size: 12px; font-weight: 800; }
.closed { padding: 24px; margin: 25px 0; text-align: center; background: #f4dfd9; border-radius: 20px; color: #722a23; font-weight: 750; }

.back { color: var(--green); font-weight: 750; text-decoration: none; }
.signup-card { max-width: 560px; margin: 50px auto; }
.selected { margin: 20px 0 26px; padding: 18px; background: var(--mint); border-radius: 16px; }
.selected strong { display: block; font-size: 20px; }
.actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 24px; }

.success { max-width: 620px; margin: 70px auto; text-align: center; }
.success-icon { width: 82px; height: 82px; margin: 0 auto 24px; display: grid; place-items: center; color: white; background: var(--green); border-radius: 50%; font-size: 42px; }
.link-box { margin: 18px 0; padding: 20px; background: #f4f1e9; border-radius: 18px; }
.link-box label { display: block; margin-bottom: 9px; }
.copy-row { display: flex; gap: 9px; }
.copy-row input { font-size: 14px; }
.admin-link-box > input { font-size: 14px; }
.admin-link-box > p { margin: 12px 0 0; color: var(--muted); font-size: 13px; }
.secure-link-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 10px; }
.admin-link-tools { margin: 22px 0; padding: 24px; display: grid; grid-template-columns: minmax(190px, .7fr) 1.5fr; align-items: center; gap: 24px; }
.admin-link-tools h2 { margin: 0 0 6px; font-size: 22px; }
.admin-link-tools p { margin: 0; color: var(--muted); }
.admin-link-tool-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.admin-link-tool-actions .button { min-width: 0; padding-left: 12px; padding-right: 12px; font-size: 15px; }
.saved-lists { max-width: 760px; margin: 0 auto 24px; padding: 22px; background: #17221c; border-radius: 24px; color: white; box-shadow: var(--shadow); }
.saved-lists .eyebrow { color: #9bd1ab; }
.saved-lists-head { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.saved-lists-head h2 { margin: 0; font-size: 25px; }
.saved-lists-head > span { min-width: 38px; height: 38px; display: grid; place-items: center; color: #17221c; background: #dcefe1; border-radius: 50%; font-weight: 850; }
.saved-list-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 17px; }
.saved-list { min-width: 0; padding: 15px; color: white; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.12); border-radius: 15px; text-decoration: none; }
.saved-list strong, .saved-list span { display: block; overflow-wrap: anywhere; }
.saved-list span { margin-top: 5px; color: #c3cec7; font-size: 13px; }
.saved-note { margin: 14px 0 0; color: #c3cec7; font-size: 13px; line-height: 1.45; }

.admin-bar { margin: -28px 0 16px; padding: 12px 13px 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #17221c; border-radius: 17px; color: white; box-shadow: 0 8px 24px rgba(23, 34, 28, .08); }
.admin-bar-heading { flex: 0 0 auto; }
.admin-bar strong { font-size: 14px; }
.admin-bar p { margin: 2px 0 0; color: #c3cec7; font-size: 12px; line-height: 1.3; }
.admin-bar-actions { display: flex; justify-content: flex-end; align-items: center; flex-wrap: wrap; gap: 7px; }
.admin-bar-link { min-height: 38px; padding: 8px 12px; display: inline-flex; align-items: center; justify-content: center; color: white; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.13); border-radius: 10px; cursor: pointer; font: inherit; font-size: 12px; font-weight: 750; line-height: 1.1; text-decoration: none; white-space: nowrap; }
.admin-bar-link:hover { background: rgba(255,255,255,.17); }
.admin-bar-secondary { color: #cbd5ce; background: transparent; }
.admin-bar .button { min-height: 38px; padding: 8px 12px; border-radius: 10px; box-shadow: none; font-size: 12px; }
.admin-event-edit { margin: 0 0 24px; padding: 0; overflow: hidden; }
.admin-event-edit summary { padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; cursor: pointer; list-style: none; }
.admin-event-edit summary::-webkit-details-marker { display: none; }
.admin-event-edit summary:hover { background: #fbfaf6; }
.admin-event-edit summary:focus-visible { outline: 3px solid rgba(21, 109, 61, .25); outline-offset: -3px; }
.admin-event-edit-copy h2 { margin: 0 0 9px; font-size: 25px; line-height: 1.15; }
.admin-event-edit-copy > p:last-child { margin: 0; color: var(--muted); line-height: 1.5; }
.admin-event-edit-toggle { min-width: 112px; min-height: 42px; padding: 8px 12px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: var(--green); background: var(--mint); border-radius: 12px; font-size: 13px; font-weight: 850; }
.admin-event-edit-toggle span { font-size: 20px; line-height: .7; transition: transform .2s ease; }
.admin-event-edit[open] .admin-event-edit-toggle span { transform: rotate(180deg); }
.admin-event-edit form { padding: 24px; border-top: 1px solid var(--line); background: #fffefa; }
.admin-event-edit form .field:first-child { margin-top: 0; }
.admin-event-edit form .button { width: 100%; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin: 24px 0; }
.stat { padding: 20px; background: var(--card); border-radius: 18px; }
.stat strong { display: block; font-size: 30px; }
.stat span { color: var(--muted); }
.add-item-card { margin: 24px 0 8px; display: grid; grid-template-columns: minmax(190px, .8fr) 1.5fr; gap: 30px; align-items: center; }
.add-item-card h2 { margin: 0 0 7px; font-size: 23px; }
.add-item-card p { margin: 0; color: var(--muted); line-height: 1.45; }
.add-item-card .field { margin: 0; }
.admin-add-fields { display: grid; grid-template-columns: 150px 1fr 105px; gap: 12px; margin-bottom: 12px; }
.admin-shift-times { grid-column: 2 / 4; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 12px; background: #f4f1e9; border-radius: 14px; }
.admin-shift-times[hidden], .edit-shift-times[hidden] { display: none; }
.admin-shift-times .field { margin: 0; }
.add-item-card form > .button { width: 100%; }
.admin-list-heading { margin: 40px 0 14px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.admin-list-heading h2 { margin: 0; font-size: 26px; }
.admin-list-controls { display: flex; align-items: center; gap: 9px; }
.admin-category-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; padding: 5px; background: #e7e9e3; border-radius: 15px; }
.admin-category-tabs button { min-height: 46px; padding: 9px 14px; color: var(--muted); background: transparent; border: 0; border-radius: 11px; cursor: pointer; font-weight: 800; }
.admin-category-tabs button.active { color: var(--ink); background: white; box-shadow: 0 4px 14px rgba(23, 34, 28, .08); }
.admin-category-tabs span { min-width: 23px; height: 23px; margin-left: 5px; display: inline-grid; place-items: center; color: var(--green); background: var(--mint); border-radius: 50%; font-size: 12px; }
.admin-list { margin-top: 22px; overflow: hidden; background: var(--card); border-radius: 22px; }
.admin-list [hidden] { display: none; }
.admin-category-empty { padding: 34px 20px; color: var(--muted); text-align: center; }
.admin-item { padding: 20px; border-bottom: 1px solid var(--line); }
.admin-item:last-child { border-bottom: 0; }
.admin-item { padding: 10px 13px; }
.admin-item-head { align-items: center; }
.drag-handle { width: 34px; min-height: 38px; }
.item-category { display: none; }
.admin-item h3 { font-size: 16px; }
.item-count, .admin-shift-time { margin-top: 2px; font-size: 12px; }
.edit-small, .delete-small { min-height: 38px; padding: 7px 9px; font-size: 13px; }
.signup-line { padding-top: 7px; font-size: 12px; }
.admin-item-head { display: flex; justify-content: space-between; gap: 14px; }
.admin-item-head[hidden] { display: none; }
.admin-item-main { display: flex; align-items: flex-start; gap: 13px; }
.drag-handle { flex: 0 0 auto; width: 42px; min-height: 48px; padding: 0; color: var(--muted); background: #f0f1ec; border: 0; border-radius: 12px; cursor: grab; font-size: 21px; font-weight: 900; letter-spacing: -5px; }
.drag-handle:active { cursor: grabbing; }
.admin-item.is-dragging { opacity: .55; background: var(--mint); box-shadow: inset 0 0 0 2px var(--green); }
.mobile-order-actions { display: none; }
.admin-item h3 { margin: 0; }
.item-category { display: inline-block; margin-bottom: 7px; padding: 4px 8px; color: var(--green); background: var(--mint); border-radius: 999px; font-size: 11px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.item-category.shift { color: #86501f; background: #f8e7d5; }
.item-count { display: inline-block; margin-top: 5px; color: var(--muted); font-size: 14px; }
.item-actions { display: flex; align-items: flex-start; gap: 5px; }
.edit-small, .delete-small { min-height: 44px; padding: 9px 12px; background: transparent; border: 0; border-radius: 10px; cursor: pointer; font-weight: 750; }
.edit-small { color: var(--green); }
.signup-line { padding: 13px 0 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); }
.signup-more { margin-top: 8px; padding-top: 3px; border-top: 1px dashed var(--line); }
.signup-more summary { min-height: 38px; padding: 8px 0; display: flex; align-items: center; color: var(--green); cursor: pointer; font-size: 12px; font-weight: 800; list-style: none; }
.signup-more summary::-webkit-details-marker { display: none; }
.signup-more summary::after { content: "⌄"; margin-left: 6px; font-size: 16px; }
.signup-more[open] summary::after { transform: rotate(180deg); }
.delete-small { color: var(--danger); background: #fff5f2; }
.admin-list .admin-item { padding: 10px 13px; }
.admin-list .admin-item-head { align-items: center; }
.admin-list .drag-handle { width: 34px; min-height: 38px; }
.admin-list .item-category { display: none; }
.admin-list .admin-item h3 { font-size: 16px; }
.admin-list .item-count, .admin-list .admin-shift-time { margin-top: 2px; font-size: 12px; }
.admin-list .edit-small, .admin-list .delete-small { min-height: 38px; padding: 7px 9px; font-size: 13px; }
.admin-list .signup-line { padding-top: 7px; font-size: 12px; }
.edit-item-form { margin: 0 0 18px; padding: 18px; background: #f4f1e9; border-radius: 16px; }
.edit-item-form[hidden] { display: none; }
.edit-item-form .field { margin: 0; }
.edit-shift-times { grid-column: 1 / -1; width: 100%; display: grid; grid-template-columns: repeat(2, minmax(170px, 220px)); gap: 12px; margin-top: 2px; padding: 14px; background: #ebe9e1; border-radius: 14px; }
.edit-shift-times .field { min-width: 0; }
.edit-shift-times input[type="time"] { min-width: 170px; width: 100%; padding-right: 14px; font-variant-numeric: tabular-nums; }
.edit-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.edit-actions .button { min-height: 45px; padding: 10px 15px; font-size: 15px; }
.empty { padding: 35px; color: var(--muted); text-align: center; }
.master-login { max-width: 500px; margin: 90px auto; }
.login-error { margin-bottom: 18px; padding: 13px 15px; color: #722a23; background: #f4dfd9; border-radius: 12px; }
.master-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 25px; margin-bottom: 26px; }
.master-head h1 { font-size: clamp(40px, 7vw, 64px); }
.master-head p:last-child { margin: 13px 0 0; color: var(--muted); font-size: 18px; }
.master-stats { margin-bottom: 26px; }
.master-tabs { margin: 0 0 20px; padding: 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; background: #e8ede5; border: 1px solid #dbe3d8; border-radius: 22px; box-shadow: inset 0 1px 0 rgba(255,255,255,.65); }
.master-tabs .master-tab { appearance: none; -webkit-appearance: none; min-width: 0; min-height: 58px; padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--ink); background: rgba(255,255,255,.58); border: 0; border-radius: 16px; cursor: pointer; font: inherit; font-weight: 850; text-align: left; text-decoration: none; box-shadow: 0 1px 0 rgba(255,255,255,.75); }
.master-tabs .master-tab.active { color: white; background: var(--green); box-shadow: 0 10px 22px rgba(24,82,51,.18); }
.master-tabs .master-tab strong { min-width: 32px; height: 32px; display: inline-grid; place-items: center; color: var(--green); background: white; border-radius: 999px; font-size: 14px; line-height: 1; }
.master-tabs .master-tab.active strong { color: var(--green); background: #f7fff8; }
.master-toolbar { margin: 22px 0; padding: 20px; background: var(--card); border-radius: 18px; }
.master-toolbar label { display: block; margin-bottom: 9px; }
.master-events { display: grid; gap: 18px; }
.master-event { padding: 26px; }
.master-event-view[hidden], .master-event-edit[hidden], .master-event[hidden] { display: none; }
.master-event-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.master-event h2 { margin: 8px 0 0; font-size: 27px; }
.status-pill { display: inline-block; padding: 6px 10px; color: var(--green); background: var(--mint); border-radius: 999px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.status-pill.closed-pill { color: #722a23; background: #f4dfd9; }
.master-event-actions { display: flex; gap: 8px; }
.master-event-actions .button { min-height: 44px; padding: 9px 14px; font-size: 14px; }
.master-event-meta, .master-event-numbers { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; color: var(--muted); }
.master-event-numbers { padding: 15px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.master-event-numbers strong { color: var(--ink); }
.master-shifts { margin-top: 14px; padding: 14px; display: grid; gap: 5px; color: var(--muted); background: #f4f1e9; border-radius: 13px; font-size: 14px; }
.master-shifts strong { color: var(--ink); margin-bottom: 2px; }
.master-shopping .master-shifts span { overflow-wrap: anywhere; }
.switch-row { margin: 18px 0; display: flex; align-items: center; gap: 11px; cursor: pointer; }
.switch-row input { width: 22px; min-height: 22px; }
.loading, .error { padding: 70px 20px; text-align: center; }
.error h1 { font-size: 36px; }
.toast { position: fixed; left: 50%; bottom: 25px; z-index: 10; padding: 13px 18px; color: white; background: #17221c; border-radius: 12px; box-shadow: var(--shadow); opacity: 0; transform: translate(-50%, 20px); pointer-events: none; transition: .25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.shopping-hero { max-width: 720px; margin: 42px auto 30px; text-align: center; }
.shopping-hero .back, .shopping-list-head .back { display: inline-block; margin-bottom: 28px; }
.shopping-hero h1, .shopping-list-head h1 { font-size: clamp(38px, 8vw, 64px); }
.shopping-create-card { max-width: 680px; margin: 0 auto; }
.shopping-create-items { margin: 24px 0 28px; padding: 19px; background: #edf6ef; border: 1px solid #cfe3d4; border-radius: 19px; }
.shopping-create-heading { margin-bottom: 11px; display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.shopping-create-heading strong { font-size: 18px; }
.shopping-create-heading span { color: var(--muted); font-size: 13px; }
.shopping-create-row { display: grid; grid-template-columns: minmax(0, 1fr) 48px; gap: 8px; margin-top: 8px; }
.shopping-row-remove { min-width: 48px; color: var(--danger); background: #fff2ef; border: 0; border-radius: 13px; cursor: pointer; font-size: 21px; }
.shopping-saved { max-width: 680px; margin: 0 auto 22px; padding: 18px; display: grid; grid-template-columns: minmax(150px, .65fr) 1.35fr; gap: 18px; align-items: center; color: white; background: #17221c; border-radius: 20px; }
.shopping-saved h2 { margin: 0; font-size: 20px; }
.shopping-saved .eyebrow { margin-bottom: 5px; color: #9bd1ab; font-size: 10px; }
.shopping-saved-links { display: grid; gap: 7px; }
.shopping-saved-links a { min-width: 0; padding: 11px 12px; display: flex; justify-content: space-between; gap: 10px; color: white; background: rgba(255,255,255,.1); border-radius: 12px; text-decoration: none; }
.shopping-saved-links strong { overflow-wrap: anywhere; }
.shopping-saved-links span { color: #b9c9bf; font-size: 13px; }
.shopping-list-head { max-width: 720px; margin: 34px auto 18px; text-align: center; }
.shopping-list-head .eyebrow { margin-bottom: 10px; }
.shopping-list-head > p:last-child { margin: 13px 0 0; color: var(--muted); font-weight: 750; }
.shopping-progress { margin-top: 18px; }
.shopping-list-card { max-width: 700px; margin: 24px auto; padding: 20px; }
.shopping-quick-add { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px; margin-bottom: 17px; }
.shopping-quick-add .button { min-width: 132px; }
.shopping-items { display: grid; gap: 7px; }
.shopping-item { position: relative; min-width: 0; padding: 9px 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; background: #f6f4ee; border: 1px solid transparent; border-radius: 13px; transition: transform .15s, box-shadow .15s, opacity .15s, background .15s, border-color .15s; }
.shopping-items.is-dragging .shopping-item:not(.dragging) { opacity: .72; }
.shopping-item.dragging { z-index: 2; opacity: .9; transform: scale(1.018) rotate(-.25deg); background: #eef6ee; border-color: #bddbc4; box-shadow: 0 14px 30px rgba(23,34,28,.2); }
.shopping-item.drop-before::before, .shopping-item.drop-after::after { content: ""; position: absolute; left: 12px; right: 12px; height: 4px; background: var(--green); border-radius: 999px; box-shadow: 0 0 0 4px rgba(28,118,75,.12); }
.shopping-item.drop-before::before { top: -7px; }
.shopping-item.drop-after::after { bottom: -7px; }
.shopping-drag-handle { width: 34px; min-width: 34px; min-height: 38px; padding: 0; color: #7a867e; background: transparent; border: 0; border-radius: 8px; cursor: grab; font-size: 23px; line-height: 1; touch-action: none; transition: color .15s, background .15s, transform .15s; }
.shopping-drag-handle:hover, .shopping-drag-handle.is-active { color: white; background: var(--green); transform: scale(1.04); }
.shopping-drag-handle:active { cursor: grabbing; background: var(--green); }
.shopping-item label { min-width: 0; flex: 1; display: flex; align-items: center; gap: 11px; cursor: pointer; }
.shopping-item input { position: absolute; width: 1px; min-height: 1px; opacity: 0; pointer-events: none; }
.shopping-check { flex: 0 0 auto; width: 30px; height: 30px; display: grid; place-items: center; color: transparent; background: white; border: 2px solid #aab3ad; border-radius: 9px; font-size: 17px; font-weight: 900; }
.shopping-item strong { min-width: 0; overflow-wrap: anywhere; font-size: 16px; }
.shopping-item.done { background: #edf3ed; }
.shopping-item.done .shopping-check { color: white; background: var(--green); border-color: var(--green); }
.shopping-item.done strong { color: var(--muted); text-decoration: line-through; }
.shopping-order-actions { display: flex; gap: 3px; }
.shopping-order-actions button { width: 32px; min-width: 32px; min-height: 34px; padding: 0; color: var(--green); background: #e8f1e9; border: 0; border-radius: 8px; cursor: pointer; font-size: 17px; font-weight: 900; }
.shopping-order-actions button:disabled { opacity: .3; cursor: default; }
.shopping-delete { min-height: 38px; padding: 7px 9px; flex: 0 0 auto; color: var(--danger); background: #fff2ef; border: 0; border-radius: 9px; cursor: pointer; font-weight: 750; }
.shopping-empty { padding: 30px 15px; color: var(--muted); text-align: center; }
.shopping-share-box { max-width: 700px; margin: 24px auto; padding: 17px; display: grid; grid-template-columns: minmax(150px, .7fr) 1.5fr; align-items: center; gap: 17px; background: #fffdf8; border: 1px solid var(--line); border-radius: 18px; }
.shopping-share-box.admin { background: #edf6ef; border-color: #cfe3d4; }
.shopping-share-box strong, .shopping-share-box span { display: block; }
.shopping-share-box span { margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.4; }
.shopping-share-actions { display: grid; grid-template-columns: 1.35fr .75fr .75fr; gap: 7px; }
.shopping-share-actions .button { min-width: 0; min-height: 48px; padding: 10px 9px; font-size: 13px; text-align: center; }
.button.whatsapp { background: #178b4d; }
.shopping-created { max-width: 700px; margin: 24px auto -12px; padding: 13px 16px; color: #12542f; background: #dcefe1; border-radius: 13px; text-align: center; font-weight: 800; }
.shopping-admin-footer { max-width: 700px; margin: 18px auto; display: flex; justify-content: space-between; gap: 10px; }

@media (max-width: 650px) {
  .site-header { padding: 16px; }
  .brand { gap: 9px; font-size: 19px; }
  .brand-mark { width: 38px; height: 38px; border-radius: 12px 12px 16px 16px; }
  .header-note { display: none; }
  main { width: min(100% - 24px, 920px); margin-top: 12px; margin-bottom: 52px; }
  footer { padding: 22px 16px 34px; font-size: 13px; }
  .hero { margin: 28px auto 28px; }
  h1 { font-size: clamp(34px, 10.5vw, 46px); line-height: 1.02; letter-spacing: -.045em; overflow-wrap: anywhere; }
  .hero .lead { margin: 18px auto; font-size: 18px; line-height: 1.45; }
  .eyebrow { margin-bottom: 10px; font-size: 12px; letter-spacing: .09em; }
  .hero-points { margin: 20px 0 26px; gap: 8px 14px; font-size: 14px; }
  .section-title { font-size: 28px; line-height: 1.08; }
  .section-copy { margin-bottom: 22px; font-size: 16px; }
  .grid-two, .choice-grid, .stat-grid, .add-item-card, .admin-link-tools, .admin-event-edit { grid-template-columns: 1fr; }
  .privacy-options { grid-template-columns: 1fr; gap: 11px; }
  .card { padding: 22px 18px; border-radius: 20px; }
  .field { margin: 15px 0; }
  label { font-size: 15px; }
  input, textarea, select { min-height: 56px; padding: 14px; border-radius: 13px; font-size: 16px; }
  input[type="date"], input[type="time"] { display: block; width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; overflow: hidden; }
  input[type="date"]::-webkit-date-and-time-value, input[type="time"]::-webkit-date-and-time-value { min-width: 0; text-align: left; }
  input[type="date"]::-webkit-datetime-edit, input[type="time"]::-webkit-datetime-edit { min-width: 0; max-width: 100%; overflow: hidden; }
  textarea { min-height: 104px; }
  .rich-text-editor textarea { min-height: 190px; padding: 15px; }
  .rich-text-toolbar button { min-height: 42px; }
  .rich-text-footer { align-items: flex-start; flex-direction: column; gap: 4px; }
  .needs { margin-top: 22px; padding: 18px 14px; }
  .need-row { grid-template-columns: minmax(0, 1fr) 72px 50px; gap: 8px; }
  .need-category { grid-column: 1 / -1; }
  .need-shift-times { grid-column: 1 / -1; }
  .need-row input { padding-left: 12px; padding-right: 12px; }
  .icon-button { min-width: 50px; min-height: 56px; }
  .button { min-height: 54px; padding: 13px 16px; font-size: 16px; }
  .button.large { min-height: 60px; font-size: 17px; }
  .event-head { margin: 27px 0 22px; }
  .event-head h1 { font-size: clamp(32px, 10vw, 44px); line-height: 1.04; }
  .event-meta { margin-top: 14px; gap: 8px; font-size: 14px; }
  .event-meta span { max-width: 100%; padding: 8px 11px; overflow-wrap: anywhere; }
  .event-message { margin: 22px 0 28px; padding: 24px 19px 19px; border-radius: 6px 20px 20px 20px; }
  .event-message-heading { align-items: flex-start; gap: 11px; margin-bottom: 15px; }
  .event-message-icon { width: 38px; height: 38px; font-size: 17px; }
  .event-message-heading h2 { font-size: 19px; }
  .event-message-text { font-size: 15.5px; line-height: 1.62; }
  .event-message.is-collapsible:not(.is-expanded) .event-message-text { -webkit-line-clamp: 5; }
  .event-message-toggle { width: 100%; min-height: 48px; margin-top: 13px; text-align: left; }
  .progress-wrap { margin: 24px 0 30px; }
  .own-signups { margin: 20px 0 24px; padding: 13px; grid-template-columns: 1fr; gap: 10px; }
  .own-signups > div:first-child { padding-bottom: 8px; border-bottom: 1px solid #cfe3d4; }
  .own-signups > div:first-child > p:last-child { display: none; }
  .own-signup-row { padding: 9px 10px; gap: 8px; }
  .own-signup-remove { min-height: 38px; padding: 7px 9px; font-size: 13px; }
  .progress-label { gap: 12px; font-size: 14px; }
  .choice-section { margin-top: 32px; }
  .choice-section.shift-section { margin-top: 38px; padding-top: 28px; }
  .choice-title { margin: 0 0 14px; font-size: 22px; line-height: 1.2; }
  .choice-grid { gap: 7px; }
  .choice { padding: 12px 13px; border-radius: 13px; }
  .choice-name { font-size: 16px; overflow-wrap: anywhere; }
  .people { margin-top: 0; overflow-wrap: anywhere; }
  .signup-card { margin: 28px auto; }
  .selected { margin: 18px 0 22px; }
  .success { margin: 35px auto; }
  .success-icon { width: 68px; height: 68px; margin-bottom: 18px; font-size: 34px; }
  .actions { display: grid; grid-template-columns: 1fr; gap: 9px; margin-top: 18px; }
  .actions .button { width: 100%; }
  .admin-bar { margin-top: -4px; padding: 13px; align-items: stretch; flex-direction: column; gap: 10px; }
  .admin-bar-heading { min-width: 0; }
  .admin-bar p { display: none; }
  .admin-bar-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .admin-bar-link { min-width: 0; min-height: 40px; padding: 7px 5px; font-size: 11px; white-space: normal; text-align: center; }
  .admin-bar .button { width: auto; min-height: 40px; padding: 7px 6px; font-size: 11px; }
  .admin-event-edit summary { padding: 19px 17px; align-items: flex-start; gap: 12px; }
  .admin-event-edit-copy h2 { font-size: 21px; }
  .admin-event-edit-copy > p:last-child { font-size: 13px; }
  .admin-event-edit-toggle { min-width: 44px; width: 44px; min-height: 44px; padding: 0; font-size: 0; }
  .admin-event-edit-toggle span { font-size: 22px; }
  .admin-event-edit form { padding: 20px 16px; }
  .copy-row { flex-direction: column; }
  .link-box { padding: 16px; }
  .link-box input { font-size: 13px; }
  .secure-link-actions, .admin-link-tool-actions { grid-template-columns: 1fr; }
  .secure-link-actions .button, .admin-link-tool-actions .button { width: 100%; }
  .admin-link-tools { gap: 17px; padding: 20px 16px; }
  .saved-lists { padding: 20px 16px; border-radius: 20px; }
  .saved-list-grid { grid-template-columns: 1fr; }
  .saved-list { min-height: 68px; display: flex; flex-direction: column; justify-content: center; }
  .stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .stat { min-width: 0; padding: 15px 10px; text-align: center; }
  .stat strong { font-size: 25px; }
  .stat span { display: block; margin-top: 4px; font-size: 12px; line-height: 1.2; overflow-wrap: anywhere; }
  .add-item-card { gap: 18px; }
  .admin-list-heading { margin-top: 34px; align-items: stretch; flex-direction: column; gap: 13px; }
  .admin-list-controls { align-items: stretch; }
  .admin-category-tabs { width: 100%; }
  .admin-category-tabs button { min-width: 0; padding-left: 8px; padding-right: 8px; font-size: 14px; }
  .admin-add-fields { grid-template-columns: minmax(0, 1fr) 82px; gap: 8px; }
  .admin-add-fields .category-field { grid-column: 1 / -1; }
  .admin-shift-times { grid-column: 1 / -1; }
  .admin-item { padding: 10px 12px; }
  .admin-item-head { align-items: center; flex-direction: row; }
  .drag-handle { display: none; }
  .mobile-order-actions { margin-top: 6px; display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
  .mobile-order-actions button { min-height: 34px; padding: 5px 7px; color: var(--green); background: var(--mint); border: 0; border-radius: 9px; font-size: 12px; font-weight: 800; }
  .admin-item h3 { overflow-wrap: anywhere; }
  .item-actions { display: flex; width: auto; gap: 4px; }
  .edit-small { background: var(--mint); }
  .signup-line { align-items: center; flex-direction: row; gap: 6px; padding-top: 7px; overflow-wrap: anywhere; }
  .signup-line .delete-small { width: auto; }
  .edit-item-form { margin-bottom: 12px; padding: 15px; }
  .edit-shift-times { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 12px; }
  .edit-shift-times input[type="time"] { min-width: 0; padding-left: 12px; padding-right: 10px; font-size: 16px; }
  .edit-actions .button { width: 100%; }
  .master-login { margin: 42px auto; }
  .master-head, .master-event-top { flex-direction: column; }
  .master-head { gap: 18px; margin-bottom: 20px; }
  .master-head h1 { font-size: 38px; line-height: 1.04; }
  .master-head p:last-child { font-size: 16px; }
  .master-head .button, .master-event-actions { width: 100%; }
  .master-tabs { grid-template-columns: 1fr; }
  .master-tabs .master-tab { min-height: 46px; }
  .master-toolbar { padding: 16px; }
  .master-events { gap: 14px; }
  .master-event { padding: 20px 16px; }
  .master-event h2 { font-size: 24px; line-height: 1.15; overflow-wrap: anywhere; }
  .master-event-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .master-event-actions .button { min-height: 50px; font-size: 15px; }
  .master-event-meta { display: grid; grid-template-columns: 1fr; gap: 7px; font-size: 14px; }
  .master-event-numbers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; text-align: center; }
  .master-event-numbers span { font-size: 12px; }
  .master-event-numbers strong { display: block; font-size: 21px; }
  .switch-row { align-items: flex-start; line-height: 1.35; }
  .toast { width: calc(100% - 32px); bottom: 16px; text-align: center; }
  .shopping-hero { margin: 24px auto 22px; }
  .shopping-hero .back, .shopping-list-head .back { margin-bottom: 22px; }
  .shopping-hero h1, .shopping-list-head h1 { font-size: 38px; line-height: 1.03; }
  .shopping-saved { padding: 15px; grid-template-columns: 1fr; gap: 11px; }
  .shopping-create-items { padding: 14px; }
  .shopping-create-heading { align-items: flex-start; flex-direction: column; gap: 3px; }
  .shopping-list-card { padding: 14px; }
  .shopping-quick-add { grid-template-columns: minmax(0, 1fr) 104px; gap: 7px; }
  .shopping-quick-add .button { min-width: 0; padding-left: 9px; padding-right: 9px; font-size: 14px; }
  .shopping-item { padding: 8px 7px; gap: 6px; }
  .shopping-drag-handle { width: 30px; min-width: 30px; }
  .shopping-order-actions { display: grid; gap: 2px; }
  .shopping-order-actions button { width: 30px; min-width: 30px; min-height: 27px; font-size: 15px; }
  .shopping-check { width: 29px; height: 29px; }
  .shopping-delete { min-height: 36px; padding: 6px 8px; font-size: 12px; }
  .shopping-share-box { padding: 15px; grid-template-columns: 1fr; gap: 12px; }
  .shopping-share-actions { grid-template-columns: 1fr 1fr; }
  .shopping-share-actions .whatsapp { grid-column: 1 / -1; }
  .shopping-admin-footer { display: grid; grid-template-columns: 1fr; }
  .shopping-admin-footer .button { width: 100%; }
}

@media (max-width: 360px) {
  main { width: min(100% - 16px, 920px); }
  .site-header { padding: 12px; }
  .card { padding-left: 14px; padding-right: 14px; }
  h1 { font-size: 32px; }
  .need-row { grid-template-columns: minmax(0, 1fr) 66px 48px; gap: 6px; }
  .admin-add-fields { grid-template-columns: 1fr; }
  .edit-shift-times { grid-template-columns: 1fr; }
  .stat { padding: 13px 6px; }
  .stat strong { font-size: 23px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
