/* The two workspaces share the club identity and remain clearly named. */
.ttc-workspace-switch{--switch-bg:#101d22;--switch-text:#effbf5;--switch-accent:#42ebcb;--switch-button:#42ebcb;--switch-button-text:#101d22;position:sticky;top:0;z-index:120;isolation:isolate;width:100%;background:var(--switch-bg);color:var(--switch-text);border-bottom:1px solid color-mix(in srgb,var(--switch-accent) 35%,var(--switch-bg));box-shadow:0 5px 20px #00131620}
.ttc-workspace-switch:after{content:"";position:absolute;inset:auto 0 -1px;height:2px;pointer-events:none;background:linear-gradient(90deg,transparent,var(--switch-accent) 22%,var(--switch-accent) 78%,transparent);opacity:.75}
.ttc-workspace-switch[hidden],.ttc-workspace-switch [hidden]{display:none!important}
.ttc-workspace-switch-inner{box-sizing:border-box;width:calc(100% - 48px);max-width:1660px;min-height:78px;margin:auto;display:flex;justify-content:space-between;align-items:center;gap:24px;padding:12px 0}
.ttc-workspace-current{display:grid;gap:4px;min-width:0;border-left:3px solid var(--switch-accent);padding-left:14px}
.ttc-workspace-current>[data-workspace-kicker]{font:750 9px/1.3 Arial,sans-serif;letter-spacing:1.6px;color:var(--switch-text);opacity:.66}
.ttc-workspace-current>strong{font:850 19px/1.15 Arial,sans-serif;letter-spacing:.35px;color:var(--switch-text)}
.ttc-workspace-current>small{font:400 12px/1.4 Arial,sans-serif;color:var(--switch-text);opacity:.78}
.ttc-workspace-controls{display:flex;align-items:center;justify-content:flex-end;gap:12px;min-width:0}
.ttc-workspace-theme{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:10px 13px;border:1px solid color-mix(in srgb,var(--switch-text) 28%,var(--switch-bg));border-radius:10px;background:color-mix(in srgb,var(--switch-text) 5%,var(--switch-bg));color:var(--switch-text);font:700 12px/1.3 Arial,sans-serif;text-decoration:none;white-space:nowrap}
.ttc-workspace-theme svg{width:18px;height:18px;flex-shrink:0}
.ttc-workspace-theme:hover{background:color-mix(in srgb,var(--switch-text) 12%,var(--switch-bg));border-color:var(--switch-accent)}
.ttc-workspace-action{box-sizing:border-box;display:inline-flex;justify-content:space-between;align-items:center;gap:22px;min-height:48px;padding:11px 15px 11px 20px;border:1px solid var(--switch-button);border-radius:10px;background:var(--switch-button);color:var(--switch-button-text);text-decoration:none;font:800 14px/1.35 Arial,sans-serif;text-align:left;flex-shrink:0}
.ttc-workspace-action>[aria-hidden]{display:grid;place-items:center;width:27px;height:27px;flex-shrink:0;border:1px solid currentColor;border-radius:50%;font:400 19px/1 Arial,sans-serif;opacity:.8}
.ttc-workspace-action:hover{filter:brightness(1.08)}
.ttc-workspace-action:focus-visible,.ttc-workspace-theme:focus-visible{outline:3px solid var(--switch-text);outline-offset:4px}
body.has-workspace-switch .admin-masthead{top:var(--ttc-workspace-height,78px)}
body.has-workspace-switch.admin-dashboard-view #admin .admin-rubric-nav{top:calc(var(--ttc-workspace-height,78px) + 102px);max-height:calc(100dvh - var(--ttc-workspace-height,78px) - 126px)}
body.has-workspace-switch #admin{scroll-margin-top:calc(var(--ttc-workspace-height,78px) + 160px)}
@media(max-width:700px){.ttc-workspace-switch-inner{display:grid;grid-template-columns:minmax(78px,.7fr) minmax(0,1.5fr);width:calc(100% - 28px);gap:12px;min-height:72px;padding:9px 0}.ttc-workspace-current{gap:4px;padding-left:10px;border-left-width:2px}.ttc-workspace-current>strong{font-size:13px;letter-spacing:.1px}.ttc-workspace-current>small{display:none}.ttc-workspace-current>[data-workspace-kicker]{font-size:8px;letter-spacing:1px}.ttc-workspace-controls{gap:8px}.ttc-workspace-theme{flex-direction:column;gap:3px;min-height:48px;width:54px;flex-shrink:0;padding:5px;font-size:9px}.ttc-workspace-theme svg{width:16px;height:16px}.ttc-workspace-action{min-width:0;flex:1;min-height:48px;font-size:12px;padding:9px 10px;gap:7px}.ttc-workspace-action>[aria-hidden]{width:21px;height:21px;font-size:16px}}
@media(max-width:360px){.ttc-workspace-switch-inner{width:calc(100% - 20px);gap:8px;grid-template-columns:minmax(76px,.65fr) minmax(0,1.5fr)}.ttc-workspace-current{padding-left:8px}.ttc-workspace-current>strong{font-size:12px}.ttc-workspace-action{font-size:11px;padding:8px;gap:5px}.ttc-workspace-action>[aria-hidden]{display:none}.ttc-workspace-controls{gap:6px}.ttc-workspace-theme{width:48px}}
@media print{.ttc-workspace-switch{display:none!important}body.has-workspace-switch .admin-masthead{top:0}}

/* Keep the foreground paired with its fill in every link state, including global hover rules. */
.ttc-workspace-switch .ttc-workspace-action:is(:link,:visited,:hover,:focus,:active){color:var(--switch-button-text);-webkit-text-fill-color:currentColor;filter:none}
.ttc-workspace-switch .ttc-workspace-action>span{color:inherit!important;opacity:1}
.ttc-workspace-switch .ttc-workspace-theme:is(:link,:visited,:hover,:focus,:active){color:var(--switch-text);-webkit-text-fill-color:currentColor}
.ttc-workspace-current>:is([data-workspace-kicker],small){opacity:1}
