:root { color-scheme: light; --forest: #082d20; --deep: #05261b; --lime: #c4ff32; --paper: #f3f4ed; --ink: #12392a; --muted: #687b6f; --line: #183d2416; font-family: Inter, Arial, Helvetica, sans-serif; -webkit-text-size-adjust: 100%; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 14px; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { color: inherit; cursor: pointer; }
a { text-decoration: none; color: inherit; }
button:disabled { cursor: not-allowed; opacity: .55; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #639218; outline-offset: 3px; }
[hidden] { display: none !important; }
.admin-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ai { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.admin-skip { position: fixed; top: -100px; left: 14px; z-index: 30; padding: 14px; background: var(--lime); border-radius: 12px; font-weight: 700; }
.admin-skip:focus { top: 12px; }
.admin-sidebar { display: none; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 81px; padding: calc(12px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) 12px max(12px, env(safe-area-inset-left, 0px)); border-bottom: 1px solid var(--line); background: #fbfcf7; }
.topbar-left, .topbar-tools { display: flex; align-items: center; gap: 10px; }
.icon-button { display: inline-grid; place-items: center; min-width: 44px; width: 44px; min-height: 44px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); background: #ffffff80; }
.mobile-wordmark { font-size: 12px; letter-spacing: .13em; font-weight: 800; white-space: nowrap; }
.mobile-wordmark span { display: block; margin-top: 4px; font-size: 8px; letter-spacing: .19em; font-weight: 500; color: var(--muted); }
.admin-breadcrumb, .topbar-view { display: none; }
.preview-badge { display: flex; align-items: center; gap: 5px; font-size: 8px; letter-spacing: .05em; font-weight: 700; color: #62733f; max-width: 73px; line-height: 1.4; }
.preview-badge i, .workspace-dot { width: 6px; height: 6px; border-radius: 50%; background: #8fbd21; flex: 0 0 auto; }
.admin-content { max-width: 1460px; margin-inline: auto; padding: 25px max(17px, env(safe-area-inset-right, 0px)) 0 max(17px, env(safe-area-inset-left, 0px)); outline: none; }
.page-heading { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 23px; }
.eyebrow { margin: 0 0 8px; font-size: 9px; line-height: 1.5; font-weight: 700; letter-spacing: .17em; color: #78903e; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(31px, 8vw, 44px); font-weight: 650; line-height: 1.1; letter-spacing: -.05em; }
h1 > span { color: #8bbc1e; }
.page-heading p:not(.eyebrow) { color: var(--muted); font-size: 12px; line-height: 1.65; max-width: 560px; margin: 10px 0 0; }
.primary-button, .secondary-button, .text-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 10px 16px; border: 1px solid transparent; border-radius: 13px; font-size: 12px; font-weight: 650; line-height: 1.4; }
.primary-button { color: #183824; background: var(--lime); }
.secondary-button { color: var(--ink); background: #fff9; border-color: #183d2422; }
.text-button { padding-inline: 0; background: transparent; }
.text-button .ai { width: 17px; height: 17px; }
.dark-button { background: var(--forest); color: #fff; }
.button-row { display: flex; gap: 9px; flex-wrap: wrap; }
.metric-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 19px; }
.metric { padding: 16px 13px; border: 1px solid var(--line); border-radius: 20px; background: #fff9; min-width: 0; }
.metric-top { display: flex; align-items: center; justify-content: space-between; gap: 5px; color: #53705a; font-size: 10px; }
.metric-top .ai { height: 17px; width: 17px; }
.metric strong { display: block; margin: 14px 0 4px; font-size: clamp(26px, 7vw, 36px); font-weight: 650; line-height: 1; letter-spacing: -.05em; white-space: nowrap; }
.metric small { color: #617260; font-size: 9px; line-height: 1.5; }
.metric.lime { background: #e0f7a8; border-color: #cedf9e; }
.metric.blue { background: #e2edf1; border-color: #d1e0e4; }
.metric.sand { background: #efeada; border-color: #e5deca; }
.overview-feature { display: grid; gap: 15px; }
.admin-round-hero { position: relative; isolation: isolate; overflow: hidden; min-height: 320px; padding: 24px; border-radius: 24px; background: #17372a; color: #fff; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; }
.admin-round-hero::before { content: ''; z-index: -1; position: absolute; inset: 0; background: linear-gradient(90deg, #082d20df, #082d2060 75%), var(--round-photo, url('assets/hero-preview.jpg')) center 40% / cover; }
.round-image-picker { display: grid; gap: 12px; margin: 20px 0; max-width: 720px; }
.round-image-picker label { display: grid; gap: 10px; }
.round-image-picker .portal-art-preview { width: 100%; max-height: 200px; object-fit: cover; border-radius: 16px; }
.round-image-picker .secondary-button { justify-self: start; }
.admin-manual-entries { margin: 20px 0; padding: 20px; background: #f4f5eb; border: 1px solid #dce3d0; border-radius: 16px; }
.admin-manual-entries summary { cursor: pointer; font-weight: 700; }
.admin-draw-preview { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:16px; }
.admin-draw-preview section { padding:18px; border:1px solid #d8e2ce; background:#f4f5eb; border-radius:16px; }
.admin-draw-preview h3 { font-size:16px; margin:0 0 14px; }
.admin-draw-preview p { margin:8px 0; }
.admin-draw-preview small { display:block; color:#526c5d; }
.admin-manual-entries h4 { margin: 20px 0 12px; }
.admin-manual-entries .admin-pick-grid { max-height: 260px; overflow: auto; margin: 12px 0; }
.admin-manual-entries .admin-pick-grid>div { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.admin-manual-entries .admin-pick { display: flex; align-items: center; gap: 10px; padding: 8px; }
.admin-manual-entries .admin-pick small { display: block; }
@media(max-width:600px){.admin-manual-entries .admin-pick-grid>div { grid-template-columns:1fr; }}
.feature-topline { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 6px 9px; border-radius: 7px; background: #eaf0e1; color: #446533; font-size: 9px; font-weight: 650; line-height: 1.4; }
.badge.lime { background: var(--lime); color: #173522; }
.badge.blue { color: #2e6381; background: #e1eef6; }
.badge.amber { color: #8d6417; background: #f8ebcb; }
.badge.muted { background: #e8ebe6; color: #637067; }
.date-stamp { display: flex; flex-direction: column; align-items: center; font-size: 10px; letter-spacing: .12em; }
.date-stamp strong { font-size: 39px; line-height: 1.1; letter-spacing: -.05em; }
.admin-round-hero h2 { margin: 0 0 10px; font-size: clamp(33px, 8vw, 49px); font-weight: 600; line-height: 1.05; letter-spacing: -.05em; }
.admin-round-hero p { color: #d6e1d8; margin: 0 0 22px; font-size: 12px; line-height: 1.6; }
.admin-round-hero .secondary-button { background: #ffffff0a; color: white; border-color: #ffffff55; }
.panel { background: #fff9; border: 1px solid var(--line); border-radius: 23px; padding: 20px; min-width: 0; }
.panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 18px; }
.panel-heading h2, .section-heading h2 { margin: 0; font-size: 19px; line-height: 1.2; font-weight: 650; letter-spacing: -.03em; }
.panel-heading p { margin: 5px 0 0; font-size: 11px; color: var(--muted); }
.task-list { display: grid; gap: 0; }
.task-row { display: flex; align-items: center; gap: 11px; width: 100%; padding: 14px 0; border: none; border-bottom: 1px solid var(--line); text-align: left; background: transparent; }
.task-row:last-child { border-bottom: 0; }
.task-row > .ai:last-child { width: 16px; height: 16px; color: #748471; margin-left: auto; }
.task-symbol { width: 32px; height: 32px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 11px; background: #eaf0da; color: #648b2e; }
.task-symbol.blue { color: #3d7b98; background: #e1eef1; }
.task-symbol.amber { color: #9d7b32; background: #f2ecd8; }
.task-symbol .ai { width: 17px; height: 17px; }
.task-row strong { display: block; font-size: 12px; font-weight: 600; }
.task-row small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 28px 0 15px; }
.section-heading > span { color: var(--muted); font-size: 10px; }
.management-grid { display: grid; gap: 12px; }
.management-card { display: flex; align-items: center; gap: 16px; min-height: 138px; position: relative; overflow: hidden; border-radius: 22px; padding: 22px; border: 1px solid var(--line); background: #e6edda; }
.management-card.blue { background: #dfebee; }
.management-card.sand { background: #eee7d6; }
.management-card .management-icon { display: grid; place-items: center; width: 48px; height: 48px; flex: 0 0 auto; border-radius: 17px; background: #fff8; }
.management-card h3 { font-size: 16px; letter-spacing: -.025em; margin: 0 0 7px; }
.management-card p { color: #65745e; font-size: 11px; line-height: 1.6; margin: 0; }
.management-card > .ai { margin-left: auto; width: 18px; }
.management-card.photo { color: white; background: linear-gradient(90deg, #082d20e8, #082d2066), url('assets/history-pine.png') center / cover; }
.management-card.photo p { color: #d1dfce; }
.management-card.photo .management-icon { background: #ffffff22; color: var(--lime); }
.overview-bottom { display: grid; gap: 15px; margin-top: 20px; }
.mini-event { display: flex; align-items: center; gap: 13px; padding: 14px 0; border-top: 1px solid var(--line); }
.mini-event img { width: 64px; height: 61px; border-radius: 12px; object-fit: cover; }
.mini-event strong { font-size: 12px; }
.mini-event p { margin: 5px 0; font-size: 10px; color: var(--muted); }
.mini-event > .icon-button { margin-left: auto; }
.readiness-note { display: flex; gap: 10px; color: #556a5a; font-size: 11px; line-height: 1.7; padding: 15px; background: #e9edde; border-radius: 13px; }
.readiness-note .ai { width: 17px; height: 17px; margin-top: 2px; }
.admin-footer { max-width: 1460px; margin: 35px auto 0; padding: 0 max(17px, env(safe-area-inset-right, 0px)) calc(110px + env(safe-area-inset-bottom, 0px)) max(17px, env(safe-area-inset-left, 0px)); color: #82917f; }
.admin-footer > span { display: block; padding-top: 18px; border-top: 1px solid var(--line); font-size: 8px; letter-spacing: .14em; }
.admin-footer b { padding: 0 5px; color: #9dbc64; }
.admin-footer p { font-size: 10px; line-height: 1.6; }
.admin-mobile-dock { position: fixed; z-index: 10; bottom: 0; inset-inline: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; padding: 9px max(10px, env(safe-area-inset-right, 0px)) max(9px, env(safe-area-inset-bottom, 0px)) max(10px, env(safe-area-inset-left, 0px)); background: #082d20f5; color: #cbd7cd; border-top: 1px solid #ffffff1a; border-radius: 21px 21px 0 0; backdrop-filter: blur(16px); }
.admin-mobile-dock :is(a, button) { display: flex; flex-direction: column; gap: 5px; align-items: center; justify-content: center; min-height: 53px; font-size: 9px; border-radius: 13px; border: none; background: none; color: inherit; }
.admin-mobile-dock [aria-current="page"] { background: var(--lime); color: #123724; }
.admin-mobile-dock button.is-selected { color: var(--lime); background: #c4ff3210; }
.admin-mobile-dock .ai { width: 20px; height: 20px; }
.admin-nav-dialog, .admin-editor { width: min(800px, calc(100% - 20px)); max-height: calc(100dvh - 24px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); overflow: auto; overscroll-behavior: contain; border: 1px solid #ffffff99; border-radius: 24px; padding: 22px; background: #f8f9f3; color: var(--ink); box-shadow: 0 30px 100px #0005; }
.admin-nav-dialog { max-width: 440px; }
dialog::backdrop { background: #032418b8; backdrop-filter: blur(6px); }
.dialog-heading { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 18px; }
.dialog-heading h2 { margin: 0; font-size: 26px; font-weight: 650; letter-spacing: -.045em; line-height: 1.15; }
.dialog-heading .eyebrow { margin-bottom: 5px; }
.admin-menu { display: grid; gap: 5px; }
.admin-menu a { display: flex; align-items: center; gap: 12px; min-height: 47px; padding: 12px 14px; border-radius: 12px; font-size: 12px; }
.admin-menu a[aria-current="page"] { background: var(--lime); color: #103d26; font-weight: 650; }
.admin-menu a:hover:not([aria-current]) { background: #acc49b15; }
.admin-menu .ai { width: 19px; height: 19px; }
.admin-menu a > span:last-child { margin-left: auto; font-size: 9px; color: inherit; opacity: .6; }
.admin-nav-dialog > .secondary-button { margin-top: 20px; width: 100%; }
.muted-note { color: var(--muted); font-size: 11px; line-height: 1.7; }
.editor-preview-note { display: flex; gap: 7px; align-items: center; color: #687755; padding: 11px 12px; background: #ecf0df; border-radius: 11px; font-size: 10px; line-height: 1.5; margin-bottom: 22px; }
.editor-preview-note .ai { width: 14px; height: 14px; }
.editor-feedback { position: sticky; bottom: 0; padding: 15px; margin: 18px 0 0; border-radius: 13px; background: #103924; color: #eaffc8; font-size: 12px; line-height: 1.6; box-shadow: 0 4px 20px #0002; }
.admin-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 22px 0 17px; }
.search-field { display: flex; gap: 8px; align-items: center; min-height: 46px; padding: 0 13px; border: 1px solid #153d2422; border-radius: 13px; background: #ffffffa6; min-width: 0; flex: 1 1 200px; }
.search-field .ai { width: 18px; height: 18px; color: #71816a; }
.search-field input { min-width: 0; width: 100%; border: none; outline-offset: 2px; min-height: 44px; background: transparent; font-size: 14px; color: var(--ink); }
.admin-toolbar select, .field select, .field input, .field textarea, .group-slot select { color: var(--ink); border: 1px solid #1c45232b; border-radius: 12px; background: #fff; min-height: 46px; padding: 11px 12px; font-size: 16px; width: 100%; max-width: 100%; }
.admin-toolbar > label { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; flex: 1 1 170px; }
.admin-toolbar select { font-size: 13px; }
.admin-table-wrap { position: relative; overflow: auto; border: 1px solid var(--line); border-radius: 18px; background: #ffffffb0; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 12px; text-align: left; }
.admin-table th { padding: 15px; font-size: 9px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #768371; background: #eaf0e230; white-space: nowrap; }
.admin-table td { padding: 13px 15px; border-top: 1px solid var(--line); vertical-align: middle; }
.admin-table .icon-button { background: transparent; }
.member-name { display: flex; gap: 10px; align-items: center; }
.avatar { display: inline-grid; place-items: center; height: 36px; width: 36px; flex: 0 0 auto; border-radius: 50%; font-size: 10px; font-weight: 700; background: #e6eddb; color: #587b32; }
.member-name strong { display: block; font-size: 12px; }
.member-name small { display: block; margin-top: 5px; color: #829080; font-size: 10px; }
.compact-info { display: flex; flex-wrap: wrap; gap: 6px; font-size: 10px; color: #7a8877; margin-top: 8px; }
.mobile-member-status { display: block; margin-top: 6px; }
.desktop-cell { display: none; }
.admin-table td.member-action { padding-left: 5px; padding-right: 10px; width: 52px; }
.table-footnote { color: var(--muted); font-size: 10px; margin: 12px 2px 0; line-height: 1.6; }
.admin-empty { grid-column: 1 / -1; border: 1px dashed #728c6544; border-radius: 16px; padding: 30px 20px; text-align: center; color: var(--muted); }
.admin-empty h3 { color: var(--ink); margin: 0 0 8px; }
.admin-empty p { margin: 0; font-size: 12px; }
.split-panels, .settings-grid, .event-admin-grid, .media-grid, .tour-round-grid { display: grid; gap: 15px; }
.admin-event-card { border-radius: 22px; border: 1px solid var(--line); overflow: hidden; background: white; min-width: 0; }
.admin-event-photo { position: relative; min-height: 160px; padding: 16px; background-size: cover; background-position: center; }
.admin-event-photo::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, #082d2015, #082d2044); }
.admin-event-photo .badge { position: relative; z-index: 1; }
.admin-event-body { padding: 19px; }
.admin-event-body h2 { margin: 0; font-size: 23px; letter-spacing: -.035em; }
.admin-event-body p { color: var(--muted); font-size: 11px; line-height: 1.6; }
.event-admin-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 17px 0; font-size: 10px; color: #708068; }
.event-admin-meta b { color: var(--ink); }
.event-admin-actions { display: flex; gap: 8px; }
.event-admin-actions > :first-child { flex: 1; }
.view-pills { display: flex; gap: 6px; flex-wrap: wrap; padding-bottom: 2px; }
.view-pills button { min-height: 44px; padding: 11px 16px; background: #ffffffaa; border: 1px solid var(--line); border-radius: 12px; font-size: 11px; }
.view-pills button[aria-pressed="true"] { background: var(--forest); color: #eff7e8; border-color: var(--forest); }
.step-flow { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; margin: 20px 0; }
.step-flow button { min-height: 70px; border: 1px solid #ccd7c3; border-radius: 14px; padding: 13px; text-align: left; background: #ffffff66; font-size: 11px; }
.step-flow button b { display: block; margin-bottom: 6px; font-size: 9px; color: #89977e; }
.step-flow button.current { background: #dff3a4; border-color: #b9d886; }
.console-hero { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 22px; border-radius: 23px; padding: 25px; color: white; background: linear-gradient(100deg, #092e26ed, #0b3b3488), url('assets/history-lake.png') center / cover; }
.console-hero .eyebrow { color: #c4ff32; }
.console-hero h2 { font-size: 28px; margin: 0 0 9px; font-weight: 600; letter-spacing: -.04em; }
.console-hero p { font-size: 12px; color: #c9d7ca; line-height: 1.6; }
.console-status { display: flex; align-items: center; gap: 10px; padding: 14px; border: 1px solid #ffffff33; border-radius: 15px; background: #fff1; font-size: 12px; }
.console-status small { display: block; color: #bfd0c1; margin-top: 5px; font-size: 10px; }
.settings-card { padding: 23px; border-radius: 20px; border: 1px solid var(--line); background: #fff9; }
.settings-card > .task-symbol { margin-bottom: 19px; }
.settings-card h2, .settings-card h3 { font-size: 19px; margin: 0 0 9px; letter-spacing: -.03em; }
.settings-card p { color: var(--muted); font-size: 12px; line-height: 1.7; margin: 0 0 16px; }
.settings-card .text-button { font-size: 11px; color: #477337; }
.tour-feature { min-height: 270px; position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 26px; border-radius: 23px; background: linear-gradient(90deg, #163e3eee, #163e3e22), url('assets/history-lake.png') center / cover; color: white; }
.tour-feature .eyebrow { color: #c4ff32; }
.tour-feature h2 { font-size: 38px; line-height: 1.05; letter-spacing: -.045em; font-weight: 600; margin: 8px 0 13px; }
.tour-feature p { color: #d0ded9; font-size: 12px; line-height: 1.7; }
.tour-feature .primary-button { align-self: flex-start; }
.season-progress { display: flex; gap: 4px; margin: 25px 0 12px; }
.season-progress span { height: 7px; flex: 1; border-radius: 4px; background: #dce4d3; }
.season-progress span.played { background: #7b9f32; }
.fund-feature { display: grid; gap: 24px; border: 1px solid #bbd788; background: #dff2b6; padding: 26px; border-radius: 24px; }
.fund-feature strong { font-size: clamp(45px, 11vw, 64px); line-height: 1.05; letter-spacing: -.06em; font-weight: 650; }
.fund-feature p { color: #5f7952; font-size: 11px; line-height: 1.7; }
.fund-mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; border-top: 1px solid #67884233; padding-top: 20px; }
.fund-mini-grid strong { display: block; font-size: 24px; margin-top: 8px; }
.fund-mini-grid span { font-size: 10px; color: #5a754a; }
.fund-bars { display: flex; align-items: flex-end; gap: 7px; height: 85px; padding: 10px 0; }
.fund-bars i { flex: 1; background: #a3bf6a; min-height: 15px; border-radius: 5px 5px 0 0; }
.fund-bars i:last-child { background: #244e28; }
.fund-legend { display: flex; justify-content: space-between; font-size: 10px; color: #728766; }
.media-card { overflow: hidden; border: 1px solid var(--line); background: #fff9; border-radius: 20px; min-width: 0; }
.media-card img { width: 100%; height: 172px; display: block; object-fit: cover; }
.media-card.portrait img { object-position: center 30%; }
.media-card-copy { padding: 16px; }
.media-card-copy h2 { font-size: 15px; margin: 10px 0 6px; letter-spacing: -.02em; }
.media-card-copy p { color: var(--muted); font-size: 11px; line-height: 1.5; }
.media-card-copy .text-button { min-height: 44px; font-size: 11px; }
.upload-card { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 28px; text-align: center; min-height: 300px; border: 1.5px dashed #adc38e; border-radius: 21px; background: #eaf0df88; }
.upload-card > .ai { width: 35px; height: 35px; margin-bottom: 20px; color: #719343; }
.upload-card h2 { font-size: 20px; letter-spacing: -.03em; margin: 0 0 10px; }
.upload-card p { color: var(--muted); font-size: 11px; line-height: 1.7; margin-bottom: 18px; }
.field-grid { display: grid; gap: 15px; margin: 18px 0; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field > label { font-size: 11px; font-weight: 600; color: #4e6b4f; line-height: 1.5; }
.field > small { font-size: 10px; color: #81917c; line-height: 1.5; }
.field textarea { resize: vertical; min-height: 86px; }
.field input:disabled { background: #e8eddf; color: #88927d; }
.editor-section-title { margin: 25px 0 13px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 17px; letter-spacing: -.025em; }
.editor-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.editor-actions .primary-button { flex: 1 1 160px; }
.editor-actions .secondary-button { flex: 0 1 auto; }
.editor-detail-hero { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid var(--line); background: #eaf0e2; border-radius: 16px; margin-bottom: 18px; }
.editor-detail-hero .avatar { width: 49px; height: 49px; font-size: 16px; background: #d8e9be; }
.editor-detail-hero h3 { margin: 0 0 6px; font-size: 19px; }
.editor-detail-hero p { font-size: 11px; color: var(--muted); margin: 0; }
.editor-checkbox { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; padding-block: 10px; font-size: 12px; line-height: 1.6; }
.editor-checkbox input { width: 20px; height: 20px; flex: 0 0 auto; accent-color: #5d8825; margin: 0; }
.editor-checkbox small { display: block; color: var(--muted); font-size: 10px; margin-top: 3px; }
.wizard-progress { display: flex; gap: 5px; list-style: none; padding: 0; margin: 0 0 22px; }
.wizard-progress li { flex: 1; border-top: 3px solid #d6dfca; padding-top: 9px; color: #8a987b; font-size: 9px; line-height: 1.6; }
.wizard-progress li[aria-current="step"] { border-color: #84b922; color: #23482c; font-weight: 700; }
.wizard-progress b { display: block; font-size: 11px; }
.editor-preview-image { width: 100%; height: 150px; object-fit: cover; border-radius: 15px; }
.editor-photo-picker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 14px 0; }
.editor-photo-picker button { border: 2px solid transparent; padding: 3px; border-radius: 12px; background: #e4ecd9; min-width: 0; min-height: 50px; }
.editor-photo-picker img { display: block; width: 100%; height: 63px; border-radius: 8px; object-fit: cover; }
.editor-photo-picker button[aria-pressed="true"] { border-color: #639817; background: var(--lime); }
.upload-zone { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 28px 16px; border: 1.5px dashed #adc38e; border-radius: 17px; background: #eef3e5; text-align: center; }
.upload-zone > .ai { width: 30px; height: 30px; margin-bottom: 15px; color: #6f923f; }
.upload-zone strong { font-size: 15px; }
.upload-zone p { font-size: 11px; color: var(--muted); line-height: 1.7; }
.group-builder { display: grid; gap: 14px; }
.group-builder > section { background: #edf2e5; padding: 16px; border-radius: 15px; border: 1px solid var(--line); }
.group-builder h3 { margin: 0 0 15px; font-size: 16px; }
.group-slot { display: flex; align-items: center; gap: 7px; margin-bottom: 8px; }
.group-slot > label { width: 20px; flex: 0 0 auto; font-size: 10px; color: #839575; }
.group-slot select { font-size: 12px; }
.permission-list { display: grid; gap: 0; }
.permission-list label { border-top: 1px solid var(--line); }
.status-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 17px; border-radius: 16px; background: #e9f0dd; }
.status-detail span { display: block; font-size: 10px; color: #788e6a; margin-bottom: 6px; }
.status-detail strong { font-size: 20px; }
.empty-state-note { padding: 20px; border: 1px dashed #99ae8244; border-radius: 15px; color: #657f56; font-size: 12px; line-height: 1.7; }
.audit-row { display: flex; align-items: flex-start; gap: 12px; border-bottom: 1px solid var(--line); padding: 16px 0; }
.audit-row > .ai { color: #79945e; width: 18px; margin-top: 2px; }
.audit-row strong { display: block; font-size: 12px; }
.audit-row small { display: block; color: var(--muted); line-height: 1.7; margin-top: 5px; font-size: 10px; }
.admin-toast { position: fixed; z-index: 50; bottom: calc(91px + env(safe-area-inset-bottom, 0px)); left: 50%; transform: translateX(-50%); background: #103924; color: #f2f7e9; padding: 15px 20px; border: 1px solid #c4ff3260; border-radius: 16px; box-shadow: 0 12px 40px #0003; max-width: min(490px, calc(100% - 30px)); width: max-content; font-size: 12px; line-height: 1.6; text-align: center; }
.sr-only { position: absolute; height: 1px; width: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.danger-preview { color: #9a503b; }
@media (max-width: 599px) {
  .member-access-intro { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .member-access-intro .settings-card { padding: 15px 12px; }
  .member-access-intro h2 { font-size: 14px; line-height: 1.35; margin-top: 12px !important; }
  .member-access-intro p { display: none; }
  .member-access-intro .button-row { gap: 0; }
  .member-access-intro .text-button { font-size: 10px; text-align: left; justify-content: flex-start; }
  .fund-table { font-size: 11px; }
  .fund-table :is(th, td) { padding: 10px 6px; }
  .fund-table th { font-size: 8px; }
}
@media (min-width: 600px) {
  .admin-content { padding: 32px max(28px, env(safe-area-inset-right, 0px)) 0 max(28px, env(safe-area-inset-left, 0px)); }
  .admin-topbar { padding-inline: 25px; }
  .preview-badge { max-width: none; font-size: 9px; }
  .mobile-wordmark span { display: inline; font-size: 10px; }
  .topbar-tools { gap: 16px; }
  .page-heading p:not(.eyebrow) { font-size: 13px; }
  .metric-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .metric { padding: 20px 15px; }
  .metric strong { font-size: 30px; }
  .metric small { font-size: 10px; }
  .management-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .management-card { display: block; padding: 20px; }
  .management-card .management-icon { margin-bottom: 23px; }
  .management-card > .ai { position: absolute; right: 17px; top: 19px; }
  .event-admin-grid, .media-grid, .settings-grid, .split-panels, .tour-round-grid, .group-builder { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .desktop-cell { display: table-cell; }
  .mobile-member-status { display: none; }
  .field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field.wide { grid-column: 1 / -1; }
  .editor-actions .primary-button { flex: 0 1 auto; min-width: 165px; }
  .admin-editor { padding: 28px; }
  .step-flow { grid-template-columns: repeat(4, 1fr); }
  .admin-footer { padding-inline: 28px; }
  .fund-feature { grid-template-columns: 1.25fr 1fr; }
}
@media (min-width: 600px) and (max-width: 699px) {
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1040px) {
  .admin-sidebar { position: fixed; inset: 0 auto 0 0; width: 226px; padding: 30px 18px 20px; color: #c8d8ca; background: #082d20; display: flex; flex-direction: column; overflow-y: auto; }
  .admin-brand { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; letter-spacing: .15em; color: white; padding: 0 8px; }
  .admin-monogram { display: grid; place-items: center; width: 40px; height: 46px; flex-shrink: 0; border: 1px solid #b9ef3970; border-radius: 9px 9px 17px 17px; color: var(--lime); font-size: 26px; letter-spacing: 0; }
  .admin-brand small { display: block; color: #a1ba8b; font-size: 9px; letter-spacing: .25em; margin-top: 5px; }
  .workspace-label { display: flex; align-items: center; gap: 6px; font-size: 8px; font-weight: 600; letter-spacing: .09em; margin: 33px 10px 19px; color: #729c7e; }
  .workspace-label > span:last-child { font-size: 7px; margin-left: auto; padding: 4px; border: 1px solid #547c5a; border-radius: 4px; color: #b5ca9f; }
  .sidebar-season { margin: auto 6px 23px; padding: 25px 14px 0; }
  .sidebar-season > span { display: block; color: #698e6f; font-size: 8px; letter-spacing: .12em; }
  .sidebar-season strong { display: block; color: #d1e1c2; font-weight: 500; font-size: 23px; letter-spacing: -.045em; line-height: 1.15; margin-top: 11px; }
  .sidebar-season p { color: #829f81; font-size: 10px; }
  .sidebar-season a { display: flex; align-items: center; justify-content: space-between; min-height: 44px; color: var(--lime); font-size: 10px; border-top: 1px solid #ffffff13; margin-top: 20px; }
  .sidebar-season a .ai { width: 15px; }
  .sidebar-profile { display: flex; align-items: center; gap: 9px; padding: 15px 4px 0; border-top: 1px solid #ffffff12; }
  .sidebar-profile .avatar { background: #2e4e34; color: #c4e997; }
  .sidebar-profile strong { display: block; font-size: 10px; font-weight: 500; }
  .sidebar-profile small { display: block; font-size: 8px; color: #7a9a7b; margin-top: 4px; }
  .sidebar-profile > .ai { width: 15px; height: 15px; color: #709267; margin-left: auto; }
  .admin-workspace { margin-left: 226px; }
  .admin-mobile-dock, .mobile-menu-button, .mobile-wordmark { display: none; }
  .admin-topbar { min-height: 77px; padding: 15px 32px; }
  .admin-breadcrumb { display: block; color: #7f8c7a; font-size: 11px; }
  .admin-breadcrumb span { padding-inline: 10px; color: #c2caba; }
  .admin-breadcrumb strong { font-weight: 500; color: #3c573d; }
  .topbar-view { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; min-height: 44px; }
  .topbar-view .ai { width: 15px; }
  .admin-content { padding: 34px 32px 0; }
  .overview-feature { grid-template-columns: 1.5fr 1fr; }
  .admin-round-hero { padding: 28px; }
  .overview-bottom { grid-template-columns: 1.2fr 1fr; }
  .metric strong { font-size: 34px; }
  .admin-footer { padding: 0 32px 25px; }
  .admin-toast { bottom: 24px; }
}
@media (min-width: 1280px) {
  .overview-feature { grid-template-columns: 1.7fr 1fr; }
  .event-admin-grid, .media-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .settings-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .metric { padding: 23px; }
  .metric-top { font-size: 11px; }
  .metric strong { font-size: 38px; }
  .admin-round-hero { min-height: 324px; padding: 30px; }
  .management-card { min-height: 185px; }
  .panel { padding: 25px; }
}
@media (max-width: 359px) {
  .admin-content { padding-inline: 12px; }
  .admin-topbar { padding-inline: 9px; }
  .topbar-left, .topbar-tools { gap: 6px; }
  .mobile-wordmark { font-size: 11px; }
  .preview-badge { font-size: 7px; max-width: 60px; }
  .metric { padding: 15px 11px; }
  .metric strong { font-size: 27px; }
  .admin-round-hero { padding: 20px; }
  .admin-editor, .admin-nav-dialog { padding: 17px; }
  .dialog-heading h2 { font-size: 23px; }
  .admin-table td { padding-left: 10px; padding-right: 10px; }
  .member-name { gap: 8px; }
  .admin-footer { padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }

/* =============================================================================
   CREATING A MONTH, AND PUTTING A FIELD ON IT
   -----------------------------------------------------------------------------
   Not in the drawing, because the drawing's create-event flow is a wizard over
   sample data. These are the two forms that stand between an empty season and
   a round somebody can score, in the same visual language.
============================================================================= */
.admin-form { margin-top: 14px; }
.admin-signout{border:1px solid var(--line);border-radius:999px;padding:9px 16px;background:var(--lime,#c4ff35);color:var(--ink);font:inherit;font-weight:650;white-space:nowrap;min-height:40px;cursor:pointer}
.admin-signout:disabled{opacity:.6;cursor:wait}
.admin-signout-status:empty{display:none}
.admin-signout-status{font-size:12px;max-width:220px}
.course-catalog-pagination{display:flex;justify-content:space-between;gap:12px;margin-top:12px}
.course-catalog-pagination[hidden]{display:none}
.portal-login-code{display:grid;justify-items:start;gap:8px}
.portal-login-code code{font-size:14px;font-weight:700;letter-spacing:.08em}
.portal-private-login{padding:16px;border:1px solid var(--line);border-radius:14px;background:#fff}
.portal-private-login textarea{width:100%;min-height:170px}
.field>div>select{width:100%}
.course-catalog .sclist{display:grid;gap:7px;margin:12px 0}
.course-catalog .sclist__row{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:46px;padding:10px 14px;border:1px solid var(--line);border-radius:12px;background:#f8faf2;color:var(--ink);text-align:left;font:inherit;cursor:pointer}
.course-catalog .sclist__row:hover{background:#edf4df}
.course-catalog .scroll-x{max-width:100%;overflow-x:auto}
.course-catalog table{width:100%;border-collapse:collapse}
.course-catalog .row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.admin-form__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; max-width: 1120px; }
.field { display: grid; gap: 5px; min-width: 0; }
.field label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.field input, .field select {
  min-height: 44px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
}
.field input:focus, .field select:focus { border-color: #8bc34a; }
.round-course-picker{position:relative;min-width:0;width:100%}
.round-course-picker__trigger{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:46px;padding:10px 13px;border:1px solid #1c45232b;border-radius:12px;background:#fff;color:var(--ink);font:inherit;font-size:14px;text-align:left;cursor:pointer}
.round-course-picker__trigger::after{content:'⌄';font-size:20px;line-height:1;color:var(--muted)}
.round-course-picker__trigger.is-selected{font-weight:650}
.round-course-picker__trigger:focus-visible,.round-course-picker__search:focus-visible,.round-course-picker__option:focus-visible{outline:2px solid #78aa32;outline-offset:2px}
.round-course-picker__panel{position:absolute;z-index:30;top:calc(100% + 5px);left:0;width:min(440px,max(100%,280px));max-width:calc(100vw - 44px);padding:10px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 16px 36px #062b1b30}
.round-course-picker__panel[hidden],.course-preview-only[hidden]{display:none!important}
.round-course-picker__search{width:100%;min-height:40px!important;padding:8px 11px!important;font-size:14px!important}
.round-course-picker__status{display:block;margin:7px 2px;color:var(--muted);font-size:11px;line-height:1.35}
.round-course-picker__results{max-height:270px;overflow-y:auto;overscroll-behavior:contain}
.round-course-picker__group{display:block;position:sticky;top:0;padding:8px 7px 5px;background:#f4f7ed;color:#547044;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.round-course-picker__option{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:9px 8px;border:0;border-bottom:1px solid var(--line);background:#fff;color:var(--ink);font:inherit;font-size:13px;text-align:left;cursor:pointer}
.round-course-picker__option:hover,.round-course-picker__option[aria-selected=true]{background:#eef7df}
.round-course-picker__option small{flex:none;color:var(--muted);font-size:10px}
.round-course-picker__empty{margin:8px;color:var(--muted);font-size:12px}
.round-course-card{max-width:1120px;margin:12px 0;border:1px solid var(--line);border-radius:12px;background:#f8faf2}
.round-course-card summary{padding:10px 13px;color:var(--ink);font-size:12px;font-weight:650;cursor:pointer}
.round-course-card .scroll-x{overflow-x:auto;padding:0 12px 12px}
.round-course-card .card-table{font-size:11px}
.round-course-card .card-table th,.round-course-card .card-table td{min-width:34px;padding:7px 5px}
.course-preview-only{max-width:1120px;margin:12px 0;padding:12px;border:1px solid var(--line);border-radius:14px;background:#f8faf2}
.course-preview-only .scpreview>.stack{margin-top:0!important}
.course-preview-only table th,.course-preview-only table td{padding:7px 6px;font-size:11px}
.entry-settings .round-course-picker{flex:1;min-width:220px}
@media(max-width:900px){.admin-form__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.admin-form__grid{grid-template-columns:minmax(0,1fr)}.round-course-picker__panel{width:100%}.round-course-picker__results{max-height:210px}.entry-settings label:has(.round-course-picker){display:block}.entry-settings .round-course-picker{margin-top:7px}}

.admin-round > summary { list-style: none; cursor: pointer; }
.admin-round > summary::-webkit-details-marker { display: none; }
.admin-round[open] > summary .task-row { background: #eef3e4; }
.admin-field { padding: 4px 4px 14px; }
.admin-pick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 6px;
  margin: 12px 0;
  max-height: 380px;
  overflow-y: auto;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfcf7;
}
.admin-pick {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 6px 9px;
  border-radius: 11px;
  cursor: pointer;
}
.admin-pick:hover { background: #eef3e4; }
.admin-pick input { width: 19px; height: 19px; flex: 0 0 auto; accent-color: #76a832; }
.admin-pick span { display: grid; gap: 1px; min-width: 0; }
.admin-pick strong { font-size: 13px; font-weight: 650; }
.admin-pick small { font-size: 11px; color: var(--muted); }
.course-mapping-setup,.course-mapping-card { background: #f1f5e9; border: 1px solid #dce6cd; border-radius: 18px; padding: 22px; }
.course-mapping-card { margin-top: 24px; }
.course-mapping-card h3,.course-mapping-setup h2 { margin: 0 0 10px; }
.course-mapping-coverage { font-weight: 750; color: #0b4936; }
.course-mapping-actions,.course-mapping-keyform { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
.course-mapping-keyform[hidden] { display: none; }
.course-mapping-keyform input { min-width: 200px; flex: 1; }
.course-mapping-matches { display: grid; gap: 9px; }
.course-mapping-card small,.course-mapping-setup small { color: #52695c; line-height: 1.6; }
.course-mapping-card[data-mapping-status="needs_review"] { border-color: #ddbb72; }
@media(max-width:640px) { .course-mapping-keyform input,.course-mapping-keyform button,.course-mapping-actions a,.course-mapping-actions button { width:100%; } }
