/* The approved saved yellow card is a meeting-wide page in the existing shell. */
body[data-workspace="insights"][data-insight-audience="free-tips"] #dashboard{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}
body[data-workspace="insights"][data-insight-audience="free-tips"] #race-nav,body[data-insight-audience="free-tips"] #race-desk-context,body[data-insight-audience="free-tips"] #analysis-studio-context,body[data-insight-audience="free-tips"] #race-data-updates,body[data-insight-audience="free-tips"] #freshness-chip,body[data-insight-audience="free-tips"] #readiness-status{display:none!important}
body[data-workspace="insights"][data-insight-audience="free-tips"] #meeting-toolbar{grid-column:1;grid-row:1;grid-template-columns:minmax(0,1fr);border-radius:12px 12px 0 0}
body[data-workspace="insights"][data-insight-audience="free-tips"] #insights-workspace{grid-column:1;grid-row:2;border-radius:0 0 12px 12px}
#insight-free-tips-panel{position:relative;min-width:0;padding:8px;background:#fefdf9;border-radius:0 0 12px 12px}
#insight-free-tips-panel[hidden]{display:none!important}.free-tips-heading h2{margin:0 0 8px;font-size:28px;color:#12344f}.free-tips-heading p,.free-tips-status,.free-tips-summary{margin:7px 0;font-size:13px;line-height:1.6;color:#4e6d7e}.free-tips-status[data-status="failed"],.free-tips-status[data-status="invalid"]{color:#923c3c}.free-tips-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:14px 0}.free-tips-actions button,.free-tips-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 15px;border:1px solid #b9d2da;border-radius:8px;background:#f1f8f8;color:#0a6878;font:inherit;font-size:13px;text-decoration:none;cursor:pointer}.free-tips-actions [hidden]{display:none!important}.free-tips-actions :focus-visible{outline:3px solid #d5a62e;outline-offset:3px}.free-tips-actions :disabled{opacity:.6;cursor:default}.free-tips-image-frame{display:flex;align-items:center;justify-content:center;width:100%;min-width:0;height:calc(100dvh - var(--racelens-header-height,149px) - 32px);margin:0}.free-tips-card-link{display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-width:0;cursor:zoom-in;border-radius:8px}.free-tips-card-link:focus-visible{outline:3px solid #d5a62e;outline-offset:2px}.free-tips-card-image{display:block;width:auto;max-width:100%;height:auto;max-height:100%;object-fit:contain;box-sizing:border-box;border:1px solid #d1e1e4;border-radius:8px;background:#fff;box-shadow:0 8px 24px #102f4c12}.free-tips-accessible{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.free-tips-image-frame[hidden],.free-tips-card-link[hidden],.free-tips-actions[hidden]{display:none!important}
@media(min-width:1600px){body[data-workspace="insights"][data-header-meeting="true"]:not([data-access-blocked="true"]):has(#dashboard:not([hidden])) .site-header:has([data-insight-audience="free-tips"]){grid-template-columns:auto minmax(420px,1fr) minmax(300px,400px) auto}body[data-insight-audience="free-tips"][data-header-meeting="true"] #meeting-toolbar{display:none}body[data-insight-audience="free-tips"][data-header-meeting="true"] #insights-workspace{grid-row:1}}
@media(max-width:760px){#insight-free-tips-panel{padding:6px}body[data-workspace="insights"] .audience-switcher:has([data-insight-audience="free-tips"]){gap:4px}body[data-workspace="insights"] .audience-switcher:has([data-insight-audience="free-tips"]) button{flex-direction:column;gap:2px;min-height:54px;padding:4px 3px}body[data-workspace="insights"] .audience-switcher:has([data-insight-audience="free-tips"]) strong{font-size:11.5px;line-height:1.15;text-align:center;overflow-wrap:anywhere}body[data-workspace="insights"] .audience-switcher:has([data-insight-audience="free-tips"]) button::before{flex:0 0 16px;width:16px;height:16px}body[data-workspace="insights"] .audience-switcher [data-insight-audience="free-tips"]{--mobile-tab-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='4' y='3' width='16' height='18' rx='2'/%3E%3Cpath d='M8 7h8M8 11h8M8 15h5'/%3E%3C/svg%3E")}}

/* Public Free Tips entry: reuse the existing navy/gold header controls. */
.site-header .guest-access{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.site-header .guest-access[hidden]{display:none!important}
.site-header .guest-access a{display:inline-flex;align-items:center;justify-content:center;min-height:48px;box-sizing:border-box;padding:0 16px;border:1px solid #36506a;border-radius:999px;background:transparent;color:#fff;font:inherit;font-size:14px;font-weight:700;text-decoration:none;white-space:nowrap}
.site-header .guest-access .guest-register{border-color:#f6c544;background:#f6c544;color:#0f2a44}
.site-header .guest-access a:hover{border-color:#f6c544}
.site-header .guest-access .guest-register:hover{background:#ffd96b}
.site-header .guest-access a:focus-visible{outline:3px solid #f6c544;outline-offset:3px}
@media(max-width:760px){
  .site-header #guest-access:not([hidden]){display:contents}
  html:not(#mka-a):not(#mka-b) body .site-header #guest-signin{grid-area:1/4!important}
  html:not(#mka-a):not(#mka-b) body .site-header #guest-register{grid-area:1/5!important}
  .site-header #guest-access a{width:44px;min-width:44px;min-height:44px;height:44px;padding:0 3px;font-size:0}
  .site-header #guest-access a::after{content:attr(data-guest-short);font-size:11px;line-height:1.2}
}

/* Keep the new visitor actions clear of the logo on narrow phones. */
@media(max-width:760px){html:not(#mka-a):not(#mka-b) body .site-header:has(#guest-access:not([hidden])) .brand-logo{height:clamp(38px,calc(40vw - 90px),60px)!important}}
