/* v8: glass navigation and understandable background/size controls. */
.site-header,
.site-header.chrome-custom {
  --glass-ink:#1a2b25;
  --glass-line:rgba(255,255,255,.58);
  --glass-shadow:rgba(30,48,36,.10);
  background:linear-gradient(112deg,rgba(248,253,250,.28),rgba(235,243,238,.10) 48%,rgba(255,255,255,.22))!important;
  -webkit-backdrop-filter:blur(26px) saturate(175%) contrast(105%)!important;
  backdrop-filter:blur(26px) saturate(175%) contrast(105%)!important;
  border-bottom:1px solid rgba(255,255,255,.48)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.56),0 5px 20px var(--glass-shadow);
  color:var(--glass-ink)!important;
}
.site-header::before {
  content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
  background:linear-gradient(174deg,rgba(255,255,255,.34),transparent 44%,rgba(255,255,255,.08) 88%);
}
.site-header .header-row,.site-header .mobile-menu {position:relative;z-index:1}
.site-header .header-mark,.site-header .site-nav a,
.site-header.chrome-custom .header-mark,.site-header.chrome-custom .site-nav a {
  color:var(--glass-ink)!important;
  text-shadow:0 1px 3px rgba(255,255,255,.26)!important;
}
.site-header .site-nav a.active,.site-header .site-nav a:hover{color:var(--glass-ink)!important}
.site-header .site-nav a.active:after{background:currentColor!important}
.site-header .header-row{border-bottom:0!important}
.site-header[data-glass-tone="dark"],
.site-header.chrome-custom[data-glass-tone="dark"]{
  --glass-ink:#f9f7f3;--glass-shadow:rgba(6,3,5,.28);
  background:linear-gradient(105deg,rgba(10,10,12,.24),rgba(18,13,17,.12) 55%,rgba(22,13,18,.20))!important;
  border-bottom-color:rgba(255,255,255,.18)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.22),0 5px 20px var(--glass-shadow);
}
.site-header[data-glass-tone="dark"]::before{background:linear-gradient(174deg,rgba(255,255,255,.13),transparent 45%,rgba(0,0,0,.08))}
.site-header[data-glass-tone="dark"] .header-mark,
.site-header[data-glass-tone="dark"] .site-nav a{
  text-shadow:0 1px 9px rgba(0,0,0,.72),0 1px 2px rgba(0,0,0,.75)!important;
}
.site-header[data-glass-tone="dark"] .mobile-menu-toggle span{background:#f8f7f3!important}
.site-header[data-glass-tone="dark"] .site-nav a.active:after{background:#fff!important}
@supports not ((-webkit-backdrop-filter:blur(2px)) or (backdrop-filter:blur(2px))) {
  .site-header{background:rgba(242,247,243,.94)!important}
  .site-header[data-glass-tone="dark"]{background:rgba(15,12,15,.92)!important}
}
@media(prefers-reduced-transparency:reduce){
  .site-header{background:rgba(248,250,248,.95)!important}
  .site-header[data-glass-tone="dark"]{background:rgba(15,13,17,.95)!important}
}
.background-library-entry{padding:12px;background:#f4f8f3;border:1px solid #dce8db;border-radius:12px;display:flex;flex-direction:column;gap:11px}
.background-library-entry .field{margin:0}
.bg-entry-status{font-size:11px;color:#487153;font-weight:650}
.background-library-entry .bg-delete-toggle{font-size:11px;background:#fff;color:#7c4543;border:1px solid #e9dbd7;border-radius:9px;padding:9px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:7px}
.bg-inline-confirm{padding:12px;background:#fff7f4;border:1px solid #e8c9c0;border-radius:11px}
.bg-inline-confirm p{font-size:12px;color:#65463d;line-height:1.45;margin:0 0 10px}
.bg-inline-confirm>div{display:flex;gap:8px}
.bg-inline-confirm button{flex:1;min-height:34px;border:1px solid #d8c8c1;background:#fff;border-radius:8px;color:#4b403e;font-size:11px;cursor:pointer}
.bg-inline-confirm button.danger{background:#a23833;border-color:#a23833;color:white}
.bg-inline-confirm button:disabled{opacity:.35;cursor:not-allowed}
.editor-gallery-feature>button{width:100%;margin:0}
.editor-gallery-feature .field-hint{color:#7b8e7d;line-height:1.55}
.gallery-card.editor-gallery-selected .gallery-resize-handle{box-shadow:0 0 0 4px rgba(103,172,121,.18),0 3px 13px rgba(0,0,0,.19)}
