/* Better Stark Jr Fair approved brand layer — v187.1 */
:root{--bsjf-navy:#173B64;--bsjf-blue:#155F9F;--bsjf-bright-blue:#1F7BBE;--bsjf-green:#4F9F38;--bsjf-gold:#E9B526;--bsjf-white:#fff}
.site-header .brand{display:flex!important;align-items:center!important;gap:10px!important;min-width:0;text-decoration:none!important}.site-header .brand-logo{display:block;width:clamp(156px,16vw,210px);height:auto;max-height:48px;object-fit:contain;object-position:left center}.site-header .brand-mark{display:none!important}
@media(max-width:760px){.site-header .brand-logo{width:clamp(132px,44vw,172px);max-height:40px}}@media(max-width:390px){.site-header .brand-logo{width:128px;max-height:36px}}
.btn:not(.btn-danger):not(.danger):not([data-danger]),button.btn:not(.btn-danger):not(.danger):not([data-danger]){background:var(--bsjf-white)!important;color:var(--bsjf-navy)!important;border-color:var(--bsjf-bright-blue)!important;border-width:2px!important}
.btn.active:not(.btn-danger),.btn.is-active:not(.btn-danger),.btn[aria-current="page"]:not(.btn-danger),.btn[aria-pressed="true"]:not(.btn-danger),button.btn.active:not(.btn-danger),button.btn[aria-pressed="true"]:not(.btn-danger),.content-view-btn.active,.moderation-attention-btn.active,.public-quickview.active,.admin-tab.active{background:var(--bsjf-navy)!important;color:var(--bsjf-white)!important;border-color:var(--bsjf-navy)!important}
@media(hover:hover){.btn:not(.btn-danger):not(.danger):not([data-danger]):not(:disabled):hover,button.btn:not(.btn-danger):not(.danger):not([data-danger]):not(:disabled):hover,.content-view-btn:not(:disabled):hover,.moderation-attention-btn:not(:disabled):hover,.public-quickview:not(:disabled):hover,.admin-tab:not(:disabled):hover{background:var(--bsjf-green)!important;color:var(--bsjf-white)!important;border-color:var(--bsjf-green)!important}}
.btn:focus-visible,button:focus-visible,[role="button"]:focus-visible{outline:3px solid rgba(31,123,190,.42)!important;outline-offset:3px!important}.btn:disabled,button.btn:disabled,.btn[aria-disabled="true"]{opacity:.55!important;cursor:not-allowed!important;transform:none!important}
/* v187.1 — finish shared button and footer branding consistency */
.footer-brand-icon{display:block;width:42px;height:42px;flex:0 0 42px;object-fit:contain}
.public-quickview,.content-view-btn,.moderation-attention-btn,.admin-tab,.vote-btn,.standard-page-tool>summary{
  background:var(--bsjf-white)!important;
  color:var(--bsjf-navy)!important;
  border:2px solid var(--bsjf-bright-blue)!important;
}
.public-quickview.active,.public-quickview[aria-pressed="true"],.content-view-btn.active,.content-view-btn[aria-pressed="true"],.moderation-attention-btn.active,.moderation-attention-btn[aria-pressed="true"],.admin-tab.active,.admin-tab[aria-selected="true"],.vote-btn.active,.vote-btn[aria-pressed="true"],.standard-page-tool[open]>summary{
  background:var(--bsjf-navy)!important;
  color:var(--bsjf-white)!important;
  border-color:var(--bsjf-navy)!important;
}
@media(hover:hover){
  .public-quickview:not(:disabled):hover,.content-view-btn:not(:disabled):hover,.moderation-attention-btn:not(:disabled):hover,.admin-tab:not(:disabled):hover,.vote-btn:not(:disabled):hover,.standard-page-tool>summary:hover{
    background:var(--bsjf-green)!important;
    color:var(--bsjf-white)!important;
    border-color:var(--bsjf-green)!important;
  }
}
.public-quickview:focus-visible,.content-view-btn:focus-visible,.moderation-attention-btn:focus-visible,.admin-tab:focus-visible,.vote-btn:focus-visible,.standard-page-tool>summary:focus-visible{
  outline:3px solid rgba(31,123,190,.42)!important;
  outline-offset:3px!important;
}


/* v187.2 — Ideas page button consistency */
body[data-page="ideas"] .public-quickview,
body[data-page="ideas"] .vote-btn,
body[data-page="ideas"] .idea-actions .link-btn,
body[data-page="ideas"] .standard-page-tool > summary,
body[data-page="ideas"] .idea-detail-toggle > summary{
  background:var(--bsjf-white)!important;
  color:var(--bsjf-navy)!important;
  border:2px solid var(--bsjf-bright-blue)!important;
  border-radius:10px!important;
  min-height:40px;
  padding:8px 12px!important;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:800!important;
  cursor:pointer;
  text-decoration:none!important;
}
body[data-page="ideas"] .public-quickview.active,
body[data-page="ideas"] .public-quickview[aria-pressed="true"],
body[data-page="ideas"] .vote-btn.active,
body[data-page="ideas"] .vote-btn[aria-pressed="true"],
body[data-page="ideas"] .standard-page-tool[open] > summary,
body[data-page="ideas"] .idea-detail-toggle[open] > summary{
  background:var(--bsjf-navy)!important;
  color:var(--bsjf-white)!important;
  border-color:var(--bsjf-navy)!important;
}
@media(hover:hover){
  body[data-page="ideas"] .public-quickview:not(:disabled):hover,
  body[data-page="ideas"] .vote-btn:not(:disabled):hover,
  body[data-page="ideas"] .idea-actions .link-btn:not(:disabled):hover,
  body[data-page="ideas"] .standard-page-tool > summary:hover,
  body[data-page="ideas"] .idea-detail-toggle > summary:hover{
    background:var(--bsjf-green)!important;
    color:var(--bsjf-white)!important;
    border-color:var(--bsjf-green)!important;
  }
}
body[data-page="ideas"] .public-quickview:focus-visible,
body[data-page="ideas"] .vote-btn:focus-visible,
body[data-page="ideas"] .idea-actions .link-btn:focus-visible,
body[data-page="ideas"] .standard-page-tool > summary:focus-visible,
body[data-page="ideas"] .idea-detail-toggle > summary:focus-visible{
  outline:3px solid rgba(31,123,190,.42)!important;
  outline-offset:3px!important;
}


/* v192 public design refresh — logo blue, green, and gold. */
body.public-polish{--public-ink:#172b42;--public-muted:#52667a;--public-surface:#f6f9fb;--public-line:#dce7ee;background:var(--public-surface);color:var(--public-ink)}
body.public-polish .site-header{box-shadow:0 3px 18px rgba(23,59,100,.06)}
body.public-polish .site-header .brand-logo{width:clamp(165px,17vw,220px);max-height:52px}
body.public-polish :is(.hero,.page-titlebar){border-bottom:4px solid var(--bsjf-gold)!important}
body.public-polish:not([data-page="home"]) .hero{min-height:0!important;padding:0!important}
body.public-polish:not([data-page="home"]) .hero .hero-inner{padding:26px max(24px,calc((100% - 1180px)/2)) 30px!important;min-height:0!important}
body.public-polish:not([data-page="home"]) .page-titlebar>.container{padding-top:24px!important;padding-bottom:28px!important}
body.public-polish:not([data-page="home"]) :is(.hero,.page-titlebar) h1{font-size:clamp(2.1rem,3.7vw,3.35rem)!important;line-height:1.1!important;margin:.12em 0 .16em!important}
body.public-polish:not([data-page="home"]) :is(.hero,.page-titlebar) p{margin:0!important;line-height:1.5!important;max-width:760px!important}
body.public-polish .page-orientation-summary{display:none!important}
body.public-polish .legal-shell{padding-top:24px!important;padding-bottom:36px!important}
body.public-polish .legal-card{padding:28px 34px!important;border:1px solid var(--public-line)!important;border-radius:17px!important;box-shadow:0 8px 28px rgba(23,59,100,.05)!important}
body.public-polish .legal-card>h2:not(.main-page-heading){margin-top:1.25em!important}
body.public-polish .legal-card>p:not(.eyebrow){max-width:78ch}
body.public-polish .main-page-heading{font-size:clamp(1.65rem,2.7vw,2.35rem)!important;line-height:1.2!important;margin:.3em 0 .55em!important}
body.public-polish .next-steps{margin-top:30px!important}
body.public-polish .next-step-card{border-top:3px solid var(--bsjf-green)!important}
body.public-polish :is(.dedicated-main>.section,.resource-main,.search-page){padding-top:28px!important}
body.public-polish .section-heading{margin-bottom:15px!important}
body.public-polish .section-heading h2{font-size:clamp(1.75rem,3vw,2.6rem)!important;line-height:1.16!important}
/* Toolbar controls must grow to their labels instead of colliding at 160px. */
body.public-polish .standard-page-toolbar{grid-template-columns:max-content max-content minmax(0,1fr) max-content 44px;column-gap:14px;row-gap:10px;align-items:start}
body.public-polish .standard-page-toolbar>.standard-page-tool:nth-child(1){grid-column:1}
body.public-polish .standard-page-toolbar>.standard-page-tool:nth-child(2){grid-column:2}
body.public-polish .standard-page-toolbar>.standard-page-tool>summary{min-width:173px!important;width:auto!important;padding-inline:14px!important;box-sizing:border-box!important}
body.public-polish .standard-page-toolbar .standard-toolbar-primary{grid-column:4}
body.public-polish .standard-page-toolbar .standard-toolbar-print{grid-column:5}
/* Search starts with a visible input; optional type and sort remain in Filters. */
body[data-page="search"] #unifiedSearchForm{grid-template-columns:minmax(240px,1fr) max-content max-content max-content 44px}
body[data-page="search"] #unifiedSearchForm>.search-query-wrap{grid-column:1;position:relative;min-width:0;z-index:2}
body[data-page="search"] #unifiedSearchInput{box-sizing:border-box;width:100%;min-height:44px;margin:0;border:2px solid #9dbbd2;border-radius:10px;padding:9px 13px;background:#fff;font-size:1rem;color:var(--public-ink)}
body[data-page="search"] #unifiedSearchForm>.standard-page-tool:nth-child(2){grid-column:2}
body[data-page="search"] #unifiedSearchForm>.standard-page-tool:nth-child(3){grid-column:3}
body[data-page="search"] #unifiedSearchForm>.standard-page-tool>summary{min-width:0!important}
body[data-page="search"] #unifiedSearchForm>.standard-toolbar-primary{grid-column:4}
body[data-page="search"] #unifiedSearchForm>.standard-toolbar-print{grid-column:5}
body[data-page="resources"] .resource-card-cell{padding:14px!important}
body[data-page="resources"] .resource-card-heading .resource-title{font-size:1.1rem!important;line-height:1.35!important}
body[data-page="resources"] .resource-card-meta{gap:5px!important;margin-top:5px!important}
body[data-page="resources"] .resource-card-preview{margin:9px 0 11px!important}
body[data-page="updates"] .update-archive{margin:0 0 30px;border:1px solid var(--public-line);border-radius:12px;background:#fff}
body[data-page="updates"] .update-archive>summary{padding:14px 18px;color:var(--bsjf-blue);font-weight:800;cursor:pointer}
body[data-page="updates"] .update-archive>summary:focus-visible{outline:3px solid var(--bsjf-blue);outline-offset:3px}
body[data-page="updates"] .update-archive>.update-list{padding:0 15px 15px;margin:0}
/* Home: a compact invitation followed by clear paths and content. */
body[data-page="home"] main#top>.hero.home-hero{min-height:0!important;background:linear-gradient(90deg,rgba(10,45,77,.92),rgba(13,57,91,.74) 60%,rgba(14,60,91,.57)),url('../fair-hero.jpg') center 47%/cover no-repeat!important}
body[data-page="home"] main#top>.hero.home-hero>div:first-child{padding:38px 24px 42px!important}
body[data-page="home"] main#top>.hero.home-hero h1{font-size:clamp(2.5rem,4.8vw,4rem)!important;line-height:1.05!important;max-width:760px!important;margin:.16em 0 .23em!important}
body[data-page="home"] main#top>.hero.home-hero .hero-text{font-size:1.1rem!important;line-height:1.5!important;max-width:690px!important;margin-bottom:0!important}
body[data-page="home"] main#top>.hero.home-hero .microcopy{margin:.55rem 0 0!important;font-size:.94rem!important}
body[data-page="home"] .home-start{padding-top:32px!important;padding-bottom:28px!important}
body[data-page="home"] .home-start-heading{margin-bottom:17px!important}
body[data-page="home"] :is(.home-start,.home-preview-section,.home-how) h2{font-size:clamp(1.8rem,3vw,2.7rem)!important;line-height:1.15!important}
body[data-page="home"] .home-path-grid{gap:16px!important}
body[data-page="home"] .home-path-card{padding:19px!important;border:1px solid var(--public-line)!important;border-top:4px solid var(--bsjf-blue)!important;border-radius:17px!important;box-shadow:0 8px 25px rgba(23,59,100,.06)!important}
body[data-page="home"] .home-path-card:nth-child(2){border-top-color:var(--bsjf-green)!important}
body[data-page="home"] .home-path-card:nth-child(3){border-top-color:var(--bsjf-gold)!important}
body[data-page="home"] .home-path-card p{line-height:1.48!important;margin-bottom:12px!important}
body[data-page="home"] .home-path-secondary{display:inline-block;margin:0 0 13px;color:var(--bsjf-blue)!important;font-weight:800}
body.public-polish[data-page="home"] .home-path-card .btn.home-path-action:not(.btn-danger):not(.danger):not([data-danger]){min-height:46px!important;background:var(--bsjf-blue)!important;border-color:var(--bsjf-blue)!important;color:#fff!important}
@media(hover:hover){body.public-polish[data-page="home"] .home-path-card .btn.home-path-action:not(.btn-danger):not(.danger):not([data-danger]):hover{background:var(--bsjf-green)!important;border-color:var(--bsjf-green)!important}}
@media(min-width:761px){body[data-page="search"] #searchOptionsPanel>.standard-page-tool-panel{left:auto!important;right:0!important;width:min(680px,calc(100vw - 40px))!important}}
body[data-page="home"] .home-first-visit{margin:16px 0 0!important;padding:13px 16px!important;border-left:4px solid var(--bsjf-green)!important;border-radius:8px;background:#fff!important}
body[data-page="home"] .home-search-shortcut,body[data-page="home"] .home-concern-guide{margin:11px 0 0!important}
body[data-page="home"] .home-preview-section{padding-top:36px!important;padding-bottom:32px!important}
body[data-page="home"] .home-preview-lead{max-width:760px!important}
body[data-page="home"] .home-preview-footer{display:none!important}
body[data-page="home"] .home-how{padding-top:34px!important;padding-bottom:36px!important}
@media(max-width:1100px) and (min-width:761px){
 body.public-polish .standard-page-toolbar{grid-template-columns:minmax(173px,1fr) minmax(183px,1fr) minmax(0,.3fr) max-content 44px}
 body.public-polish .standard-page-toolbar>.standard-page-tool>summary{width:100%!important}
 body[data-page="search"] #unifiedSearchForm{grid-template-columns:minmax(0,1fr) minmax(0,1fr) max-content 44px}
 body[data-page="search"] #unifiedSearchForm>.search-query-wrap{grid-column:1/-1}
 body[data-page="search"] #unifiedSearchForm>.standard-page-tool:nth-child(2){grid-column:1}
 body[data-page="search"] #unifiedSearchForm>.standard-page-tool:nth-child(3){grid-column:2}
 body[data-page="search"] #unifiedSearchForm>.standard-toolbar-primary{grid-column:3}
 body[data-page="search"] #unifiedSearchForm>.standard-toolbar-print{grid-column:4}
}
@media(max-width:760px){
 body.public-polish .site-header .brand-logo{width:clamp(132px,44vw,172px);max-height:40px}
 body.public-polish:not([data-page="home"]) .hero .hero-inner{padding:20px 18px 24px!important}
 body.public-polish:not([data-page="home"]) .page-titlebar>.container{padding-top:18px!important;padding-bottom:22px!important}
 body.public-polish:not([data-page="home"]) :is(.hero,.page-titlebar) h1{font-size:clamp(1.9rem,7vw,2.5rem)!important}
 body.public-polish .legal-shell{padding:16px 0 28px!important}
 body.public-polish .legal-card{padding:20px!important}
 body.public-polish .standard-page-toolbar,body[data-page="search"] #unifiedSearchForm{display:grid;grid-template-columns:minmax(0,1fr)!important;gap:8px!important}
 body.public-polish .standard-page-toolbar>*,body[data-page="search"] #unifiedSearchForm>*{grid-column:1!important;min-width:0}
 body.public-polish .standard-page-toolbar>.standard-page-tool>summary{width:100%!important;min-width:0!important}
 body[data-page="search"] #unifiedSearchInput{width:100%}
 body[data-page="home"] main#top>.hero.home-hero>div:first-child{padding:28px 18px 32px!important}
 body[data-page="home"] main#top>.hero.home-hero h1{font-size:clamp(2.2rem,9vw,3rem)!important}
 body[data-page="home"] .home-start{padding-top:25px!important}
 body[data-page="home"] .home-path-grid{gap:12px!important}
 body[data-page="home"] .home-path-card{padding:18px!important}
 body[data-page="home"] .home-preview-section{padding-top:28px!important;padding-bottom:27px!important}
 body[data-page="home"] .home-preview-section .section-heading{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important}
 body[data-page="home"] .home-preview-section .section-heading-actions{display:grid!important;grid-template-columns:minmax(0,1fr)!important;width:100%!important;min-width:0!important;gap:9px!important}
 body[data-page="home"] .home-preview-section .section-heading-actions>.btn{box-sizing:border-box;width:100%!important;min-width:0!important;white-space:normal;text-align:center}
}

body.public-polish .site-header nav #authBtn{background:var(--bsjf-blue)!important;color:#fff!important;border-color:var(--bsjf-blue)!important}
@media(hover:hover){body.public-polish .site-header nav #authBtn:hover{background:var(--bsjf-green)!important;border-color:var(--bsjf-green)!important}}
body.public-polish footer>.footer-brand{display:flex;align-items:center;gap:11px}
body.public-polish footer>.footer-brand p{margin:2px 0 0}

/* Compact Ideas card actions on phones; keep every control at least 44px high. */
.idea-print-icon{display:none;width:22px;height:22px}
.related-public-link{min-width:0;overflow-wrap:anywhere}
.related-public-link small{flex:0 0 auto;white-space:nowrap}
.supports-native-share .public-native-share{align-items:center;justify-content:center;min-height:40px!important;padding:7px 10px!important;border:1px solid #b8cddd!important;border-radius:9px!important;background:#fff!important;color:#315a7d!important;font-weight:800!important;text-decoration:none!important}
.supports-native-share .public-native-share:hover{background:#eef6fc!important;border-color:#79a6c8!important;color:#174f7c!important}
.card-print-icon{display:none;width:22px;height:22px;flex:none}
@media(max-width:600px){
 .content-share-actions .public-native-share,.resource-actions .public-native-share{width:100%;min-height:44px!important}
 body[data-page="experiences"] .experience-card .content-share-actions,
 body[data-page="resources"] .resource-card-secondary-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 body[data-page="experiences"] .experience-card .content-share-actions>button,
 body[data-page="resources"] .resource-card-secondary-actions>button{box-sizing:border-box;width:100%!important;min-width:0!important;min-height:44px!important;justify-content:center!important;text-align:center!important;padding:8px 6px!important;line-height:1.2!important}
 body[data-page="experiences"] .card-print-label,body[data-page="resources"] .card-print-label{display:none}
 body[data-page="experiences"] .card-print-icon,body[data-page="resources"] .card-print-icon{display:block}
 body[data-page="ideas"] .idea-action-buttons{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;width:100%!important}
 body[data-page="ideas"] .idea-action-buttons>.link-btn{box-sizing:border-box;width:100%!important;min-width:0!important;min-height:44px!important;padding:8px 6px!important;justify-content:center!important;text-align:center!important;line-height:1.2!important}
 body[data-page="ideas"] .idea-action-buttons>.idea-report-action{grid-column:1/-1}
 body[data-page="ideas"] .idea-print-label{display:none}
 body[data-page="ideas"] .idea-print-icon{display:block;flex:none}
}
@media(max-width:760px){
 body.mobile-nav-active{overflow-x:clip!important;overflow-y:visible!important;touch-action:auto!important}
 body.mobile-nav-active .site-header{-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
}
