@import url('./scoodle-ui.css');
:root{font-family:Arial,Helvetica,sans-serif;color:#173e31;background:#f5f6f5;font-synthesis:none}*{box-sizing:border-box}body{margin:0;padding:16px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button,a{color:inherit}button,.button{cursor:pointer;background:#fff;border:1px solid #b9cbc1;border-radius:6px;padding:8px 12px;text-decoration:none;font-size:13px}button:hover,.button:hover{filter:brightness(.96)}button:disabled{cursor:not-allowed;opacity:.6}a:focus-visible,button:focus-visible{outline:3px solid #d6aa26;outline-offset:3px}[hidden]{display:none!important}.primary{background:#00543c;color:white;border-color:#00543c}.development{font-size:11px;letter-spacing:.6px;text-align:center;margin:0 auto 12px;color:#58675e}.app{max-width:1024px;margin:auto;border-radius:14px;overflow:hidden;border:1px solid #d5ded9;--back:#3e584d;--ink:#fffdf5;--muted:#e0e9df;--line:#718578}.app[data-background=blue]{--back:#405b70;--muted:#e2eaf1;--line:#7c91a2}.app[data-background=grey]{--back:#e5e7e8;--ink:#243d35;--muted:#42544e;--line:#bdc5c1}header,.tools{background:#fff;padding:16px 24px;display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap}header>a:last-child{font-size:13px}.scoodle-logo{width:135px;height:40px;object-fit:contain}.tools{border-top:1px solid #e3e8e4;padding:10px 24px;font-size:12px}.tools:empty{display:none}.hero{min-height:210px;background-size:cover;background-position:center;display:flex;align-items:center;color:white;padding:28px}.hero h1{font-size:34px;line-height:1.05;max-width:600px;white-space:pre-line;margin:12px 0}.hero .kicker{color:#ffe26d;font-weight:700;font-size:11px;letter-spacing:1px}.hero p{font-size:13px}.hero-brand{font-size:18px;font-weight:800}.hero-brand small{display:block;font-size:11px;font-weight:400;letter-spacing:1px;margin-top:4px}main{padding:24px 30px;background:var(--back);color:var(--ink);min-height:200px}#status:empty{display:none}#status{padding:12px;border:1px solid currentColor;border-radius:6px;font-size:14px}#status.error{background:#fff5e5;color:#762a15}h2{font-size:23px;margin:0}.heading{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:16px}.count{font-size:13px;font-weight:400;color:var(--muted)}.heading select{padding:8px;border:1px solid #b8c8bc;border-radius:6px;background:white;color:#173e31;font-size:13px}.card{display:grid;grid-template-columns:110px minmax(0,1fr);grid-template-rows:auto auto;column-gap:14px;background:white;color:#173e31;border:1px solid #d7e1d7;border-radius:9px;overflow:hidden;margin:12px 0;box-shadow:0 3px 10px #102b2226}.thumb{grid-row:1/3;display:flex;flex-direction:column;background:white;border-right:1px solid #d7e1d7;text-decoration:none}.thumb img{width:100%;height:80px;object-fit:cover;flex:1;min-height:0}.thumb span{font-size:10px;text-align:center;font-weight:800;line-height:1.1;padding:6px 2px;border-top:1px solid #e6ece5;overflow-wrap:anywhere}.card-title{display:flex;align-items:start;justify-content:space-between;gap:8px;padding:7px 10px 0 0;min-width:0}.title{min-width:0;border:0;background:none;text-align:left;padding:0;font-size:20px;line-height:1.1;font-weight:800;text-decoration:none;white-space:nowrap}.pencil{padding:3px 7px;font-size:18px;line-height:1;border:none;flex:none}.facts{min-width:0;padding:0 10px 6px 0;font-size:12px}.date,.capacity{line-height:1.25}.row-links{border-top:1px solid #d7e1d7;margin-top:5px;padding-top:4px;display:flex;gap:5px;align-items:center;flex-wrap:wrap}.row-links .button,.row-links button{font-size:11px;padding:5px 8px}.state{font-size:10px;border-radius:4px;background:#f2f4ef;color:#46564c;padding:4px 6px}.past{display:flex;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line);font-size:13px}.past span{flex:1}.past .title{font-size:13px;font-weight:400;white-space:normal}.empty{padding:30px 0;font-size:15px;color:var(--muted)}footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:20px 30px;background:var(--back);color:var(--ink);border-top:1px solid var(--line);font-size:12px}footer nav{display:flex;gap:18px}footer a{text-decoration:none}.editor,.detail,.home-panel{background:#fff;color:#173e31;border-radius:10px;padding:22px}.editor h2,.detail h2{margin:16px 0}.editor label{font-size:13px;display:flex;flex-direction:column;gap:5px;min-width:0}.fields{display:grid;grid-template-columns:1fr 1fr;gap:15px}.wide{grid-column:1/-1}input,select,textarea{width:100%;min-width:0;color:#173e31;background:white;border:1px solid #b8c8bc;border-radius:6px;padding:9px;font-size:16px}textarea{min-height:90px;resize:vertical}.checks label{flex-direction:row;align-items:center;margin:12px 0}.checks input{width:18px;height:18px}.tabs{display:flex;gap:6px;overflow-x:auto;margin:14px 0;padding-bottom:5px}.tabs button{white-space:nowrap}.tabs [aria-selected=true]{background:#00543c;color:white}.actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;margin-top:18px}.note{font-size:13px;line-height:1.5;color:#50635a}.notice{padding:12px;background:#fff7dd;border:1px solid #d4c68d;border-radius:6px;font-size:13px;line-height:1.5}.cover{width:100%;max-height:300px;object-fit:cover;border-radius:8px}.detail p{white-space:pre-line;line-height:1.5}.money{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #d7e1d7}.home-panel a{display:block;margin:12px 0}dialog{width:min(460px,calc(100vw - 30px));border:1px solid #bdd0c2;border-radius:12px;color:#173e31;padding:22px}dialog::backdrop{background:#0a2d23a6}dialog h2{font-size:21px}.menu{display:flex;flex-direction:column;gap:8px}.menu button{text-align:left}.embed header,.embed .development,.embed .tools,.embed .hero,.embed footer{display:none}.embed body{padding:0}.embed .app{border:0;border-radius:0}
.app{--back:#006747}
.app[data-background=muted]{--back:#3e584d}
.club-settings-preview{position:relative;flex:0 1 38%;min-height:130px;max-height:280px;padding:0;margin:0;border-bottom:4px solid #173e31;overflow:hidden;background:var(--back)}
.editor .club-preview-title{position:absolute;top:0;left:50%;transform:translateX(-50%);max-width:calc(100% - 20px);width:max-content;margin:0;padding:7px 14px;background:#fff;color:#173e31;text-align:center;font-size:14px;line-height:1.2;border-radius:0 0 6px 6px;box-shadow:0 2px 5px #173e311a;z-index:1}
.club-settings-preview #header-preview{border-radius:0}
.club-settings-preview .hero{padding-top:48px}
.app[data-background=tribe]{--back:#0b3425;--ink:#fffdf5;--muted:#e0e9df;--line:#527364}
.schedule-settings-sample{width:100%;max-width:none;margin:0;border:0;border-radius:0}
.schedule-settings-sample .hero{display:flex}
.schedule-settings-cards{padding:18px;background:var(--back);color:var(--ink)}
.schedule-settings-cards .card:last-child{margin-bottom:0}
.header-photo-tint{max-width:560px}
.header-photo-tint>span:first-child,.header-photo-tint .tint-scale{display:flex;justify-content:space-between;gap:12px}
.header-photo-tint output{font-weight:700;font-variant-numeric:tabular-nums}
.header-photo-tint input[type=range]{width:100%;padding:0;border:0;min-height:36px;accent-color:#00543c}
.header-photo-tint .tint-scale{font-size:12px;color:#50635a}
.club-settings-open body{height:100dvh;display:flex;flex-direction:column;overflow:hidden}
.club-settings-open .development{flex:none}
.club-settings-open #app{width:100%;flex:1;min-height:0;display:flex;flex-direction:column}
.club-settings-open #app>header,.club-settings-open #tools,.club-settings-open #app>footer{flex:none}
.club-settings-open #app>main{flex:1;min-height:0;overflow:hidden;display:flex;flex-direction:column}
.club-settings-open #status{display:none}
.club-settings-open #content{flex:1;min-height:0;display:flex;flex-direction:column}
.club-settings-open #content>.editor{flex:1;min-height:0;display:flex;flex-direction:column;padding:0;overflow:hidden}
.club-settings-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:22px;scrollbar-gutter:stable}
.club-settings-open.office-frame #app>footer{display:flex}
@media(max-width:620px){.club-settings-scroll{padding:15px}.club-settings-open #app>footer{padding:10px 14px;gap:6px}.club-settings-open #app>footer nav{gap:12px}}
.card-visibility{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap;margin-left:auto;font-size:11px;line-height:1.2}
.card-visibility strong{font-weight:600}
.card-visibility label,.editor .card-visibility label{display:flex;flex-direction:row;align-items:center;gap:4px;white-space:nowrap;font-size:11px;cursor:pointer}
.card-visibility input[role=switch]{appearance:none;position:relative;display:inline-block;flex:none;width:28px;height:16px;padding:0;margin:0;border:0;border-radius:999px;background:#a3afa8;cursor:pointer;vertical-align:middle}
.card-visibility input[role=switch]::before{content:"";position:absolute;top:2px;left:2px;width:12px;height:12px;border-radius:50%;background:#fff;transition:transform .12s}
.card-visibility input[role=switch]:checked{background:#00543c}
.card-visibility input[role=switch]:checked::before{transform:translateX(12px)}
.card-visibility input[role=switch]:focus-visible{outline:2px solid #173e31;outline-offset:3px}
.card-visibility input[role=switch]:disabled{cursor:wait;opacity:.6}
.heading select{width:auto;max-width:100%}
.single-event #tools,.single-event .development{display:none}
.schedule-scoodle-header .schedule-profile-circle{display:flex;align-items:center;justify-content:center;width:44px;height:44px;flex:0 0 44px;border:1px solid #b8c8bc;border-radius:50%;overflow:hidden;background:#f5f8f6;color:#173e31;text-decoration:none;font-size:16px;font-weight:700}
.schedule-profile-circle img{display:block;width:100%;height:100%;object-fit:cover}
.director-view #tools{justify-content:flex-end}
.director-list #app{padding-bottom:var(--schedule-footer-height,132px)}
.director-list #schedule-footer{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:calc(100% - 32px);max-width:1024px;z-index:20;border:1px solid #b8c8bc;border-bottom:0;border-radius:0 0 12px 12px;overflow:hidden}
.director-list #schedule-footer>footer{padding:10px 16px}
@media(max-width:620px){.director-list #schedule-footer{width:calc(100% - 16px)}.director-list #schedule-footer>footer{gap:6px}.director-list #schedule-footer>footer nav{gap:12px}}
.office-frame body{padding:0}
.office-frame .app{max-width:none;border:0;border-radius:0}
.office-frame #app>header,.office-frame .development,.office-frame #hero,.office-frame #app>footer,.office-frame #tools>a:first-child{display:none}
.office-frame.public-schedule #hero{display:block}
.office-frame.public-schedule body{padding:0;height:auto;overflow:visible}
.office-frame.public-schedule #app{height:auto;display:block;overflow:visible}
.office-frame.public-schedule #app>main,.office-frame.public-schedule #content{flex:none;overflow:visible}
.office-frame.public-schedule #hero{height:clamp(180px,calc(var(--office-viewport-height,900px) * .29),270px)}
@media(max-width:700px){.office-frame.director-view.public-schedule #hero{height:clamp(235px,calc(var(--office-viewport-height,900px) * .32),280px)}}
@media(max-width:540px){.office-frame.public-schedule:not(.director-view) #hero{height:clamp(190px,calc(var(--office-viewport-height,900px) * .28),230px)}}
.office-frame.public-schedule #app>footer{display:flex}
@media(max-width:540px){.office-frame.public-schedule #app>footer{display:grid}}
.office-frame .tools{justify-content:flex-end;border-top:0}
.office-frame main{padding:18px 24px}
@media(max-width:620px){.office-frame main{padding:12px}.office-frame .tools{padding:10px 12px}}
.card [data-select-office]{color:#00543c;border-color:#00543c;font-weight:700;min-width:66px}
.card [data-select-office][aria-pressed=true]{background:#00543c;color:#fff}
.card:has([data-select-office][aria-pressed=true]){background:var(--scoodle-title-fill);border-color:var(--scoodle-selection-border);box-shadow:0 0 0 1px var(--scoodle-selection-border)}
.card:has([data-select-office][aria-pressed=true]) .thumb{background:var(--scoodle-title-fill);border-right-color:var(--scoodle-selection-border)}
.card:has([data-select-office][aria-pressed=true]) .thumb span,.card:has([data-select-office][aria-pressed=true]) .row-links{border-top-color:var(--scoodle-selection-border)}
.card:has([data-select-office][aria-pressed=true]) .pencil{background:transparent}
.deleted-events{margin-top:18px;font-size:13px}.deleted-events summary{cursor:pointer}.deleted-event{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid var(--line)}.deleted-event button,.detail+.actions button,.event-detail+.actions button,.event-detail+.actions .button{color:#173e31}
.hero-content{min-width:0;width:100%}.hero .hero-brand,.hero .hero-subtitle,.hero .hero-headline,.hero .hero-host{white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%;line-height:1.15;margin:5px 0}.hero .hero-headline{font-weight:800;margin:12px 0}.club-logo{display:block;max-width:min(320px,100%);max-height:160px;object-fit:contain;margin:0 0 12px}.club-fields{display:grid;gap:16px}.club-fields h3{margin:0;font-size:16px}.image-pair,.appearance-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.image-control{min-width:0;padding:12px;border:1px solid #d5ded9;border-radius:8px;display:grid;gap:10px}.image-control>img{max-width:100%;max-height:100px;object-fit:contain;background:#eee}.image-control input[type=file]{font-size:12px;padding:6px}.editor .image-consent{display:flex;flex-direction:row;align-items:start;font-size:12px;line-height:1.4}.image-consent input{width:18px;height:18px;flex:none}.text-block{border-bottom:1px solid #d5ded9;padding-bottom:14px}.text-controls{display:grid;grid-template-columns:minmax(0,1fr) 75px 65px;gap:8px;margin-top:8px}.text-controls input[type=color]{height:40px;padding:4px}.club-fields textarea[name=host]{min-height:110px}.club-fields .notice{margin:0}#header-preview{border-radius:8px;overflow:hidden}.appearance-row select{font-size:14px}footer strong{overflow-wrap:anywhere;min-width:0}
@media(max-width:620px){.image-pair{grid-template-columns:1fr}.text-controls{grid-template-columns:minmax(0,1fr) 64px 55px}.appearance-row{gap:8px}.appearance-row select{padding:8px 5px;font-size:12px}}
@media(max-width:620px){body{padding:8px}header,.tools{padding:12px 14px}main{padding:18px 12px}.hero{padding:20px;min-height:180px}.hero h1{font-size:27px}.card{grid-template-columns:74px minmax(0,1fr);gap:0 7px}.card-title{grid-column:1/-1;padding:6px 8px 5px}.title{font-size:17px}.thumb{grid-column:1;grid-row:2}.thumb img{height:55px}.thumb span{font-size:9px;padding:4px 1px}.facts{grid-column:2;grid-row:2;padding:0 6px 5px 0;font-size:11px}.row-links .button,.row-links button{font-size:10px;padding:5px 6px}.heading h2{font-size:21px}.fields{grid-template-columns:1fr}.wide{grid-column:auto}.editor,.detail,.home-panel{padding:15px}.tabs button{font-size:12px;padding:7px}.actions button{flex:1}footer{padding:16px 14px}.past{font-size:12px}}
.event-cover-wrap{position:relative}.event-cover-wrap .event-cover-logo{position:absolute;left:16px;bottom:16px;width:20%;max-width:140px;max-height:100px;object-fit:contain;background:white;padding:6px;border-radius:4px}.card .thumb img.uploaded-thumbnail{object-fit:contain}

/* Reserve equal pencil space on both sides so the label shares the title center. */
.website-embed .widget-event-filter{justify-content:flex-end;margin-bottom:10px;gap:0}
.website-embed .widget-event-filter select{min-height:36px;padding:6px 8px}
.website-embed .event-full-card .event-card-top{position:relative;padding:0 48px}
.card-publication-notice{margin:12px 0;padding:10px 12px;background:#f5f5f5;color:#252525;border:1px solid #ccc;border-radius:6px;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.card-publication-notice p{margin:0}.card-publication-notice p+p{margin-top:4px}.card-publication-notice a{color:#065dcc;text-decoration:underline}
.card-publication-notice+.actions .event-close{color:#173e31}


.club-fields .director-website-field{width:min(100%,360px)}

/* Tour Office owns its editing surface; public/embedded website branding stays saved. */
html.office-frame #app{--back:var(--scoodle-title-fill);--ink:var(--scoodle-title-ink);--muted:var(--scoodle-nav-ink);--line:var(--scoodle-selection-border)}
html.office-frame .schedule-list-heading,html.office-frame #app>footer{background:var(--scoodle-nav-fill);color:var(--scoodle-title-ink)}
html.office-frame :is(.schedule-director-tools button,[data-select-office],.schedule-history-tools button,[data-schedule-return]){background:var(--scoodle-surface);color:var(--scoodle-title-ink);border-color:var(--scoodle-selection-border)}
html.office-frame [data-select-office][aria-pressed=true]{background:var(--scoodle-nav-selected-fill);color:var(--scoodle-nav-selected-ink);border-color:var(--scoodle-nav-selected-fill)}
html.office-frame :is(.editor,.home-panel,dialog){color:var(--scoodle-title-ink);border-color:var(--scoodle-selection-border)}
html.office-frame .editor{background:var(--scoodle-title-fill)}
html.office-frame :is(.editor,.home-panel,dialog) :is(input:not([type=checkbox]):not([type=radio]):not([type=color]),select,textarea,button){color:var(--scoodle-title-ink);border-color:var(--scoodle-selection-border)}
html.office-frame :is(.editor,.home-panel,dialog) :is(.primary,[type=submit]):not(.scoodle-save-state){background:var(--scoodle-nav-selected-fill);color:var(--scoodle-nav-selected-ink)}
html.office-frame .editor :is(.note,.text-block label){color:var(--scoodle-nav-ink)}
html.office-frame :is(button,a,input,select,textarea):focus-visible{outline-color:var(--scoodle-workspace-focus)}
/* Selection is a red stamp, never a yellow wash over the event card. */
html .card:has([data-select-office][aria-pressed=true]),
html .card:has([data-select-office][aria-pressed=true]) .thumb{background:#fff;border-color:var(--scoodle-selection-border,#cbd5e1);box-shadow:none}
html .card [data-select-office][aria-pressed=true],
html.office-frame [data-select-office][aria-pressed=true]{background:#fff;color:#c61d32;border:2px solid #c61d32;border-radius:3px;font-size:11px;font-weight:800;letter-spacing:.7px;line-height:1;text-transform:uppercase;padding:5px 7px;box-shadow:none}
