*{box-sizing:border-box} :root{--green:#8cb53b;--purple:#4d485c;--ink:#292535;--soft:#f5f6f1}body{margin:0;background:var(--soft);color:var(--ink);font:16px/1.55 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:var(--purple)}header{background:var(--purple);color:white;padding:20px max(20px,calc((100vw - 1040px)/2));display:flex;align-items:center;justify-content:space-between;gap:16px}header a{color:white;text-decoration:none}.brand{display:flex;align-items:center;gap:12px;font-size:21px;font-weight:900;line-height:1.1;letter-spacing:-.5px}.brand small{display:block;color:#c9e893;font-size:11px;letter-spacing:2px;margin-top:6px}.brand img{max-width:145px;max-height:65px;object-fit:contain}.mark{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:var(--green);font-size:23px;color:white}.nav{font-size:14px;display:flex;align-items:center;gap:12px}main{max-width:1040px;margin:auto;padding:38px 20px 70px}.eyebrow{font-size:12px;letter-spacing:2px;text-transform:uppercase;font-weight:800;color:#597823}h1{font-size:clamp(29px,6vw,44px);line-height:1.12;letter-spacing:-1.5px;margin:12px 0 16px}h2{font-size:23px;line-height:1.3}p{color:#655f70}.intro{max-width:630px;margin-bottom:30px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:20px}.tile,.panel{background:white;border:1px solid #e3e5dc;border-radius:22px;padding:26px;box-shadow:0 8px 30px #29253505}.tile{display:flex;flex-direction:column;text-decoration:none;transition:transform .15s,border-color .15s}.tile:hover{transform:translateY(-3px);border-color:var(--green)}.tile h2{color:var(--ink);margin:18px 0 10px}.logo-box{height:150px;background:#f2f4ed;border-radius:14px;display:grid;place-items:center}.logo-box img{max-width:90%;max-height:125px;object-fit:contain}.logo-box span{font-size:44px;color:var(--purple);font-weight:900}.badge{display:inline-flex;align-items:center;gap:7px;background:#edf5dc;color:#506e22;border-radius:30px;padding:5px 11px;font-size:12px;font-weight:800}.badge:before{content:"";width:6px;height:6px;background:var(--green);border-radius:50%}.tile .cta{margin-top:auto;padding-top:20px;font-weight:800;color:#597823}.button,button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 20px;background:var(--green);color:#182309;border:0;border-radius:12px;font:inherit;font-weight:750;text-decoration:none;cursor:pointer}.button.secondary,button.secondary{background:#efedf3;color:var(--purple)}.fixture{padding:26px;display:block;background:var(--purple);color:white;border-radius:20px;text-decoration:none;margin-top:26px}.fixture h2{margin:0 0 7px}.fixture p{color:#e4dfed;margin:0}.fixture .arrow{display:block;color:#c9e893;margin-top:18px;font-weight:700}.event-head{display:flex;align-items:center;gap:22px}.event-head img{max-width:100px;max-height:110px;object-fit:contain}.back{display:inline-block;margin-bottom:26px;font-weight:650;text-decoration:none}label{display:block;margin:17px 0 6px;font-weight:650}input:not([type=checkbox]),select{width:100%;border:1px solid #c9c6d1;border-radius:10px;padding:12px;font:inherit;background:white;color:var(--ink);min-height:48px}input[type=checkbox]{width:20px;height:20px;vertical-align:middle;accent-color:var(--green);margin-right:8px}input[type=file]{font-size:14px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.hint{font-size:13px;margin:6px 0}.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}.error,.success{padding:14px 18px;border-radius:12px;margin-bottom:20px}.error{background:#ffe9e7;color:#8c2720}.success{background:#e8f5d8;color:#365a14}.admin-list{margin-top:24px;display:grid;gap:14px}.admin-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px;background:white;border:1px solid #e3e5dc;border-radius:16px}.admin-row h2{font-size:18px;margin:0 0 6px}.admin-row p{margin:0;font-size:13px}.status{font-size:12px;font-weight:700;color:#655f70}.narrow{max-width:500px;margin:auto}.empty{padding:50px 26px;text-align:center}.empty .mark{margin:auto;width:65px;height:65px;font-size:30px}footer{text-align:center;padding:25px 20px;color:#7b7586;font-size:12px}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #597823;outline-offset:4px}@media(max-width:600px){main{padding-top:28px}.form-grid{grid-template-columns:1fr}.event-head{align-items:flex-start;gap:14px}.event-head img{max-width:65px}.admin-row{align-items:flex-start;flex-direction:column}header{padding:16px}.brand{font-size:18px}.nav{font-size:12px}.panel,.tile{padding:22px}.fixture{padding:22px}.actions .button,.actions button{flex-grow:1}}
[hidden]{display:none!important}.video-feature{background:var(--green);color:var(--ink)}.video-feature p{color:#344615}.video-feature .arrow{color:#263610}.recorder-layout{display:grid;grid-template-columns:1fr 360px;gap:24px;align-items:start}.question-list{padding-left:25px}.question-list li{padding:8px 0;font-weight:650}.consent{font-size:14px;font-weight:400}.camera-panel{position:sticky;top:20px}.portrait-frame{aspect-ratio:9/16;position:relative;background:#25212e;border-radius:15px;overflow:hidden;color:white}.portrait-frame video{width:100%;height:100%;object-fit:cover}.portrait-frame #camera{transform:none}.portrait-frame #camera.front-camera{transform:scaleX(-1)}#camera-placeholder{position:absolute;inset:0;display:grid;place-items:center;text-align:center;padding:25px;font-size:25px;font-weight:800}.countdown{position:absolute;inset:0;display:grid;place-items:center;font-size:70px;font-weight:900;text-shadow:0 2px 12px #000}#record-progress{width:100%;accent-color:var(--green)}.clip-preview{display:block;width:100%;aspect-ratio:9/16;background:#25212e;border-radius:12px}.video-grid{margin-top:24px}details{font-size:13px}summary{cursor:pointer;font-weight:650}@media(max-width:760px){.recorder-layout{grid-template-columns:1fr}.camera-panel{position:static;max-width:440px;width:100%;margin:auto}}

/* Keep the recorder stable when the camera reveals its native video dimensions. */
.video-intro{max-width:660px;margin:0 auto}.question-screen{max-width:480px;margin:0 auto;padding:16px}.question-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.compact{font-size:12px;min-height:34px;padding:6px 10px}.question-screen h2{font-size:20px;line-height:1.3;margin:12px 0 14px;overflow-wrap:anywhere}.question-screen .portrait-frame{width:min(100%,300px,27vh);width:min(100%,300px,27svh);aspect-ratio:9/16;margin:0 auto;isolation:isolate}.portrait-frame video{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:cover}.record-timer{position:absolute;top:12px;right:12px;background:#292535d9;padding:6px 12px;border-radius:30px;font-size:22px;font-weight:800;color:white;font-variant-numeric:tabular-nums}.record-actions{margin-top:12px;gap:8px}.record-actions button{min-height:44px;padding:10px 14px;flex:1}.question-screen #record-status{font-size:14px;margin:10px 0 6px}.question-screen .error{font-size:13px;padding:10px;margin-top:10px}.answer-question{font-weight:700;color:var(--purple)}body.recording-flow>header,body.recording-flow>footer{display:none}body.recording-flow>main{padding:10px 12px 20px}body.recording-flow .question-screen{box-shadow:none}@media(max-width:360px){.question-screen{padding:12px}.question-screen h2{font-size:18px}.record-actions button{font-size:14px}}

.question-screen #current-question{max-height:18vh;max-height:18svh;overflow:auto}.record-timer{font-size:28px}

.question-screen .portrait-frame{--camera-width:min(300px,27vh,calc(100vw - 64px));width:var(--camera-width);height:calc(var(--camera-width) * 16 / 9);aspect-ratio:9/16;flex-shrink:0}@supports(height:1svh){.question-screen .portrait-frame{--camera-width:min(300px,27svh,calc(100vw - 64px))}}.record-actions #switch-camera{flex-basis:100%;font-size:14px;min-height:38px}.portrait-frame #camera,.portrait-frame #review{object-fit:cover}

.portrait-frame #camera.front-camera{object-fit:contain;background:#25212e}

.photo-layout{display:grid;grid-template-columns:1fr 380px;gap:24px;align-items:start}.photo-canvas-wrap{position:relative;width:100%;aspect-ratio:9/16;background:#4d485c;overflow:hidden;border-radius:14px}.photo-canvas-wrap canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab}.photo-canvas-wrap video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#25212e}.photo-canvas-wrap video.front-camera{transform:scaleX(-1)}.photo-preview-panel{position:sticky;top:16px}.photo-grid{margin-top:24px}.frame-checker{background:repeating-conic-gradient(#e7e5ea 0% 25%,#fff 0% 50%) 0/24px 24px;border-radius:12px}.frame-checker img,.saved-photo{display:block;width:100%;aspect-ratio:9/16;object-fit:contain;border-radius:12px}#photo-zoom{padding:0;accent-color:var(--green)}@media(max-width:760px){.photo-layout{grid-template-columns:1fr}.photo-preview-panel{position:static;grid-row:1;width:min(100%,360px);margin:auto}.photo-canvas-wrap{max-height:64svh;width:auto;aspect-ratio:9/16;margin:auto}}

.photo-preview-panel .photo-canvas-wrap{--photo-width:min(320px,36vh,calc(100vw - 92px));width:var(--photo-width);height:calc(var(--photo-width) * 16 / 9);max-height:none;margin:auto}@supports(height:1svh){.photo-preview-panel .photo-canvas-wrap{--photo-width:min(320px,36svh,calc(100vw - 92px))}}

.photo-preview-panel{scroll-margin-top:12px}.photo-camera-actions{margin-top:12px;gap:8px;display:flex;flex-wrap:wrap}.photo-camera-actions button{flex:1;min-height:44px;font-size:14px;padding:10px 12px}.photo-camera-actions #photo-capture{order:-1;flex-basis:100%}.photo-preview-panel.camera-active .photo-canvas-wrap{--photo-width:min(300px,27vh,calc(100vw - 92px))}@supports(height:1svh){.photo-preview-panel.camera-active .photo-canvas-wrap{--photo-width:min(300px,27svh,calc(100vw - 92px))}}

.team-context{margin-top:24px;display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:20px}.team-context p{margin:4px 0}.team-context .hint{flex-basis:100%;font-size:12px}.team-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:12px;margin-top:20px}.team-card{display:flex;flex-direction:column;gap:12px;background:#fff;border:2px solid #e3e5dc;color:var(--purple);padding:18px;min-height:180px;text-align:center}.team-card[aria-pressed=true]{border-color:var(--green);background:#f2f7e9}.team-card img{width:76px;height:76px;object-fit:contain}.team-card small{font-size:11px;font-weight:500}.team-placeholder{display:grid;place-items:center;width:76px;height:76px;border-radius:50%;background:var(--purple);color:white;font-size:30px}.team-badge{width:60px;height:60px;object-fit:contain}.team-row{display:flex;align-items:center;gap:15px}.sample-controls{margin-top:24px}

.builder-layout{display:grid;grid-template-columns:minmax(280px,1fr) 400px;gap:24px;margin-top:24px;align-items:start}.builder-preview{position:sticky;top:20px}.builder-preview canvas{width:100%;aspect-ratio:9/16;display:block;touch-action:none;cursor:move}.sponsor-strip-preview{max-width:100%;max-height:140px;object-fit:contain;background:#4d485c;padding:10px}textarea{width:100%;font:inherit;border:1px solid #c9c6d1;border-radius:10px;padding:12px}@media(max-width:820px){.builder-layout{grid-template-columns:1fr}.builder-preview{position:static;grid-row:1;max-width:380px;margin:auto}}

.back{display:table;margin-bottom:24px}.back+.eyebrow{display:block;margin-top:4px}.admin-row{padding:24px;gap:20px}.admin-row>.actions{margin-top:0;gap:12px;flex-wrap:wrap}.admin-row>.team-row{flex-shrink:0}.admin-list{gap:20px}.form-grid{row-gap:24px;margin-top:24px}.builder-layout .panel{padding:28px}.builder-layout .slider-control{display:flex;align-items:center;gap:14px}.builder-layout input[type=range]{padding:0;border:0;accent-color:var(--green);flex:1;min-width:0}.slider-control output{min-width:52px;text-align:right;font-size:13px;font-weight:750;color:var(--purple)}.editing-block-label{background:#edf5dc;padding:12px 14px;border-radius:10px;font-weight:750;color:#365619}.shade-settings{margin-top:22px;padding:14px;background:#f5f6f1;border-radius:12px}.shade-settings summary{font-size:15px}.photo-canvas-wrap #photo-camera{opacity:0;pointer-events:none}.builder-preview{padding:24px}.builder-preview canvas{border-radius:12px}@media(max-width:650px){.admin-row{padding:22px}.admin-row>.actions{width:100%;margin-top:4px}.builder-layout .panel{padding:22px}}

.font-specimen{padding:16px;background:#f0f1eb;border-radius:12px;font-size:26px;line-height:1.3;color:var(--purple);overflow-wrap:anywhere}

.template-manager{margin-bottom:26px}.template-manager h2{margin-top:0}.template-open-form{display:grid;grid-template-columns:1fr auto;gap:10px 14px;align-items:end}.template-open-form label{grid-column:1/-1}.template-purpose{border:0;margin:20px 0 0;padding:0}.template-purpose legend{font-weight:700}.template-purpose label{display:flex;gap:12px;align-items:flex-start;padding:16px;border:1px solid #e1e3d9;border-radius:12px}.template-purpose small{display:block;color:#655f70;margin-top:5px;font-weight:400}.template-purpose input{margin-top:6px}.builder-accordion{border:1px solid #e1e3d9;border-radius:14px;padding:16px 18px;margin:14px 0;font-size:15px}.builder-accordion>summary{font-size:16px;line-height:1.4;padding:4px 0;cursor:pointer}.builder-accordion[open]>summary{margin-bottom:16px}.builder-subsection{padding:12px 0;border-top:1px solid #e7e8e0;margin-top:16px}.builder-subsection>summary{font-size:15px}.block-group{border:0;padding:0;margin:20px 0}.block-group legend{font-size:12px;text-transform:uppercase;letter-spacing:1px;color:#655f70;font-weight:750;margin-bottom:10px}.block-toggle-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #eff0ea}.block-toggle-row label{display:flex;align-items:flex-start;gap:9px;margin:0;font-size:14px;font-weight:550}.block-toggle-row input{flex-shrink:0}.block-adjust{font-size:12px;min-height:34px;padding:7px 12px}.block-toggle-row.is-disabled{opacity:.55}.builder-save{padding:18px;margin-top:20px;background:#f1f6e8;border-radius:14px}.builder-save label{margin:0 0 16px;font-size:14px}.builder-save button{width:100%}.builder-helper-links{display:flex;gap:20px;flex-wrap:wrap;margin:26px 0;font-size:14px}.builder-extras{margin-top:26px}.builder-preview h2{font-size:20px;margin:0 0 16px}@media(max-width:650px){.template-open-form{grid-template-columns:1fr}.builder-controls{padding:14px!important}.builder-accordion{padding:14px}.block-toggle-row{gap:8px}.block-toggle-row label{font-size:13px}}

.template-purpose input[type=radio]{width:20px;height:20px;min-height:0;padding:0;flex:0 0 20px;accent-color:var(--green)}

.team-match-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:18px;margin:0 0 24px}.team-match-card{margin:0;padding:24px}.team-match-card h2{font-size:clamp(1.1rem,3vw,1.45rem);line-height:1.5;margin:12px 0;overflow-wrap:anywhere}.match-v{font-weight:400;color:#777}.match-score{display:inline-block;background:#4d485c;color:#fff;border-radius:10px;padding:2px 12px;white-space:nowrap}.match-time{font-size:1.55rem;font-weight:800;margin:12px 0 4px}.match-pitch{margin:4px 0;font-weight:600}

.supporter-footer{max-width:1100px;margin:24px auto 0;padding:24px}.supporter-footer section{margin-bottom:28px}.supporter-footer h2{text-align:center;font-size:1.2rem;margin:0 0 16px}.supporter-logo-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.supporter-logo-grid a,.supporter-logo-grid .supporter-unlinked{display:flex;align-items:center;justify-content:center;min-height:100px;padding:14px;background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000000a}.supporter-logo-grid img{display:block;width:100%;height:80px;object-fit:contain}.supporter-logo-grid a:focus-visible{outline:3px solid #8cb53b;outline-offset:3px}@media(max-width:900px){.supporter-logo-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:600px){.supporter-logo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.supporter-footer{padding:20px}.supporter-logo-grid a,.supporter-logo-grid .supporter-unlinked{min-height:86px;padding:12px}.supporter-logo-grid img{height:65px}}

/* v0.27: mobile match-day experience */
.customer-app{--soft:#f4f5f2;--ink:#282433;background:var(--soft)}.customer-app>header{padding:14px 20px;min-height:76px}.customer-app .brand img{max-height:45px;max-width:145px}.customer-app>header .nav{font-size:12px}.customer-app>main{max-width:720px;padding:26px 20px 44px}.customer-app h1{font-size:clamp(29px,7vw,40px);letter-spacing:-1px}.customer-app .back{display:inline-flex;align-items:center;min-height:44px;margin:0 0 12px;text-decoration:none;font-weight:600;font-size:14px}.customer-app button,.customer-app .button,.customer-app select{min-height:48px}.customer-app button,.customer-app .button{border-radius:14px;font-weight:750}.customer-app input,.customer-app select{border-radius:12px;font-size:16px}.customer-app .panel{border:1px solid #e7e8e2;box-shadow:0 3px 18px #29253505;padding:22px}.customer-app .event-head{align-items:center;gap:16px;margin:0 0 24px}.customer-app .event-head>img{width:68px;height:68px;object-fit:contain;background:#fff;padding:8px;border-radius:18px;flex-shrink:0}.customer-app .event-head h1{font-size:clamp(25px,6vw,34px);margin:9px 0 0;line-height:1.18}.customer-app .badge{background:#eaf3dc;color:#46661a;font-size:11px;letter-spacing:.6px;border-radius:30px;padding:6px 10px;font-weight:800}.customer-app .team-context{margin:0 0 20px;border-left:4px solid var(--green);display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:18px 20px}.customer-app #team-context-label{font-size:17px;font-weight:800;color:var(--ink);margin:6px 0 0;line-height:1.4}.customer-app .team-context>.hint{width:100%;font-size:12px;margin:0}.customer-app .team-context>a{padding:9px 14px;font-size:13px;min-height:44px;white-space:nowrap}.team-match-grid{gap:16px;margin:0 0 28px}.customer-app .team-match-card{padding:20px;margin:0;border-radius:22px;min-width:0}.match-card-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.match-card-heading .eyebrow{font-size:10px;letter-spacing:1.4px}.match-chip{font-size:10px;line-height:1.4;font-weight:800;background:#edf5df;color:#486b1a;border-radius:20px;padding:5px 8px}.match-chip.muted{background:#f1eff5;color:#655c76}.match-lineup{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:10px;margin:20px 0 14px}.match-team{text-align:center;min-width:0;display:flex;flex-direction:column;align-items:center;gap:10px}.match-team img{width:58px;height:58px;object-fit:contain}.match-team strong{font-size:13px;line-height:1.35;overflow-wrap:anywhere;color:var(--ink)}.match-logo-placeholder{display:grid;place-items:center;width:58px;height:58px;background:#edf0e6;border-radius:50%;font-weight:850;color:#5e7438;font-size:24px}.match-lineup>.match-v{font-size:11px;font-weight:800;color:#8a8296;letter-spacing:1px}.match-lineup>.match-score{font-size:21px;letter-spacing:-.8px;padding:5px 10px;border-radius:12px}.match-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #edf0e7;padding-top:14px}.match-meta .match-time{font-size:17px;line-height:1.4;margin:0;color:var(--ink)}.match-meta .match-pitch{font-size:12px;color:#5e713e;background:#f1f5e9;padding:5px 9px;border-radius:8px;margin:0;text-align:right;overflow-wrap:anywhere}.penalty-note{text-align:center;margin:8px 0 0;font-size:12px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 18px}.section-heading h2{font-size:21px;margin:0}.section-heading p{margin:6px 0 0;font-size:14px}.section-heading>span{font-size:12px;color:#8a8296}.day-actions-heading{margin-top:12px}.customer-app .fixture{display:flex;align-items:center;gap:16px;min-height:110px;padding:22px;margin:0 0 14px;background:#fff;border:1px solid #e5e8de;border-radius:20px;box-shadow:0 3px 18px #29253504;text-decoration:none}.customer-app .fixture h2{margin:0 0 6px;font-size:18px;letter-spacing:-.35px;color:var(--ink)}.customer-app .fixture p{margin:0;font-size:13px;line-height:1.5}.customer-app .fixture .arrow{font-size:0;margin-left:auto;color:var(--purple);flex-shrink:0}.customer-app .fixture .arrow:after{content:'→';font-size:22px}.feature-icon{display:grid;place-items:center;width:46px;height:46px;flex-shrink:0;background:#edf4df;border-radius:14px;font-size:22px;color:#61822c}.customer-app .video-feature .feature-icon{background:#f0edf5;color:#6c587b}.customer-app .supporter-footer{max-width:720px;border-top:1px solid #e3e6dc;margin-top:0}.customer-app .supporter-footer h2{font-size:13px;text-transform:uppercase;letter-spacing:1.2px;color:#7c7587}.customer-app>footer{font-size:11px;padding:20px;text-align:center}.customer-app .team-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.customer-app .team-card{padding:16px 12px;min-height:140px;border-radius:18px}.customer-app .team-card img{width:56px;height:56px}.customer-app .team-card[aria-pressed=true]{border:2px solid var(--green);background:#f2f7e8}.customer-app .team-card span{font-size:14px}.customer-app .tile{padding:22px}.customer-app .logo-box{height:125px}

/* Photo: visual frame gallery, capture, finish */
.photo-flow{max-width:600px;margin:auto}.photo-intro{margin:0 0 22px;font-size:14px}.photo-steps{display:flex;list-style:none;padding:0;margin:0 0 20px;background:#e9ece3;border-radius:14px;gap:4px;padding:5px}.photo-steps li{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 6px;color:#8c8892;font-size:13px;font-weight:750;border-radius:11px}.photo-steps li[aria-current=step]{background:#fff;color:#4c6727;box-shadow:0 2px 6px #00000008}.photo-steps b{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#dfe4d7;color:#737d63;font-size:11px}.photo-steps li[aria-current=step] b{background:var(--green);color:#fff}.photo-status{font-size:13px;margin:0 0 16px}.frame-filter{display:flex;gap:8px;margin:0 0 18px;overflow:auto}.frame-filter button{white-space:nowrap;background:#fff;color:#797182;border:1px solid #dedfd8;padding:10px 16px;min-height:44px!important;font-size:13px}.frame-filter button[aria-pressed=true]{background:var(--purple);border-color:var(--purple);color:#fff}.gallery-team-options{background:#fff;border:1px solid #e5e8de;padding:16px;border-radius:16px;margin-bottom:20px}.gallery-team-options label{margin-top:0;font-size:13px}.gallery-team-options .hint{margin-bottom:0;font-size:12px}.frame-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.frame-tile{background:#fff;border:2px solid transparent;box-shadow:0 3px 14px #29253506;padding:8px 8px 14px!important;min-width:0;display:flex;flex-direction:column;align-items:stretch;color:var(--ink);text-align:left;overflow:hidden;border-radius:20px!important}.frame-tile:hover,.frame-tile:focus-visible{border-color:#a9c977}.frame-tile[aria-pressed=true]{border-color:var(--green)}.frame-tile-preview{display:block;position:relative;aspect-ratio:9/16;background:#e4e8df;overflow:hidden;border-radius:13px}.frame-tile-preview>img,.frame-tile-preview>canvas{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.frame-photo-placeholder:before{content:'';position:absolute;width:34%;aspect-ratio:1;top:26%;left:33%;background:#bdc8b0;border-radius:50%}.frame-photo-placeholder:after{content:'';position:absolute;width:80%;height:55%;top:50%;left:10%;background:#bdc8b0;border-radius:50% 50% 0 0}.frame-tile-label{font-size:14px;font-weight:800;padding:12px 4px 3px;line-height:1.35}.frame-tile small{font-size:10px;font-weight:500;color:#898190;padding:0 4px;line-height:1.5}.stories-pill{font-size:10px!important;color:#6d7f50!important;background:#e8eedf;padding:6px 10px;border-radius:18px;white-space:nowrap}.photo-edit-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}.photo-edit-heading h2{font-size:22px;letter-spacing:-.5px;margin:0 0 3px}.photo-edit-heading p{font-size:12px;margin:0}.text-button{border:0!important;background:transparent!important;color:#668735!important;padding:8px!important;font-size:13px;font-weight:800;min-height:44px}.photo-flow .photo-preview-panel{position:static;border:0;background:transparent;padding:0;margin:0;width:100%;scroll-margin-top:14px}.photo-flow .photo-canvas-wrap,.photo-flow .photo-preview-panel.camera-active .photo-canvas-wrap{--photo-width:min(340px,calc(100vw - 64px),31svh);width:var(--photo-width);height:calc(var(--photo-width)*16/9);max-height:none;aspect-ratio:9/16;margin:auto;border-radius:18px;box-shadow:0 12px 30px #29253517}.photo-flow .photo-canvas-wrap video{opacity:0;pointer-events:none}.photo-flow .photo-camera-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.photo-flow .photo-camera-actions button{flex:1 1 calc(50% - 5px);font-size:14px;min-height:48px}.photo-flow #photo-capture{flex-basis:100%;min-height:54px;font-size:16px}.photo-flow #photo-switch-camera{flex-basis:100%;background:transparent;border:1px solid #dedfd8;color:var(--purple);min-height:44px}.photo-flow .photo-options{background:white;padding:14px 16px;border:1px solid #e4e7dd;border-radius:13px;margin-bottom:16px}.photo-flow .photo-options summary{font-size:12px}.photo-flow .photo-adjust-row{display:flex;align-items:center;justify-content:space-between;margin-top:18px}.photo-flow .photo-adjust-row label{margin:0}.photo-flow #photo-zoom{width:100%;min-height:40px}.photo-flow #photo-retake{font-size:13px;width:100%;margin:6px 0 8px}.photo-flow .consent{display:flex;align-items:flex-start;gap:10px;background:#fff;border-radius:14px;border:1px solid #e4e7dd;padding:14px;font-size:12px;line-height:1.5}.photo-flow .consent input{flex-shrink:0;margin-top:3px}.photo-flow #photo-save{display:block;width:100%;min-height:54px;font-size:16px;margin-top:16px}.photo-flow .photo-success{text-align:center;padding:20px 0 10px}.photo-success>span{display:inline-grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#e4efd3;color:#67912c;font-size:23px}.photo-success h2{margin:12px 0 6px}.photo-success p{font-size:13px;margin:0}.photo-flow #photo-downloads .actions{display:flex;gap:10px}.photo-flow #photo-downloads .actions>*{flex:1;text-align:center;font-size:14px}.photo-flow #photo-open-result{display:block;text-align:center;font-size:12px;min-height:44px;padding:10px}.photo-flow #photo-another{display:block;width:100%;font-size:13px;margin-top:8px}.photo-flow [hidden],.frame-gallery [hidden]{display:none!important}.customer-app a:focus-visible,.customer-app button:focus-visible{outline:3px solid var(--green);outline-offset:3px}@media(max-width:480px){.customer-app>main{padding:22px 16px 32px}.customer-app>header{padding:12px 16px;min-height:68px}.customer-app .brand img{max-height:40px;max-width:125px}.customer-app .nav>span{display:none}.team-match-grid{grid-template-columns:1fr}.customer-app .team-match-card{padding:18px 20px}.match-team strong{font-size:13px;max-width:130px}.match-team img,.match-logo-placeholder{width:60px;height:60px}.match-lineup{margin-top:16px;margin-bottom:16px}.match-meta .match-time{font-size:20px}.day-actions-heading>span{display:none}.customer-app .fixture{padding:18px;min-height:103px;gap:12px}.customer-app .fixture h2{font-size:17px}.feature-icon{width:42px;height:42px;font-size:21px}.customer-app .team-context{padding:16px;gap:10px}.customer-app .team-context>a{font-size:12px}.customer-app #team-context-label{font-size:16px}.frame-gallery{gap:12px}.photo-edit-heading h2{font-size:21px}.photo-flow .photo-canvas-wrap,.photo-flow .photo-preview-panel.camera-active .photo-canvas-wrap{--photo-width:min(330px,calc(100vw - 64px),31svh)}}@media(prefers-reduced-motion:reduce){.customer-app *, .customer-app *:before,.customer-app *:after{scroll-behavior:auto!important;transition:none!important}}
.customer-app .fixture p{color:#797181}.customer-app .fixture .arrow{margin-top:0}.customer-app button:disabled,.customer-app .button[aria-disabled=true]{opacity:.5;cursor:not-allowed}.customer-app .team-match-card .match-empty{font-size:14px;margin:18px 0 4px}.photo-flow #team-frame-controls[hidden]{display:none!important}
.match-history{margin-top:18px;border-top:1px solid #edf0e7;padding-top:14px}.match-history>summary{display:flex;align-items:center;gap:8px;min-height:44px;padding:10px 12px;border-radius:12px;background:#f1f5e9;color:#567725;font-size:13px;font-weight:800;list-style:none}.match-history>summary::-webkit-details-marker{display:none}.history-count{font-size:11px;background:#fff;padding:2px 7px;border-radius:10px}.history-chevron{margin-left:auto;font-size:20px;line-height:1;transition:transform .15s}.match-history[open] .history-chevron{transform:rotate(180deg)}.match-history-list{padding-top:8px}.history-day{font-size:12px;text-transform:uppercase;letter-spacing:.7px;color:#8a8296;margin:18px 0 8px}.history-match{border-top:1px solid #edf0e7;padding:14px 0}.history-schedule{display:flex;justify-content:space-between;gap:10px;font-size:12px;color:#7d7588;margin-bottom:10px}.history-schedule strong{color:#4d485c}.history-schedule span{text-align:right;overflow-wrap:anywhere}.history-lineup{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:10px;align-items:center}.history-team{display:flex;align-items:center;gap:7px;min-width:0}.history-team:last-child{flex-direction:row-reverse;text-align:right}.history-team img{flex-shrink:0;object-fit:contain}.history-team span{font-size:12px;line-height:1.4;overflow-wrap:anywhere}.history-score{font-size:15px;color:#4d485c;white-space:nowrap}.history-match .hint{font-size:11px;text-align:center;margin:8px 0 0}.team-card[hidden]{display:none!important}#team-pick-hint{min-height:24px}
.team-match-grid{align-items:start}
.customer-app.page-tournament>header{gap:18px;max-width:none;padding:16px max(16px,calc((100vw - 680px)/2));align-items:center}.customer-app.page-tournament .brand{flex-shrink:0}.customer-app.page-tournament .brand img{max-width:180px;max-height:68px}.header-team-context{min-width:0;flex:1;text-align:right;color:white}.header-team-context .eyebrow{color:#c3d99e;font-size:9px;letter-spacing:1.3px}.header-team-context #team-context-label{color:white;font-size:14px;line-height:1.35;margin:3px 0;font-weight:750;overflow-wrap:anywhere}.header-team-change{display:inline-flex;align-items:center;justify-content:flex-end;min-height:36px;color:#d6eab5;text-decoration:none;font-size:12px;font-weight:700;padding:4px 0}.header-team-change:after{content:'→';margin-left:6px;font-size:15px}.customer-app.page-tournament .event-head{margin-bottom:20px;gap:16px}.customer-app.page-tournament .event-head>img{width:84px;height:84px;max-width:none;max-height:none;padding:8px}.customer-app.page-tournament .event-head h1{font-size:25px}.customer-app.page-tournament #team-match-summary{margin-top:8px}@media(max-width:480px){.customer-app.page-tournament>header{padding:12px 16px;gap:14px}.customer-app.page-tournament .brand img{max-width:155px;max-height:60px}.header-team-context #team-context-label{font-size:12px}.customer-app.page-tournament .event-head>img{width:76px;height:76px}.customer-app.page-tournament .event-head h1{font-size:24px}}@media(max-width:340px){.customer-app.page-tournament .brand img{max-width:130px}.header-team-context #team-context-label{font-size:11px}}
/* Consistent breathing room for stacked sections and form actions. */
main>.panel+ .panel,main>.panel+ .actions,main>.actions+ .panel,main>.actions+details.panel,main>details.panel+details.panel,main>.template-manager+details.panel{margin-top:20px}.admin-list{display:grid;gap:18px;margin-top:22px}.admin-list>.panel{margin:0}.panel>form+form{margin-top:20px;padding-top:16px;border-top:1px solid #edf0e7}.panel>form>.actions{margin-top:20px}.panel>form>button:last-child,.panel>details>form>button:last-child{margin-top:14px}.template-manager>.builder-accordion{margin-top:20px}.builder-controls .builder-save{margin-top:20px}.builder-helper-links{display:flex;flex-wrap:wrap;gap:16px;margin-top:22px}.info-editor-toolbar{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.info-editor-toolbar button{font-size:12px;padding:8px 10px;min-height:38px}.info-text-editor{min-height:280px;border:1px solid #dcded4;border-radius:12px;background:white;padding:18px;line-height:1.7;outline:none;overflow-wrap:anywhere}.info-text-editor:focus{outline:2px solid var(--green);outline-offset:2px}.info-page-heading{display:flex;align-items:flex-start;gap:16px;margin:8px 0 24px}.info-page-heading .feature-icon{margin-top:10px}.info-page-heading h1{margin:8px 0 12px}.info-page-heading p{margin:0}.info-page-content{line-height:1.75;overflow-wrap:anywhere}.info-page-content h2{font-size:22px;margin:26px 0 12px}.info-page-content h3{font-size:18px;margin:24px 0 10px}.info-page-content p:first-child,.info-page-content h2:first-child{margin-top:0}.info-page-content p:last-child{margin-bottom:0}.info-page-content li{margin-bottom:8px}.info-page-content blockquote{border-left:3px solid var(--green);margin:20px 0;padding-left:18px}.customer-app .info-feature .feature-icon{background:#eaf0e2;color:#678345}
main form>button[type=submit]{margin-top:14px}main>.builder-layout,main>details.panel+.builder-layout,main>.actions+.form-grid,main>.panel+.form-grid,main>.form-grid+.panel{margin-top:22px}.panel>details+form{margin-top:18px}.info-editor-toolbar button{margin:0!important}.info-text-editor[hidden]{display:none}

/* Optional edge-to-edge tournament tile artwork. */
.customer-app .fixture.tile-hero{position:relative;isolation:isolate;overflow:hidden;min-height:176px;align-items:flex-end;background:#302b3c;border-color:transparent}
.customer-app .fixture.tile-hero>.tile-hero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:-2}
.customer-app .fixture.tile-hero:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(16,13,24,.06),rgba(16,13,24,.84))}
.customer-app .fixture.tile-hero h2,.customer-app .fixture.tile-hero p,.customer-app .fixture.tile-hero .arrow{color:#fff;text-shadow:0 1px 3px #0008}
.customer-app .fixture.tile-hero>div{flex:1;min-width:0;overflow-wrap:anywhere}
.customer-app .fixture.tile-hero .arrow{align-self:flex-end}
.tile-artwork-preview{position:relative;isolation:isolate;overflow:hidden;border-radius:16px;aspect-ratio:2/1;background:#302b3c;margin:16px 0}
.tile-artwork-preview img{width:100%;height:100%;object-fit:cover;display:block}
.tile-artwork-preview:after{content:'';position:absolute;inset:0;background:linear-gradient(transparent,#100d18d6)}
.tile-artwork-preview span{position:absolute;bottom:18px;left:18px;right:18px;color:white;font-weight:800;z-index:1;text-shadow:0 1px 3px #0008}
@media(max-width:480px){.customer-app .fixture.tile-hero{min-height:160px}}

/* Borderless action tiles and a quieter tournament dashboard. */
.customer-app .fixture,.customer-app .fixture.tile-hero{border:0;box-shadow:0 4px 18px rgba(35,29,48,.07);transition:box-shadow .2s ease,transform .2s ease}
.customer-app .fixture.tile-hero>.tile-hero-image{max-width:none}
@media(hover:hover) and (pointer:fine){.customer-app .fixture:hover{box-shadow:0 12px 30px rgba(35,29,48,.18);transform:translateY(-2px)}}
.customer-app .fixture:focus-visible{box-shadow:0 8px 26px rgba(35,29,48,.16)}
.admin-primary-actions{margin-top:22px}.admin-section-heading{margin:32px 0 16px}.admin-tournaments{display:grid;gap:18px}.admin-event.panel{margin:0;padding:0;overflow:hidden}
.admin-event>summary{display:flex;align-items:center;justify-content:space-between;gap:20px;list-style:none;padding:22px;cursor:pointer}
.admin-event>summary::-webkit-details-marker{display:none}.admin-event summary h2{margin:10px 0 6px;font-size:21px}.admin-event summary p{margin:0;font-size:13px;line-height:1.5;font-weight:400}.admin-event-toggle{font-size:25px;transition:transform .2s}.admin-event[open] .admin-event-toggle{transform:rotate(180deg)}
.admin-event-sections{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;padding:24px;border-top:1px solid #edf0e7}
.admin-event-sections h3{font-size:15px;margin:0 0 8px}.admin-event-sections p,.admin-settings-group p{font-size:13px;line-height:1.5;margin:0 0 18px}.admin-event-sections .actions{display:grid;gap:10px;margin:0}.admin-event-sections .button{font-size:13px;text-align:left;padding:12px 14px}
.admin-shared-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:18px}.admin-settings-group.panel{margin:0;padding:20px}.admin-settings-group>summary{font-size:15px;line-height:1.5;cursor:pointer}.admin-settings-group>p{margin-top:16px}.admin-settings-group .actions{display:grid;gap:10px;margin-top:16px}.admin-settings-group .button{font-size:13px;text-align:left}
@media(max-width:800px){.admin-event-sections,.admin-shared-grid{grid-template-columns:1fr}.admin-event-sections{gap:24px;padding:20px}.admin-event-sections>section+section{border-top:1px solid #edf0e7;padding-top:22px}.admin-event>summary{padding:20px}.admin-section-heading{align-items:flex-start;gap:8px;flex-direction:column}}
@media(prefers-reduced-motion:reduce){.customer-app .fixture,.admin-event-toggle{transition:none}.customer-app .fixture:hover{transform:none}}

.match-history>summary .history-chevron{display:inline-flex;align-items:center;justify-content:center;align-self:center;flex:0 0 24px;width:24px;height:24px;margin-left:auto;font-size:0;line-height:0;transform-origin:center}.history-chevron svg{display:block;flex:none}

/* Mobile league tables: readable team names, scrollable statistics. */
.league-filter{display:flex;align-items:flex-end;gap:12px;margin:24px 0}.league-filter>div{flex:1;min-width:0}.league-filter label{margin-top:0}.league-filter select{margin-bottom:0}.league-filter button{flex-shrink:0;min-height:48px}
.league-table-scroll{max-width:100%;overflow-x:auto;border-radius:16px;background:#fff;box-shadow:0 4px 20px #231d300a;margin:18px 0;overscroll-behavior-x:contain}
.league-table{width:100%;min-width:650px;border-collapse:separate;border-spacing:0;font-size:13px;font-variant-numeric:tabular-nums}.league-table th,.league-table td{padding:14px 10px;text-align:center;border-bottom:1px solid #edf0e7;white-space:nowrap}.league-table thead th{background:#f1f5e9;color:#567725;font-weight:800}.league-table tbody th{text-align:left;background:#fff;font-weight:650}.league-table th:nth-child(2){position:sticky;left:0;z-index:1;text-align:left;min-width:185px;max-width:230px}.league-table tbody th{position:sticky;left:0;z-index:1;min-width:185px;max-width:230px}.league-team{display:flex;align-items:center;gap:9px;white-space:normal}.league-team img{width:30px;height:30px;object-fit:contain;flex:none}.league-team small{display:block;color:#597e24;font-size:10px;font-weight:700;margin-top:3px}.league-table .league-selected>*{background:#eaf3dc}.league-table abbr{text-decoration:none}.league-table .league-points{font-weight:850;color:#45601d}.league-table-scroll:focus-visible{outline:3px solid var(--green);outline-offset:3px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:480px){.league-filter{gap:10px}.league-filter button{padding:12px;font-size:13px}}

/* Tournament identity and hero artwork. */
.customer-app .brand.tournament-brand img{width:68px;height:68px;max-width:68px;max-height:68px;object-fit:contain}.customer-app .brand.tournament-brand{flex-shrink:0}
.tournament-hero{position:relative;isolation:isolate;overflow:hidden;border-radius:20px;min-height:230px;display:flex;align-items:flex-end;padding:26px;margin:0 0 26px;background:#302b3c}
.tournament-hero>img{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:center}.tournament-hero:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(transparent,rgba(16,13,24,.8))}.tournament-hero h1{color:#fff;font-size:clamp(26px,5vw,42px);line-height:1.15;margin:12px 0 0;text-shadow:0 2px 8px #0006}
.team-match-grid{align-items:stretch}.team-match-grid>.team-match-card{align-self:stretch}
.league-table{table-layout:fixed;min-width:500px}.league-col-position{width:32px}.league-col-team{width:148px}.league-col-stat{width:38px}.league-table th,.league-table td{padding:14px 6px}.league-table th:nth-child(2),.league-table tbody th{min-width:0;max-width:none}.league-team{gap:7px;overflow-wrap:anywhere}.league-team img{width:26px;height:26px}
@media(max-width:480px){.customer-app .brand.tournament-brand img{width:58px;height:58px;max-width:58px;max-height:58px}.tournament-hero{min-height:190px;padding:20px;margin-bottom:22px}}

/* A consistent, larger tournament header on every customer event page. */
.customer-app>header.tournament-header{padding:16px max(16px,calc((100vw - 680px)/2));gap:24px;align-items:center}
.tournament-header-brand{display:flex;flex-direction:column;align-items:flex-start;gap:7px;flex-shrink:0;max-width:45%}.customer-app .brand.tournament-brand img{width:104px;height:104px;max-width:104px;max-height:104px}.tournament-switch{font-size:11px;line-height:1.4;color:#d6eab5;max-width:155px;padding:4px 0;min-height:28px;display:inline-flex;align-items:center}.tournament-switch:hover{text-decoration:underline}
.customer-app.has-tournament-hero>main{max-width:none;padding:0 0 44px}.has-tournament-hero .tournament-content{max-width:720px;padding:0 20px;margin:auto}.customer-app.has-tournament-hero .tournament-hero{border-radius:0;margin:0 0 24px;min-height:280px;padding:30px max(20px,calc((100vw - 680px)/2));background:var(--soft)}
.customer-app .tournament-hero:before{background:linear-gradient(180deg,transparent 10%,rgba(244,245,242,.08) 35%,var(--soft) 94%)}.customer-app .tournament-hero h1{color:var(--ink);text-shadow:none}.customer-app .tournament-hero>div{width:100%}
.division-tabs{display:flex;gap:6px;padding:5px;background:#e9eddf;border-radius:14px;margin:20px 0 24px}.division-tabs a{flex:1;text-align:center;padding:11px 8px;text-decoration:none;font-size:14px;font-weight:750;border-radius:10px;color:#64724d}.division-tabs a[aria-current=page]{background:#fff;color:var(--purple);box-shadow:0 2px 8px #2925350a}
.division-match-list{display:grid;gap:12px;margin-top:18px}.division-match-list .history-day{margin:12px 0 0}.division-match.panel{padding:16px 18px;border-radius:16px;box-shadow:none}.division-match .history-schedule{margin-bottom:13px}.division-match-lineup{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:12px}.division-match-team{display:flex;align-items:center;gap:8px;min-width:0}.division-match-team:last-child{flex-direction:row-reverse;text-align:right}.division-match-team strong{font-size:12px;line-height:1.4;overflow-wrap:anywhere}.division-match-team img{object-fit:contain;flex-shrink:0}.division-match-score{font-size:20px;font-weight:850;white-space:nowrap}.division-match-selected.panel{background:#f1f7e8;border-color:#c9ddb0}.division-match .hint{margin:12px 0 0;font-size:11px}
@media(max-width:480px){.customer-app>header.tournament-header{padding:12px 16px;gap:18px}.customer-app .brand.tournament-brand img{width:84px;height:84px;max-width:84px;max-height:84px}.tournament-switch{max-width:135px;font-size:10px}.customer-app.has-tournament-hero .tournament-hero{min-height:225px;padding:24px 16px;margin-bottom:20px}.has-tournament-hero .tournament-content{padding:0 16px}.division-match-team img{width:28px;height:28px}.division-match-lineup{gap:8px}.division-match.panel{padding:15px 12px}}

/* Proportional event logos and compact tournament introductions. */
.customer-app>header.tournament-header{padding-top:10px;padding-bottom:10px}.tournament-header-brand{max-width:46%;gap:0;justify-content:center}.customer-app .brand.tournament-brand img{width:auto;height:auto;max-width:190px;max-height:var(--team-header-height,72px)}
.customer-app.has-tournament-hero .tournament-hero{min-height:160px;padding-top:18px;padding-bottom:18px}.customer-app .tournament-hero h1{font-size:clamp(25px,4vw,34px);margin-top:8px}.tournament-hero .tournament-switch,.event-head .tournament-switch{display:block;max-width:none;min-height:0;margin-top:7px;padding:0;color:#5b6950;font-size:11px;line-height:1.5}.customer-app .event-head h1{margin-top:8px}
#skip-team-form{margin-top:14px;padding-top:0;border-top:0}#skip-team-form .actions{margin-top:0}
@media(max-width:480px){.customer-app>header.tournament-header{padding-top:10px;padding-bottom:10px}.customer-app .brand.tournament-brand img{width:auto;height:auto;max-width:145px;max-height:var(--team-header-height,68px)}.customer-app.has-tournament-hero .tournament-hero{min-height:125px;padding-top:14px;padding-bottom:14px}.customer-app .tournament-hero h1{font-size:25px}.tournament-hero .badge{font-size:9px;padding:4px 9px}}

/* Optional two-column match-day tiles on phones and larger screens. */
.match-day-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.customer-app .match-day-tiles>.fixture{min-width:0;margin:0;grid-column:1/-1}.customer-app .match-day-tiles>.tile-half{grid-column:span 1;flex-direction:column;align-items:flex-start;justify-content:flex-end;padding:16px;gap:10px}.customer-app .match-day-tiles>.tile-half h2{font-size:16px;overflow-wrap:anywhere}.customer-app .match-day-tiles>.tile-half p{font-size:12px}.customer-app .match-day-tiles>.tile-half .arrow{display:none}.customer-app .match-day-tiles>.tile-half.tile-hero{min-height:176px}.customer-app .match-day-tiles>.tile-half .feature-icon{width:36px;height:36px;font-size:19px}
.tournament-documents{margin-top:30px;padding-top:24px;border-top:1px solid #e0e5d8}.tournament-documents h2{font-size:21px;margin:0 0 8px}.document-list{display:grid;gap:10px;margin-top:16px}.document-link{display:flex;align-items:center;gap:12px;padding:15px 16px;background:#fff;border-radius:13px;text-decoration:none;min-height:56px;border:1px solid #e5e8de;font-size:14px;font-weight:650}.document-link>span:nth-child(2){flex:1;min-width:0;overflow-wrap:anywhere}.document-file-icon{font-size:9px;font-weight:850;color:var(--brand-history-text,#63802e);background:var(--brand-history-bg,#edf3e4);border-radius:7px;padding:9px 6px}.document-link:hover{box-shadow:0 4px 16px #2925350d}

/* Compact tile settings and shared branding. */
.customer-app .match-day-tiles>.tile-half>div{flex:0 0 auto;margin-top:auto}
.tile-artwork-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));align-items:start}
.tile-artwork-list>.panel{padding:20px}.tile-settings-heading{display:flex;align-items:center;gap:14px;min-height:60px}.tile-settings-heading h2{font-size:18px;margin:0}.tile-settings-thumb{width:84px;height:58px;object-fit:cover;border-radius:8px;flex-shrink:0}.tile-image-controls{margin-top:18px}.tile-image-controls summary{cursor:pointer;font-weight:700}.tile-image-controls form+form{margin-top:12px}.branding-section{margin-top:18px}.branding-section textarea{width:100%;min-height:100px;font:inherit;padding:12px;border:1px solid #c9c6d1;border-radius:10px}input[type=color]{padding:4px;max-width:160px}
body>header{background:var(--brand-header,var(--purple));color:var(--brand-header-text,#fff)}body>header a,body>header .header-team-context p,body>header .eyebrow,body>header .brand small{color:var(--brand-header-text,#fff)}
.button:not(.secondary),button:not(.secondary):not(.text-button):not(.team-card):not(.frame-tile):not([data-frame-filter]){color:var(--brand-button-text,#182309)}
.customer-app .match-day-tiles>.fixture:not(.tile-hero){background:var(--purple);color:var(--brand-accent-text,#fff)}.customer-app .match-day-tiles>.fixture:not(.tile-hero) h2,.customer-app .match-day-tiles>.fixture:not(.tile-hero) p,.customer-app .match-day-tiles>.fixture:not(.tile-hero) .arrow{color:inherit}
.customer-app .tournament-hero:before{background:linear-gradient(to bottom,transparent 10%,var(--soft) 94%)}

body.customer-app>header .header-team-context #team-context-label{color:var(--brand-header-text,#fff)}

/* Distinct brand roles, shared by all customer screens. */
a{color:var(--brand-link,var(--purple))}.eyebrow,.customer-app .match-card-heading .eyebrow{color:var(--brand-eyebrow,#597823)}
.customer-app .match-day-tiles>.fixture:not(.tile-hero){background:var(--brand-tile,var(--purple))}
.customer-app .match-day-tiles>.fixture:not(.tile-hero) .feature-icon{background:transparent;color:inherit}
.match-history>summary{background:var(--brand-history-bg,#f1f5e9);color:var(--brand-history-text,#567725)}.match-history .history-count{background:transparent;color:inherit;border:1px solid currentColor}
.photo-steps,.photo-steps li,.photo-steps b{background:var(--brand-step-bg,#e9ece3);color:var(--brand-step-text,#655f70)}.photo-steps li[aria-current=step],.photo-steps li[aria-current=step] b{background:var(--brand-step-active-bg,#fff);color:var(--brand-step-active-text,#4c6727)}
.customer-app .tile .cta,.text-button{color:var(--brand-link,var(--purple))!important}.frame-filter button[aria-pressed=true]{background:var(--brand-link,var(--purple));color:var(--brand-link-text,#fff)}
.branding-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:18px 0}.branding-toolbar p{margin:0}.branding-toolbar button{flex-shrink:0}
.branding-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}.branding-group.panel{padding:18px 20px;border-radius:16px;margin:0}.branding-group>summary,.supporter-editor>summary{cursor:pointer;font-size:17px;font-weight:750}.branding-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}.branding-field{min-width:0}.branding-field>label:first-child{font-size:13px;margin:0 0 7px}.branding-field input:not([type=checkbox]),.branding-field select{min-height:42px;padding:8px 10px}.branding-field textarea{width:100%;min-height:90px;border:1px solid #c9c6d1;border-radius:10px;padding:10px;font:inherit}.branding-colour{display:grid;grid-template-columns:1fr 48px;align-items:center;gap:6px 10px}.branding-colour>label:first-child{margin:0}.branding-colour input[type=color]{width:48px;max-width:48px;height:38px;min-height:38px;padding:3px}.inherit-control{display:flex;gap:6px;align-items:center;font-size:12px;font-weight:500;margin:7px 0 0;grid-column:1/-1}.inherit-control input[type=checkbox]{width:16px;height:16px;margin:0}.branding-field:has(.inherit-control input:checked)>input,.branding-field:has(.inherit-control input:checked)>select,.branding-field:has(.inherit-control input:checked)>textarea{opacity:.55}
.supporter-manager{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:16px;margin:24px 0}.supporter-editor.panel{padding:18px 20px;border-radius:16px}.supporter-editor form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px;margin-top:16px}.supporter-editor form>label{margin:7px 0 0;grid-column:1/-1}.supporter-editor form>input,.supporter-editor form>select,.supporter-editor form>.hint,.supporter-editor form>.actions{grid-column:1/-1}.supporter-editor form>input[type=hidden]{display:none}.supporter-editor .actions{margin-top:12px}.supporter-directory{display:grid;gap:18px}.supporter-group.panel{padding:20px}.supporter-group>.section-heading{margin-bottom:12px}.supporter-group>details{margin-bottom:16px}.supporter-group>details summary{font-size:13px;cursor:pointer}.supporter-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:12px}.supporter-card{border:1px solid #e3e5dc;padding:14px;border-radius:12px;min-width:0}.supporter-card .team-row{align-items:center;min-width:0;gap:12px}.supporter-card .team-row>div{min-width:0}.supporter-card .team-badge{width:54px;height:48px;object-fit:contain;flex-shrink:0}.supporter-card p{font-size:12px;margin:3px 0;overflow-wrap:anywhere}.supporter-card small{font-size:11px}.supporter-card-actions{display:flex;align-items:center;flex-wrap:wrap;gap:16px;margin-top:12px}.supporter-card-actions>.button{padding:7px 14px;min-height:36px;font-size:13px}.supporter-card-actions summary{cursor:pointer;font-size:12px}.supporter-card-actions details[open]{flex-basis:100%}.supporter-card-actions form{margin-top:10px}
@media(max-width:760px){.branding-groups,.supporter-manager{grid-template-columns:1fr}.branding-toolbar{align-items:flex-start}.branding-toolbar p{font-size:12px}.branding-toolbar button{padding:10px 14px}.branding-group.panel{padding:16px}.branding-fields{gap:14px 12px}}

/* Shared highlights: match lists, tables and photo controls use one colour pair. */
body>header .header-team-context .eyebrow,body>header a.header-team-change{color:var(--brand-header-action,var(--brand-header-text,#fff))}
.customer-app .match-history>summary,.league-table thead th,.league-table .league-selected>*,.division-tabs,.division-tabs a,.photo-flow .frame-filter button{background:var(--brand-history-bg,#f1f5e9);color:var(--brand-history-text,#567725)}
.league-table .league-points,.league-team small{color:inherit}
.division-tabs a[aria-current=page]{background:var(--brand-history-text,#567725);color:var(--brand-highlight-contrast,#fff)}
.photo-flow .frame-filter button{border-color:var(--brand-history-text,#567725)}
.photo-flow .frame-filter button[aria-pressed=true]{background:var(--brand-history-text,#567725);color:var(--brand-highlight-contrast,#fff)}
.photo-flow button.frame-tile{color:var(--ink)}
.photo-flow .frame-tile:hover,.photo-flow .frame-tile:focus-visible,.photo-flow .frame-tile[aria-pressed=true]{border-color:var(--brand-history-text,#567725)}
.photo-flow .stories-pill{background:var(--brand-history-bg,#f1f5e9);color:var(--brand-history-text,#567725)!important}
.photo-flow .photo-success>span,.customer-app .match-chip,.customer-app .match-meta .match-pitch,.customer-app .badge,.customer-app .team-card[aria-pressed=true]{background:var(--brand-history-bg,#f1f5e9);color:var(--brand-history-text,#567725)}
.customer-app .team-card[aria-pressed=true]{border-color:var(--brand-history-text,#567725)}

.customer-app .badge:before{background:var(--brand-history-text,#567725)}

body.customer-app>header .header-team-context #team-context-label{color:var(--brand-header-team,var(--brand-header-text,#fff))}.branding-wide{grid-column:1/-1}.custom-css-editor{width:100%;min-height:240px;padding:14px;border:1px solid #c9c6d1;border-radius:10px;font:13px/1.5 monospace;tab-size:2}.favicon-preview{width:48px;height:48px;object-fit:contain;margin-top:12px}.social-footer{max-width:720px;margin:0 auto;padding:16px 20px 8px;text-align:center}.social-footer h2{font-size:12px;text-transform:uppercase;letter-spacing:1px;color:var(--brand-eyebrow)}.social-footer nav{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}.social-footer a{display:inline-flex;align-items:center;gap:7px;padding:9px 13px;border-radius:24px;background:var(--brand-history-bg);color:var(--brand-history-text);font-size:13px;font-weight:700;text-decoration:none;min-height:44px}.social-footer a:hover{box-shadow:0 3px 12px #0002}.info-destination{margin:18px 0;padding:16px;border:1px solid #e3e5dc;border-radius:12px}.info-destination[hidden]{display:none!important}

/* Customer cards keep their own text colour, independently of primary buttons. */
.customer-app button.team-card{color:var(--ink)}
.customer-app button.team-card[aria-pressed=true]{background:var(--brand-history-bg);color:var(--brand-history-text);border-color:var(--brand-history-text)}
.customer-app .event-head a.tournament-switch,.customer-app .tournament-hero a.tournament-switch{color:var(--brand-link)}
.customer-app .division-match-selected.panel{background:var(--brand-history-bg);color:var(--brand-history-text);border-color:var(--brand-history-text)}
.customer-app .division-match-selected .history-schedule,.customer-app .division-match-selected .history-schedule strong,.customer-app .division-match-selected .hint{color:inherit}
.customer-app .league-table thead th,.customer-app .league-table .league-selected>*{background:var(--brand-history-bg);color:var(--brand-history-text)}
.social-footer a{width:44px;height:44px;padding:0;justify-content:center;--social-icon-cutout:var(--brand-history-bg)}.social-footer svg{display:block;flex-shrink:0}

.customer-app .tournament-hero h1{color:var(--brand-hero-title,#282433)}

.skip-link{position:fixed;left:16px;top:-100px;z-index:100;padding:12px 18px;background:#fff;color:#292535;border:2px solid #4d485c;border-radius:8px}.skip-link:focus{top:12px}

/* Unified administration styles. */
/* Administration uses a stable, readable palette independent of customer colours. */
.admin-app{--purple:#403b50;--green:#4d485c;--ink:#292535;--soft:#f5f6f8;--brand-link:#403b50;--brand-button-text:#fff;--brand-history-bg:#eeedf3;--brand-history-text:#4d485c;background:var(--soft);font-size:14px}
.admin-app>main{display:grid;grid-template-columns:222px minmax(0,1fr);gap:36px;max-width:1440px;padding:28px 28px 64px;align-items:start}
.admin-sidebar{position:sticky;top:20px;max-height:calc(100svh - 40px);overflow:auto;padding:4px 16px 20px 0;border-right:1px solid #e1e2e8}
.admin-sidebar nav{margin:22px 0 0}.admin-sidebar h2{margin:0 12px 7px;color:#77717f;font-size:10px;font-weight:800;letter-spacing:1.1px;text-transform:uppercase}
.admin-sidebar a{display:block;padding:8px 12px;border-radius:8px;text-decoration:none;font-size:13px;line-height:1.45;color:#554f61;margin:2px 0;overflow-wrap:anywhere}
.admin-sidebar a:hover{background:#eeedf3}.admin-sidebar a[aria-current=page]{background:#e7e4ee;color:#30283e;font-weight:750;box-shadow:inset 3px 0 #5d526e}
.admin-sidebar .admin-overview-link{font-weight:800;font-size:14px}.admin-context{margin:16px 4px 20px;padding:14px 10px;border-top:1px solid #e1e2e8;border-bottom:1px solid #e1e2e8}.admin-context>span{font-size:10px;color:#77717f;text-transform:uppercase;letter-spacing:1px}.admin-context strong{display:block;font-size:15px;line-height:1.4;margin:6px 0;overflow-wrap:anywhere}.admin-context a{font-size:11px;padding:8px 0;margin:0}
.admin-workspace{min-width:0;max-width:1140px}.admin-workspace>.back{display:none}.admin-workspace>.eyebrow{display:block;font-size:10px;letter-spacing:1.2px;color:#71677d}.admin-workspace h1{font-size:32px;letter-spacing:-1px;line-height:1.2;margin:7px 0 12px}.admin-workspace>p{max-width:760px;margin:0 0 20px}.admin-workspace h2{font-size:19px;letter-spacing:-.3px}.admin-workspace h3{font-size:16px}.admin-workspace p{line-height:1.6}.admin-workspace .panel{border-radius:14px;padding:22px;border-color:#e2e2e9;box-shadow:0 2px 8px #29253503}.admin-workspace .narrow{max-width:none;margin:0}.admin-workspace .actions{gap:10px;margin-top:18px}.admin-workspace .actions form{margin:0}.admin-workspace .button,.admin-workspace button{min-height:42px;font-size:13px;border-radius:9px;padding:10px 15px}.admin-workspace .secondary{background:#eae8ef;color:#40394e}.admin-workspace input:not([type=checkbox]):not([type=radio]):not([type=color]),.admin-workspace select{min-height:42px;padding:10px 12px;font-size:14px;border-color:#ccc9d3;border-radius:8px}.admin-workspace label{font-size:13px}.admin-workspace .form-grid{gap:16px 22px}.admin-workspace .admin-row{padding:18px;border-radius:12px;gap:16px}.admin-workspace .admin-row h2{font-size:17px}.admin-workspace .admin-row .actions{margin-top:0}.admin-workspace .section-heading{margin:28px 0 14px}.admin-workspace .section-heading h2{margin:0;font-size:20px}.admin-workspace .section-heading>span{color:#77717f;font-size:12px}
.admin-event-list{display:grid;gap:14px}.admin-event-card{display:flex;align-items:center;justify-content:space-between;gap:20px}.admin-event-identity{display:flex;align-items:center;gap:18px;min-width:0}.admin-event-identity>img{width:64px;height:64px;object-fit:contain;flex-shrink:0}.admin-event-identity h2{font-size:20px;margin:5px 0;overflow-wrap:anywhere}.admin-event-identity p{font-size:12px;margin:0}.admin-status{display:inline-flex;align-items:center;padding:3px 8px;background:#eeedf3;color:#62596d;border-radius:20px;font-size:10px;font-weight:750;letter-spacing:.4px}.admin-status.is-live{background:#e6f1e8;color:#356346}.admin-event-card>.actions{margin:0;flex-shrink:0;flex-direction:column;align-items:stretch}.admin-event-card>.actions a{white-space:nowrap}
.admin-settings-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.admin-setting-card h3{margin:0;font-size:17px}.admin-setting-card p{font-size:13px;margin:8px 0 16px}.admin-setting-card a{display:block;margin-top:8px;font-weight:750;font-size:13px;text-decoration:none}.admin-setting-card a:hover{text-decoration:underline}
/* Forms are a predictable vertical sequence, not paired dropdown panels. */
.admin-workspace .branding-groups{display:block}.admin-workspace .branding-group{margin:0 0 16px;padding:24px;scroll-margin-top:100px}.admin-workspace .branding-group h2{margin:0 0 16px;padding-bottom:14px;border-bottom:1px solid #eeedf3}.admin-workspace .branding-fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 28px;margin:0}.admin-workspace .branding-colour{padding:10px 0}.admin-workspace .branding-field>label:first-child{font-size:13px}.admin-workspace .branding-field textarea{min-height:90px}.admin-workspace .branding-field:has(textarea){grid-column:1/-1}.admin-workspace .branding-toolbar{position:sticky;top:0;z-index:5;background:#f5f6f8ed;backdrop-filter:blur(12px);border-top:1px solid #e2e2e9;border-bottom:1px solid #e2e2e9;margin:20px 0 16px;padding:12px 0}.admin-workspace .branding-toolbar button{min-width:144px}.settings-sections{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 20px}.settings-sections a{padding:7px 11px;border:1px solid #dedbe5;background:#fff;border-radius:7px;text-decoration:none;font-size:12px}.settings-sections a:hover{background:#eeedf3}
.admin-workspace .tile-artwork-list{grid-template-columns:1fr}.admin-workspace .tile-artwork-list>.panel{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px 22px;align-items:center;padding:20px}.tile-image-controls{grid-column:1/-1;border-top:1px solid #eeedf3;padding-top:14px;margin:0}.tile-image-controls[open]{padding-bottom:6px}.tile-image-controls input[type=file]{max-width:600px}.tile-size-picker{display:flex;border:0;padding:0;margin:0;gap:5px;min-width:0}.tile-size-picker legend{font-size:11px;color:#77717f;margin-bottom:8px}.tile-size-picker label{margin:0;position:relative;cursor:pointer}.tile-size-picker input{position:absolute;opacity:0;width:1px;height:1px}.tile-size-picker span{display:flex;align-items:center;justify-content:center;min-height:42px;padding:8px 14px;border:1px solid #d7d3de;border-radius:8px;background:#fff;color:#5c5366;font-size:12px;font-weight:700}.tile-size-picker input:checked+span{background:#4d485c;color:#fff;border-color:#4d485c}.tile-size-picker input:focus-visible+span{outline:3px solid #80738f;outline-offset:3px}
.admin-workspace .supporter-manager{display:block;margin:20px 0}.supporter-manager:empty{display:none}.admin-workspace .supporter-editor{max-width:820px;margin:0 0 20px;scroll-margin-top:20px}.admin-workspace .supporter-editor h2{margin:0}.admin-workspace .supporter-editor form{display:grid;grid-template-columns:1fr 1fr;gap:12px 20px}.admin-workspace .supporter-editor form>label{grid-column:1/-1}.admin-workspace .supporter-editor form>input,.admin-workspace .supporter-editor form>select{grid-column:1/-1}.admin-workspace .supporter-editor form>.actions{margin-top:10px}.admin-workspace .supporter-card-actions{align-items:flex-start}.admin-workspace .supporter-cards{grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr))}.admin-workspace .supporter-group>details{padding:12px 0;border-top:1px solid #eeedf3}.admin-workspace .supporter-card-actions summary{padding:8px 0;min-height:36px}.admin-workspace .supporter-card-actions label{font-size:12px}.admin-workspace .supporter-group>details form{max-width:580px}.admin-workspace .builder-layout{grid-template-columns:minmax(0,1fr) minmax(320px,.8fr);gap:22px}
.admin-app>footer{border-top:1px solid #e2e2e9;background:#fff;color:#77717f}.admin-app>footer a{color:#554b65}.admin-app .error,.admin-app .success{font-size:13px}
@media(max-width:1100px){.admin-app>main{grid-template-columns:190px minmax(0,1fr);gap:22px;padding:22px}.admin-workspace .branding-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-event-card{align-items:flex-start;flex-direction:column}.admin-event-card>.actions{flex-direction:row;flex-wrap:wrap}.admin-workspace .builder-layout{grid-template-columns:1fr}.admin-workspace .builder-preview{position:static}}
@media(max-width:760px){.admin-app>main{display:block;padding:16px 16px 40px}.admin-sidebar{position:static;max-height:none;border:0;border-bottom:1px solid #dedbe5;padding:0 0 14px;margin-bottom:24px;display:flex;gap:6px;overflow-x:auto;align-items:center}.admin-sidebar>.admin-overview-link{white-space:nowrap;flex-shrink:0}.admin-sidebar .admin-context,.admin-sidebar nav h2{display:none}.admin-sidebar nav{display:contents}.admin-sidebar nav a{white-space:nowrap;flex-shrink:0;font-size:12px;padding:9px 12px}.admin-workspace h1{font-size:27px}.admin-settings-cards{grid-template-columns:1fr}.admin-workspace .branding-group{padding:18px}.admin-workspace .branding-fields{grid-template-columns:1fr 1fr;gap:16px}.admin-workspace .tile-artwork-list>.panel{grid-template-columns:1fr}.tile-image-controls{grid-column:auto}.tile-size-picker{justify-self:start}.admin-workspace .panel{padding:18px}.admin-workspace .admin-row{align-items:stretch}.admin-workspace .branding-toolbar{top:0}.admin-workspace .branding-toolbar p{max-width:45%}.admin-workspace .branding-toolbar button{min-width:0}.admin-workspace .supporter-editor form{display:block}.admin-workspace .supporter-editor form>input,.admin-workspace .supporter-editor form>select{margin-bottom:10px}.admin-event-identity{gap:12px}.admin-event-identity>img{width:48px;height:48px}.admin-workspace .actions .button,.admin-workspace .actions button{flex-grow:0}}
@media(max-width:400px){.admin-workspace .branding-fields{grid-template-columns:1fr}.admin-workspace .branding-colour{grid-template-columns:1fr 48px}.admin-event-card>.actions{flex-direction:column;align-self:stretch}}
.admin-menu-toggle{display:none}.admin-workspace .has-unsaved-changes{font-weight:750;color:#77562b}
@media(max-width:760px){.admin-sidebar{display:block;padding-bottom:14px}.admin-sidebar .admin-menu-toggle{display:flex;width:100%;justify-content:space-between;align-items:center;background:#eae8ef;color:#40394e;min-height:44px;font-size:14px}.admin-sidebar #admin-menu-content[data-collapsible=true]:not([data-open=true]){display:none}.admin-sidebar #admin-menu-content{padding-top:12px}.admin-sidebar nav{display:block;margin:18px 0 0}.admin-sidebar nav h2{display:block}.admin-sidebar nav a{white-space:normal;min-height:40px}.admin-sidebar .admin-context{display:block;margin-bottom:12px}.admin-sidebar .admin-overview-link{display:block}}

.admin-workspace form:has(input[name=action][value^=delete]) button,.admin-workspace form[action*="delete"] button{color:#9a3434;background:#f9eded}

.admin-workspace #tile-widths-form{position:sticky;top:0;z-index:5;display:flex;align-items:center;gap:16px;background:#f5f6f8ed;backdrop-filter:blur(12px);padding:12px 0;border-top:1px solid #e2e2e9;border-bottom:1px solid #e2e2e9}.admin-workspace #tile-widths-form .hint{margin:0}.admin-workspace #tile-widths-form button{flex-shrink:0}

/* Customer interaction polish. */
/* Consistent customer touch targets, text and interaction states. */
.customer-app{font-size:16px;-webkit-text-size-adjust:100%;text-size-adjust:100%}.customer-app h1,.customer-app h2{text-wrap:balance}.customer-app p{line-height:1.6}.customer-app>main{padding-bottom:40px}.customer-app .section-heading{align-items:baseline}.customer-app .team-match-grid{gap:16px;margin-bottom:28px}.customer-app .match-day-tiles{gap:14px}.customer-app .match-day-tiles>.fixture{margin:0;transition:transform .15s,box-shadow .15s;overflow-wrap:anywhere}.customer-app .match-day-tiles>.fixture:hover{transform:translateY(-2px);box-shadow:0 8px 22px #29253514}.customer-app .match-day-tiles>.tile-half{min-height:156px}.customer-app .match-day-tiles>.tile-half.tile-hero{min-height:190px}.customer-app .match-day-tiles>.tile-half>div{width:100%}.customer-app .match-day-tiles>.fixture.tile-hero h2,.customer-app .match-day-tiles>.fixture.tile-hero p{color:#fff}.customer-app .fixture.tile-hero:before{background:linear-gradient(180deg,#10101805 20%,#101018dd 100%)}
.customer-app .header-team-change{min-height:44px;padding:8px 0}.customer-app .tournament-switch{min-height:36px!important;display:inline-flex!important;align-items:center}.customer-app .back{min-height:44px;gap:8px}.customer-app .intro{margin-bottom:24px}.customer-app .team-cards{margin-top:16px}.customer-app button.team-card{transition:border-color .15s,box-shadow .15s;min-height:145px;padding:18px 12px}.customer-app button.team-card:hover{border-color:var(--brand-history-text);box-shadow:0 3px 14px #29253510}.customer-app button.team-card span{line-height:1.4}.customer-app button.team-card[aria-pressed=true]{box-shadow:0 0 0 1px var(--brand-history-text)}.customer-app button.team-card[aria-pressed=true]:after{content:'Selected';font-size:10px;letter-spacing:.6px;text-transform:uppercase;font-weight:800}.customer-app .team-placeholder{background:var(--brand-history-text);color:var(--brand-highlight-contrast)}
.customer-app .division-tabs{gap:4px;margin:20px 0}.customer-app .division-tabs a{min-height:46px;display:flex;align-items:center;justify-content:center;padding:10px 8px}.customer-app .league-filter{gap:12px}.customer-app .league-table-scroll{scrollbar-width:thin}.customer-app .league-table td,.customer-app .league-table th{height:52px}.customer-app .league-table thead abbr{cursor:help}.customer-app .division-match-list{gap:14px}.customer-app .document-link{min-height:64px;gap:14px}.customer-app .document-file-icon{flex-shrink:0}.customer-app .document-link:focus-visible{outline:3px solid var(--brand-history-text);outline-offset:3px}.customer-app .match-history>summary{min-height:48px}.customer-app .history-count{min-width:24px;text-align:center}.customer-app .photo-steps{margin-bottom:24px}.customer-app .frame-filter{padding:2px 2px 8px;gap:8px}.customer-app .frame-filter button{min-height:44px}.customer-app button.frame-tile{color:var(--ink)}.customer-app .frame-tile-label{line-height:1.4}.customer-app .photo-flow .consent{font-size:13px;gap:12px}.customer-app .photo-flow .consent input{min-width:20px}.customer-app .supporter-footer{padding-top:24px;margin-top:24px}.customer-app .social-footer{padding-top:20px;padding-bottom:12px}.customer-app .social-footer nav{gap:12px}.customer-app .social-footer a:focus-visible{outline:3px solid var(--brand-history-text);outline-offset:3px}.customer-app .social-footer a:hover{transform:translateY(-2px)}.customer-app .info-page-content{font-size:16px}.customer-app .info-page-content a{text-decoration:underline;text-underline-offset:3px}.customer-app .info-page-content li+li{margin-top:8px}
@media(max-width:400px){.customer-app .photo-steps li{font-size:11px;gap:5px;padding:10px 4px}.customer-app .match-day-tiles>.tile-half{padding:15px;gap:9px}.customer-app .match-day-tiles>.tile-half h2{font-size:15px}.customer-app .match-day-tiles>.tile-half p{font-size:12px}.customer-app .header-team-context #team-context-label{font-size:12px}}
@media(prefers-reduced-motion:reduce){.customer-app .match-day-tiles>.fixture,.customer-app .social-footer a{transition:none;transform:none}}

.customer-app .fixture.external-feature .arrow:after{content:"↗"}

/* Logos retain their natural aspect ratio throughout administration. */
.admin-app .site-header-brand,.admin-app .brand{min-width:0;flex-shrink:0}.admin-app .brand img{display:block;width:auto;height:auto;max-width:190px;max-height:64px;object-fit:contain;flex-shrink:0}
.admin-app .admin-event-identity>img{width:auto;height:auto;max-width:110px;max-height:64px;object-fit:contain;flex-shrink:0}.admin-app .team-badge,.admin-app .supporter-card .team-badge{width:auto;height:auto;max-width:80px;max-height:60px;object-fit:contain;flex-shrink:0}
.admin-sidebar #admin-menu-content>nav>a{display:block;text-decoration:none}.admin-setting-card>a{display:block;text-decoration:none}.admin-workspace a:not(.button):not(.back):not(.brand){text-underline-offset:3px}.admin-workspace .admin-setting-card>a:hover{text-decoration:underline}
@media(max-width:760px){.admin-app .brand img{max-width:155px;max-height:56px}.admin-app .admin-event-identity>img{max-width:85px;max-height:54px}}

/* Remaining shared surfaces and predictable spacing inside the admin workspace. */
.customer-app .info-page-heading .feature-icon{background:var(--brand-history-bg);color:var(--brand-history-text)}
.customer-app .logo-box{background:var(--brand-history-bg)}.customer-app .logo-box span{color:var(--brand-history-text)}
.customer-app .frame-tile-preview{background:var(--brand-history-bg)}.customer-app .frame-photo-placeholder:before,.customer-app .frame-photo-placeholder:after{background:var(--brand-history-text);opacity:.22}
.admin-app .editing-block-label,.admin-app .builder-save,.admin-app .shade-settings,.admin-app .font-specimen{background:var(--brand-history-bg);color:var(--brand-history-text)}
.admin-app .block-group{border-color:#dedbe5}.admin-app .block-toggle-row:has(input:checked){background:var(--brand-history-bg)}
.admin-workspace>.panel+.panel,.admin-workspace>.panel+.actions,.admin-workspace>.actions+.panel,.admin-workspace>.actions+details.panel,.admin-workspace>details.panel+details.panel,.admin-workspace>.template-manager+details.panel,.admin-workspace>.content-library+.panel{margin-top:20px}
.admin-workspace .panel>form>button:last-child,.admin-workspace .panel>form>.button:last-child,.admin-workspace .panel>form>select+button,.admin-workspace .panel>form>input+button{margin-top:16px}
.admin-workspace .panel>h2{margin-top:0}.admin-workspace .panel>summary+form{margin-top:16px}.admin-workspace .supporter-card-actions form{margin:0}.admin-workspace .supporter-card-actions button{min-height:36px}
.library-list{display:grid;gap:0;margin-top:14px}.library-list>a{display:flex;justify-content:space-between;align-items:center;gap:20px;text-decoration:none;padding:13px 0;border-top:1px solid #e6e3ec;min-height:48px}.library-list>a strong{font-size:14px}.library-list>a span{font-size:12px;color:#72687d;text-align:right}.library-list>a:hover strong{text-decoration:underline}.content-library{margin-bottom:20px}
@media(max-width:600px){.library-list>a{align-items:flex-start;flex-direction:column;gap:4px}.library-list>a span{text-align:left}}

.customer-app .match-logo-placeholder{background:var(--brand-history-bg);color:var(--brand-history-text)}

/* Optional colour wash fades alongside the existing image-to-page fade. */
.customer-app .tournament-hero:after{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(to bottom,var(--brand-hero-overlay,#4d485c),transparent 100%);opacity:var(--brand-hero-overlay-opacity,0)}
.admin-app .logo-box{background:#eeedf3;padding:16px}.admin-app .logo-box img{width:auto;height:auto;max-width:100%;max-height:120px;object-fit:contain}
.admin-workspace .branding-field input[type=range]{padding:0;min-height:36px;width:100%;accent-color:var(--green)}.branding-field output{font-size:12px;font-weight:750}
.admin-workspace .supporter-toolbar{margin-bottom:24px;row-gap:12px}.admin-workspace .supporter-manager{margin:0 0 24px}.admin-workspace .supporter-toolbar+.supporter-manager:empty{display:none}.admin-workspace .supporter-toolbar~.supporter-directory{margin-top:24px}
.admin-workspace .supporter-card{display:flex;flex-direction:column;gap:16px;min-width:0;padding:16px}.admin-workspace .supporter-card>.team-row{flex:1;align-items:flex-start;margin:0}.admin-workspace .supporter-card-actions{display:flex;align-items:center;justify-content:flex-start;gap:10px;flex-wrap:nowrap;margin:0;padding-top:12px;border-top:1px solid #eeedf3}.admin-workspace .supporter-card-actions>.button,.admin-workspace .supporter-card-actions>form>button{display:inline-flex;align-items:center;justify-content:center;min-height:38px;height:38px;padding:8px 14px;margin:0;font-size:13px;line-height:1.2;white-space:nowrap;border-radius:8px}.admin-workspace .supporter-card-actions>form{display:flex;align-items:center;margin:0;padding:0}.admin-workspace .supporter-group>.section-heading{margin-top:0}
/* Questionnaires: shared site builder and mobile feedback experience. */
.survey-admin-section{margin-top:20px}.survey-admin-section>h2{margin-top:0}.survey-admin-section textarea{width:100%;padding:12px;border:1px solid #ccc9d3;border-radius:9px;font:inherit;line-height:1.5}.survey-savebar{position:sticky;top:0;z-index:6;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;background:#f5f6f8f0;backdrop-filter:blur(12px);border-top:1px solid #e2e2e9;border-bottom:1px solid #e2e2e9;margin-top:20px}.survey-savebar .hint{margin:0}.survey-savebar button{flex-shrink:0}.survey-admin-card{display:flex;align-items:center;justify-content:space-between;gap:20px}.survey-admin-card h2{margin:8px 0}.survey-admin-card .actions{margin:0}.survey-builder-question{padding:18px;border:1px solid #ddd9e4;border-radius:12px;margin:16px 0;background:#faf9fc}.survey-builder-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.survey-question-actions{display:flex;gap:5px}.admin-workspace .survey-question-actions button{min-height:34px;padding:6px 10px;font-size:12px}.survey-builder-question .form-grid{margin-top:0}.survey-builder-question .inherit-control{margin-top:16px}.survey-scale-settings{display:grid;grid-template-columns:1fr 1fr 100px;gap:16px}.survey-add-question{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin-top:18px}.survey-add-question label{flex-basis:100%;margin:0}.survey-add-question select{max-width:280px}.survey-empty-builder{padding:18px;border:1px dashed #ccc7d6;border-radius:10px}.survey-assignments{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px;margin-top:16px}.survey-assignments label{display:flex;align-items:center;gap:9px;margin:0;padding:10px 0;font-weight:500}.survey-assignments input{flex-shrink:0}.survey-schedule-row{display:grid;grid-template-columns:1.3fr 1fr 1fr auto;gap:12px;align-items:end;margin:16px 0;padding:16px 0;border-top:1px solid #e4e0ea}.survey-schedule-row label{margin:0 0 6px}.survey-response-filter{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin:22px 0}.survey-response-filter>div{min-width:min(100%,280px);flex:1}.survey-response summary{font-size:14px;line-height:1.6}.survey-response dt{font-size:14px;font-weight:750;margin-top:18px}.survey-response dd{margin:5px 0 0;white-space:normal;overflow-wrap:anywhere;color:#655f70}.survey-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.survey-summary-grid article{padding:12px 0;border-top:1px solid #e5e1ea;min-width:0}.survey-summary-grid h3{margin:0 0 7px;overflow-wrap:anywhere}.survey-summary-choice{display:grid;grid-template-columns:minmax(0,1fr) minmax(60px,1fr) 28px;align-items:center;gap:10px;margin:8px 0;font-size:12px}.survey-summary-choice>span{overflow-wrap:anywhere}.survey-summary-choice progress{width:100%;height:12px;accent-color:var(--green)}
.survey-response-form{max-width:640px}.survey-response-form .survey-question{margin:22px 0;padding:22px 18px 18px;min-width:0}.survey-question legend{max-width:100%;padding:0 5px;font-size:16px;font-weight:750;line-height:1.5;overflow-wrap:anywhere}.survey-question-number{display:inline-grid;place-items:center;min-width:25px;height:25px;border-radius:50%;background:var(--brand-history-bg);color:var(--brand-history-text);font-size:12px;margin-right:5px}.survey-required{display:inline-block;font-size:10px;font-weight:500;color:#797182;margin-left:8px;white-space:nowrap}.survey-question input:not([type=checkbox]):not([type=radio]),.survey-question select,.survey-question textarea{margin-top:0;width:100%}.survey-question textarea{padding:12px;font:inherit;border:1px solid #c9c6d1;border-radius:12px;line-height:1.6}.survey-options{display:grid;gap:9px}.survey-options label{display:flex;align-items:center;gap:12px;min-height:48px;margin:0;padding:10px 12px;border:1px solid #dfdce5;border-radius:10px;font-size:14px;font-weight:500;cursor:pointer}.survey-options label:has(input:checked){background:var(--brand-history-bg);color:var(--brand-history-text);border-color:var(--brand-history-text)}.survey-options input[type=radio],.survey-options input[type=checkbox]{width:20px;height:20px;min-height:20px;padding:0;margin:0;accent-color:var(--brand-history-text);flex:0 0 20px}.survey-scale{display:flex;gap:7px;flex-wrap:wrap}.survey-scale label{position:relative;flex:1 1 0;min-width:0;margin:0;cursor:pointer}.survey-scale input{position:absolute;opacity:0;width:1px;height:1px;min-height:0}.survey-scale span{display:grid;place-items:center;min-height:46px;border:1px solid #d6d2de;border-radius:10px;background:#fff;color:var(--ink);font-weight:750}.survey-scale input:checked+span{background:var(--brand-history-text);color:var(--brand-highlight-contrast);border-color:var(--brand-history-text)}.survey-scale input:focus-visible+span{outline:3px solid var(--brand-history-text);outline-offset:3px}.survey-scale-labels{display:flex;justify-content:space-between;gap:14px;margin-top:10px;font-size:12px;color:#71687e}.survey-response-form>button{width:100%;margin-top:12px}.survey-response-form>.hint{font-size:12px}.survey-intro{white-space:normal}.survey-preview-note{padding:10px 14px;border:1px solid #dcd7e5;background:#f0edf5;border-radius:10px;color:#5c4f70;font-size:12px;margin-bottom:18px}.survey-thanks{text-align:center;margin-top:26px}.survey-thanks>span{display:inline-grid;place-items:center;width:48px;height:48px;border-radius:50%;background:var(--brand-history-bg);color:var(--brand-history-text);font-size:24px}.survey-thanks h2{margin-top:14px}.survey-thanks .button{margin-top:14px}.survey-popup{position:fixed;inset:0;width:min(440px,calc(100vw - 32px));max-height:calc(100svh - 40px);overflow:auto;padding:28px;border:0;border-radius:22px;background:#fff;color:#292535;box-shadow:0 24px 90px #0005;margin:auto;z-index:100}.survey-popup:not([open]){display:none}.survey-popup::backdrop{background:#1e172c99;backdrop-filter:blur(3px)}.survey-popup h2{font-size:26px;line-height:1.2;letter-spacing:-.5px;margin:14px 0}.survey-popup p{font-size:15px;color:#655f70;line-height:1.6;white-space:pre-line}.survey-popup .eyebrow{color:var(--brand-eyebrow);font-size:11px;padding-right:28px}.survey-popup .survey-popup-close{position:absolute;right:12px;top:12px;display:grid;place-items:center;width:40px;height:40px;min-height:40px;padding:0;background:transparent;color:#655f70!important;border-radius:50%;font-size:26px;line-height:1}.survey-popup-close:hover{background:#f0edf5}.survey-popup-actions{display:flex;gap:10px;margin-top:24px}.survey-popup-actions>*{flex:1;min-height:48px;font-size:14px}.survey-popup-open{overflow:hidden}
@media(max-width:760px){.survey-admin-card{align-items:flex-start;flex-direction:column}.survey-summary-grid{grid-template-columns:1fr}.survey-schedule-row{grid-template-columns:1fr 1fr}.survey-schedule-row>div:first-child{grid-column:1/-1}.survey-schedule-row>button{grid-column:1/-1;justify-self:start}.survey-scale-settings{grid-template-columns:1fr 1fr}.survey-scale-settings>div:last-child{grid-column:1/-1}.survey-assignments{grid-template-columns:1fr}.survey-builder-heading{align-items:flex-start;flex-direction:column}.survey-savebar .hint{font-size:11px}.survey-savebar button{padding:10px 12px}.survey-popup{padding:26px 22px}.survey-popup h2{font-size:25px}}
@media(max-width:400px){.survey-popup-actions{flex-direction:column}.survey-response-form .survey-question{padding-left:14px;padding-right:14px}.survey-scale{gap:5px}}
.survey-popup .secondary,.survey-thanks .secondary{background:var(--brand-history-bg);color:var(--brand-history-text)}

/* Private team registration */
.reg-admin-sections{display:grid;gap:20px}.reg-admin-sections>.panel{margin:0}.reg-subsection,.reg-player,.reg-team-row{padding:18px 0;border-top:1px solid var(--line,#dde2e8);margin-top:16px}.reg-subsection summary,.reg-player summary{cursor:pointer;padding:8px 0}.reg-team-row h3{margin:0 0 8px}.reg-team-row h3 small{font-weight:400}.reg-team-row .actions{margin:16px 0}.reg-danger{margin-top:20px;padding-top:16px;border-top:1px solid var(--line,#dde2e8)}.reg-event{margin:28px 0}.reg-team-card{align-items:flex-start;padding:22px}.reg-team-card h3{margin:12px 0 4px}.reg-player summary{display:flex;align-items:center;justify-content:space-between;gap:16px;list-style:none}.reg-player summary:after{content:'+';font-weight:700}.reg-player[open] summary:after{content:'−'}.reg-player small,.reg-copy-list small{display:block;margin-top:5px;color:var(--muted,#596473)}.reg-player-flags{display:flex;flex-wrap:wrap;gap:8px;font-size:.85rem}.reg-attention{color:var(--brand-history-text,var(--purple));background:var(--brand-history-bg,var(--soft));padding:8px 12px;border-radius:8px;line-height:1.5}.reg-copy-list{max-height:350px;overflow:auto;margin-top:16px}.reg-copy-list label{display:flex;align-items:flex-start;gap:10px;padding:12px 0;border-bottom:1px solid var(--line,#dde2e8)}.reg-copy-list input[type=checkbox]{flex-shrink:0;margin-top:4px}.reg-check{display:flex;align-items:flex-start;gap:10px;line-height:1.6;margin:20px 0}.reg-check input{flex-shrink:0;margin-top:6px}.reg-table-scroll{overflow:auto;margin:16px 0}.reg-table-scroll table{width:100%;border-collapse:collapse}.reg-table-scroll td,.reg-table-scroll th{text-align:left;padding:12px;border-bottom:1px solid var(--line,#dde2e8)}.page-registration-sheet .panel,.page-registration-sheet-admin .panel,.page-registration-mail .panel{margin-top:20px}.page-registration-login details form{margin-top:16px}.page-registration-admin details>form{margin-top:18px}.page-registration-admin summary{cursor:pointer;line-height:1.6}.page-registration-sheet .form-grid,.page-registration-sheet-admin .form-grid{align-items:end}
@media(max-width:600px){.reg-player summary{align-items:flex-start;flex-wrap:wrap}.reg-player-flags{width:100%;order:2}.reg-player summary:after{margin-left:auto}.reg-team-card{min-height:170px}.reg-table-scroll{max-width:100%}.reg-admin-sections .panel{padding:20px}.page-registration .section-heading{align-items:flex-start;flex-wrap:wrap}.page-registration-sheet .section-heading,.page-registration-sheet-admin .section-heading{flex-wrap:wrap;gap:16px}}
.reg-command{overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;padding:14px;background:var(--soft);border-radius:8px;font-size:.85rem}
.reg-add-player{display:inline-flex;align-items:center;min-height:44px;padding:10px 18px!important;border-radius:10px;background:var(--brand-button,var(--green));color:var(--brand-button-text,#fff);font-weight:700;list-style:none;margin:4px 0 12px}.reg-add-player::-webkit-details-marker{display:none}.reg-add-player:hover{box-shadow:0 4px 14px #0002}.reg-add-player:focus-visible{outline:3px solid var(--brand-link,var(--purple));outline-offset:3px}.reg-locked-notice{border-left:4px solid var(--brand-link,var(--purple))}
/* Registration overview and bulk age-group setup */
.reg-bulk-tools{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin:20px 0}.reg-bulk-tools[hidden]{display:none}.reg-bulk-tools label{margin:0;max-width:150px}.reg-group-grid{display:grid;grid-template-columns:48px minmax(130px,2fr) repeat(3,minmax(85px,1fr));gap:12px;align-items:center}.reg-group-heading{font-size:.8rem;font-weight:700;margin:16px 0 8px}.reg-group-edit-row{padding:12px 8px;border-bottom:1px solid var(--line,#dde2e8)}.reg-group-edit-row.is-selected{background:var(--brand-history-bg,var(--soft))}.reg-group-edit-row label{margin:0!important}.reg-group-tick{display:flex;justify-content:center}.reg-group-edit-row input:not([type=checkbox]){margin:0;width:100%}.reg-mobile-label{display:none}.reg-group-rule{border-top:1px solid var(--line,#dde2e8);margin-top:18px;padding-top:12px}.reg-status-key{display:flex;gap:20px;flex-wrap:wrap;margin:22px 0}.reg-progress-label{display:inline-flex;align-items:center;gap:8px;font-size:.9rem}.reg-progress-icon{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;flex:0 0 28px;border-radius:50%;font-weight:800;font-size:17px;border:1px solid currentColor}.reg-progress-icon.is-submitted{color:#146534;background:#e9f7ee}.reg-progress-icon.is-progress{color:#945006;background:#fff2d9}.reg-progress-icon.is-not-started{color:#ad2931;background:#fdecef}.reg-age-group{margin-top:24px;border:1px solid var(--line,#dde2e8);border-radius:14px;overflow:hidden}.reg-age-group-heading{padding:16px 20px;background:var(--brand-history-bg,var(--soft));color:var(--brand-history-text,var(--purple));display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.reg-age-group-heading h3,.reg-age-group-heading p{margin:0}.reg-team-list-row,.reg-team-list-heading{display:grid;grid-template-columns:minmax(160px,1fr) 85px 95px auto;gap:18px;align-items:center;padding:18px 20px}.reg-team-list-heading{font-size:.8rem;font-weight:700;padding-top:12px;padding-bottom:8px}.reg-team-list-row+.reg-team-list-row{border-top:1px solid var(--line,#dde2e8)}.reg-list-identity{display:flex;align-items:center;gap:12px;min-width:0}.reg-list-identity h4{font-size:1rem;margin:0;overflow-wrap:anywhere}.reg-list-identity p{margin:5px 0 0;font-size:.85rem}.reg-list-identity small{display:block;margin-top:6px;color:var(--muted,#596473)}.reg-list-count{display:flex;flex-direction:column;gap:4px}.reg-list-count strong{font-size:1.2rem}.reg-list-count span{font-size:.8rem;color:var(--muted,#596473)}.reg-age-empty{padding:16px 20px}.reg-team-list-row .button{margin:0;white-space:nowrap}#reg-team-management summary{cursor:pointer;padding:5px 0}
@media(max-width:700px){.reg-group-heading{display:none}.reg-group-grid{grid-template-columns:32px repeat(3,minmax(0,1fr));gap:10px}.reg-group-edit-row>label:nth-of-type(2){grid-column:2/-1}.reg-group-edit-row>label:nth-of-type(3){grid-column:2}.reg-group-tick{grid-row:1/3;align-self:start;padding-top:28px}.reg-mobile-label{display:block;font-size:.75rem;margin-bottom:5px}.reg-bulk-tools{gap:10px}.reg-bulk-tools label{max-width:calc(50% - 5px);flex:1}.reg-bulk-tools button{width:100%}.reg-team-list-heading{display:none}.reg-team-list-row{grid-template-columns:1fr 1fr;padding:18px;gap:14px}.reg-list-identity{grid-column:1/-1}.reg-team-list-row .button{grid-column:1/-1;text-align:center}.reg-list-count{flex-direction:row;align-items:baseline;gap:7px}.reg-age-group-heading{padding:16px 18px;gap:8px}.reg-age-group-heading p{font-size:.85rem}.reg-status-key{gap:12px}.reg-status-key .reg-progress-icon{width:23px;height:23px;flex-basis:23px;font-size:14px}}
/* Registration page refinement: compact overview, clear attention badges and simpler setup. */
.reg-summary-note{display:inline-block;margin-left:14px;color:var(--muted,#596473);font-size:.85rem;font-weight:400}.reg-selection-tools{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:18px 0}.reg-selection-tools[hidden]{display:none}.reg-selection-tools .hint{margin:0}.reg-group-grid{grid-template-columns:40px minmax(130px,1.8fr) 90px minmax(100px,1fr) 100px 78px;gap:12px}.reg-group-delete{padding:9px 11px;margin:0!important;font-size:.8rem;min-height:40px}.reg-group-delete:disabled{opacity:.4;cursor:not-allowed}.reg-overview{margin:24px 0!important;padding:24px!important}.reg-overview .section-heading{align-items:center;gap:16px;margin-bottom:12px}.reg-overview .section-heading h2{margin:0}.reg-overview .section-heading .hint{margin:6px 0 0}.reg-overview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:12px 0 20px}.reg-overview .reg-status-key{margin:0;gap:14px}.reg-overview .reg-status-key .reg-progress-icon{width:21px;height:21px;flex-basis:21px;font-size:13px}.reg-overview .reg-progress-label{font-size:.8rem}.reg-attention-summary,.reg-team-alerts{display:flex;gap:6px;flex-wrap:wrap}.reg-alert{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:6px;font-size:.72rem;line-height:1.35;font-weight:650;text-decoration:none!important;border:1px solid transparent}.reg-alert-photo{color:#922734!important;background:#fff0f2;border-color:#f2c9cf}.reg-alert-pending{color:#8b4b06!important;background:#fff6e5;border-color:#eed9ae}.reg-alert-approved{color:#276146!important;background:#edf7f0;border-color:#cce1d3}.reg-alert:hover{text-decoration:underline!important}.reg-group-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:start}.reg-compact-group{margin:0!important;min-width:0}.reg-compact-group .reg-age-group-heading{display:block;padding:14px 14px 12px}.reg-compact-group .reg-age-group-heading h3{font-size:1rem}.reg-compact-group .reg-age-group-heading p{margin:5px 0;font-size:.78rem}.reg-compact-group .reg-age-group-heading small{font-size:.73rem;opacity:.85}.reg-compact-row,.reg-compact-columns{display:grid;grid-template-columns:minmax(0,1fr) 34px 37px 44px;gap:7px;align-items:center;padding:10px 12px}.reg-compact-row.no-coaches,.reg-compact-columns.no-coaches{grid-template-columns:minmax(0,1fr) 36px 44px}.reg-compact-columns{font-size:.62rem;font-weight:650;color:var(--muted,#596473);padding-top:10px;padding-bottom:5px}.reg-compact-columns span:not(:first-child){text-align:center}.reg-compact-row+.reg-compact-row{border-top:1px solid var(--line,#dde2e8)}.reg-compact-identity{display:flex;align-items:center;gap:7px;min-width:0}.reg-compact-identity strong{font-size:.77rem;font-weight:600;line-height:1.4;overflow-wrap:anywhere}.reg-compact-identity .reg-progress-icon{width:21px;height:21px;flex:0 0 21px;font-size:13px}.reg-compact-number{font-size:.83rem;text-align:center;font-weight:650}.reg-view-team{font-size:.7rem!important;padding:7px 5px!important;min-height:36px;display:flex;align-items:center;justify-content:center;margin:0!important;border-radius:7px!important}.reg-team-alerts{grid-column:1/-1;padding:1px 0 2px 28px}.reg-lock-mark{font-size:.65rem}.reg-compact-group .reg-age-empty{padding:10px 14px;font-size:.8rem}.reg-admin-sections>section>details>summary{display:flex;align-items:center;gap:10px;flex-wrap:wrap;list-style:none;padding:5px 0}.reg-admin-sections>section>details>summary:before{content:'+';display:inline-flex;width:23px;height:23px;align-items:center;justify-content:center;background:var(--brand-history-bg,var(--soft));border-radius:5px;color:var(--brand-history-text,var(--purple));font-size:1rem}.reg-admin-sections>section>details[open]>summary:before{content:'−'}.reg-admin-sections>section>details>summary::-webkit-details-marker{display:none}.page-registration-admin .settings-sections{margin:18px 0 24px}.page-registration-admin .panel{scroll-margin-top:24px}
@media(max-width:1199px){.reg-group-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.reg-group-grid{grid-template-columns:32px minmax(100px,1.5fr) 70px minmax(80px,1fr) 80px 70px;gap:8px}.reg-compact-identity strong{font-size:.83rem}}
@media(max-width:750px){.reg-group-cards{grid-template-columns:1fr}.reg-overview{padding:18px!important}.reg-overview .section-heading{align-items:flex-start;flex-wrap:wrap}.reg-overview .section-heading .button{min-height:42px}.reg-overview-toolbar{align-items:flex-start}.reg-group-heading{display:none}.reg-group-grid{grid-template-columns:28px repeat(3,minmax(0,1fr));gap:10px}.reg-group-edit-row{padding:14px 4px}.reg-group-edit-row>label:nth-of-type(2){grid-column:2/-1}.reg-group-edit-row>label:nth-of-type(3){grid-column:2}.reg-group-tick{grid-row:1/3;align-self:start;padding-top:28px}.reg-mobile-label{display:block;font-size:.72rem;margin-bottom:5px}.reg-group-delete{grid-column:4;min-height:36px;justify-self:end}.reg-summary-note{margin-left:33px;font-size:.78rem}.reg-compact-row{padding:12px 14px;grid-template-columns:minmax(0,1fr) 42px 45px 48px;gap:9px}.reg-compact-columns{padding:10px 14px 5px;grid-template-columns:minmax(0,1fr) 42px 45px 48px;gap:9px}.reg-compact-row.no-coaches,.reg-compact-columns.no-coaches{grid-template-columns:minmax(0,1fr) 45px 48px}.reg-view-team{min-height:42px;font-size:.76rem!important}.reg-compact-identity strong{font-size:.9rem}.reg-compact-number{font-size:.95rem}.reg-compact-columns{font-size:.68rem}.reg-team-alerts{padding-left:28px}}
.reg-compact-identity strong{font-size:.84rem}.reg-team-alerts .reg-alert{font-size:.75rem}.reg-admin-sections form[hidden]{display:none!important}
@media(max-width:750px){.reg-view-team{min-height:44px}.reg-group-delete{min-height:40px}.reg-compact-identity strong{font-size:.9rem}}
/* Direct player editing */
.reg-sheet-intro h2{font-size:1.05rem;margin-top:0}.reg-sheet-format{font-size:1.15rem;margin:12px 0}.reg-sheet-deadline{padding:14px 16px;background:var(--brand-history-bg,var(--soft));color:var(--brand-history-text,var(--purple));border-radius:9px;line-height:1.7}.reg-copy-callout{border-left:4px solid var(--brand-button,var(--green))}.reg-copy-heading{font-size:1.05rem;font-weight:700;cursor:pointer;padding:8px 0;color:var(--brand-link,var(--purple))}.reg-player-grid-row,.reg-player-grid-heading{display:grid;grid-template-columns:minmax(100px,1fr) minmax(100px,1fr) 165px 115px 80px;gap:12px;align-items:center}.reg-player-grid-heading{font-size:.8rem;font-weight:700;margin:20px 0 8px}.reg-player-grid-row{padding:12px 0;border-bottom:1px solid var(--line,#dde2e8)}.reg-player-grid-row label{margin:0!important}.reg-player-grid-row input:not([type=checkbox]){width:100%;margin:0}.reg-grid-dob{position:relative;padding-right:23px}.reg-grid-age{position:absolute;right:0;top:50%;transform:translateY(-50%);font-size:.9rem;font-weight:800;border-radius:50%;text-align:center;width:20px;height:20px;line-height:20px}.reg-grid-age.is-pending{color:#8b4b06;background:#fff0ce}.reg-grid-age.is-approved{color:#276146;background:#edf7f0}.reg-grid-photo{display:flex;justify-content:center;gap:10px;align-items:center}.reg-grid-remove{padding:9px 10px;font-size:.8rem;min-height:42px;margin:0!important}.reg-grid-exception{grid-column:1/-1;font-size:.8rem;padding:10px;background:#fff6e5;border-radius:8px}.reg-grid-exception[hidden]{display:none}.reg-grid-exception span{display:block;margin-bottom:6px}.reg-age-warning{padding:14px 16px;background:#fff6e5;border:1px solid #eed9ae;color:#794508;border-radius:9px;line-height:1.6;margin:16px 0}.reg-age-warning[hidden]{display:none}.reg-submit-confirmation{padding:4px 16px 14px;margin:22px 0;background:var(--brand-history-bg,var(--soft));color:var(--brand-history-text,var(--purple));border-radius:10px}.reg-submit-confirmation p{font-size:.9rem;line-height:1.6;margin:0}.reg-submit-confirmation .reg-check{margin:14px 0}.reg-remove-team{margin:0!important}.reg-grid-photo input{width:20px;height:20px;flex:0 0 20px}
@media(max-width:1000px){.reg-player-grid-row,.reg-player-grid-heading{grid-template-columns:minmax(90px,1fr) minmax(90px,1fr) 155px 80px 70px;gap:8px}}
@media(max-width:750px){.reg-player-grid-heading{display:none}.reg-player-grid-row{grid-template-columns:1fr 1fr;gap:12px;padding:18px 0}.reg-player-grid-row .reg-mobile-label{display:block}.reg-grid-dob{grid-column:1;min-width:0}.reg-grid-age{top:calc(50% + 9px)}.reg-grid-photo{justify-content:flex-start;align-self:end;min-height:44px}.reg-grid-photo .reg-mobile-label{font-size:.8rem;margin:0}.reg-grid-remove{grid-column:2;justify-self:end;min-height:44px}.reg-player-grid-row .reg-grid-exception{grid-column:1/-1}.reg-sheet-format{font-size:1.05rem}.reg-sheet-intro,.reg-copy-callout{padding:20px}.reg-player-grid-row input[type=date]{font-size:.9rem}}
/* Clearer private registration selection and low-key admin photography indicator. */
.reg-inline-camera{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;color:var(--muted,#596473)!important;margin-left:5px;padding:3px;border-radius:4px}.reg-inline-camera:hover,.reg-inline-camera:focus-visible{background:var(--brand-history-bg,var(--soft));color:var(--brand-history-text,var(--purple))!important}.reg-inline-camera svg{width:15px;height:15px}.reg-contact-heading{margin:24px 0}.reg-contact-heading h1{margin:7px 0 10px}.reg-contact-heading>p{font-size:1rem;line-height:1.6;max-width:650px;margin:0 0 10px}.reg-contact-heading>small{color:var(--muted,#596473);font-size:.8rem;overflow-wrap:anywhere}.reg-contact-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:24px 0}.reg-contact-cards>.panel{margin:0!important;padding:24px;display:flex;flex-direction:column;gap:20px;min-width:0}.reg-choice-identity{display:flex;align-items:center;gap:18px}.reg-choice-identity img{height:auto;max-height:68px;width:auto;max-width:115px;object-fit:contain;flex-shrink:0}.reg-choice-identity h2{font-size:1.35rem;line-height:1.3;margin:5px 0 0;overflow-wrap:anywhere}.reg-choice-date{font-size:.8rem;color:var(--brand-eyebrow,var(--muted));font-weight:600;margin:0}.reg-choice-initial{display:flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:12px;background:var(--brand-history-bg,var(--soft));color:var(--brand-history-text,var(--purple));font-size:1.6rem;font-weight:700;flex-shrink:0}.reg-choice-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:18px 0;border-top:1px solid var(--line,#dde2e8);border-bottom:1px solid var(--line,#dde2e8)}.reg-choice-metrics>div{display:flex;flex-direction:column;gap:5px}.reg-choice-metrics strong{font-size:1.4rem;line-height:1.2}.reg-choice-metrics span{font-size:.74rem;color:var(--muted,#596473)}.reg-closing-summary{display:grid;grid-template-columns:1fr auto;gap:6px 16px;padding:15px 16px;border-radius:10px;background:var(--brand-history-bg,var(--soft));color:var(--brand-history-text,var(--purple))}.reg-closing-summary>span{font-size:.8rem;align-self:center}.reg-closing-summary>strong{font-size:1.05rem;text-align:right;font-variant-numeric:tabular-nums}.reg-closing-summary small{grid-column:1/-1;font-size:.78rem;opacity:.85}.reg-closing-summary.is-closed{opacity:.8}.reg-open-sheet{display:flex;align-items:center;justify-content:center;min-height:48px;font-size:.95rem;font-weight:700;margin-top:auto!important;text-align:center;text-decoration:none!important}.reg-selected-event{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:22px!important}.reg-selected-event .reg-closing-summary{min-width:260px}.reg-contact-team-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.reg-contact-state{display:inline-flex;align-items:center;gap:8px;font-size:.8rem;font-weight:600}.reg-contact-state .reg-progress-icon{width:22px;height:22px;flex-basis:22px;font-size:13px}.reg-contact-team h3{font-size:1.45rem;line-height:1.3;margin:-4px 0 0;overflow-wrap:anywhere}.reg-team-registration-summary{border-top:1px solid var(--line,#dde2e8);border-bottom:1px solid var(--line,#dde2e8);padding:15px 0;display:grid;gap:12px}.reg-team-registration-summary>div{display:flex;align-items:baseline;justify-content:space-between;gap:16px}.reg-team-registration-summary>div>span{font-size:.85rem;color:var(--muted,#596473)}.reg-team-registration-summary strong{font-size:1.05rem}.reg-team-registration-summary strong small{font-weight:400;font-size:.85rem;color:var(--muted,#596473)}.reg-contact-alerts{display:grid;gap:9px}.reg-contact-alerts p{display:flex;align-items:center;gap:8px;font-size:.8rem;line-height:1.5;margin:0;color:var(--muted,#596473)}.reg-contact-alerts svg{flex-shrink:0}.reg-contact-alerts .needs-attention{color:#8b4b06}.reg-photo-dialog{width:min(480px,calc(100% - 32px));max-height:85dvh;overflow:auto;padding:28px;border:0;border-radius:16px;background:var(--brand-background,#fff);color:inherit;box-shadow:0 20px 80px #0004}.reg-photo-dialog::backdrop{background:#0008}.reg-photo-dialog h2{font-size:1.3rem;line-height:1.4;margin:0 0 18px}.reg-photo-dialog p{font-size:.95rem;line-height:1.65}.reg-photo-dialog ul{padding-left:25px;margin:18px 0;max-height:30vh;overflow:auto}.reg-photo-dialog li{padding:5px 0;font-weight:650}.reg-photo-dialog .actions{margin-top:22px;gap:10px}.reg-photo-dialog .actions button{min-height:44px}.reg-sheet-intro .reg-closing-summary{margin:18px 0}
@media(max-width:700px){.reg-contact-cards{grid-template-columns:1fr;gap:18px;margin:20px 0}.reg-contact-cards>.panel{padding:22px;gap:18px}.reg-contact-heading{margin:20px 0}.reg-contact-heading h1{font-size:1.75rem}.reg-choice-identity img{max-height:60px;max-width:100px}.reg-choice-identity{gap:14px}.reg-choice-identity h2{font-size:1.2rem}.reg-selected-event{display:block;padding:22px}.reg-selected-event .reg-closing-summary{min-width:0;margin-top:18px}.reg-closing-summary{padding:14px}.reg-contact-team h3{font-size:1.3rem}.reg-photo-dialog{padding:22px}.reg-photo-dialog .actions{display:grid;grid-template-columns:1fr}.reg-photo-dialog .actions button{width:100%}}

/* Registration tournament summaries */
.reg-choice-metrics{border:0;padding:0;gap:10px}.reg-choice-metrics>div{padding:15px 12px;border-radius:12px;background:var(--brand-history-bg);color:var(--brand-history-text);text-align:center;align-items:center}.reg-choice-metrics span{color:inherit;line-height:1.4}.reg-event-choice.is-past{filter:grayscale(1);background:#f0f1f2;border-color:#ddd}.reg-event-choice.is-past .reg-choice-identity{opacity:.7}.reg-past-label{font-size:.75rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#59616c}.reg-event-choice.is-past .reg-open-sheet{background:#606975!important;color:#fff!important}.reg-event-choice.is-past .reg-choice-metrics>div,.reg-event-choice.is-past .reg-closing-summary{background:#e3e5e7;color:#454b53}

.reg-cron-command{white-space:pre-wrap;overflow-wrap:anywhere;padding:14px;border-radius:8px;background:var(--brand-history-bg);color:var(--brand-history-text);font-size:.8rem}

.reg-mail-preview{display:block;width:100%;height:660px;border:1px solid var(--line);border-radius:10px;margin:22px 0;background:#f3f4f6}

.supporter-drag{touch-action:none;cursor:grab;min-width:40px;min-height:40px;padding:5px 10px!important;margin:0 10px 0 0!important;background:var(--brand-history-bg)!important;color:var(--brand-history-text)!important;border:1px solid var(--line);font-size:24px;line-height:1;flex-shrink:0}.supporter-drag:active{cursor:grabbing}.supporter-group>.section-heading h2{display:flex;align-items:center}.supporter-card>.supporter-drag{align-self:flex-start}.supporter-group.is-sorting,.supporter-card.is-sorting{outline:2px dashed var(--brand-link);opacity:.65}#supporter-order-form{margin:20px 0}#supporter-order-form .actions{gap:14px}#supporter-order-form [role=status]{font-size:.85rem}

/* Centre incomplete sponsor rows while retaining five/four/two logo columns. */
.supporter-logo-grid{display:flex;flex-wrap:wrap;justify-content:center}.supporter-logo-grid>a,.supporter-logo-grid>.supporter-unlinked{flex:0 0 calc((100% - 64px)/5);min-width:0;box-sizing:border-box}@media(max-width:900px){.supporter-logo-grid>a,.supporter-logo-grid>.supporter-unlinked{flex-basis:calc((100% - 48px)/4)}}@media(max-width:600px){.supporter-logo-grid>a,.supporter-logo-grid>.supporter-unlinked{flex-basis:calc((100% - 12px)/2)}}

/* Get on the screen: square editor and event moderation. */
.screen-editor{max-width:680px;margin:0 auto}.screen-preview{aspect-ratio:1;overflow:hidden;border-radius:20px;background:#252331;margin-bottom:20px}.screen-preview canvas,.screen-preview video{display:block;width:100%;height:100%;object-fit:cover}.screen-preview [hidden]{display:none}.screen-preview canvas{touch-action:none;cursor:grab}.screen-preview canvas:active{cursor:grabbing}.screen-editor textarea{width:100%;resize:vertical}.screen-editor .actions{flex-wrap:wrap}.screen-editor [hidden]{display:none}.screen-review-photo{width:100%;aspect-ratio:1;object-fit:contain;border-radius:12px;margin-bottom:16px}.screen-review-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr))}.screen-filters{flex-wrap:wrap}.screen-filters [aria-current=page]{outline:3px solid var(--green);outline-offset:2px}.screen-message-text{white-space:pre-wrap;overflow-wrap:anywhere}.screen-review-grid .actions{flex-wrap:wrap}

.screen-history{max-width:900px;margin:42px auto 0;border-top:1px solid #dfe3db;padding-top:24px}.screen-history-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,180px),1fr));gap:16px}.screen-history-card{background:#fff;border:1px solid #e1e5dc;padding:10px;border-radius:16px;display:flex;flex-direction:column;gap:10px;min-width:0}.screen-history-card img{width:100%;aspect-ratio:1;border-radius:10px;object-fit:contain;background:#f1f3ee}.screen-history-card small{font-size:12px;color:#646b5f}.screen-history-badge{align-self:flex-start;font-size:12px;line-height:1.3;border-radius:20px;padding:6px 10px;background:#fff2cc;color:#684900;font-weight:700}.screen-history-badge.status-approved{background:#e8f4da;color:#34541b}.screen-history-badge.status-rejected{background:#f0e8e8;color:#6b3333}.screen-sponsor-picker{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px}.screen-sponsor-choice{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid #dfe3db;border-radius:12px;margin:0!important}.screen-sponsor-choice input{width:auto;flex-shrink:0}.screen-sponsor-choice img{width:60px;height:45px;object-fit:contain;background:#fff}.screen-banner-preview{display:block;width:100%;max-height:160px;object-fit:contain;background:#fff;border:1px solid #dfe3db;border-radius:10px;padding:10px;margin:12px 0}

.social-builder-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);gap:24px;align-items:start}.social-photo-picker{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:14px}.social-photo-choice{border:2px solid #dfe3db;background:#fff;border-radius:14px;padding:9px;margin:0;display:flex;flex-direction:column;gap:8px;cursor:pointer}.social-photo-choice:has(input:checked){border-color:var(--green);box-shadow:0 0 0 2px var(--green)}.social-photo-choice>img{width:100%;aspect-ratio:1;object-fit:contain;border-radius:9px}.social-photo-choice>span{display:flex;gap:8px;align-items:center;font-size:14px}.social-photo-choice input{width:auto;margin:0}.social-photo-choice small{font-size:11px;color:#626a5e}.social-builder-preview canvas{display:block;width:100%;max-width:380px;height:auto;aspect-ratio:9/16;border-radius:15px;margin:18px auto;border:1px solid #dfe3db}.social-builder-preview canvas[hidden]{display:none}.social-grid-selected{list-style:none;padding:0;display:grid;gap:9px}.social-grid-selected li{display:flex;gap:7px;align-items:center;flex-wrap:wrap;font-size:12px;border-bottom:1px solid #e1e5dc;padding-bottom:8px}.social-grid-selected img{width:44px;height:44px;object-fit:contain;border-radius:7px}.social-grid-selected li>span{flex:1;min-width:70px}.social-grid-selected button{padding:6px 9px;min-height:32px;font-size:12px}.social-builder-preview .actions{flex-wrap:wrap}@media(max-width:1000px){.social-builder-layout{grid-template-columns:1fr}.social-builder-preview{max-width:none}}

.access-columns{display:grid;grid-template-columns:minmax(280px,1fr) minmax(360px,2fr);gap:24px;align-items:start}.access-account{padding:16px 0;border-bottom:1px solid var(--line);margin-bottom:16px}.access-assignment{border-top:1px solid var(--line);padding:16px 0}.access-permissions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px;margin:18px 0}.access-permissions label{display:flex;align-items:flex-start;gap:9px;margin:0!important;font-size:.9rem}.access-permissions input{flex-shrink:0;margin-top:3px}.access-assignment summary{cursor:pointer;font-weight:650}@media(max-width:900px){.access-columns{grid-template-columns:1fr}}@media(max-width:600px){.access-permissions{grid-template-columns:1fr}}

/* Workspace admin spacing and aligned tools. Scoped to administration. */
.admin-workspace>form>section.panel+section.panel,.admin-workspace>form>.panel+.panel{margin-top:22px}.admin-workspace>.panel+.panel{margin-top:22px}.admin-workspace .actions{gap:12px;align-items:center;flex-wrap:wrap}.admin-workspace .actions>form{margin:0;display:flex;align-items:center}.admin-workspace .actions button,.admin-workspace .actions .button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;margin:0;padding:10px 16px;line-height:1.3}.admin-workspace .panel>h2:first-child{margin-top:0}.admin-workspace .panel>form>.actions,.admin-workspace .panel>details>form>.actions{margin-top:20px}.admin-workspace .access-columns>.panel{margin:0}.admin-workspace .access-account .actions{margin-top:14px}.admin-workspace .access-assignment summary{padding:6px 0}.admin-workspace .access-permissions label{line-height:1.5}.admin-workspace .supporter-toolbar{margin-bottom:22px}.admin-workspace .survey-admin-card .actions{justify-content:flex-start}.team-manager-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:24px 0}.team-manager-tools>.panel{margin:0;display:flex;flex-direction:column}.team-manager-tools>.panel>form{margin-top:auto;padding-top:16px}.team-age-list{display:grid;gap:14px}.team-age-row{display:flex;align-items:flex-end;gap:12px;padding-bottom:14px;border-bottom:1px solid var(--line)}.team-age-edit{flex:1;min-width:0}.team-age-row>form{margin:0}.team-inline-fields{display:flex;align-items:center;gap:12px}.team-inline-fields input{flex:1;min-width:0;margin:0}.team-inline-fields button,.team-age-row>form>button{flex-shrink:0;min-height:44px;margin:0!important;padding:10px 16px}.team-age-add{margin-top:22px}.team-table-scroll{overflow:auto;max-height:420px}.team-table-scroll table{width:100%;border-collapse:collapse}.team-table-scroll th,.team-table-scroll td{text-align:left;padding:12px;border-bottom:1px solid var(--line);white-space:nowrap}.team-directory .admin-row{gap:20px;padding:16px 0}.team-directory .team-row{min-width:0}.team-directory h3{margin:4px 0}.team-directory small{overflow-wrap:anywhere}.team-directory .actions{flex-shrink:0}.team-directory .team-badge{object-fit:contain;flex-shrink:0}.team-import-preview{margin-bottom:24px}#team-editor{scroll-margin-top:24px}#team-editor details>form{padding-top:16px}
@media(max-width:800px){.team-manager-tools{grid-template-columns:1fr}.team-directory .admin-row{flex-wrap:wrap}.team-directory .actions{width:100%;justify-content:flex-start}.team-age-row{flex-wrap:wrap}.team-age-edit{flex-basis:100%}.team-inline-fields{flex-wrap:wrap}.team-inline-fields input{min-width:150px}.team-age-row>form:last-child{margin-left:auto}}
