.container{width:min(var(--max),calc(100% - 2*var(--pad)));margin:0 auto}.page-shell{padding-bottom:12px}.site-header{position:relative;border-bottom:1px solid var(--border);background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.01))}.header-map{position:absolute;inset:0;pointer-events:none;overflow:hidden;opacity:.55}.header-map::before,.header-map::after{content:"";position:absolute;inset:-20% -10%;background:radial-gradient(circle at 20% 40%,rgba(79,163,255,.09),transparent 24%),radial-gradient(circle at 70% 30%,rgba(255,255,255,.08),transparent 18%),radial-gradient(circle at 85% 75%,rgba(255,180,84,.07),transparent 22%);animation:drift 22s linear infinite}.header-map::after{animation-duration:30s;mix-blend-mode:screen;opacity:.7}@keyframes drift{from{transform:translateX(-1.5%)}to{transform:translateX(1.5%)}}.header-inner{position:relative;display:grid;grid-template-columns:1fr auto;gap:var(--gap);padding:29px 0 20px}.masthead{display:grid;justify-items:start;gap:8px}.masthead h1{font-size:var(--ccr-masthead-title-size,clamp(28px,4vw,48px));letter-spacing:.01em;margin:0}.masthead .meta-line{margin:0}.masthead .meta-line{color:var(--text-2);font-size:.96rem}
 :root{--ccr-home-heading-rail:18px;--ccr-latest-items-x:0px;--ccr-search-intelligence-x:0px;}.header-actions{display:flex;gap:10px;align-items:flex-start;flex-wrap:wrap;justify-content:flex-end}.main-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:36px;padding-top:28px}.main-grid>*{min-width:0}.section-stack{display:grid;gap:24px}.section-title-row>div{display:grid;gap:8px}.footer{padding:22px 0 8px;color:var(--muted);font-size:.92rem;border-top:1px solid var(--border);margin-top:28px}@media (max-width:760px){.header-inner{grid-template-columns:1fr;padding:25px 0 10px}.header-actions{justify-content:flex-start}.main-grid{padding-top:12px}}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.header-map::before,.header-map::after{animation:none}}


/* ===== CCR HEADER STYLE 7 (stronger / exact) ===== */
.masthead h1[data-site-title]{
  position:relative;
  display:inline-block;
  margin:0 0 .5rem;
  padding:18px 22px;
  max-width:min(100%,980px);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  background:rgba(255,255,255,.08);
  backdrop-filter:blur(10px);
  box-shadow:0 18px 44px rgba(0,0,0,.22);
  font-family:Inter,"Noto Sans JP",system-ui,sans-serif !important;
  font-weight:700 !important;
  line-height:1.08 !important;
  letter-spacing:.01em !important;
  color:var(--text) !important;
  text-wrap:balance;
}


.masthead h1[data-site-title]::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(115deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0) 32%,
    rgba(255,255,255,.12) 42%,
    rgba(255,248,236,.50) 49%,
    rgba(255,255,255,.24) 55%,
    rgba(255,255,255,0) 66%,
    rgba(255,255,255,0) 100%
  );
  transform:translateX(-150%);
  animation:ccrBrandShine 3.8s linear infinite;
  pointer-events:none;
  will-change:transform,opacity;
}

@keyframes ccrBrandShine{
  0%{transform:translateX(-150%)}
  100%{transform:translateX(165%)}
}

/* === STAGE 5 LAYOUT WIDTH TUNE === */

@media (min-width: 1280px) {
  .container {
    width: min(1380px, calc(100% - 2 * var(--pad)));
  }
}


/* === MOBILE ONLY OPTIMIZED MARGINS === */
@media (max-width:760px){

  /* M13 */
  .container{
    width:min(var(--max),calc(100% - 24px));
  }

  /* M6 */
  .main-grid{
    padding-top:12px;
  }

  /* M8 */
  .hero-card{
    padding:14px !important;
  }

  /* M10 */
  .section-stack{
    gap:18px;
  }

  /* M14 */
  .footer{
    margin-top:28px;
  }
}

/* === MOBILE ONLY: header/title/footer alignment polish === */
@media (max-width:760px){
  .site-header,
  .site-header .masthead,
  .site-header .header-inner{
    text-align:center;
  }

  .masthead{
    justify-items:center !important;
  }

  .masthead h1,
  .masthead h1[data-site-title],
  .masthead .meta-line,
  .masthead [data-updated-stamp]{
    text-align:center !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }

  .header-actions{
    width:100%;
    justify-content:center !important;
    align-items:center !important;
  }

  .header-actions .lang-toggle,
  .header-actions .icon-btn{
    margin-left:0 !important;
    margin-right:0 !important;
  }


  .footer{
    text-align:center;
  }

  .footer .footer-brand{
    margin-bottom:6px;
  }
}


/* === STAGE 9: smaller updated stamp on intelligence === */
body[data-page="home"] .masthead [data-updated-stamp]{
  opacity:.58;
}
@media (min-width:761px){
  body[data-page="home"] .masthead [data-updated-stamp]{
    padding-left:var(--ccr-home-heading-rail,18px);
  }

  body[data-page="home"] .latest-items-title-row > div,
  body[data-page="home"] .current-feed-title-row > div{
    padding-left:var(--ccr-home-heading-rail,18px);
    will-change:transform;
  }

  body[data-page="home"] .latest-items-title-row > div{
    transform:translateX(var(--ccr-latest-items-x,0px));
  }

  body[data-page="home"] .current-feed-title-row > div{
    width:100%;
    padding-left:0;
    transform:none;
    justify-items:center;
    text-align:center;
  }
}


.footer-about-wrap{
  display:flex;
  justify-content:center;
  margin-top:12px;
  margin-bottom:12px;
}

@media (max-width:760px){
  .footer-about-wrap{
    margin-top:10px;
    margin-bottom:14px;
  }
}


/* === TITLE BRAND RESTORE === */
.masthead h1[data-site-title] .site-title-ccr{
  color:#d8e3ec;
}

.masthead h1[data-site-title]::before{
  content:none !important;
}


/* === STAGE 14: mobile hierarchy refinement === */
.footer .footer-brand{
  display:inline-flex;
  align-items:baseline;
  gap:.18em;
  flex-wrap:wrap;
}

.footer .footer-brand__copyright,
.footer .footer-brand__ccr,
.footer .footer-brand__rest{
  color:inherit;
}

@media (min-width:761px){
  .footer{
    text-align:center;
  }

  .footer .container{
    display:flex;
    justify-content:center;
  }

  .footer .container p{
    width:100%;
    display:flex;
    justify-content:center;
    text-align:center;
  }

  .footer .footer-brand{
    justify-content:center;
  }
}

@media (max-width:760px){
  .header-inner{
    padding:15px 0 12px;
  }

  .masthead{
    gap:10px;
  }

  .masthead h1[data-site-title]{
    padding:15px 18px;
  }

  .header-actions{
    gap:7px;
  }

  .header-actions .lang-toggle,
  .header-actions .icon-btn,
  .header-actions .ui-btn{
    min-height:32px !important;
    height:32px !important;
    box-sizing:border-box;
  }

  .lang-toggle{
    padding:1px;
  }

  .header-actions .lang-toggle button{
    min-height:30px !important;
    height:30px !important;
    padding:4px 10px !important;
    line-height:1.05;
  }

  .header-actions .icon-btn,
  .header-actions .ui-btn{
    padding:4px 11px !important;
    line-height:1.05;
  }

  .footer .footer-brand{
    justify-content:center;
    line-height:1.3;
  }

  .footer{
    padding-top:30px;
    padding-bottom:12px;
  }
}


html.fullscreen-launch-pending,
html.fullscreen-launch-pending body,
html.fullscreen-launch-active,
html.fullscreen-launch-active body,
html.fullscreen-launch-done,
html.fullscreen-launch-done body{
  overflow:auto;
}

html.fullscreen-launch-pending .page-shell,
html.fullscreen-launch-active .page-shell,
html.fullscreen-launch-done .page-shell{
  visibility:visible;
}

.footer .container p{
  margin:0;
}

.icon-btn[data-fullscreen-toggle][hidden]{display:none !important;}
.icon-btn[data-fullscreen-toggle]{width:42px; min-width:42px; padding:0 !important; justify-content:center; gap:0; flex:0 0 42px;}
.fullscreen-icon{display:inline-flex; align-items:center; justify-content:center; width:18px; height:18px;}
.fullscreen-icon-svg{display:block; width:18px; height:18px;}

/* === DESKTOP ROOT FRAME CLEANUP === */
@media (min-width: 981px){
  body{
    padding:18px;
  }

  .page-shell{
    width:min(1380px, calc(100% - 2 * var(--pad)));
    margin:0 auto 18px;
    padding-bottom:18px;
    border:1px solid rgba(255,255,255,.08);
    border-radius:22px;
    overflow:hidden;
    background:
      linear-gradient(180deg, rgba(255,255,255,.022), rgba(255,255,255,.01)),
      rgba(0,0,0,.04);
    box-shadow:0 18px 50px rgba(0,0,0,.16);
  }

  .page-shell .container{
    width:calc(100% - 2 * var(--pad));
  }

  .page-shell .main-grid{
    padding-bottom:6px;
  }
}


/* === ROOT FIX: sticky home top stack + mobile floating controls === */
body[data-page="home"] .home-top-stack{
  position:sticky;
  top:0;
  z-index:72;
  background:linear-gradient(180deg,rgba(20,31,41,.18),rgba(20,31,41,.04));
  backdrop-filter:blur(8px);
}

body[data-page="home"] .home-top-stack .site-header{
  background:linear-gradient(180deg,rgba(255,255,255,.010),rgba(255,255,255,.002));
}

body[data-page="home"] .home-top-stack .ticker-shell{
  margin:0;
}

body[data-page="home"] .home-top-stack + .main-grid{
  padding-top:12px;
}

body[data-page="home"] .home-main{
  width:100%;
  box-sizing:border-box;
  padding-inline:clamp(8px,1vw,14px);
}

body[data-page="home"] .header-inner{
  padding-top:26px;
}

.mobile-bottom-dock{display:none;}

.fullscreen-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:19px;
  height:19px;
  line-height:0;
}

.fullscreen-icon-svg{
  display:block;
  width:19px;
  height:19px;
}

@media (max-width:760px){
  body[data-page="home"] .page-shell{
    padding-bottom:calc(72px + env(safe-area-inset-bottom,0px));
  }

  body[data-page="home"] .home-top-stack{
    top:0;
    z-index:76;
  }

  body[data-page="home"] .home-top-stack + .main-grid{
    padding-top:8px;
  }

  body[data-page="home"] .home-main{
    padding-inline:0;
  }

  body[data-page="home"] .home-hero,
  body[data-page="home"] .section-stack,
  body[data-page="home"] #regionSections{
    margin-inline:var(--pad);
  }

  body[data-page="home"] .header-inner{
    padding:14px 0 12px;
  }

  body[data-page="home"] .header-inner > .header-actions{
    display:none !important;
  }

  body[data-page="home"] .mobile-bottom-dock{
    display:block;
    position:fixed;
    left:0;
    right:0;
    bottom:calc(6px + env(safe-area-inset-bottom,0px));
    z-index:95;
    pointer-events:none;
  }

  body[data-page="home"] .mobile-bottom-dock[hidden]{
    display:none !important;
  }

  body[data-page="home"] .mobile-bottom-dock .header-actions{
    position:relative;
    left:auto;
    bottom:auto;
    transform:none;
    z-index:auto;
    width:max-content;
    max-width:calc(100% - 24px);
    margin:0 auto;
    padding:8px 10px;
    border:1px solid rgba(255,255,255,.12);
    border-radius:999px;
    background:rgba(27,39,51,.34);
    backdrop-filter:blur(10px);
    box-shadow:0 14px 34px rgba(0,0,0,.28);
    justify-content:center !important;
    align-items:center !important;
    gap:10px;
    flex-wrap:nowrap;
    pointer-events:auto;
  }

  body[data-page="home"] .mobile-bottom-dock .header-actions .lang-toggle,
  body[data-page="home"] .mobile-bottom-dock .header-actions .icon-btn,
  body[data-page="home"] .mobile-bottom-dock .header-actions .ui-btn{
    margin:0 !important;
  }

  body[data-page="home"] .mobile-bottom-dock .header-actions .lang-toggle{
    flex:0 0 auto;
  }

  body[data-page="home"] .home-hero > .hero-card{
    padding:0 !important;
    border:0;
    background:transparent;
    box-shadow:none;
  }

}


/* === FINAL VISUAL OVERRIDES: title shadow === */
.masthead h1[data-site-title]{
  text-shadow:0 8px 28px rgba(7,11,18,.58),0 3px 10px rgba(7,11,18,.44) !important;
}


/* === WORLD MAP BACKGROUND: first-pass integration === */
body[data-page="home"]{
  position:relative;
  overflow-x:hidden;
}

body[data-page="home"] .page-shell{
  position:relative;
  z-index:1;
}

.site-world-map-bg{
  position:fixed;
  inset:0;
  z-index:0;
  pointer-events:none;
  overflow:hidden;
}

.site-world-map-track{
  position:absolute;
  inset:0;
  width:200%;
  --ccr-map-start:0%;
  --ccr-map-end:-50%;
  background-image:url('../images/backgrounds/world-intelligence-map-loop.svg');
  background-repeat:repeat-x;
  background-size:auto 100%;
  background-position:center center;
  opacity:.56;
  transform:translateX(var(--ccr-map-start));
  will-change:transform;
  animation:ccrWorldMapDrift var(--ccr-map-desktop-duration,110s) linear infinite;
}

.site-world-map-runner{display:none}

@media (min-width:761px){
  .site-world-map-track{
    width:100%;
    background:none;
    transform:none;
    animation:none;
    opacity:.56;
    overflow:hidden;
  }

  .site-world-map-runner{
    --ccr-map-tile-width:calc(100vh * 4);
    display:block;
    position:absolute;
    top:0;
    bottom:0;
    left:calc((100vw - var(--ccr-map-tile-width)) / 2);
    width:calc(var(--ccr-map-tile-width) * 2);
    height:100%;
    transform:translate3d(0,0,0);
    will-change:transform;
    backface-visibility:hidden;
    animation:ccrWorldMapRibbonDesktopRunner var(--ccr-map-desktop-duration,110s) linear infinite;
  }

  .site-world-map-runner::before,
  .site-world-map-runner::after{
    content:"";
    position:absolute;
    top:0;
    width:var(--ccr-map-tile-width);
    height:100%;
    background-image:url('../images/backgrounds/world-intelligence-map-loop.svg');
    background-repeat:no-repeat;
    background-size:100% 100%;
    background-position:center center;
    backface-visibility:hidden;
  }

  .site-world-map-runner::before{ left:0; }
  .site-world-map-runner::after{ left:var(--ccr-map-tile-width); }
}

.site-world-map-wash{
  position:absolute;
  inset:0;
  background:
    radial-gradient(ellipse at center, rgba(18,32,40,.04) 0%, rgba(9,15,21,.18) 62%, rgba(7,12,18,.36) 100%),
    linear-gradient(180deg, rgba(7,11,17,.16), rgba(7,11,17,.28));
}

@keyframes ccrWorldMapDrift{
  from{transform:translateX(var(--ccr-map-start))}
  to{transform:translateX(var(--ccr-map-end))}
}

@keyframes ccrWorldMapRibbonDesktopRunner{
  from{transform:translate3d(0,0,0)}
  to{transform:translate3d(calc(-1 * var(--ccr-map-tile-width)),0,0)}
}

@media (min-width:981px){
  body[data-page="home"] .page-shell{
    background:
      linear-gradient(180deg, rgba(255,255,255,.014), rgba(255,255,255,.004)),
      rgba(6,12,18,.08);
    box-shadow:0 18px 50px rgba(0,0,0,.18);
  }

  body[data-page="home"] .home-top-stack{
    background:linear-gradient(180deg, rgba(20,31,41,.12), rgba(20,31,41,.025));
  }

  body[data-page="home"] .masthead h1[data-site-title]{
    background:rgba(255,255,255,.032);
    border-color:rgba(255,255,255,.08);
  }
}

@media (max-width:760px){
  body[data-page="home"] .home-top-stack{
    background:linear-gradient(180deg, rgba(20,31,41,.08), rgba(20,31,41,.015));
  }

  body[data-page="home"] .masthead h1[data-site-title]{
    background:rgba(255,255,255,.022);
    border-color:rgba(255,255,255,.062);
  }

  .site-world-map-track{
    --mobile-ribbon-height: 92vh;
    --mobile-ribbon-width: calc(var(--mobile-ribbon-height) * 2);
    inset:calc(10vh + 108px) auto auto -28vw;
    width:var(--mobile-ribbon-width);
    height:var(--mobile-ribbon-height);
    border-radius:0;
    overflow:visible;
    opacity:.62;
    background:none;
    transform:rotate(16deg);
    transform-origin:center center;
    animation:none;
    box-shadow:none;
    will-change:auto;
    backface-visibility:hidden;
  }

  .site-world-map-runner{
    display:block;
    position:absolute;
    inset:0;
    width:200%;
    height:100%;
    transform:translate3d(0,0,0);
    will-change:transform;
    backface-visibility:hidden;
    animation:ccrWorldMapRibbonMobileRunner var(--ccr-map-mobile-duration,24s) linear infinite;
  }

  .site-world-map-runner::before,
  .site-world-map-runner::after{
    content:"";
    position:absolute;
    top:0;
    width:50%;
    height:100%;
    background-image:url('../images/backgrounds/world-intelligence-map-tile.webp');
    background-repeat:no-repeat;
    background-size:100% auto;
    background-position:50% 44%;
    backface-visibility:hidden;
  }

  .site-world-map-runner::before{
    left:0;
  }

  .site-world-map-runner::after{
    left:50%;
  }

  .site-world-map-wash{
    background:
      radial-gradient(ellipse at center, rgba(255,255,255,.015) 0%, rgba(8,13,19,0) 28%, rgba(8,13,19,.10) 58%, rgba(7,12,18,.34) 100%),
      linear-gradient(180deg, rgba(7,11,17,.08), rgba(7,11,17,.18));
  }
}

@keyframes ccrWorldMapRibbonMobileRunner{
  from{transform:translate3d(0,0,0)}
  to{transform:translate3d(-50%,0,0)}
}

@media (prefers-reduced-motion:reduce){
}


@media (prefers-reduced-motion:reduce){
  .site-world-map-track,.site-world-map-runner{animation:none}
}


/* === HYDRATION PLACEHOLDER SUPPRESSION (targeted) === */
.masthead h1[data-site-title]:empty,
.masthead [data-updated-stamp]:empty,
.footer .footer-brand:empty{display:none !important;}

/* === APPEARANCE CONTROL VARIABLES: SITE TITLE BLOCK === */
.masthead h1[data-site-title]{
  isolation:isolate;
}

.masthead h1[data-site-title] .site-title-text{
  display:inline;
  color:var(--ccr-masthead-title-color,#d8b2be);
  filter:brightness(var(--ccr-masthead-title-brightness,100%));
  opacity:var(--ccr-masthead-title-opacity,1);
  font-weight:var(--ccr-masthead-title-weight,700) !important;
  font-size:inherit !important;
}

.masthead [data-updated-stamp]{
  color:var(--ccr-utility-stamps-color,#c7d3dd);
  opacity:var(--ccr-utility-stamps-opacity,.82);
  font-weight:var(--ccr-utility-stamps-weight,500);
  font-size:var(--ccr-utility-stamps-size,.96rem) !important;
}

.footer .footer-brand{
  color:var(--ccr-footer-text-color,#c7d3dd) !important;
  opacity:var(--ccr-footer-text-opacity,.78);
  font-weight:var(--ccr-footer-text-weight,500);
  font-size:var(--ccr-footer-text-size,.92rem) !important;
}


/* === APPEARANCE CONTROL VARIABLES: TITLE / SPACING === */
.main-grid{gap:var(--ccr-main-gap,36px)}
.section-stack{gap:var(--ccr-section-gap,24px)}
.masthead h1[data-site-title]::after{
  opacity:clamp(.16,var(--ccr-site-title-wave-opacity,.24),.55);
  animation-duration:var(--ccr-site-title-wave-duration,3.8s);
  mix-blend-mode:screen;
  z-index:1;
  filter:blur(.15px);
}
.masthead h1[data-site-title] .site-title-text{position:relative;z-index:0}


/* === FONT SIZE TRUST PATCH === */
.masthead h1[data-site-title]{font-size:var(--ccr-masthead-title-size,clamp(26px,2.9vw,40px)) !important;}
.masthead [data-updated-stamp]{font-size:var(--ccr-utility-stamps-size,.96rem) !important;}


/* === CCR INTRO GATE (live integration) === */
body.ccr-intro-active{overflow:hidden;}

.ccr-entry-gate{
  position:fixed;
  inset:0;
  z-index:2147483200;
  pointer-events:auto;
}
.ccr-entry-gate::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(1100px 760px at 50% 22%, rgba(79,163,255,.12), transparent 58%),
    radial-gradient(820px 600px at 50% 100%, rgba(234,240,245,.07), transparent 64%),
    linear-gradient(180deg, rgba(17,26,36,.76), rgba(22,33,45,.88));
  opacity:1;
  transition:opacity 220ms ease;
}
.ccr-entry-gate.is-hidden{pointer-events:none;}
.ccr-entry-gate.is-hidden::before{opacity:0;}
.ccr-entry-keypad-slot{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:3;
  box-sizing:border-box;
  opacity:1;
  transform:translateY(0) scale(1);
  transition:opacity 190ms ease, transform 190ms cubic-bezier(.18,.78,.2,1);
  will-change:opacity, transform;
}
.ccr-entry-keypad-slot.is-handing-off{
  opacity:0;
  transform:translateY(-6px) scale(.985);
  pointer-events:none;
}
.ccr-entry-keypad-slot[hidden]{display:none !important;}

.ccr-intro-overlay{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  z-index:2;
  background:
    radial-gradient(860px 560px at 50% 44%, rgba(216,177,92,.15), transparent 60%),
    radial-gradient(840px 560px at 50% 56%, rgba(136,182,255,.06), transparent 58%),
    linear-gradient(180deg, rgba(2,7,16,.34), rgba(2,7,16,.76));
  backdrop-filter:blur(8px);
  transition:opacity 320ms ease, visibility 320ms ease, background 220ms ease, backdrop-filter 220ms ease;
}
.ccr-intro-overlay.is-hidden{opacity:0; visibility:hidden;}
body.ccr-entry-keypad-active:not(.ccr-entry-intro-handoff) .ccr-intro-overlay{opacity:0 !important; visibility:hidden !important;}
body.ccr-entry-keypad-active:not(.ccr-entry-intro-handoff) .ccr-intro-stage-wrap{opacity:0 !important; visibility:hidden !important;}
body.ccr-entry-intro-handoff .ccr-intro-overlay{opacity:1 !important; visibility:visible !important;}
body.ccr-entry-intro-handoff .ccr-intro-stage-wrap{opacity:0; visibility:visible;}
body.ccr-intro-revealing .ccr-intro-overlay{
  background:
    radial-gradient(860px 560px at 50% 44%, rgba(216,177,92,.07), transparent 60%),
    radial-gradient(840px 560px at 50% 56%, rgba(136,182,255,.035), transparent 58%),
    linear-gradient(180deg, rgba(2,7,16,.12), rgba(2,7,16,.22));
  backdrop-filter:blur(3px);
}
body.ccr-intro-revealing .ccr-entry-gate::before{opacity:.12;}

.ccr-intro-stage-wrap{
  position:relative;
  width:min(92vw, 1100px);
  height:min(62vh, 520px);
  display:grid;
  place-items:center;
  isolation:isolate;
  transition:opacity 160ms ease;
}

/* r4 Atlas Gold intro direction — visual layer only; preserves existing measured CCR handoff. */
.ccr-intro-gold-dust{
  position:absolute;
  inset:-14%;
  overflow:hidden;
  pointer-events:none;
  z-index:2;
}
.ccr-intro-gold-dust i{
  position:absolute;
  left:50%;
  top:50%;
  width:3px;
  height:3px;
  border-radius:50%;
  background:rgba(246,216,138,.86);
  box-shadow:0 0 12px rgba(246,216,138,.72);
  opacity:0;
  transform:translate3d(var(--x), var(--y), 0) scale(.6);
}
.ccr-intro-stage-wrap.is-atlas-live .ccr-intro-gold-dust i{animation:ccrIntroDustIn 820ms cubic-bezier(.18,.8,.2,1) forwards;}
.ccr-intro-stage-wrap.is-pulsing .ccr-intro-gold-dust i{animation:ccrIntroDustOrbit 1100ms ease-in-out forwards;}
@keyframes ccrIntroDustIn{to{opacity:.58; transform:translate3d(calc(var(--x) * .25), calc(var(--y) * .25), 0) scale(1);}}
@keyframes ccrIntroDustOrbit{0%{opacity:.58;}70%{opacity:.34;}100%{opacity:0; transform:rotate(var(--r)) translate3d(calc(var(--x) * .08), calc(var(--y) * .08), 0) scale(.1);}}
.ccr-intro-atlas-grid{
  position:absolute;
  z-index:1;
  left:50%;
  top:50%;
  width:min(58vw, 560px);
  aspect-ratio:1;
  border-radius:50%;
  border:1px solid rgba(246,216,138,.16);
  background:
    repeating-radial-gradient(circle at center, transparent 0 38px, rgba(246,216,138,.08) 39px 40px, transparent 41px 72px),
    repeating-linear-gradient(0deg, transparent 0 40px, rgba(136,182,255,.07) 41px 42px, transparent 43px 80px),
    repeating-linear-gradient(90deg, transparent 0 40px, rgba(136,182,255,.07) 41px 42px, transparent 43px 80px);
  box-shadow:inset 0 0 52px rgba(246,216,138,.08), 0 0 90px rgba(246,216,138,.08);
  opacity:0;
  transform:translate(-50%,-50%) scale(.74);
  transition:opacity 420ms ease, transform 760ms cubic-bezier(.18,.78,.2,1);
  pointer-events:none;
}
.ccr-intro-stage-wrap.is-atlas-live .ccr-intro-atlas-grid{opacity:.70; transform:translate(-50%,-50%) scale(1);}
.ccr-intro-stage-wrap.is-ball .ccr-intro-atlas-grid{animation:ccrIntroAtlasCompress 720ms ease-in-out forwards;}
body.ccr-intro-handshake .ccr-intro-atlas-grid{opacity:.08; transform:translate(-50%,-50%) scale(.30) rotate(22deg);}
@keyframes ccrIntroAtlasCompress{to{opacity:.38; transform:translate(-50%,-50%) scale(.42) rotate(22deg);}}
.ccr-intro-atlas-rings{
  position:absolute;
  inset:0;
  z-index:3;
  pointer-events:none;
}
.ccr-intro-atlas-rings::before,
.ccr-intro-atlas-rings::after{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:min(66vw, 660px);
  aspect-ratio:1;
  border-radius:50%;
  border:1px solid rgba(246,216,138,.20);
  box-shadow:0 0 30px rgba(246,216,138,.10);
  opacity:0;
  transform:translate(-50%,-50%) rotateX(68deg) rotateZ(-18deg) scale(.74);
}
.ccr-intro-atlas-rings::after{
  border-color:rgba(136,182,255,.16);
  transform:translate(-50%,-50%) rotateX(68deg) rotateZ(62deg) scale(.60);
}
.ccr-intro-stage-wrap.is-atlas-live .ccr-intro-atlas-rings::before{animation:ccrIntroOrbitRing 1260ms ease-out forwards;}
.ccr-intro-stage-wrap.is-atlas-live .ccr-intro-atlas-rings::after{animation:ccrIntroOrbitRing 1260ms 90ms ease-out forwards;}
body.ccr-intro-handshake .ccr-intro-atlas-rings::before,
body.ccr-intro-handshake .ccr-intro-atlas-rings::after{opacity:0; transition:opacity 260ms ease;}
@keyframes ccrIntroOrbitRing{30%{opacity:.68;}100%{opacity:.16; transform:translate(-50%,-50%) rotateX(68deg) rotateZ(344deg) scale(1);}}
.ccr-intro-stage-glow{
  position:absolute;
  z-index:0;
  width:min(66vw, 700px);
  aspect-ratio:1.55;
  border-radius:999px;
  background:
    radial-gradient(circle at center, rgba(246,216,138,.18), rgba(216,177,92,.07) 35%, transparent 68%),
    radial-gradient(circle at center, rgba(136,182,255,.075), transparent 72%);
  filter:blur(14px);
  opacity:.92;
  transform:translateY(10px);
  transition:opacity 420ms ease, transform 640ms ease;
}
body.ccr-intro-handshake .ccr-intro-stage-glow,
.ccr-intro-stage-wrap.is-handshake .ccr-intro-stage-glow{opacity:.28; transform:translateY(-8px) scale(.78);}

.ccr-intro-merge-ball{
  position:absolute;
  left:50%;
  top:50%;
  width:clamp(90px, 10vw, 148px);
  aspect-ratio:1;
  border-radius:50%;
  pointer-events:none;
  opacity:0;
  transform:translate(-50%,-50%) scale(.52);
  background:
    radial-gradient(circle at 36% 30%, #fff 0 8%, #fff2c3 20%, rgba(246,216,138,.78) 42%, rgba(216,177,92,.22) 67%, transparent 80%);
  filter:blur(2px);
  box-shadow:0 0 28px rgba(255,239,191,.46), 0 0 84px rgba(246,216,138,.32), 0 0 148px rgba(216,177,92,.16);
  transition:opacity 110ms ease, transform 360ms cubic-bezier(.12,.88,.18,1);
  z-index:4;
}
.ccr-intro-stage-wrap.is-ball .ccr-intro-merge-ball{opacity:1; transform:translate(-50%,-50%) scale(1.02);}
.ccr-intro-stage-wrap.is-pulsing .ccr-intro-merge-ball{animation:ccrIntroBallPulse 364ms ease-in-out 2;}
@keyframes ccrIntroBallPulse{
  0%,100%{filter:blur(2px) brightness(1); box-shadow:0 0 28px rgba(255,239,191,.42), 0 0 84px rgba(246,216,138,.30), 0 0 148px rgba(216,177,92,.14);}
  50%{filter:blur(1px) brightness(1.23); box-shadow:0 0 40px rgba(255,246,218,.62), 0 0 110px rgba(246,216,138,.46), 0 0 210px rgba(216,177,92,.22);}
}

.ccr-intro-letters-stage{position:relative; z-index:5; width:min(70vw, 820px); height:min(34vh, 250px);}
.ccr-intro-letters-stage::after{
  content:"";
  position:absolute;
  inset:-20% -8%;
  background:linear-gradient(105deg, transparent 32%, rgba(255,239,191,.12) 46%, rgba(246,216,138,.28) 50%, rgba(255,239,191,.10) 56%, transparent 68%);
  opacity:0;
  transform:translateX(-38%) skewX(-14deg);
  pointer-events:none;
  mix-blend-mode:screen;
}
.ccr-intro-stage-wrap.is-glowing .ccr-intro-letters-stage::after{animation:ccrIntroSheenSweep 680ms cubic-bezier(.18,.78,.2,1) 1;}
@keyframes ccrIntroSheenSweep{0%{opacity:0; transform:translateX(-42%) skewX(-14deg);}20%{opacity:.32;}100%{opacity:0; transform:translateX(44%) skewX(-14deg);}}

.ccr-intro-letter{
  position:absolute;
  top:50%;
  left:50%;
  font-family:Inter,"Noto Sans JP",system-ui,sans-serif;
  font-weight:850;
  font-size:clamp(62px, 12vw, 158px);
  line-height:1;
  letter-spacing:.01em;
  user-select:none;
  pointer-events:none;
  backface-visibility:hidden;
  will-change:transform, opacity;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  color:#f8e4a6;
  text-shadow:0 0 18px rgba(246,216,138,.25), 0 0 56px rgba(216,177,92,.14), 0 22px 68px rgba(0,0,0,.34);
  transition:transform 720ms cubic-bezier(.11,.86,.16,1), color 220ms ease, text-shadow 220ms ease, filter 260ms ease, opacity 260ms ease;
  transform:translate(calc(-50% + var(--start-x)), calc(-50% + var(--start-y))) scale(var(--entry-scale, .86));
  opacity:.72;
  filter:blur(var(--entry-blur, 6px)) brightness(.92);
  z-index:2;
}

.ccr-entry-gate{
  --ccr-intro-letter-gap: clamp(64px, 8vw, 110px);
}
.ccr-intro-letter[data-letter="C1"]{--settle-x:calc(-1.08 * var(--ccr-intro-letter-gap)); --entry-scale:.82; --entry-blur:8px;}
.ccr-intro-letter[data-letter="C2"]{--settle-x:0px; --entry-scale:.72; --entry-blur:10px;}
.ccr-intro-letter[data-letter="R"]{--settle-x:calc(1.08 * var(--ccr-intro-letter-gap)); --entry-scale:.88; --entry-blur:7px;}
.ccr-intro-letter.is-homing{transform:translate(calc(-50% + var(--settle-x)), -50%) scale(1); opacity:1; filter:blur(0px) brightness(1);}
.ccr-intro-letter.is-overlap{transition-duration:360ms, 140ms, 140ms, 140ms, 140ms; transform:translate(-50%, -50%) scale(1.08); color:#fff7df; filter:blur(.4px) brightness(1.15); opacity:.08; text-shadow:0 0 2px rgba(246,216,138,.10), 0 4px 12px rgba(0,0,0,.10);}
.ccr-intro-letter.is-dispersed{transition-duration:790ms, 160ms, 160ms, 160ms, 180ms; transition-timing-function:cubic-bezier(.16,.8,.18,1), ease, ease, ease, ease; transition-delay:0ms, 0ms, 0ms, 0ms, 120ms; transform:translate(calc(-50% + var(--settle-x)), -50%) scale(1); color:#ffe09a; opacity:1; filter:blur(0px) brightness(1.05); text-shadow:0 0 18px rgba(246,216,138,.44), 0 0 52px rgba(216,177,92,.24), 0 0 100px rgba(216,177,92,.10), 0 18px 45px rgba(0,0,0,.32);}
.ccr-intro-letter.is-handshake{transition:transform 1050ms cubic-bezier(.17,.77,.20,1), opacity 760ms ease; transform:translate3d(calc(-50% + var(--settle-x, 0px) + var(--handshake-dx, 0px)), calc(-50% + var(--settle-y, 0px) + var(--handshake-dy, 0px)), 0) scale(var(--handshake-scale-x, var(--handshake-scale, .34)), var(--handshake-scale-y, var(--handshake-scale, .34))); opacity:var(--handshake-opacity, .09); filter:none; text-shadow:0 8px 18px rgba(0,0,0,.16);}
.ccr-intro-stage-wrap.is-glowing .ccr-intro-letter{animation:ccrIntroFinalGlow 600ms ease-in-out 1;}
@keyframes ccrIntroFinalGlow{0%,100%{filter:brightness(1.05); color:#ffe09a; text-shadow:0 0 18px rgba(246,216,138,.44), 0 0 52px rgba(216,177,92,.24), 0 18px 45px rgba(0,0,0,.32);}50%{filter:brightness(1.28); color:#fff0c1; text-shadow:0 0 26px rgba(255,239,191,.58), 0 0 82px rgba(246,216,138,.32), 0 0 150px rgba(216,177,92,.16), 0 18px 45px rgba(0,0,0,.28);}}

body.ccr-intro-underlay-awake .site-world-map-bg{filter:brightness(1.02) saturate(1.04); transition:filter 560ms ease;}
body.ccr-intro-active .masthead h1[data-site-title] .site-title-ccr-char{opacity:0; transition:opacity 280ms ease;}
body.ccr-intro-measuring .masthead h1[data-site-title] .site-title-ccr-char{opacity:0 !important;}
body.ccr-intro-handshake .masthead h1[data-site-title] .site-title-ccr-char{opacity:1; color:#f6d88a; text-shadow:0 0 13px rgba(246,216,138,.28), 0 10px 30px rgba(0,0,0,.30); transition:opacity 760ms ease 120ms, color 760ms ease 120ms, text-shadow 760ms ease 120ms;}
.masthead h1[data-site-title] .site-title-ccr{display:inline-flex; align-items:baseline; gap:0;}
.masthead h1[data-site-title] .site-title-ccr-char{display:inline-block;}

/* r5 mobile/low-power Atlas smoothing — preserve desktop r4 visuals, simplify phone compositing. */
@media (max-width:820px), (pointer:coarse), (hover:none){
  .ccr-entry-gate{--ccr-intro-letter-gap: clamp(48px, 9vw, 72px);}
  .ccr-intro-stage-wrap{height:min(54vh, 400px);}
  .ccr-intro-stage-wrap.is-atlas-lean .ccr-intro-gold-dust{inset:-8%;}
  .ccr-intro-stage-wrap.is-atlas-lean .ccr-intro-gold-dust i{
    width:2px;
    height:2px;
    background:rgba(246,216,138,.70);
    box-shadow:0 0 7px rgba(246,216,138,.42);
  }
  .ccr-intro-stage-wrap.is-atlas-lean.is-atlas-live .ccr-intro-gold-dust i{animation:ccrIntroDustInLean 560ms cubic-bezier(.18,.8,.2,1) forwards;}
  .ccr-intro-stage-wrap.is-atlas-lean.is-pulsing .ccr-intro-gold-dust i{animation:none; opacity:.14;}
  .ccr-intro-stage-wrap.is-atlas-lean .ccr-intro-atlas-grid{
    width:min(70vw, 320px);
    border-color:rgba(246,216,138,.11);
    background:
      repeating-radial-gradient(circle at center, transparent 0 44px, rgba(246,216,138,.055) 45px 46px, transparent 47px 86px),
      linear-gradient(90deg, transparent, rgba(136,182,255,.045), transparent);
    box-shadow:inset 0 0 24px rgba(246,216,138,.055);
    transition:opacity 260ms ease, transform 620ms cubic-bezier(.18,.78,.2,1);
  }
  .ccr-intro-stage-wrap.is-atlas-lean.is-atlas-live .ccr-intro-atlas-grid{opacity:.42;}
  .ccr-intro-stage-wrap.is-atlas-lean.is-ball .ccr-intro-atlas-grid{animation:ccrIntroAtlasCompressLean 540ms ease-out forwards;}
  .ccr-intro-stage-wrap.is-atlas-lean .ccr-intro-atlas-rings::before{width:min(78vw, 340px); border-color:rgba(246,216,138,.14); box-shadow:none;}
  .ccr-intro-stage-wrap.is-atlas-lean .ccr-intro-atlas-rings::after{display:none;}
  .ccr-intro-stage-wrap.is-atlas-lean.is-atlas-live .ccr-intro-atlas-rings::before{animation:ccrIntroOrbitRingLean 760ms ease-out forwards;}
  .ccr-intro-stage-wrap.is-atlas-lean .ccr-intro-stage-glow{width:min(72vw, 360px); filter:blur(8px); opacity:.70;}
  .ccr-intro-stage-wrap.is-atlas-lean .ccr-intro-merge-ball{width:clamp(72px, 18vw, 104px); filter:blur(1px); box-shadow:0 0 22px rgba(255,239,191,.36), 0 0 62px rgba(246,216,138,.22);}
  .ccr-intro-stage-wrap.is-atlas-lean .ccr-intro-letter{text-shadow:0 0 14px rgba(246,216,138,.32), 0 14px 36px rgba(0,0,0,.30); transition-duration:660ms, 180ms, 180ms, 180ms, 200ms;}
  .ccr-intro-stage-wrap.is-atlas-lean .ccr-intro-letter.is-dispersed{text-shadow:0 0 16px rgba(246,216,138,.36), 0 16px 38px rgba(0,0,0,.30);}
  .ccr-intro-stage-wrap.is-atlas-lean .ccr-intro-letters-stage::after{display:none;}
}
@keyframes ccrIntroDustInLean{to{opacity:.32; transform:translate3d(calc(var(--x) * .18), calc(var(--y) * .18), 0) scale(.86);}}
@keyframes ccrIntroAtlasCompressLean{to{opacity:.24; transform:translate(-50%,-50%) scale(.52) rotate(14deg);}}
@keyframes ccrIntroOrbitRingLean{35%{opacity:.34;}100%{opacity:.10; transform:translate(-50%,-50%) rotateX(66deg) rotateZ(210deg) scale(.96);}}
@media (prefers-reduced-motion:reduce){.ccr-intro-stage-wrap.is-pulsing .ccr-intro-merge-ball,.ccr-intro-stage-wrap.is-glowing .ccr-intro-letter,.ccr-intro-letters-stage::after,.ccr-intro-gold-dust i,.ccr-intro-atlas-grid,.ccr-intro-atlas-rings::before,.ccr-intro-atlas-rings::after{animation:none !important;}.ccr-intro-letter,.ccr-intro-merge-ball,.ccr-intro-overlay,.ccr-entry-keypad-slot,.ccr-intro-atlas-grid,.ccr-intro-atlas-rings::before,.ccr-intro-atlas-rings::after{transition:none !important;}}


.ccr-entry-gate[hidden]{display:none !important;}
body.ccr-entry-locked{overflow:hidden;}
body.ccr-entry-locked .page-shell{
  opacity:0 !important;
  filter:blur(12px) saturate(.82);
  transition:opacity 240ms ease, filter 240ms ease;
}
body.ccr-entry-locked .site-world-map-bg{
  opacity:.02;
  filter:blur(10px) saturate(.86);
  transition:opacity 240ms ease, filter 240ms ease;
}
body.ccr-entry-locked.ccr-intro-revealing .page-shell{
  opacity:1 !important;
  filter:none;
  transition:opacity 120ms linear, filter 120ms linear;
}
body.ccr-entry-locked.ccr-intro-revealing .site-world-map-bg{
  opacity:1;
  filter:none;
  transition:opacity 140ms linear, filter 140ms linear;
}
/* r9120 cleanup — modal home overlays own the mobile tap layer; keep the dock inert underneath. */
body.settings-shell-open .mobile-bottom-dock,
body.portfolio-shell-open .mobile-bottom-dock,
body.rss-shell-open .mobile-bottom-dock,
body.book-shell-open .mobile-bottom-dock,
body.book-reader-shell-open .mobile-bottom-dock{
  opacity:0;
  pointer-events:none;
}

.ccr-entry-gate{
  background:
    radial-gradient(880px 600px at 50% 40%, rgba(223,233,244,.10), transparent 54%),
    radial-gradient(760px 540px at 50% 62%, rgba(237,219,227,.10), transparent 52%),
    linear-gradient(180deg, rgba(4,8,14,.86), rgba(4,8,14,.94));
  backdrop-filter:blur(14px) saturate(.9);
}
.ccr-entry-keypad-slot{
  min-height:100dvh;
  width:100%;
  padding:clamp(16px, 3vw, 32px);
  align-items:center;
  justify-content:center;
}
.ccr-entry-keypad-shell{
  width:min(430px, calc(100vw - 2 * clamp(16px, 3vw, 32px)));
  max-width:430px;
  display:grid;
  place-items:center;
  margin-inline:auto;
  box-sizing:border-box;
}
.ccr-entry-keypad-panel{
  width:100%;
  padding:clamp(20px, 4vw, 30px);
  border-radius:24px;
  background:
    linear-gradient(180deg, rgba(58,74,91,.92), rgba(38,53,68,.94)),
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 34px 90px rgba(0,0,0,.52), inset 0 1px 0 rgba(255,255,255,.08), 0 0 0 1px rgba(79,163,255,.06);
  backdrop-filter:blur(18px) saturate(1.04);
}
.ccr-entry-login-id-block{
  display:grid;
  gap:8px;
  margin:0 0 16px;
}
.ccr-entry-login-id-label{
  color:var(--text-2);
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.ccr-entry-login-id-input{
  width:100%;
  min-height:50px;
  padding:0 16px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  background:linear-gradient(180deg, rgba(17,27,38,.84), rgba(19,31,44,.74));
  color:var(--text);
  font:500 clamp(15px, 2.8vw, 17px)/1 Inter, "Noto Sans JP", system-ui, sans-serif;
  letter-spacing:.02em;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03), 0 10px 26px rgba(0,0,0,.22);
  outline:none;
}
.ccr-entry-login-id-input::placeholder{color:rgba(214,224,233,.48);}
.ccr-entry-login-id-input:focus{
  border-color:rgba(79,163,255,.42);
  box-shadow:0 0 0 3px rgba(79,163,255,.14), inset 0 1px 0 rgba(255,255,255,.04), 0 10px 26px rgba(0,0,0,.24);
}
.ccr-entry-code-dots{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin:0 0 14px;
}
.ccr-entry-code-dot{
  width:11px;
  height:11px;
  border-radius:999px;
  background:rgba(79,163,255,.14);
  border:1px solid rgba(255,255,255,.16);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.03);
  transition:transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.ccr-entry-code-dot.is-filled{
  background:rgba(234,240,245,.92);
  box-shadow:0 0 12px rgba(79,163,255,.22);
  transform:scale(1.04);
}
.ccr-entry-keypad-prompt{
  margin:0;
  text-align:center;
  color:var(--text);
  font-size:clamp(14px, 2.6vw, 16px);
  letter-spacing:.05em;
}
.ccr-entry-keypad-status{
  min-height:1.35em;
  margin:8px 0 16px;
  text-align:center;
  color:var(--text-2);
  font-size:12px;
  letter-spacing:.04em;
}
.ccr-entry-keypad-status[data-state="error"]{color:#f2b8ba;}
.ccr-entry-keypad-status[data-state="success"]{color:#d6e8f6;}
.ccr-entry-keypad-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:12px;
}
.ccr-entry-key{
  appearance:none;
  border:none;
  border-radius:18px;
  min-height:64px;
  background:linear-gradient(180deg, rgba(68,87,105,.96), rgba(49,66,82,.94));
  color:var(--text);
  font:600 clamp(20px, 4.2vw, 28px)/1 Inter, "Noto Sans JP", system-ui, sans-serif;
  letter-spacing:.01em;
  box-shadow:0 14px 34px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.05), 0 0 0 1px rgba(79,163,255,.04);
  border:1px solid rgba(255,255,255,.08);
  transition:transform 130ms ease, background 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
  touch-action:manipulation;
}
.ccr-entry-key:hover{background:linear-gradient(180deg, rgba(79,163,255,.22), rgba(68,87,105,.94));}
.ccr-entry-key:active{transform:translateY(1px) scale(.988);}
.ccr-entry-key:disabled{opacity:.46;}
.ccr-entry-key--delete,
.ccr-entry-key--unlock{
  font-size:clamp(14px, 2.8vw, 16px);
  letter-spacing:.08em;
  text-transform:uppercase;
}
.ccr-entry-key--unlock{
  background:linear-gradient(180deg, rgba(79,163,255,.32), rgba(79,163,255,.18));
}
.ccr-entry-key--delete{
  background:linear-gradient(180deg, rgba(69,86,103,.98), rgba(49,66,82,.95));
  color:var(--text-2);
}
@media (max-width:820px){
  .ccr-entry-keypad-slot{padding:max(18px, env(safe-area-inset-top)) 18px max(18px, env(safe-area-inset-bottom)) 18px; min-height:100dvh; align-items:flex-start;}
  .ccr-entry-keypad-shell{width:min(380px, calc(100vw - 36px)); margin-top:clamp(10px, 4svh, 34px);}
  .ccr-entry-keypad-panel{width:100%; padding:18px 16px 16px; border-radius:22px;}
  .ccr-entry-key{min-height:58px; border-radius:16px;}
}


/* === PHASE 1 SETTINGS SHELL (home only) === */
body[data-page="home"] .settings-launch-btn{
  flex:0 0 auto;
}
body[data-page="home"] .settings-icon,
body[data-page="home"] .settings-shell-close > span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
body[data-page="home"] .settings-icon-svg,
body[data-page="home"] .book-icon-svg{
  width:19px;
  height:19px;
  display:block;
  overflow:visible;
}
body[data-page="home"] .book-icon,
body[data-page="home"] .book-shell-close > span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
body[data-page="home"] .book-launch-btn:hover{
  background:rgba(124,196,255,.12);
  border-color:rgba(124,196,255,.34);
}

body.settings-shell-open{
  overflow:hidden;
}
body.rss-shell-open{
  overflow:hidden;
}
body.book-shell-open{
  overflow:hidden;
}
body.book-reader-shell-open{
  overflow:hidden;
}
body[data-page="home"] .book-shell-layer{
  position:fixed;
  inset:0;
  z-index:558;
}
body[data-page="home"] .book-shell-card{
  width:min(1180px, calc(100vw - 32px));
}
body[data-page="home"] .book-shell-scroll{
  display:flex;
  flex-direction:column;
}
body[data-page="home"] .book-shell-body{
  gap:18px;
}
body[data-page="home"] .book-shell-balance{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px 16px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
}
body[data-page="home"] .book-shell-balance strong{
  font-size:1.05rem;
}
body[data-page="home"] .book-shell-balance.is-pending strong{
  color:rgba(224,232,244,.74);
  font-size:.96rem;
  letter-spacing:.01em;
}
body[data-page="home"] .book-shell-library{
  display:grid;
  gap:14px;
}
body[data-page="home"] .book-shell-library__head{
  display:grid;
  gap:8px;
}
body[data-page="home"] .book-shell-library__head h3{
  margin:0;
  font-size:1.05rem;
}
body[data-page="home"] .book-shell-section{
  border:1px solid rgba(255,255,255,.08);
  border-radius:20px;
  background:linear-gradient(180deg, rgba(255,255,255,.052), rgba(255,255,255,.026));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
  overflow:hidden;
}
body[data-page="home"] .book-shell-section + .book-shell-section{
  margin-top:12px;
}
body[data-page="home"] .book-shell-section__summary{
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:48px;
  padding:13px 16px;
  color:rgba(232,214,164,.90);
  font-size:1.02rem;
  font-weight:700;
  letter-spacing:.012em;
  cursor:pointer;
  user-select:none;
}
body[data-page="home"] .book-shell-section__summary::-webkit-details-marker{
  display:none;
}
body[data-page="home"] .book-shell-section__summary::after{
  content:"▾";
  color:rgba(232,214,164,.72);
  font-size:.86rem;
  line-height:1;
  transform:rotate(-90deg);
  transition:transform .18s ease, color .18s ease;
}
body[data-page="home"] .book-shell-section[open] .book-shell-section__summary::after{
  transform:rotate(0deg);
  color:rgba(232,214,164,.9);
}
body[data-page="home"] .book-shell-section__summary em{
  margin-left:auto;
  padding:3px 8px;
  border:1px solid rgba(232,214,164,.14);
  border-radius:999px;
  color:rgba(218,226,234,.68);
  background:rgba(255,255,255,.035);
  font-size:.72rem;
  font-style:normal;
  font-weight:650;
}
body[data-page="home"] .book-shell-section__content{
  padding:0 16px 16px;
}
body[data-page="home"] .book-shell-section__empty{
  margin:0;
  padding:14px 12px;
  border:1px dashed rgba(255,255,255,.09);
  border-radius:16px;
  color:rgba(213,222,232,.64);
  background:rgba(6,13,23,.18);
}
@media (max-width:720px){
  body[data-page="home"] .book-shell-section__summary{
    position:relative;
    display:block;
    min-height:46px;
    padding:12px 52px;
    text-align:center;
    box-sizing:border-box;
  }
  body[data-page="home"] .book-shell-section__summary > span{
    display:block;
    width:100%;
    max-width:100%;
    text-align:center;
  }
  body[data-page="home"] .book-shell-section__summary em{
    position:absolute;
    left:14px;
    top:50%;
    transform:translateY(-50%);
    margin-left:0;
  }
  body[data-page="home"] .book-shell-section__summary::after{
    position:absolute;
    right:16px;
    top:50%;
    transform:translateY(-50%) rotate(-90deg);
  }
  body[data-page="home"] .book-shell-section[open] .book-shell-section__summary::after{
    transform:translateY(-50%) rotate(0deg);
  }
  body[data-page="home"] .book-shell-section__content{
    padding:0 12px 14px;
  }
}
body[data-page="home"] .book-shell-note{
  margin:0;
}
body[data-page="home"] .book-shell-library__grid{
  display:grid;
  gap:14px;
}
body[data-page="home"] .book-shell-card-item{
  border:1px solid rgba(255,255,255,.08);
  border-radius:20px;
  padding:16px;
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  display:grid;
  grid-template-columns:minmax(148px, 188px) minmax(0, 1fr);
  align-items:start;
  gap:14px 18px;
}
body[data-page="home"] .book-shell-card-item__media{
  grid-column:1;
  grid-row:1 / span 2;
  width:min(100%, 188px);
  aspect-ratio:3 / 4;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:10px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(10,16,28,.42));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03);
}
body[data-page="home"] .book-shell-card-item__cover{
  display:block;
  width:100%;
  height:100%;
  max-height:none;
  object-fit:contain;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.06);
  background:rgba(10,16,28,.55);
}
body[data-page="home"] .book-shell-card-item__head{
  grid-column:2;
  display:flex;
  gap:12px;
  justify-content:space-between;
  align-items:flex-start;
}
body[data-page="home"] .book-shell-card-item__head h3,
body[data-page="home"] .book-shell-card-item__head p{
  margin:0;
}
body[data-page="home"] .book-shell-card-item__head h3{
  font-size:1rem;
  line-height:1.35;
}
body[data-page="home"] .book-shell-card-item__head p{
  margin-top:6px;
  color:var(--muted);
}
body[data-page="home"] .book-shell-card-item__subtitle{
  font-size:.86rem;
  line-height:1.45;
  color:rgba(218,226,236,.78) !important;
}
body[data-page="home"] .book-shell-card-item__brief-review{
  margin-top:7px !important;
  font-size:.84rem;
  line-height:1.52;
  color:rgba(232,214,164,.72) !important;
}
body[data-page="home"] .book-shell-card-item__kicker{
  margin:0 0 6px;
  font-size:.78rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:rgba(124,196,255,.9);
}
body[data-page="home"] .book-shell-card-item__badges{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
body[data-page="home"] .book-shell-card-item__actions{
  grid-column:2;
  justify-content:flex-start;
}
body[data-page="home"] .book-shell-resources__grid{
  display:grid;
  gap:12px;
}
body[data-page="home"] .book-shell-resource-card{
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  padding:14px;
  background:linear-gradient(180deg, rgba(255,255,255,.052), rgba(255,255,255,.026));
  display:grid;
  grid-template-columns:minmax(74px, 96px) minmax(0,1fr);
  gap:12px 14px;
  align-items:center;
}
body[data-page="home"] .book-shell-resource-card__media{
  width:100%;
  aspect-ratio:4 / 3;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(9,17,29,.38);
  overflow:hidden;
}
body[data-page="home"] .book-shell-resource-card__image{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
body[data-page="home"] .book-shell-resource-card__copy{
  display:grid;
  gap:6px;
}
body[data-page="home"] .book-shell-resource-card__copy h3,
body[data-page="home"] .book-shell-resource-card__copy p{
  margin:0;
}
body[data-page="home"] .book-shell-resource-card__copy h3{
  font-size:.95rem;
  line-height:1.35;
  color:rgba(239,244,250,.92);
}
body[data-page="home"] .book-shell-resource-card__title-link{
  color:inherit;
  text-decoration:none;
}
body[data-page="home"] .book-shell-resource-card__title-link:hover,
body[data-page="home"] .book-shell-resource-card__title-link:focus-visible{
  text-decoration:underline;
}
body[data-page="home"] .book-shell-resource-card__copy p{
  font-size:.86rem;
  line-height:1.5;
  color:rgba(213,223,234,.74);
}
@media (max-width:900px){
  body[data-page="home"] .book-shell-section{
    width:min(100%, 34rem);
    max-width:100%;
    margin-inline:auto;
  }
  body[data-page="home"] .book-shell-section__summary{
    display:grid;
    grid-template-columns:48px minmax(0,1fr) 48px;
    align-items:center;
    justify-items:center;
    width:100%;
    min-height:46px;
    padding:12px 10px;
    text-align:center;
    box-sizing:border-box;
  }
  body[data-page="home"] .book-shell-section__summary > span{
    grid-column:2;
    width:100%;
    max-width:100%;
    text-align:center;
    justify-self:center;
  }
  body[data-page="home"] .book-shell-section__summary em{
    position:static;
    grid-column:1;
    grid-row:1;
    justify-self:start;
    margin-left:0;
    transform:none;
  }
  body[data-page="home"] .book-shell-section__summary::after{
    position:static;
    grid-column:3;
    grid-row:1;
    justify-self:end;
    transform:rotate(-90deg);
  }
  body[data-page="home"] .book-shell-section[open] .book-shell-section__summary::after{
    transform:rotate(0deg);
  }
}
@media (max-width:720px){
  body[data-page="home"] .book-shell-card-item{
    grid-template-columns:1fr;
  }
  body[data-page="home"] .book-shell-card-item__media{
    grid-row:auto;
    width:min(100%, 220px);
    margin:0 auto;
  }
  body[data-page="home"] .book-shell-card-item__head,
  body[data-page="home"] .book-shell-card-item__actions{
    grid-column:auto;
  }
  body[data-page="home"] .book-shell-card-item__head{
    display:grid;
    gap:12px;
  }
  body[data-page="home"] .book-shell-card-item__badges{
    justify-content:flex-start;
  }
}
body[data-page="home"] .book-shell-status.is-warning{
  border-color:rgba(250,204,21,.32);
}
body[data-page="home"] .book-reader-shell-layer{
  position:fixed;
  inset:0;
  z-index:559;
}
body[data-page="home"] .book-reader-shell-card{
  width:min(1380px, calc(100vw - 16px));
  height:min(calc(100vh - 16px), 1080px);
  max-width:1380px;
}
body[data-page="home"] .book-reader-shell-scroll{
  display:flex;
  flex-direction:column;
  height:100%;
}
body[data-page="home"] .book-reader-shell-header{
  padding-bottom:14px;
}
body[data-page="home"] .book-reader-shell-body{
  flex:1 1 auto;
  min-height:0;
  display:grid;
}
body[data-page="home"] .book-reader-shell-frame-wrap{
  min-height:0;
  height:100%;
  border-radius:18px;
  overflow:hidden;
  background:#071018;
  border:1px solid rgba(255,255,255,.08);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03);
}
body[data-page="home"] .book-reader-shell-frame{
  width:100%;
  height:100%;
  min-height:min(78vh, 980px);
  border:0;
  display:block;
  background:#071018;
}
body[data-page="home"] .settings-shell-layer{
  position:fixed;
  inset:0;
  z-index:560;
}
body[data-page="home"] .settings-shell-backdrop{
  position:absolute;
  inset:0;
  background:rgba(5,10,18,.42);
  backdrop-filter:blur(9px) saturate(1.08);
}
body[data-page="home"] .settings-shell-card{
  position:absolute;
  top:max(18px, env(safe-area-inset-top, 0px) + 12px);
  left:max(24px, env(safe-area-inset-left, 0px) + 16px);
  right:max(24px, env(safe-area-inset-right, 0px) + 16px);
  bottom:max(18px, env(safe-area-inset-bottom, 0px) + 12px);
  width:min(580px, calc(100vw - 48px));
  max-height:none;
  margin-inline:auto;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border:1px solid rgba(214,229,248,.13);
  border-radius:24px;
  background:
    radial-gradient(circle at 18% 0%, rgba(124,160,205,.075), transparent 34%),
    linear-gradient(180deg, rgba(24,36,50,.86), rgba(8,14,23,.80));
  box-shadow:0 30px 82px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.052);
  backdrop-filter:blur(13px) saturate(1.08);
  color:var(--text);
}
body[data-page="home"] .settings-shell-scroll{
  display:flex;
  flex:1 1 auto;
  flex-direction:column;
  min-height:0;
  max-height:100%;
  overflow-x:hidden;
  overflow-y:auto;
  overflow-anchor:none;
  scrollbar-gutter:stable both-edges;
}
body[data-page="home"] .settings-shell-header{
  display:flex;
  align-items:flex-start;
  justify-content:flex-start;
  gap:12px;
  padding:18px 18px 14px;
  border-bottom:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg, rgba(27,39,53,.97), rgba(23,33,46,.95));
}
body[data-page="home"] .settings-shell-header > div{
  min-width:0;
  flex:1 1 auto;
  max-width:100%;
}
body[data-page="home"] .settings-shell-kicker{
  margin:0 0 6px;
  font-size:.72rem;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:rgba(215,227,236,.66);
}
body[data-page="home"] .settings-shell-header h2{
  margin:0;
  font-size:1.3rem;
}
body[data-page="home"] .settings-shell-subtitle{
  margin:8px 0 0;
  color:var(--text-2);
  line-height:1.5;
  font-size:.95rem;
}
body[data-page="home"] .settings-shell-close{
  position:absolute;
  top:max(14px, env(safe-area-inset-top, 0px) + 2px);
  right:max(14px, env(safe-area-inset-right, 0px) + 2px);
  min-width:38px;
  width:38px;
  height:38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  z-index:8;
  background:rgba(9, 15, 23, .72);
  border-color:rgba(255,255,255,.16);
  box-shadow:0 10px 24px rgba(0,0,0,.26);
}
body[data-page="home"] .settings-shell-body{
  display:grid;
  gap:10px;
  padding:14px 16px 18px;
}
body[data-page="home"] .settings-shell-section{
  display:grid;
  gap:8px;
  padding:11px 12px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  background:rgba(255,255,255,.04);
}
body[data-page="home"] .settings-shell-section h3{
  margin:0;
  font-size:.9rem;
  letter-spacing:.01em;
}
body[data-page="home"] .settings-shell-empty{
  margin:0;
  color:var(--text-2);
  line-height:1.55;
  font-size:.93rem;
}
body[data-page="home"] .settings-user-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  width:max-content;
  max-width:100%;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(79,163,255,.10);
  border:1px solid rgba(79,163,255,.18);
}
body[data-page="home"] .settings-user-chip.is-muted{
  background:rgba(255,255,255,.04);
  border-color:rgba(255,255,255,.08);
}
body[data-page="home"] .settings-user-chip__label{
  color:var(--text-2);
  font-size:.83rem;
}
body[data-page="home"] .settings-user-chip__value{
  font-size:.9rem;
}
body[data-page="home"] .settings-user-chip__meta{
  font-size:.7rem;
  color:rgba(203,219,236,.82);
  letter-spacing:.03em;
}
body[data-page="home"] .settings-session-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
}
body[data-page="home"] .settings-manager-block{
  display:grid;
  gap:8px;
  padding:10px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.06);
  background:rgba(7,14,28,.24);
}
body[data-page="home"] .settings-manager-block + .settings-manager-block{
  margin-top:10px;
}
body[data-page="home"] .settings-manager-block__head{
  display:grid;
  gap:6px;
}
body[data-page="home"] .settings-manager-block__title-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
}
body[data-page="home"] .settings-manager-block__title{
  margin:0;
  font-size:.82rem;
  letter-spacing:.03em;
  text-transform:uppercase;
  color:var(--text-2);
}
body[data-page="home"] .settings-manager-block__note{
  margin:0;
  font-size:.74rem;
  line-height:1.45;
  color:var(--text-3);
}
body[data-page="home"] .settings-manager-block__body{
  display:grid;
  gap:8px;
}
body[data-page="home"] .settings-shell-list{
  display:grid;
  gap:8px;
}
body[data-page="home"] .settings-ticker-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:8px 10px;
  border-radius:12px;
  background:rgba(11,17,25,.22);
  border:1px solid rgba(255,255,255,.06);
}
body[data-page="home"] .settings-ticker-row__label{
  min-width:0;
  font-size:.88rem;
  color:var(--text);
}
body[data-page="home"] .settings-ticker-row__meta{
  display:flex;
  align-items:center;
  gap:8px;
  flex:0 0 auto;
  white-space:nowrap;
}
body[data-page="home"] .settings-ticker-row__value{
  color:var(--text);
  font-weight:600;
}
body[data-page="home"] .settings-ticker-row__delta{
  font-size:.82rem;
  color:var(--text-2);
}
body[data-page="home"] .settings-ticker-row__delta.is-up{ color:#8fe3b3; }
body[data-page="home"] .settings-ticker-row__delta.is-down{ color:#ffb0b0; }
body[data-page="home"] .settings-ticker-row__delta.is-flat{ color:var(--text-2); }
body[data-page="home"] .settings-favorite-row{
  display:grid;
  gap:8px;
  padding:10px;
  border-radius:14px;
  background:rgba(11,17,25,.24);
  border:1px solid rgba(255,255,255,.06);
}
body[data-page="home"] .settings-favorite-row__main{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
body[data-page="home"] .settings-favorite-row__label{
  font-size:.88rem;
  color:var(--text);
  min-width:0;
}
body[data-page="home"] .settings-favorite-row__meta{
  display:flex;
  align-items:center;
  gap:8px;
  white-space:nowrap;
}
body[data-page="home"] .settings-mini-actions{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}
body[data-page="home"] .settings-mini-btn{
  appearance:none;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  color:var(--text);
  border-radius:999px;
  padding:6px 10px;
  font:inherit;
  font-size:.76rem;
  line-height:1;
  cursor:pointer;
  transition:background .18s ease, border-color .18s ease, opacity .18s ease;
}
body[data-page="home"] .settings-mini-btn:hover{
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.16);
}
body[data-page="home"] .settings-mini-btn:disabled{
  opacity:.5;
  cursor:default;
}
body[data-page="home"] .settings-mini-btn.is-active{
  background:rgba(79,163,255,.12);
  border-color:rgba(79,163,255,.26);
  color:#dcecff;
}
body[data-page="home"] .settings-mini-btn.is-danger{
  border-color:rgba(255,128,128,.16);
}
body[data-page="home"] .settings-inline-note{
  color:var(--text-2);
  font-size:.76rem;
}
body[data-page="home"] .settings-section-heading{
  display:grid;
  gap:4px;
}
body[data-page="home"] .settings-section-heading-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
body[data-page="home"] .settings-section-heading-row--discovery{
  justify-content:flex-end;
}
body[data-page="home"] .settings-section-heading--discovery{
  gap:0;
}
body[data-page="home"] .settings-shell-section--discovery{
  gap:6px;
}
body[data-page="home"] .settings-section-heading-main{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
  flex-wrap:wrap;
}
body[data-page="home"] .settings-section-meta{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:3px 8px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.05);
  color:var(--text-2);
  font-size:.71rem;
  line-height:1;
  white-space:nowrap;
}
body[data-page="home"] .settings-ticker-row__main,
body[data-page="home"] .settings-favorite-row__main{
  min-width:0;
  display:grid;
  gap:6px;
}
body[data-page="home"] .settings-ticker-row__label-wrap{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
  flex-wrap:wrap;
}


body[data-page="home"].settings-shell-open,
body[data-page="home"].settings-shell-open *,
body[data-page="home"].portfolio-shell-open,
body[data-page="home"].portfolio-shell-open *,
body[data-page="home"].rss-shell-open,
body[data-page="home"].rss-shell-open *,
body[data-page="home"].book-shell-open,
body[data-page="home"].book-shell-open *,
body[data-page="home"].book-reader-shell-open,
body[data-page="home"].book-reader-shell-open *,
body[data-page="home"].indicator-discovery-open,
body[data-page="home"].indicator-discovery-open *{
  scrollbar-color:rgba(122,146,173,.65) rgba(8,14,22,.88);
}

body[data-page="home"].settings-shell-open ::-webkit-scrollbar,
body[data-page="home"].portfolio-shell-open ::-webkit-scrollbar,
body[data-page="home"].rss-shell-open ::-webkit-scrollbar,
body[data-page="home"].book-shell-open ::-webkit-scrollbar,
body[data-page="home"].book-reader-shell-open ::-webkit-scrollbar,
body[data-page="home"].indicator-discovery-open ::-webkit-scrollbar{
  width:12px;
  height:12px;
}

body[data-page="home"].settings-shell-open ::-webkit-scrollbar-track,
body[data-page="home"].portfolio-shell-open ::-webkit-scrollbar-track,
body[data-page="home"].rss-shell-open ::-webkit-scrollbar-track,
body[data-page="home"].book-shell-open ::-webkit-scrollbar-track,
body[data-page="home"].book-reader-shell-open ::-webkit-scrollbar-track,
body[data-page="home"].indicator-discovery-open ::-webkit-scrollbar-track{
  background:rgba(8,14,22,.92);
  border-radius:999px;
}

body[data-page="home"].settings-shell-open ::-webkit-scrollbar-thumb,
body[data-page="home"].portfolio-shell-open ::-webkit-scrollbar-thumb,
body[data-page="home"].rss-shell-open ::-webkit-scrollbar-thumb,
body[data-page="home"].book-shell-open ::-webkit-scrollbar-thumb,
body[data-page="home"].book-reader-shell-open ::-webkit-scrollbar-thumb,
body[data-page="home"].indicator-discovery-open ::-webkit-scrollbar-thumb{
  background:linear-gradient(180deg, rgba(118,145,175,.86), rgba(78,101,128,.86));
  border:2px solid rgba(8,14,22,.95);
  border-radius:999px;
}

body[data-page="home"].settings-shell-open ::-webkit-scrollbar-thumb:hover,
body[data-page="home"].portfolio-shell-open ::-webkit-scrollbar-thumb:hover,
body[data-page="home"].rss-shell-open ::-webkit-scrollbar-thumb:hover,
body[data-page="home"].book-shell-open ::-webkit-scrollbar-thumb:hover,
body[data-page="home"].book-reader-shell-open ::-webkit-scrollbar-thumb:hover,
body[data-page="home"].indicator-discovery-open ::-webkit-scrollbar-thumb:hover{
  background:linear-gradient(180deg, rgba(142,171,204,.92), rgba(96,120,148,.92));
}


body.ccr-map-disabled .site-world-map-bg{display:none !important}
body[data-page="home"] .settings-sync-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:7px 11px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.05);
  color:var(--text);
  font-size:.78rem;
  white-space:nowrap;
}
body[data-page="home"] .settings-sync-pill.is-ok{
  border-color:rgba(143,227,179,.22);
  background:rgba(143,227,179,.10);
  color:#dff8e8;
}
body[data-page="home"] .settings-sync-pill.is-pending{
  border-color:rgba(79,163,255,.26);
  background:rgba(79,163,255,.12);
  color:#dcecff;
}
body[data-page="home"] .settings-sync-pill.is-error{
  border-color:rgba(255,128,128,.22);
  background:rgba(255,128,128,.10);
  color:#ffd7d7;
}
body[data-page="home"] .settings-sync-pill.is-local{
  border-color:rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  color:var(--text-2);
}
body[data-page="home"] .settings-mini-actions--profile .settings-mini-btn{
  flex:1 1 calc(50% - 6px);
  justify-content:center;
}
body[data-page="home"] .settings-inline-note--profile{
  line-height:1.55;
}

@media (max-width:760px){
  body[data-page="home"] .settings-shell-card{
    top:max(12px, calc(env(safe-area-inset-top, 0px) + 12px));
    left:max(12px, calc(env(safe-area-inset-left, 0px) + 12px));
    right:max(12px, calc(env(safe-area-inset-right, 0px) + 12px));
    bottom:max(12px, calc(env(safe-area-inset-bottom, 0px) + 12px));
    width:auto;
    max-height:none;
    border-radius:22px;
  }
  body[data-page="home"] .settings-shell-scroll{
    scrollbar-gutter:auto;
  }
  body[data-page="home"] .settings-shell-header{
    gap:10px;
    padding:16px 16px 12px;
  }
  body[data-page="home"] .settings-shell-header > div{
    max-width:100%;
  }
  body[data-page="home"] .settings-shell-body{
    padding:10px 12px 16px;
  }
  body[data-page="home"] .settings-shell-close{
    top:max(12px, env(safe-area-inset-top, 0px));
    right:max(12px, env(safe-area-inset-right, 0px));
  }
  body[data-page="home"] .settings-shell-header h2{
    font-size:1.18rem;
  }
  body[data-page="home"] .settings-ticker-row{
    align-items:flex-start;
    flex-direction:column;
    gap:8px;
  }
  body[data-page="home"] .settings-ticker-row__meta{
    width:100%;
    justify-content:space-between;
  }
  body[data-page="home"] .settings-favorite-row__main{
    flex-direction:column;
    gap:8px;
  }
  body[data-page="home"] .settings-favorite-row__meta{
    width:100%;
    justify-content:space-between;
  }
  body[data-page="home"] .settings-mini-actions{
    width:100%;
  }
  body[data-page="home"] .settings-section-heading-row{
    align-items:flex-start;
    flex-direction:column;
  }
  body[data-page="home"] .settings-sync-pill{
    align-self:flex-start;
  }
  body[data-page="home"] .settings-mini-actions--profile .settings-mini-btn{
    flex:1 1 100%;
  }
}

body.indicator-discovery-open{
  overflow:hidden;
}
body[data-page="home"] .indicator-discovery-layer{
  position:fixed;
  inset:0;
  z-index:620;
}
body[data-page="home"] .indicator-discovery-backdrop{
  position:absolute;
  inset:0;
  background:rgba(5,10,18,.62);
  backdrop-filter:blur(12px);
}
body[data-page="home"] .indicator-discovery-panel{
  position:absolute;
  inset:clamp(18px, 3vw, 34px);
  display:grid;
  grid-template-rows:auto 1fr;
  gap:14px;
  padding:18px;
  border-radius:28px;
  border:1px solid rgba(255,255,255,.10);
  background:linear-gradient(180deg, rgba(16,24,36,.88), rgba(8,14,22,.84));
  box-shadow:0 28px 64px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.04);
  color:var(--text);
  outline:none;
}
body[data-page="home"] .indicator-discovery-header{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  align-items:flex-start;
  gap:14px;
}
body[data-page="home"] .indicator-discovery-kicker{
  margin:0 0 6px;
  font-size:.72rem;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:rgba(215,227,236,.66);
}
body[data-page="home"] .indicator-discovery-header h2{
  margin:0;
  font-size:1.42rem;
}
body[data-page="home"] .indicator-discovery-subtitle{
  margin:8px 0 0;
  color:var(--text-2);
  font-size:.94rem;
  line-height:1.55;
  max-width:58ch;
}
body[data-page="home"] .indicator-discovery-header-tools{
  display:grid;
  gap:8px;
  justify-items:end;
  align-self:center;
}
body[data-page="home"] .indicator-discovery-progress{
  min-width:92px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.05);
  color:rgba(233,241,247,.9);
  font-size:.84rem;
  font-weight:600;
  letter-spacing:.02em;
  text-align:center;
}
body[data-page="home"] .indicator-discovery-desktop-keys{
  margin:0;
  color:rgba(191,208,224,.7);
  font-size:.76rem;
  letter-spacing:.06em;
  white-space:nowrap;
}
body[data-page="home"] .indicator-discovery-stage{
  min-height:0;
  display:grid;
  place-items:center;
  padding:8px 0 6px;
  perspective:1400px;
}
body[data-page="home"] .indicator-discovery-empty{
  margin:0;
  color:var(--text-2);
  font-size:1rem;
  line-height:1.6;
  text-align:center;
}
body[data-page="home"] .indicator-discovery-card{
  width:min(100%, 920px);
  min-height:min(72vh, 640px);
  display:grid;
  place-items:center;
  touch-action:pan-y;
}
body[data-page="home"] .indicator-discovery-card__shell{
  width:min(100%, 880px);
  min-height:min(68vh, 580px);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:18px;
  padding:clamp(24px, 4vw, 42px);
  border-radius:34px;
  border:1px solid rgba(255,255,255,.10);
  background:radial-gradient(circle at 50% 28%, rgba(79,163,255,.12), transparent 42%), linear-gradient(180deg, rgba(18,26,39,.84), rgba(8,13,20,.86));
  box-shadow:0 28px 72px rgba(0,0,0,.46), inset 0 1px 0 rgba(255,255,255,.05);
  text-align:center;
  animation:ccrIndicatorDiscoveryIn 340ms cubic-bezier(.17,.84,.24,1) both;
  transform:translate3d(var(--discovery-dx, 0px), 0, 0) rotate(var(--discovery-rotate, 0deg)) scale(calc(1 + (var(--discovery-progress, 0) * 0.02)));
  transform-origin:center center;
  transition:transform 190ms cubic-bezier(.2,.84,.2,1), border-color 190ms ease, box-shadow 190ms ease, opacity 190ms ease, filter 190ms ease;
  will-change:transform, opacity;
}
body[data-page="home"] .indicator-discovery-card[data-dragging="true"] .indicator-discovery-card__shell{
  border-color:rgba(79,163,255,.26);
}
body[data-page="home"] .indicator-discovery-card[data-swipe-intent="like"] .indicator-discovery-card__shell{
  border-color:rgba(111,222,165,.34);
  box-shadow:0 30px 74px rgba(0,0,0,.48), 0 0 0 1px rgba(111,222,165,.12), inset 0 1px 0 rgba(255,255,255,.05);
}
body[data-page="home"] .indicator-discovery-card[data-swipe-intent="hide"] .indicator-discovery-card__shell{
  border-color:rgba(255,121,132,.34);
  box-shadow:0 30px 74px rgba(0,0,0,.48), 0 0 0 1px rgba(255,121,132,.12), inset 0 1px 0 rgba(255,255,255,.05);
}
body[data-page="home"] .indicator-discovery-card[data-outcome="like"] .indicator-discovery-card__shell{
  animation:ccrIndicatorDiscoveryCommitLike 190ms cubic-bezier(.2,.84,.2,1) forwards;
}
body[data-page="home"] .indicator-discovery-card[data-outcome="hide"] .indicator-discovery-card__shell{
  animation:ccrIndicatorDiscoveryCommitHide 190ms cubic-bezier(.2,.84,.2,1) forwards;
}
body[data-page="home"] .indicator-discovery-card[data-outcome="skip"] .indicator-discovery-card__shell{
  animation:ccrIndicatorDiscoveryCommitSkip 190ms cubic-bezier(.2,.84,.2,1) forwards;
}
body[data-page="home"] .indicator-discovery-card__eyebrow-row{
  display:grid;
  gap:12px;
  justify-items:center;
}
body[data-page="home"] .indicator-discovery-card__eyebrow{
  color:rgba(191,208,224,.76);
  letter-spacing:.18em;
  text-transform:uppercase;
  font-size:clamp(11px, .9vw, 13px);
}
body[data-page="home"] .indicator-discovery-card__ghost-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
}
body[data-page="home"] .indicator-discovery-card__ghost-pill{
  padding:7px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.04);
  color:rgba(233,241,247,.78);
  font-size:.74rem;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  transition:opacity 140ms ease, transform 140ms ease, border-color 140ms ease, background 140ms ease;
}
body[data-page="home"] .indicator-discovery-card__ghost-pill.is-hide{ color:#ffc2c8; }
body[data-page="home"] .indicator-discovery-card[data-swipe-intent="hide"] .indicator-discovery-card__ghost-pill.is-hide{
  opacity:1;
  transform:translateY(-1px) scale(1.03);
  border-color:rgba(255,121,132,.34);
  background:rgba(255,121,132,.12);
}
body[data-page="home"] .indicator-discovery-card[data-swipe-intent="like"] .indicator-discovery-card__ghost-pill.is-like{
  opacity:1;
  transform:translateY(-1px) scale(1.03);
  border-color:rgba(111,222,165,.34);
  background:rgba(111,222,165,.12);
}
body[data-page="home"] .indicator-discovery-card__label{
  margin:0;
  font-size:clamp(38px, 4.8vw, 72px);
  line-height:1.02;
  font-weight:600;
  max-width:14ch;
  color:rgba(244,248,252,.97);
  text-shadow:0 18px 42px rgba(0,0,0,.62), 0 8px 22px rgba(0,0,0,.68), 0 2px 10px rgba(0,0,0,.82);
}
body[data-page="home"] .indicator-discovery-card__meta{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  justify-content:center;
}
body[data-page="home"] .indicator-discovery-card__assist{
  margin:0;
  max-width:48ch;
  color:var(--text-2);
  font-size:.95rem;
  line-height:1.55;
}
body[data-page="home"] .indicator-discovery-card__value{
  font-size:clamp(20px, 2.1vw, 30px);
  font-weight:700;
  color:rgba(240,246,251,.95);
}
body[data-page="home"] .indicator-discovery-card__delta{
  font-size:clamp(14px, 1.2vw, 18px);
  color:var(--text-2);
}
body[data-page="home"] .indicator-discovery-card__delta.is-up{ color:#8fe3b3; }
body[data-page="home"] .indicator-discovery-card__delta.is-down{ color:#ffb0b0; }
body[data-page="home"] .indicator-discovery-card__delta.is-flat{ color:var(--text-2); }
body[data-page="home"] .indicator-discovery-card__actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:center;
}
@keyframes ccrIndicatorDiscoveryIn{
  from{ opacity:0; transform:translateY(16px) scale(.94); }
  to{ opacity:1; transform:translateY(0) scale(1); }
}
@keyframes ccrIndicatorDiscoveryCommitLike{
  from{ opacity:1; transform:translate3d(var(--discovery-dx, 0px), 0, 0) rotate(var(--discovery-rotate, 0deg)) scale(calc(1 + (var(--discovery-progress, 0) * 0.02))); }
  to{ opacity:0; transform:translate3d(180px, -12px, 0) rotate(12deg) scale(.98); }
}
@keyframes ccrIndicatorDiscoveryCommitHide{
  from{ opacity:1; transform:translate3d(var(--discovery-dx, 0px), 0, 0) rotate(var(--discovery-rotate, 0deg)) scale(calc(1 + (var(--discovery-progress, 0) * 0.02))); }
  to{ opacity:0; transform:translate3d(-180px, -12px, 0) rotate(-12deg) scale(.98); }
}
@keyframes ccrIndicatorDiscoveryCommitSkip{
  from{ opacity:1; transform:translate3d(var(--discovery-dx, 0px), 0, 0) rotate(var(--discovery-rotate, 0deg)) scale(calc(1 + (var(--discovery-progress, 0) * 0.02))); }
  to{ opacity:0; transform:translate3d(0, 18px, 0) scale(.965); }
}
@media (max-width:760px){
  body[data-page="home"] .indicator-discovery-panel{ inset:12px; padding:14px; border-radius:24px; }
  body[data-page="home"] .indicator-discovery-header{
    grid-template-columns:minmax(0,1fr) auto;
    align-items:start;
  }
  body[data-page="home"] .indicator-discovery-header-tools{
    order:3;
    grid-column:1 / -1;
    justify-items:start;
  }
  body[data-page="home"] .indicator-discovery-desktop-keys{
    white-space:normal;
  }
  body[data-page="home"] .indicator-discovery-card{ min-height:min(68vh, 560px); }
  body[data-page="home"] .indicator-discovery-card__shell{ min-height:min(62vh, 520px); padding:22px 18px; border-radius:28px; }
  body[data-page="home"] .indicator-discovery-card__actions{ gap:8px; }
  body[data-page="home"] .indicator-discovery-card__assist{ font-size:.9rem; }
}


body[data-page="home"] .settings-search-row{
  margin-top:10px;
}
body[data-page="home"] .settings-search{
  display:block;
}
body[data-page="home"] .settings-search__input{
  width:100%;
  min-height:38px;
  padding:0 12px;
  border-radius:12px;
  border:1px solid rgba(146,179,255,.18);
  background:rgba(6,14,28,.72);
  color:var(--text-1);
  font:inherit;
}
body[data-page="home"] .settings-search__input::placeholder{ color:var(--text-3); }
body[data-page="home"] .settings-search__input:focus{
  outline:none;
  border-color:rgba(146,179,255,.34);
  box-shadow:0 0 0 3px rgba(146,179,255,.12);
}
body[data-page="home"] .settings-group-actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
body[data-page="home"] .settings-group-actions .settings-mini-btn{
  min-height:32px;
  padding:0 10px;
}
body[data-page="home"] .settings-group{
  border:1px solid rgba(146,179,255,.16);
  border-radius:16px;
  background:rgba(7,14,28,.42);
  overflow:hidden;
}
body[data-page="home"] .settings-group + .settings-group{ margin-top:10px; }
body[data-page="home"] .settings-group__summary{
  list-style:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 12px;
  font-size:.82rem;
  font-weight:700;
  letter-spacing:.02em;
  color:var(--text-1);
  background:rgba(255,255,255,.024);
  transition:background .18s ease, border-color .18s ease;
}
body[data-page="home"] .settings-group__summary:hover{ background:rgba(255,255,255,.05); }
body[data-page="home"] .settings-group__label{ display:flex; align-items:center; gap:8px; }
body[data-page="home"] .settings-group__label::before{ content:'▸'; font-size:.78rem; color:var(--text-3); transition:transform .18s ease, color .18s ease; }
body[data-page="home"] .settings-group[open] .settings-group__label::before{ transform:rotate(90deg); color:var(--text-2); }
body[data-page="home"] .settings-group__summary::-webkit-details-marker{ display:none; }
body[data-page="home"] .settings-group__count{
  min-width:24px;
  padding:2px 8px;
  border-radius:999px;
  font-size:.74rem;
  text-align:center;
  color:var(--text-2);
  background:rgba(255,255,255,.07);
}
body[data-page="home"] .settings-group__body{
  padding:10px;
  display:grid;
  gap:8px;
}
body[data-page="home"] .settings-ticker-row__sub,
body[data-page="home"] .settings-favorite-row__label + .settings-ticker-row__sub{
  margin-top:2px;
  font-size:.58rem;
  line-height:1.3;
  color:var(--text-3);
}
body[data-page="home"] .settings-group .settings-ticker-row{
  margin:0;
}
@media (max-width: 720px){
  body[data-page="home"] .settings-session-row{
    align-items:flex-start;
  }
  body[data-page="home"] .settings-manager-block{
    padding:9px;
  }
}
@media (max-width: 720px){
  body[data-page="home"] .settings-group__summary{ padding:9px 10px; }
  body[data-page="home"] .settings-group__body{ padding:8px; }
}

body.portfolio-shell-open{
  overflow:hidden;
}
body[data-page="home"] .portfolio-shell-layer{
  position:fixed;
  inset:0;
  z-index:561;
}
body[data-page="home"] .portfolio-shell-backdrop{
  position:absolute;
  inset:0;
  background:rgba(5,10,18,.42);
  backdrop-filter:blur(9px) saturate(1.08);
}
body[data-page="home"] .portfolio-shell-card{
  width:min(680px, calc(100vw - 48px));
  max-height:none;
}
body[data-page="home"] .portfolio-shell-header{
  align-items:flex-start;
}
body[data-page="home"] .portfolio-shell-head-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-left:auto;
  padding-right:44px;
}
body[data-page="home"] .portfolio-shell-body{
  gap:10px;
}
body[data-page="home"] .portfolio-shell-section{
  padding:0;
  overflow:hidden;
}
body[data-page="home"] .portfolio-shell-summary{
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 13px;
  cursor:pointer;
  background:rgba(255,255,255,.024);
  color:rgba(232,214,164,.90);
  font-size:.84rem;
  font-weight:700;
  text-align:left;
}
body[data-page="home"] .portfolio-shell-summary::-webkit-details-marker{ display:none; }
body[data-page="home"] .portfolio-shell-summary::before{
  content:none;
  display:none;
}
body[data-page="home"] .portfolio-shell-summary .settings-section-heading-main{
  flex:1 1 auto;
  justify-content:flex-start;
  text-align:left;
}
body[data-page="home"] .portfolio-shell-summary .settings-section-heading-main h3{
  margin:0;
  color:rgba(232,214,164,.90);
  text-shadow:0 0 16px rgba(232,214,164,.08);
}
body[data-page="home"] .portfolio-shell-summary > span:first-child{
  display:inline-flex;
  align-items:center;
}
body[data-page="home"] .portfolio-shell-summary__meta{
  margin-left:0;
  min-width:0;
  color:var(--text-2);
  font-size:.76rem;
  text-align:right;
}
body[data-page="home"] .portfolio-shell-summary__toggle{
  flex:0 0 auto;
  margin-left:auto;
}
body[data-page="home"] .portfolio-shell-section:not([open]) .portfolio-shell-summary__toggle span{
  transform:rotate(-90deg);
}
body[data-page="home"] .portfolio-shell-section__body{
  display:grid;
  gap:10px;
  padding:12px;
  border-top:1px solid rgba(255,255,255,.06);
}
body[data-page="home"] .portfolio-metrics-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:8px;
}
body[data-page="home"] .portfolio-metric{
  display:grid;
  gap:4px;
  padding:10px 11px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg, rgba(10,17,28,.42), rgba(255,255,255,.03));
}
body[data-page="home"] .portfolio-metric span{
  font-size:.72rem;
  color:var(--text-2);
  text-transform:uppercase;
  letter-spacing:.08em;
}
body[data-page="home"] .portfolio-metric strong{
  font-size:.96rem;
  color:var(--text-1);
}
body[data-page="home"] .portfolio-metric.is-up strong{ color:#b9f5cf; }
body[data-page="home"] .portfolio-metric.is-down strong{ color:#ffd0d0; }
body[data-page="home"] .portfolio-curve-panel{
  min-height:132px;
  border-radius:16px;
  padding:8px;
  border:1px solid rgba(146,179,255,.14);
  background:radial-gradient(circle at 20% 10%, rgba(79,163,255,.12), transparent 44%), rgba(6,14,28,.56);
}
body[data-page="home"] .portfolio-curve-svg{ width:100%; height:132px; display:block; }
body[data-page="home"] .portfolio-curve-grid{ fill:none; stroke:rgba(255,255,255,.10); stroke-width:1; }
body[data-page="home"] .portfolio-curve-fill{ fill:url(#portfolioCurveFill); }
body[data-page="home"] .portfolio-curve-line{ fill:none; stroke:url(#portfolioCurveStroke); stroke-width:3; stroke-linecap:round; stroke-linejoin:round; }
body[data-page="home"] .portfolio-curve-dot{ fill:#dbeafe; stroke:rgba(147,197,253,.38); stroke-width:4; }
body[data-page="home"] .portfolio-ticket-card,
body[data-page="home"] .portfolio-subpanel,
body[data-page="home"] .portfolio-pos-row{
  display:grid;
  gap:10px;
  padding:11px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.06);
  background:rgba(10,17,28,.38);
}
body[data-page="home"] .portfolio-ticket-head,
body[data-page="home"] .portfolio-pos-row__head,
body[data-page="home"] .portfolio-ticket-foot{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
body[data-page="home"] .portfolio-ticket-price,
body[data-page="home"] .portfolio-pos-row__value{
  font-size:.92rem;
  font-weight:700;
  color:var(--text-1);
  white-space:nowrap;
}
body[data-page="home"] .portfolio-ticket-input{
  display:grid;
  gap:6px;
}
body[data-page="home"] .portfolio-ticket-input span{
  font-size:.75rem;
  color:var(--text-2);
  text-transform:uppercase;
  letter-spacing:.08em;
}
body[data-page="home"] .portfolio-ticket-input input{
  width:100%;
  min-height:40px;
  padding:0 12px;
  border-radius:12px;
  border:1px solid rgba(146,179,255,.18);
  background:rgba(6,14,28,.72);
  color:var(--text-1);
  font:inherit;
}
body[data-page="home"] .portfolio-ticket-input input:focus{
  outline:none;
  border-color:rgba(146,179,255,.34);
  box-shadow:0 0 0 3px rgba(146,179,255,.12);
}
body[data-page="home"] .portfolio-ticket-exec{
  min-height:34px;
  padding-inline:14px;
}
body[data-page="home"] .portfolio-status{
  min-height:18px;
  align-self:center;
  justify-self:end;
  font-size:.74rem;
  color:var(--text-3);
}
body[data-page="home"] .portfolio-status.is-ok{ color:#c8f7d8; }
body[data-page="home"] .portfolio-status.is-error{ color:#ffd6d6; }
body[data-page="home"] .portfolio-status.is-note{ color:var(--text-2); }
body[data-page="home"] .portfolio-universe-row{ gap:8px; }
body[data-page="home"] .portfolio-universe-row.is-selected{
  border-color:rgba(79,163,255,.26);
  background:rgba(79,163,255,.08);
}
body[data-page="home"] .portfolio-universe-row__actions{ justify-content:flex-end; }
body[data-page="home"] .portfolio-pos-grid,
body[data-page="home"] .portfolio-history-head,
body[data-page="home"] .portfolio-history-row{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:8px;
  font-size:.74rem;
  color:var(--text-2);
}
body[data-page="home"] .portfolio-history-head,
body[data-page="home"] .portfolio-history-row{
  grid-template-columns:1.15fr 1.5fr .95fr .95fr .95fr;
}
body[data-page="home"] .portfolio-pos-grid b{ color:var(--text-3); font-weight:600; margin-right:4px; }
body[data-page="home"] .portfolio-pos-row__actions{ justify-content:flex-end; }
body[data-page="home"] .portfolio-performance-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:10px;
}
body[data-page="home"] .portfolio-subpanel h3{
  margin:0;
  font-size:.82rem;
  color:rgba(232,214,164,.90);
  text-shadow:0 0 16px rgba(232,214,164,.08);
}
body[data-page="home"] .portfolio-alloc-row,
body[data-page="home"] .portfolio-leader-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:7px 0;
  border-bottom:1px solid rgba(255,255,255,.05);
  font-size:.78rem;
}
body[data-page="home"] .portfolio-alloc-row:last-child,
body[data-page="home"] .portfolio-leader-row:last-child{ border-bottom:0; }
body[data-page="home"] .portfolio-leader-row strong.is-up{ color:#c8f7d8; }
body[data-page="home"] .portfolio-leader-row strong.is-down{ color:#ffd6d6; }
body[data-page="home"] .portfolio-history-list{ display:grid; gap:8px; }
body[data-page="home"] .portfolio-launch-btn{
  color:#dff3d4;
  border-color:rgba(163,215,140,.22);
  background:rgba(163,215,140,.06);
}
body[data-page="home"] .portfolio-launch-btn:hover{
  background:rgba(163,215,140,.12);
  border-color:rgba(163,215,140,.34);
}
body[data-page="home"] .portfolio-icon{
  font-size:1rem;
  font-weight:700;
  line-height:1;
}
@media (max-width:760px){
  body[data-page="home"] .mobile-bottom-dock .header-actions .portfolio-launch-btn{ order:-3; }
  body[data-page="home"] .mobile-bottom-dock .header-actions .book-launch-btn{ order:-2; }
  body[data-page="home"] .mobile-bottom-dock .header-actions .settings-launch-btn{ order:-1; }
  body[data-page="home"] .portfolio-shell-card{
    top:max(12px, calc(env(safe-area-inset-top, 0px) + 12px));
    left:max(12px, calc(env(safe-area-inset-left, 0px) + 12px));
    right:max(12px, calc(env(safe-area-inset-right, 0px) + 12px));
    bottom:max(12px, calc(env(safe-area-inset-bottom, 0px) + 12px));
    width:auto;
    max-height:none;
    border-radius:22px;
  }
  body[data-page="home"] .portfolio-shell-head-actions{ padding-right:0; }
  body[data-page="home"] .portfolio-metrics-grid,
  body[data-page="home"] .portfolio-performance-grid,
  body[data-page="home"] .portfolio-pos-grid,
  body[data-page="home"] .portfolio-history-head,
  body[data-page="home"] .portfolio-history-row{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
  body[data-page="home"] .portfolio-shell-summary{ padding:11px 12px; }
  body[data-page="home"] .portfolio-shell-section__body{ padding:10px; }
  body[data-page="home"] .portfolio-ticket-head,
  body[data-page="home"] .portfolio-pos-row__head,
  body[data-page="home"] .portfolio-ticket-foot{ flex-direction:column; align-items:flex-start; }
  body[data-page="home"] .portfolio-status{ justify-self:start; }
}
body[data-page="home"] .settings-section-controls{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  margin-left:auto;
}
body[data-page="home"] .settings-section-toggle{
  flex:0 0 auto;
  appearance:none;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  color:var(--text);
  border-radius:999px;
  width:32px;
  height:32px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:background .18s ease, border-color .18s ease, transform .18s ease;
}
body[data-page="home"] .settings-section-toggle:hover{
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.16);
}
body[data-page="home"] .settings-section-toggle span{
  display:block;
  line-height:1;
  transition:transform .18s ease;
}
body[data-page="home"] .settings-shell-section[data-expanded="false"]{
  gap:0;
}
body[data-page="home"] .settings-shell-section[data-expanded="false"] > :not(.settings-section-heading){
  display:none;
}
body[data-page="home"] .settings-shell-section[data-expanded="false"] .settings-section-toggle span{
  transform:rotate(-90deg);
}
@media (max-width:760px){
  body[data-page="home"] .settings-section-heading-row{
    align-items:flex-start;
  }
  body[data-page="home"] .settings-section-controls{
    width:100%;
    justify-content:space-between;
    margin-left:0;
  }
}


body[data-page="home"] .settings-section-heading-row[data-settings-heading-toggle]{
  cursor:pointer;
}
body[data-page="home"] .settings-section-heading-row[data-settings-heading-toggle]:focus-visible{
  outline:1px solid rgba(132,181,255,.55);
  outline-offset:4px;
  border-radius:14px;
}
body[data-page="home"] .settings-pin-change-form{
  display:grid;
  gap:8px;
}
body[data-page="home"] .settings-pin-change-form__label{
  font-size:.76rem;
  color:var(--text-2);
}
body[data-page="home"] .settings-pin-change-form__input{
  width:min(180px, 100%);
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(6,12,18,.86);
  color:var(--text);
  font:inherit;
  letter-spacing:.18em;
}
body[data-page="home"] .settings-pin-change-form__input:focus{
  outline:none;
  border-color:rgba(132,181,255,.42);
  box-shadow:0 0 0 3px rgba(79,163,255,.16);
}
body[data-page="home"] .settings-inline-note--pin-change.is-pending{
  opacity:.82;
}
body[data-page="home"] .settings-inline-note--pin-status.is-error{
  color:#ffd7d7;
}
body[data-page="home"] .settings-inline-note--pin-status.is-ok{
  color:#dff8e8;
}
@media (max-width:760px){
  body[data-page="home"] .settings-pin-change-form__input{
    width:100%;
  }
}

@media (max-width: 820px){
  body[data-page="home"] .book-reader-shell-card{
    width:min(calc(100vw - 8px), 100vw);
    height:min(calc(100vh - 8px), 100vh);
  }
  body[data-page="home"] .book-reader-shell-frame{
    min-height:calc(100vh - 164px);
  }
}

body[data-page="home"] .settings-profile-card__sync-wrap{
  display:grid;
  gap:6px;
  justify-items:end;
}
body[data-page="home"] .settings-inline-note--pin-status{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.024);
}
body[data-page="home"] .settings-inline-note__label{
  font-size:.72rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--text-2);
  white-space:nowrap;
}
body[data-page="home"] .settings-inline-note--pin-status.is-note{
  color:var(--text);
}
@media (max-width:760px){
  body[data-page="home"] .settings-inline-note--pin-status{
    flex-direction:column;
  }
}


/* Settings cleanup pass 1 */
body[data-page="home"] .settings-shell-card{
  width:min(720px, calc(100vw - 56px));
}
body[data-page="home"] .settings-shell-header{
  padding:22px 22px 16px;
}
body[data-page="home"] .settings-shell-header h2{
  font-size:1.58rem;
  line-height:1.04;
}
body[data-page="home"] .settings-shell-body{
  gap:14px;
  padding:16px 18px 20px;
}
body[data-page="home"] .settings-shell-section{
  gap:12px;
  padding:15px 16px;
  border-radius:18px;
  border-color:rgba(255,255,255,.07);
  background:rgba(255,255,255,.035);
}
body[data-page="home"] .settings-manager-block{
  padding:12px;
  border-radius:15px;
  background:rgba(7,14,28,.2);
}
body[data-page="home"] .settings-mini-btn{
  min-height:36px;
  padding:7px 14px;
  font-size:.82rem;
  font-weight:500;
  line-height:1.15;
}
body[data-page="home"] .settings-shell-close{
  width:42px;
  min-width:42px;
  height:42px;
}
body[data-page="home"] .settings-profile-card{
  display:grid;
  gap:16px;
  padding:2px 0 0;
  border:0;
  background:transparent;
}
body[data-page="home"] .settings-profile-card__hero{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  padding-bottom:14px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
body[data-page="home"] .settings-profile-card__hero-copy{
  min-width:0;
  display:grid;
  gap:8px;
}
body[data-page="home"] .settings-profile-card__name{
  font-size:1.28rem;
  font-weight:600;
  letter-spacing:-.01em;
}
body[data-page="home"] .settings-profile-card__summary{
  margin:0;
  max-width:46ch;
  font-size:.88rem;
  line-height:1.55;
  color:var(--text-2);
}
body[data-page="home"] .settings-profile-card__sync-wrap{
  display:grid;
  gap:8px;
  justify-items:end;
  align-self:start;
}
body[data-page="home"] .settings-profile-card__sync-label{
  font-size:.72rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--text-2);
}
body[data-page="home"] .settings-profile-card__grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px;
}
body[data-page="home"] .settings-profile-zone{
  display:grid;
  gap:10px;
  min-width:0;
  padding:14px 14px 13px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.06);
  background:linear-gradient(180deg, rgba(255,255,255,.038), rgba(255,255,255,.02));
}
body[data-page="home"] .settings-profile-zone--sync,
body[data-page="home"] .settings-profile-zone--preferences{
  grid-column:1 / -1;
}
body[data-page="home"] .settings-profile-zone__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}
body[data-page="home"] .settings-profile-zone__title{
  margin:0;
  font-size:.78rem;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:rgba(214,227,238,.68);
}
body[data-page="home"] .settings-profile-zone__hint{
  margin:0;
  font-size:.83rem;
  line-height:1.55;
  color:var(--text-2);
}
body[data-page="home"] .settings-profile-facts{
  display:grid;
  gap:10px;
}
body[data-page="home"] .settings-profile-fact{
  display:grid;
  gap:4px;
  padding:10px 0;
  border-bottom:1px solid rgba(255,255,255,.06);
}
body[data-page="home"] .settings-profile-fact:first-child{
  padding-top:0;
}
body[data-page="home"] .settings-profile-fact:last-child{
  padding-bottom:0;
  border-bottom:0;
}
body[data-page="home"] .settings-profile-fact__label{
  font-size:.72rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--text-2);
}
body[data-page="home"] .settings-profile-fact__value{
  min-width:0;
  overflow-wrap:anywhere;
  font-size:1rem;
  font-weight:600;
  color:var(--text);
}
body[data-page="home"] .settings-profile-fact.is-masked .settings-profile-fact__value{
  font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, monospace;
  letter-spacing:.12em;
}
body[data-page="home"] .settings-mini-actions--profile{
  gap:8px;
}
body[data-page="home"] .settings-mini-actions--profile-inline{
  margin-top:2px;
}
body[data-page="home"] .settings-profile-motion{
  padding:0;
  border:0;
  background:transparent;
}
body[data-page="home"] .settings-profile-motion__head{
  display:grid;
  gap:4px;
}
body[data-page="home"] .settings-profile-motion__title{
  margin:0;
  font-size:.94rem;
  font-weight:600;
  color:var(--text);
}
body[data-page="home"] .settings-profile-motion__note{
  margin:0;
  font-size:.8rem;
  line-height:1.45;
  color:var(--text-2);
}
body[data-page="home"] .settings-profile-motion__rows{
  display:grid;
  gap:12px;
}
body[data-page="home"] .settings-profile-motion__row{
  display:grid;
  grid-template-columns:minmax(0, 1fr) auto;
  align-items:center;
  gap:12px;
  padding:10px 0;
  border-bottom:1px solid rgba(255,255,255,.06);
}
body[data-page="home"] .settings-profile-motion__row:first-child{
  padding-top:0;
}
body[data-page="home"] .settings-profile-motion__row:last-child{
  padding-bottom:0;
  border-bottom:0;
}
body[data-page="home"] .settings-profile-motion__label{
  font-size:.9rem;
  font-weight:600;
  color:var(--text);
}
body[data-page="home"] .settings-mini-actions--motion{
  align-items:center;
  gap:10px;
  flex-wrap:nowrap;
}
body[data-page="home"] .settings-mini-actions--motion .settings-mini-btn{
  width:34px;
  min-width:34px;
  padding-inline:0;
  justify-content:center;
}
body[data-page="home"] .settings-profile-motion__value{
  min-width:112px;
  text-align:center;
  font-size:.84rem;
  color:var(--text-2);
}
body[data-page="home"] .settings-inline-note--profile{
  padding:12px 14px;
  border-radius:14px;
}
body[data-page="home"] .settings-inline-note--pin-status{
  align-items:center;
}
body[data-page="home"] .settings-build-chip{
  display:inline-flex;
  align-items:center;
  max-width:100%;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.04);
  font-size:.72rem;
  color:var(--text-2);
}
body[data-page="home"] .settings-profile-card__footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding-top:2px;
}
body[data-page="home"] .settings-profile-reset-btn{
  margin-left:auto;
}
@media (max-width:760px){
  body[data-page="home"] .settings-shell-card{
    width:auto;
  }
  body[data-page="home"] .settings-shell-header{
    padding:18px 16px 14px;
  }
  body[data-page="home"] .settings-shell-header h2{
    font-size:1.38rem;
  }
  body[data-page="home"] .settings-shell-body{
    gap:12px;
    padding:14px 14px 18px;
  }
  body[data-page="home"] .settings-shell-section{
    padding:14px;
  }
  body[data-page="home"] .settings-mini-btn{
    min-height:38px;
  }
  body[data-page="home"] .settings-profile-card__hero{
    flex-direction:column;
    align-items:flex-start;
  }
  body[data-page="home"] .settings-profile-card__sync-wrap{
    justify-items:start;
  }
  body[data-page="home"] .settings-profile-card__grid{
    grid-template-columns:1fr;
  }
  body[data-page="home"] .settings-profile-zone--sync,
  body[data-page="home"] .settings-profile-zone--preferences{
    grid-column:auto;
  }
  body[data-page="home"] .settings-profile-motion__row{
    grid-template-columns:1fr;
  }
  body[data-page="home"] .settings-mini-actions--motion{
    width:100%;
    justify-content:space-between;
  }
  body[data-page="home"] .settings-profile-motion__value{
    flex:1 1 auto;
    min-width:0;
  }
  body[data-page="home"] .settings-profile-card__footer{
    flex-direction:column;
    align-items:stretch;
  }
  body[data-page="home"] .settings-profile-reset-btn{
    width:100%;
    margin-left:0;
  }
}

/* Settings cleanup pass 2 */
body[data-page="home"] .settings-shell-section[data-settings-section="user"]{
  padding-block:12px;
}
body[data-page="home"] .settings-session-row{
  align-items:center;
  gap:12px;
}
body[data-page="home"] .settings-user-chip{
  padding:10px 14px;
  background:rgba(79,163,255,.09);
}
body[data-page="home"] .settings-user-chip__label{
  font-size:.9rem;
}
body[data-page="home"] .settings-user-chip__value{
  font-size:1rem;
}
body[data-page="home"] .settings-shell-section[data-settings-section="manager"]{
  gap:10px;
}
body[data-page="home"] .settings-shell-section[data-settings-section="manager"][data-expanded="false"]{
  padding-bottom:12px;
}
body[data-page="home"] .settings-shell-section[data-settings-section="discovery"]{
  padding-block:12px;
}
body[data-page="home"] .settings-shell-section[data-settings-section="discovery"] [data-settings-discovery]{
  display:none !important;
}
body[data-page="home"] .settings-section-heading-row{
  gap:14px;
}
body[data-page="home"] .settings-section-heading-main h3{
  font-size:1.02rem;
}
body[data-page="home"] .settings-section-controls{
  gap:10px;
}
body[data-page="home"] .settings-group-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
body[data-page="home"] .settings-search-row{
  margin-top:2px;
}
body[data-page="home"] .settings-manager-block{
  gap:10px;
  padding:11px 12px;
}
body[data-page="home"] .settings-manager-block__title-row{
  gap:12px;
}
body[data-page="home"] .settings-manager-block__title{
  font-size:.79rem;
  letter-spacing:.09em;
}
body[data-page="home"] .settings-favorite-row{
  grid-template-columns:minmax(0, 1fr) auto;
  align-items:center;
  gap:14px;
  padding:12px 14px;
  border-radius:16px;
  background:linear-gradient(180deg, rgba(8,15,28,.24), rgba(7,12,24,.18));
}
body[data-page="home"] .settings-favorite-row__main{
  gap:4px;
}
body[data-page="home"] .settings-favorite-row__label{
  font-size:.96rem;
  font-weight:600;
}
body[data-page="home"] .settings-ticker-row__sub{
  font-size:.8rem;
  color:var(--text-2);
}
body[data-page="home"] .settings-favorite-row__meta{
  gap:10px;
}
body[data-page="home"] .settings-favorite-row__meta .settings-ticker-row__value{
  font-size:.96rem;
}
body[data-page="home"] .settings-favorite-row > .settings-mini-actions{
  align-self:center;
  justify-content:flex-end;
  gap:8px;
}
body[data-page="home"] .settings-favorite-row > .settings-mini-actions .settings-mini-btn{
  min-height:34px;
  padding-inline:12px;
}
body[data-page="home"] .settings-ticker-row{
  padding:9px 12px;
  border-radius:14px;
}
body[data-page="home"] .settings-ticker-row__main{
  display:grid;
  grid-template-columns:minmax(0, 1fr) auto;
  align-items:center;
  gap:10px 14px;
}
body[data-page="home"] .settings-ticker-row__label-wrap{
  min-width:0;
}
body[data-page="home"] .settings-ticker-row__meta{
  gap:10px;
}
body[data-page="home"] .settings-search__input{
  min-height:46px;
  padding-inline:16px;
  font-size:.92rem;
}
body[data-page="home"] .settings-profile-card__hero{
  padding-bottom:12px;
}
body[data-page="home"] .settings-profile-zone{
  padding:13px 14px 12px;
}
body[data-page="home"] .settings-profile-card__footer{
  padding-top:0;
}
@media (max-width:760px){
  body[data-page="home"] .settings-session-row{
    align-items:flex-start;
  }
  body[data-page="home"] .settings-favorite-row{
    grid-template-columns:1fr;
    gap:10px;
  }
  body[data-page="home"] .settings-favorite-row > .settings-mini-actions{
    justify-content:flex-start;
  }
  body[data-page="home"] .settings-ticker-row__main{
    grid-template-columns:1fr;
    align-items:flex-start;
  }
  body[data-page="home"] .settings-section-controls{
    gap:8px;
  }
  body[data-page="home"] .settings-group-actions{
    width:100%;
    justify-content:flex-start;
  }
}


/* Settings P3 polish */
body[data-page="home"] .settings-shell-section[data-settings-section="user"]{
  padding:10px 12px 12px;
}
body[data-page="home"] .settings-shell-user .settings-section-heading{
  gap:8px;
}
body[data-page="home"] .settings-session-row{
  padding:10px 12px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.06);
  background:linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.028));
}
body[data-page="home"] .settings-user-chip{
  flex:1 1 auto;
  justify-content:space-between;
  width:100%;
  padding:0;
  border:0;
  background:transparent;
}
body[data-page="home"] .settings-user-chip__stack{
  display:grid;
  gap:4px;
  min-width:0;
}
body[data-page="home"] .settings-user-chip__label{
  font-size:.72rem;
  letter-spacing:.08em;
  text-transform:uppercase;
}
body[data-page="home"] .settings-user-chip__value{
  font-size:1rem;
  font-weight:600;
}
body[data-page="home"] .settings-user-chip__meta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.04);
  font-size:.73rem;
  color:rgba(216,229,239,.78);
  letter-spacing:.03em;
}
body[data-page="home"] .settings-mini-btn--quiet{
  background:rgba(255,255,255,.02);
  color:var(--text-2);
}
body[data-page="home"] .settings-mini-btn--quiet:hover{
  background:rgba(255,255,255,.06);
  color:var(--text);
}
body[data-page="home"] .settings-shell-section[data-settings-section="manager"][data-expanded="false"] .settings-group-actions,
body[data-page="home"] .settings-shell-section[data-settings-section="manager"][data-expanded="false"] .settings-search-row{
  display:none;
}
body[data-page="home"] .settings-manager-collapsed{
  display:none;
  gap:8px;
  padding-top:6px;
}
body[data-page="home"] .settings-shell-section[data-settings-section="manager"][data-expanded="false"] .settings-manager-collapsed{
  display:grid;
}
body[data-page="home"] .settings-manager-collapsed__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
}
body[data-page="home"] .settings-section-meta--summary{
  background:rgba(79,163,255,.08);
  border-color:rgba(79,163,255,.16);
  color:#d6e9ff;
}
body[data-page="home"] .settings-manager-collapsed__hint{
  font-size:.76rem;
  color:var(--text-2);
}
body[data-page="home"] .settings-manager-collapsed__chips{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
body[data-page="home"] .settings-manager-collapsed__chip,
body[data-page="home"] .settings-manager-collapsed__empty{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:5px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.024);
  font-size:.76rem;
  color:var(--text-2);
}
body[data-page="home"] .settings-manager-collapsed__chip.is-more{
  background:rgba(79,163,255,.08);
  border-color:rgba(79,163,255,.16);
  color:#d6e9ff;
}
body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-section-heading-row{
  align-items:flex-start;
}
body[data-page="home"] .settings-favorite-row{
  grid-template-columns:minmax(0, 1fr) auto;
  gap:10px 12px;
  padding:10px 12px;
}
body[data-page="home"] .settings-favorite-row__main{
  align-items:center;
  gap:8px;
}
body[data-page="home"] .settings-favorite-row__label{
  font-size:.92rem;
}
body[data-page="home"] .settings-favorite-row__meta{
  gap:8px;
  font-size:.82rem;
}
body[data-page="home"] .settings-ticker-row__meta .settings-mini-btn{
  min-height:30px;
  padding:5px 10px;
  font-size:.72rem;
}
body[data-page="home"] .settings-ticker-row{
  padding:8px 10px;
}
body[data-page="home"] .settings-ticker-row__label{
  font-size:.86rem;
}
body[data-page="home"] .settings-ticker-row__sub{
  font-size:.77rem;
}
body[data-page="home"] .settings-ticker-row__value{
  font-size:.84rem;
}
body[data-page="home"] .settings-ticker-row__delta{
  font-size:.76rem;
}
@media (max-width:760px){
  body[data-page="home"] .settings-session-row{
    padding:10px 11px;
  }
  body[data-page="home"] .settings-user-chip{
    gap:10px;
  }
  body[data-page="home"] .settings-user-chip__meta{
    max-width:100%;
  }
  body[data-page="home"] .settings-manager-collapsed__head{
    align-items:flex-start;
  }
  body[data-page="home"] .settings-favorite-row{
    grid-template-columns:1fr;
    gap:8px;
  }
}


/* Settings fine-polish + shared cache hygiene pass */
body[data-page="home"] .settings-shell-section[data-settings-section="user"]{
  padding:9px 11px 11px;
}
body[data-page="home"] .settings-session-row{
  grid-template-columns:minmax(0, 1fr) auto;
  align-items:center;
  gap:10px;
  padding:9px 11px;
  border-radius:15px;
  background:linear-gradient(180deg, rgba(255,255,255,.042), rgba(255,255,255,.022));
}
body[data-page="home"] .settings-user-chip{
  gap:10px;
}
body[data-page="home"] .settings-user-chip__label{
  font-size:.7rem;
  letter-spacing:.1em;
}
body[data-page="home"] .settings-user-chip__value{
  font-size:.98rem;
}
body[data-page="home"] .settings-mini-btn--quiet{
  min-height:32px;
  padding:5px 11px;
  border-color:rgba(255,255,255,.07);
  background:rgba(255,255,255,.015);
}
body[data-page="home"] .settings-profile-card{
  gap:14px;
}
body[data-page="home"] .settings-profile-card__hero{
  gap:14px;
  padding-bottom:11px;
}
body[data-page="home"] .settings-profile-card__summary{
  font-size:.84rem;
  line-height:1.5;
}
body[data-page="home"] .settings-profile-card__sync-wrap{
  gap:6px;
}
body[data-page="home"] .settings-profile-card__sync-label{
  font-size:.69rem;
}
body[data-page="home"] .settings-profile-card__grid{
  gap:10px;
}
body[data-page="home"] .settings-profile-zone{
  gap:9px;
  padding:12px 13px;
  border-radius:15px;
  border-color:rgba(255,255,255,.055);
  background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.016));
}
body[data-page="home"] .settings-profile-zone__title{
  font-size:.74rem;
  letter-spacing:.11em;
}
body[data-page="home"] .settings-profile-zone__hint{
  font-size:.81rem;
}
body[data-page="home"] .settings-profile-facts{
  gap:8px;
}
body[data-page="home"] .settings-profile-fact{
  gap:3px;
  padding:9px 0;
}
body[data-page="home"] .settings-profile-fact__value{
  font-size:.96rem;
}
body[data-page="home"] .settings-mini-actions--profile-sync .settings-mini-btn.is-active,
body[data-page="home"] .settings-profile-reset-btn{
  min-width:110px;
}
body[data-page="home"] .settings-build-chip{
  padding:5px 9px;
  font-size:.69rem;
  color:rgba(208,222,233,.72);
  background:rgba(255,255,255,.024);
}
body[data-page="home"] .settings-profile-card__footer{
  padding-top:4px;
  border-top:1px solid rgba(255,255,255,.05);
}
@media (max-width:760px){
  body[data-page="home"] .settings-session-row{
    grid-template-columns:1fr;
    align-items:flex-start;
  }
  body[data-page="home"] .settings-mini-btn--quiet{
    align-self:flex-start;
  }
  body[data-page="home"] .settings-profile-card__hero{
    padding-bottom:10px;
  }
  body[data-page="home"] .settings-profile-zone{
    padding:11px 12px;
  }
}

/* RSS overlay launch + essential base hooks
   r9053: visual shell/list/universe styling now lives in the later RO owner blocks. */
body[data-page="home"] .rss-launch-btn{
  color:#d8f0ff;
  border-color:rgba(110,198,255,.24);
  background:rgba(110,198,255,.06);
}
body[data-page="home"] .rss-launch-btn:hover{
  background:rgba(110,198,255,.14);
  border-color:rgba(110,198,255,.36);
}
body[data-page="home"] .rss-icon{display:inline-flex;align-items:center;justify-content:center}
body[data-page="home"] .rss-icon-svg{width:18px;height:18px;display:block}
body[data-page="home"] .rss-shell-layer{position:fixed;inset:0;z-index:580}
@media (max-width:760px){
  body[data-page="home"] .mobile-bottom-dock .header-actions .rss-launch-btn{order:-4}
}
body[data-page="home"] .rss-shell-status__warn{width:100%;font-size:.78rem;line-height:1.5;color:#ffd8bf}
body[data-page="home"] .rss-filter__label{font-size:.73rem;letter-spacing:.08em;text-transform:uppercase;color:var(--text-2)}
body[data-page="home"] .rss-item__link:hover{color:#e8f6ff}
body[data-page="home"] .rss-pill.is-alert{border-color:rgba(255,156,156,.18);color:#ffd1d1}
body[data-page="home"] .rss-pill.is-ok{border-color:rgba(143,227,179,.2);color:#d8f9e4}
body[data-page="home"] .rss-empty-card, body[data-page="home"] .rss-placeholder-card{padding:14px 16px;border-radius:16px;border:1px solid rgba(255,255,255,.07);background:rgba(255,255,255,.024);color:var(--text-2);line-height:1.6}
body[data-page="home"] .rss-universe-group summary::-webkit-details-marker{display:none}
body[data-page="home"] .rss-universe-row__state{white-space:nowrap}
body[data-page="home"] .rss-universe-row__hint{font-size:.74rem;line-height:1.45;color:var(--text-2)}

/* RSS overlay visual + right-edge safety pass 2026-04-24
   Scope: RSS overlay only. Purpose: premium reformatting, overflow containment, and no right-edge clipping. */
body[data-page="home"] .rss-shell-layer,
body[data-page="home"] .rss-shell-layer *{
  box-sizing:border-box;
}
body[data-page="home"] .rss-shell-layer{
  overflow:hidden;
}
body[data-page="home"] .rss-shell-card{
  left:clamp(14px, 3vw, 34px) !important;
  right:clamp(14px, 3vw, 34px) !important;
  width:auto !important;
  max-width:1040px;
  margin-inline:auto !important;
  border-radius:28px;
  border-color:rgba(214,229,248,.13);
  background:
    radial-gradient(circle at 18% 0%, rgba(110,198,255,.10), transparent 34%),
    radial-gradient(circle at 82% 10%, rgba(255,204,128,.052), transparent 30%),
    linear-gradient(180deg, rgba(22,35,50,.87), rgba(8,14,24,.81));
  box-shadow:0 30px 82px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.052);
  backdrop-filter:blur(13px) saturate(1.08);
  overflow:hidden;
}
body[data-page="home"] .rss-shell-scroll{
  overflow-x:hidden !important;
  overflow-y:auto;
  scrollbar-gutter:auto;
}
body[data-page="home"] .rss-shell-header{
  padding:24px 28px 17px;
  border-bottom-color:rgba(159,202,255,.12);
  background:linear-gradient(180deg, rgba(30,47,67,.92), rgba(18,31,46,.82));
}
body[data-page="home"] .rss-shell-header h2{
  letter-spacing:-.025em;
}
body[data-page="home"] .rss-shell-body{
  gap:14px;
  padding:16px 20px 22px;
  min-width:0;
  max-width:100%;
  overflow-x:hidden;
}
body[data-page="home"] .rss-shell-body > *,
body[data-page="home"] .rss-feed-list,
body[data-page="home"] .rss-universe-groups,
body[data-page="home"] .rss-control-panel{
  min-width:0;
  max-width:100%;
}
body[data-page="home"] .rss-shell-status{
  display:grid;
  gap:11px;
  padding:13px 14px 14px;
  border-radius:20px;
  border-color:rgba(159,202,255,.13);
  background:linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}
body[data-page="home"] .rss-shell-status__topline{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  font-size:.73rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:rgba(213,229,242,.66);
}
body[data-page="home"] .rss-shell-status__grid{
  display:grid;
  grid-template-columns:repeat(6, minmax(0, 1fr));
  gap:8px;
  width:100%;
}
body[data-page="home"] .rss-stat-card{
  min-width:0;
  display:grid;
  gap:3px;
  align-content:center;
  min-height:58px;
  padding:10px 9px;
  border-radius:15px;
  border:1px solid rgba(255,255,255,.075);
  background:rgba(6,12,22,.42);
  text-align:center;
}
body[data-page="home"] .rss-stat-card__value{
  display:block;
  min-width:0;
  font-size:1.05rem;
  line-height:1;
  font-weight:750;
  color:#f0f8ff;
  overflow:hidden;
  text-overflow:ellipsis;
}
body[data-page="home"] .rss-stat-card__label{
  display:block;
  min-width:0;
  font-size:.66rem;
  line-height:1.15;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:rgba(207,223,236,.68);
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
body[data-page="home"] .rss-stat-card.is-ok{border-color:rgba(143,227,179,.20);background:rgba(74,139,99,.10)}
body[data-page="home"] .rss-stat-card.is-alert{border-color:rgba(255,156,156,.22);background:rgba(143,51,51,.12)}
body[data-page="home"] .rss-stat-card.is-accent{border-color:rgba(110,198,255,.20);background:rgba(62,137,194,.12)}
body[data-page="home"] .rss-stat-card.is-muted{opacity:.76}
body[data-page="home"] .rss-tab-row{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:8px;
  padding:4px;
  border:1px solid rgba(255,255,255,.07);
  border-radius:18px;
  background:rgba(5,10,18,.34);
}
body[data-page="home"] .rss-tab-btn{
  min-width:0;
  justify-content:center;
  min-height:38px;
  border-radius:14px;
  padding:8px 10px;
  font-size:.8rem;
  color:rgba(224,237,248,.78);
}
body[data-page="home"] .rss-tab-btn.is-active{
  background:linear-gradient(180deg, rgba(110,198,255,.20), rgba(110,198,255,.10));
  border-color:rgba(110,198,255,.34);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
}
body[data-page="home"] .rss-control-panel{
  display:grid;
  gap:10px;
  padding:13px 14px;
  border:1px solid rgba(255,255,255,.07);
  border-radius:18px;
  background:rgba(255,255,255,.025);
}
body[data-page="home"] .rss-filter-row{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:11px;
  min-width:0;
}
body[data-page="home"] .rss-filter,
body[data-page="home"] .rss-filter select{
  min-width:0;
  max-width:100%;
}
body[data-page="home"] .rss-filter select{
  min-height:44px;
  padding-inline:12px 34px;
  border-radius:14px;
  background:rgba(7,13,22,.86);
  overflow:hidden;
  text-overflow:ellipsis;
}
body[data-page="home"] .rss-feed-list{
  gap:12px;
}
body[data-page="home"] .rss-item{
  position:relative;
  gap:9px;
  min-width:0;
  padding:14px 15px 15px;
  border-radius:20px;
  border-color:rgba(159,202,255,.10);
  background:
    linear-gradient(90deg, rgba(110,198,255,.08), transparent 32%),
    linear-gradient(180deg, rgba(11,20,33,.70), rgba(7,13,22,.46));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
  overflow:hidden;
}
body[data-page="home"] .rss-item::before{
  content:"";
  position:absolute;
  left:0;
  top:14px;
  bottom:14px;
  width:3px;
  border-radius:999px;
  background:linear-gradient(180deg, rgba(110,198,255,.70), rgba(255,212,145,.38));
}
body[data-page="home"] .rss-item__topline{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-width:0;
}
body[data-page="home"] .rss-item__meta{
  min-width:0;
  gap:7px;
  overflow:hidden;
}
body[data-page="home"] .rss-item__meta > span{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
body[data-page="home"] .rss-item__source{
  max-width:260px;
  color:rgba(232,243,255,.78);
  font-weight:650;
}
body[data-page="home"] .rss-item__title{
  min-width:0;
  font-size:1.02rem;
  line-height:1.38;
}
body[data-page="home"] .rss-item__link,
body[data-page="home"] .rss-universe-row__name,
body[data-page="home"] .rss-universe-row__meta,
body[data-page="home"] .rss-universe-row__hint,
body[data-page="home"] .rss-item__summary{
  overflow-wrap:anywhere;
  word-break:normal;
}
body[data-page="home"] .rss-item__summary{
  line-height:1.55;
  color:rgba(213,226,239,.74);
}
body[data-page="home"] .rss-pill{
  flex:0 0 auto;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
body[data-page="home"] .rss-empty-card,
body[data-page="home"] .rss-placeholder-card{
  max-width:100%;
  overflow-wrap:anywhere;
}
body[data-page="home"] .rss-universe-group{
  min-width:0;
  border-radius:18px;
  border-color:rgba(159,202,255,.09);
  background:rgba(255,255,255,.028);
}
body[data-page="home"] .rss-universe-group summary{
  min-width:0;
  padding:14px 15px;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto 42px;
  align-items:center;
  gap:12px;
}
body[data-page="home"] .rss-universe-group summary::marker{
  content:"";
}
body[data-page="home"] .rss-universe-group summary::after{
  content:"▸";
  width:42px;
  height:42px;
  border-radius:999px;
  display:grid;
  place-items:center;
  justify-self:end;
  color:rgba(232,243,255,.92);
  border:1px solid rgba(214,229,248,.13);
  background:rgba(255,255,255,.045);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045);
  transform:rotate(0deg);
  transition:transform .18s ease,border-color .18s ease,background .18s ease;
}
body[data-page="home"] .rss-universe-group[open] > summary::after{
  transform:rotate(90deg);
}
body[data-page="home"] .rss-universe-group summary > .rss-pill{
  min-width:0;
  justify-self:end;
}
body[data-page="home"] .rss-universe-group__title{
  min-width:0;
}
body[data-page="home"] .rss-universe-group__title > span:first-child,
body[data-page="home"] .rss-universe-group__meta{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
}
body[data-page="home"] .rss-universe-group__rows{
  padding:0 15px 15px;
}
body[data-page="home"] .rss-universe-row{
  min-width:0;
  padding:11px 12px;
  border-radius:14px;
  background:rgba(5,11,20,.54);
}
body[data-page="home"] .rss-universe-row__main{
  min-width:0;
}
@media (max-width:760px){
  body[data-page="home"] .rss-shell-card{
    left:max(8px, env(safe-area-inset-left, 0px) + 8px) !important;
    right:max(8px, env(safe-area-inset-right, 0px) + 8px) !important;
    top:max(8px, env(safe-area-inset-top, 0px) + 8px) !important;
    bottom:max(8px, env(safe-area-inset-bottom, 0px) + 8px) !important;
    width:auto !important;
    max-width:none;
    border-radius:22px;
  }
  body[data-page="home"] .rss-shell-header{
    padding:18px 16px 13px;
  }
  body[data-page="home"] .rss-shell-body{
    padding:12px 11px 16px;
    gap:11px;
  }
  body[data-page="home"] .rss-shell-status__grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
  body[data-page="home"] .rss-tab-row{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
  body[data-page="home"] .rss-filter-row{
    grid-template-columns:1fr;
  }
  body[data-page="home"] .rss-item{
    padding:13px 13px 14px;
  }
  body[data-page="home"] .rss-item__topline{
    align-items:flex-start;
    flex-direction:column;
    gap:7px;
  }
  body[data-page="home"] .rss-item__source{
    max-width:100%;
  }
  body[data-page="home"] .rss-universe-group summary{
    grid-template-columns:minmax(0,1fr) 40px;
    grid-template-areas:
      "title arrow"
      "items arrow";
    align-items:center;
    gap:8px 10px;
    padding:14px 13px;
  }
  body[data-page="home"] .rss-universe-group summary::after{
    grid-area:arrow;
    align-self:center;
    width:40px;
    height:40px;
  }
  body[data-page="home"] .rss-universe-group__title{
    grid-area:title;
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:8px;
    align-content:center;
  }
  body[data-page="home"] .rss-universe-group__title > span:first-child{
    display:block;
    overflow:visible;
    text-overflow:clip;
    white-space:normal;
    line-height:1.14;
  }
  body[data-page="home"] .rss-universe-group__meta{
    justify-self:start;
    max-width:100%;
    white-space:nowrap;
  }
  body[data-page="home"] .rss-universe-group summary > .rss-pill{
    grid-area:items;
    justify-self:start;
    max-width:100%;
    white-space:nowrap;
  }
  body[data-page="home"] .rss-universe-row{
    width:100%;
  }
}
@media (max-width:390px){
  body[data-page="home"] .rss-shell-status__grid{
    grid-template-columns:1fr;
  }
}


/* RSS Overlay — cache-first floating refresh progress */
body[data-page="home"] .rss-progress-panel{
  position:sticky;
  top:0;
  z-index:4;
  display:grid;
  gap:9px;
  padding:12px 13px;
  border-radius:18px;
  border:1px solid rgba(118,190,255,.20);
  background:
    radial-gradient(circle at 12% 18%, rgba(118,190,255,.18), transparent 34%),
    linear-gradient(135deg, rgba(11,24,40,.92), rgba(14,22,34,.82));
  box-shadow:0 18px 44px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter:blur(18px);
  max-width:100%;
  overflow:hidden;
}
body[data-page="home"] .rss-progress-panel__head,
body[data-page="home"] .rss-progress-panel__foot{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  min-width:0;
}
body[data-page="home"] .rss-progress-panel__title{
  color:rgba(240,248,255,.96);
  font-weight:750;
  letter-spacing:.01em;
  line-height:1.25;
}
body[data-page="home"] .rss-progress-panel__subtitle{
  margin-top:3px;
  color:rgba(214,228,240,.76);
  font-size:.80rem;
  line-height:1.35;
  overflow-wrap:anywhere;
}
body[data-page="home"] .rss-progress-panel__count{
  flex:0 0 auto;
  max-width:42%;
  color:rgba(255,226,171,.94);
  font-size:.78rem;
  font-weight:700;
  line-height:1.35;
  text-align:right;
}
body[data-page="home"] .rss-progress-panel__bar{
  position:relative;
  height:8px;
  overflow:hidden;
  border-radius:999px;
  background:rgba(255,255,255,.08);
}
body[data-page="home"] .rss-progress-panel__bar span{
  display:block;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg, rgba(95,188,255,.92), rgba(255,213,145,.86));
  box-shadow:0 0 22px rgba(95,188,255,.30);
  transition:width .35s ease;
}
body[data-page="home"] .rss-progress-panel__foot{
  color:rgba(213,226,239,.78);
  font-size:.76rem;
  line-height:1.35;
}
body[data-page="home"] .rss-progress-panel__error{
  padding:8px 10px;
  border-radius:12px;
  border:1px solid rgba(255,140,140,.22);
  background:rgba(142,45,45,.16);
  color:#ffd1d1;
  font-size:.78rem;
  line-height:1.45;
}
@media (max-width:760px){
  body[data-page="home"] .rss-progress-panel{
    padding:11px 11px;
    border-radius:16px;
  }
  body[data-page="home"] .rss-progress-panel__head{
    flex-direction:column;
    gap:7px;
  }
  body[data-page="home"] .rss-progress-panel__count{
    max-width:100%;
    text-align:left;
  }
}

/* Settings Overlay — Ticker Discovery wording/flow cleanup */
body[data-page="home"] .settings-shell-section--discovery{
  gap:12px;
  border-color:rgba(79,163,255,.10);
  background:linear-gradient(180deg, rgba(15,25,39,.16), rgba(8,15,26,.10));
}
body[data-page="home"] .settings-section-heading-row--discovery{
  justify-content:space-between;
}
body[data-page="home"] .settings-section-heading--discovery{
  gap:8px;
}
body[data-page="home"] .indicator-discovery-card__ghost-pill.is-hide{ color:#ffd5a8; }
body[data-page="home"] .indicator-discovery-card__ghost-pill.is-like{ color:#b7f1ce; }
body[data-page="home"] .indicator-discovery-card[data-swipe-intent="hide"] .indicator-discovery-card__ghost-pill.is-hide{
  border-color:rgba(255,183,111,.36);
  background:rgba(255,183,111,.12);
}
body[data-page="home"] .indicator-discovery-card[data-swipe-intent="hide"] .indicator-discovery-card__shell{
  border-color:rgba(255,183,111,.34);
  box-shadow:0 30px 74px rgba(0,0,0,.48), 0 0 0 1px rgba(255,183,111,.12), inset 0 1px 0 rgba(255,255,255,.05);
}
@media (max-width:760px){
  body[data-page="home"] .settings-section-heading-row--discovery{
    align-items:flex-start;
  }
  body[data-page="home"] .settings-shell-section--discovery .settings-section-controls{
    width:100%;
    justify-content:space-between;
  }
  body[data-page="home"] .settings-shell-section--discovery .settings-mini-btn{
    max-width:100%;
    white-space:normal;
  }
}

/* RSS Overlay RO-1.1 — unclipped bottom refresh HUD + low-jank progress updates */
body[data-page="home"] .rss-progress-host{
  position:absolute;
  left:clamp(16px, 3vw, 30px);
  right:clamp(16px, 3vw, 30px);
  bottom:calc(env(safe-area-inset-bottom, 0px) + 18px);
  z-index:12;
  display:block;
  pointer-events:none;
}
body[data-page="home"] .rss-progress-host .rss-progress-panel{
  position:relative;
  top:auto;
  z-index:auto;
  max-width:min(740px, 100%);
  margin-inline:auto;
  overflow:visible;
  pointer-events:auto;
  animation:rssProgressHudIn .22s ease both;
}
body[data-page="home"] .rss-shell-card.is-rss-refreshing .rss-shell-body{
  padding-bottom:clamp(138px, 18vh, 188px);
}
@keyframes rssProgressHudIn{
  from{opacity:0;transform:translateY(10px) scale(.985)}
  to{opacity:1;transform:translateY(0) scale(1)}
}
@media (max-width:760px){
  body[data-page="home"] .rss-progress-host{
    left:12px;
    right:12px;
    bottom:calc(env(safe-area-inset-bottom, 0px) + 12px);
  }
  body[data-page="home"] .rss-progress-host .rss-progress-panel{
    max-width:100%;
    max-height:min(34vh, 210px);
    overflow:auto;
  }
  body[data-page="home"] .rss-shell-card.is-rss-refreshing .rss-shell-body{
    padding-bottom:clamp(160px, 28vh, 230px);
  }
}


/* Override earlier sticky/in-flow progress behavior. This intentionally catches both
   the current dedicated host and any stale in-body progress markup after cache refreshes. */
body[data-page="home"] .rss-progress-host{
  position:fixed !important;
  left:clamp(22px, 7vw, 160px) !important;
  right:clamp(22px, 7vw, 160px) !important;
  bottom:calc(env(safe-area-inset-bottom, 0px) + 24px) !important;
  top:auto !important;
  z-index:1400 !important;
  display:block;
  pointer-events:none;
}
body[data-page="home"] .rss-progress-host[hidden]{
  display:none !important;
}
body[data-page="home"] .rss-shell-body > .rss-progress-panel,
body[data-page="home"] .rss-progress-host .rss-progress-panel{
  position:relative !important;
  top:auto !important;
  bottom:auto !important;
  z-index:auto !important;
  width:min(780px, 100%) !important;
  max-width:780px !important;
  margin-inline:auto !important;
  padding:14px 16px !important;
  border-radius:20px !important;
  overflow:visible !important;
  pointer-events:auto;
  background:
    radial-gradient(circle at 12% 14%, rgba(118,190,255,.26), transparent 32%),
    radial-gradient(circle at 94% 18%, rgba(255,214,154,.18), transparent 30%),
    linear-gradient(135deg, rgba(12,27,45,.97), rgba(9,17,29,.94)) !important;
  border-color:rgba(118,190,255,.30) !important;
  box-shadow:0 22px 64px rgba(0,0,0,.48), 0 0 0 1px rgba(255,255,255,.04), inset 0 1px 0 rgba(255,255,255,.10) !important;
  animation:rssProgressHudIn .22s ease both;
}
body[data-page="home"] .rss-progress-panel__bar{
  height:10px !important;
}
body[data-page="home"] .rss-shell-card.is-rss-refreshing .rss-shell-body{
  padding-bottom:clamp(146px, 20vh, 206px) !important;
}
body[data-page="home"] .rss-tab-row{
  grid-template-columns:repeat(2, minmax(0,1fr)) !important;
}

@media (max-width:760px){
  body[data-page="home"] .rss-action-btn{
    width:100%;
  }
  body[data-page="home"] .rss-progress-host{
    left:12px !important;
    right:12px !important;
    bottom:calc(env(safe-area-inset-bottom, 0px) + 12px) !important;
  }
  body[data-page="home"] .rss-progress-host .rss-progress-panel,
  body[data-page="home"] .rss-shell-body > .rss-progress-panel{
    width:100% !important;
    max-width:100% !important;
    max-height:min(36vh, 230px);
    overflow:auto !important;
  }
  body[data-page="home"] .rss-shell-card.is-rss-refreshing .rss-shell-body{
    padding-bottom:clamp(172px, 31vh, 252px) !important;
  }
}

/* RSS Overlay RO — stable progress HUD + active refresh bar (no per-poll flashing) */
body[data-page="home"] .rss-progress-host .rss-progress-panel{
  transform:translateZ(0);
  backface-visibility:hidden;
  contain:layout paint;
}
body[data-page="home"] .rss-progress-panel__bar{
  isolation:isolate;
}
body[data-page="home"] .rss-progress-panel__bar::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:linear-gradient(90deg, transparent 0%, rgba(255,255,255,.18) 38%, rgba(255,255,255,.28) 50%, transparent 72%);
  transform:translateX(-100%);
  animation:rssProgressSweep 1.45s linear infinite;
  pointer-events:none;
  mix-blend-mode:screen;
  opacity:.72;
}
body[data-page="home"] .rss-progress-panel__bar span{
  position:relative;
  overflow:hidden;
}
body[data-page="home"] .rss-live-dot.is-active{
  animation:rssLiveDotPulse 1.4s ease-in-out infinite;
}
@keyframes rssProgressSweep{
  0%{transform:translateX(-100%)}
  100%{transform:translateX(100%)}
}
@keyframes rssLiveDotPulse{
  0%,100%{box-shadow:0 0 0 4px rgba(123,210,255,.12), 0 0 14px rgba(123,210,255,.30)}
  50%{box-shadow:0 0 0 6px rgba(123,210,255,.18), 0 0 22px rgba(123,210,255,.50)}
}


/* RSS Overlay RO-2 — usability polish: clearer action bar, filter/search panel, cards, and empty states */
body[data-page="home"] .rss-shell-body{
  gap:13px;
}
body[data-page="home"] .rss-shell-status{
  padding:12px 13px;
  border-color:rgba(159,202,255,.11);
}
body[data-page="home"] .rss-shell-status__grid{
  grid-template-columns:repeat(6, minmax(78px, 1fr));
}
body[data-page="home"] .rss-stat-card{
  min-height:52px;
  padding:9px 8px;
  background:linear-gradient(180deg, rgba(12,24,38,.50), rgba(5,11,20,.38));
}
body[data-page="home"] .rss-action-btn{
  min-width:106px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07), 0 8px 22px rgba(0,0,0,.18);
}
body[data-page="home"] .rss-action-btn[aria-busy="true"]{
  opacity:.74;
  cursor:default;
}
body[data-page="home"] .rss-action-btn--ghost{
  min-width:0;
  background:rgba(255,255,255,.024);
  border-color:rgba(255,255,255,.11);
}
body[data-page="home"] .rss-control-panel{
  padding:14px 15px;
  border-color:rgba(137,196,255,.12);
  background:
    radial-gradient(circle at 10% 0%, rgba(110,198,255,.08), transparent 35%),
    rgba(255,255,255,.028);
}
body[data-page="home"] .rss-control-panel__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  min-width:0;
}
body[data-page="home"] .rss-control-panel__head > div:first-child{
  display:grid;
  gap:3px;
  min-width:0;
}
body[data-page="home"] .rss-control-panel__head strong{
  color:rgba(239,248,255,.94);
  font-size:.91rem;
  letter-spacing:.01em;
}
body[data-page="home"] .rss-control-panel__kicker,
body[data-page="home"] .rss-control-panel__scope{
  color:rgba(204,222,237,.66);
  font-size:.70rem;
  letter-spacing:.10em;
  line-height:1.35;
  text-transform:uppercase;
}
body[data-page="home"] .rss-control-panel__scope{
  max-width:42%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  text-align:right;
}
body[data-page="home"] .rss-filter-row{
  align-items:end;
}
body[data-page="home"] .rss-search-wrap{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
}
body[data-page="home"] .rss-search-wrap input[type="search"]{
  min-width:0;
}
body[data-page="home"] .rss-search-clear{
  flex:0 0 auto;
  min-height:36px;
  padding:0 11px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.05);
  color:rgba(232,242,250,.82);
  font:inherit;
  font-size:.78rem;
  cursor:pointer;
}
body[data-page="home"] .rss-search-clear:hover{
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.16);
}
body[data-page="home"] .rss-feed-list{
  gap:11px;
}
body[data-page="home"] .rss-item{
  padding:15px 16px 16px 18px;
  border-color:rgba(159,202,255,.12);
  transition:transform .16s ease, border-color .16s ease, background .16s ease;
}
body[data-page="home"] .rss-item:hover{
  transform:translateY(-1px);
  border-color:rgba(159,202,255,.22);
  background:
    linear-gradient(90deg, rgba(110,198,255,.11), transparent 36%),
    linear-gradient(180deg, rgba(13,23,38,.78), rgba(7,13,22,.54));
}
body[data-page="home"] .rss-item__topline{
  padding-left:2px;
}
body[data-page="home"] .rss-item__source{
  color:rgba(238,247,255,.86);
}
body[data-page="home"] .rss-item__title{
  font-size:1.05rem;
  line-height:1.40;
}
body[data-page="home"] .rss-item__summary{
  max-width:92ch;
}
body[data-page="home"] .rss-empty-card--search{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
body[data-page="home"] .rss-universe-group summary{
  background:linear-gradient(90deg, rgba(110,198,255,.055), transparent 42%);
}
body[data-page="home"] .rss-universe-row{
  transition:border-color .16s ease, background .16s ease;
}
body[data-page="home"] .rss-universe-row:hover{
  border-color:rgba(159,202,255,.15);
  background:rgba(9,17,30,.68);
}
@media (max-width:920px){
  body[data-page="home"] .rss-shell-status__grid{
    grid-template-columns:repeat(3, minmax(0, 1fr));
  }
}
@media (max-width:760px){
  body[data-page="home"] .rss-control-panel__head{
    flex-direction:column;
    gap:6px;
  }
  body[data-page="home"] .rss-control-panel__scope{
    max-width:100%;
    text-align:left;
    white-space:normal;
  }
  body[data-page="home"] .rss-search-wrap{
    flex-direction:column;
    align-items:stretch;
  }
  body[data-page="home"] .rss-search-clear{
    width:100%;
  }
  body[data-page="home"] .rss-empty-card--search{
    flex-direction:column;
    align-items:flex-start;
  }
  body[data-page="home"] .rss-empty-card--search .rss-action-btn{
    width:100%;
  }
}

/* RSS Overlay mobile compact pass — source metrics + compact completion HUD */
@media (max-width:760px){
  body[data-page="home"] .rss-shell-status{
    gap:7px !important;
    padding:8px 9px 9px !important;
    border-radius:16px !important;
  }
  body[data-page="home"] .rss-shell-status__topline{
    gap:6px !important;
    flex-wrap:wrap !important;
    font-size:.61rem !important;
    letter-spacing:.055em !important;
    line-height:1.15 !important;
  }
  body[data-page="home"] .rss-shell-status__grid{
    grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
    gap:5px !important;
  }
  body[data-page="home"] .rss-stat-card{
    min-height:38px !important;
    padding:6px 5px !important;
    gap:1px !important;
    border-radius:11px !important;
  }
  body[data-page="home"] .rss-stat-card__value{
    font-size:.84rem !important;
    line-height:1 !important;
  }
  body[data-page="home"] .rss-stat-card__label{
    font-size:.52rem !important;
    line-height:1.08 !important;
    letter-spacing:.025em !important;
    white-space:normal !important;
    display:-webkit-box !important;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
  }
  body[data-page="home"] .rss-progress-host .rss-progress-panel{
    max-height:min(30vh, 178px) !important;
    padding:10px 10px 9px !important;
    border-radius:16px !important;
  }
  body[data-page="home"] .rss-progress-panel__head{
    gap:6px !important;
  }
  body[data-page="home"] .rss-progress-panel__title{
    font-size:.86rem !important;
    line-height:1.18 !important;
  }
  body[data-page="home"] .rss-progress-panel__subtitle{
    font-size:.72rem !important;
    line-height:1.25 !important;
  }
  body[data-page="home"] .rss-progress-panel__count{
    font-size:.70rem !important;
    line-height:1.2 !important;
  }
  body[data-page="home"] .rss-progress-panel__foot{
    font-size:.68rem !important;
    line-height:1.22 !important;
    gap:8px !important;
  }
  body[data-page="home"] .rss-progress-panel__bar{
    height:8px !important;
  }
  body[data-page="home"] .rss-shell-card.is-rss-refreshing .rss-shell-body{
    padding-bottom:clamp(132px, 24vh, 190px) !important;
  }
}
@media (max-width:390px){
  body[data-page="home"] .rss-shell-status__grid{
    grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
  }
  body[data-page="home"] .rss-stat-card{
    min-height:36px !important;
    padding:5px 4px !important;
  }
  body[data-page="home"] .rss-stat-card__value{
    font-size:.78rem !important;
  }
  body[data-page="home"] .rss-stat-card__label{
    font-size:.49rem !important;
  }
}
body[data-page="home"] .rss-action-btn{
  flex:0 0 auto !important;
  min-height:36px !important;
  height:auto !important;
  position:relative !important;
  z-index:2 !important;
}
body[data-page="home"] .rss-control-panel{
  margin-top:0 !important;
}
@media (max-width:760px){
  body[data-page="home"] .rss-action-btn{
    width:100% !important;
    min-height:34px !important;
    padding:0 12px !important;
  }
  body[data-page="home"] .rss-tab-row{
    margin-top:0 !important;
  }
}
body[data-page="home"] .rss-ro-toolbar,
body[data-page="home"] .rss-ro-toolbar *{box-sizing:border-box;}
body[data-page="home"] .rss-ro-toolbar{
  width:100% !important; min-width:0 !important; min-height:unset !important; height:auto !important; max-height:none !important; overflow:visible !important;
  display:grid !important; grid-template-columns:minmax(0, 1fr) auto !important; align-items:center !important; gap:12px !important;
  padding:12px 14px !important; border-radius:18px !important; border:1px solid rgba(137,196,255,.16) !important;
  background:linear-gradient(90deg, rgba(110,198,255,.11), transparent 48%), linear-gradient(180deg, rgba(11,23,38,.74), rgba(6,12,22,.54)) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.055), 0 10px 30px rgba(0,0,0,.16) !important;
  position:relative !important; z-index:1 !important;
}
body[data-page="home"] .rss-ro-toolbar::before{content:"";position:absolute;left:0;top:10px;bottom:10px;width:3px;border-radius:999px;background:linear-gradient(180deg, rgba(112,204,255,.90), rgba(255,214,151,.48));pointer-events:none;}
body[data-page="home"] .rss-ro-toolbar__main{min-width:0 !important;display:grid !important;gap:6px !important;}
body[data-page="home"] .rss-ro-toolbar__line{min-width:0 !important;display:flex !important;align-items:center !important;gap:8px !important;flex-wrap:wrap !important;color:rgba(232,243,252,.92) !important;font-size:.84rem !important;line-height:1.35 !important;}
body[data-page="home"] .rss-ro-toolbar__line strong{font-weight:750 !important;}
body[data-page="home"] .rss-ro-toolbar__scope{min-width:0 !important;max-width:100% !important;color:rgba(196,215,231,.74) !important;overflow:hidden !important;text-overflow:ellipsis !important;white-space:nowrap !important;}
body[data-page="home"] .rss-ro-toolbar__chips{min-width:0 !important;display:flex !important;align-items:center !important;gap:7px !important;flex-wrap:wrap !important;}
body[data-page="home"] .rss-ro-toolbar__chips span{display:inline-flex !important;align-items:center !important;min-height:22px !important;max-width:100% !important;padding:3px 7px !important;border-radius:999px !important;border:1px solid rgba(255,255,255,.07) !important;background:rgba(255,255,255,.035) !important;color:rgba(196,215,231,.74) !important;font-size:.72rem !important;line-height:1.15 !important;white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important;}
body[data-page="home"] .rss-ro-refresh-btn{appearance:none !important;align-self:center !important;justify-self:end !important;min-width:112px !important;min-height:36px !important;height:auto !important;padding:0 14px !important;border-radius:999px !important;border:1px solid rgba(118,190,255,.28) !important;background:linear-gradient(180deg, rgba(82,157,225,.26), rgba(39,83,132,.17)) !important;box-shadow:inset 0 1px 0 rgba(255,255,255,.075), 0 8px 22px rgba(0,0,0,.18) !important;color:#eaf7ff !important;font:inherit !important;font-size:.80rem !important;font-weight:750 !important;line-height:1 !important;white-space:nowrap !important;cursor:pointer !important;position:relative !important;z-index:2 !important;}
body[data-page="home"] .rss-ro-refresh-btn[aria-busy="true"]{opacity:.74 !important;cursor:default !important;}
@media (max-width:760px){
  body[data-page="home"] .rss-ro-toolbar{grid-template-columns:1fr !important;gap:9px !important;padding:11px 12px !important;border-radius:16px !important;}
  body[data-page="home"] .rss-ro-toolbar__line{font-size:.76rem !important;gap:6px !important;}
  body[data-page="home"] .rss-ro-toolbar__scope{flex-basis:100% !important;white-space:normal !important;line-height:1.25 !important;}
  body[data-page="home"] .rss-ro-toolbar__chips{display:grid !important;grid-template-columns:repeat(2, minmax(0, 1fr)) !important;gap:5px !important;}
  body[data-page="home"] .rss-ro-toolbar__chips span{min-height:20px !important;padding:3px 6px !important;font-size:.62rem !important;}
  body[data-page="home"] .rss-ro-refresh-btn{width:100% !important;min-height:36px !important;justify-self:stretch !important;padding:0 12px !important;}
}

/* Phase 6 source-feed cards and settings selector */
.settings-shell-section--source-feed .settings-section-heading-main h3{
  color:rgba(255,232,150,.96);
}
.settings-source-feed-panel{
  display:grid;
  gap:.78rem;
}
.settings-source-feed-panel__help{
  margin:.1rem 0 0;
  color:rgba(226,238,255,.76);
  font-size:.82rem;
  line-height:1.45;
}
.settings-search--source{
  width:100%;
}
.settings-source-feed-panel__block{
  display:grid;
  gap:.5rem;
  padding:.7rem;
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  background:linear-gradient(135deg, rgba(10,24,44,.46), rgba(21,42,74,.28));
}
.settings-source-feed-panel__block h4{
  margin:0;
  font-size:.78rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:rgba(255,232,150,.92);
}
.settings-source-list{
  display:grid;
  gap:.42rem;
  max-height:310px;
  overflow:auto;
  padding-right:.12rem;
}
.settings-source-list--selected{
  max-height:190px;
}
.settings-source-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:.65rem;
  align-items:center;
  padding:.56rem .62rem;
  border:1px solid rgba(255,255,255,.10);
  border-radius:15px;
  background:rgba(255,255,255,.024);
}
.settings-source-row.is-selected{
  border-color:rgba(255,220,130,.28);
  background:rgba(255,220,130,.07);
}
.settings-source-row__main{
  min-width:0;
  display:grid;
  gap:.18rem;
}
.settings-source-row__label{
  font-weight:700;
  font-size:.86rem;
  color:rgba(245,249,255,.96);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.settings-source-row__meta{
  font-size:.72rem;
  color:rgba(205,221,243,.62);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.settings-source-row__chips{
  display:flex;
  flex-wrap:wrap;
  gap:.25rem;
}
.settings-source-row__chips span{
  font-size:.64rem;
  line-height:1;
  padding:.22rem .36rem;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.11);
  color:rgba(221,234,255,.72);
  background:rgba(255,255,255,.024);
}

.settings-source-row.is-added .settings-mini-btn--added{
  opacity:1;
  cursor:default;
  color:rgba(232,214,164,.92);
  border-color:rgba(232,214,164,.24);
  background:rgba(232,214,164,.08);
}
/* r9126 — Ticker Discovery launches from the section heading; no redundant body pills. */
body[data-page="home"] .settings-shell-section[data-settings-section="discovery"] .settings-section-heading-row--discovery{
  cursor:pointer;
}
body[data-page="home"] .settings-shell-section[data-settings-section="discovery"] .settings-section-heading-row--discovery:hover h3,
body[data-page="home"] .settings-shell-section[data-settings-section="discovery"] .settings-section-heading-row--discovery:focus-visible h3{
  color:rgba(255,236,181,.98) !important;
}
body[data-page="home"] .settings-shell-section[data-settings-section="discovery"] .settings-section-toggle,
body[data-page="home"] .settings-shell-section[data-settings-section="discovery"] .settings-section-controls{
  display:none !important;
}
/* CCR Source Feed consolidated card and overlay styles — Phase 2 cleanup, 2026-04-26 */
body[data-page="home"] .selected-source-feed-section{
  margin-top:14px;
  margin-bottom:18px;
  padding:24px;
  gap:16px;
  border:1px solid rgba(255,255,255,.066);
  border-radius:var(--radius);
  background:linear-gradient(180deg,rgba(255,255,255,.018),rgba(255,255,255,.009));
  box-shadow:0 16px 40px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.026);
  overflow:hidden;
}
body[data-page="home"] .selected-source-feed-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  align-items:stretch;
}
body[data-page="home"] .selected-source-feed-section[data-source-feed-empty="true"] .selected-source-feed-grid{
  grid-template-columns:minmax(260px,360px);
  justify-content:center;
  align-items:center;
}
body[data-page="home"] .selected-source-feed-section[data-source-feed-empty="true"] .source-feed-add-card{
  width:100%;
  min-height:214px;
}
body[data-page="home"] .selected-source-feed-section .source-feed-card{
  position:relative;
  min-height:214px;
  display:flex;
  flex-direction:column;
  gap:.54rem;
  padding:.92rem .98rem;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.070);
  background:linear-gradient(180deg,rgba(255,255,255,.022),rgba(255,255,255,.010));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.024),0 10px 24px rgba(0,0,0,.12);
  overflow:hidden;
  transition:border-color var(--fast), box-shadow var(--fast), background var(--fast), transform var(--fast);
}
body[data-page="home"] .selected-source-feed-section .source-feed-card:hover{
  transform:translateY(-1px);
  border-color:rgba(255,255,255,.105);
  background:linear-gradient(180deg,rgba(255,255,255,.030),rgba(255,255,255,.014));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.032),0 13px 30px rgba(0,0,0,.16);
}
body[data-page="home"] .selected-source-feed-section .source-feed-card::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:1px;
  opacity:.32;
  background:linear-gradient(180deg,rgba(232,214,164,.34),rgba(141,171,194,.06));
}
body[data-page="home"] .selected-source-feed-section .source-feed-source-card{
  padding:0;
  position:relative;
}
body[data-page="home"] .selected-source-feed-section .source-feed-source-card__button{
  width:100%;
  min-height:214px;
  display:grid;
  gap:.56rem;
  padding:1rem 5.5rem 1.05rem 1rem;
  color:inherit;
  text-align:left;
  border:0;
  background:transparent;
  cursor:pointer;
  font:inherit;
}
body[data-page="home"] .selected-source-feed-section .source-feed-source-card__button:hover,
body[data-page="home"] .selected-source-feed-section .source-feed-source-card__button:focus-visible{
  background:rgba(255,255,255,.012);
}
body[data-page="home"] .selected-source-feed-section .source-feed-source-card__button:hover h3,
body[data-page="home"] .selected-source-feed-section .source-feed-source-card__button:focus-visible h3{
  color:rgba(243,228,234,.98);
}
body[data-page="home"] .selected-source-feed-section .source-feed-source-card__button:focus-visible{
  outline:1px solid rgba(232,214,164,.42);
  outline-offset:-4px;
  border-radius:20px;
}
body[data-page="home"] .selected-source-feed-section .source-feed-card__kicker{
  display:flex;
  align-items:center;
  gap:.45rem;
  flex-wrap:wrap;
  min-width:0;
  margin-bottom:.08rem;
  font-size:.66rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:rgba(207,222,239,.66);
}
body[data-page="home"] .selected-source-feed-section .source-feed-card__kicker span{
  padding:.22rem .44rem;
  border-radius:999px;
  border:1px solid rgba(232,214,164,.10);
  color:rgba(232,214,164,.58);
  background:rgba(255,255,255,.018);
  letter-spacing:.085em;
}
body[data-page="home"] .selected-source-feed-section .source-feed-card__kicker strong{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:rgba(205,218,234,.60);
  font-size:.68rem;
  letter-spacing:.06em;
}
body[data-page="home"] .selected-source-feed-section .source-feed-card h3{
  margin:0;
  margin-top:.06rem;
  color:var(--ccr-card-headline-color,#e2c3cc) !important;
  filter:brightness(var(--ccr-card-headline-brightness,100%));
  opacity:var(--ccr-card-headline-opacity,1);
  font-weight:var(--ccr-card-headline-weight,600) !important;
  font-size:var(--ccr-card-headline-size,1rem) !important;
  line-height:1.24;
  letter-spacing:-.012em;
}
body[data-page="home"] .selected-source-feed-section .source-feed-card p{
  margin:0;
  color:var(--ccr-card-subtext-color,rgba(233,240,247,.70)) !important;
  filter:brightness(var(--ccr-card-subtext-brightness,100%));
  opacity:var(--ccr-card-subtext-opacity,.70);
  font-weight:var(--ccr-card-subtext-weight,500) !important;
  font-size:var(--ccr-card-subtext-size,.84rem) !important;
  line-height:1.46;
}
body[data-page="home"] .selected-source-feed-section .source-feed-card__latest{
  color:var(--ccr-card-subtext-color,rgba(226,236,247,.70)) !important;
  filter:brightness(var(--ccr-card-subtext-brightness,100%));
  opacity:var(--ccr-card-subtext-opacity,.70);
  font-weight:var(--ccr-card-subtext-weight,500) !important;
  font-size:var(--ccr-card-subtext-size,.82rem) !important;
  line-height:1.42;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
body[data-page="home"] .selected-source-feed-section .source-feed-card__meta{
  display:flex;
  flex-wrap:wrap;
  gap:.32rem;
  color:var(--ccr-card-subtext-color,rgba(226,236,247,.70)) !important;
  filter:brightness(var(--ccr-card-subtext-brightness,100%));
  opacity:var(--ccr-card-subtext-opacity,.70);
  font-weight:var(--ccr-card-subtext-weight,500) !important;
  font-size:var(--ccr-card-subtext-size,.82rem) !important;
}
body[data-page="home"] .selected-source-feed-section .source-feed-card__meta--compact{
  gap:.34rem;
  margin-top:.08rem;
}
body[data-page="home"] .selected-source-feed-section .source-feed-card__meta span{
  font-size:.67rem;
  line-height:1;
  padding:.25rem .42rem;
  border-radius:999px;
  color:rgba(220,234,255,.68);
  background:rgba(255,255,255,.024);
  border:1px solid rgba(255,255,255,.075);
}
body[data-page="home"] .selected-source-feed-section .source-feed-card__meta--compact span{
  padding:.23rem .46rem;
  color:rgba(210,224,242,.62);
  background:rgba(255,255,255,.034);
  border-color:rgba(255,255,255,.072);
  font-size:.68rem;
}
body[data-page="home"] .selected-source-feed-section .source-feed-card__meta--compact .source-feed-card__meta-primary{
  color:rgba(210,224,242,.54);
  background:rgba(255,255,255,.020);
}
body[data-page="home"] .selected-source-feed-section .source-feed-card__link{
  justify-self:start;
  margin-top:auto;
  color:rgba(232,214,164,.66);
  font-size:.78rem;
  font-weight:700;
  text-decoration:none;
}
body[data-page="home"] .selected-source-feed-section .source-feed-card__link:hover{
  color:rgba(243,228,234,.96);
  text-decoration:underline;
}
body[data-page="home"] .selected-source-feed-section .source-feed-card__link--button{
  display:inline-flex;
  align-items:center;
  gap:.3rem;
}
body[data-page="home"] .selected-source-feed-section .source-feed-remove-btn{
  position:absolute;
  top:16px;
  right:16px;
  z-index:4;
  appearance:none;
  border:1px solid rgba(226,232,240,.095);
  border-radius:999px;
  background:rgba(11,18,26,.24);
  color:rgba(215,224,234,.50);
  padding:4px 8px;
  font-size:.62rem;
  font-weight:700;
  letter-spacing:.065em;
  text-transform:uppercase;
  cursor:pointer;
  box-shadow:none;
  transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease;
}
body[data-page="home"] .selected-source-feed-section .source-feed-remove-btn:hover,
body[data-page="home"] .selected-source-feed-section .source-feed-remove-btn:focus-visible{
  background:rgba(50,24,28,.34);
  border-color:rgba(244,157,164,.20);
  color:rgba(255,218,220,.78);
  transform:translateY(-1px);
  outline:none;
}
body[data-page="home"] .source-feed-add-card{
  min-height:214px;
  display:flex;
  align-items:stretch;
  justify-content:center;
  border-style:dashed;
  border-color:rgba(180,205,235,.24);
  background:linear-gradient(145deg, rgba(10,17,29,.44), rgba(24,35,52,.30));
}
body[data-page="home"] .source-feed-add-card::before{
  opacity:.22;
}
body[data-page="home"] .source-feed-add-card__button{
  width:100%;
  min-height:100%;
  border:0;
  background:transparent;
  color:rgba(235,242,255,.84);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:9px;
  text-align:center;
  cursor:pointer;
  border-radius:inherit;
  font-family:inherit;
}
body[data-page="home"] .source-feed-add-card__plus{
  width:42px;
  height:42px;
  border-radius:999px;
  display:grid;
  place-items:center;
  font-size:1.45rem;
  line-height:1;
  color:rgba(250,219,150,.92);
  border:1px solid rgba(250,219,150,.28);
  background:rgba(250,219,150,.07);
  box-shadow:0 16px 34px rgba(0,0,0,.18);
}
body[data-page="home"] .source-feed-add-card__button strong{
  font-size:.96rem;
  letter-spacing:.08em;
  text-transform:uppercase;
}
body[data-page="home"] .source-feed-add-card__button em{
  max-width:220px;
  font-style:normal;
  color:rgba(203,216,235,.58);
  font-size:.78rem;
  line-height:1.45;
}
body[data-page="home"] .source-feed-add-card__button:hover .source-feed-add-card__plus,
body[data-page="home"] .source-feed-add-card__button:focus-visible .source-feed-add-card__plus{
  transform:translateY(-1px);
  color:rgba(255,236,188,.98);
  border-color:rgba(250,219,150,.46);
  background:rgba(250,219,150,.12);
}
.source-feed-empty{
  padding:1rem;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  color:rgba(226,238,255,.72);
  background:rgba(255,255,255,.035);
}
.source-feed-overlay-open{
  overflow:hidden;
}
.source-feed-overlay-layer{
  position:fixed;
  inset:0;
  z-index:95;
  display:grid;
  place-items:center;
  padding:clamp(14px,3vw,34px);
}
.source-feed-overlay-layer[hidden]{
  display:none;
}
.source-feed-overlay-backdrop{
  position:absolute;
  inset:0;
  background:rgba(5,10,18,.42);
  backdrop-filter:blur(9px) saturate(1.08);
}
.source-feed-overlay-card{
  position:relative;
  width:min(920px,100%);
  max-height:min(82vh,860px);
  display:grid;
  border-radius:var(--radius);
  border:1px solid rgba(214,229,248,.13);
  background:
    radial-gradient(circle at 18% 0%, rgba(124,160,205,.075), transparent 34%),
    linear-gradient(180deg, rgba(24,36,50,.86), rgba(8,14,23,.80));
  box-shadow:0 30px 82px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.052);
  backdrop-filter:blur(13px) saturate(1.08);
  overflow:hidden;
}
.source-feed-overlay-close{
  position:absolute;
  top:12px;
  right:12px;
  z-index:2;
  background:rgba(255,255,255,.024);
  border-color:rgba(255,255,255,.10);
}
.source-feed-overlay-scroll{
  max-height:min(82vh,860px);
  overflow:auto;
  padding:1.3rem;
}
.source-feed-overlay-header{
  display:grid;
  gap:.38rem;
  padding:0 2.8rem 1rem 0;
  border-bottom:1px solid rgba(255,255,255,.085);
  margin-bottom:1rem;
}
.source-feed-overlay-header p{
  margin:0;
  color:rgba(232,214,164,.78);
  font-size:.70rem;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.source-feed-overlay-header h2{
  margin:0;
  color:rgba(243,228,234,.96);
  font-size:clamp(1.25rem,2.6vw,1.85rem);
  line-height:1.12;
}
.source-feed-overlay-meta{
  display:flex;
  flex-wrap:wrap;
  gap:.35rem;
}
.source-feed-overlay-meta span{
  padding:.25rem .48rem;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.085);
  color:rgba(220,234,255,.68);
  background:rgba(255,255,255,.024);
  font-size:.7rem;
}
.source-feed-overlay-list{
  display:grid;
  gap:.72rem;
}
.source-feed-overlay-item{
  display:grid;
  gap:.34rem;
  padding:.86rem .9rem;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.085);
  background:linear-gradient(180deg,rgba(255,255,255,.032),rgba(255,255,255,.018));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
}
.source-feed-overlay-item__meta{
  display:flex;
  flex-wrap:wrap;
  gap:.28rem;
  color:rgba(205,221,243,.62);
  font-size:.68rem;
}
.source-feed-overlay-item h4{
  margin:0;
  color:rgba(243,228,234,.94);
  font-size:.96rem;
  line-height:1.32;
}
.source-feed-overlay-item h4 a{
  color:inherit;
  text-decoration:none;
}
.source-feed-overlay-item h4 a:hover{
  color:rgba(243,228,234,.98);
}
.source-feed-overlay-item p{
  margin:0;
  color:rgba(233,240,247,.70);
  font-size:.82rem;
  line-height:1.45;
}
.source-feed-overlay-item__link{
  justify-self:start;
  color:rgba(232,214,164,.84);
  font-size:.78rem;
  font-weight:800;
  text-decoration:none;
}
.source-feed-overlay-item__link:hover{
  color:rgba(243,228,234,.96);
  text-decoration:underline;
}
.rss-universe-row__state{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:.45rem;
  flex-wrap:wrap;
}
.rss-create-source-btn{
  border:1px solid rgba(255,224,145,.36);
  border-radius:999px;
  padding:.34rem .58rem;
  color:rgba(255,232,160,.98);
  background:rgba(255,216,119,.10);
  font-size:.68rem;
  line-height:1;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
  cursor:pointer;
  white-space:nowrap;
}
.rss-create-source-btn:hover,
.rss-create-source-btn:focus-visible{
  background:rgba(255,216,119,.18);
  border-color:rgba(255,224,145,.55);
}
.rss-create-source-btn:disabled{
  cursor:default;
  opacity:.62;
}
.rss-create-source-btn.is-created{
  color:rgba(196,232,204,.95);
  border-color:rgba(147,220,166,.35);
  background:rgba(92,194,126,.10);
}
.rss-create-source-btn.is-remove{
  border-color:rgba(244,211,138,.44);
  background:rgba(244,211,138,.11);
  color:#f4d38a;
}
.rss-create-source-btn.is-remove:hover,
.rss-create-source-btn.is-remove:focus-visible{
  background:rgba(244,211,138,.18);
  border-color:rgba(244,211,138,.56);
  color:#f4d38a;
}
@media (max-width:1180px){
  body[data-page="home"] .selected-source-feed-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media (max-width:760px){
  .settings-source-row{
    grid-template-columns:1fr;
    gap:.48rem;
  }
  .settings-source-row .settings-mini-btn{
    justify-self:start;
  }
  body[data-page="home"] .selected-source-feed-section{
    padding:14px;
    margin-top:10px;
    margin-bottom:14px;
  }
  body[data-page="home"] .selected-source-feed-grid,
  body[data-page="home"] .selected-source-feed-section[data-source-feed-empty="true"] .selected-source-feed-grid{
    grid-template-columns:1fr;
  }
  body[data-page="home"] .selected-source-feed-section .source-feed-card,
  body[data-page="home"] .selected-source-feed-section .source-feed-source-card__button{
    min-height:0;
  }
  body[data-page="home"] .selected-source-feed-section .source-feed-source-card__button{
    padding:.92rem 4.9rem 1rem .86rem;
  }
  body[data-page="home"] .selected-source-feed-section .source-feed-remove-btn{
    top:12px;
    right:12px;
    padding:4px 9px;
  }
  .rss-universe-row__state{
    justify-content:flex-start;
  }
  .source-feed-overlay-layer{
    padding:10px;
  }
  .source-feed-overlay-card{
    max-height:88vh;
    border-radius:22px;
  }
  .source-feed-overlay-scroll{
    max-height:88vh;
    padding:1rem;
  }
}

/* Keyword-only home search refinement */
body[data-page="home"] .filter-grid--keyword-only{
  grid-template-columns:minmax(240px,560px);
  justify-content:center;
}
body[data-page="home"] .filter-group--keyword-only{
  max-width:560px;
  width:100%;
}
@media (max-width:760px){
  body[data-page="home"] .filter-grid--keyword-only{
    grid-template-columns:1fr;
  }
}


/* CCR dark-theme scrollbar alignment — added 2026-04-26 */
body[data-page="home"],
body[data-page="home"] *{
  scrollbar-width:thin;
  scrollbar-color:rgba(128,148,176,.48) rgba(5,10,18,.34);
}
body[data-page="home"]::-webkit-scrollbar,
body[data-page="home"] *::-webkit-scrollbar{
  width:10px;
  height:10px;
}
body[data-page="home"]::-webkit-scrollbar-track,
body[data-page="home"] *::-webkit-scrollbar-track{
  background:rgba(5,10,18,.34);
  border-radius:999px;
}
body[data-page="home"]::-webkit-scrollbar-thumb,
body[data-page="home"] *::-webkit-scrollbar-thumb{
  background:linear-gradient(180deg,rgba(141,160,190,.54),rgba(74,91,118,.56));
  border:2px solid rgba(5,10,18,.36);
  border-radius:999px;
}
body[data-page="home"]::-webkit-scrollbar-thumb:hover,
body[data-page="home"] *::-webkit-scrollbar-thumb:hover{
  background:linear-gradient(180deg,rgba(165,185,214,.68),rgba(93,112,142,.70));
}
body[data-page="home"]::-webkit-scrollbar-corner,
body[data-page="home"] *::-webkit-scrollbar-corner{
  background:rgba(5,10,18,.34);
}

/* Keyword input centering */
body[data-page="home"] .filter-group--keyword-only label,
body[data-page="home"] .filter-group--keyword-only input,
body[data-page="home"] .filter-group--keyword-only input::placeholder{
  text-align:center;
}
/* Search visual balance pass — 2026-04-26 */
body[data-page="home"] .current-feed-title-row{
  justify-content:center;
  margin-top:12px;
  margin-bottom:8px;
}
body[data-page="home"] .current-feed-title-row h2{
  color:rgba(188,211,232,.78);
  font-size:.92rem;
  font-weight:500;
  letter-spacing:.01em;
}
body[data-page="home"] #homeFilterForm{
  display:grid;
  grid-template-columns:minmax(240px,520px) auto;
  justify-content:center;
  align-items:end;
  gap:12px;
}
body[data-page="home"] .filter-box{
  max-width:760px;
  margin:0 auto;
  padding:14px 16px 15px;
  border-radius:22px;
  background:linear-gradient(180deg,rgba(255,255,255,.014),rgba(255,255,255,.006));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.018),0 10px 24px rgba(0,0,0,.10);
}
body[data-page="home"] .filter-grid--keyword-only{
  grid-template-columns:1fr;
  width:100%;
}
body[data-page="home"] .filter-group--keyword-only{
  max-width:none;
}
body[data-page="home"] .filter-group--keyword-only label{
  color:rgba(220,228,236,.46) !important;
  font-size:.74rem;
  margin-bottom:-1px;
}
body[data-page="home"] .filter-group--keyword-only input{
  min-height:42px;
  border-radius:12px;
  background:rgba(10,18,26,.36) !important;
}
body[data-page="home"] .filter-actions{
  margin-top:0;
  align-self:end;
  flex-wrap:nowrap;
}
body[data-page="home"] .filter-actions .ui-btn{
  min-height:38px;
  padding:.52rem .78rem;
  white-space:nowrap;
}
@media (max-width:760px){
  body[data-page="home"] #homeFilterForm{
    grid-template-columns:1fr;
    gap:10px;
  }
  body[data-page="home"] .filter-box{
    max-width:none;
    padding:13px;
  }
  body[data-page="home"] .filter-actions{
    justify-content:center;
  }
}
/* Portfolio ranking — consolidated professional panel (Phase 3 cleanup) */
body[data-page="home"] .portfolio-ranking-section .portfolio-shell-section__body{
  background:linear-gradient(180deg, rgba(255,255,255,.026), rgba(255,255,255,.012));
}
body[data-page="home"] .portfolio-ranking-panel{
  display:grid;
  gap:14px;
}
body[data-page="home"] .portfolio-ranking-hero{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
  padding:18px;
  border:1px solid rgba(214,229,248,.105);
  border-radius:22px;
  background:linear-gradient(135deg, rgba(19,30,45,.70), rgba(9,16,28,.48));
  box-shadow:0 18px 44px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.035);
}
body[data-page="home"] .portfolio-ranking-hero p{
  margin:0 0 6px;
  color:rgba(222,232,247,.62);
  font-size:.78rem;
  letter-spacing:.04em;
}
body[data-page="home"] .portfolio-ranking-hero h3{
  margin:0;
  font-size:clamp(1.3rem, 3vw, 2.1rem);
  color:rgba(245,248,255,.96);
  letter-spacing:.02em;
}
body[data-page="home"] .portfolio-ranking-hero h3 span{
  color:rgba(223,235,248,.92);
  text-shadow:none;
}
body[data-page="home"] .portfolio-ranking-hero small{
  display:block;
  margin-top:7px;
  color:rgba(194,207,228,.58);
}
body[data-page="home"] .portfolio-ranking-podium{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:12px;
}
body[data-page="home"] .portfolio-ranking-podium-card{
  position:relative;
  overflow:hidden;
  min-height:122px;
  padding:16px;
  border:1px solid rgba(214,229,248,.095);
  border-radius:22px;
  background:linear-gradient(145deg, rgba(18,28,42,.64), rgba(8,14,25,.43));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.028);
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  gap:7px;
}
body[data-page="home"] .portfolio-ranking-podium-card.is-rank-1{
  background:linear-gradient(145deg, rgba(28,35,43,.68), rgba(9,15,26,.46));
  border-color:rgba(232,214,164,.18);
}
body[data-page="home"] .portfolio-ranking-medal{
  width:42px;
  height:42px;
  border-radius:999px;
  display:grid;
  place-items:center;
  font-size:.86rem;
  font-weight:800;
  letter-spacing:.04em;
  color:rgba(232,238,248,.88);
  border:1px solid rgba(214,229,248,.12);
  background:rgba(255,255,255,.035);
  filter:none;
}
body[data-page="home"] .portfolio-ranking-podium-card.is-rank-1 .portfolio-ranking-medal{
  color:rgba(238,222,180,.92);
  border-color:rgba(232,214,164,.22);
  background:rgba(232,214,164,.060);
}
body[data-page="home"] .portfolio-ranking-podium-card strong{
  font-size:1.05rem;
  color:rgba(248,251,255,.95);
  letter-spacing:.08em;
}
body[data-page="home"] .portfolio-ranking-podium-card b{
  font-size:1.05rem;
}
body[data-page="home"] .portfolio-ranking-podium-card small{
  color:rgba(202,216,235,.58);
}
body[data-page="home"] .portfolio-ranking-podium-card em,
body[data-page="home"] .portfolio-ranking-row__name span{
  font-style:normal;
  font-size:.68rem;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:rgba(250,219,150,.86);
}
body[data-page="home"] .portfolio-ranking-list{
  display:grid;
  gap:8px;
}
body[data-page="home"] .portfolio-ranking-row{
  display:grid;
  grid-template-columns:58px minmax(110px,1fr) repeat(3, minmax(84px,.54fr));
  align-items:center;
  gap:10px;
  padding:11px 13px;
  border-radius:18px;
  border:1px solid rgba(214,229,248,.075);
  background:rgba(7,13,24,.30);
}
body[data-page="home"] .portfolio-ranking-row.is-current,
body[data-page="home"] .portfolio-ranking-podium-card.is-current{
  border-color:rgba(232,214,164,.22);
  box-shadow:0 0 0 1px rgba(232,214,164,.055), 0 16px 36px rgba(0,0,0,.15);
}
body[data-page="home"] .portfolio-ranking-row__rank{
  font-weight:800;
  color:rgba(210,224,242,.72);
  letter-spacing:.08em;
}
body[data-page="home"] .portfolio-ranking-row__name{
  display:flex;
  flex-direction:column;
  gap:2px;
}
body[data-page="home"] .portfolio-ranking-row__name strong{
  color:rgba(242,247,255,.94);
  letter-spacing:.05em;
}
body[data-page="home"] .portfolio-ranking-row__metric{
  text-align:right;
}
body[data-page="home"] .portfolio-ranking-row__metric small{
  display:block;
  color:rgba(197,211,231,.52);
  font-size:.68rem;
  text-transform:uppercase;
  letter-spacing:.08em;
}
body[data-page="home"] .portfolio-ranking-row__metric b{
  color:rgba(235,242,255,.90);
  font-size:.86rem;
}
body[data-page="home"] .portfolio-ranking-row .is-up,
body[data-page="home"] .portfolio-ranking-podium-card .is-up{
  color:rgba(134,239,172,.95);
}
body[data-page="home"] .portfolio-ranking-row .is-down,
body[data-page="home"] .portfolio-ranking-podium-card .is-down{
  color:rgba(252,165,165,.92);
}
body[data-page="home"] .portfolio-ranking-actions{
  justify-content:center;
}
@media (max-width: 760px){
  body[data-page="home"] .portfolio-ranking-hero{
    flex-direction:column;
    align-items:stretch;
  }
  body[data-page="home"] .portfolio-ranking-podium{
    grid-template-columns:1fr;
  }
  body[data-page="home"] .portfolio-ranking-row{
    grid-template-columns:44px minmax(0,1fr);
  }
  body[data-page="home"] .portfolio-ranking-row__metric{
    text-align:left;
  }
}


/* CCR RSS news search result cards — RSS Search v1, 2026-04-26 */
body[data-page="home"] .rss-search-results{
  margin-top:22px;
}
body[data-page="home"] .rss-search-results[hidden]{
  display:none;
}
body[data-page="home"] .rss-search-results__summary{
  max-width:980px;
  margin:0 auto 14px;
  text-align:center;
  color:rgba(219,230,247,.78);
  font-size:.86rem;
  letter-spacing:.02em;
}
body[data-page="home"] .rss-search-results__grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  align-items:stretch;
}
body[data-page="home"] .rss-search-card{
  position:relative;
  display:flex;
  flex-direction:column;
  gap:10px;
  min-height:100%;
  padding:18px 18px 16px 20px;
  border-radius:22px;
  border:1px solid rgba(189,210,239,.12);
  background:
    linear-gradient(145deg,rgba(17,28,45,.24),rgba(6,12,23,.18)),
    rgba(8,15,27,.14);
  box-shadow:0 16px 34px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.035);
  backdrop-filter:blur(14px) saturate(108%);
  -webkit-backdrop-filter:blur(14px) saturate(108%);
  overflow:hidden;
}
body[data-page="home"] .rss-search-card::before{
  content:"";
  position:absolute;
  inset:14px auto 14px 0;
  width:3px;
  border-radius:999px;
  background:linear-gradient(180deg,rgba(127,181,255,.24),rgba(242,207,121,.16),rgba(255,255,255,0));
  opacity:.58;
}
body[data-page="home"] .rss-search-card:hover{
  border-color:rgba(205,224,249,.16);
  background:
    linear-gradient(145deg,rgba(20,33,52,.28),rgba(6,12,23,.20)),
    rgba(8,15,27,.16);
}
body[data-page="home"] .rss-search-card__kicker{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  color:rgba(200,214,235,.62);
  font-size:.68rem;
  letter-spacing:.08em;
  text-transform:uppercase;
}
body[data-page="home"] .rss-search-card__kicker span{
  border:1px solid rgba(139,177,232,.16);
  background:rgba(88,128,184,.05);
  color:rgba(214,227,248,.72);
  border-radius:999px;
  padding:3px 8px;
}
body[data-page="home"] .rss-search-card__kicker strong{
  font-weight:700;
  color:rgba(231,238,250,.82);
  text-transform:none;
  letter-spacing:.03em;
}
body[data-page="home"] .rss-search-card__title{
  margin:0;
  color:rgba(246,249,255,.96);
  font-size:clamp(1rem,1.35vw,1.16rem);
  line-height:1.34;
  letter-spacing:.01em;
}
body[data-page="home"] .rss-search-card__meta{
  color:rgba(188,205,229,.64);
  font-size:.78rem;
  line-height:1.35;
}
body[data-page="home"] .rss-search-card__summary{
  margin:0;
  color:rgba(215,226,242,.74);
  font-size:.86rem;
  line-height:1.55;
}
body[data-page="home"] .rss-search-card__categories{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:auto;
}
body[data-page="home"] .rss-search-card__categories span{
  border:1px solid rgba(207,222,244,.14);
  background:rgba(255,255,255,.024);
  color:rgba(205,218,238,.60);
  border-radius:999px;
  padding:4px 8px;
  font-size:.68rem;
  line-height:1;
}
body[data-page="home"] .rss-search-card__link{
  align-self:flex-start;
  margin-top:2px;
  color:rgba(243,211,139,.92);
  font-weight:700;
  font-size:.82rem;
  text-decoration:none;
}
body[data-page="home"] .rss-search-card__link:hover,
body[data-page="home"] .rss-search-card__link:focus-visible{
  color:rgba(255,232,176,.98);
  text-decoration:underline;
}
body[data-page="home"] .rss-search-highlight{
  color:rgba(255,236,182,.98);
  background:rgba(245,196,88,.18);
  border-radius:5px;
  padding:0 2px;
}
body[data-page="home"] .rss-search-empty{
  grid-column:1/-1;
  text-align:center;
  border:1px dashed rgba(183,203,232,.18);
  border-radius:20px;
  background:rgba(10,18,31,.22);
  color:rgba(219,230,247,.76);
  padding:22px;
  backdrop-filter:blur(10px) saturate(115%);
  -webkit-backdrop-filter:blur(10px) saturate(115%);
}
body[data-page="home"] .rss-search-results__actions{
  display:flex;
  justify-content:center;
  margin-top:18px;
}
body[data-page="home"] .rss-search-show-more[hidden]{
  display:none;
}
@media (max-width:980px){
  body[data-page="home"] .rss-search-results__grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media (max-width:640px){
  body[data-page="home"] .rss-search-results__grid{
    grid-template-columns:1fr;
  }
  body[data-page="home"] .rss-search-card{
    padding:16px;
  }
}
@media (max-width:760px), (hover:none), (pointer:coarse){
  .rss-archive-folder-chip--group,
  .rss-archive-move-option--group,
  .rss-archive-overlay__grid--group{
    display:none !important;
  }
}

/* CCR Search symmetry pass — 2026-04-26
   Overlay-depth values were consolidated into the base overlay rules above. */
body[data-page="home"] #homeFilterForm{
  grid-template-columns:minmax(260px, 560px) !important;
  justify-items:center !important;
  align-items:center !important;
  gap:10px !important;
}
body[data-page="home"] #homeFilterForm .filter-grid--keyword-only,
body[data-page="home"] #homeFilterForm .filter-actions{
  width:100%;
  max-width:560px;
}
body[data-page="home"] #homeFilterForm .filter-actions{
  justify-content:center !important;
  margin-top:2px !important;
}
body[data-page="home"] #homeFilterForm .filter-actions .ui-btn{
  min-width:116px;
}
@media (max-width:760px){
  body[data-page="home"] #homeFilterForm,
  body[data-page="home"] #homeFilterForm .filter-grid--keyword-only,
  body[data-page="home"] #homeFilterForm .filter-actions{
    max-width:none;
  }
}


/* SO Source Feed full-universe selector clarity — 2026-04-26 */
.settings-source-feed-panel__stats{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:.42rem;
  width:100%;
  padding:.48rem .62rem;
  border:1px solid rgba(255,220,130,.16);
  border-radius:14px;
  background:rgba(255,220,130,.055);
  color:rgba(255,236,178,.90);
  font-size:.74rem;
  line-height:1.35;
  font-weight:700;
}
.settings-source-feed-public-status{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:.42rem .55rem;
  width:100%;
  padding:.5rem .64rem;
  border:1px solid rgba(255,255,255,.09);
  border-radius:15px;
  background:linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.020));
  color:rgba(239,246,255,.90);
  font-size:.75rem;
  line-height:1.35;
}
.settings-source-feed-public-status__label{
  color:rgba(232,214,164,.94);
  font-weight:800;
  letter-spacing:.045em;
  text-transform:uppercase;
}
.settings-source-feed-public-status__count{
  display:inline-flex;
  align-items:center;
  min-height:1.45rem;
  padding:.18rem .55rem;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.08);
  color:rgba(255,255,255,.96);
  font-weight:800;
}
.settings-source-feed-public-status__local{
  color:rgba(205,218,234,.72);
  font-weight:650;
}
.settings-source-feed-panel.is-public-mode .settings-source-feed-panel__help{
  margin:.1rem 0 .12rem;
  color:rgba(213,224,238,.78);
  font-size:.78rem;
  line-height:1.42;
}
.settings-mini-btn--locked{
  border-color:rgba(255,255,255,.16) !important;
  background:rgba(255,255,255,.075) !important;
  color:rgba(255,255,255,.88) !important;
}
.settings-source-list--available{
  max-height:440px;
}
@media (max-width:760px){
  .settings-source-list--available{
    max-height:52vh;
  }
}


/* Ticker Manager chart-card Phase 1 — 2026-04-27 */
body[data-page="home"] .settings-favorite-row--chartable{
  position:relative;
  grid-template-columns:minmax(0, 1fr) !important;
  align-items:stretch !important;
  gap:8px !important;
  padding-top:12px !important;
}
.settings-chart-toggle{
  position:static;
  justify-self:end;
  align-self:start;
  z-index:2;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:1.72rem;
  padding:.28rem .58rem;
  border:1px solid rgba(255,255,255,.15);
  border-radius:999px;
  background:rgba(255,255,255,.075);
  color:rgba(235,244,255,.84);
  font-size:.68rem;
  line-height:1;
  font-weight:800;
  letter-spacing:.02em;
  cursor:pointer;
  box-shadow:0 10px 22px rgba(0,0,0,.18);
}
.settings-chart-toggle.is-on{
  border-color:rgba(255,220,130,.40);
  background:linear-gradient(135deg, rgba(255,220,130,.20), rgba(120,190,255,.13));
  color:rgba(255,239,190,.98);
}
.settings-chart-toggle.is-off{
  opacity:.76;
}
.selected-ticker-chart-section{
  margin-top:1.1rem;
  display:grid;
  gap:0;
}
.selected-ticker-chart-shell{
  padding:20px;
}
.selected-ticker-chart-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  grid-auto-rows:1fr;
  gap:16px;
  align-items:stretch;
}
.ticker-chart-card{
  position:relative;
  min-height:0;
  height:100%;
  display:flex;
  flex-direction:column;
  border:1px solid rgba(255,255,255,.082);
  border-radius:var(--radius);
  overflow:hidden;
  background:linear-gradient(180deg, rgba(255,255,255,.032), rgba(255,255,255,.018));
  box-shadow:var(--shadow);
  backdrop-filter:blur(14px);
}
.ticker-chart-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 20% 0%, rgba(255,220,130,.085), transparent 38%), radial-gradient(circle at 96% 14%, rgba(120,190,255,.07), transparent 36%);
  pointer-events:none;
}
.ticker-chart-card__button{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  width:100%;
  height:100%;
  padding:18px 14px 14px;
  border:0;
  background:transparent;
  color:inherit;
  text-align:left;
  cursor:pointer;
}
.ticker-chart-card__kicker{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.7rem;
  margin-bottom:.48rem;
  color:rgba(210,228,255,.78);
  font-size:.68rem;
  line-height:1.2;
  text-transform:uppercase;
  letter-spacing:.11em;
  font-weight:800;
}
.ticker-chart-card__kicker strong{
  color:rgba(255,236,178,.92);
  font-weight:800;
  letter-spacing:.04em;
}
.ticker-chart-card h3{
  margin:0;
  color:rgba(246,249,255,.96);
  font-size:1.05rem;
  line-height:1.38;
  font-weight:800;
}
.ticker-chart-card__value-row{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:1rem;
  margin:.44rem 0 .50rem;
}
.ticker-chart-card__value-row span{
  color:rgba(255,255,255,.96);
  font-size:1rem;
  font-weight:800;
}
.ticker-chart-card__value-row em,
.ticker-chart-overlay-value em{
  font-style:normal;
  font-weight:800;
}
.ticker-chart-card__value-row em.is-up,
.ticker-chart-overlay-value em.is-up{ color:rgba(123,225,169,.96); }
.ticker-chart-card__value-row em.is-down,
.ticker-chart-overlay-value em.is-down{ color:rgba(255,145,145,.96); }
.ticker-chart-card__value-row em.is-flat,
.ticker-chart-overlay-value em.is-flat{ color:rgba(218,228,244,.84); }
.ticker-chart-card__preview{
  height:82px;
  margin:.08rem 0 .50rem;
  border:1px solid rgba(255,255,255,.085);
  border-radius:16px;
  background:rgba(0,0,0,.105);
  overflow:hidden;
}
.ticker-chart-card p{
  margin:0;
  color:rgba(218,228,244,.78);
  font-size:.74rem;
  line-height:1.34;
}
.ticker-chart-card__link{
  display:inline-flex;
  margin-top:auto;
  padding-top:.54rem;
  color:rgba(255,229,163,.92);
  font-size:.78rem;
  font-weight:800;
}
.ticker-chart-svg{
  display:block;
  width:100%;
  height:100%;
}
.ticker-chart-svg__grid line{
  stroke:rgba(255,255,255,.09);
  stroke-width:1;
}
.ticker-chart-svg__axis-line{
  stroke:rgba(255,255,255,.16);
  stroke-width:1.05;
}
.ticker-chart-svg__y-tick text,
.ticker-chart-svg__x-tick text,
.ticker-chart-svg__axis-label{
  fill:rgba(218,228,244,.68);
  font-size:12px;
  font-weight:700;
  letter-spacing:.01em;
}
.ticker-chart-svg.is-compact .ticker-chart-svg__y-tick text,
.ticker-chart-svg.is-compact .ticker-chart-svg__x-tick text{
  font-size:10px;
  fill:rgba(218,228,244,.58);
}
.ticker-chart-svg__axis-label{
  fill:rgba(255,236,178,.72);
  text-transform:uppercase;
  letter-spacing:.08em;
}
.ticker-chart-svg__line{
  fill:none;
  stroke:rgba(255,226,148,.92);
  stroke-width:3.2;
  stroke-linecap:round;
  stroke-linejoin:round;
  filter:drop-shadow(0 0 10px rgba(255,226,148,.24));
  vector-effect:non-scaling-stroke;
}
.ticker-chart-svg.is-up .ticker-chart-svg__line{ stroke:rgba(123,225,169,.95); }
.ticker-chart-svg.is-down .ticker-chart-svg__line{ stroke:rgba(255,145,145,.95); }
.ticker-chart-overlay-layer[hidden]{ display:none; }
.ticker-chart-overlay-layer{
  position:fixed;
  inset:0;
  z-index:1100;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:clamp(1rem, 3vw, 2.8rem);
}
.ticker-chart-overlay-backdrop{
  position:absolute;
  inset:0;
  background:rgba(2,8,18,.70);
  backdrop-filter:blur(18px);
}
.ticker-chart-overlay-card{
  position:relative;
  z-index:1;
  width:min(980px, 96vw);
  max-height:88vh;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.13);
  border-radius:30px;
  background:linear-gradient(145deg, rgba(12,21,38,.92), rgba(18,31,55,.86));
  box-shadow:0 34px 90px rgba(0,0,0,.42);
  backdrop-filter:blur(20px);
}
.ticker-chart-overlay-close{
  position:absolute;
  top:.9rem;
  right:.9rem;
  z-index:3;
}
.ticker-chart-overlay-scroll{
  max-height:88vh;
  overflow:auto;
  padding:1.35rem;
}
.ticker-chart-overlay-header{
  padding-right:3rem;
}
.ticker-chart-overlay-header p{
  margin:0 0 .35rem;
  color:rgba(255,226,148,.86);
  font-size:.72rem;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.ticker-chart-overlay-header h2{
  margin:0;
  color:rgba(247,250,255,.98);
  font-size:clamp(1.35rem, 3vw, 2.15rem);
  line-height:1.08;
}
.ticker-chart-overlay-meta{
  display:flex;
  flex-wrap:wrap;
  gap:.48rem;
  margin-top:.72rem;
  color:rgba(215,227,246,.78);
  font-size:.8rem;
}
.ticker-chart-overlay-meta span,
.ticker-chart-overlay-toolbar span{
  display:inline-flex;
  align-items:center;
  border:1px solid rgba(255,255,255,.10);
  border-radius:999px;
  padding:.28rem .58rem;
  background:rgba(255,255,255,.055);
}
.ticker-chart-overlay-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.85rem;
  flex-wrap:wrap;
  margin:1.15rem 0 .9rem;
}
.ticker-chart-overlay-toolbar > div{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:.38rem;
}
.ticker-chart-range-btn{
  border:1px solid rgba(255,255,255,.13);
  border-radius:999px;
  padding:.4rem .72rem;
  background:rgba(255,255,255,.065);
  color:rgba(232,241,255,.86);
  font-size:.70rem;
  font-weight:900;
  cursor:pointer;
}
.ticker-chart-range-btn.is-active{
  border-color:rgba(255,220,130,.42);
  background:rgba(255,220,130,.16);
  color:rgba(255,239,190,.98);
}
.ticker-chart-overlay-value{
  display:flex;
  align-items:baseline;
  gap:.8rem;
  margin-bottom:.75rem;
}
.ticker-chart-overlay-value strong{
  color:rgba(255,255,255,.98);
  font-size:1.32rem;
}
.ticker-chart-overlay-plot{
  height:min(48vh, 400px);
  min-height:280px;
  border:1px solid rgba(255,255,255,.105);
  border-radius:22px;
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(0,0,0,.13));
  overflow:hidden;
}
.ticker-chart-overlay-note{
  margin:.86rem 0 0;
  color:rgba(215,227,246,.70);
  font-size:.82rem;
  line-height:1.45;
}
body.ticker-chart-overlay-open{
  overflow:hidden;
}
@media (max-width:980px){
  .selected-ticker-chart-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

@media (max-width:760px){
  body[data-page="home"] .settings-favorite-row--chartable{
    padding-top:12px !important;
  }
  .settings-chart-toggle{
    justify-self:start;
  }
  .selected-ticker-chart-shell{
    padding:0 !important;
    border:0;
    background:transparent;
    box-shadow:none;
  }
  .selected-ticker-chart-grid{
    grid-template-columns:1fr;
  }
  .ticker-chart-card__preview{
    height:108px;
  }
  .ticker-chart-overlay-layer{
    align-items:flex-end;
    padding:.75rem;
  }
  .ticker-chart-overlay-card{
    width:100%;
    max-height:92vh;
    border-radius:24px;
  }
  .ticker-chart-overlay-scroll{
    padding:1rem;
  }
  .ticker-chart-overlay-plot{
    min-height:250px;
  }
  .ticker-chart-svg__axis-label{
    display:none;
  }
}


/* Ticker chart visual-source cleanup — balanced shell + bottom remove — 2026-04-27 */
.selected-ticker-chart-section[hidden]{
  display:none !important;
}
body[data-page="home"] .selected-ticker-chart-section{
  /* External spacing fix: let the main-grid gap handle the upper clearance; keep only the lower breathing room before source-feed cards. */
  margin-top:0 !important;
  margin-bottom:.92rem !important;
  display:grid !important;
  gap:0 !important;
}
body[data-page="home"] .selected-ticker-chart-section > .selected-ticker-chart-shell{
  box-sizing:border-box !important;
  display:block !important;
  padding:18px !important;
  overflow:hidden !important;
  background:linear-gradient(180deg,rgba(255,255,255,.016),rgba(255,255,255,.008)) !important;
  border:1px solid rgba(255,255,255,.058) !important;
  border-radius:var(--radius) !important;
  box-shadow:var(--shadow) !important;
}
body[data-page="home"] .selected-ticker-chart-grid{
  display:grid !important;
  grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
  grid-auto-rows:1fr !important;
  gap:18px !important;
  margin:0 !important;
  padding:0 !important;
  align-items:stretch !important;
  align-content:start !important;
  min-height:0 !important;
}
body[data-page="home"] .selected-ticker-chart-grid > .ticker-chart-card{
  margin:0 !important;
  min-height:0 !important;
  height:100% !important;
  position:relative !important;
}
body[data-page="home"] .selected-ticker-chart-grid > .ticker-chart-card .ticker-chart-card__button{
  min-height:0 !important;
  height:100% !important;
  padding:18px 14px 48px !important;
}
body[data-page="home"] .selected-ticker-chart-grid > .ticker-chart-card .ticker-chart-card__preview{
  height:82px !important;
  margin:.08rem 0 .50rem !important;
}
body[data-page="home"] .ticker-chart-card__value-row em{
  white-space:nowrap;
}
body[data-page="home"] .ticker-chart-card__remove{
  position:absolute !important;
  top:auto !important;
  bottom:12px !important;
  right:12px !important;
  left:auto !important;
  z-index:4;
  border:1px solid rgba(255,255,255,.10);
  border-radius:999px;
  padding:.28rem .58rem;
  background:rgba(9,17,29,.46);
  color:rgba(222,232,248,.78);
  font-size:.66rem;
  line-height:1;
  font-weight:900;
  letter-spacing:.035em;
  text-transform:uppercase;
  cursor:pointer;
  box-shadow:0 10px 26px rgba(0,0,0,.18);
  backdrop-filter:blur(12px);
}
body[data-page="home"] .ticker-chart-card__remove:hover{
  color:rgba(255,235,190,.96);
  border-color:rgba(255,220,130,.26);
  background:rgba(255,220,130,.09);
}
body[data-page="home"] .ticker-chart-card__kicker{
  padding-right:0 !important;
}
.ticker-chart-overlay-backdrop{
  background:rgba(4,12,22,.48) !important;
  backdrop-filter:blur(14px) saturate(1.04) !important;
}
.ticker-chart-overlay-card{
  border:1px solid rgba(255,255,255,.105) !important;
  background:
    radial-gradient(circle at 20% 0%, rgba(105,135,166,.18), transparent 34%),
    linear-gradient(145deg, rgba(14,25,38,.76), rgba(9,17,29,.68)) !important;
  box-shadow:0 32px 86px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.045) !important;
  backdrop-filter:blur(24px) saturate(1.05) !important;
}
.ticker-chart-overlay-plot{
  background:linear-gradient(180deg, rgba(255,255,255,.035), rgba(4,10,18,.18)) !important;
}
@media (max-width:980px){
  body[data-page="home"] .selected-ticker-chart-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width:760px){
  body[data-page="home"] .selected-ticker-chart-section{
    margin-inline:var(--pad);
    margin-top:.9rem !important;
    margin-bottom:.9rem !important;
  }
  body[data-page="home"] .selected-ticker-chart-section > .selected-ticker-chart-shell{
    padding:0 !important;
    border:0 !important;
    background:transparent !important;
    box-shadow:none !important;
  }
  body[data-page="home"] .selected-ticker-chart-grid{
    grid-template-columns:1fr !important;
  }
  body[data-page="home"] .selected-ticker-chart-grid > .ticker-chart-card .ticker-chart-card__button{
    padding-bottom:48px !important;
  }
  body[data-page="home"] .selected-ticker-chart-grid > .ticker-chart-card .ticker-chart-card__preview{
    height:108px !important;
  }
}

/* Ticker chart Phase 1 — Source Feed harmonisation, thinner graphs — 2026-04-27 */
body[data-page="home"] .selected-ticker-chart-section > .selected-ticker-chart-shell{
  padding:12px 18px !important;
  background:linear-gradient(180deg,rgba(255,255,255,.014),rgba(255,255,255,.006)) !important;
  border-color:rgba(255,255,255,.050) !important;
  box-shadow:0 14px 34px rgba(0,0,0,.13), inset 0 1px 0 rgba(255,255,255,.020) !important;
}
body[data-page="home"] .selected-ticker-chart-grid > .ticker-chart-card{
  border-color:rgba(255,255,255,.060) !important;
  background:linear-gradient(180deg,rgba(255,255,255,.018),rgba(255,255,255,.008)) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.020),0 9px 22px rgba(0,0,0,.11) !important;
  backdrop-filter:blur(11px) !important;
}
body[data-page="home"] .selected-ticker-chart-grid > .ticker-chart-card::before{
  inset:0 auto 0 0 !important;
  width:1px !important;
  opacity:.28 !important;
  background:linear-gradient(180deg,rgba(232,214,164,.28),rgba(141,171,194,.045)) !important;
}
body[data-page="home"] .selected-ticker-chart-grid > .ticker-chart-card:hover{
  border-color:rgba(255,255,255,.086) !important;
  background:linear-gradient(180deg,rgba(255,255,255,.024),rgba(255,255,255,.010)) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.026),0 11px 26px rgba(0,0,0,.13) !important;
}
body[data-page="home"] .selected-ticker-chart-grid > .ticker-chart-card .ticker-chart-card__button{
  padding:16px 14px 48px !important;
}
body[data-page="home"] .ticker-chart-card__kicker{
  color:rgba(207,222,239,.60) !important;
  gap:.45rem !important;
  flex-wrap:wrap !important;
  margin-bottom:.08rem !important;
  letter-spacing:.08em !important;
}
body[data-page="home"] .ticker-chart-card__kicker span{
  display:inline-flex;
  align-items:center;
  padding:.22rem .44rem;
  border-radius:999px;
  border:1px solid rgba(232,214,164,.085);
  color:rgba(232,214,164,.50);
  background:rgba(255,255,255,.014);
  letter-spacing:.085em;
}
body[data-page="home"] .ticker-chart-card__kicker strong{
  color:rgba(205,218,234,.54) !important;
  font-size:.68rem !important;
  font-weight:700 !important;
  letter-spacing:.06em !important;
}
body[data-page="home"] .ticker-chart-card h3{
  color:var(--ccr-card-headline-color,#e2c3cc) !important;
  filter:brightness(calc(var(--ccr-card-headline-brightness,100%) * .96));
  opacity:calc(var(--ccr-card-headline-opacity,1) * .94);
  font-weight:var(--ccr-card-headline-weight,600) !important;
  font-size:var(--ccr-card-headline-size,1rem) !important;
  line-height:1.24 !important;
  letter-spacing:-.012em !important;
}
body[data-page="home"] .ticker-chart-card__value-row{
  margin:.42rem 0 .46rem !important;
}
body[data-page="home"] .ticker-chart-card__value-row span{
  color:rgba(230,237,245,.78) !important;
  font-size:.98rem !important;
  font-weight:750 !important;
}
body[data-page="home"] .ticker-chart-card__value-row em{
  font-size:.82rem !important;
  font-weight:760 !important;
}
body[data-page="home"] .ticker-chart-card__value-row em.is-up,
body[data-page="home"] .ticker-chart-overlay-value em.is-up{
  color:rgba(124,190,160,.74) !important;
}
body[data-page="home"] .ticker-chart-card__value-row em.is-down,
body[data-page="home"] .ticker-chart-overlay-value em.is-down{
  color:rgba(200,132,142,.76) !important;
}
body[data-page="home"] .ticker-chart-card__value-row em.is-flat,
body[data-page="home"] .ticker-chart-overlay-value em.is-flat{
  color:rgba(198,210,226,.62) !important;
}
body[data-page="home"] .ticker-chart-card__preview{
  border-color:rgba(255,255,255,.052) !important;
  background:linear-gradient(180deg,rgba(255,255,255,.014),rgba(2,8,16,.090)) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.012) !important;
}
body[data-page="home"] .ticker-chart-card p{
  color:rgba(226,236,247,.64) !important;
  font-size:.82rem !important;
  line-height:1.42 !important;
}
body[data-page="home"] .ticker-chart-card__link{
  color:rgba(232,214,164,.58) !important;
  font-weight:700 !important;
}
body[data-page="home"] .ticker-chart-card__link:hover{
  color:rgba(243,228,234,.86) !important;
}
body[data-page="home"] .ticker-chart-svg__grid line{
  stroke:rgba(255,255,255,.042) !important;
  stroke-width:.8 !important;
}
body[data-page="home"] .ticker-chart-svg__axis-line{
  stroke:rgba(255,255,255,.078) !important;
  stroke-width:.9 !important;
}
body[data-page="home"] .ticker-chart-svg__y-tick text,
body[data-page="home"] .ticker-chart-svg__x-tick text,
body[data-page="home"] .ticker-chart-svg__axis-label{
  fill:rgba(210,224,242,.44) !important;
  font-weight:650 !important;
}
body[data-page="home"] .ticker-chart-svg__axis-label{
  fill:rgba(232,214,164,.45) !important;
}
body[data-page="home"] .ticker-chart-svg__line{
  stroke:rgba(232,214,164,.58) !important;
  stroke-width:1.85 !important;
  filter:none !important;
}
body[data-page="home"] .ticker-chart-svg.is-compact .ticker-chart-svg__line{
  stroke-width:1.55 !important;
}
body[data-page="home"] .ticker-chart-svg.is-up .ticker-chart-svg__line{
  stroke:rgba(124,190,160,.66) !important;
}
body[data-page="home"] .ticker-chart-svg.is-down .ticker-chart-svg__line{
  stroke:rgba(200,132,142,.68) !important;
}

/* Phase 2C overlay glass harmonization — maximum transparent pass, 2026-04-27 */
body[data-page="home"] .portfolio-shell-backdrop,
body[data-page="home"] .rss-shell-backdrop,
body[data-page="home"] .book-reader-shell-backdrop,
.source-feed-overlay-backdrop{
  background:rgba(5,10,18,.10) !important;
  backdrop-filter:blur(4px) saturate(1.02) !important;
}
body[data-page="home"] .portfolio-shell-card,
body[data-page="home"] .book-reader-shell-card{
  border-color:rgba(214,229,248,.070) !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(124,160,205,.030), transparent 34%),
    linear-gradient(180deg, rgba(24,36,50,.38), rgba(8,14,23,.30)) !important;
  box-shadow:0 18px 54px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.026) !important;
  backdrop-filter:blur(10px) saturate(1.04) !important;
}
body[data-page="home"] .rss-shell-card{
  border-color:rgba(214,229,248,.070) !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(110,198,255,.034), transparent 34%),
    radial-gradient(circle at 82% 10%, rgba(255,204,128,.018), transparent 30%),
    linear-gradient(180deg, rgba(22,35,50,.38), rgba(8,14,24,.30)) !important;
  box-shadow:0 18px 54px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.026) !important;
  backdrop-filter:blur(10px) saturate(1.04) !important;
}
.source-feed-overlay-card{
  border-color:rgba(214,229,248,.070) !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(124,160,205,.030), transparent 34%),
    linear-gradient(180deg, rgba(24,36,50,.38), rgba(8,14,23,.30)) !important;
  box-shadow:0 18px 54px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.026) !important;
  backdrop-filter:blur(10px) saturate(1.04) !important;
}
body[data-page="home"] .rss-shell-header,
.source-feed-overlay-header{
  background:linear-gradient(180deg, rgba(30,47,67,.32), rgba(18,31,46,.22)) !important;
  border-bottom-color:rgba(159,202,255,.060) !important;
}
body[data-page="home"] .portfolio-shell-section,
body[data-page="home"] .portfolio-warning-strip,
body[data-page="home"] .rss-shell-body > *,
body[data-page="home"] .rss-shell-status,
.source-feed-overlay-item{
  background-color:rgba(255,255,255,.008) !important;
  border-color:rgba(255,255,255,.040) !important;
}
body[data-page="home"] .book-reader-shell-frame-wrap{
  background:rgba(7,16,24,.44) !important;
  border-color:rgba(255,255,255,.050) !important;
}


/* Phase 2D selective transparency pass — RL + SO lighter, 2026-04-27 */
.source-feed-overlay-backdrop,
body[data-page="home"] .book-reader-shell-backdrop{
  background:rgba(5,10,18,.065) !important;
  backdrop-filter:blur(3px) saturate(1.01) !important;
}
.source-feed-overlay-card,
body[data-page="home"] .book-reader-shell-card{
  border-color:rgba(214,229,248,.056) !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(124,160,205,.022), transparent 34%),
    linear-gradient(180deg, rgba(24,36,50,.28), rgba(8,14,23,.20)) !important;
  box-shadow:0 14px 42px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.018) !important;
  backdrop-filter:blur(8px) saturate(1.03) !important;
}
.source-feed-overlay-header,
body[data-page="home"] .book-reader-shell-header{
  background:linear-gradient(180deg, rgba(30,47,67,.20), rgba(18,31,46,.12)) !important;
  border-bottom-color:rgba(159,202,255,.042) !important;
}
.source-feed-overlay-item{
  background:linear-gradient(180deg, rgba(255,255,255,.010), rgba(255,255,255,.004)) !important;
  border-color:rgba(255,255,255,.030) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.018) !important;
}
body[data-page="home"] .book-reader-shell-frame-wrap{
  background:rgba(7,16,24,.28) !important;
  border-color:rgba(255,255,255,.040) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.018) !important;
}


/* Phase 2E — Research Library catalogue + Settings inner-glass polish, 2026-04-27 */
body[data-page="home"] .book-shell-backdrop,
body[data-page="home"] .settings-shell-backdrop{
  background:rgba(5,10,18,.060) !important;
  backdrop-filter:blur(3px) saturate(1.01) !important;
}
body[data-page="home"] .book-shell-card,
body[data-page="home"] .settings-shell-card{
  border-color:rgba(214,229,248,.056) !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(124,160,205,.020), transparent 34%),
    linear-gradient(180deg, rgba(24,36,50,.26), rgba(8,14,23,.18)) !important;
  box-shadow:0 14px 42px rgba(0,0,0,.15), inset 0 1px 0 rgba(255,255,255,.018) !important;
  backdrop-filter:blur(8px) saturate(1.03) !important;
}
body[data-page="home"] .book-shell-card .settings-shell-header,
body[data-page="home"] .settings-shell-header{
  background:linear-gradient(180deg, rgba(30,47,67,.20), rgba(18,31,46,.115)) !important;
  border-bottom-color:rgba(159,202,255,.040) !important;
}
body[data-page="home"] .book-shell-balance,
body[data-page="home"] .book-shell-card-item,
body[data-page="home"] .settings-shell-section,
body[data-page="home"] .settings-manager-block,
body[data-page="home"] .settings-favorite-row,
body[data-page="home"] .settings-ticker-row,
body[data-page="home"] .settings-manager-collapsed,
body[data-page="home"] .settings-profile-card,
body[data-page="home"] .settings-source-feed-panel,
body[data-page="home"] .settings-source-feed-panel__block,
body[data-page="home"] .settings-inline-note,
body[data-page="home"] .settings-user-chip{
  background:linear-gradient(180deg, rgba(255,255,255,.014), rgba(255,255,255,.006)) !important;
  border-color:rgba(255,255,255,.040) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.016) !important;
}
body[data-page="home"] .book-shell-card-item__media,
body[data-page="home"] .book-shell-card-item__cover,
body[data-page="home"] .settings-manager-collapsed__chip,
body[data-page="home"] .settings-manager-collapsed__empty,
body[data-page="home"] .settings-source-feed-panel__stats{
  background:rgba(7,16,24,.22) !important;
  border-color:rgba(255,255,255,.036) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.014) !important;
}
body[data-page="home"] .settings-shell-section[data-settings-section="sourceFeed"] h3,
body[data-page="home"] .settings-shell-section[data-settings-section="manager"] h3,
body[data-page="home"] .settings-shell-section[data-settings-section="profile"] h3{
  color:rgba(240,245,252,.92) !important;
}
body[data-page="home"] .settings-shell-section--source-feed .settings-section-heading-main h3{
  color:rgba(232,214,164,.82) !important;
}
body[data-page="home"] .settings-favorite-row--chartable{
  padding:10px 12px !important;
  gap:10px !important;
  grid-template-columns:minmax(0,1fr) !important;
}
body[data-page="home"] .settings-favorite-row__topline{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto !important;
  align-items:start !important;
  gap:8px 12px !important;
}
body[data-page="home"] .settings-favorite-row--chartable .settings-ticker-row__label-wrap{
  min-width:0 !important;
}
body[data-page="home"] .settings-chart-toggle{
  justify-self:end !important;
  align-self:start !important;
  margin-top:0 !important;
  min-height:1.55rem !important;
  padding:.22rem .50rem !important;
  font-size:.64rem !important;
  border-color:rgba(232,214,164,.16) !important;
  background:rgba(255,255,255,.024) !important;
  color:rgba(232,214,164,.72) !important;
  box-shadow:none !important;
}
body[data-page="home"] .settings-chart-toggle.is-on{
  border-color:rgba(232,214,164,.28) !important;
  background:rgba(232,214,164,.080) !important;
  color:rgba(246,232,188,.92) !important;
}
body[data-page="home"] .settings-chart-toggle.is-off{
  opacity:.64 !important;
}
@media (max-width:760px){
  body[data-page="home"] .settings-favorite-row__topline{
    grid-template-columns:1fr !important;
  }
  body[data-page="home"] .settings-chart-toggle{
    justify-self:start !important;
  }
}


/* Root-level scrollbar + PIN transparency + RSS visual balance — 2026-04-27 */
@media (min-width:761px){
  html,
  body{
    color-scheme:dark;
    scrollbar-color:rgba(86,106,128,.72) rgba(4,9,16,.62);
  }
  html::-webkit-scrollbar,
  body::-webkit-scrollbar{
    width:12px;
    height:12px;
    background:rgba(4,9,16,.72);
  }
  html::-webkit-scrollbar-track,
  body::-webkit-scrollbar-track{
    background:linear-gradient(180deg, rgba(4,9,16,.72), rgba(8,15,24,.66));
  }
  html::-webkit-scrollbar-thumb,
  body::-webkit-scrollbar-thumb{
    min-height:56px;
    border-radius:999px;
    border:3px solid rgba(4,9,16,.74);
    background:linear-gradient(180deg, rgba(92,112,134,.78), rgba(48,63,80,.82));
  }
  html::-webkit-scrollbar-thumb:hover,
  body::-webkit-scrollbar-thumb:hover{
    background:linear-gradient(180deg, rgba(116,138,160,.82), rgba(62,80,99,.86));
  }
}
.ccr-entry-gate{
  isolation:isolate;
  overflow:hidden;
  background:linear-gradient(180deg, rgba(4,8,14,.18), rgba(4,8,14,.26)) !important;
  backdrop-filter:blur(5px) saturate(.98) !important;
}
.ccr-entry-gate::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background-image:url('../images/backgrounds/world-intelligence-map-tile.webp');
  background-repeat:repeat-x;
  background-size:auto 100vh;
  background-size:auto 100dvh;
  background-position:0 50%;
  opacity:.58;
  filter:brightness(.99) saturate(.96) contrast(1.04);
  animation:ccrEntryWorldMapDrift 144s linear infinite;
  will-change:background-position;
  transform:translateZ(0);
}
.ccr-entry-gate::before{
  z-index:1;
  pointer-events:none;
  background:
    radial-gradient(1100px 760px at 50% 36%, rgba(223,233,244,.075), transparent 60%),
    radial-gradient(860px 620px at 50% 70%, rgba(237,219,227,.050), transparent 58%),
    linear-gradient(180deg, rgba(4,8,14,.12), rgba(4,8,14,.22)) !important;
}
.ccr-intro-overlay,
.ccr-entry-keypad-slot{
  position:absolute;
}
@keyframes ccrEntryWorldMapDrift{
  from{ background-position:0 50%; }
  to{ background-position:-200vh 50%; }
}
.ccr-entry-keypad-panel{
  background:
    radial-gradient(circle at 18% 0%, rgba(124,160,205,.050), transparent 34%),
    linear-gradient(180deg, rgba(58,74,91,.20), rgba(38,53,68,.12)) !important;
  border-color:rgba(255,255,255,.052) !important;
  box-shadow:0 20px 58px rgba(0,0,0,.20), inset 0 1px 0 rgba(255,255,255,.026), 0 0 0 1px rgba(79,163,255,.020) !important;
  backdrop-filter:blur(13px) saturate(1.02) !important;
}
.ccr-entry-login-id-input{
  background:linear-gradient(180deg, rgba(17,27,38,.21), rgba(19,31,44,.12)) !important;
  border-color:rgba(255,255,255,.070) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.020), 0 8px 20px rgba(0,0,0,.12) !important;
}
.ccr-entry-key{
  background:linear-gradient(180deg, rgba(68,87,105,.145), rgba(49,66,82,.078)) !important;
  border-color:rgba(255,255,255,.054) !important;
  box-shadow:0 9px 22px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.028), 0 0 0 1px rgba(79,163,255,.018) !important;
  text-shadow:0 2px 8px rgba(0,0,0,.34);
}
.ccr-entry-key:hover{
  background:linear-gradient(180deg, rgba(79,163,255,.105), rgba(68,87,105,.155)) !important;
}
.ccr-entry-key--unlock{
  background:linear-gradient(180deg, rgba(79,163,255,.105), rgba(79,163,255,.044)) !important;
}
.ccr-entry-key--delete{
  background:linear-gradient(180deg, rgba(69,86,103,.135), rgba(49,66,82,.075)) !important;
}
@media (max-width:820px){
  .ccr-entry-gate::after{
    background-size:auto 100svh;
    background-size:auto 100dvh;
    opacity:.60;
    animation-duration:112s;
  }
  .ccr-entry-keypad-panel{
    background:
      radial-gradient(circle at 18% 0%, rgba(124,160,205,.044), transparent 34%),
      linear-gradient(180deg, rgba(58,74,91,.17), rgba(38,53,68,.10)) !important;
    backdrop-filter:blur(12px) saturate(1.02) !important;
  }
  .ccr-entry-key{
    background:linear-gradient(180deg, rgba(68,87,105,.125), rgba(49,66,82,.064)) !important;
  }
}
body[data-page="home"] .rss-shell-card{
  border-color:rgba(214,229,248,.056) !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(110,198,255,.026), transparent 34%),
    radial-gradient(circle at 82% 10%, rgba(255,204,128,.012), transparent 30%),
    linear-gradient(180deg, rgba(22,35,50,.30), rgba(8,14,24,.22)) !important;
  box-shadow:0 14px 42px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.018) !important;
  backdrop-filter:blur(8px) saturate(1.03) !important;
}
body[data-page="home"] .rss-shell-header{
  background:linear-gradient(180deg, rgba(30,47,67,.22), rgba(18,31,46,.13)) !important;
  border-bottom-color:rgba(159,202,255,.044) !important;
}
body[data-page="home"] .rss-shell-body{
  background:transparent !important;
}
body[data-page="home"] .rss-shell-status,
body[data-page="home"] .rss-control-panel{
  border-color:rgba(255,255,255,.040) !important;
  background:linear-gradient(180deg, rgba(255,255,255,.014), rgba(255,255,255,.006)) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.014) !important;
}
body[data-page="home"] .rss-stat-card{
  border-color:rgba(255,255,255,.044) !important;
  background:rgba(6,12,22,.22) !important;
}
body[data-page="home"] .rss-stat-card.is-ok{
  border-color:rgba(143,227,179,.105) !important;
  background:rgba(74,139,99,.045) !important;
}
body[data-page="home"] .rss-stat-card.is-alert{
  border-color:rgba(255,156,156,.110) !important;
  background:rgba(143,51,51,.052) !important;
}
body[data-page="home"] .rss-stat-card.is-accent{
  border-color:rgba(110,198,255,.120) !important;
  background:rgba(62,137,194,.052) !important;
}
body[data-page="home"] .rss-stat-card__value{
  color:rgba(240,248,255,.88) !important;
}
body[data-page="home"] .rss-stat-card__label{
  color:rgba(207,223,236,.58) !important;
}
body[data-page="home"] .rss-tab-row{
  border-color:rgba(255,255,255,.044) !important;
  background:rgba(5,10,18,.18) !important;
}
body[data-page="home"] .rss-tab-btn{
  color:rgba(224,237,248,.70) !important;
  border-color:rgba(255,255,255,.050) !important;
  background:rgba(255,255,255,.014) !important;
}
body[data-page="home"] .rss-tab-btn.is-active{
  color:rgba(226,241,250,.84) !important;
  border-color:rgba(110,198,255,.180) !important;
  background:linear-gradient(180deg, rgba(110,198,255,.095), rgba(110,198,255,.040)) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.030) !important;
}
body[data-page="home"] .rss-filter select,
body[data-page="home"] .rss-filter input[type="search"],
body[data-page="home"] .rss-search-wrap input[type="search"]{
  color:rgba(235,243,250,.88) !important;
  background:rgba(7,13,22,.52) !important;
  border-color:rgba(255,255,255,.055) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.014) !important;
}
body[data-page="home"] .rss-item{
  border-color:rgba(159,202,255,.060) !important;
  background:
    linear-gradient(90deg, rgba(110,198,255,.040), transparent 32%),
    linear-gradient(180deg, rgba(11,20,33,.42), rgba(7,13,22,.26)) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.018) !important;
}
body[data-page="home"] .rss-item::before{
  width:2px !important;
  opacity:.48 !important;
  background:linear-gradient(180deg, rgba(110,198,255,.42), rgba(232,214,164,.22)) !important;
}
body[data-page="home"] .rss-item__source{
  color:rgba(232,243,255,.68) !important;
}
body[data-page="home"] .rss-item__title,
body[data-page="home"] .rss-item__link{
  color:rgba(239,246,252,.88) !important;
}
body[data-page="home"] .rss-item__summary{
  color:rgba(213,226,239,.66) !important;
}
body[data-page="home"] .rss-pill,
body[data-page="home"] .rss-shell-status__grid .rss-pill{
  border-color:rgba(255,255,255,.044) !important;
  background:rgba(255,255,255,.014) !important;
}
body[data-page="home"] .rss-universe-group,
body[data-page="home"] .rss-universe-row,
body[data-page="home"] .rss-empty-card,
body[data-page="home"] .rss-placeholder-card{
  border-color:rgba(255,255,255,.040) !important;
  background:rgba(255,255,255,.010) !important;
}

/* Phase 2G - Swipe Discovery + full chart overlay glass harmonization, 2026-04-27
   Root-level CSS pass: backdrop, shell, large card, and inner overlay surfaces only. */
body[data-page="home"] .indicator-discovery-backdrop{
  background:rgba(5,10,18,.055) !important;
  backdrop-filter:blur(3px) saturate(1.01) !important;
}
body[data-page="home"] .indicator-discovery-panel{
  border-color:rgba(214,229,248,.056) !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(124,160,205,.020), transparent 34%),
    linear-gradient(180deg, rgba(24,36,50,.24), rgba(8,14,23,.17)) !important;
  box-shadow:0 14px 42px rgba(0,0,0,.15), inset 0 1px 0 rgba(255,255,255,.018) !important;
  backdrop-filter:blur(8px) saturate(1.03) !important;
}
body[data-page="home"] .indicator-discovery-header{
  border-radius:22px;
  padding:10px 12px;
  border:1px solid rgba(255,255,255,.036) !important;
  background:linear-gradient(180deg, rgba(255,255,255,.012), rgba(255,255,255,.004)) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.014) !important;
}
body[data-page="home"] .indicator-discovery-progress,
body[data-page="home"] .indicator-discovery-card__ghost-pill,
body[data-page="home"] .indicator-discovery-card__actions .settings-mini-btn{
  border-color:rgba(255,255,255,.046) !important;
  background:linear-gradient(180deg, rgba(255,255,255,.018), rgba(255,255,255,.007)) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.014) !important;
}
body[data-page="home"] .indicator-discovery-card__shell{
  border-color:rgba(214,229,248,.050) !important;
  background:
    radial-gradient(circle at 50% 28%, rgba(79,163,255,.045), transparent 44%),
    radial-gradient(circle at 18% 0%, rgba(124,160,205,.020), transparent 34%),
    linear-gradient(180deg, rgba(18,26,39,.22), rgba(8,13,20,.145)) !important;
  box-shadow:0 14px 44px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.016) !important;
  backdrop-filter:blur(8px) saturate(1.03) !important;
}
body[data-page="home"] .indicator-discovery-card[data-dragging="true"] .indicator-discovery-card__shell{
  border-color:rgba(79,163,255,.18) !important;
}
body[data-page="home"] .indicator-discovery-card[data-swipe-intent="like"] .indicator-discovery-card__shell{
  border-color:rgba(111,222,165,.22) !important;
  box-shadow:0 16px 48px rgba(0,0,0,.20), 0 0 0 1px rgba(111,222,165,.075), inset 0 1px 0 rgba(255,255,255,.018) !important;
}
body[data-page="home"] .indicator-discovery-card[data-swipe-intent="hide"] .indicator-discovery-card__shell{
  border-color:rgba(255,183,111,.22) !important;
  box-shadow:0 16px 48px rgba(0,0,0,.20), 0 0 0 1px rgba(255,183,111,.075), inset 0 1px 0 rgba(255,255,255,.018) !important;
}
body[data-page="home"] .indicator-discovery-card[data-swipe-intent="like"] .indicator-discovery-card__ghost-pill.is-like{
  border-color:rgba(111,222,165,.22) !important;
  background:rgba(111,222,165,.075) !important;
}
body[data-page="home"] .indicator-discovery-card[data-swipe-intent="hide"] .indicator-discovery-card__ghost-pill.is-hide{
  border-color:rgba(255,183,111,.22) !important;
  background:rgba(255,183,111,.075) !important;
}
body[data-page="home"] .indicator-discovery-empty{
  padding:16px 18px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.040) !important;
  background:linear-gradient(180deg, rgba(255,255,255,.014), rgba(255,255,255,.006)) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.014) !important;
}
.ticker-chart-overlay-backdrop{
  background:rgba(4,12,22,.14) !important;
  backdrop-filter:blur(5px) saturate(1.02) !important;
}
.ticker-chart-overlay-card{
  border:1px solid rgba(214,229,248,.060) !important;
  background:
    radial-gradient(circle at 20% 0%, rgba(105,135,166,.055), transparent 34%),
    linear-gradient(145deg, rgba(14,25,38,.30), rgba(9,17,29,.22)) !important;
  box-shadow:0 18px 56px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.020) !important;
  backdrop-filter:blur(10px) saturate(1.03) !important;
}
.ticker-chart-overlay-scroll{
  background:linear-gradient(180deg, rgba(255,255,255,.006), rgba(255,255,255,.002)) !important;
}
.ticker-chart-overlay-meta span,
.ticker-chart-overlay-toolbar span,
.ticker-chart-range-btn{
  border-color:rgba(255,255,255,.050) !important;
  background:linear-gradient(180deg, rgba(255,255,255,.020), rgba(255,255,255,.008)) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.014) !important;
}
.ticker-chart-range-btn.is-active{
  border-color:rgba(255,220,130,.24) !important;
  background:rgba(255,220,130,.090) !important;
}
.ticker-chart-overlay-plot{
  border-color:rgba(214,229,248,.055) !important;
  background:linear-gradient(180deg, rgba(255,255,255,.018), rgba(4,10,18,.075)) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.014) !important;
}
@media (max-width:760px){
  body[data-page="home"] .indicator-discovery-header{
    border-radius:18px;
    padding:9px 10px;
  }
  body[data-page="home"] .indicator-discovery-card__shell{
    background:
      radial-gradient(circle at 50% 24%, rgba(79,163,255,.040), transparent 44%),
      linear-gradient(180deg, rgba(18,26,39,.20), rgba(8,13,20,.13)) !important;
  }
  .ticker-chart-overlay-card{
    background:
      radial-gradient(circle at 50% 0%, rgba(105,135,166,.046), transparent 36%),
      linear-gradient(180deg, rgba(14,25,38,.28), rgba(9,17,29,.20)) !important;
  }
}


/* Phase 2H — RO dropdown glass, graph remove alignment, intro-map fadeout — 2026-04-27
   Root-level visual pass on the 7590 AIB. Keeps graph remove at bottom-right per the prior graph-card fix,
   but harmonizes its proportions/tone with the Source Feed remove button. */
body[data-page="home"] .rss-filter select,
body[data-page="home"] .rss-filter select:focus{
  color-scheme:dark;
  appearance:none;
  -webkit-appearance:none;
  border-color:rgba(214,229,248,.064) !important;
  color:rgba(235,243,250,.90) !important;
  background-color:rgba(7,13,22,.32) !important;
  background-image:
    linear-gradient(180deg, rgba(255,255,255,.018), rgba(255,255,255,.006)),
    radial-gradient(circle at 18% 0%, rgba(110,198,255,.030), transparent 34%),
    linear-gradient(45deg, transparent 50%, rgba(225,236,246,.70) 50%),
    linear-gradient(135deg, rgba(225,236,246,.70) 50%, transparent 50%);
  background-position:0 0, 0 0, calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size:100% 100%, 100% 100%, 5px 5px, 5px 5px;
  background-repeat:no-repeat;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.018), 0 8px 24px rgba(0,0,0,.10) !important;
  backdrop-filter:blur(10px) saturate(1.02);
}
body[data-page="home"] .rss-filter select:hover{
  border-color:rgba(110,198,255,.115) !important;
  background-color:rgba(11,20,33,.38) !important;
}
body[data-page="home"] .rss-filter select option,
body[data-page="home"] .rss-filter select optgroup{
  color:rgba(235,243,250,.94);
  background:#0a1422;
}
body[data-page="home"] .rss-filter select option:checked{
  color:rgba(255,238,198,.98);
  background:#132235;
}
body[data-page="home"] .ticker-chart-card__remove{
  right:12px !important;
  bottom:12px !important;
  top:auto !important;
  border:1px solid rgba(226,232,240,.095) !important;
  border-radius:999px !important;
  padding:4px 8px !important;
  background:rgba(11,18,26,.24) !important;
  color:rgba(215,224,234,.50) !important;
  font-size:.62rem !important;
  font-weight:700 !important;
  letter-spacing:.065em !important;
  box-shadow:none !important;
  backdrop-filter:blur(10px) saturate(1.02) !important;
  transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease;
}
body[data-page="home"] .ticker-chart-card__remove:hover,
body[data-page="home"] .ticker-chart-card__remove:focus-visible{
  background:rgba(50,24,28,.34) !important;
  border-color:rgba(244,157,164,.20) !important;
  color:rgba(255,218,220,.78) !important;
  transform:translateY(-1px);
  outline:none;
}
.ccr-entry-gate::after{
  transition:opacity 240ms ease-out, filter 240ms ease-out !important;
}
body.ccr-intro-map-fadeout .ccr-entry-gate::after{
  opacity:0 !important;
  filter:brightness(.82) saturate(.72) blur(2px) !important;
}
body.ccr-intro-map-fadeout .site-world-map-bg{
  opacity:0 !important;
  filter:blur(10px) saturate(.82) !important;
  transition:opacity 240ms ease-out, filter 240ms ease-out !important;
}
@media (max-width:760px){
  body[data-page="home"] .ticker-chart-card__remove{
    right:12px !important;
    bottom:12px !important;
    padding:4px 9px !important;
  }
}

/* Phase 2J — RO dropdown affordance + SO source-search persistence clarity, 2026-04-27
   Adds a visible wrapper chevron/capsule instead of relying only on native select background styling. */
body[data-page="home"] .rss-filter--select{
  gap:7px;
}
body[data-page="home"] .settings-search--source .settings-search__input::placeholder{
  color:rgba(213,226,239,.42) !important;
  opacity:1;
}


/* SO section harmonization + Ticker Discovery cleanup — 2026-04-27 */
body[data-page="home"] .settings-shell-section[data-settings-section="user"] .settings-section-heading-main h3,
body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-section-heading-main h3,
body[data-page="home"] .settings-shell-section[data-settings-section="sourceFeed"] .settings-section-heading-main h3,
body[data-page="home"] .settings-shell-section[data-settings-section="discovery"] .settings-section-heading-main h3,
body[data-page="home"] .settings-shell-section[data-settings-section="profile"] .settings-section-heading-main h3{
  color:rgba(232,214,164,.90) !important;
  text-shadow:0 0 16px rgba(232,214,164,.08);
}
body[data-page="home"] .settings-search--source .settings-search__input::placeholder{
  color:rgba(213,226,239,.38) !important;
  opacity:1;
}

/* Phase 2L — SO default collapsed + RO custom dropdowns, 2026-04-27
   Replaces RO native select popup with an in-DOM dark glass menu to remove the brief white browser menu flash. */
body[data-page="home"] .rss-custom-select{
  position:relative;
  display:block;
  width:100%;
  min-width:0;
  z-index:2;
}
body[data-page="home"] .rss-custom-select.is-open{
  z-index:30;
}
body[data-page="home"] .rss-custom-select__button{
  width:100%;
  min-height:44px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:0 11px 0 13px;
  border-radius:15px;
  border:1px solid rgba(214,229,248,.078);
  color:rgba(238,246,252,.92);
  background:
    linear-gradient(90deg, transparent calc(100% - 46px), rgba(232,214,164,.085) calc(100% - 46px), rgba(232,214,164,.085) 100%),
    linear-gradient(180deg, rgba(255,255,255,.028), rgba(255,255,255,.008)),
    rgba(7,13,22,.42);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.022), 0 8px 24px rgba(0,0,0,.12);
  backdrop-filter:blur(12px) saturate(1.05);
  cursor:pointer;
  font:inherit;
  text-align:left;
}
body[data-page="home"] .rss-custom-select__button:hover,
body[data-page="home"] .rss-custom-select__button:focus-visible,
body[data-page="home"] .rss-custom-select.is-open .rss-custom-select__button{
  border-color:rgba(232,214,164,.24);
  background:
    linear-gradient(90deg, transparent calc(100% - 46px), rgba(232,214,164,.130) calc(100% - 46px), rgba(232,214,164,.130) 100%),
    linear-gradient(180deg, rgba(255,255,255,.038), rgba(255,255,255,.012)),
    rgba(10,20,34,.50);
  box-shadow:0 0 0 3px rgba(232,214,164,.075), inset 0 1px 0 rgba(255,255,255,.026), 0 10px 28px rgba(0,0,0,.16);
  outline:none;
}
body[data-page="home"] .rss-custom-select__text{
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
}
body[data-page="home"] .rss-custom-select__chevron{
  position:relative;
  flex:0 0 26px;
  width:26px;
  height:26px;
  border-radius:999px;
  border:1px solid rgba(232,214,164,.30);
  background:radial-gradient(circle at 45% 28%, rgba(255,240,198,.18), transparent 42%), rgba(255,255,255,.045);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.055), 0 4px 12px rgba(0,0,0,.16);
}
body[data-page="home"] .rss-custom-select__chevron::before,
body[data-page="home"] .rss-custom-select__chevron::after{
  content:"";
  position:absolute;
  top:12px;
  width:8px;
  height:2px;
  border-radius:999px;
  background:rgba(255,236,185,.92);
  transition:transform .16s ease;
}
body[data-page="home"] .rss-custom-select__chevron::before{
  left:6px;
  transform:rotate(42deg);
}
body[data-page="home"] .rss-custom-select__chevron::after{
  right:6px;
  transform:rotate(-42deg);
}
body[data-page="home"] .rss-custom-select.is-open .rss-custom-select__chevron::before{
  transform:rotate(-42deg);
}
body[data-page="home"] .rss-custom-select.is-open .rss-custom-select__chevron::after{
  transform:rotate(42deg);
}
body[data-page="home"] .rss-custom-select__menu{
  position:absolute;
  z-index:50;
  left:0;
  right:0;
  top:calc(100% + 7px);
  display:grid;
  gap:4px;
  max-height:min(320px, 42vh);
  overflow:auto;
  padding:7px;
  border-radius:16px;
  border:1px solid rgba(214,229,248,.10);
  background:
    radial-gradient(circle at 14% 0%, rgba(110,198,255,.055), transparent 36%),
    linear-gradient(180deg, rgba(11,20,34,.94), rgba(7,13,22,.91));
  box-shadow:0 18px 54px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.034);
  backdrop-filter:blur(18px) saturate(1.10);
}
body[data-page="home"] .rss-custom-select__menu::-webkit-scrollbar{
  width:9px;
}
body[data-page="home"] .rss-custom-select__menu::-webkit-scrollbar-track{
  background:rgba(3,7,12,.38);
  border-radius:999px;
}
body[data-page="home"] .rss-custom-select__menu::-webkit-scrollbar-thumb{
  background:rgba(142,166,190,.36);
  border-radius:999px;
  border:2px solid rgba(3,7,12,.22);
}
body[data-page="home"] .rss-custom-select__option{
  width:100%;
  min-height:34px;
  padding:8px 10px;
  border:1px solid transparent;
  border-radius:11px;
  background:rgba(255,255,255,.020);
  color:rgba(230,239,247,.88);
  font:inherit;
  font-size:.86rem;
  text-align:left;
  cursor:pointer;
}
body[data-page="home"] .rss-custom-select__option:hover,
body[data-page="home"] .rss-custom-select__option:focus-visible{
  border-color:rgba(232,214,164,.20);
  background:rgba(232,214,164,.075);
  color:rgba(255,241,205,.96);
  outline:none;
}
body[data-page="home"] .rss-custom-select__option.is-selected{
  border-color:rgba(232,214,164,.24);
  background:linear-gradient(90deg, rgba(232,214,164,.13), rgba(110,198,255,.045));
  color:rgba(255,244,210,.98);
}
@media (max-width:760px){
  body[data-page="home"] .rss-custom-select__menu{
    max-height:min(300px, 48vh);
  }
}

/* RO dropdown functional cleanup — 2026-04-27
   Keep the custom menus mounted, but make open/close a class/attribute toggle instead of a full overlay rerender. */
body[data-page="home"] .rss-custom-select__menu[hidden]{
  display:none !important;
}
body[data-page="home"] .rss-filter--select{
  position:relative;
  z-index:3;
}
body[data-page="home"] .rss-custom-select__menu{
  contain:layout paint;
  overscroll-behavior:contain;
  transform:translateZ(0);
}
body[data-page="home"] .rss-custom-select__button{
  touch-action:manipulation;
}


/* RO search performance window note */
.rss-search-window-note{
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: rgba(10,18,32,.42);
  color: rgba(226,238,255,.76);
  font-size: .78rem;
  letter-spacing: .01em;
  text-align: center;
  backdrop-filter: blur(10px);
}


/* SO mobile root-level structural cleanup + reader scrollbar hardening — 2026-04-27
   Purpose: flatten the Settings Overlay on phones, keep section arrows top-right,
   compact ticker controls, and ensure same-origin HTML book iframes inherit dark scrollbars. */
body[data-page="home"] .book-reader-shell-frame{
  color-scheme:dark;
  scrollbar-color:rgba(120,140,162,.72) rgba(5,10,18,.92);
}
body[data-page="home"] .book-reader-shell-frame-wrap{
  color-scheme:dark;
}

@media (max-width:760px){
  body[data-page="home"] .settings-shell-card{
    top:max(8px, calc(env(safe-area-inset-top, 0px) + 8px)) !important;
    left:max(6px, calc(env(safe-area-inset-left, 0px) + 6px)) !important;
    right:max(6px, calc(env(safe-area-inset-right, 0px) + 6px)) !important;
    bottom:max(8px, calc(env(safe-area-inset-bottom, 0px) + 8px)) !important;
    width:auto !important;
    border-radius:20px !important;
  }
  body[data-page="home"] .settings-shell-scroll{
    scrollbar-gutter:stable;
  }
  body[data-page="home"] .settings-shell-header{
    padding:16px 14px 12px !important;
  }
  body[data-page="home"] .settings-shell-body{
    gap:9px !important;
    padding:10px 8px 14px !important;
  }
  body[data-page="home"] .settings-shell-section{
    gap:8px !important;
    padding:10px 9px !important;
    border-radius:16px !important;
  }
  body[data-page="home"] .settings-section-heading{
    gap:8px !important;
  }
  body[data-page="home"] .settings-section-heading-row,
  body[data-page="home"] .settings-section-heading-row--discovery{
    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:10px !important;
    width:100% !important;
  }
  body[data-page="home"] .settings-section-heading-main{
    flex:1 1 auto !important;
    min-width:0 !important;
    flex-wrap:nowrap !important;
  }
  body[data-page="home"] .settings-section-heading-main h3{
    min-width:0 !important;
    font-size:1.02rem !important;
    line-height:1.12 !important;
  }
  body[data-page="home"] .settings-section-meta{
    flex:0 0 auto !important;
    font-size:.69rem !important;
    padding:4px 8px !important;
  }
  body[data-page="home"] .settings-section-controls{
    flex:0 0 auto !important;
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    margin-left:auto !important;
    width:auto !important;
  }
  body[data-page="home"] .settings-section-toggle{
    flex:0 0 34px !important;
    width:34px !important;
    height:34px !important;
    min-width:34px !important;
    margin-left:auto !important;
  }
  body[data-page="home"] .settings-search-row{
    margin-top:0 !important;
  }
  body[data-page="home"] .settings-search__input{
    min-height:42px !important;
    padding:0 13px !important;
    font-size:.95rem !important;
    border-radius:15px !important;
  }

  /* Flatten the manager section on mobile: keep one clear outer section and one card layer. */
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"]{
    padding-inline:8px !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-manager-block{
    padding:0 !important;
    border:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    border-radius:0 !important;
    gap:8px !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-manager-block + .settings-manager-block{
    margin-top:12px !important;
    padding-top:10px !important;
    border-top:1px solid rgba(255,255,255,.055) !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-manager-block__title-row{
    gap:8px !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-manager-block__title{
    font-size:.77rem !important;
    letter-spacing:.105em !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-manager-block__body{
    gap:8px !important;
  }

  /* Ticker cards: chart toggle at top right, compact buttons, more breathing room. */
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-favorite-row{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    gap:8px !important;
    padding:10px 10px 11px !important;
    border-radius:15px !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-favorite-row__topline{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) auto !important;
    align-items:start !important;
    gap:8px !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-favorite-row--chartable .settings-ticker-row__label-wrap,
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-favorite-row__topline .settings-ticker-row__label-wrap{
    min-width:0 !important;
    padding-right:2px !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-chart-toggle{
    justify-self:end !important;
    align-self:start !important;
    min-height:28px !important;
    padding:4px 8px !important;
    font-size:.68rem !important;
    line-height:1 !important;
    white-space:nowrap !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-favorite-row__main{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:8px !important;
    align-items:stretch !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-favorite-row__meta{
    width:100% !important;
    display:flex !important;
    justify-content:space-between !important;
    gap:10px !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-favorite-row__meta .settings-ticker-row__value{
    font-size:1.05rem !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-ticker-row__delta{
    font-size:.86rem !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-mini-actions--manager{
    width:100% !important;
    display:grid !important;
    grid-template-columns:repeat(3, minmax(0,1fr)) !important;
    gap:6px !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-mini-actions--manager .settings-mini-btn{
    min-width:0 !important;
    min-height:32px !important;
    padding:5px 6px !important;
    font-size:.74rem !important;
    justify-content:center !important;
    text-align:center !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-mini-actions--manager .settings-mini-btn.is-danger{
    padding-inline:5px !important;
  }

  /* Available ticker rows: retain density without forcing the whole section wider. */
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-ticker-row{
    padding:8px 9px !important;
    border-radius:13px !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-ticker-row__main{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    gap:7px !important;
    width:100% !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-ticker-row__meta{
    width:100% !important;
    justify-content:space-between !important;
    gap:8px !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-ticker-row__meta .settings-mini-btn{
    min-height:30px !important;
    padding:5px 9px !important;
    font-size:.72rem !important;
  }

  /* Profile/session/source cards keep the same glass family but lose avoidable nesting width. */
  body[data-page="home"] .settings-session-row,
  body[data-page="home"] .settings-profile-card,
  body[data-page="home"] .settings-source-feed-panel,
  body[data-page="home"] .settings-source-feed-panel__block{
    padding:9px !important;
    border-radius:14px !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="user"] .settings-section-heading,
  body[data-page="home"] .settings-shell-section[data-settings-section="profile"] .settings-section-heading{
    margin-bottom:0 !important;
  }
}


/* SO mobile Ticker Manager tightening pass — 2026-04-27 */
@media (max-width:760px){
  body[data-page="home"] .settings-shell-body{
    gap:10px !important;
    padding:10px 12px 16px !important;
  }
  body[data-page="home"] .settings-shell-section{
    gap:10px !important;
    padding:14px 12px !important;
    border-radius:22px !important;
  }
  body[data-page="home"] .settings-section-heading{
    position:relative !important;
    gap:8px !important;
  }
  body[data-page="home"] .settings-section-heading-row,
  body[data-page="home"] .settings-section-heading-row--discovery{
    position:relative !important;
    display:flex !important;
    align-items:flex-start !important;
    justify-content:space-between !important;
    width:100% !important;
    min-height:42px !important;
    padding-right:48px !important;
    gap:10px !important;
  }
  body[data-page="home"] .settings-section-heading-main{
    min-width:0 !important;
    display:flex !important;
    align-items:center !important;
    gap:10px !important;
    flex-wrap:wrap !important;
  }
  body[data-page="home"] .settings-section-heading-main h3{
    line-height:1.08 !important;
  }
  body[data-page="home"] .settings-section-controls{
    position:absolute !important;
    top:0 !important;
    right:0 !important;
    width:auto !important;
    margin-left:0 !important;
    justify-content:flex-end !important;
  }
  body[data-page="home"] .settings-section-toggle{
    width:40px !important;
    height:40px !important;
    min-width:40px !important;
    border-radius:999px !important;
    background:rgba(255,255,255,.045) !important;
    border-color:rgba(255,255,255,.105) !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.045) !important;
  }

  body[data-page="home"] .settings-shell-section[data-settings-section="manager"]{
    padding:14px 12px 13px !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-section-heading{
    margin-bottom:0 !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-search-row{
    width:100% !important;
    margin-top:0 !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-search{
    display:block !important;
    width:100% !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-search__input{
    width:100% !important;
    min-height:48px !important;
    padding:0 15px !important;
    border-radius:18px !important;
    border-color:rgba(159,202,255,.105) !important;
    background:linear-gradient(180deg, rgba(255,255,255,.040), rgba(255,255,255,.018)) !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.040), 0 10px 24px rgba(0,0,0,.12) !important;
    color:rgba(238,246,255,.90) !important;
    font-size:1rem !important;
    letter-spacing:.01em !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-search__input::placeholder{
    color:rgba(205,219,236,.58) !important;
    opacity:1 !important;
  }

  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-manager-block{
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    gap:8px !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-manager-block + .settings-manager-block{
    margin-top:12px !important;
    padding-top:10px !important;
    border-top:1px solid rgba(255,255,255,.050) !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-manager-block__title-row{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:8px !important;
    flex-wrap:nowrap !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-manager-block__title{
    min-width:0 !important;
    font-size:.78rem !important;
    letter-spacing:.115em !important;
    line-height:1.1 !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-manager-block__body{
    gap:9px !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-manager-block__note,
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-manager-collapsed__hint{
    display:none !important;
  }

  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-favorite-row{
    position:relative !important;
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    gap:10px !important;
    padding:13px 11px 12px !important;
    border-radius:18px !important;
    background:linear-gradient(180deg, rgba(255,255,255,.030), rgba(255,255,255,.014)) !important;
    border-color:rgba(255,255,255,.055) !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-favorite-row--chartable .settings-favorite-row__topline{
    display:block !important;
    min-width:0 !important;
    padding-right:106px !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-favorite-row--chartable .settings-chart-toggle{
    position:absolute !important;
    top:13px !important;
    right:11px !important;
    justify-self:end !important;
    min-height:32px !important;
    max-width:104px !important;
    padding:5px 9px !important;
    font-size:.72rem !important;
    line-height:1 !important;
    white-space:nowrap !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-favorite-row__label{
    font-size:1.02rem !important;
    line-height:1.16 !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-favorite-row .settings-ticker-row__sub{
    margin-top:3px !important;
    font-size:.78rem !important;
    line-height:1.25 !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-favorite-row__main{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    gap:9px !important;
    align-items:stretch !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-favorite-row__meta{
    width:100% !important;
    display:flex !important;
    align-items:baseline !important;
    justify-content:space-between !important;
    gap:10px !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-favorite-row__meta .settings-ticker-row__value{
    font-size:1.18rem !important;
    line-height:1.1 !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-favorite-row__meta .settings-ticker-row__delta{
    font-size:.88rem !important;
    line-height:1.1 !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-mini-actions--manager{
    width:100% !important;
    display:grid !important;
    grid-template-columns:repeat(3, minmax(0,1fr)) !important;
    gap:7px !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-mini-actions--manager .settings-mini-btn{
    min-width:0 !important;
    min-height:38px !important;
    padding:6px 7px !important;
    border-radius:999px !important;
    font-size:.82rem !important;
    line-height:1 !important;
    justify-content:center !important;
    text-align:center !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-mini-actions--manager .settings-mini-btn.is-danger{
    padding-inline:6px !important;
  }

  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-manager-block__title-row .settings-section-meta,
  body[data-page="home"] .settings-section-heading-main .settings-section-meta{
    margin-left:auto !important;
    flex:0 0 auto !important;
    white-space:nowrap !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-manager-collapsed__head{
    justify-content:flex-start !important;
  }
}

/* SO Ticker Manager responsive consolidation pass — 2026-04-27
   Root-level mobile layout refinement: tighter controls, lighter search, cleaner card rhythm,
   and unified desktop/mobile manager search field treatment. */
body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-search__input{
  border-color:rgba(159,202,255,.13) !important;
  background:linear-gradient(180deg, rgba(255,255,255,.050), rgba(255,255,255,.022)) !important;
  color:rgba(236,244,255,.90) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.055), 0 10px 24px rgba(0,0,0,.12) !important;
  caret-color:rgba(207,222,240,.88) !important;
}
body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-search__input::placeholder{
  color:rgba(203,216,234,.55) !important;
  opacity:1 !important;
}
body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-search__input:focus{
  border-color:rgba(179,212,255,.26) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.065), 0 0 0 2px rgba(159,202,255,.075), 0 12px 28px rgba(0,0,0,.14) !important;
}

@media (max-width:760px){
  body[data-page="home"] .settings-shell-section{
    padding:12px 11px !important;
    gap:9px !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"]{
    padding:12px 11px 12px !important;
  }
  body[data-page="home"] .settings-section-heading-row,
  body[data-page="home"] .settings-section-heading-row--discovery{
    align-items:center !important;
    min-height:36px !important;
    padding-right:40px !important;
  }
  body[data-page="home"] .settings-section-heading-main{
    flex-wrap:nowrap !important;
    align-items:center !important;
    gap:8px !important;
  }
  body[data-page="home"] .settings-section-heading-main h3{
    font-size:.98rem !important;
    line-height:1.08 !important;
    letter-spacing:-.015em !important;
  }
  body[data-page="home"] .settings-section-heading-main .settings-section-meta{
    margin-left:4px !important;
    transform:translateY(0) !important;
  }
  body[data-page="home"] .settings-section-heading-row > .settings-section-toggle,
  body[data-page="home"] .settings-section-controls{
    position:absolute !important;
    top:50% !important;
    right:0 !important;
    transform:translateY(-50%) !important;
    margin:0 !important;
  }
  body[data-page="home"] .settings-section-controls .settings-section-toggle,
  body[data-page="home"] .settings-section-heading-row > .settings-section-toggle{
    width:34px !important;
    height:34px !important;
    min-width:34px !important;
    flex-basis:34px !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="user"] .settings-section-heading-row > .settings-section-toggle{
    right:2px !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-section-heading-row{
    padding-right:40px !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-section-heading-main{
    max-width:calc(100% - 2px) !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-section-heading-main h3{
    flex:0 1 auto !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-section-heading-main .settings-section-meta{
    font-size:.66rem !important;
    padding:3px 8px !important;
  }

  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-search-row{
    margin-top:-1px !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-search__input{
    letter-spacing:.005em !important;
  }

  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-manager-block__title{
    font-size:.72rem !important;
    letter-spacing:.105em !important;
    line-height:1.05 !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-manager-block__title-row .settings-section-meta{
    font-size:.63rem !important;
    padding:3px 7px !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-manager-block__title-row .settings-mini-btn.is-danger,
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] [data-settings-action="profile-clear-favourites"]{
    min-height:32px !important;
    padding:5px 10px !important;
    font-size:.72rem !important;
    line-height:1.05 !important;
    max-width:148px !important;
  }

  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-favorite-row__meta{
    justify-content:flex-start !important;
    align-items:baseline !important;
  }
}


/* SO Ticker Manager root-level collapse refinement — scoped in Phase 4D.
   Source-of-truth for the collapsible Ticker Contents / Available Indicators title controls. */
body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-manager-block--collapsible{
  background:linear-gradient(180deg, rgba(255,255,255,.040), rgba(255,255,255,.018));
}
body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-manager-block[data-settings-manager-block="tickerContents"] .settings-manager-block__title-row{
  align-items:center;
}
body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-manager-block__title-toggle{
  -webkit-appearance:none;
  appearance:none;
  border:0;
  background:transparent;
  background-image:none;
  box-shadow:none;
  padding:0;
  margin:0;
  min-height:0;
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:rgba(232,214,164,.90) !important;
  text-shadow:0 0 16px rgba(232,214,164,.08);
  font:inherit;
  font-size:1.02rem;
  line-height:1.08;
  font-weight:700;
  letter-spacing:-.015em;
  text-transform:none !important;
  text-align:left;
  cursor:pointer;
}
body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-manager-block__title-toggle:hover,
body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-manager-block__title-toggle:focus-visible{
  color:rgba(248,228,169,.98) !important;
  outline:none;
}
body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-manager-block__title-toggle:focus-visible{
  text-decoration:underline;
  text-underline-offset:4px;
}
body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-manager-block__toggle{
  width:24px;
  height:24px;
  border-radius:999px;
  border:1px solid rgba(232,214,164,.18);
  background:rgba(232,214,164,.055);
  color:rgba(232,214,164,.92);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
}
body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-manager-block__toggle span{
  display:block;
  line-height:1;
  transition:transform .18s ease;
}
body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-manager-block--collapsible[data-expanded="false"] .settings-manager-block__toggle span{
  transform:rotate(-90deg);
}
body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-manager-block--collapsible[data-expanded="false"] .settings-manager-block__body{
  display:none !important;
}
body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-manager-block[data-settings-manager-block="tickerContents"] .settings-manager-block__title{
  text-transform:none !important;
  letter-spacing:-.015em !important;
}
@media (max-width:760px){
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-manager-block__title-toggle{
    font-size:.98rem !important;
    line-height:1.08 !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-manager-block[data-settings-manager-block="tickerContents"] .settings-manager-block__title-row{
    gap:8px !important;
    flex-wrap:nowrap !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-manager-block[data-settings-manager-block="tickerContents"] .settings-section-meta{
    margin-left:auto !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-manager-block[data-settings-manager-block="tickerContents"] [data-settings-action="profile-clear-favourites"]{
    max-width:122px !important;
  }
}

/* Phase RO-3A — mobile RSS Monitor compact shell, 2026-04-28
   Scope: RO mobile shell only. Keeps desktop RO diagnostics intact while removing mobile hero/status density. */
  body[data-page="home"] .rss-shell-layer.is-rss-mobile-compact .rss-shell-card{
    border-radius:20px !important;
    background:
      radial-gradient(circle at 18% 0%, rgba(110,198,255,.085), transparent 34%),
      radial-gradient(circle at 84% 6%, rgba(255,214,151,.040), transparent 30%),
      linear-gradient(180deg, rgba(19,32,47,.84), rgba(7,13,22,.80)) !important;
  }
  body[data-page="home"] .rss-shell-layer.is-rss-mobile-compact .rss-shell-header{
    position:absolute !important;
    width:1px !important;
    height:1px !important;
    padding:0 !important;
    margin:0 !important;
    overflow:hidden !important;
    clip:rect(0 0 0 0) !important;
    clip-path:inset(50%) !important;
    border:0 !important;
    background:transparent !important;
  }
  body[data-page="home"] .rss-shell-layer.is-rss-mobile-compact .rss-shell-close{
    width:38px !important;
    min-width:38px !important;
    height:38px !important;
    top:max(10px, env(safe-area-inset-top, 0px) + 6px) !important;
    right:max(18px, env(safe-area-inset-right, 0px) + 14px) !important;
    border-radius:999px !important;
    background:rgba(5,11,20,.72) !important;
    border-color:rgba(214,229,248,.16) !important;
    box-shadow:0 10px 26px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.045) !important;
  }
  body[data-page="home"] .rss-shell-layer.is-rss-mobile-compact .rss-shell-body{
    padding:5px 10px 14px !important;
    gap:8px !important;
  }
  body[data-page="home"] .rss-shell-layer.is-rss-mobile-compact .rss-mobile-titlebar{
    display:flex !important;
    align-items:center !important;
    min-height:26px !important;
    margin:0 48px 2px 2px !important;
    padding:0 !important;
    color:rgba(235,246,255,.94) !important;
    text-shadow:0 8px 24px rgba(93,181,255,.15) !important;
  }
  body[data-page="home"] .rss-shell-layer.is-rss-mobile-compact .rss-mobile-titlebar span{
    display:block !important;
    min-width:0 !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
    font-size:1.00rem !important;
    line-height:1.06 !important;
    font-weight:780 !important;
    letter-spacing:.02em !important;
  }
  body[data-page="home"] .rss-shell-layer.is-rss-mobile-compact .rss-shell-status,
  body[data-page="home"] .rss-shell-layer.is-rss-mobile-compact .rss-ro-toolbar{
    display:none !important;
  }
  body[data-page="home"] .rss-shell-layer.is-rss-mobile-compact .rss-progress-host{
    display:none !important;
  }
  body[data-page="home"] .rss-shell-layer.is-rss-mobile-compact .rss-shell-card.is-rss-refreshing .rss-shell-body{
    padding-bottom:14px !important;
  }
  body[data-page="home"] .rss-shell-layer.is-rss-mobile-compact .rss-tab-row--mobile-compact{
    display:grid !important;
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
    gap:6px !important;
    padding:3px !important;
    margin:0 !important;
    border-radius:16px !important;
    border-color:rgba(214,229,248,.08) !important;
    background:rgba(5,10,18,.26) !important;
  }
  body[data-page="home"] .rss-shell-layer.is-rss-mobile-compact .rss-tab-row--mobile-compact .rss-tab-btn{
    min-height:35px !important;
    padding:0 10px !important;
    border-radius:13px !important;
    font-size:.84rem !important;
    line-height:1 !important;
    letter-spacing:.01em !important;
    color:rgba(224,237,248,.78) !important;
    -webkit-tap-highlight-color:transparent !important;
    touch-action:manipulation !important;
    user-select:none !important;
    outline:none !important;
    transition:background .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease !important;
  }
  body[data-page="home"] .rss-shell-layer.is-rss-mobile-compact .rss-tab-row--mobile-compact .rss-tab-btn.is-active{
    color:#edf8ff !important;
    background:linear-gradient(180deg, rgba(110,198,255,.18), rgba(61,122,178,.10)) !important;
    border-color:rgba(110,198,255,.28) !important;
  }
  body[data-page="home"] .rss-shell-layer.is-rss-mobile-compact .rss-tab-row--mobile-compact .rss-tab-btn:focus:not(:focus-visible){
    outline:none !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.035) !important;
  }
  body[data-page="home"] .rss-shell-layer.is-rss-mobile-compact .rss-tab-row--mobile-compact .rss-tab-btn:active{
    transform:none !important;
    background:rgba(255,255,255,.035) !important;
  }
  body[data-page="home"] .rss-shell-layer.is-rss-mobile-compact .rss-tab-row--mobile-compact .rss-tab-btn.is-active:active{
    background:linear-gradient(180deg, rgba(110,198,255,.18), rgba(61,122,178,.10)) !important;
  }
  body[data-page="home"] .rss-shell-layer.is-rss-mobile-compact.is-rss-tab-switching .rss-tab-row--mobile-compact{
    pointer-events:none !important;
  }
  body[data-page="home"] .rss-shell-layer.is-rss-mobile-compact .rss-control-panel--mobile-compact{
    display:grid !important;
    gap:8px !important;
    padding:9px !important;
    border-radius:16px !important;
    border-color:rgba(137,196,255,.10) !important;
    background:
      radial-gradient(circle at 10% 0%, rgba(110,198,255,.055), transparent 34%),
      rgba(255,255,255,.018) !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.026) !important;
  }
  body[data-page="home"] .rss-shell-layer.is-rss-mobile-compact .rss-control-panel__mobile-head{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:8px !important;
    min-width:0 !important;
    padding:0 1px 1px !important;
  }
  body[data-page="home"] .rss-shell-layer.is-rss-mobile-compact .rss-control-panel__mobile-head span{
    min-width:0 !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
    color:rgba(221,235,247,.74) !important;
    font-size:.72rem !important;
    line-height:1.2 !important;
    font-weight:650 !important;
  }
  body[data-page="home"] .rss-shell-layer.is-rss-mobile-compact .rss-compact-refresh-btn{
    appearance:none !important;
    flex:0 0 auto !important;
    min-height:30px !important;
    max-width:44% !important;
    padding:0 11px !important;
    border-radius:999px !important;
    border:1px solid rgba(118,190,255,.22) !important;
    background:linear-gradient(180deg, rgba(82,157,225,.18), rgba(39,83,132,.10)) !important;
    color:rgba(236,248,255,.88) !important;
    font:inherit !important;
    font-size:.68rem !important;
    font-weight:760 !important;
    line-height:1 !important;
    white-space:nowrap !important;
    cursor:pointer !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.052), 0 6px 16px rgba(0,0,0,.14) !important;
  }
  body[data-page="home"] .rss-shell-layer.is-rss-mobile-compact .rss-compact-refresh-btn[aria-busy="true"]{
    opacity:.78 !important;
    cursor:default !important;
  }
  body[data-page="home"] .rss-shell-layer.is-rss-mobile-compact .rss-control-panel--mobile-compact .rss-filter-row{
    position:relative !important;
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:7px !important;
    align-items:stretch !important;
    overflow:visible !important;
  }
  body[data-page="home"] .rss-shell-layer.is-rss-mobile-compact .rss-control-panel--mobile-compact .rss-filter--select{
    position:relative !important;
    z-index:4 !important;
  }
  body[data-page="home"] .rss-shell-layer.is-rss-mobile-compact.is-rss-filter-category-open .rss-control-panel--mobile-compact .rss-filter--select:first-child{
    z-index:120 !important;
  }
  body[data-page="home"] .rss-shell-layer.is-rss-mobile-compact.is-rss-filter-category-open .rss-control-panel--mobile-compact .rss-filter--select:nth-child(2){
    z-index:3 !important;
  }
  body[data-page="home"] .rss-shell-layer.is-rss-mobile-compact.is-rss-filter-source-open .rss-control-panel--mobile-compact .rss-filter--select:nth-child(2){
    z-index:120 !important;
  }
  body[data-page="home"] .rss-shell-layer.is-rss-mobile-compact .rss-control-panel--mobile-compact .rss-filter{
    gap:4px !important;
  }
  body[data-page="home"] .rss-shell-layer.is-rss-mobile-compact .rss-control-panel--mobile-compact .rss-filter__label{
    font-size:.60rem !important;
    line-height:1 !important;
    letter-spacing:.12em !important;
    color:rgba(204,222,237,.58) !important;
  }
  body[data-page="home"] .rss-shell-layer.is-rss-mobile-compact .rss-custom-select__button{
    min-height:40px !important;
    padding:0 8px 0 11px !important;
    border-radius:13px !important;
    font-size:.90rem !important;
    background:
      linear-gradient(90deg, transparent calc(100% - 39px), rgba(232,214,164,.070) calc(100% - 39px), rgba(232,214,164,.070) 100%),
      linear-gradient(180deg, rgba(255,255,255,.024), rgba(255,255,255,.006)),
      rgba(6,12,21,.40) !important;
  }
  body[data-page="home"] .rss-shell-layer.is-rss-mobile-compact .rss-custom-select__chevron{
    flex-basis:22px !important;
    width:22px !important;
    height:22px !important;
  }
  body[data-page="home"] .rss-shell-layer.is-rss-mobile-compact .rss-custom-select__chevron::before,
  body[data-page="home"] .rss-shell-layer.is-rss-mobile-compact .rss-custom-select__chevron::after{
    top:10px !important;
    width:7px !important;
  }
  body[data-page="home"] .rss-shell-layer.is-rss-mobile-compact .rss-custom-select__chevron::before{left:5px !important;}
  body[data-page="home"] .rss-shell-layer.is-rss-mobile-compact .rss-custom-select__chevron::after{right:5px !important;}
  body[data-page="home"] .rss-shell-layer.is-rss-mobile-compact .rss-custom-select__menu{
    z-index:900 !important;
    max-height:min(270px, 45vh) !important;
    border-radius:14px !important;
    padding:6px !important;
    background:
      radial-gradient(circle at 12% 0%, rgba(110,198,255,.070), transparent 38%),
      linear-gradient(180deg, rgba(10,19,32,.985), rgba(5,10,18,.965)) !important;
    border-color:rgba(214,229,248,.14) !important;
    box-shadow:0 22px 58px rgba(0,0,0,.48), inset 0 1px 0 rgba(255,255,255,.04) !important;
  }
  body[data-page="home"] .rss-shell-layer.is-rss-mobile-compact .rss-custom-select--category.is-open{
    z-index:140 !important;
  }
  body[data-page="home"] .rss-shell-layer.is-rss-mobile-compact .rss-custom-select--source.is-open{
    z-index:140 !important;
  }
  body[data-page="home"] .rss-shell-layer.is-rss-mobile-compact .rss-custom-select--category.is-open .rss-custom-select__menu{
    top:calc(100% + 4px) !important;
    min-height:0 !important;
  }
  body[data-page="home"] .rss-shell-layer.is-rss-mobile-compact .rss-custom-select__option{
    min-height:32px !important;
    padding:7px 9px !important;
    border-radius:10px !important;
    font-size:.80rem !important;
  }
  body[data-page="home"] .rss-shell-layer.is-rss-mobile-compact .rss-custom-select__option:first-child{
    margin-top:0 !important;
  }
  body[data-page="home"] .rss-shell-layer.is-rss-mobile-compact .rss-search-wrap{
    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;
    gap:6px !important;
  }
  body[data-page="home"] .rss-shell-layer.is-rss-mobile-compact .rss-search-wrap input[type="search"]{
    min-height:40px !important;
    padding:0 11px !important;
    border-radius:13px !important;
    font-size:.90rem !important;
    background:rgba(4,9,16,.46) !important;
  }
  body[data-page="home"] .rss-shell-layer.is-rss-mobile-compact .rss-search-wrap input[type="search"]::placeholder{
    color:rgba(213,226,239,.36) !important;
  }
  body[data-page="home"] .rss-shell-layer.is-rss-mobile-compact .rss-search-clear{
    width:auto !important;
    min-height:40px !important;
    padding:0 10px !important;
    border-radius:13px !important;
    font-size:.66rem !important;
  }
  body[data-page="home"] .rss-shell-layer.is-rss-mobile-compact .rss-feed-list{
    gap:9px !important;
  }
  body[data-page="home"] .rss-shell-layer.is-rss-mobile-compact .rss-item{
    padding:12px 12px 13px 14px !important;
    border-radius:17px !important;
  }
  body[data-page="home"] .rss-shell-layer.is-rss-mobile-compact .rss-item::before{
    top:12px !important;
    bottom:12px !important;
    width:3px !important;
  }
  body[data-page="home"] .rss-shell-layer.is-rss-mobile-compact .rss-item__topline{
    gap:6px !important;
  }
  body[data-page="home"] .rss-shell-layer.is-rss-mobile-compact .rss-item__meta{
    gap:6px !important;
    font-size:.70rem !important;
    line-height:1.18 !important;
  }
  body[data-page="home"] .rss-shell-layer.is-rss-mobile-compact .rss-item__source{
    max-width:100% !important;
    font-size:.70rem !important;
    letter-spacing:.005em !important;
  }
  body[data-page="home"] .rss-shell-layer.is-rss-mobile-compact .rss-pill{
    padding:3px 8px !important;
    font-size:.66rem !important;
    line-height:1.1 !important;
    max-width:100% !important;
  }
  body[data-page="home"] .rss-shell-layer.is-rss-mobile-compact .rss-item__title{
    margin:1px 0 0 !important;
    font-size:.94rem !important;
    line-height:1.32 !important;
    font-weight:720 !important;
    letter-spacing:-.012em !important;
  }
  body[data-page="home"] .rss-shell-layer.is-rss-mobile-compact .rss-item__summary{
    margin:1px 0 0 !important;
    font-size:.78rem !important;
    line-height:1.43 !important;
    color:rgba(213,226,239,.62) !important;
  }
  body[data-page="home"] .rss-shell-layer.is-rss-mobile-compact .rss-search-window-note--more{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:8px !important;
  }
  body[data-page="home"] .rss-shell-layer.is-rss-mobile-compact .rss-reader-more-btn{
    appearance:none !important;
    flex:0 0 auto !important;
    min-height:28px !important;
    padding:0 10px !important;
    border-radius:999px !important;
    border:1px solid rgba(118,190,255,.22) !important;
    background:linear-gradient(180deg, rgba(82,157,225,.16), rgba(39,83,132,.09)) !important;
    color:rgba(236,248,255,.86) !important;
    font:inherit !important;
    font-size:.68rem !important;
    font-weight:760 !important;
    cursor:pointer !important;
  }
@media (max-width:390px){
  body[data-page="home"] .rss-shell-layer.is-rss-mobile-compact .rss-shell-body{
    padding-inline:8px !important;
  }
  body[data-page="home"] .rss-shell-layer.is-rss-mobile-compact .rss-control-panel--mobile-compact{
    padding:8px !important;
  }
  body[data-page="home"] .rss-shell-layer.is-rss-mobile-compact .rss-control-panel__mobile-head span{
    font-size:.68rem !important;
  }
}

/* SO Ticker Manager Available Indicators root-level collapse refinement — scoped in Phase 4D, 2026-04-29
   Makes Available Indicators the yellow collapsible control for the indicator universe. */
body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-manager-block[data-settings-manager-block="indicatorUniverse"] .settings-manager-block__title-row{
  align-items:center;
}
body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-manager-block[data-settings-manager-block="indicatorUniverse"] .settings-manager-block__title{
  text-transform:none !important;
  letter-spacing:-.015em !important;
}
body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-manager-block[data-settings-manager-block="indicatorUniverse"] .settings-manager-block__title-toggle{
  color:rgba(232,214,164,.92) !important;
}
body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-manager-block[data-settings-manager-block="indicatorUniverse"] .settings-manager-block__body{
  padding-top:2px;
}
@media (max-width:760px){
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-manager-block[data-settings-manager-block="indicatorUniverse"] .settings-manager-block__title-row{
    gap:8px !important;
    flex-wrap:nowrap !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-manager-block[data-settings-manager-block="indicatorUniverse"] .settings-section-meta{
    margin-left:auto !important;
  }
}

/* Phase 3B/4C/4F — SO mobile Ticker Manager visual consolidation, 2026-04-29
   Scope: mobile Settings Overlay / Ticker Manager only. Desktop layout and data/state systems unchanged.
   Phase 4F keeps this block as source-of-truth for duplicated mobile search/card sizing values. */
@media (max-width:760px){
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"]{
    padding:10px 10px 11px !important;
    gap:8px !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-section-heading{
    gap:7px !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-section-heading-row{
    min-height:32px !important;
    padding-right:36px !important;
    gap:7px !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-section-heading-main{
    min-width:0 !important;
    gap:6px !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-section-heading-main h3{
    font-size:.94rem !important;
    line-height:1.05 !important;
    letter-spacing:-.02em !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-section-heading-main .settings-section-meta{
    margin-left:0 !important;
    padding:2px 7px !important;
    font-size:.60rem !important;
    line-height:1.15 !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-section-controls .settings-section-toggle,
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-section-heading-row > .settings-section-toggle{
    width:31px !important;
    height:31px !important;
    min-width:31px !important;
    flex-basis:31px !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-search-row{
    margin-top:1px !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-search__input{
    height:36px !important;
    min-height:36px !important;
    padding:0 11px !important;
    border-radius:14px !important;
    font-size:.80rem !important;
    background:linear-gradient(180deg, rgba(255,255,255,.038), rgba(255,255,255,.015)) !important;
  }

  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-manager-block{
    padding:0 !important;
    border:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    gap:7px !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-manager-block + .settings-manager-block{
    margin-top:8px !important;
    padding-top:8px !important;
    border-top:1px solid rgba(255,255,255,.045) !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-manager-block__head{
    gap:0 !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-manager-block__title-row{
    display:grid !important;
    grid-template-columns:minmax(0, 1fr) auto !important;
    grid-template-areas:"title meta" "action action" !important;
    align-items:center !important;
    gap:6px 8px !important;
    width:100% !important;
    padding:8px 9px !important;
    border-radius:14px !important;
    border:1px solid rgba(232,214,164,.105) !important;
    background:linear-gradient(180deg, rgba(232,214,164,.060), rgba(255,255,255,.018)) !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.038), 0 8px 20px rgba(0,0,0,.10) !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-manager-block__title-toggle{
    grid-area:title !important;
    min-width:0 !important;
    max-width:100% !important;
    font-size:.91rem !important;
    line-height:1.08 !important;
    letter-spacing:-.018em !important;
    gap:7px !important;
    -webkit-tap-highlight-color:transparent !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-manager-block__title-toggle span:first-child{
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-manager-block__toggle{
    width:21px !important;
    height:21px !important;
    min-width:21px !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-manager-block__title-row .settings-section-meta{
    grid-area:meta !important;
    margin-left:0 !important;
    justify-self:end !important;
    padding:2px 7px !important;
    font-size:.58rem !important;
    line-height:1.15 !important;
    color:rgba(224,237,248,.76) !important;
    background:rgba(255,255,255,.040) !important;
    border-color:rgba(255,255,255,.070) !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-manager-block__title-row [data-settings-action="profile-clear-favourites"]{
    grid-area:action !important;
    justify-self:start !important;
    min-height:29px !important;
    max-width:none !important;
    padding:4px 10px !important;
    border-radius:999px !important;
    font-size:.68rem !important;
    line-height:1 !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-manager-block__body{
    gap:6px !important;
    padding-top:7px !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-manager-block--collapsible[data-expanded="false"] .settings-manager-block__body{
    display:none !important;
  }

  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-favorite-row{
    padding:9px 9px 9px !important;
    gap:6px !important;
    border-radius:15px !important;
    background:linear-gradient(180deg, rgba(255,255,255,.026), rgba(255,255,255,.010)) !important;
    border-color:rgba(255,255,255,.050) !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-favorite-row--chartable .settings-favorite-row__topline{
    padding-right:84px !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-favorite-row--chartable .settings-chart-toggle{
    top:9px !important;
    right:9px !important;
    min-height:25px !important;
    max-width:82px !important;
    padding:3px 7px !important;
    border-radius:999px !important;
    font-size:.59rem !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-favorite-row__label{
    font-size:.88rem !important;
    line-height:1.12 !important;
    letter-spacing:-.01em !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-favorite-row .settings-ticker-row__sub{
    margin-top:2px !important;
    font-size:.65rem !important;
    line-height:1.16 !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-favorite-row__main{
    gap:6px !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-favorite-row__meta{
    gap:16px !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-favorite-row__meta .settings-ticker-row__value{
    font-size:.98rem !important;
    line-height:1.04 !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-favorite-row__meta .settings-ticker-row__delta{
    font-size:.70rem !important;
    line-height:1.04 !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-mini-actions--manager{
    gap:5px !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-mini-actions--manager .settings-mini-btn{
    min-height:30px !important;
    padding:4px 5px !important;
    border-radius:999px !important;
    font-size:.67rem !important;
    line-height:1 !important;
  }

  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-group{
    border:1px solid rgba(255,255,255,.055) !important;
    border-radius:14px !important;
    background:rgba(255,255,255,.018) !important;
    overflow:hidden !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-group + .settings-group{
    margin-top:6px !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-group__summary{
    min-height:34px !important;
    padding:7px 9px !important;
    gap:8px !important;
    list-style:none !important;
    -webkit-tap-highlight-color:transparent !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-group__summary::-webkit-details-marker{
    display:none !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-group__label{
    font-size:.79rem !important;
    line-height:1.13 !important;
    letter-spacing:-.008em !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-group__count{
    padding:2px 7px !important;
    font-size:.58rem !important;
    line-height:1.1 !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-group__body{
    padding:6px !important;
    gap:5px !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-ticker-row{
    padding:7px 8px !important;
    border-radius:12px !important;
    background:linear-gradient(180deg, rgba(255,255,255,.024), rgba(255,255,255,.010)) !important;
    border-color:rgba(255,255,255,.045) !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-ticker-row__main{
    gap:6px !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-ticker-row__label{
    font-size:.79rem !important;
    line-height:1.16 !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-ticker-row__sub{
    font-size:.62rem !important;
    line-height:1.18 !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-ticker-row__meta{
    gap:7px !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-ticker-row__value{
    font-size:.82rem !important;
    line-height:1.05 !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-ticker-row__delta{
    font-size:.66rem !important;
    line-height:1.05 !important;
  }
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-mini-btn--add{
    min-height:28px !important;
    padding:4px 8px !important;
    border-radius:999px !important;
    font-size:.65rem !important;
  }
}

/* Mobile ticker chart overlay proportion fix — 2026-04-30
   Keep desktop chart overlay untouched; prevent tall mobile containers from vertically stretching or clipping the expanded graph. */
@media (max-width:760px){
  .ticker-chart-overlay-layer{
    align-items:center !important;
    justify-content:center !important;
    padding:max(.55rem, env(safe-area-inset-top)) .58rem max(.65rem, env(safe-area-inset-bottom)) !important;
  }
  .ticker-chart-overlay-card{
    width:min(100%, 520px) !important;
    max-height:calc(100svh - 1.25rem - env(safe-area-inset-top) - env(safe-area-inset-bottom)) !important;
    border-radius:22px !important;
  }
  .ticker-chart-overlay-scroll{
    box-sizing:border-box !important;
    max-height:calc(100svh - 1.25rem - env(safe-area-inset-top) - env(safe-area-inset-bottom)) !important;
    padding:.9rem .82rem calc(1rem + env(safe-area-inset-bottom)) !important;
    overflow-y:auto !important;
    overflow-x:hidden !important;
  }
  .ticker-chart-overlay-header{
    padding-right:2.55rem !important;
  }
  .ticker-chart-overlay-header p{
    margin-bottom:.22rem !important;
    font-size:.62rem !important;
  }
  .ticker-chart-overlay-header h2{
    font-size:clamp(1.02rem, 5vw, 1.34rem) !important;
    line-height:1.08 !important;
  }
  .ticker-chart-overlay-meta{
    gap:.32rem !important;
    margin-top:.45rem !important;
    font-size:.68rem !important;
  }
  .ticker-chart-overlay-meta span,
  .ticker-chart-overlay-toolbar span{
    padding:.2rem .44rem !important;
  }
  .ticker-chart-overlay-toolbar{
    gap:.48rem !important;
    margin:.72rem 0 .55rem !important;
  }
  .ticker-chart-range-btn{
    padding:.32rem .52rem !important;
    font-size:.68rem !important;
  }
  .ticker-chart-overlay-value{
    margin-bottom:.52rem !important;
    gap:.55rem !important;
  }
  .ticker-chart-overlay-value strong{
    font-size:1.04rem !important;
  }
  .ticker-chart-overlay-plot{
    box-sizing:border-box !important;
    width:100% !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    aspect-ratio:760 / 330 !important;
    overflow:visible !important;
    border-radius:18px !important;
  }
  .ticker-chart-overlay-plot .ticker-chart-svg.is-large{
    width:100% !important;
    height:100% !important;
  }
  .ticker-chart-overlay-plot .ticker-chart-svg__axis-label,
  .ticker-chart-overlay-plot .ticker-chart-svg__x-tick text{
    display:none !important;
  }
  .ticker-chart-overlay-note{
    margin:.62rem 0 0 !important;
    font-size:.72rem !important;
    line-height:1.34 !important;
  }
}


/* Phase 8B — chart readability + live-point alignment support (2026-04-30) */
body[data-page="home"] .ticker-chart-card__preview{
  height:92px !important;
  margin:.14rem 0 .54rem !important;
  border-color:rgba(255,255,255,.06) !important;
  background:
    radial-gradient(circle at 18% 8%, rgba(130,162,214,.08), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(3,8,15,.11)) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.018), 0 10px 22px rgba(0,0,0,.10) !important;
}

body[data-page="home"] .ticker-chart-svg__grid line{
  stroke:rgba(255,255,255,.05) !important;
}

body[data-page="home"] .ticker-chart-svg__axis-line{
  stroke:rgba(255,255,255,.095) !important;
}

body[data-page="home"] .ticker-chart-svg__y-tick text,
body[data-page="home"] .ticker-chart-svg__x-tick text,
body[data-page="home"] .ticker-chart-svg__axis-label{
  fill:rgba(220,231,245,.56) !important;
}

body[data-page="home"] .ticker-chart-svg__axis-label{
  fill:rgba(232,214,164,.52) !important;
}

body[data-page="home"] .ticker-chart-svg__area{
  fill:rgba(232,214,164,.11) !important;
}

body[data-page="home"] .ticker-chart-svg__line{
  stroke:rgba(232,214,164,.7) !important;
  stroke-width:2.1 !important;
  filter:drop-shadow(0 0 9px rgba(232,214,164,.18)) !important;
}

body[data-page="home"] .ticker-chart-svg.is-compact .ticker-chart-svg__line{
  stroke-width:1.8 !important;
}

body[data-page="home"] .ticker-chart-svg__marker-ring{
  fill:rgba(8,15,26,.08) !important;
  stroke:rgba(238,244,252,.42) !important;
  stroke-width:1.05 !important;
}

body[data-page="home"] .ticker-chart-svg__marker-core{
  fill:rgba(232,214,164,.92) !important;
  stroke:rgba(8,15,26,.26) !important;
  stroke-width:.8 !important;
}

body[data-page="home"] .ticker-chart-svg.is-up .ticker-chart-svg__line{
  stroke:rgba(124,190,160,.8) !important;
}
body[data-page="home"] .ticker-chart-svg.is-up .ticker-chart-svg__area{
  fill:rgba(124,190,160,.12) !important;
}
body[data-page="home"] .ticker-chart-svg.is-up .ticker-chart-svg__marker-core{
  fill:rgba(124,190,160,.95) !important;
}

body[data-page="home"] .ticker-chart-svg.is-down .ticker-chart-svg__line{
  stroke:rgba(200,132,142,.82) !important;
}
body[data-page="home"] .ticker-chart-svg.is-down .ticker-chart-svg__area{
  fill:rgba(200,132,142,.12) !important;
}
body[data-page="home"] .ticker-chart-svg.is-down .ticker-chart-svg__marker-core{
  fill:rgba(200,132,142,.95) !important;
}

@media (max-width:760px){
  body[data-page="home"] .ticker-chart-card__preview{
    height:88px !important;
  }
}

/* RSS Source Overlay image-card mode — C1 overlay-only integration, 2026-05-02 */
.source-feed-overlay-meta__image-mode{
  color:rgba(243,228,234,.88) !important;
  border-color:rgba(232,214,164,.18) !important;
  background:rgba(232,214,164,.055) !important;
}
.source-feed-overlay-list--image-mode{
  gap:.86rem;
}
.source-feed-overlay-list--image-mode .source-feed-overlay-item--image{
  overflow:hidden;
  padding:0 !important;
  gap:0;
  border-radius:20px;
  background:
    radial-gradient(circle at 18% 0%, rgba(124,160,205,.030), transparent 35%),
    linear-gradient(180deg, rgba(20,32,46,.34), rgba(8,14,22,.22)) !important;
}
.source-feed-overlay-image-card__image-link,
.source-feed-overlay-image-card__media{
  display:block;
}
.source-feed-overlay-image-card__media{
  position:relative;
  width:100%;
  aspect-ratio:16 / 8.4;
  min-height:150px;
  max-height:260px;
  overflow:hidden;
  border-bottom:1px solid rgba(255,255,255,.052);
  background:rgba(7,16,24,.28);
}
.source-feed-overlay-image-card__media img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center;
  transform:translateZ(0);
}
.source-feed-overlay-image-card__body{
  display:grid;
  gap:.38rem;
  padding:.9rem .95rem .95rem;
}
.source-feed-overlay-list--image-mode .source-feed-overlay-item:not(.source-feed-overlay-item--image){
  border-style:dashed;
  background:linear-gradient(180deg, rgba(255,255,255,.012), rgba(255,255,255,.006)) !important;
}
@media (max-width: 720px){
  .source-feed-overlay-image-card__media{
    aspect-ratio:16 / 9.8;
    min-height:122px;
    max-height:190px;
  }
  .source-feed-overlay-image-card__body{
    padding:.78rem .78rem .84rem;
  }
}


/* RSS Source Overlay responsive image grid — enforced delivery rebuild 8251, 2026-05-02
   Fixes the visible one-column desktop overlay by combining: JS-applied image-mode layer class, cache-busted CSS/JS versions, and exact live selector enforcement.
   Overlay-only: no RSS cache/config/data/admin/FMP write behavior is changed. */
body[data-page="home"] .source-feed-overlay-layer.source-feed-overlay-layer--image-mode .source-feed-overlay-card{
  width:min(1180px, calc(100vw - 68px)) !important;
}
body[data-page="home"] .source-feed-overlay-layer.source-feed-overlay-layer--image-mode .source-feed-overlay-scroll{
  padding:clamp(1rem, 1.35vw, 1.3rem) !important;
}
body[data-page="home"] .source-feed-overlay-layer.source-feed-overlay-layer--image-mode .source-feed-overlay-header{
  margin-bottom:clamp(.82rem, 1vw, 1.05rem) !important;
}
body[data-page="home"] .source-feed-overlay-layer.source-feed-overlay-layer--image-mode .source-feed-overlay-list.source-feed-overlay-list--image-mode{
  display:grid !important;
  grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
  align-items:stretch !important;
  gap:clamp(.72rem, 1vw, .95rem) !important;
}
body[data-page="home"] .source-feed-overlay-layer.source-feed-overlay-layer--image-mode .source-feed-overlay-list.source-feed-overlay-list--image-mode > .source-feed-overlay-item{
  width:auto !important;
  max-width:none !important;
  min-width:0 !important;
  height:100% !important;
}
body[data-page="home"] .source-feed-overlay-layer.source-feed-overlay-layer--image-mode .source-feed-overlay-list.source-feed-overlay-list--image-mode .source-feed-overlay-item h4{
  display:-webkit-box !important;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
  font-size:clamp(.88rem, .86vw, .98rem);
  line-height:1.27;
}
body[data-page="home"] .source-feed-overlay-layer.source-feed-overlay-layer--image-mode .source-feed-overlay-list.source-feed-overlay-list--image-mode .source-feed-overlay-item p{
  display:-webkit-box !important;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
  font-size:.78rem;
  line-height:1.42;
}
body[data-page="home"] .source-feed-overlay-layer.source-feed-overlay-layer--image-mode .source-feed-overlay-list.source-feed-overlay-list--image-mode .source-feed-overlay-image-card__media{
  aspect-ratio:16 / 9 !important;
  min-height:0 !important;
  max-height:none !important;
}
body[data-page="home"] .source-feed-overlay-layer.source-feed-overlay-layer--image-mode .source-feed-overlay-list.source-feed-overlay-list--image-mode .source-feed-overlay-image-card__body{
  padding:.82rem .86rem .9rem !important;
}
body[data-page="home"] .source-feed-overlay-layer.source-feed-overlay-layer--image-mode .source-feed-overlay-list.source-feed-overlay-list--image-mode .source-feed-overlay-item:not(.source-feed-overlay-item--image){
  align-content:start;
  padding:.82rem .86rem .9rem !important;
  min-height:0 !important;
}
@media (max-width: 980px){
  body[data-page="home"] .source-feed-overlay-layer.source-feed-overlay-layer--image-mode .source-feed-overlay-card{
    width:min(820px, calc(100vw - 42px)) !important;
  }
  body[data-page="home"] .source-feed-overlay-layer.source-feed-overlay-layer--image-mode .source-feed-overlay-list.source-feed-overlay-list--image-mode{
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 720px){
  body[data-page="home"] .source-feed-overlay-layer.source-feed-overlay-layer--image-mode .source-feed-overlay-card{
    width:min(520px, calc(100vw - 24px)) !important;
  }
  body[data-page="home"] .source-feed-overlay-layer.source-feed-overlay-layer--image-mode .source-feed-overlay-list.source-feed-overlay-list--image-mode{
    grid-template-columns:1fr !important;
  }
  body[data-page="home"] .source-feed-overlay-layer.source-feed-overlay-layer--image-mode .source-feed-overlay-list.source-feed-overlay-list--image-mode .source-feed-overlay-item h4{
    -webkit-line-clamp:4;
  }
  body[data-page="home"] .source-feed-overlay-layer.source-feed-overlay-layer--image-mode .source-feed-overlay-list.source-feed-overlay-list--image-mode .source-feed-overlay-image-card__media{
    aspect-ratio:16 / 9.8 !important;
  }
}

/* CCR Intelligence Ribbon — Phase 2A public-side shell */
body[data-page="home"] .ccr-intelligence-ribbon{
  width:min(1180px, calc(100vw - 32px));
  margin:14px auto 22px;
  color:rgba(247,250,255,.95);
}

body[data-page="home"] .ccr-intelligence-ribbon[hidden]{
  display:none!important;
}

body[data-page="home"] .ccr-intelligence-ribbon__inner{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(198,218,255,.18);
  border-radius:26px;
  background:
    radial-gradient(circle at 18% 0%, rgba(111,153,220,.20), transparent 34%),
    radial-gradient(circle at 86% 16%, rgba(222,178,201,.13), transparent 28%),
    linear-gradient(145deg, rgba(12,19,34,.78), rgba(8,12,22,.64));
  box-shadow:0 22px 66px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  padding:18px;
}

body[data-page="home"] .ccr-intelligence-ribbon__inner::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(90deg, rgba(255,255,255,.055), transparent 30%, transparent 70%, rgba(255,255,255,.035));
  opacity:.8;
}

body[data-page="home"] .ccr-intelligence-ribbon__header,
body[data-page="home"] .ccr-intelligence-ribbon__panel{
  position:relative;
  z-index:1;
}

body[data-page="home"] .ccr-intelligence-ribbon__header{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:18px;
  align-items:end;
  margin-bottom:14px;
}

body[data-page="home"] .ccr-intelligence-ribbon__eyebrow{
  display:inline-flex;
  width:max-content;
  margin-bottom:7px;
  padding:4px 10px;
  border:1px solid rgba(230,198,137,.28);
  border-radius:999px;
  background:rgba(231,194,123,.08);
  color:rgba(236,211,159,.96);
  font-size:.68rem;
  font-weight:800;
  letter-spacing:.13em;
  text-transform:uppercase;
}

body[data-page="home"] .ccr-intelligence-ribbon__copy h2{
  margin:0;
  font-family:var(--font-display, var(--font-body));
  font-size:clamp(1.15rem, 1.8vw, 1.72rem);
  line-height:1.08;
  letter-spacing:.015em;
  color:rgba(247,250,255,.98);
}

body[data-page="home"] .ccr-intelligence-ribbon__copy p{
  max-width:760px;
  margin:7px 0 0;
  color:rgba(218,227,241,.76);
  font-size:.86rem;
  line-height:1.52;
}

body[data-page="home"] .ccr-intelligence-ribbon__tabs{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:8px;
}

body[data-page="home"] .ccr-intelligence-ribbon__tab{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:38px;
  padding:8px 13px;
  border:1px solid rgba(190,213,249,.23);
  border-radius:999px;
  background:rgba(255,255,255,.07);
  color:rgba(243,247,255,.93);
  font:inherit;
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.03em;
  cursor:default;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
}

body[data-page="home"] .ccr-intelligence-ribbon__tab.is-active{
  border-color:rgba(232,201,145,.44);
  background:linear-gradient(135deg, rgba(232,201,145,.18), rgba(130,166,224,.12));
}

body[data-page="home"] .ccr-intelligence-ribbon__tab small{
  color:rgba(219,229,245,.65);
  font-size:.68rem;
  font-weight:700;
}

body[data-page="home"] .ccr-intelligence-ribbon__cards{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:14px;
  align-items:start;
}

body[data-page="home"] .ccr-intelligence-ribbon__cards > .top-card{
  min-width:0;
  overflow:hidden;
  border-color:rgba(188,209,244,.16);
  border-radius:22px;
  background:
    linear-gradient(180deg, rgba(24,34,54,.82), rgba(10,15,27,.74)),
    rgba(12,18,31,.68);
  box-shadow:0 16px 38px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.06);
}

body[data-page="home"] .ccr-intelligence-ribbon__cards > .top-card:hover{
  transform:translateY(-2px);
  border-color:rgba(222,198,149,.30);
  box-shadow:0 20px 48px rgba(0,0,0,.36), inset 0 1px 0 rgba(255,255,255,.08);
}

body[data-page="home"] .ccr-intelligence-ribbon__cards > .top-card > .intel-card__toggle{
  min-height:100%;
  padding:12px 12px 13px;
  display:flex;
  flex-direction:column;
  gap:9px;
}

body[data-page="home"] .ccr-intelligence-ribbon__cards > .top-card .card-toggle-media{
  width:100%;
  margin:0 0 2px;
}

body[data-page="home"] .ccr-intelligence-ribbon__cards > .top-card .card-toggle-media__frame{
  height:auto!important;
  aspect-ratio:16/9;
  min-height:0;
  border-radius:16px;
  overflow:hidden;
  background:rgba(255,255,255,.045);
}

body[data-page="home"] .ccr-intelligence-ribbon__cards > .top-card .card-toggle-media__image,
body[data-page="home"] .ccr-intelligence-ribbon__cards > .top-card .card-toggle-media__bg-image{
  width:100%;
  height:100%;
  object-fit:cover;
}

body[data-page="home"] .ccr-intelligence-ribbon__cards > .top-card h3{
  margin:0;
  color:rgba(248,245,250,.98);
  font-size:clamp(.98rem, 1.15vw, 1.14rem);
  line-height:1.28;
  letter-spacing:.006em;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

body[data-page="home"] .ccr-intelligence-ribbon__cards > .top-card .meta-block{
  margin-top:auto;
  gap:5px;
}

body[data-page="home"] .ccr-intelligence-ribbon__cards > .top-card .meta-date{
  color:rgba(216,227,244,.70);
  font-size:.71rem;
}

body[data-page="home"] .ccr-intelligence-ribbon__cards > .top-card .meta-row{
  gap:5px;
}

body[data-page="home"] .ccr-intelligence-ribbon__cards > .top-card .tag,
body[data-page="home"] .ccr-intelligence-ribbon__cards > .top-card .risk-pill{
  font-size:.62rem;
  line-height:1.1;
}

body[data-page="home"] .ccr-intelligence-ribbon__cards > .top-card > .intel-card__panel{
  border-top:1px solid rgba(255,255,255,.08);
  background:rgba(4,8,16,.26);
}

body[data-page="home"] .ccr-intelligence-ribbon__cards > .top-card .intel-card__panel-inner{
  padding:0 12px 14px;
}

@media (max-width:980px){
  body[data-page="home"] .ccr-intelligence-ribbon{
    width:min(100% - 24px, 920px);
    margin-top:12px;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__cards{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

@media (max-width:640px){
  body[data-page="home"] .ccr-intelligence-ribbon{
    width:calc(100% - 18px);
    margin:10px auto 16px;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__copy p{
    font-size:.78rem;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__cards{
    grid-template-columns:1fr;
    gap:11px;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__cards > .top-card h3{
    font-size:1rem;
  }
}


/* Phase 2A style harmonization — CCR Intelligence Ribbon glass/visual polish */
body[data-page="home"].ccr-ribbon-active .home-main > .home-hero:not(#selectedTickerChartSection),
body[data-page="home"] .home-main > .home-hero[hidden]:not(#selectedTickerChartSection){
  display:none !important;
}

body[data-page="home"] .ccr-intelligence-ribbon{
  width:min(1180px, calc(100vw - 28px));
  margin:14px auto 20px;
}

body[data-page="home"] .ccr-intelligence-ribbon__inner{
  border:1px solid rgba(255,255,255,.075);
  border-radius:24px;
  background:
    radial-gradient(circle at 16% 0%, rgba(116,149,187,.10), transparent 34%),
    radial-gradient(circle at 88% 16%, rgba(222,178,201,.08), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,.022), rgba(255,255,255,.010));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035), 0 14px 32px rgba(0,0,0,.18);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  padding:16px 16px 18px;
}

body[data-page="home"] .ccr-intelligence-ribbon__inner::before{
  background:linear-gradient(180deg, rgba(255,255,255,.020), rgba(255,255,255,.008));
  opacity:1;
}

body[data-page="home"] .ccr-intelligence-ribbon__header{
  gap:14px;
  margin-bottom:12px;
  align-items:center;
}

body[data-page="home"] .ccr-intelligence-ribbon__eyebrow{
  margin-bottom:6px;
  padding:.24rem .54rem;
  border:1px solid rgba(232,214,164,.10);
  background:rgba(255,255,255,.018);
  color:rgba(232,214,164,.72);
  font-size:.66rem;
  letter-spacing:.095em;
}

body[data-page="home"] .ccr-intelligence-ribbon__copy h2{
  color:rgba(244,227,234,.97);
  font-size:clamp(1.08rem, 1.55vw, 1.58rem);
  letter-spacing:-.012em;
}

body[data-page="home"] .ccr-intelligence-ribbon__copy p{
  max-width:640px;
  margin:5px 0 0;
  color:rgba(227,236,246,.66);
  font-size:.80rem;
  line-height:1.44;
}

body[data-page="home"] .ccr-intelligence-ribbon__tabs{
  gap:7px;
}

body[data-page="home"] .ccr-intelligence-ribbon__tab{
  min-height:34px;
  padding:7px 12px;
  border:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg, rgba(255,255,255,.030), rgba(255,255,255,.015));
  color:rgba(236,242,249,.88);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03);
}

body[data-page="home"] .ccr-intelligence-ribbon__tab.is-active{
  border-color:rgba(232,214,164,.16);
  background:linear-gradient(180deg, rgba(255,255,255,.042), rgba(255,255,255,.020));
}

body[data-page="home"] .ccr-intelligence-ribbon__tab small{
  color:rgba(205,219,236,.58);
}

body[data-page="home"] .ccr-intelligence-ribbon__cards{
  gap:13px;
}

body[data-page="home"] .ccr-intelligence-ribbon__cards > .top-card{
  border:1px solid rgba(255,255,255,.070);
  border-radius:20px;
  background:linear-gradient(180deg,rgba(255,255,255,.022),rgba(255,255,255,.010));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.024),0 10px 24px rgba(0,0,0,.14);
  transition:border-color var(--fast), box-shadow var(--fast), background var(--fast), transform var(--fast);
}

body[data-page="home"] .ccr-intelligence-ribbon__cards > .top-card:hover{
  transform:translateY(-1px);
  border-color:rgba(255,255,255,.105);
  background:linear-gradient(180deg,rgba(255,255,255,.030),rgba(255,255,255,.014));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.032),0 13px 30px rgba(0,0,0,.18);
}

body[data-page="home"] .ccr-intelligence-ribbon__cards > .top-card > .intel-card__toggle{
  padding:12px 12px 12px;
  gap:8px;
}

body[data-page="home"] .ccr-intelligence-ribbon__cards > .top-card .card-toggle-media__frame{
  border-radius:15px;
  background:rgba(255,255,255,.028);
}

body[data-page="home"] .ccr-intelligence-ribbon__cards > .top-card h3{
  color:var(--ccr-card-headline-color,#e2c3cc) !important;
  filter:brightness(var(--ccr-card-headline-brightness,100%));
  opacity:var(--ccr-card-headline-opacity,1);
  font-weight:var(--ccr-card-headline-weight,600) !important;
  font-size:var(--ccr-card-headline-size,1rem) !important;
  line-height:1.24;
  letter-spacing:-.012em;
}

body[data-page="home"] .ccr-intelligence-ribbon__cards > .top-card .meta-date{
  color:var(--ccr-card-subtext-color,rgba(226,236,247,.70)) !important;
  filter:brightness(var(--ccr-card-subtext-brightness,100%));
  opacity:var(--ccr-card-subtext-opacity,.70);
  font-weight:var(--ccr-card-subtext-weight,500) !important;
  font-size:var(--ccr-card-subtext-size,.72rem) !important;
}

body[data-page="home"] .ccr-intelligence-ribbon__cards > .top-card .tag,
body[data-page="home"] .ccr-intelligence-ribbon__cards > .top-card .risk-pill{
  font-size:.65rem;
}

body[data-page="home"] .ccr-intelligence-ribbon__cards > .top-card > .intel-card__panel{
  border-top:1px solid rgba(255,255,255,.065);
  background:rgba(255,255,255,.012);
}

body[data-page="home"] .ccr-intelligence-ribbon__cards > .top-card .intel-card__panel-inner{
  padding:0 12px 12px;
}

@media (max-width:980px){
  body[data-page="home"] .ccr-intelligence-ribbon{
    width:min(calc(100vw - 20px), 920px);
  }
}

@media (max-width:640px){
  body[data-page="home"] .ccr-intelligence-ribbon{
    width:calc(100% - 14px);
    margin:10px auto 14px;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__inner{
    border-radius:20px;
    padding:12px;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__copy p{
    font-size:.76rem;
  }
}


/* Phase 2B — CCR Intelligence Ribbon clipping fix, deeper transparency, and RSS source tabs */
body[data-page="home"] .home-top-stack{
  overflow:visible;
}

body[data-page="home"] .ccr-intelligence-ribbon{
  width:calc(100% - clamp(20px, 3vw, 44px));
  max-width:1180px;
  margin:14px auto 20px;
  box-sizing:border-box;
}


body[data-page="home"] .ccr-intelligence-ribbon__header{
  grid-template-columns:minmax(0, .9fr) minmax(280px, 1.25fr);
  align-items:end;
}

body[data-page="home"] .ccr-intelligence-ribbon__tabs{
  justify-content:flex-end;
  max-width:100%;
  overflow-x:auto;
  overflow-y:hidden;
  padding:0 2px 2px;
  scrollbar-width:thin;
  scrollbar-color:rgba(255,255,255,.18) transparent;
}

body[data-page="home"] .ccr-intelligence-ribbon__tabs::-webkit-scrollbar{height:4px;}
body[data-page="home"] .ccr-intelligence-ribbon__tabs::-webkit-scrollbar-track{background:transparent;}
body[data-page="home"] .ccr-intelligence-ribbon__tabs::-webkit-scrollbar-thumb{background:rgba(255,255,255,.16);border-radius:999px;}

body[data-page="home"] .ccr-intelligence-ribbon__tab{
  flex:0 0 auto;
  max-width:188px;
  min-height:32px;
  padding:6px 10px;
  background:linear-gradient(180deg, rgba(255,255,255,.024), rgba(255,255,255,.010));
}

body[data-page="home"] .ccr-intelligence-ribbon__tab span{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

body[data-page="home"] .ccr-intelligence-ribbon__tab.is-active{
  background:linear-gradient(180deg, rgba(255,255,255,.038), rgba(255,255,255,.014));
  border-color:rgba(232,214,164,.20);
}

body[data-page="home"] .ccr-intelligence-ribbon__panels,
body[data-page="home"] .ccr-intelligence-ribbon__panel{
  min-width:0;
  max-width:100%;
}

body[data-page="home"] .ccr-intelligence-ribbon__panel[hidden]{
  display:none !important;
}

body[data-page="home"] .ccr-intelligence-ribbon__cards,
body[data-page="home"] .ccr-intelligence-ribbon__rss-grid{
  max-width:100%;
  min-width:0;
}

body[data-page="home"] .ccr-intelligence-ribbon__rss-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:13px;
  align-items:start;
}

body[data-page="home"] .ccr-intelligence-ribbon__rss-card{
  min-width:0;
  display:flex;
  flex-direction:column;
  border:1px solid rgba(255,255,255,.070);
  border-radius:20px;
  background:linear-gradient(180deg,rgba(255,255,255,.021),rgba(255,255,255,.008));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.024),0 10px 24px rgba(0,0,0,.13);
  overflow:hidden;
}

body[data-page="home"] .ccr-intelligence-ribbon__rss-card--text{
  min-height:204px;
}

body[data-page="home"] .ccr-intelligence-ribbon__rss-media,
body[data-page="home"] .ccr-intelligence-ribbon__rss-media-link{
  display:block;
  width:100%;
}

body[data-page="home"] .ccr-intelligence-ribbon__rss-media{
  aspect-ratio:16/9;
  background:rgba(255,255,255,.030);
  overflow:hidden;
}

body[data-page="home"] .ccr-intelligence-ribbon__rss-media img{
  width:100%;
  height:100%;
  object-fit:cover;
}

body[data-page="home"] .ccr-intelligence-ribbon__rss-body{
  display:flex;
  flex-direction:column;
  gap:7px;
  padding:12px;
  min-height:0;
  flex:1 1 auto;
}

body[data-page="home"] .ccr-intelligence-ribbon__rss-meta{
  display:flex;
  flex-wrap:wrap;
  gap:5px;
  color:var(--ccr-card-subtext-color,rgba(226,236,247,.62)) !important;
  filter:brightness(var(--ccr-card-subtext-brightness,100%));
  opacity:calc(var(--ccr-card-subtext-opacity,.70) * .90);
  font-weight:var(--ccr-card-subtext-weight,500) !important;
  font-size:var(--ccr-card-subtext-size,.70rem) !important;
  line-height:1.2;
}

body[data-page="home"] .ccr-intelligence-ribbon__rss-card h3{
  margin:0;
  color:var(--ccr-card-headline-color,#e2c3cc) !important;
  filter:brightness(var(--ccr-card-headline-brightness,100%));
  opacity:var(--ccr-card-headline-opacity,1);
  font-weight:var(--ccr-card-headline-weight,600) !important;
  font-size:var(--ccr-card-headline-size,1rem) !important;
  line-height:1.26;
  letter-spacing:-.012em;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

body[data-page="home"] .ccr-intelligence-ribbon__rss-card h3 a{
  color:inherit;
  text-decoration:none;
}

body[data-page="home"] .ccr-intelligence-ribbon__rss-card h3 a:hover{
  text-decoration:underline;
}

body[data-page="home"] .ccr-intelligence-ribbon__rss-card p{
  margin:0;
  color:var(--ccr-card-subtext-color,rgba(233,240,247,.68)) !important;
  filter:brightness(var(--ccr-card-subtext-brightness,100%));
  opacity:var(--ccr-card-subtext-opacity,.70);
  font-weight:var(--ccr-card-subtext-weight,500) !important;
  font-size:var(--ccr-card-subtext-size,.80rem) !important;
  line-height:1.42;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

body[data-page="home"] .ccr-intelligence-ribbon__rss-link{
  margin-top:auto;
  color:rgba(232,214,164,.68);
  font-size:.76rem;
  font-weight:700;
  text-decoration:none;
}

body[data-page="home"] .ccr-intelligence-ribbon__rss-link:hover{
  color:rgba(243,228,234,.96);
  text-decoration:underline;
}

body[data-page="home"] .ccr-intelligence-ribbon__rss-empty{
  grid-column:1 / -1;
  padding:18px;
  border:1px solid rgba(255,255,255,.055);
  border-radius:18px;
  color:rgba(220,232,246,.68);
  background:rgba(255,255,255,.012);
  font-size:.86rem;
}

@media (max-width:980px){
  body[data-page="home"] .ccr-intelligence-ribbon{
    width:calc(100% - 20px);
  }
  body[data-page="home"] .ccr-intelligence-ribbon__header{
    grid-template-columns:1fr;
    align-items:start;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__tabs{
    justify-content:flex-start;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__rss-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width:640px){
  body[data-page="home"] .ccr-intelligence-ribbon{
    width:calc(100% - 12px);
    margin:10px auto 14px;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__rss-grid{
    grid-template-columns:1fr;
  }
}


/* Phase 2C — restore chart cards + match CCR/source-card transparency */
body[data-page="home"].ccr-ribbon-active .home-main > .home-hero:not(#selectedTickerChartSection){
  display:none !important;
}

body[data-page="home"].ccr-ribbon-active #selectedTickerChartSection,
body[data-page="home"] #selectedTickerChartSection:not([hidden]){
  display:grid !important;
}


body[data-page="home"] .ccr-intelligence-ribbon__copy p{
  color:rgba(233,240,247,.70);
}

body[data-page="home"] .ccr-intelligence-ribbon__cards,
body[data-page="home"] .ccr-intelligence-ribbon__rss-grid{
  align-items:start;
  grid-auto-rows:auto;
}

body[data-page="home"] .ccr-intelligence-ribbon__cards > .top-card,
body[data-page="home"] .ccr-intelligence-ribbon__rss-card{
  align-self:start;
  height:auto;
  background:linear-gradient(180deg,rgba(255,255,255,.022),rgba(255,255,255,.010)) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.024),0 10px 24px rgba(0,0,0,.12) !important;
}

body[data-page="home"] .ccr-intelligence-ribbon__rss-card--text{
  min-height:0 !important;
}

body[data-page="home"] .ccr-intelligence-ribbon__rss-card p{
  -webkit-line-clamp:2;
}

body[data-page="home"] .ccr-intelligence-ribbon__rss-link{
  margin-top:.15rem;
}

body[data-page="home"] .ccr-intelligence-ribbon__rss-body{
  flex:0 1 auto;
}

body[data-page="home"] .ccr-intelligence-ribbon__cards > .top-card .card-toggle-media__frame,
body[data-page="home"] .ccr-intelligence-ribbon__rss-media{
  background:rgba(255,255,255,.022);
}


/* Phase 2D — CCR ribbon title cleanup + browser-style tabs */
body[data-page="home"] .ccr-intelligence-ribbon__inner{
  padding:14px 16px 18px !important;
}

body[data-page="home"] .ccr-intelligence-ribbon__header{
  display:grid !important;
  grid-template-columns:1fr !important;
  align-items:start !important;
}

body[data-page="home"] .ccr-intelligence-ribbon__copy{
  display:grid;
  justify-items:start;
  align-items:start;
  gap:0;
  min-width:0;
}

body[data-page="home"] .ccr-intelligence-ribbon__eyebrow{
  padding:.24rem .56rem !important;
  line-height:1.1;
}

body[data-page="home"] .ccr-intelligence-ribbon__copy h2{
  margin:0 !important;
  font-family:var(--font-body, Inter, system-ui, sans-serif) !important;
  font-size:clamp(1.05rem,1.35vw,1.36rem) !important;
  line-height:1.15 !important;
  font-weight:700 !important;
  letter-spacing:-.018em !important;
  color:rgba(242,232,238,.96) !important;
}

body[data-page="home"] .ccr-intelligence-ribbon__copy p{
  display:none !important;
}

body[data-page="home"] .ccr-intelligence-ribbon__tabs{
  width:100%;
  display:flex !important;
  flex-wrap:wrap !important;
  justify-content:flex-start !important;
  scrollbar-width:none;
}
body[data-page="home"] .ccr-intelligence-ribbon__tabs::-webkit-scrollbar{display:none;}

body[data-page="home"] .ccr-intelligence-ribbon__tab{
  position:relative;
  flex:0 1 auto !important;
  max-width:190px !important;
  min-height:34px !important;
  margin:0 -1px -1px 0;
  padding:7px 12px 8px !important;
  border-radius:13px 13px 0 0 !important;
  border:1px solid rgba(255,255,255,.078) !important;
  border-bottom-color:rgba(255,255,255,.075) !important;
  background:linear-gradient(180deg,rgba(255,255,255,.025),rgba(255,255,255,.010)) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.026) !important;
  cursor:pointer;
}


body[data-page="home"] .ccr-intelligence-ribbon__tab span{
  font-size:.76rem;
  line-height:1.08;
}

body[data-page="home"] .ccr-intelligence-ribbon__tab small{
  font-size:.66rem;
  line-height:1;
  opacity:.82;
}


/* Phase 2E — mobile scroll root fix + Source Feed transparency match */
body[data-page="home"] .ccr-intelligence-ribbon__copy h2,
body[data-page="home"] .ccr-intelligence-ribbon__copy p{
  display:none !important;
}

body[data-page="home"] .ccr-intelligence-ribbon__copy{
  min-height:0 !important;
  margin:0 !important;
}

body[data-page="home"] .ccr-intelligence-ribbon__eyebrow{
  margin:0 0 7px !important;
  transform:none !important;
  align-self:start !important;
  justify-self:start !important;
}


body[data-page="home"] .ccr-intelligence-ribbon__inner::before{
  display:none !important;
}

body[data-page="home"] .ccr-intelligence-ribbon__cards > .top-card,
body[data-page="home"] .ccr-intelligence-ribbon__rss-card,
body[data-page="home"] .ccr-intelligence-ribbon__tab{
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}

body[data-page="home"] .ccr-intelligence-ribbon__header{
  gap:8px !important;
  margin-bottom:12px !important;
}

body[data-page="home"] .ccr-intelligence-ribbon__panels{
  padding-top:11px !important;
}

/* Phase 56 — CCR article overlay transparency and desktop width refinement. */
/* Phase 55 — CCR article overlay owner fix: SO-style transparency + appearance-driven EN copy alignment/size. */
/* Phase 3A — CCR ribbon card adapter + article overlay */
body[data-page="home"] .ccr-intelligence-ribbon__ccr-card{
  overflow:hidden;
}
body[data-page="home"] .ccr-intelligence-ribbon__ccr-media-button,
body[data-page="home"] .ccr-intelligence-ribbon__ccr-title-button,
body[data-page="home"] .ccr-intelligence-ribbon__ccr-open{
  appearance:none;
  border:0;
  background:transparent;
  color:inherit;
  font:inherit;
  text-align:left;
  padding:0;
  cursor:pointer;
}
body[data-page="home"] .ccr-intelligence-ribbon__ccr-media-button{
  display:block;
  width:100%;
}
body[data-page="home"] .ccr-intelligence-ribbon__ccr-title-button{
  width:100%;
  line-height:inherit;
}
body[data-page="home"] .ccr-intelligence-ribbon__ccr-title-button:hover{
  color:inherit;
  filter:brightness(1.08);
}
body[data-page="home"] .ccr-intelligence-ribbon__ccr-open{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin-top:auto;
}
body[data-page="home"] .ccr-intelligence-ribbon__ccr-meta span:last-child{
  color:rgba(241,210,143,.90);
}
body.ccr-article-overlay-open{
  overflow:hidden;
}
.ccr-article-overlay[hidden]{
  display:none !important;
}
.ccr-article-overlay{
  position:fixed;
  inset:0;
  z-index:2500;
  display:grid;
  place-items:center;
  padding:clamp(14px,3vw,32px);
}
.ccr-article-overlay__shade{
  position:absolute;
  inset:0;
  background:rgba(5,10,18,.08);
  backdrop-filter:blur(4px) saturate(1.01);
  -webkit-backdrop-filter:blur(4px) saturate(1.01);
}
.ccr-article-overlay__panel{
  position:relative;
  z-index:1;
  width:min(735px,100%);
  max-height:min(88vh,980px);
  overflow:auto;
  border:1px solid rgba(214,229,248,.07);
  border-radius:26px;
  background:
    radial-gradient(circle at 18% 0%, rgba(124,160,205,.038), transparent 34%),
    linear-gradient(180deg, rgba(24,36,50,.34), rgba(8,14,23,.26));
  box-shadow:0 22px 58px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.028);
  backdrop-filter:blur(10px) saturate(1.03);
  -webkit-backdrop-filter:blur(10px) saturate(1.03);
  color:rgba(242,246,250,.94);
  padding:clamp(20px,3vw,38px);
}

/* Phase 58 — CCR article overlay desktop-only width refinement. */
@media (min-width:901px){
  body[data-page="home"] .ccr-article-overlay__panel{
    width:min(588px,100%);
  }
}
.ccr-article-overlay__panel::-webkit-scrollbar{width:10px;}
.ccr-article-overlay__panel::-webkit-scrollbar-track{background:rgba(255,255,255,.04);border-radius:999px;}
.ccr-article-overlay__panel::-webkit-scrollbar-thumb{background:rgba(255,255,255,.22);border-radius:999px;border:2px solid rgba(8,14,24,.92);}
.ccr-article-overlay__close{
  position:sticky;
  top:0;
  float:right;
  width:42px;
  height:42px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(9,15,23,.72);
  color:rgba(255,255,255,.92);
  font-size:25px;
  line-height:1;
  cursor:pointer;
  z-index:2;
  box-shadow:0 10px 24px rgba(0,0,0,.26);
}
.ccr-article-overlay__close:hover{
  background:rgba(20,31,44,.82);
  border-color:rgba(232,214,164,.28);
}
.ccr-article-overlay__head{
  padding-right:48px;
}
.ccr-article-overlay__meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:12px;
  color:rgba(233,202,136,.88);
  font-size:.78rem;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.ccr-article-overlay__meta span{
  border:1px solid rgba(233,202,136,.18);
  border-radius:999px;
  background:rgba(233,202,136,.06);
  padding:5px 10px;
}
.ccr-article-overlay__head h2{
  margin:0 0 18px;
  font-family:var(--font-body);
  font-size:clamp(1.65rem,3.2vw,2.72rem);
  line-height:1.08;
  color:rgba(255,247,237,.97);
  letter-spacing:-.035em;
}
.ccr-article-overlay__hero{
  margin:0 0 22px;
  border-radius:20px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.09);
  background:rgba(255,255,255,.035);
}
.ccr-article-overlay__hero img{
  display:block;
  width:100%;
  max-height:420px;
  object-fit:cover;
}
.ccr-article-overlay__body{
  color:var(--ccr-body-text-color, rgba(236,242,248,.90));
  filter:brightness(var(--ccr-body-text-brightness,100%));
  opacity:var(--ccr-body-text-opacity,1);
  font-weight:var(--ccr-body-text-weight,500);
  font-size:var(--ccr-body-text-size,15px);
  line-height:1.72;
}
.ccr-article-overlay__body p{
  margin:0 0 1em;
}
html[lang="en"] .ccr-article-overlay__body p{
  text-align:var(--ccr-body-text-align,justify);
  text-align-last:left;
  text-justify:inter-word;
}
.ccr-article-overlay__body a,
.ccr-article-overlay__implication a{
  color:rgba(168,211,255,.95);
  text-decoration:none;
  border-bottom:1px solid rgba(168,211,255,.35);
}
.ccr-article-overlay__figure{
  margin:20px 0;
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.04);
}
.ccr-article-overlay__figure img{
  display:block;
  width:100%;
}
.ccr-article-overlay__figure figcaption{
  padding:8px 12px 10px;
  color:rgba(232,238,245,.68);
  font-size:.82rem;
}
.ccr-article-overlay__implication{
  margin-top:24px;
  padding:16px 18px;
  border:1px solid rgba(233,202,136,.16);
  border-radius:18px;
  background:rgba(233,202,136,.055);
  color:var(--ccr-implication-text-color, rgba(255,245,225,.92));
  filter:brightness(var(--ccr-implication-text-brightness,100%));
  opacity:var(--ccr-implication-text-opacity,1);
  font-weight:var(--ccr-implication-text-weight,500);
  font-size:var(--ccr-implication-text-size,15px);
  line-height:1.65;
}
html[lang="en"] .ccr-article-overlay__implication{
  text-align:var(--ccr-implication-text-align,justify);
  text-align-last:left;
  text-justify:inter-word;
}
.ccr-article-overlay__implication p{
  display:inline;
  margin:0;
}
.ccr-article-overlay__links{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:22px;
  align-items:center;
}
.ccr-article-overlay__links strong{
  color:rgba(233,202,136,.88);
  margin-right:4px;
}
.ccr-article-overlay__links a{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:7px 11px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.055);
  color:rgba(238,245,251,.92);
  text-decoration:none;
}
@media (max-width:760px){
  .ccr-article-overlay{
    padding:10px;
    place-items:stretch;
  }
  .ccr-article-overlay__panel{
    width:100%;
    max-height:calc(100vh - 20px);
    border-radius:24px;
    padding:16px;
    background:
      radial-gradient(circle at 18% 0%, rgba(124,160,205,.038), transparent 34%),
      linear-gradient(180deg, rgba(24,36,50,.34), rgba(8,14,23,.26));
  }
  .ccr-article-overlay__body{
    font-size:var(--ccr-body-text-size,15px);
    line-height:1.68;
  }
  .ccr-article-overlay__implication{
    font-size:var(--ccr-implication-text-size,15px);
    line-height:1.62;
  }
  .ccr-article-overlay__head h2{
    font-size:1.55rem;
  }
  .ccr-article-overlay__hero img{
    max-height:300px;
  }
}

/* Phase 3B — CCR ribbon refinements, source-card transparency, mobile sticky header restore */
body[data-page="home"] .home-top-stack + .ccr-intelligence-ribbon + .main-grid{
  padding-top:8px;
}

body[data-page="home"] .ccr-intelligence-ribbon{
  width:calc(100% - 2 * var(--pad)) !important;
  max-width:none !important;
  margin:14px auto 18px !important;
  box-sizing:border-box !important;
}

body[data-page="home"] .ccr-intelligence-ribbon__inner,
body[data-page="home"] .selected-ticker-chart-section > .selected-ticker-chart-shell{
  background:linear-gradient(180deg,rgba(255,255,255,.018),rgba(255,255,255,.009)) !important;
  border:1px solid rgba(255,255,255,.066) !important;
  box-shadow:0 16px 40px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.026) !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}

body[data-page="home"] .ccr-intelligence-ribbon__rss-card,
body[data-page="home"] .ccr-intelligence-ribbon__ccr-card,
body[data-page="home"] .selected-ticker-chart-grid > .ticker-chart-card{
  border:1px solid rgba(255,255,255,.070) !important;
  background:linear-gradient(180deg,rgba(255,255,255,.022),rgba(255,255,255,.010)) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.024),0 10px 24px rgba(0,0,0,.12) !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}

body[data-page="home"] .ccr-intelligence-ribbon__ccr-open,
body[data-page="home"] .ccr-intelligence-ribbon__ccr-open:visited{
  color:rgba(233,202,136,.94) !important;
  font-weight:760 !important;
  letter-spacing:.018em !important;
  text-decoration:none !important;
}
body[data-page="home"] .ccr-intelligence-ribbon__ccr-open:hover,
body[data-page="home"] .ccr-intelligence-ribbon__ccr-open:focus-visible{
  color:rgba(255,229,166,.98) !important;
  text-decoration:underline !important;
  text-underline-offset:3px;
}


body[data-page="home"] .settings-shell-backdrop{
  background:rgba(5,10,18,.13) !important;
  backdrop-filter:blur(5px) saturate(1.02) !important;
  -webkit-backdrop-filter:blur(5px) saturate(1.02) !important;
}
body[data-page="home"] .settings-shell-card{
  border-color:rgba(214,229,248,.082) !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(124,160,205,.045), transparent 34%),
    linear-gradient(180deg, rgba(24,36,50,.42), rgba(8,14,23,.34)) !important;
  box-shadow:0 22px 58px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.030) !important;
  backdrop-filter:blur(12px) saturate(1.04) !important;
  -webkit-backdrop-filter:blur(12px) saturate(1.04) !important;
}

@media (max-width:760px){
  body[data-page="home"] .home-top-stack,
  body[data-page="home"].ccr-ribbon-active .home-top-stack{
    position:sticky !important;
    top:0 !important;
    z-index:76 !important;
    background:linear-gradient(180deg,rgba(20,31,41,.13),rgba(20,31,41,.035)) !important;
    backdrop-filter:blur(8px) saturate(1.04) !important;
    -webkit-backdrop-filter:blur(8px) saturate(1.04) !important;
  }
  body[data-page="home"] .masthead .meta-line[data-updated-stamp]{
    display:none !important;
  }
  body[data-page="home"] .selected-ticker-chart-section{
    margin-inline:var(--pad) !important;
  }
  body[data-page="home"] .selected-ticker-chart-section > .selected-ticker-chart-shell{
    padding:18px !important;
    border:1px solid rgba(255,255,255,.066) !important;
    background:linear-gradient(180deg,rgba(255,255,255,.018),rgba(255,255,255,.009)) !important;
    box-shadow:0 16px 40px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.026) !important;
  }
}

/* Phase 3C/r9112 — physical ribbon tabs + desktop first/last-tab hover reveal + restored desktop tab faces */
body[data-page="home"] .ccr-intelligence-ribbon__tab-scroll-shell{
  position:relative !important;
  min-width:0 !important;
  max-width:100% !important;
  align-self:end !important;
}
@media (hover:hover) and (pointer:fine) and (min-width:761px){
  body[data-page="home"] .ccr-intelligence-ribbon__tab-scroll-shell.is-scrollable::before,
  body[data-page="home"] .ccr-intelligence-ribbon__tab-scroll-shell.is-scrollable::after{
    content:"";
    position:absolute !important;
    top:5px !important;
    bottom:1px !important;
    width:42px !important;
    z-index:22 !important;
    pointer-events:none !important;
    opacity:0 !important;
    transition:opacity var(--fast), box-shadow var(--fast) !important;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__tab-scroll-shell.can-scroll-left::before{
    left:0 !important;
    opacity:.34 !important;
    background:linear-gradient(90deg, rgba(7,15,26,.48), rgba(7,15,26,0)) !important;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__tab-scroll-shell.can-scroll-right::after{
    right:0 !important;
    opacity:.34 !important;
    background:linear-gradient(270deg, rgba(7,15,26,.48), rgba(7,15,26,0)) !important;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__tab-scroll-shell.is-edge-scrolling-left::before,
  body[data-page="home"] .ccr-intelligence-ribbon__tab-scroll-shell.is-edge-scrolling-right::after{
    opacity:.66 !important;
    box-shadow:0 0 14px rgba(232,190,112,.08) !important;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__tab-scroll-shell.is-edge-scrolling-left .ccr-intelligence-ribbon__tabs,
  body[data-page="home"] .ccr-intelligence-ribbon__tab-scroll-shell.is-edge-scrolling-right .ccr-intelligence-ribbon__tabs{
    cursor:ew-resize !important;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__tab-scroll-shell.is-scrollable .ccr-intelligence-ribbon__tab{
    cursor:grab !important;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__tab-scroll-shell.is-tab-dragging,
  body[data-page="home"] .ccr-intelligence-ribbon__tab-scroll-shell.is-tab-dragging .ccr-intelligence-ribbon__tabs,
  body[data-page="home"] .ccr-intelligence-ribbon__tab-scroll-shell.is-tab-dragging .ccr-intelligence-ribbon__tab{
    cursor:grabbing !important;
    user-select:none !important;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__tab-scroll-shell.is-tab-dragging .ccr-intelligence-ribbon__tabs{
    scroll-snap-type:none !important;
    scroll-behavior:auto !important;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__tab-scroll-shell.is-tab-free-scroll .ccr-intelligence-ribbon__tabs{
    scroll-snap-type:none !important;
    scroll-behavior:auto !important;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__tab-scroll-shell.is-tab-free-scroll .ccr-intelligence-ribbon__tab{
    scroll-snap-align:none !important;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__tabs{
    scroll-snap-type:none !important;
    scroll-behavior:auto !important;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__tab{
    scroll-snap-align:none !important;
  }
}
body[data-page="home"] .ccr-intelligence-ribbon__tabs{
  --ccr-tab-card-bg:rgba(16,26,39,.96);
  --ccr-tab-card-bg-active:rgba(22,35,51,.985);
  --ccr-tab-card-border:rgba(136,163,194,.30);
  --ccr-tab-card-border-active:rgba(235,202,136,.54);
  --ccr-ribbon-seam:rgba(235,202,136,.42);
  --ccr-ribbon-seam-glow:rgba(232,190,112,.07);
  --ccr-ribbon-tab-bottom:rgba(235,202,136,.42);
  --ccr-ribbon-tab-bottom-inset:rgba(235,202,136,.13);
  --ccr-ribbon-active-glow:rgba(232,190,112,.08);
  position:relative !important;
  z-index:4 !important;
  display:flex !important;
  flex-wrap:nowrap !important;
  justify-content:flex-start !important;
  align-items:flex-end !important;
  gap:0 !important;
  row-gap:0 !important;
  max-width:100% !important;
  min-width:0 !important;
  padding:10px 8px 0 !important;
  border-bottom:0 !important;
  background:linear-gradient(180deg, rgba(24,38,55,.16), rgba(8,16,28,.06)) !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
  scrollbar-width:none !important;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior-x:contain;
  scroll-snap-type:x proximity;
  scroll-padding-inline:8px;
}
body[data-page="home"] .ccr-intelligence-ribbon__tabs::-webkit-scrollbar{
  display:none !important;
}
body[data-page="home"] .ccr-intelligence-ribbon__tabs::after{
  content:"";
  position:absolute !important;
  left:0 !important;
  right:0 !important;
  bottom:0 !important;
  height:1px !important;
  background:var(--ccr-ribbon-seam) !important;
  box-shadow:0 0 10px var(--ccr-ribbon-seam-glow) !important;
  pointer-events:none !important;
  z-index:1 !important;
}
body[data-page="home"] .ccr-intelligence-ribbon__tab{
  isolation:isolate;
  position:relative !important;
  z-index:2 !important;
  flex:0 0 auto !important;
  scroll-snap-align:start;
  min-height:37px !important;
  margin:-2px -8px 0 0 !important;
  padding:8px 18px 9px !important;
  border:1px solid var(--ccr-tab-card-border) !important;
  border-bottom-color:var(--ccr-ribbon-tab-bottom) !important;
  border-radius:15px 15px 0 0 !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.105), rgba(255,255,255,.030)),
    var(--ccr-tab-card-bg) !important;
  box-shadow:
    0 -6px 16px rgba(0,0,0,.18),
    5px 0 14px rgba(0,0,0,.12),
    inset 0 1px 0 rgba(255,255,255,.10),
    inset 0 -1px 0 var(--ccr-ribbon-tab-bottom-inset) !important;
  transform:translateY(0) !important;
  opacity:1 !important;
  color:rgba(238,244,250,.88) !important;
}
body[data-page="home"] .ccr-intelligence-ribbon__tab::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  border-radius:inherit;
  background:linear-gradient(90deg, rgba(0,0,0,.16), transparent 12%, transparent 86%, rgba(255,255,255,.035));
  pointer-events:none;
}
body[data-page="home"] .ccr-intelligence-ribbon__tab:hover,
body[data-page="home"] .ccr-intelligence-ribbon__tab:focus-visible{
  z-index:8 !important;
  border-color:rgba(235,202,136,.46) !important;
  border-bottom-color:var(--ccr-ribbon-tab-bottom) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.135), rgba(255,255,255,.042)),
    rgba(19,31,46,.98) !important;
}
body[data-page="home"] .ccr-intelligence-ribbon__tab.is-active{
  z-index:16 !important;
  border-color:var(--ccr-tab-card-border-active) !important;
  border-bottom-color:transparent !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,224,154,.17), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,.155), rgba(255,255,255,.048)),
    var(--ccr-tab-card-bg-active) !important;
  box-shadow:
    0 -10px 22px rgba(0,0,0,.24),
    0 0 14px var(--ccr-ribbon-active-glow),
    7px 0 16px rgba(0,0,0,.15),
    inset 0 1px 0 rgba(255,247,223,.16),
    inset 1px 0 0 rgba(233,202,136,.12),
    inset -1px 0 0 rgba(233,202,136,.10) !important;
  transform:translateY(1px) !important;
  color:rgba(255,247,229,.96) !important;
}
body[data-page="home"] .ccr-intelligence-ribbon__tab span,
body[data-page="home"] .ccr-intelligence-ribbon__tab small{
  position:relative;
  z-index:2;
  text-shadow:0 1px 2px rgba(0,0,0,.34);
}
body[data-page="home"] .ccr-intelligence-ribbon__tab--universe{
  min-width:52px !important;
  max-width:74px !important;
  justify-content:center !important;
  padding-inline:14px !important;
  color:rgba(233,202,136,.96) !important;
}
body[data-page="home"] .ccr-intelligence-ribbon__tab--universe span{
  font-size:1.08rem !important;
  line-height:.92 !important;
  font-weight:850 !important;
}
body[data-page="home"] .ccr-intelligence-ribbon__tab--universe small{
  color:rgba(233,202,136,.78) !important;
}


/* r9121 — source tab compact counts + close affordance */
body[data-page="home"] .ccr-intelligence-ribbon__tab-label{
  min-width:0 !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
}
body[data-page="home"] .ccr-intelligence-ribbon__tab-count{
  flex:0 0 auto !important;
  white-space:nowrap !important;
}
body[data-page="home"] .ccr-intelligence-ribbon__tab-close{
  position:relative !important;
  z-index:3 !important;
  flex:0 0 auto !important;
  display:inline-grid !important;
  place-items:center !important;
  width:17px !important;
  height:17px !important;
  margin-left:2px !important;
  border:1px solid rgba(235,202,136,.24) !important;
  border-radius:999px !important;
  background:rgba(255,255,255,.055) !important;
  color:rgba(238,244,250,.72) !important;
  font-size:.76rem !important;
  font-weight:850 !important;
  line-height:1 !important;
  letter-spacing:0 !important;
  text-shadow:none !important;
  cursor:pointer !important;
  touch-action:manipulation !important;
  transition:background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease !important;
}
body[data-page="home"] .ccr-intelligence-ribbon__tab-close:hover,
body[data-page="home"] .ccr-intelligence-ribbon__tab-close:focus-visible{
  border-color:rgba(235,202,136,.54) !important;
  background:rgba(235,202,136,.14) !important;
  color:rgba(255,247,229,.96) !important;
}
body[data-page="home"] .ccr-intelligence-ribbon__tab-close:active{
  transform:scale(.92) !important;
}
body[data-page="home"] .ccr-intelligence-ribbon__panels{
  margin-top:0 !important;
  border-top:0 !important;
}
body[data-page="home"] .ccr-intelligence-ribbon__ccr-open,
body[data-page="home"] .ccr-intelligence-ribbon__ccr-open:visited{
  color:rgba(232,214,164,.68) !important;
  font-size:.76rem !important;
  font-weight:700 !important;
  line-height:1.2 !important;
  letter-spacing:0 !important;
  text-decoration:none !important;
  text-underline-offset:initial !important;
}
body[data-page="home"] .ccr-intelligence-ribbon__ccr-open:hover,
body[data-page="home"] .ccr-intelligence-ribbon__ccr-open:focus-visible{
  color:rgba(243,228,234,.96) !important;
  text-decoration:underline !important;
}
@media (max-width:760px){
  body[data-page="home"] .ccr-intelligence-ribbon__tab-scroll-shell{
    display:block !important;
    width:100% !important;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__tab-scroll-shell::before,
  body[data-page="home"] .ccr-intelligence-ribbon__tab-scroll-shell::after{
    content:none !important;
    display:none !important;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__tab-scroll-shell.is-edge-scrolling-left .ccr-intelligence-ribbon__tabs,
  body[data-page="home"] .ccr-intelligence-ribbon__tab-scroll-shell.is-edge-scrolling-right .ccr-intelligence-ribbon__tabs{
    cursor:auto !important;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__tab-scroll-shell.is-scrollable .ccr-intelligence-ribbon__tabs{
    padding-left:7px !important;
    padding-right:7px !important;
  }
}

@media (max-width:760px){
  body[data-page="home"] .ccr-intelligence-ribbon__eyebrow{
    display:none !important;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__header{
    gap:6px !important;
    margin-bottom:8px !important;
  }
}


/* r8363 — CCR article overlay playable video support only */
.ccr-article-overlay__video{
  margin:0 0 22px;
  border-radius:20px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.09);
  background:rgba(255,255,255,.035);
  aspect-ratio:16 / 9;
}
.ccr-article-overlay__video iframe,
.ccr-article-overlay__video video{
  display:block;
  width:100%;
  height:100%;
  border:0;
  background:#000;
}
.ccr-article-overlay__video-link{
  margin:0 0 18px;
}
.ccr-article-overlay__video-link a{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:7px 11px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.055);
  color:rgba(238,245,251,.92);
  text-decoration:none;
}

/* r8481 — mobile-only density pass for CCR home view */
@media (max-width:760px){
  body[data-page="home"] .header-inner{
    padding:8px 0 5px !important;
  }
  body[data-page="home"] .masthead{
    gap:4px !important;
  }
  body[data-page="home"] .masthead h1[data-site-title]{
    font-size:var(--ccr-masthead-title-mobile-size,clamp(28px,8.1vw,42px)) !important;
    line-height:1.05 !important;
    padding:8px 11px !important;
    border-radius:18px !important;
  }
  body[data-page="home"] .site-header{
    border-bottom-color:rgba(255,255,255,.035) !important;
  }
  body[data-page="home"] .header-actions{
    gap:5px !important;
  }
  body[data-page="home"] .ticker-shell{
    margin:3px 0 0 !important;
    border-top-color:rgba(255,255,255,.020) !important;
    border-bottom-color:rgba(255,255,255,.022) !important;
  }
  body[data-page="home"] .ticker-rail{
    min-height:30px !important;
    padding:4px 8px !important;
  }
  body[data-page="home"] .ticker-item,
  body[data-page="home"] .ticker-headline{
    padding:0 12px !important;
    font-size:12.5px !important;
    line-height:1 !important;
    gap:8px !important;
  }
  body[data-page="home"] .ticker-item__label{
    font-size:10.5px !important;
  }
  body[data-page="home"] .ticker-item__arrow,
  body[data-page="home"] .ticker-item__delta{
    font-size:12.5px !important;
  }
  body[data-page="home"] .ticker-sep{
    height:10px !important;
  }
  body[data-page="home"] .ccr-intelligence-ribbon{
    width:100vw !important;
    margin:4px calc(50% - 50vw) 10px !important;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__inner{
    padding:7px 4px 10px !important;
    border-radius:17px !important;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__header{
    margin-bottom:4px !important;
    gap:4px !important;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__tabs{
    width:100% !important;
    box-sizing:border-box !important;
    margin:0 !important;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__rss-grid{
    gap:10px !important;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__rss-card,
  body[data-page="home"] .ccr-intelligence-ribbon__ccr-card{
    border-radius:17px !important;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__rss-media,
  body[data-page="home"] .ccr-intelligence-ribbon__cards > .top-card .card-toggle-media__frame{
    aspect-ratio:2.05 / 1 !important;
    max-height:220px !important;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__rss-media img,
  body[data-page="home"] .ccr-intelligence-ribbon__cards > .top-card .card-toggle-media__image,
  body[data-page="home"] .ccr-intelligence-ribbon__cards > .top-card .card-toggle-media__bg-image{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__rss-body{
    padding:10px 12px 12px !important;
    gap:6px !important;
  }
}


/* r8491 — mobile-only ticker, top-safe card images, and attached-tab refinement */
@media (max-width:760px){
  body[data-page="home"] .home-top-stack{
    gap:0 !important;
  }
  body[data-page="home"] .ticker-shell{
    margin:0 !important;
    border-top-color:rgba(255,255,255,.012) !important;
    border-bottom-color:rgba(255,255,255,.016) !important;
  }
  body[data-page="home"] .ticker-rail{
    min-height:25px !important;
    padding:2px 6px !important;
  }
  body[data-page="home"] .ticker-item,
  body[data-page="home"] .ticker-headline{
    padding:0 10px !important;
    line-height:.95 !important;
    gap:7px !important;
  }
  body[data-page="home"] .ticker-sep{
    height:8px !important;
    margin-inline:4px !important;
  }

  body[data-page="home"] .ccr-intelligence-ribbon{
    margin-top:2px !important;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__inner{
    padding-top:6px !important;
  }

  body[data-page="home"] .ccr-intelligence-ribbon__rss-media,
  body[data-page="home"] .ccr-intelligence-ribbon__cards > .top-card .card-toggle-media__frame{
    aspect-ratio:1.92 / 1 !important;
    max-height:232px !important;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__rss-media img,
  body[data-page="home"] .ccr-intelligence-ribbon__cards > .top-card .card-toggle-media__image,
  body[data-page="home"] .ccr-intelligence-ribbon__cards > .top-card .card-toggle-media__bg-image{
    object-position:center top !important;
  }
}

/* r8501 — desktop CCR ribbon duplicate search + results overlay */
@media (min-width:761px){
  body[data-page="home"] .ccr-intelligence-ribbon__eyebrow-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    width:100%;
    min-width:0;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__eyebrow-row .ccr-intelligence-ribbon__eyebrow{
    flex:0 0 auto;
    margin-bottom:0 !important;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__search{
    flex:0 1 420px;
    max-width:min(44vw,460px);
    margin-left:auto;
    display:grid;
    grid-template-columns:minmax(180px,1fr) auto;
    gap:8px;
    align-items:center;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__search input{
    width:100%;
    min-height:34px;
    border-radius:999px;
    border:1px solid rgba(255,255,255,.105);
    background:rgba(5,12,22,.26);
    color:rgba(239,246,253,.94);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
    padding:7px 13px;
    font:600 .82rem/1.2 var(--font-body,Inter,system-ui,sans-serif);
    outline:none;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__search input::placeholder{
    color:rgba(217,228,244,.50);
  }
  body[data-page="home"] .ccr-intelligence-ribbon__search input:focus{
    border-color:rgba(233,202,136,.34);
    box-shadow:0 0 0 3px rgba(233,202,136,.075), inset 0 1px 0 rgba(255,255,255,.04);
  }
  body[data-page="home"] .ccr-intelligence-ribbon__search button:not(.ccr-ribbon-invite-friend-btn):not(.ccr-intelligence-ribbon__archive-open){
    min-height:34px;
    border-radius:999px;
    border:1px solid rgba(233,202,136,.25);
    background:rgba(233,202,136,.075);
    color:rgba(244,225,173,.96);
    padding:7px 14px;
    font:800 .78rem/1 var(--font-body,Inter,system-ui,sans-serif);
    letter-spacing:.04em;
    text-transform:uppercase;
    cursor:pointer;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__search button:not(.ccr-ribbon-invite-friend-btn):not(.ccr-intelligence-ribbon__archive-open):hover,
  body[data-page="home"] .ccr-intelligence-ribbon__search button:not(.ccr-ribbon-invite-friend-btn):not(.ccr-intelligence-ribbon__archive-open):focus-visible{
    background:rgba(233,202,136,.12);
    border-color:rgba(233,202,136,.40);
  }
}
@media (max-width:760px){
  body[data-page="home"] .ccr-intelligence-ribbon__search{
    display:none !important;
  }
}
body.ccr-ribbon-search-overlay-open{
  overflow:hidden;
}
.ccr-ribbon-search-overlay[hidden]{
  display:none !important;
}
.ccr-ribbon-search-overlay{
  position:fixed;
  inset:0;
  z-index:2600;
  display:grid;
  place-items:center;
  padding:clamp(18px,3vw,38px);
}
.ccr-ribbon-search-overlay__shade{
  position:absolute;
  inset:0;
  background:rgba(2,7,14,.72);
  backdrop-filter:blur(13px) saturate(1.04);
  -webkit-backdrop-filter:blur(13px) saturate(1.04);
}
.ccr-ribbon-search-overlay__panel{
  position:relative;
  z-index:1;
  width:min(1180px,100%);
  max-height:min(88vh,980px);
  overflow:auto;
  border:1px solid rgba(255,255,255,.10);
  border-radius:26px;
  background:
    radial-gradient(circle at 18% 0%, rgba(124,160,205,.06), transparent 34%),
    linear-gradient(180deg, rgba(17,27,42,.92), rgba(8,14,24,.88));
  box-shadow:0 32px 84px rgba(0,0,0,.46), inset 0 1px 0 rgba(255,255,255,.08);
  color:rgba(242,246,250,.94);
  padding:clamp(18px,2.6vw,30px);
}
.ccr-ribbon-search-overlay__panel::-webkit-scrollbar{width:10px;}
.ccr-ribbon-search-overlay__panel::-webkit-scrollbar-track{background:rgba(255,255,255,.04);border-radius:999px;}
.ccr-ribbon-search-overlay__panel::-webkit-scrollbar-thumb{background:rgba(255,255,255,.22);border-radius:999px;border:2px solid rgba(8,14,24,.88);}
.ccr-ribbon-search-overlay__head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:18px;
  margin-bottom:18px;
}
.ccr-ribbon-search-overlay__head p{
  margin:0 0 5px;
  color:rgba(233,202,136,.86);
  font-size:.76rem;
  font-weight:800;
  letter-spacing:.10em;
  text-transform:uppercase;
}
.ccr-ribbon-search-overlay__head h2{
  margin:0;
  color:rgba(255,247,237,.97);
  font-size:clamp(1.35rem,2.3vw,2.25rem);
  line-height:1.1;
  letter-spacing:-.035em;
}
.ccr-ribbon-search-overlay__summary{
  margin-top:8px;
  color:rgba(218,230,244,.74);
  font-size:.88rem;
  line-height:1.45;
}
.ccr-ribbon-search-overlay__close{
  flex:0 0 auto;
  width:40px;
  height:40px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.13);
  background:rgba(255,255,255,.07);
  color:rgba(255,255,255,.92);
  font-size:26px;
  line-height:1;
  cursor:pointer;
}
.ccr-ribbon-search-overlay__grid{
  display:block;
  columns:3 300px;
  column-gap:16px;
}
.ccr-ribbon-search-overlay__grid > .ccr-intelligence-ribbon__rss-card{
  height:auto;
  min-width:0;
  width:100%;
  display:flex;
  margin:0 0 16px;
  break-inside:avoid;
  page-break-inside:avoid;
  -webkit-column-break-inside:avoid;
  background:linear-gradient(180deg,rgba(255,255,255,.026),rgba(255,255,255,.010)) !important;
  border-color:rgba(255,255,255,.075) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.030),0 12px 28px rgba(0,0,0,.16) !important;
}
.ccr-ribbon-search-overlay__grid > .ccr-intelligence-ribbon__rss-card .ccr-intelligence-ribbon__rss-media{
  aspect-ratio:16/9;
}
.ccr-ribbon-search-overlay__empty{
  display:block;
  padding:24px;
  border:1px dashed rgba(183,203,232,.18);
  border-radius:20px;
  background:rgba(10,18,31,.22);
  color:rgba(219,230,247,.76);
  text-align:center;
}
.ccr-ribbon-search-overlay__actions{
  display:flex;
  justify-content:center;
  margin-top:18px;
}
@media (max-width:980px){
  .ccr-ribbon-search-overlay__grid{
    columns:2 300px;
  }
}
@media (max-width:760px){
  .ccr-ribbon-search-overlay{
    display:none !important;
  }
}


/* r8511 — mobile site-title appearance variables + search-overlay image patience */
@media (max-width:760px){
  body[data-page="home"] .masthead h1[data-site-title] .site-title-text{
    color:var(--ccr-masthead-title-mobile-color,var(--ccr-masthead-title-color,#d8b2be)) !important;
    filter:brightness(var(--ccr-masthead-title-mobile-brightness,var(--ccr-masthead-title-brightness,100%))) !important;
    opacity:var(--ccr-masthead-title-mobile-opacity,var(--ccr-masthead-title-opacity,1)) !important;
    font-weight:var(--ccr-masthead-title-mobile-weight,var(--ccr-masthead-title-weight,700)) !important;
  }
  body[data-page="home"] .masthead h1[data-site-title]::after{
    opacity:clamp(.10,var(--ccr-site-title-mobile-wave-opacity,var(--ccr-site-title-wave-opacity,.22)),.55) !important;
    animation-duration:var(--ccr-site-title-mobile-wave-duration,var(--ccr-site-title-wave-duration,3.8s)) !important;
  }
}
.ccr-ribbon-search-overlay__grid > .ccr-intelligence-ribbon__rss-card .ccr-intelligence-ribbon__rss-media{
  background:linear-gradient(135deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
}
.ccr-ribbon-search-overlay__grid > .ccr-intelligence-ribbon__rss-card .ccr-intelligence-ribbon__rss-media img{
  transition:opacity .28s ease;
}

/* r8521 — desktop tab/action text polish */
body[data-page="home"] .ccr-intelligence-ribbon__tab--universe{
  min-width:42px !important;
  max-width:48px !important;
  padding-inline:13px !important;
  color:rgba(238,244,250,.88) !important;
}
body[data-page="home"] .ccr-intelligence-ribbon__tab--universe span{
  color:rgba(238,244,250,.88) !important;
  font-weight:850 !important;
}
body[data-page="home"] .ccr-intelligence-ribbon__tab--universe small{
  display:none !important;
}
@media (min-width:761px){
  body[data-page="home"] .ccr-intelligence-ribbon__search{
    align-items:stretch !important;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__search input{
    min-height:32px !important;
    height:32px !important;
    padding:5px 13px !important;
    font-size:.80rem !important;
    line-height:1 !important;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__search button:not(.ccr-ribbon-invite-friend-btn):not(.ccr-intelligence-ribbon__archive-open){
    min-height:32px !important;
    height:32px !important;
    padding:5px 12px !important;
    border-color:rgba(255,255,255,.105) !important;
    background:rgba(255,255,255,.045) !important;
    color:rgba(238,244,250,.88) !important;
    font-size:.74rem !important;
    line-height:1 !important;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__search button:not(.ccr-ribbon-invite-friend-btn):not(.ccr-intelligence-ribbon__archive-open):hover,
  body[data-page="home"] .ccr-intelligence-ribbon__search button:not(.ccr-ribbon-invite-friend-btn):not(.ccr-intelligence-ribbon__archive-open):focus-visible{
    border-color:rgba(255,255,255,.20) !important;
    background:rgba(255,255,255,.075) !important;
    color:rgba(255,247,229,.94) !important;
  }
}


/* r8531 — search overlay failed-image fallback */
.ccr-ribbon-search-overlay__grid > .ccr-intelligence-ribbon__rss-card--image-failed{
  background:linear-gradient(180deg,rgba(255,255,255,.024),rgba(255,255,255,.010)) !important;
}
.ccr-ribbon-search-overlay__grid > .ccr-intelligence-ribbon__rss-card--image-failed .ccr-intelligence-ribbon__rss-body{
  min-height:auto;
}
.ccr-ribbon-search-overlay__grid > .ccr-intelligence-ribbon__rss-card:not(.ccr-intelligence-ribbon__rss-card--image) .ccr-intelligence-ribbon__rss-body::before{
  content:none !important;
  display:none !important;
}


/* r8541 — RSS tab/search cards: failed image fallback and no text-result pill */
body[data-page="home"] .ccr-intelligence-ribbon__rss-card--image-failed{
  background:linear-gradient(180deg,rgba(255,255,255,.024),rgba(255,255,255,.010)) !important;
}
body[data-page="home"] .ccr-intelligence-ribbon__rss-card--image-failed .ccr-intelligence-ribbon__rss-body{
  min-height:auto !important;
}
body[data-page="home"] .ccr-intelligence-ribbon__rss-card--image-failed .ccr-intelligence-ribbon__rss-media,
body[data-page="home"] .ccr-intelligence-ribbon__rss-card--image-failed .ccr-intelligence-ribbon__rss-media-link{
  display:none !important;
}
body[data-page="home"] .ccr-intelligence-ribbon__rss-card:not(.ccr-intelligence-ribbon__rss-card--image) .ccr-intelligence-ribbon__rss-body::before,
body[data-page="home"] .ccr-intelligence-ribbon__rss-card--image-failed .ccr-intelligence-ribbon__rss-body::before,
.ccr-ribbon-search-overlay__grid > .ccr-intelligence-ribbon__rss-card:not(.ccr-intelligence-ribbon__rss-card--image) .ccr-intelligence-ribbon__rss-body::before,
.ccr-ribbon-search-overlay__grid > .ccr-intelligence-ribbon__rss-card--image-failed .ccr-intelligence-ribbon__rss-body::before{
  content:none !important;
  display:none !important;
}

/* r8551/r9094 — visual micro-polish: mobile ticker/clearance + text-card accent */
@media (max-width:760px){
  body[data-page="home"] .ticker-shell{
    margin:-1px 0 0 !important;
    border-top-color:rgba(255,255,255,.008) !important;
    border-bottom-color:rgba(255,255,255,.012) !important;
  }
  body[data-page="home"] .ticker-rail{
    min-height:22px !important;
    padding:1px 5px !important;
  }
  body[data-page="home"] .ticker-item,
  body[data-page="home"] .ticker-headline{
    padding:0 9px !important;
    gap:6px !important;
    line-height:.92 !important;
  }
  body[data-page="home"] .ticker-sep{
    height:7px !important;
    margin-inline:3px !important;
    opacity:.46 !important;
  }
  body[data-page="home"] .page-shell{
    padding-bottom:calc(112px + env(safe-area-inset-bottom,0px)) !important;
  }
  body[data-page="home"] .home-main,
  body[data-page="home"] .ccr-intelligence-ribbon{
    padding-bottom:18px !important;
  }
}
body[data-page="home"] .ccr-intelligence-ribbon__rss-card--text,
body[data-page="home"] .ccr-intelligence-ribbon__rss-card--image-failed,
.ccr-ribbon-search-overlay__grid > .ccr-intelligence-ribbon__rss-card--text,
.ccr-ribbon-search-overlay__grid > .ccr-intelligence-ribbon__rss-card--image-failed{
  position:relative;
}
body[data-page="home"] .ccr-intelligence-ribbon__rss-card--text::after,
body[data-page="home"] .ccr-intelligence-ribbon__rss-card--image-failed::after,
.ccr-ribbon-search-overlay__grid > .ccr-intelligence-ribbon__rss-card--text::after,
.ccr-ribbon-search-overlay__grid > .ccr-intelligence-ribbon__rss-card--image-failed::after{
  content:'';
  position:absolute;
  left:14px;
  right:14px;
  top:0;
  height:1px;
  border-radius:999px;
  background:linear-gradient(90deg, rgba(233,202,136,.32), rgba(255,255,255,.07), transparent);
  pointer-events:none;
  opacity:.86;
}

/* Phase 53 — Study & Research mobile root owner fix
   Consolidates the old Research Library mobile centering/reachability rules into one
   owner block. The previous layered rules centered the scroll/library/card chain and
   then tried to correct it with late patches, which left opened Reading content visually
   left-biased and allowed brief-review copy to remain centered. Opened sections and
   collapsed mobile menu rows now use the same full-width Study & Research body lane;
   only the summary labels remain centered inside their rows. */
@media (max-width:720px){
  body[data-page="home"] .book-shell-card{
    align-items:stretch !important;
    justify-content:flex-start !important;
  }
  body[data-page="home"] .book-shell-scroll{
    align-items:stretch !important;
    justify-content:flex-start !important;
    width:100% !important;
    max-width:100% !important;
    scrollbar-gutter:auto !important;
    box-sizing:border-box !important;
  }
  body[data-page="home"] .book-shell-body,
  body[data-page="home"] .book-shell-library{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    box-sizing:border-box !important;
    align-items:stretch !important;
    justify-items:stretch !important;
    justify-content:flex-start !important;
    text-align:initial !important;
  }
  body[data-page="home"] .book-shell-header,
  body[data-page="home"] .book-shell-library__head{
    width:100% !important;
    padding-inline:16px !important;
    text-align:center !important;
    justify-items:center !important;
    justify-content:center !important;
    align-items:center !important;
    box-sizing:border-box !important;
  }
  body[data-page="home"] .book-shell-library > .book-shell-section:not([open]){
    justify-self:stretch !important;
    align-self:start !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin-left:0 !important;
    margin-right:0 !important;
    box-sizing:border-box !important;
  }
  body[data-page="home"] .book-shell-library > .book-shell-section[open]{
    justify-self:stretch !important;
    align-self:start !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin-left:0 !important;
    margin-right:0 !important;
    box-sizing:border-box !important;
  }
  body[data-page="home"] .book-shell-section[open] .book-shell-section__content,
  body[data-page="home"] .book-shell-section[open] .book-shell-library__grid,
  body[data-page="home"] .book-shell-section[open] .book-shell-card-item{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    box-sizing:border-box !important;
    justify-self:stretch !important;
  }
  body[data-page="home"] .book-shell-section[open] .book-shell-library__grid{
    justify-items:stretch !important;
  }
  body[data-page="home"] .book-shell-card-item{
    grid-template-columns:1fr !important;
    padding:15px 14px !important;
    gap:12px !important;
  }
  body[data-page="home"] .book-shell-card-item__media{
    grid-row:auto !important;
    width:min(100%, 220px) !important;
    margin-inline:auto !important;
  }
  body[data-page="home"] .book-shell-card-item__head,
  body[data-page="home"] .book-shell-card-item__actions{
    grid-column:auto !important;
  }
  body[data-page="home"] .book-shell-card-item__head{
    display:grid !important;
    gap:12px !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    text-align:center !important;
    justify-items:center !important;
    justify-content:center !important;
    align-items:center !important;
  }
  body[data-page="home"] .book-shell-card-item__head > div{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    text-align:center !important;
    justify-self:stretch !important;
  }
  body[data-page="home"] .book-shell-card-item__kicker,
  body[data-page="home"] .book-shell-card-item__head h3,
  body[data-page="home"] .book-shell-card-item__subtitle,
  body[data-page="home"] .book-shell-library__head h3,
  body[data-page="home"] .book-shell-note,
  body[data-page="home"] .book-shell-status{
    text-align:center !important;
  }
  body[data-page="home"] .book-shell-card-item__subtitle{
    font-size:.84rem !important;
  }
  body[data-page="home"] .book-shell-card-item__head p.book-shell-card-item__brief-review,
  body[data-page="home"] .book-shell-card-item__brief-review{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    margin-left:0 !important;
    margin-right:0 !important;
    font-size:.82rem !important;
    text-align:justify !important;
    text-align-last:left !important;
    hyphens:auto !important;
    -webkit-hyphens:auto !important;
  }
  body[data-page="home"] .book-shell-card-item__actions,
  body[data-page="home"] .book-shell-card-item__badges,
  body[data-page="home"] .book-shell-confirm .settings-mini-actions{
    display:flex !important;
    flex-wrap:wrap !important;
    justify-content:center !important;
    align-items:center !important;
  }
  body[data-page="home"] .book-shell-resource-card{
    grid-template-columns:1fr;
    justify-items:center;
    text-align:center;
    padding:14px 12px;
  }
  body[data-page="home"] .book-shell-resource-card__media{
    width:min(100%, 240px);
  }
  body[data-page="home"] .book-shell-resource-card__copy{
    justify-items:center;
  }
}

/* Root-targeted housekeeping pass — login refresh, SO dashboard title, mobile tap, chart spacing — 2026-05-04 */
body[data-page="home"] .settings-shell-section[data-settings-section="clientDashboards"] .settings-section-heading-main h3{
  color:rgba(232,214,164,.90) !important;
  text-shadow:0 0 16px rgba(232,214,164,.08);
}

@media (max-width:760px){
  body[data-page="home"] .mobile-bottom-dock .header-actions .icon-btn,
  body[data-page="home"] .mobile-bottom-dock .header-actions .ui-btn,
  body[data-page="home"] .mobile-bottom-dock .header-actions .lang-toggle button{
    touch-action:manipulation;
    -webkit-tap-highlight-color:transparent;
    cursor:pointer;
  }
  body[data-page="home"] .mobile-bottom-dock .header-actions .icon-btn > *,
  body[data-page="home"] .mobile-bottom-dock .header-actions .ui-btn > *{
    pointer-events:none;
  }
  body[data-page="home"] .selected-ticker-chart-section{
    margin-top:.45rem !important;
    margin-bottom:.45rem !important;
  }
  body[data-page="home"] .selected-ticker-chart-section > .selected-ticker-chart-shell{
    padding:9px !important;
  }
}

/* r9006/r9093/r9095/r9096/r9097/r9098/r9099/r9100/r9101/r9111 — mobile ribbon tabs: unified warm baseline + text owner + restored mobile tab faces */
@media (max-width:760px){
  body[data-page="home"] .ccr-intelligence-ribbon__tabs{
    --ccr-mobile-ribbon-seam:rgba(235,202,136,.46);
    --ccr-mobile-ribbon-seam-glow:rgba(232,190,112,.07);
    --ccr-mobile-ribbon-tab-bottom:rgba(235,202,136,.46);
    --ccr-mobile-ribbon-tab-bottom-inset:rgba(235,202,136,.16);
    --ccr-mobile-ribbon-active-border:rgba(235,202,136,.58);
    --ccr-mobile-ribbon-active-glow:rgba(232,190,112,.085);
    position:relative !important;
    z-index:4 !important;
    display:flex !important;
    flex-wrap:nowrap !important;
    justify-content:flex-start !important;
    align-items:flex-end !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    padding:6px 7px 0 !important;
    border-bottom:0 !important;
    background:
      linear-gradient(180deg, rgba(24,38,55,.18), rgba(8,16,28,.08)) !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    scrollbar-width:none !important;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior-x:contain;
    scroll-snap-type:x proximity;
    scroll-padding-inline:7px;
  }

  body[data-page="home"] .ccr-intelligence-ribbon__tabs::-webkit-scrollbar{
    display:none !important;
  }

  body[data-page="home"] .ccr-intelligence-ribbon__tabs::after{
    content:"";
    position:absolute !important;
    left:0 !important;
    right:0 !important;
    bottom:0 !important;
    height:1px !important;
    background:var(--ccr-mobile-ribbon-seam) !important;
    box-shadow:0 0 10px var(--ccr-mobile-ribbon-seam-glow) !important;
    pointer-events:none !important;
    z-index:1 !important;
  }

  body[data-page="home"] .ccr-intelligence-ribbon__tab{
    position:relative !important;
    z-index:2 !important;
    flex:0 0 auto !important;
    scroll-snap-align:start;
    min-height:31px !important;
    max-width:96px !important;
    margin:-1px -5px 0 0 !important;
    padding:5px 10px 7px !important;
    border-radius:12px 12px 0 0 !important;
    border-color:rgba(136,163,194,.30) !important;
    border-bottom-color:var(--ccr-mobile-ribbon-tab-bottom) !important;
    background:
      linear-gradient(180deg, rgba(255,255,255,.084), rgba(255,255,255,.018)),
      linear-gradient(180deg, rgba(24,39,57,.94), rgba(13,23,36,.91)) !important;
    color:rgba(230,237,247,.88) !important;
    box-shadow:
      0 -5px 13px rgba(0,0,0,.20),
      3px 0 9px rgba(0,0,0,.13),
      inset 0 1px 0 rgba(255,255,255,.095),
      inset 0 -1px 0 var(--ccr-mobile-ribbon-tab-bottom-inset) !important;
  }

  body[data-page="home"] .ccr-intelligence-ribbon__tab::before{
    content:"" !important;
    position:absolute !important;
    inset:0 !important;
    z-index:0 !important;
    border-radius:inherit !important;
    background:linear-gradient(90deg, rgba(0,0,0,.16), transparent 12%, transparent 86%, rgba(255,255,255,.035)) !important;
    pointer-events:none !important;
  }

  body[data-page="home"] .ccr-intelligence-ribbon__tab.is-active{
    z-index:16 !important;
    border-color:var(--ccr-mobile-ribbon-active-border) !important;
    border-bottom-color:transparent !important;
    background:
      radial-gradient(circle at 50% 0%, rgba(255,224,154,.17), transparent 42%),
      linear-gradient(180deg, rgba(255,255,255,.118), rgba(255,255,255,.030)),
      linear-gradient(180deg, rgba(29,43,61,.99), rgba(15,27,42,.99)) !important;
    color:rgba(232,214,164,.90) !important;
    text-shadow:0 0 12px rgba(232,214,164,.075) !important;
    box-shadow:
      0 -8px 18px rgba(0,0,0,.25),
      0 0 14px var(--ccr-mobile-ribbon-active-glow),
      inset 0 1px 0 rgba(255,247,223,.16),
      inset 1px 0 0 rgba(233,202,136,.12),
      inset -1px 0 0 rgba(233,202,136,.10) !important;
    transform:translateY(1px) !important;
  }

  body[data-page="home"] .ccr-intelligence-ribbon__tab span{
    max-width:76px !important;
    font-size:.76rem !important;
    font-weight:620 !important;
    letter-spacing:.001em !important;
    line-height:1.02 !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    text-shadow:0 1px 1px rgba(0,0,0,.30) !important;
  }

  body[data-page="home"] .ccr-intelligence-ribbon__tab small{
    display:none !important;
  }

  body[data-page="home"] .ccr-intelligence-ribbon__tab--universe{
    min-width:36px !important;
    max-width:38px !important;
    padding-inline:10px !important;
  }

  body[data-page="home"] .ccr-intelligence-ribbon__tab--universe span{
    max-width:none !important;
    font-size:.76rem !important;
    font-weight:620 !important;
  }


  /* r9121 — mobile shows close affordance only on the active source tab */
  body[data-page="home"] .ccr-intelligence-ribbon__tab-close{
    display:none !important;
  }

  body[data-page="home"] .ccr-intelligence-ribbon__tab--source.is-active{
    /* r10310 — active mobile source tabs keep a wider touch separation between label and close affordance. */
    max-width:118px !important;
    padding-right:31px !important;
  }

  body[data-page="home"] .ccr-intelligence-ribbon__tab--source.is-active .ccr-intelligence-ribbon__tab-label{
    max-width:66px !important;
    padding-right:0 !important;
  }

  body[data-page="home"] .ccr-intelligence-ribbon__tab--source.is-active .ccr-intelligence-ribbon__tab-close{
    position:absolute !important;
    /* r9139 — optical baseline alignment: tab text sits slightly above the tab-box center on mobile,
       so anchor the close control to the label's visual center rather than the full tab body. */
    top:calc(50% - 2px) !important;
    right:8px !important;
    z-index:4 !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:15px !important;
    height:15px !important;
    margin-left:0 !important;
    transform:translateY(-50%) !important;
    border-color:rgba(235,202,136,.32) !important;
    background:rgba(255,255,255,.060) !important;
    color:rgba(232,214,164,.86) !important;
    font-size:0 !important;
    line-height:1 !important;
  }

  body[data-page="home"] .ccr-intelligence-ribbon__tab--source.is-active .ccr-intelligence-ribbon__tab-close::before{
    content:"×";
    display:block !important;
    font-size:.70rem !important;
    line-height:1 !important;
    font-weight:850 !important;
    transform:translateY(-.25px) !important;
  }

  body[data-page="home"] .ccr-intelligence-ribbon__tab--source.is-active .ccr-intelligence-ribbon__tab-close:active{
    transform:translateY(-50%) scale(.92) !important;
  }

  body[data-page="home"] .ccr-intelligence-ribbon__panels{
    position:relative !important;
    z-index:1 !important;
    margin-top:0 !important;
    padding-top:7px !important;
  }

  body[data-page="home"] .ccr-intelligence-ribbon__panel{
    position:relative !important;
    z-index:1 !important;
  }
}

/* r9021/r9022/r9059 — SO Schedule active calendar cleanup */
body[data-page="home"] .settings-shell-section--schedule .settings-section-heading-row{
  align-items:center;
}
body[data-page="home"] .settings-shell-section[data-settings-section="schedule"] .settings-section-heading-main h3{
  color:rgba(232,214,164,.90) !important;
  text-shadow:0 0 16px rgba(232,214,164,.08);
}
body[data-page="home"] .settings-schedule-panel{
  display:grid;
  gap:14px;
  padding:2px 0 0;
}
body[data-page="home"] .settings-schedule-pill{
  justify-self:start;
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:26px;
  padding:4px 10px;
  border-radius:999px;
  border:1px solid rgba(244,211,138,.28);
  background:rgba(244,211,138,.11);
  color:#f4d38a;
  font-size:.76rem;
  font-weight:700;
  letter-spacing:.03em;
}
body[data-page="home"] .settings-schedule-field{
  display:grid;
  gap:6px;
  min-width:0;
}
body[data-page="home"] .settings-schedule-field--wide{
  grid-column:1 / -1;
}
body[data-page="home"] .settings-schedule-field span{
  color:#f4d38a;
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.03em;
}
body[data-page="home"] .settings-schedule-field select,
body[data-page="home"] .settings-schedule-field textarea{
  width:100%;
  border:1px solid rgba(174,200,233,.26);
  border-radius:14px;
  background:rgba(6,18,34,.58);
  color:rgba(243,247,255,.94);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
  outline:none;
}
body[data-page="home"] .settings-schedule-field select{
  min-height:42px;
  padding:0 38px 0 12px;
}
body[data-page="home"] .settings-schedule-field textarea{
  resize:vertical;
  min-height:88px;
  padding:11px 12px;
  line-height:1.5;
}
body[data-page="home"] .settings-schedule-field select:focus,
body[data-page="home"] .settings-schedule-field textarea:focus{
  border-color:rgba(244,211,138,.55);
  box-shadow:0 0 0 3px rgba(244,211,138,.12), inset 0 1px 0 rgba(255,255,255,.05);
}
body[data-page="home"] .settings-schedule-actions{
  grid-column:1 / -1;
  display:flex;
  justify-content:flex-end;
  gap:10px;
}
body[data-page="home"] .settings-schedule-submit{
  min-height:40px;
  padding-inline:16px;
}
body[data-page="home"] .settings-schedule-status{
  grid-column:1 / -1;
  margin:0;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(174,200,233,.18);
  background:rgba(6,18,34,.42);
  color:rgba(232,240,252,.86);
  font-size:.86rem;
  line-height:1.45;
}
body[data-page="home"] .settings-schedule-status.is-ok{
  border-color:rgba(126,220,166,.32);
  background:rgba(44,150,91,.13);
  color:rgba(202,248,222,.94);
}
body[data-page="home"] .settings-schedule-status.is-error{
  border-color:rgba(255,128,128,.32);
  background:rgba(156,46,58,.14);
  color:rgba(255,218,218,.94);
}
body[data-page="home"] .settings-schedule-status.is-note{
  border-color:rgba(244,211,138,.24);
  background:rgba(244,211,138,.09);
  color:rgba(255,239,197,.94);
}
@media (max-width:760px){
  body[data-page="home"] .settings-schedule-field select{
    min-height:44px;
    font-size:16px;
  }
  body[data-page="home"] .settings-schedule-field textarea{
    min-height:104px;
    font-size:16px;
  }
  body[data-page="home"] .settings-schedule-actions{
    justify-content:stretch;
  }
  body[data-page="home"] .settings-schedule-submit{
    width:100%;
    min-height:46px;
    justify-content:center;
  }
}

/* r9205 — SO Schedule calendar / multi-day consecutive booking options */
body[data-page="home"] .settings-schedule-calendar,
body[data-page="home"] .settings-schedule-day-panel,
body[data-page="home"] .settings-schedule-confirm{
  display:grid;
  gap:9px;
  padding:10px;
  border:1px solid rgba(174,200,233,.18);
  border-radius:18px;
  background:linear-gradient(150deg, rgba(10,25,45,.66), rgba(5,14,26,.52));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.055), 0 12px 34px rgba(0,0,0,.18);
}
body[data-page="home"] .settings-schedule-calendar__head,
body[data-page="home"] .settings-schedule-day-panel__head,
body[data-page="home"] .settings-schedule-confirm__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
body[data-page="home"] .settings-schedule-calendar__head > div,
body[data-page="home"] .settings-schedule-day-panel__head > div{
  display:grid;
  gap:2px;
  min-width:0;
  text-align:center;
}
body[data-page="home"] .settings-schedule-calendar__head h4,
body[data-page="home"] .settings-schedule-day-panel__head h4,
body[data-page="home"] .settings-schedule-confirm__head h4{
  margin:0;
  color:#f4d38a;
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.05em;
  text-transform:uppercase;
}
body[data-page="home"] .settings-schedule-calendar__head strong,
body[data-page="home"] .settings-schedule-day-panel__head strong{
  display:block;
  color:rgba(243,247,255,.94);
  font-size:1rem;
  font-weight:750;
  letter-spacing:.01em;
}
body[data-page="home"] .settings-schedule-weekdays,
body[data-page="home"] .settings-schedule-month-grid{
  display:grid;
  grid-template-columns:repeat(7, minmax(0, 1fr));
  gap:6px;
}
body[data-page="home"] .settings-schedule-weekdays span{
  color:rgba(232,240,252,.52);
  font-size:.69rem;
  font-weight:800;
  letter-spacing:.05em;
  text-align:center;
  text-transform:uppercase;
}
body[data-page="home"] .settings-schedule-day{
  min-height:46px;
  display:grid;
  place-items:center;
  gap:3px;
  padding:7px 3px;
  border:1px solid rgba(174,200,233,.15);
  border-radius:14px;
  background:rgba(6,18,34,.44);
  color:rgba(232,240,252,.60);
  cursor:pointer;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045);
  transition:transform .16s ease, border-color .16s ease, background .16s ease, color .16s ease;
}
body[data-page="home"] .settings-schedule-day:not(:disabled):hover{
  transform:translateY(-1px);
  border-color:rgba(244,211,138,.38);
  background:rgba(244,211,138,.10);
}
body[data-page="home"] .settings-schedule-day:disabled{
  cursor:default;
  opacity:.58;
}
body[data-page="home"] .settings-schedule-day.is-outside{
  opacity:.38;
}
body[data-page="home"] .settings-schedule-day.is-available{
  color:rgba(238,248,255,.94);
  border-color:rgba(126,220,166,.24);
  background:linear-gradient(150deg, rgba(31,118,79,.20), rgba(6,18,34,.50));
}
body[data-page="home"] .settings-schedule-day.is-limited{
  color:rgba(255,239,197,.96);
  border-color:rgba(244,211,138,.32);
  background:linear-gradient(150deg, rgba(244,211,138,.15), rgba(6,18,34,.50));
}
body[data-page="home"] .settings-schedule-day.is-weekend:not(.is-selected){
  border-color:rgba(196,94,121,.28);
  background:linear-gradient(150deg, rgba(144,62,86,.16), rgba(44,18,34,.46));
  color:rgba(255,232,238,.86);
}
body[data-page="home"] .settings-schedule-day.is-selected{
  border-color:rgba(244,211,138,.72);
  background:linear-gradient(150deg, rgba(244,211,138,.24), rgba(61,95,140,.18));
  box-shadow:0 0 0 2px rgba(244,211,138,.15), inset 0 1px 0 rgba(255,255,255,.08);
}
body[data-page="home"] .settings-schedule-day.has-request-option:not(.is-selected){
  border-color:rgba(244,211,138,.44);
  background:linear-gradient(150deg, rgba(244,211,138,.14), rgba(6,18,34,.50));
  box-shadow:inset 0 0 0 1px rgba(244,211,138,.08);
}
body[data-page="home"] .settings-schedule-day__num{
  font-size:1rem;
  font-weight:800;
  line-height:1;
}
body[data-page="home"] .settings-schedule-hint{
  margin:0;
  color:rgba(232,240,252,.68);
  font-size:.78rem;
  line-height:1.45;
}

body[data-page="home"] .settings-schedule-legend{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:.5rem;
  margin:0;
  color:rgba(232,240,252,.72);
  font-size:.76rem;
  font-weight:750;
  line-height:1.2;
}
body[data-page="home"] .settings-schedule-legend__pill{
  width:28px;
  height:12px;
  border-radius:999px;
  border:1px solid rgba(127,211,155,.34);
  background:linear-gradient(150deg, rgba(127,211,155,.26), rgba(6,18,34,.42));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
}
body[data-page="home"] .settings-schedule-slot-grid{
  display:grid;
  grid-template-columns:repeat(5, minmax(0, 1fr));
  gap:8px;
}
body[data-page="home"] .settings-schedule-slot{
  min-height:42px;
  display:grid;
  place-items:center;
  gap:2px;
  padding:7px 6px;
  border:1px solid rgba(174,200,233,.17);
  border-radius:14px;
  background:rgba(6,18,34,.52);
  color:rgba(232,240,252,.72);
  cursor:pointer;
  transition:transform .16s ease, border-color .16s ease, background .16s ease;
}
body[data-page="home"] .settings-schedule-slot span{
  font-size:.86rem;
  font-weight:800;
}
body[data-page="home"] .settings-schedule-slot small{
  display:none;
}
body[data-page="home"] .settings-schedule-slot.is-available{
  color:rgba(238,248,255,.95);
  border-color:rgba(126,220,166,.28);
  background:linear-gradient(150deg, rgba(35,132,89,.20), rgba(6,18,34,.56));
}
body[data-page="home"] .settings-schedule-slot.is-blocked,
body[data-page="home"] .settings-schedule-slot.is-booked,
body[data-page="home"] .settings-schedule-slot.is-pending,
body[data-page="home"] .settings-schedule-slot.is-unavailable{
  opacity:.46;
  cursor:default;
}
body[data-page="home"] .settings-schedule-slot.is-selected{
  color:#fff7df;
  border-color:rgba(244,211,138,.78);
  background:linear-gradient(150deg, rgba(244,211,138,.28), rgba(66,103,151,.20));
  box-shadow:0 0 0 2px rgba(244,211,138,.16), 0 12px 28px rgba(0,0,0,.18);
}
body[data-page="home"] .settings-schedule-slot.is-request-option{
  color:#f4d38a;
  border-color:rgba(244,211,138,.58);
  background:linear-gradient(150deg, rgba(244,211,138,.20), rgba(9,24,43,.54));
  box-shadow:inset 0 0 0 1px rgba(244,211,138,.10);
  cursor:not-allowed;
  opacity:.86;
}
body[data-page="home"] .settings-schedule-slot.is-request-option small{
  display:block;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:rgba(244,211,138,.92);
  font-size:.62rem;
  font-weight:800;
  line-height:1.05;
}
body[data-page="home"] .settings-schedule-slot:not(:disabled):hover{
  transform:translateY(-1px);
  border-color:rgba(244,211,138,.54);
}

/* r10316 — admin Schedule editor integrated into the existing day view */
body[data-page="home"] .settings-schedule-day-panel.is-admin-editor{
  border-color:rgba(232,214,164,.20);
  background:rgba(6,18,34,.34);
}
body[data-page="home"] .settings-schedule-slot-grid.is-admin-editor{
  grid-template-columns:repeat(6, minmax(0, 1fr));
  gap:7px;
}
body[data-page="home"] .settings-schedule-slot.is-admin-editable{
  min-height:48px;
  opacity:1;
  cursor:pointer;
  color:rgba(232,240,252,.86);
  background:rgba(255,255,255,.035);
}
body[data-page="home"] .settings-schedule-slot.is-admin-editable small{
  display:block;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:rgba(232,240,252,.62);
  font-size:.58rem;
  font-weight:800;
  line-height:1.05;
}
body[data-page="home"] .settings-schedule-slot.is-admin-editable.is-available{
  border-color:rgba(102,215,182,.28);
  background:linear-gradient(150deg, rgba(102,215,182,.10), rgba(6,18,34,.52));
}
body[data-page="home"] .settings-schedule-slot.is-admin-editable.is-blocked,
body[data-page="home"] .settings-schedule-slot.is-admin-editable.is-unavailable{
  border-color:rgba(174,200,233,.14);
  background:rgba(255,255,255,.028);
}
body[data-page="home"] .settings-schedule-slot.is-admin-editable.is-booked,
body[data-page="home"] .settings-schedule-slot.is-admin-editable.is-pending,
body[data-page="home"] .settings-schedule-slot.is-admin-editable.has-session{
  border-color:rgba(232,214,164,.32);
  background:linear-gradient(150deg, rgba(232,214,164,.13), rgba(6,18,34,.54));
}
body[data-page="home"] .settings-schedule-slot.is-admin-editable.has-session small,
body[data-page="home"] .settings-schedule-slot.is-admin-editable.has-override small{
  color:rgba(232,214,164,.94);
}
body[data-page="home"] .settings-schedule-slot.is-admin-editable.is-selected{
  color:#fff7df;
  border-color:rgba(232,214,164,.78);
  background:linear-gradient(150deg, rgba(232,214,164,.22), rgba(66,103,151,.20));
  box-shadow:0 0 0 2px rgba(232,214,164,.16), 0 12px 28px rgba(0,0,0,.18);
}
body[data-page="home"] .settings-schedule-day-admin{
  display:grid;
  gap:9px;
  margin-top:10px;
  padding:10px;
  border:1px solid rgba(174,200,233,.14);
  border-radius:16px;
  background:rgba(6,18,34,.36);
}
body[data-page="home"] .settings-schedule-day-admin__controls{
  display:grid;
  grid-template-columns:minmax(180px,.9fr) minmax(220px,1.1fr);
  gap:8px;
}
body[data-page="home"] .settings-schedule-day-admin__controls label{
  display:grid;
  gap:4px;
  min-width:0;
}
body[data-page="home"] .settings-schedule-day-admin__controls span{
  color:rgba(232,240,252,.62);
  font-size:.65rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
body[data-page="home"] .settings-schedule-day-admin__controls input,
body[data-page="home"] .settings-schedule-day-admin__controls select{
  width:100%;
  min-height:32px;
  border:1px solid rgba(174,200,233,.16);
  border-radius:12px;
  background:rgba(6,18,34,.50);
  color:rgba(232,240,252,.92);
  padding:.42rem .56rem;
  font:inherit;
  font-size:.75rem;
}
body[data-page="home"] .settings-schedule-day-admin__label-control{
  display:grid;
  grid-template-columns:minmax(0, 1fr) auto;
  align-items:end;
  gap:7px;
  min-width:0;
}
body[data-page="home"] .settings-schedule-day-admin__label-control label{
  min-width:0;
}
body[data-page="home"] .settings-schedule-day-admin__label-control .settings-mini-btn{
  min-height:32px;
  white-space:nowrap;
  padding:.42rem .64rem;
}
body[data-page="home"] .settings-schedule-day-admin__cancel-control{
  grid-column:1 / -1;
  padding-top:7px;
  border-top:1px solid rgba(255,183,118,.16);
}
body[data-page="home"] .settings-schedule-day-admin__cancel-control .settings-mini-btn{
  border-color:rgba(255,183,118,.34);
  background:rgba(156,70,46,.14);
  color:#ffd7b2;
}
body[data-page="home"] .settings-schedule-day-admin__cancel-control.is-historical select{
  opacity:.58;
}
body[data-page="home"] .settings-schedule-day-admin__actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:7px;
}
body[data-page="home"] .settings-schedule-day-admin__actions span{
  margin-right:auto;
  color:rgba(232,214,164,.90);
  font-size:.72rem;
  font-weight:850;
}
body[data-page="home"] .settings-schedule-day-admin__hint{
  margin:0;
  color:rgba(232,240,252,.58);
  font-size:.72rem;
  line-height:1.45;
}
body[data-page="home"] .settings-schedule-day-admin__status{
  margin:0;
}

/* r10320 — admin SO rolling spreadsheet schedule grid + horizontal pan */
body[data-page="home"] .settings-schedule-week-panel{
  display:grid;
  gap:9px;
  padding:10px;
  border:1px solid rgba(174,200,233,.18);
  border-radius:18px;
  background:linear-gradient(150deg, rgba(10,25,45,.66), rgba(5,14,26,.52));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.055), 0 12px 34px rgba(0,0,0,.18);
}
body[data-page="home"] .settings-schedule-week-panel__head{
  display:grid;
  grid-template-columns:auto minmax(0, 1fr) auto;
  align-items:center;
  gap:10px;
}
body[data-page="home"] .settings-schedule-week-panel__head > div:not(.settings-schedule-week-panel__nav){
  display:grid;
  gap:2px;
  min-width:0;
  text-align:center;
}
body[data-page="home"] .settings-schedule-week-panel__head h4{
  margin:0;
  color:rgba(232,214,164,.94);
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.05em;
  text-transform:uppercase;
}
body[data-page="home"] .settings-schedule-week-panel__head strong{
  display:block;
  color:rgba(243,247,255,.94);
  font-size:1rem;
  font-weight:750;
  letter-spacing:.01em;
}
body[data-page="home"] .settings-schedule-week-panel__nav{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:6px;
}
body[data-page="home"] .settings-schedule-week-panel__head em{
  display:block;
  margin-top:2px;
  color:rgba(232,240,252,.50);
  font-size:.62rem;
  font-style:normal;
  font-weight:700;
  line-height:1.25;
}
body[data-page="home"] .settings-schedule-week-panel__jump{
  display:flex;
  align-items:center;
  gap:5px;
  min-height:30px;
  padding:3px 7px;
  border:1px solid rgba(174,200,233,.16);
  border-radius:999px;
  background:rgba(6,18,34,.38);
  color:rgba(232,240,252,.64);
  font-size:.64rem;
  font-weight:800;
}
body[data-page="home"] .settings-schedule-week-panel__jump span{
  color:rgba(232,214,164,.78);
  letter-spacing:.04em;
  text-transform:uppercase;
}
body[data-page="home"] .settings-schedule-week-panel__jump input{
  width:118px;
  min-height:24px;
  border:0;
  background:transparent;
  color:rgba(243,247,255,.92);
  font:inherit;
  font-size:.72rem;
  outline:none;
}
body[data-page="home"] .settings-schedule-week-panel__view{
  display:flex;
  align-items:center;
  gap:4px;
  padding:2px;
  border:1px solid rgba(174,200,233,.12);
  border-radius:999px;
  background:rgba(3,10,21,.28);
}
body[data-page="home"] .settings-schedule-week-panel__view .settings-mini-btn{
  min-height:26px;
  padding:.28rem .48rem;
}
body[data-page="home"] .settings-schedule-week-panel__expand{
  border-color:rgba(232,214,164,.30);
  color:rgba(255,247,223,.92);
}
body[data-page="home"] .settings-schedule-week-admin{
  margin-top:0;
}
body[data-page="home"] .settings-schedule-week-pan-rail{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:28px;
  padding:5px 10px;
  border:1px solid rgba(174,200,233,.12);
  border-radius:999px;
  background:rgba(7,18,34,.52);
  color:rgba(232,240,252,.56);
  font-size:.68rem;
  font-weight:750;
  letter-spacing:.01em;
  cursor:grab;
  user-select:none;
  -webkit-user-select:none;
}
body[data-page="home"] .settings-schedule-week-pan-rail:active{
  cursor:grabbing;
}
body[data-page="home"] .settings-schedule-week-pan-rail span{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

/* SO schedule week grid owner block.
   Keep day/date headers, time rail, and body cells in one CSS grid. Splitting the
   day/date row into a separate synchronized strip caused mobile drift/repaint bugs. */
body[data-page="home"] .settings-schedule-week-grid-shell,
body[data-page="home"] .settings-schedule-week-grid-shell .settings-schedule-week-grid{
  --schedule-time-col:50px;
  --schedule-day-count:21;
  --schedule-day-min:84px;
  --schedule-grid-min-width:1814px;
}
body[data-page="home"] .settings-schedule-week-grid-shell{
  overflow:hidden;
  border:1px solid rgba(174,200,233,.14);
  border-radius:16px;
  background:rgba(3,10,21,.46);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045);
  isolation:isolate;
}
body[data-page="home"] .settings-schedule-week-grid-scroll{
  max-height:min(68vh, 620px);
  overflow:auto;
  overscroll-behavior:contain;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  user-select:none;
  -webkit-user-select:none;
  isolation:isolate;
  -webkit-overflow-scrolling:touch;
}
body[data-page="home"] .settings-schedule-week-grid-scroll.is-schedule-panning,
body[data-page="home"] .settings-schedule-week-grid-scroll.is-schedule-gliding{
  cursor:grabbing;
  scroll-behavior:auto;
}
body[data-page="home"] .settings-schedule-week-grid-scroll.is-schedule-panning .settings-schedule-week-grid__day,
body[data-page="home"] .settings-schedule-week-grid-scroll.is-schedule-panning .settings-schedule-week-grid__corner,
body[data-page="home"] .settings-schedule-week-grid-scroll.is-schedule-gliding .settings-schedule-week-grid__day,
body[data-page="home"] .settings-schedule-week-grid-scroll.is-schedule-gliding .settings-schedule-week-grid__corner{
  cursor:grabbing;
}
body[data-page="home"] .settings-schedule-week-grid-scroll.is-schedule-panning .settings-schedule-week-grid,
body[data-page="home"] .settings-schedule-week-grid-scroll.is-schedule-gliding .settings-schedule-week-grid{
  will-change:scroll-position;
}
body[data-page="home"] .settings-schedule-week-grid-scroll:focus-visible{
  outline:2px solid rgba(232,214,164,.62);
  outline-offset:3px;
}
body[data-page="home"] .settings-schedule-week-grid{
  width:max-content;
  min-width:max-content;
  max-width:none;
  display:grid;
  grid-template-columns:var(--schedule-time-col) repeat(var(--schedule-day-count), var(--schedule-day-min));
  align-items:stretch;
  background:rgba(255,255,255,.035);
}
body[data-page="home"] .settings-schedule-week-grid__corner,
body[data-page="home"] .settings-schedule-week-grid__day,
body[data-page="home"] .settings-schedule-week-grid__time,
body[data-page="home"] .settings-schedule-week-grid__cell{
  box-sizing:border-box;
  min-width:0;
  border:0;
  border-right:1px solid rgba(174,200,233,.15);
  border-bottom:1px solid rgba(174,200,233,.13);
}
body[data-page="home"] .settings-schedule-week-grid__day,
body[data-page="home"] .settings-schedule-week-grid__cell{
  appearance:none;
  -webkit-appearance:none;
  margin:0;
  font-family:inherit;
}
body[data-page="home"] .settings-schedule-week-grid__corner{
  position:sticky;
  top:0;
  left:0;
  z-index:90;
  display:grid;
  place-items:center;
  min-height:34px;
  padding:3px 4px;
  border-right:1px solid rgba(174,200,233,.16);
  background:linear-gradient(150deg, rgba(16,38,65,.99), rgba(8,19,36,.99));
  color:rgba(232,214,164,.92);
  font-size:.56rem;
  font-weight:850;
  letter-spacing:.08em;
  text-transform:uppercase;
}
body[data-page="home"] .settings-schedule-week-grid__day{
  position:sticky;
  top:0;
  left:auto;
  z-index:70;
  display:grid;
  place-items:center;
  gap:2px;
  min-height:34px;
  padding:3px 2px;
  background:linear-gradient(150deg, rgba(16,38,65,.96), rgba(8,19,36,.96));
  color:rgba(232,240,252,.90);
  text-align:center;
  cursor:grab;
  opacity:1;
  background-clip:padding-box;
}
body[data-page="home"] .settings-schedule-week-grid__day:active{
  cursor:grabbing;
}
body[data-page="home"] .settings-schedule-week-grid__day.is-anchor-week{
  background:linear-gradient(150deg, rgba(18,45,78,.98), rgba(10,24,44,.98));
}
body[data-page="home"] .settings-schedule-week-grid__day.is-context-week{
  color:rgba(232,240,252,.72);
}
body[data-page="home"] .settings-schedule-week-grid__day.is-weekend,
body[data-page="home"] .settings-schedule-week-grid__day.is-weekend.is-anchor-week,
body[data-page="home"] .settings-schedule-week-grid__day.is-weekend.is-context-week,
body[data-page="home"] .settings-schedule-week-grid__day.is-weekend.is-outside-horizon{
  background:linear-gradient(150deg, rgba(104,45,68,.96), rgba(44,18,34,.96));
  color:rgba(255,232,238,.92);
}
body[data-page="home"] .settings-schedule-week-grid__day.is-anchor-week-start,
body[data-page="home"] .settings-schedule-week-grid__cell.is-anchor-week-start{
  border-left:2px solid rgba(232,214,164,.34);
}
body[data-page="home"] .settings-schedule-week-grid__day.is-today{
  color:#fff7df;
  box-shadow:inset 0 -2px 0 rgba(232,214,164,.58);
}
body[data-page="home"] .settings-schedule-week-grid__day.is-outside-horizon{
  opacity:.72;
}
body[data-page="home"] .settings-schedule-week-grid__day span,
body[data-page="home"] .settings-schedule-week-grid__day strong,
body[data-page="home"] .settings-schedule-week-grid__day em{
  display:block;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  visibility:visible;
}
body[data-page="home"] .settings-schedule-week-grid__day span{
  font-size:.56rem;
  font-weight:850;
  letter-spacing:.06em;
  line-height:1;
  text-transform:uppercase;
}
body[data-page="home"] .settings-schedule-week-grid__day strong{
  color:inherit;
  font-size:.78rem;
  font-weight:900;
  line-height:1;
}
body[data-page="home"] .settings-schedule-week-grid__day em{
  color:rgba(232,240,252,.48);
  font-size:.43rem;
  font-style:normal;
  font-weight:800;
  letter-spacing:.05em;
  line-height:1;
  text-transform:uppercase;
}
body[data-page="home"] .settings-schedule-week-grid__time{
  position:sticky;
  left:0;
  z-index:40;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  min-height:24px;
  padding:4px 2px;
  background:linear-gradient(180deg, rgba(8,22,42,.995), rgba(5,15,30,.995));
  background-clip:padding-box;
  color:rgba(232,240,252,.62);
  font-size:.61rem;
  font-weight:850;
  line-height:1;
}
body[data-page="home"] .settings-schedule-week-grid__cell{
  min-height:24px;
  display:grid;
  place-items:center;
  padding:1px 3px;
  border-radius:0;
  background:rgba(255,255,255,.018);
  color:rgba(232,240,252,.82);
  font:inherit;
  cursor:pointer;
  touch-action:manipulation;
  user-select:none;
  -webkit-user-select:none;
  -webkit-tap-highlight-color:transparent;
  transition:background .08s ease, color .08s ease;
}
body[data-page="home"] .settings-schedule-week-grid__cell.is-weekend:not(.is-selected),
body[data-page="home"] .settings-schedule-week-grid__cell.is-weekend.is-anchor-week:not(.is-selected),
body[data-page="home"] .settings-schedule-week-grid__cell.is-weekend.is-context-week:not(.is-selected),
body[data-page="home"] .settings-schedule-week-grid__cell.is-weekend.is-outside-horizon:not(.is-selected){
  background:rgba(144,62,86,.105);
}
body[data-page="home"] .settings-schedule-week-grid__cell.is-anchor-week:not(.is-selected):not(.has-label):not(.is-weekend){
  background:rgba(255,255,255,.026);
}
body[data-page="home"] .settings-schedule-week-grid__cell.is-context-week:not(.is-selected){
  color:rgba(232,240,252,.66);
}
body[data-page="home"] .settings-schedule-week-grid__cell.is-today:not(.is-selected):not(.is-weekend){
  background:rgba(232,214,164,.045);
}
body[data-page="home"] .settings-schedule-week-grid__cell.is-available.is-empty{
  color:transparent;
}
body[data-page="home"] .settings-schedule-week-grid__cell.is-blocked,
body[data-page="home"] .settings-schedule-week-grid__cell.has-override{
  background:rgba(232,214,164,.10);
}
body[data-page="home"] .settings-schedule-week-grid__cell.has-session,
body[data-page="home"] .settings-schedule-week-grid__cell.is-booked,
body[data-page="home"] .settings-schedule-week-grid__cell.is-pending{
  background:linear-gradient(150deg, rgba(88,126,166,.24), rgba(232,214,164,.10));
}
body[data-page="home"] .settings-schedule-week-grid__cell.is-weekend.has-label:not(.is-selected),
body[data-page="home"] .settings-schedule-week-grid__cell.is-weekend.has-session:not(.is-selected),
body[data-page="home"] .settings-schedule-week-grid__cell.is-weekend.has-override:not(.is-selected){
  background:linear-gradient(150deg, rgba(126,80,104,.28), rgba(70,36,54,.22));
}
body[data-page="home"] .settings-schedule-week-grid__cell.is-unavailable:not(.has-label),
body[data-page="home"] .settings-schedule-week-grid__cell.is-outside-horizon{
  opacity:.50;
  cursor:default;
}
body[data-page="home"] .settings-schedule-week-grid__cell:disabled{
  cursor:default;
}
body[data-page="home"] .settings-schedule-week-grid__cell:focus{
  outline:none;
}
body[data-page="home"] .settings-schedule-week-grid__cell:focus-visible{
  box-shadow:inset 0 0 0 2px rgba(232,214,164,.70), 0 0 0 2px rgba(23,119,82,.22);
}
body[data-page="home"] .settings-schedule-week-grid__cell.is-selected{
  color:#fff7df;
  background:linear-gradient(150deg, rgba(232,214,164,.30), rgba(66,103,151,.28));
  box-shadow:inset 0 0 0 2px rgba(232,214,164,.84), 0 0 0 1px rgba(232,214,164,.15);
}
body[data-page="home"] .settings-schedule-week-grid__cell.is-active{
  transform:none;
  box-shadow:inset 0 0 0 2px rgba(232,214,164,.94), 0 0 0 2px rgba(23,119,82,.28);
}
body[data-page="home"] .settings-schedule-week-grid__cell span,
body[data-page="home"] .settings-schedule-week-grid__label{
  display:block;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:.58rem;
  font-weight:830;
  line-height:1.05;
  pointer-events:none;
}
body[data-page="home"] .settings-schedule-week-panel__hint{
  margin:0;
  color:rgba(232,240,252,.56);
  font-size:.71rem;
  line-height:1.45;
}
body[data-page="home"] .settings-schedule-week-panel__empty-range{
  margin:-2px 0 0;
  padding:7px 10px;
  border:1px solid rgba(232,214,164,.18);
  border-radius:12px;
  background:rgba(232,214,164,.06);
  color:rgba(255,247,223,.72);
  font-size:.70rem;
  font-weight:720;
  line-height:1.35;
}
@media (hover:hover) and (pointer:fine){
  body[data-page="home"] .settings-schedule-week-grid__cell:not(:disabled):hover{
    background:rgba(232,214,164,.13);
    box-shadow:inset 0 0 0 1px rgba(232,214,164,.22);
  }
}
@media (hover:none), (pointer:coarse){
  body[data-page="home"] .settings-schedule-week-grid__cell:not(:disabled):hover{
    box-shadow:none !important;
  }
  body[data-page="home"] .settings-schedule-week-grid__cell:focus:not(:focus-visible){
    box-shadow:none !important;
  }
  body[data-page="home"] .settings-schedule-week-grid__cell.is-selected:focus:not(:focus-visible),
  body[data-page="home"] .settings-schedule-week-grid__cell.is-active:focus:not(:focus-visible){
    box-shadow:inset 0 0 0 2px rgba(232,214,164,.84), 0 0 0 1px rgba(232,214,164,.15) !important;
  }
}
@media (prefers-reduced-motion:reduce){
  body[data-page="home"] .settings-schedule-week-grid-scroll.is-schedule-gliding{
    scroll-behavior:auto;
  }
}
@media (max-width:760px){
  body[data-page="home"] .settings-schedule-week-panel{
    border-radius:16px;
    padding:8px;
    gap:8px;
    margin-inline:0;
  }
  body[data-page="home"] .settings-schedule-week-panel__head{
    grid-template-columns:36px minmax(0, 1fr);
    align-items:start;
    gap:7px;
  }
  body[data-page="home"] .settings-schedule-week-panel__head > .settings-mini-btn[data-settings-action="schedule-grid-prev"]{
    grid-column:1;
    grid-row:1;
    width:34px;
    min-width:34px;
    min-height:34px;
    padding:0;
  }
  body[data-page="home"] .settings-schedule-week-panel__head > div:not(.settings-schedule-week-panel__nav){
    grid-column:2;
    grid-row:1;
    min-width:0;
  }
  body[data-page="home"] .settings-schedule-week-panel__head h4{
    font-size:.60rem;
    line-height:1.15;
  }
  body[data-page="home"] .settings-schedule-week-panel__head strong{
    font-size:.74rem;
    line-height:1.16;
  }
  body[data-page="home"] .settings-schedule-week-panel__nav{
    grid-column:1 / -1;
    display:grid;
    grid-template-columns:auto minmax(0, 1fr) auto auto;
    gap:5px;
    width:100%;
    max-width:none;
    justify-content:stretch;
  }
  body[data-page="home"] .settings-schedule-week-panel__nav .settings-mini-btn{
    min-height:30px;
    padding:5px 8px;
    font-size:.64rem;
  }
  body[data-page="home"] .settings-schedule-week-panel__expand{
    display:none !important;
  }
  body[data-page="home"] .settings-schedule-week-panel__jump{
    min-width:0;
    width:100%;
    display:grid;
    grid-template-columns:auto minmax(0, 1fr);
    gap:6px;
    padding:3px 8px;
  }
  body[data-page="home"] .settings-schedule-week-panel__jump input{
    width:100%;
    min-width:0;
    font-size:.70rem;
  }
  body[data-page="home"] .settings-schedule-week-pan-rail{
    justify-content:flex-start;
    min-height:24px;
    padding:4px 7px;
    border-radius:12px;
    font-size:.64rem;
  }
  body[data-page="home"] .settings-schedule-week-pan-rail span{
    font-size:0;
  }
  body[data-page="home"] .settings-schedule-week-pan-rail span::after{
    content:"Swipe left/right · Tap cells on/off";
    font-size:.62rem;
    font-weight:850;
    letter-spacing:.02em;
  }
  body[data-page="home"] .settings-schedule-week-grid-shell,
  body[data-page="home"] .settings-schedule-week-grid-shell .settings-schedule-week-grid{
    --schedule-time-col:43px;
    --schedule-day-min:58px;
    --schedule-grid-min-width:1261px;
  }
  body[data-page="home"] .settings-schedule-week-grid-shell{
    margin-inline:5px;
    border-radius:13px;
  }
  body[data-page="home"] .settings-schedule-week-grid-scroll{
    max-height:min(54svh, 460px);
    border-radius:0;
    overscroll-behavior:auto;
  }
  body[data-page="home"] .settings-schedule-week-grid__corner,
  body[data-page="home"] .settings-schedule-week-grid__day{
    min-height:35px;
  }
  body[data-page="home"] .settings-schedule-week-grid__day{
    display:grid;
    place-items:center;
    gap:1px;
    padding:3px 1px 4px;
  }
  body[data-page="home"] .settings-schedule-week-grid__day span{
    font-size:.54rem;
    line-height:1;
  }
  body[data-page="home"] .settings-schedule-week-grid__day strong{
    font-size:.86rem;
    line-height:.94;
  }
  body[data-page="home"] .settings-schedule-week-grid__day em{
    font-size:.58rem;
    line-height:1;
    color:rgba(232,240,252,.72);
  }
  body[data-page="home"] .settings-schedule-week-grid__time{
    align-items:center;
    justify-content:center;
    min-height:26px;
    padding:0 1px;
    color:rgba(232,240,252,.66);
    font-size:.75rem;
    line-height:1;
    z-index:40;
  }
  body[data-page="home"] .settings-schedule-week-grid__cell{
    min-height:26px;
    padding:1px 2px;
    touch-action:pan-x pan-y;
  }
  body[data-page="home"] .settings-schedule-week-grid__cell span,
  body[data-page="home"] .settings-schedule-week-grid__label{
    font-size:.64rem;
    font-weight:890;
    line-height:1.02;
  }
  body[data-page="home"] .settings-schedule-day-admin{
    gap:6px;
    margin-top:7px;
    padding:7px;
    border-radius:14px;
  }
  body[data-page="home"] .settings-schedule-day-admin__controls,
  body[data-page="home"] .settings-schedule-day-admin__label-control{
    grid-template-columns:1fr;
    gap:6px;
  }
  body[data-page="home"] .settings-schedule-day-admin__controls span{
    font-size:.54rem;
    letter-spacing:.06em;
  }
  body[data-page="home"] .settings-schedule-day-admin__controls input,
  body[data-page="home"] .settings-schedule-day-admin__controls select{
    min-height:28px;
    border-radius:10px;
    padding:.34rem .46rem;
    font-size:.68rem;
  }
  body[data-page="home"] .settings-schedule-day-admin__label-control .settings-mini-btn{
    width:100%;
    min-height:28px;
    justify-content:center;
    padding:.34rem .46rem;
    font-size:.66rem;
  }
  body[data-page="home"] .settings-schedule-day-admin__actions{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:6px;
  }
  body[data-page="home"] .settings-schedule-day-admin__actions span{
    grid-column:1 / -1;
    width:auto;
    margin-right:0;
    font-size:.66rem;
  }
  body[data-page="home"] .settings-schedule-day-admin__actions .settings-mini-btn{
    width:100%;
    min-height:29px;
    justify-content:center;
    padding:.34rem .38rem;
    font-size:.64rem;
    white-space:nowrap;
  }
  body[data-page="home"] .settings-schedule-day-admin__hint,
  body[data-page="home"] .settings-schedule-week-panel__hint{
    display:none;
  }
  body.settings-shell-open .ccr-client-activity-launcher{
    display:none !important;
  }
}
@media (min-width:761px){
  body[data-page="home"] .settings-schedule-week-grid-scroll{
    max-height:min(70vh, 610px);
  }
  body[data-page="home"] .settings-schedule-day-admin{
    padding:9px;
    gap:8px;
  }
}
@media (max-width:520px){
  body[data-page="home"] .settings-schedule-week-panel{
    margin-inline:0;
    padding:6px;
  }
  body[data-page="home"] .settings-schedule-week-grid-shell{
    margin-inline:6px;
  }
}

/* r10350 — expanded admin schedule workspace. This reuses the same SO schedule
   grid renderer and existing schedule_request.php save path; it is not a second
   schedule model. */
body[data-page="home"] .settings-schedule-heading-expand{
  min-height:28px;
  padding:.32rem .56rem;
  border-color:rgba(232,214,164,.24);
  color:rgba(255,247,223,.90);
}
body[data-page="home"] .settings-schedule-expanded-layer{
  position:fixed;
  inset:0;
  z-index:8;
  display:grid;
  place-items:center;
  padding:max(14px, env(safe-area-inset-top, 0px)) max(14px, env(safe-area-inset-right, 0px)) max(14px, env(safe-area-inset-bottom, 0px)) max(14px, env(safe-area-inset-left, 0px));
}
body[data-page="home"] .settings-schedule-expanded-backdrop{
  position:absolute;
  inset:0;
  border:0;
  background:rgba(3,8,15,.64);
  backdrop-filter:blur(10px) saturate(1.05);
  cursor:default;
}
body[data-page="home"] .settings-schedule-expanded-card{
  position:relative;
  z-index:1;
  width:min(3200px, calc(100vw - 28px));
  height:min(96svh, 1600px);
  min-height:min(760px, calc(100svh - 28px));
  display:grid;
  grid-template-rows:auto minmax(0, 1fr);
  overflow:hidden;
  border:1px solid rgba(214,229,248,.16);
  border-radius:26px;
  background:
    radial-gradient(circle at 18% 0%, rgba(124,160,205,.10), transparent 34%),
    linear-gradient(180deg, rgba(24,36,50,.94), rgba(7,13,23,.91));
  box-shadow:0 36px 110px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.06);
  color:var(--text);
}
body[data-page="home"] .settings-schedule-expanded-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  padding:12px 18px 10px;
  border-bottom:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg, rgba(27,39,53,.98), rgba(14,24,40,.96));
}
body[data-page="home"] .settings-schedule-expanded-header p{
  margin:0 0 5px;
  color:rgba(232,214,164,.82);
  font-size:.70rem;
  font-weight:850;
  letter-spacing:.16em;
  text-transform:uppercase;
}
body[data-page="home"] .settings-schedule-expanded-header h3{
  margin:0;
  color:rgba(243,247,255,.96);
  font-size:1.12rem;
  font-weight:850;
}
body[data-page="home"] .settings-schedule-expanded-header span{
  display:block;
  margin-top:4px;
  color:rgba(232,240,252,.58);
  font-size:.78rem;
  font-weight:650;
}
body[data-page="home"] .settings-schedule-expanded-close{
  flex:0 0 auto;
}
body[data-page="home"] .settings-schedule-expanded-body{
  min-height:0;
  padding:10px;
  overflow:hidden;
}
body[data-page="home"] .settings-schedule-expanded-body .settings-schedule-week-panel{
  height:100%;
  min-height:0;
  grid-template-rows:auto auto minmax(0, 1fr) auto;
  gap:8px;
  padding:10px;
  border-radius:22px;
}
body[data-page="home"] .settings-schedule-expanded-body .settings-schedule-week-panel__head{
  grid-template-columns:auto minmax(320px, 1fr) minmax(760px, auto);
  align-items:start;
}
body[data-page="home"] .settings-schedule-expanded-body .settings-schedule-week-panel__head > div:not(.settings-schedule-week-panel__nav){
  text-align:left;
}
body[data-page="home"] .settings-schedule-expanded-body .settings-schedule-week-panel__nav{
  flex-wrap:wrap;
  justify-content:flex-end;
  max-width:none;
}
body[data-page="home"] .settings-schedule-expanded-body .settings-schedule-day-admin{
  display:grid;
  grid-template-columns:minmax(560px, 1fr) minmax(520px, auto);
  align-items:end;
  gap:8px 14px;
  padding:8px 9px;
}
body[data-page="home"] .settings-schedule-expanded-body .settings-schedule-day-admin__controls{
  grid-column:1;
  grid-template-columns:minmax(210px, .58fr) minmax(340px, 1.42fr);
}
body[data-page="home"] .settings-schedule-expanded-body .settings-schedule-day-admin__actions{
  grid-column:2;
  justify-content:flex-end;
}
body[data-page="home"] .settings-schedule-expanded-body .settings-schedule-day-admin__hint,
body[data-page="home"] .settings-schedule-expanded-body .settings-schedule-day-admin__status{
  grid-column:1 / -1;
}
body[data-page="home"] .settings-schedule-expanded-body .settings-schedule-week-grid-shell{
  min-height:0;
}
body[data-page="home"] .settings-schedule-expanded-body .settings-schedule-week-grid-scroll{
  height:100%;
  max-height:none;
}
body[data-page="home"] .settings-schedule-expanded-body .settings-schedule-week-pan-rail{
  display:none;
}
body[data-page="home"] .settings-schedule-expanded-body .settings-schedule-week-panel__hint{
  margin:0;
}
body[data-page="home"] .settings-schedule-expanded-body .settings-schedule-week-grid-shell,
body[data-page="home"] .settings-schedule-expanded-body .settings-schedule-week-grid-shell .settings-schedule-week-grid{
  --schedule-time-col:62px;
  --schedule-day-min:118px;
}
@media (min-width:1600px){
  body[data-page="home"] .settings-schedule-expanded-body .settings-schedule-week-grid-shell,
  body[data-page="home"] .settings-schedule-expanded-body .settings-schedule-week-grid-shell .settings-schedule-week-grid{
    --schedule-day-min:126px;
  }
}
@media (min-width:2200px){
  body[data-page="home"] .settings-schedule-expanded-body .settings-schedule-week-grid-shell,
  body[data-page="home"] .settings-schedule-expanded-body .settings-schedule-week-grid-shell .settings-schedule-week-grid{
    --schedule-day-min:134px;
  }
}
@media (max-width:1320px){
  body[data-page="home"] .settings-schedule-expanded-body .settings-schedule-week-panel__head{
    grid-template-columns:auto minmax(0, 1fr);
  }
  body[data-page="home"] .settings-schedule-expanded-body .settings-schedule-week-panel__nav{
    grid-column:1 / -1;
    justify-content:flex-start;
  }
  body[data-page="home"] .settings-schedule-expanded-body .settings-schedule-day-admin{
    grid-template-columns:1fr;
  }
  body[data-page="home"] .settings-schedule-expanded-body .settings-schedule-day-admin__controls,
  body[data-page="home"] .settings-schedule-expanded-body .settings-schedule-day-admin__actions{
    grid-column:1;
  }
  body[data-page="home"] .settings-schedule-expanded-body .settings-schedule-day-admin__actions{
    justify-content:flex-start;
  }
}
@media (max-width:900px){
  body[data-page="home"] .settings-schedule-heading-expand,
  body[data-page="home"] .settings-schedule-week-panel__expand{
    display:none !important;
  }
  body[data-page="home"] .settings-schedule-expanded-body .settings-schedule-week-pan-rail{
    display:flex;
  }
  body[data-page="home"] .settings-schedule-expanded-card{
    width:calc(100vw - 18px);
    height:calc(100svh - 18px);
    min-height:0;
    border-radius:20px;
  }
  body[data-page="home"] .settings-schedule-expanded-body{
    padding:8px;
  }
  body[data-page="home"] .settings-schedule-expanded-body .settings-schedule-week-panel__head{
    grid-template-columns:1fr;
  }
  body[data-page="home"] .settings-schedule-expanded-body .settings-schedule-week-panel__nav{
    justify-content:flex-start;
    max-width:none;
  }
}

body[data-page="home"] .settings-schedule-request-compose{
  display:grid;
  justify-items:center;
  gap:14px;
  width:min(100%, 520px);
  margin-inline:auto;
  text-align:center;
}
body[data-page="home"] .settings-schedule-request-compose .settings-schedule-field{
  width:100%;
}
body[data-page="home"] .settings-schedule-request-compose textarea{
  height:62px;
  min-height:62px;
  resize:none;
  overflow:auto;
}
body[data-page="home"] .settings-schedule-request-compose textarea:placeholder-shown{
  padding-block:calc((62px - 1.5em - 2px) / 2);
}
body[data-page="home"] .settings-schedule-request-compose textarea::placeholder{
  text-align:center;
}
body[data-page="home"] .settings-schedule-request-compose .settings-schedule-actions{
  width:100%;
  justify-content:center;
}
body[data-page="home"] .settings-schedule-request-compose .settings-schedule-submit{
  width:min(100%, 320px);
  justify-content:center;
}
body[data-page="home"] .settings-schedule-request-notice{
  margin:0;
  padding:7px 10px;
  border-radius:11px;
  border:1px solid rgba(174,200,233,.20);
  background:rgba(6,18,34,.38);
  color:rgba(232,240,252,.88);
  font-size:.78rem;
  font-weight:750;
  line-height:1.35;
  text-align:center;
}
body[data-page="home"] .settings-schedule-request-notice.is-ok{
  border-color:rgba(126,220,166,.34);
  background:rgba(44,150,91,.12);
  color:rgba(214,255,231,.96);
}
body[data-page="home"] .settings-schedule-request-notice.is-note{
  border-color:rgba(244,211,138,.28);
  background:rgba(244,211,138,.08);
  color:#fff0c4;
}
body[data-page="home"] .settings-schedule-request-notice.is-error{
  border-color:rgba(255,128,128,.34);
  background:rgba(156,46,58,.12);
  color:#ffdddd;
}
body[data-page="home"] .settings-schedule-submit.is-sent,
body[data-page="home"] .settings-schedule-submit.is-sent:disabled{
  border-color:rgba(126,220,166,.52);
  background:linear-gradient(145deg, rgba(44,150,91,.42), rgba(24,105,70,.36));
  color:#e2ffed;
  opacity:1;
}
@media (max-width:760px){
  body[data-page="home"] .settings-schedule-calendar,
  body[data-page="home"] .settings-schedule-day-panel,
  body[data-page="home"] .settings-schedule-confirm{
    border-radius:16px;
    padding:11px;
  }
  body[data-page="home"] .settings-schedule-calendar__head{
    grid-template-columns:44px 1fr 44px;
  }
  body[data-page="home"] .settings-schedule-weekdays,
  body[data-page="home"] .settings-schedule-month-grid{
    gap:4px;
  }
  body[data-page="home"] .settings-schedule-day{
    min-height:42px;
    border-radius:12px;
    padding:6px 2px;
  }
  body[data-page="home"] .settings-schedule-slot-grid{
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:6px;
  }
  body[data-page="home"] .settings-schedule-slot{
    min-height:42px;
    border-radius:13px;
  }
}

/* r9026/r9109 — desktop header balance: less wrap-sensitive site title + compact right-avatar session badge */
@media (min-width:761px){
  body[data-page="home"] .header-inner{
    grid-template-columns:minmax(0,1fr) auto;
    align-items:start;
    column-gap:clamp(20px,2.8vw,42px);
  }
  body[data-page="home"] .masthead{
    max-width:min(100%, 1080px);
  }
  body[data-page="home"] .masthead h1[data-site-title]{
    max-width:min(100%, 1080px) !important;
    white-space:normal !important;
    text-wrap:normal !important;
    font-size:var(--ccr-masthead-title-size,clamp(25px,2.55vw,38px)) !important;
    line-height:1.08 !important;
    padding:18px 22px !important;
  }
  body[data-page="home"] .masthead h1[data-site-title] .site-title-text{
    display:inline-flex;
    flex-wrap:nowrap;
    align-items:baseline;
    column-gap:.18em;
    row-gap:0;
    white-space:nowrap !important;
  }
  body[data-page="home"] .masthead h1[data-site-title] .site-title-rest,
  body[data-page="home"] .masthead h1[data-site-title] .site-title-ccr{
    white-space:nowrap !important;
  }
  body[data-page="home"] .header-actions{
    min-width:min(252px, 28vw);
    align-content:flex-start;
  }
}
@media (min-width:761px) and (max-width:940px){
  body[data-page="home"] .masthead{
    max-width:min(100%, 860px);
  }
  body[data-page="home"] .masthead h1[data-site-title]{
    max-width:min(100%, 860px) !important;
    font-size:clamp(21px,2.08vw,31px) !important;
    padding-inline:18px !important;
  }
  body[data-page="home"] .header-actions{
    min-width:min(228px, 32vw);
  }
}
@media (min-width:761px) and (max-width:820px){
  body[data-page="home"] .masthead h1[data-site-title] .site-title-text{
    flex-wrap:wrap;
    white-space:normal !important;
  }
  body[data-page="home"] .masthead h1[data-site-title] .site-title-rest,
  body[data-page="home"] .masthead h1[data-site-title] .site-title-ccr{
    white-space:normal !important;
  }
}
/* r9024 — desktop signed-in badge + SO session photo control */
body[data-page="home"] .home-session-badge-row{
  flex:0 0 100%;
  width:100%;
  display:flex;
  justify-content:flex-end;
  align-items:center;
  margin-top:8px;
}
body[data-page="home"] .home-session-badge-row[hidden]{display:none !important;}
body[data-page="home"] .home-session-badge{
  flex:0 0 auto;
  width:max-content;
  min-width:0;
  max-width:min(190px, 100%);
  margin-left:auto;
  margin-top:0;
  display:inline-flex;
  align-items:center;
  justify-content:flex-end;
  gap:9px;
  padding:6px 7px 6px 14px;
  border:1px solid rgba(244,211,138,.22);
  border-radius:999px;
  background:linear-gradient(115deg, rgba(244,211,138,.10), rgba(22,42,65,.42) 48%, rgba(7,18,33,.64));
  box-shadow:0 10px 22px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.05);
  color:rgba(243,247,255,.94);
  backdrop-filter:blur(10px);
}
body[data-page="home"] .home-session-badge[hidden]{display:none !important;}
body[data-page="home"] .home-session-badge__text{
  display:grid;
  gap:0;
  min-width:0;
  line-height:1.05;
  text-align:left;
}
body[data-page="home"] .home-session-badge em{
  color:rgba(244,211,138,.88);
  font-size:.61rem;
  font-style:normal;
  font-weight:800;
  letter-spacing:.07em;
  text-transform:uppercase;
}
body[data-page="home"] .home-session-badge strong{
  max-width:160px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:.78rem;
  font-weight:850;
}
body[data-page="home"] .home-session-badge small{
  color:rgba(203,219,236,.72);
  font-size:.66rem;
  font-weight:700;
}
body[data-page="home"] .settings-user-avatar{
  width:38px;
  height:38px;
  flex:0 0 38px;
  border-radius:999px;
  display:inline-grid;
  place-items:center;
  overflow:hidden;
  border:1px solid rgba(244,211,138,.34);
  background:radial-gradient(circle at 32% 24%, rgba(244,211,138,.30), rgba(31,62,100,.30) 45%, rgba(6,18,34,.76));
  color:#fff1c8;
  box-shadow:0 10px 24px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.08);
  font-weight:900;
  letter-spacing:.05em;
}
body[data-page="home"] .settings-user-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
body[data-page="home"] .settings-user-avatar--tiny{
  width:30px;
  height:30px;
  flex-basis:30px;
  font-size:.68rem;
}
body[data-page="home"] .settings-user-avatar--large{
  width:68px;
  height:68px;
  flex-basis:68px;
  font-size:1.15rem;
}
body[data-page="home"] .settings-user-chip--with-avatar{
  padding:7px 11px 7px 7px;
  gap:9px;
}
body[data-page="home"] .settings-session-panel{
  display:grid;
  gap:12px;
}
body[data-page="home"] .settings-profile-photo-upload{
  position:relative;
  overflow:hidden;
  cursor:pointer;
}
body[data-page="home"] .settings-profile-photo-upload input{
  position:absolute;
  inset:0;
  opacity:0;
  pointer-events:none;
}
body[data-page="home"] .settings-profile-photo-upload.is-disabled{
  opacity:.55;
  cursor:default;
}
body[data-page="home"] .settings-photo-status{
  margin-top:0 !important;
}
body[data-page="home"] .settings-session-row--compact{
  align-items:stretch;
}
body[data-page="home"] .settings-user-chip--session{
  position:relative;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  grid-template-areas:
    "avatar name meta"
    "avatar name action";
  align-items:center;
  gap:6px 12px;
  padding:12px 14px 12px 12px;
  border:1px solid rgba(174,200,233,.13);
  border-radius:18px;
  background:linear-gradient(135deg, rgba(6,18,34,.28), rgba(21,42,70,.18));
}
body[data-page="home"] .settings-user-chip--session .settings-user-avatar{
  grid-area:avatar;
}
body[data-page="home"] .settings-user-chip--session .settings-user-chip__stack{
  grid-area:name;
}
body[data-page="home"] .settings-user-chip--session .settings-user-chip__meta{
  grid-area:meta;
  justify-self:end;
}
body[data-page="home"] .settings-user-chip__photo-btn{
  grid-area:action;
  justify-self:end;
  align-self:end;
  color:rgba(244,211,138,.92);
  border-color:rgba(244,211,138,.22);
  background:rgba(244,211,138,.07);
}
body[data-page="home"] .settings-profile-photo-flyout{
  position:fixed;
  inset:0;
  z-index:2147481800;
  display:grid;
  place-items:center;
  padding:20px;
}
body[data-page="home"] .settings-profile-photo-flyout__backdrop{
  position:absolute;
  inset:0;
  background:rgba(2,8,16,.46);
  backdrop-filter:blur(7px);
}
body[data-page="home"] .settings-profile-photo-flyout__card{
  position:relative;
  z-index:1;
  width:min(460px, calc(100vw - 30px));
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:16px;
  align-items:start;
  padding:18px;
  border:1px solid rgba(244,211,138,.26);
  border-radius:22px;
  background:linear-gradient(145deg, rgba(22,39,58,.96), rgba(7,18,33,.94));
  box-shadow:0 28px 70px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.06);
}
body[data-page="home"] .settings-profile-photo-flyout__close{
  position:absolute;
  top:10px;
  right:10px;
  width:34px;
  height:34px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  color:rgba(232,240,252,.86);
  cursor:pointer;
  font-size:1.2rem;
  line-height:1;
}
body[data-page="home"] .settings-profile-photo-flyout__body{
  display:grid;
  gap:10px;
  min-width:0;
  padding-right:30px;
}
body[data-page="home"] .settings-profile-photo-flyout__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
}
body[data-page="home"] .settings-profile-photo-flyout__head strong{
  color:rgba(244,211,138,.96);
  font-size:1rem;
}
body[data-page="home"] .settings-profile-photo-flyout__head span{
  color:rgba(232,240,252,.72);
  font-size:.72rem;
  font-weight:800;
  border:1px solid rgba(244,211,138,.18);
  border-radius:999px;
  padding:3px 8px;
}
body[data-page="home"] .settings-profile-photo-flyout p{
  margin:0;
  color:rgba(232,240,252,.68);
  font-size:.82rem;
  line-height:1.5;
}
@media (max-width:760px){
  body[data-page="home"] .home-session-badge{
    display:none !important;
  }
  body[data-page="home"] .settings-user-chip--session{
    grid-template-columns:auto minmax(0,1fr);
    grid-template-areas:
      "avatar name"
      "avatar meta"
      "avatar action";
  }
  body[data-page="home"] .settings-user-chip--session .settings-user-chip__meta,
  body[data-page="home"] .settings-user-chip__photo-btn{
    justify-self:start;
  }
  body[data-page="home"] .settings-profile-photo-flyout__card{
    grid-template-columns:1fr;
    justify-items:start;
    padding:16px;
  }
  body[data-page="home"] .settings-profile-photo-flyout__body{
    padding-right:0;
  }
  body[data-page="home"] .settings-profile-photo-actions .settings-mini-btn{
    flex:1 1 100%;
    justify-content:center;
  }
}

/* r9028 — root-level session layout, desktop badge row, and mobile SO session compaction */
@media (min-width:761px){
  body[data-page="home"] .home-session-badge-row{
    flex:0 0 100%;
    width:100%;
    display:flex;
    justify-content:flex-end;
    align-items:center;
    margin-top:8px;
  }
  body[data-page="home"] .home-session-badge{
    flex:0 0 auto;
    width:auto;
    min-width:0;
    max-width:190px;
    margin-left:auto;
    margin-top:0;
    padding:5px 6px 5px 13px;
    gap:8px;
    justify-content:flex-end;
  }
  body[data-page="home"] .home-session-badge__text{
    display:block;
    min-width:0;
    max-width:124px;
    text-align:right;
  }
  body[data-page="home"] .home-session-badge strong{
    display:block;
    max-width:124px;
    font-size:.76rem;
  }
  body[data-page="home"] .home-session-badge .settings-user-avatar--tiny{
    width:31px;
    height:31px;
    flex-basis:31px;
  }
}
body[data-page="home"] .settings-user-chip--session{
  grid-template-columns:auto minmax(0,1fr) auto;
  grid-template-areas:"avatar name actions";
  align-items:center;
  gap:9px 12px;
  padding:10px 12px;
  border:1px solid rgba(174,200,233,.13);
  border-radius:18px;
  background:linear-gradient(135deg, rgba(6,18,34,.28), rgba(21,42,70,.18));
}
body[data-page="home"] .settings-user-chip--session .settings-user-chip__actions{
  grid-area:actions;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:7px;
  flex-wrap:nowrap;
  min-width:0;
}
body[data-page="home"] .settings-user-chip--session .settings-user-chip__meta,
body[data-page="home"] .settings-user-chip__logout-btn,
body[data-page="home"] .settings-user-chip__photo-btn{
  min-height:32px;
  padding:6px 11px;
  border-radius:999px;
  font-size:.76rem;
  line-height:1;
  white-space:nowrap;
  color:rgba(232,240,252,.82);
  border:1px solid rgba(174,200,233,.16);
  background:rgba(255,255,255,.035);
}
body[data-page="home"] .settings-user-chip--session .settings-user-chip__meta{
  order:1;
  max-width:150px;
  overflow:hidden;
  text-overflow:ellipsis;
}
body[data-page="home"] .settings-user-chip__logout-btn{order:2;}
body[data-page="home"] .settings-user-chip__photo-btn{order:3;}
body[data-page="home"] .settings-user-chip__photo-btn:hover,
body[data-page="home"] .settings-user-chip__logout-btn:hover{
  color:rgba(244,211,138,.92);
  border-color:rgba(244,211,138,.22);
  background:rgba(244,211,138,.07);
}
body[data-page="home"] .settings-profile-photo-flyout__head{
  justify-content:center;
  text-align:center;
}
body[data-page="home"] .settings-profile-photo-flyout__head strong{
  width:100%;
  text-align:center;
}
body[data-page="home"] .settings-profile-photo-flyout__head span{
  display:none;
}
body[data-page="home"] .settings-profile-photo-flyout__card{
  align-items:center;
}
body[data-page="home"] .settings-profile-photo-actions{
  justify-content:center;
}
body[data-page="home"] .settings-profile-photo-actions .settings-profile-photo-upload{
  justify-content:center;
  text-align:center;
}
@media (max-width:760px){
  body[data-page="home"] .home-session-badge-row{
    display:none !important;
  }
  body[data-page="home"] .settings-session-row,
  body[data-page="home"] .settings-session-row--compact{
    padding:7px;
    border-radius:16px;
  }
  body[data-page="home"] .settings-user-chip--session{
    grid-template-columns:42px minmax(0,1fr);
    grid-template-areas:
      "avatar name"
      "actions actions";
    gap:8px 10px;
    padding:9px;
    border-radius:16px;
    align-items:center;
  }
  body[data-page="home"] .settings-user-chip--session .settings-user-avatar{
    width:42px;
    height:42px;
    flex-basis:42px;
  }
  body[data-page="home"] .settings-user-chip--session .settings-user-chip__stack{
    gap:0;
    align-self:center;
    min-width:0;
  }
  body[data-page="home"] .settings-user-chip--session .settings-user-chip__label{
    display:none;
  }
  body[data-page="home"] .settings-user-chip--session .settings-user-chip__value{
    font-size:.96rem;
    line-height:1.15;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  body[data-page="home"] .settings-user-chip--session .settings-user-chip__actions{
    width:100%;
    min-width:0;
    display:grid;
    grid-template-columns:minmax(0,1.1fr) minmax(0,.82fr) minmax(0,1fr);
    gap:6px;
    justify-self:stretch;
  }
  body[data-page="home"] .settings-user-chip--session .settings-user-chip__meta,
  body[data-page="home"] .settings-user-chip__logout-btn,
  body[data-page="home"] .settings-user-chip__photo-btn{
    width:100%;
    max-width:none;
    min-width:0;
    min-height:31px;
    padding:6px 5px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    overflow:hidden;
    text-overflow:ellipsis;
    font-size:.62rem;
    letter-spacing:0;
    box-sizing:border-box;
  }
}

/* r9030/r9109 — root-level SO Session cleanup, subtler profile modal, calmer schedule UI, less wrap-sensitive title duplicate */
@media (min-width:761px){
  body[data-page="home"] .masthead h1[data-site-title]{ max-width:min(100%, 1080px) !important; text-wrap:normal !important; }
}
@media (min-width:761px) and (max-width:940px){
  body[data-page="home"] .masthead h1[data-site-title]{ font-size:clamp(21px,2.08vw,31px) !important; }
}
body[data-page="home"] .settings-user-chip--session .settings-user-chip__actions > *,
body[data-page="home"] .settings-user-chip--session .settings-user-chip__meta,
body[data-page="home"] .settings-user-chip--session .settings-user-chip__logout-btn,
body[data-page="home"] .settings-user-chip--session .settings-user-chip__photo-btn{
  grid-area:auto !important;
  position:relative;
  inset:auto;
}
body[data-page="home"] .settings-user-chip--session .settings-user-chip__meta,
body[data-page="home"] .settings-user-chip__logout-btn,
body[data-page="home"] .settings-user-chip__photo-btn,
body[data-page="home"] .settings-profile-photo-actions .settings-mini-btn,
body[data-page="home"] .settings-profile-photo-upload{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  line-height:1.1 !important;
  vertical-align:middle;
}
body[data-page="home"] .settings-profile-photo-flyout__backdrop{
  background:rgba(4,12,22,.26);
  backdrop-filter:blur(5px);
}
body[data-page="home"] .settings-profile-photo-flyout__card{
  border-color:rgba(174,200,233,.20);
  background:linear-gradient(145deg, rgba(19,39,61,.80), rgba(7,18,33,.72));
  box-shadow:0 24px 58px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.055);
  backdrop-filter:blur(14px) saturate(120%);
}
body[data-page="home"] .settings-profile-photo-actions{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
}
body[data-page="home"] .settings-profile-photo-actions .settings-profile-photo-upload{
  min-height:36px;
  padding-block:8px;
  text-align:center;
}
@media (max-width:760px){
  body[data-page="home"] .settings-session-panel{
    gap:8px;
  }
  body[data-page="home"] .settings-session-row,
  body[data-page="home"] .settings-session-row--compact{
    padding:8px;
    border-radius:18px;
  }
  body[data-page="home"] .settings-user-chip--session{
    display:grid;
    grid-template-columns:auto minmax(0,1fr);
    grid-template-areas:
      "avatar name"
      "actions actions";
    align-items:center;
    gap:10px 12px;
    padding:10px;
    min-height:auto;
    overflow:hidden;
  }
  body[data-page="home"] .settings-user-chip--session .settings-user-avatar{
    grid-area:avatar;
    width:50px;
    height:50px;
    flex-basis:50px;
    align-self:center;
  }
  body[data-page="home"] .settings-user-chip--session .settings-user-chip__stack{
    grid-area:name;
    min-width:0;
    align-self:center;
  }
  body[data-page="home"] .settings-user-chip--session .settings-user-chip__label{
    display:none !important;
  }
  body[data-page="home"] .settings-user-chip--session .settings-user-chip__value{
    display:block;
    max-width:100%;
    font-size:clamp(.98rem, 5.2vw, 1.18rem);
    line-height:1.12;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  body[data-page="home"] .settings-user-chip--session .settings-user-chip__actions{
    grid-area:actions;
    display:grid;
    width:100%;
    grid-template-columns:minmax(0,1.08fr) minmax(0,.76fr) minmax(0,1.06fr);
    gap:6px;
    align-items:center;
    justify-content:stretch;
  }
  body[data-page="home"] .settings-user-chip--session .settings-user-chip__meta,
  body[data-page="home"] .settings-user-chip__logout-btn,
  body[data-page="home"] .settings-user-chip__photo-btn{
    min-width:0;
    width:100%;
    max-width:100%;
    min-height:34px;
    padding:7px 7px;
    font-size:clamp(.58rem, 2.9vw, .72rem);
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    box-sizing:border-box;
  }
  body[data-page="home"] .settings-profile-photo-flyout{
    padding:14px;
  }
  body[data-page="home"] .settings-profile-photo-flyout__card{
    width:min(390px, calc(100vw - 28px));
    justify-items:center;
    text-align:center;
  }
  body[data-page="home"] .settings-profile-photo-actions{
    width:100%;
  }
  body[data-page="home"] .settings-profile-photo-actions .settings-mini-btn,
  body[data-page="home"] .settings-profile-photo-upload{
    flex:1 1 100%;
  }
}
body[data-page="home"] .settings-schedule-calendar,
body[data-page="home"] .settings-schedule-day-panel,
body[data-page="home"] .settings-schedule-confirm{
  background:linear-gradient(150deg, rgba(10,25,45,.56), rgba(5,14,26,.42));
}
body[data-page="home"] .settings-schedule-day{
  min-height:42px;
  border-radius:13px;
}
body[data-page="home"] .settings-schedule-slot{
  min-height:39px;
  border-radius:12px;
}
body[data-page="home"] .settings-schedule-slot.is-unavailable{
  opacity:.32;
}


/* r9031 — RO Universe compact source action + Schedule copy cleanup */
.rss-create-source-btn{
  min-width:32px;
  min-height:32px;
  padding:0 .55rem;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-color:rgba(244,211,138,.44);
  background:rgba(244,211,138,.11);
  color:#f4d38a;
  font-size:1.08rem;
  font-weight:900;
  letter-spacing:0;
  text-transform:none;
}
.rss-create-source-btn:not(.is-remove):not(:disabled){
  width:32px;
  padding:0;
}
.rss-create-source-btn.is-remove{
  width:32px;
  min-width:32px;
  padding:0;
  font-size:1.05rem;
}
body[data-page="home"] .settings-schedule-panel--calendar{
  gap:12px;
}

/* r9033 schedule session visibility */
body[data-page="home"] .settings-schedule-sessions{
  border:1px solid rgba(174,200,233,.16);
  border-radius:18px;
  background:rgba(6,18,34,.34);
  padding:12px;
}
body[data-page="home"] .settings-schedule-sessions h4{
  margin:0 0 8px;
  color:rgba(232,214,164,.90);
  font-size:.86rem;
  letter-spacing:.01em;
  text-transform:none;
}
body[data-page="home"] .settings-schedule-sessions ul{
  list-style:none;
  display:grid;
  gap:7px;
  margin:0;
  padding:0;
}
body[data-page="home"] .settings-schedule-sessions li{
  display:grid;
  grid-template-columns:1fr auto auto;
  gap:8px;
  align-items:center;
  padding:8px 9px;
  border-radius:14px;
  border:1px solid rgba(174,200,233,.12);
  background:rgba(255,255,255,.035);
  color:rgba(232,240,252,.86);
  font-size:.78rem;
}
body[data-page="home"] .settings-schedule-sessions li strong{
  color:#f4d38a;
  font-size:.74rem;
  max-width:150px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
body[data-page="home"] .settings-schedule-sessions li em{
  font-style:normal;
  color:rgba(232,240,252,.62);
  font-size:.68rem;
  text-transform:uppercase;
  letter-spacing:.06em;
}
body[data-page="home"] .settings-schedule-history__note{
  margin:0 0 9px;
  color:rgba(232,240,252,.66);
  font-size:.72rem;
  line-height:1.5;
}
body[data-page="home"] .settings-schedule-history__preserved{
  color:rgba(232,240,252,.5);
  font-size:.66rem;
  font-weight:750;
  letter-spacing:.05em;
  text-transform:uppercase;
}
body[data-page="home"] .settings-schedule-history li.is-historical{
  border-color:rgba(174,200,233,.13);
  background:rgba(255,255,255,.025);
}
body[data-page="home"] .settings-schedule-history li.is-historical > span,
body[data-page="home"] .settings-schedule-history li.is-historical > strong{
  opacity:.78;
}
body[data-page="home"] .settings-schedule-week-grid__cell.is-historical,
body[data-page="home"] .settings-schedule-slot.is-historical{
  filter:saturate(.48);
  opacity:.78;
}
body[data-page="home"] .settings-schedule-slot.has-session small{
  display:block;
  color:#f4d38a;
  font-size:.56rem;
  font-weight:850;
  text-transform:none;
}
body[data-page="home"] .settings-schedule-slot.has-session span{
  font-size:.76rem;
}
@media (max-width:760px){
  body[data-page="home"] .settings-schedule-sessions li{
    grid-template-columns:1fr;
    gap:3px;
  }
}

/* r9034 — schedule refresh, session markers, and centered day heading */
body[data-page="home"] .settings-schedule-day-panel__head{
  position:relative;
  justify-content:center;
  min-height:42px;
  text-align:center;
}
body[data-page="home"] .settings-schedule-day-panel__head > div{
  margin-inline:auto;
  text-align:center;
}
body[data-page="home"] .settings-schedule-day-panel__head .settings-schedule-pill{
  position:absolute;
  right:0;
  top:50%;
  transform:translateY(-50%);
}
body[data-page="home"] .settings-schedule-day.has-session{
  position:relative;
  grid-template-rows:auto auto;
  align-content:center;
  gap:2px;
  padding-top:7px;
  padding-bottom:6px;
}
body[data-page="home"] .settings-schedule-day.has-session .settings-schedule-day__num{
  font-size:.82rem;
  line-height:1;
}
body[data-page="home"] .settings-schedule-day__dot{
  position:absolute;
  top:6px;
  right:6px;
  width:6px;
  height:6px;
  border-radius:999px;
  background:#f4d38a;
  box-shadow:0 0 0 2px rgba(244,211,138,.14), 0 0 10px rgba(244,211,138,.35);
}
body[data-page="home"] .settings-schedule-day__time{
  display:block;
  color:#f4d38a;
  font-size:.57rem;
  font-weight:850;
  line-height:1;
  letter-spacing:.01em;
}
body[data-page="home"] .settings-schedule-sessions__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin:0 0 8px;
}
body[data-page="home"] .settings-schedule-sessions.is-collapsed .settings-schedule-sessions__head{
  margin-bottom:0;
}
body[data-page="home"] .settings-schedule-sessions__toggle{
  flex:1 1 auto;
  min-width:0;
  display:flex;
  align-items:center;
  gap:8px;
  border:0;
  background:transparent;
  color:rgba(232,214,164,.90);
  padding:0;
  font:inherit;
  text-align:left;
  cursor:pointer;
}
body[data-page="home"] .settings-schedule-sessions__toggle span{
  font-size:.86rem;
  font-weight:800;
  letter-spacing:.01em;
  text-transform:none;
}
body[data-page="home"] .settings-schedule-sessions__toggle em{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:24px;
  min-height:22px;
  padding:0 .45rem;
  border-radius:999px;
  border:1px solid rgba(232,214,164,.20);
  background:rgba(232,214,164,.065);
  color:rgba(232,214,164,.90);
  font-size:.68rem;
  font-style:normal;
  font-weight:850;
  line-height:1;
}
body[data-page="home"] .settings-schedule-sessions__toggle b{
  display:inline-block;
  color:rgba(232,214,164,.72);
  font-size:.75rem;
  transform:rotate(-90deg);
  transition:transform .18s ease;
}
body[data-page="home"] .settings-schedule-sessions.is-open .settings-schedule-sessions__toggle b{
  transform:rotate(0deg);
}
body[data-page="home"] .settings-schedule-sessions__body[hidden]{
  display:none !important;
}
body[data-page="home"] .settings-schedule-sessions__head h4{
  margin:0;
}
body[data-page="home"] .settings-schedule-refresh{
  min-height:28px;
  padding:.28rem .58rem;
  font-size:.68rem;
  white-space:nowrap;
}
body[data-page="home"] .settings-schedule-sessions__empty{
  margin:0;
  padding:8px 0 0;
}
@media (max-width:760px){
  body[data-page="home"] .settings-schedule-day-panel__head{
    display:grid;
    gap:5px;
    justify-items:center;
    padding-right:0;
  }
  body[data-page="home"] .settings-schedule-day-panel__head .settings-schedule-pill{
    position:static;
    transform:none;
  }
  body[data-page="home"] .settings-schedule-day.has-session .settings-schedule-day__num{
    font-size:.76rem;
  }
  body[data-page="home"] .settings-schedule-day__time{
    font-size:.52rem;
  }
  body[data-page="home"] .settings-schedule-day__dot{
    top:5px;
    right:5px;
    width:5px;
    height:5px;
  }
  body[data-page="home"] .settings-schedule-sessions__head{
    align-items:center;
  }
}

/* r9037 — admin schedule calendar stays clean; client names live in day slots */
body[data-page="home"] .settings-schedule-slot.is-admin-session{
  opacity:.86;
  border-color:rgba(244,211,138,.30);
  background:linear-gradient(150deg, rgba(244,211,138,.12), rgba(6,18,34,.54));
}
body[data-page="home"] .settings-schedule-slot.is-admin-session small{
  display:block;
  max-width:100%;
  color:#f4d38a;
  font-size:.56rem;
  line-height:1.08;
  font-weight:850;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  text-transform:none;
}
body[data-page="home"] .settings-schedule-slot.is-admin-session span{
  font-size:.72rem;
  line-height:1;
}
@media (max-width:760px){
  body[data-page="home"] .settings-schedule-slot.is-admin-session small{
    font-size:.54rem;
  }
  body[data-page="home"] .settings-schedule-slot.is-admin-session span{
    font-size:.70rem;
  }
}

/* r9049/r9052 — RO Universe consolidated root repair
   Root cause: Universe group summaries had inherited SO section/toggle structure while RO CSS also generated its own arrow.
   Consolidates the later compact remove-button hue and mobile label sizing here so RO Universe has one owner block. */
body[data-page="home"] .rss-shell-layer .rss-universe-group.rss-ro-section{
  border-color:rgba(159,202,255,.08) !important;
  background:rgba(255,255,255,.016) !important;
  border-radius:16px !important;
  overflow:hidden !important;
}
body[data-page="home"] .rss-shell-layer .rss-universe-group > summary.rss-universe-group__summary{
  list-style:none !important;
  position:relative !important;
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto 36px !important;
  grid-template-areas:"title items arrow" !important;
  align-items:center !important;
  gap:8px 10px !important;
  min-height:0 !important;
  padding:10px 12px !important;
  margin:0 !important;
  background:linear-gradient(90deg, rgba(110,198,255,.040), transparent 44%) !important;
  cursor:pointer !important;
}
body[data-page="home"] .rss-shell-layer .rss-universe-group > summary.rss-universe-group__summary::-webkit-details-marker{
  display:none !important;
}
body[data-page="home"] .rss-shell-layer .rss-universe-group > summary.rss-universe-group__summary::marker{
  content:"" !important;
}
body[data-page="home"] .rss-shell-layer .rss-universe-group > summary.rss-universe-group__summary::after{
  content:"▸" !important;
  grid-area:arrow !important;
  width:32px !important;
  height:32px !important;
  border-radius:999px !important;
  display:grid !important;
  place-items:center !important;
  justify-self:end !important;
  align-self:center !important;
  color:rgba(209,225,238,.78) !important;
  border:1px solid rgba(214,229,248,.09) !important;
  background:rgba(255,255,255,.024) !important;
  box-shadow:none !important;
  transform:rotate(0deg) !important;
  transition:transform .18s ease,border-color .18s ease,background .18s ease !important;
  font-size:.86rem !important;
  line-height:1 !important;
}
body[data-page="home"] .rss-shell-layer .rss-universe-group[open] > summary.rss-universe-group__summary::after{
  transform:rotate(90deg) !important;
}
body[data-page="home"] .rss-shell-layer .rss-universe-group__summary .settings-section-toggle,
body[data-page="home"] .rss-shell-layer .rss-universe-group__summary .rss-ro-section__toggle{
  display:none !important;
}
body[data-page="home"] .rss-shell-layer .rss-universe-group__title{
  grid-area:title !important;
  display:grid !important;
  grid-template-columns:minmax(0,1fr) !important;
  gap:4px !important;
  align-items:center !important;
  align-content:center !important;
  min-width:0 !important;
  margin:0 !important;
  color:inherit !important;
}
body[data-page="home"] .rss-shell-layer .rss-universe-group__title h3{
  margin:0 !important;
  padding:0 !important;
  color:rgba(232,214,164,.93) !important;
  text-shadow:0 0 14px rgba(232,214,164,.08) !important;
  font-size:.94rem !important;
  line-height:1.12 !important;
  font-weight:760 !important;
  letter-spacing:-.008em !important;
  white-space:normal !important;
  overflow:visible !important;
  text-overflow:clip !important;
}
body[data-page="home"] .rss-shell-layer .rss-universe-group__meta{
  margin:0 !important;
  color:rgba(196,215,231,.62) !important;
  font-size:.68rem !important;
  line-height:1.15 !important;
  font-weight:600 !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}
body[data-page="home"] .rss-shell-layer .rss-universe-group__summary > .rss-pill{
  grid-area:items !important;
  justify-self:end !important;
  align-self:center !important;
  max-width:100% !important;
  min-height:24px !important;
  padding:3px 8px !important;
  color:rgba(196,215,231,.64) !important;
  border-color:rgba(255,255,255,.050) !important;
  background:rgba(255,255,255,.014) !important;
  font-size:.66rem !important;
  line-height:1 !important;
}
body[data-page="home"] .rss-shell-layer .rss-universe-group__rows{
  gap:7px !important;
  padding:0 12px 12px !important;
}
body[data-page="home"] .rss-shell-layer .rss-universe-row{
  padding:9px 10px !important;
}
body[data-page="home"] .rss-shell-layer .rss-create-source-btn.is-remove{
  min-width:30px !important;
  width:30px !important;
  height:28px !important;
  padding:0 !important;
  border-radius:999px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  font-size:1.05rem !important;
  line-height:1 !important;
  letter-spacing:0 !important;
  text-transform:none !important;
  color:#f4d38a !important;
  border-color:rgba(244,211,138,.44) !important;
  background:rgba(244,211,138,.11) !important;
}
body[data-page="home"] .rss-shell-layer .rss-create-source-btn.is-remove:hover,
body[data-page="home"] .rss-shell-layer .rss-create-source-btn.is-remove:focus-visible{
  color:#f4d38a !important;
  border-color:rgba(244,211,138,.56) !important;
  background:rgba(244,211,138,.18) !important;
}
@media (max-width:760px){
  body[data-page="home"] .rss-shell-layer .rss-universe-group > summary.rss-universe-group__summary{
    grid-template-columns:minmax(0,1fr) 34px !important;
    grid-template-areas:
      "title arrow"
      "items arrow" !important;
    gap:7px 9px !important;
    padding:11px 11px !important;
  }
  body[data-page="home"] .rss-shell-layer .rss-universe-group > summary.rss-universe-group__summary::after{
    width:32px !important;
    height:32px !important;
  }
  body[data-page="home"] .rss-shell-layer .rss-universe-group__summary > .rss-pill{
    justify-self:start !important;
  }
  body[data-page="home"] .rss-shell-layer .rss-universe-group__title{
    gap:5px !important;
  }
  body[data-page="home"] .rss-shell-layer .rss-universe-group__title h3{
    font-size:.90rem !important;
    line-height:1.16 !important;
    letter-spacing:.006em !important;
  }
  body[data-page="home"] .rss-shell-layer .rss-universe-row{
    padding:8px 9px !important;
  }
  body[data-page="home"] .rss-shell-layer .rss-universe-row__name{
    font-size:.79rem !important;
    line-height:1.20 !important;
  }
  body[data-page="home"] .rss-shell-layer .rss-universe-row__meta,
  body[data-page="home"] .rss-shell-layer .rss-universe-row__hint{
    font-size:.65rem !important;
    line-height:1.24 !important;
  }
  body[data-page="home"] .rss-shell-layer .rss-universe-row__state .rss-pill,
  body[data-page="home"] .rss-shell-layer .rss-universe-row__state .rss-create-source-btn{
    font-size:.63rem !important;
  }
}

body[data-page="home"] .home-session-badge{
  padding:4px 6px 4px 11px !important;
  gap:7px !important;
  min-height:0 !important;
  border-color:rgba(159,202,255,.085) !important;
  background:linear-gradient(115deg, rgba(18,34,52,.30), rgba(7,18,33,.48)) !important;
  box-shadow:0 7px 16px rgba(0,0,0,.13), inset 0 1px 0 rgba(255,255,255,.028) !important;
  color:rgba(213,226,239,.76) !important;
  cursor:pointer !important;
  user-select:none;
  transition:border-color .16s ease, background .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease;
}
body[data-page="home"] .home-session-badge:hover,
body[data-page="home"] .home-session-badge:focus-visible{
  border-color:rgba(244,211,138,.26) !important;
  background:linear-gradient(115deg, rgba(244,211,138,.095), rgba(18,34,52,.36) 52%, rgba(7,18,33,.54)) !important;
  color:rgba(237,244,252,.90) !important;
  box-shadow:0 9px 20px rgba(0,0,0,.18), 0 0 0 1px rgba(244,211,138,.08), inset 0 1px 0 rgba(255,255,255,.04) !important;
  outline:none;
}
body[data-page="home"] .home-session-badge:active{
  transform:translateY(1px);
}
body[data-page="home"] .home-session-badge strong{
  max-width:160px !important;
  color:rgba(219,230,240,.74) !important;
  font-size:.70rem !important;
  line-height:1.05 !important;
  font-weight:730 !important;
  letter-spacing:.002em !important;
}
body[data-page="home"] .home-session-badge .settings-user-avatar--tiny{
  width:24px !important;
  height:24px !important;
  flex-basis:24px !important;
  font-size:.56rem !important;
  border-color:rgba(159,202,255,.16) !important;
  background:radial-gradient(circle at 32% 24%, rgba(159,202,255,.18), rgba(31,62,100,.22) 45%, rgba(6,18,34,.64)) !important;
  color:rgba(222,234,244,.78) !important;
  box-shadow:0 6px 14px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.045) !important;
}

/* r10425B — public sign-in badge format polish */
body[data-page="home"] .home-session-badge.is-public-login{
  max-width:none !important;
  min-width:174px !important;
  padding:7px 14px !important;
  justify-content:center !important;
  gap:0 !important;
  border-color:rgba(244,211,138,.20) !important;
  background:linear-gradient(115deg, rgba(244,211,138,.10), rgba(18,34,52,.42) 52%, rgba(7,18,33,.58)) !important;
  color:rgba(237,244,252,.90) !important;
}
body[data-page="home"] .home-session-badge.is-public-login:hover,
body[data-page="home"] .home-session-badge.is-public-login:focus-visible{
  border-color:rgba(244,211,138,.34) !important;
  background:linear-gradient(115deg, rgba(244,211,138,.14), rgba(18,34,52,.46) 52%, rgba(7,18,33,.62)) !important;
}
body[data-page="home"] .home-session-badge.is-public-login .home-session-badge__text--login{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:10px !important;
  max-width:none !important;
  min-width:0 !important;
  text-align:left !important;
  white-space:nowrap !important;
  line-height:1 !important;
}
body[data-page="home"] .home-session-badge.is-public-login .home-session-badge__text--login em{
  display:inline-flex !important;
  align-items:center !important;
  color:rgba(244,211,138,.92) !important;
  font-size:.66rem !important;
  font-style:normal !important;
  font-weight:850 !important;
  letter-spacing:.11em !important;
  line-height:1 !important;
  text-transform:uppercase !important;
}
body[data-page="home"] .home-session-badge.is-public-login .home-session-badge__text--login strong{
  display:inline-flex !important;
  align-items:center !important;
  gap:4px !important;
  max-width:none !important;
  padding-left:10px !important;
  border-left:1px solid rgba(244,211,138,.24) !important;
  color:rgba(237,244,252,.90) !important;
  font-size:.75rem !important;
  font-weight:780 !important;
  letter-spacing:.01em !important;
  line-height:1 !important;
  white-space:nowrap !important;
}
body[data-page="home"] .home-session-badge.is-public-login .home-session-badge__text--login strong::after{
  content:"›";
  color:rgba(244,211,138,.78);
  font-size:.92rem;
  line-height:.7;
  transform:translateY(-.5px);
}

/* r9050/r9051/r9093/r9095 — dashboard action icons + mobile ribbon card transparency */
body[data-page="home"] .ccr-client-dashboard-settings-row .settings-mini-actions{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:7px !important;
  flex-wrap:nowrap !important;
  width:auto !important;
}

body[data-page="home"] .ccr-client-dashboard-settings-row .settings-mini-actions .ccr-client-dashboard-icon-action{
  min-width:32px !important;
  width:32px !important;
  max-width:32px !important;
  height:30px !important;
  min-height:30px !important;
  padding:0 !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  border-radius:999px !important;
  font-size:.98rem !important;
  line-height:1 !important;
  letter-spacing:0 !important;
  text-transform:none !important;
}

body[data-page="home"] .ccr-client-dashboard-settings-row .settings-mini-actions .ccr-client-dashboard-icon-action span{
  display:block;
  transform:translateY(-.5px);
}

@media (max-width:760px){
  body[data-page="home"] .ccr-intelligence-ribbon__cards > .top-card,
  body[data-page="home"] .ccr-intelligence-ribbon__rss-card{
    background:transparent !important;
    border-color:rgba(216,230,255,.085) !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.014),0 8px 18px rgba(0,0,0,.095) !important;
    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;
  }

  body[data-page="home"] .ccr-intelligence-ribbon__rss-body,
  body[data-page="home"] .ccr-intelligence-ribbon__ccr-body{
    background:transparent !important;
  }
}


/* r9123 — SO Ticker Manager search relocation
   Search now belongs to Available Indicators only; keep the input visually inside that block
   and avoid relying on the old manager-heading search row for spacing. */
body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-search-row--indicator-universe{
  margin:0 0 10px !important;
}
body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-search--indicator-universe{
  display:block !important;
  width:100% !important;
}
body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-indicator-results{
  display:block;
}

@media (max-width:760px){
  body[data-page="home"] .settings-shell-section[data-settings-section="manager"] .settings-manager-block[data-settings-manager-block="indicatorUniverse"] .settings-search-row--indicator-universe{
    margin:0 0 8px !important;
  }
}

/* r9132 — RSS archive buttons + compact intelligence search tools */
@media (min-width:761px){
  body[data-page="home"] .ccr-intelligence-ribbon__tools{
    flex:0 1 auto;
    margin-left:auto;
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:8px;
    min-width:0;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__search{
    flex:0 1 260px !important;
    max-width:min(28vw,300px) !important;
    margin-left:0 !important;
    grid-template-columns:minmax(122px,1fr) auto !important;
    gap:6px !important;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__search input{
    min-height:29px !important;
    height:29px !important;
    padding:4px 11px !important;
    font-size:.76rem !important;
    font-weight:600 !important;
    background:rgba(5,12,22,.20) !important;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__search button:not(.ccr-ribbon-invite-friend-btn):not(.ccr-intelligence-ribbon__archive-open){
    min-height:29px !important;
    height:29px !important;
    padding:4px 9px !important;
    border-color:rgba(255,255,255,.090) !important;
    background:rgba(255,255,255,.032) !important;
    color:rgba(238,244,250,.74) !important;
    font-size:.68rem !important;
    letter-spacing:.035em !important;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__archive-open{
    flex:0 0 auto;
    min-height:29px;
    border-radius:999px;
    border:1px solid rgba(233,202,136,.18);
    background:rgba(233,202,136,.055);
    color:rgba(240,222,171,.86);
    padding:4px 11px;
    font:800 .69rem/1 var(--font-body,Inter,system-ui,sans-serif);
    letter-spacing:.035em;
    text-transform:uppercase;
    cursor:pointer;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
  }
  body[data-page="home"] .ccr-intelligence-ribbon__archive-open:hover,
  body[data-page="home"] .ccr-intelligence-ribbon__archive-open:focus-visible{
    border-color:rgba(233,202,136,.34);
    background:rgba(233,202,136,.10);
    color:rgba(255,244,214,.96);
  }
}
@media (max-width:760px){
  body[data-page="home"] .ccr-intelligence-ribbon__tools{
    display:none !important;
  }
}
body[data-page="home"] .ccr-intelligence-ribbon__rss-actions{
  margin-top:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-width:0;
}
body[data-page="home"] .ccr-intelligence-ribbon__rss-actions .ccr-intelligence-ribbon__rss-link{
  margin-top:0 !important;
  min-width:0;
}
body[data-page="home"] .ccr-intelligence-ribbon__rss-archive-btn{
  flex:0 0 auto;
  border:1px solid rgba(233,202,136,.18);
  border-radius:999px;
  background:rgba(233,202,136,.055);
  color:rgba(240,222,171,.84);
  padding:5px 9px;
  font:800 .66rem/1 var(--font-body,Inter,system-ui,sans-serif);
  letter-spacing:.035em;
  text-transform:uppercase;
  cursor:pointer;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03);
}
body[data-page="home"] .ccr-intelligence-ribbon__rss-archive-btn:hover,
body[data-page="home"] .ccr-intelligence-ribbon__rss-archive-btn:focus-visible{
  border-color:rgba(233,202,136,.34);
  background:rgba(233,202,136,.10);
  color:rgba(255,244,214,.96);
}
body[data-page="home"] .ccr-intelligence-ribbon__rss-archive-btn:disabled,
body[data-page="home"] .ccr-intelligence-ribbon__rss-archive-btn.is-archived{
  cursor:default;
  border-color:rgba(180,198,218,.11);
  background:rgba(255,255,255,.035);
  color:rgba(205,218,234,.62);
}
body[data-page="home"] .ccr-intelligence-ribbon__rss-card.is-archived{
  border-color:rgba(233,202,136,.12);
}
body.rss-archive-overlay-open{
  overflow:hidden;
}
.rss-archive-overlay[hidden]{
  display:none !important;
}
.rss-archive-overlay{
  position:fixed;
  inset:0;
  z-index:2620;
  display:grid;
  place-items:center;
  padding:clamp(16px,2.4vw,34px);
}
.rss-archive-overlay__shade{
  position:absolute;
  inset:0;
  background:rgba(5,10,18,.060);
  backdrop-filter:blur(3px) saturate(1.01);
  -webkit-backdrop-filter:blur(3px) saturate(1.01);
}
.rss-archive-overlay__panel{
  position:relative;
  z-index:1;
  width:min(1360px,100%);
  height:min(90svh,1040px);
  max-height:min(90svh,1040px);
  overflow:auto;
  border:1px solid rgba(214,229,248,.056);
  border-radius:28px;
  background:
    radial-gradient(circle at 18% 0%, rgba(124,160,205,.020), transparent 34%),
    linear-gradient(180deg, rgba(24,36,50,.26), rgba(8,14,23,.18));
  box-shadow:0 14px 42px rgba(0,0,0,.15), inset 0 1px 0 rgba(255,255,255,.018);
  color:rgba(242,246,250,.94);
  padding:clamp(16px,2.2vw,28px);
  backdrop-filter:blur(8px) saturate(1.03);
  -webkit-backdrop-filter:blur(8px) saturate(1.03);
}
.rss-archive-overlay__panel::-webkit-scrollbar{width:10px;}
.rss-archive-overlay__panel::-webkit-scrollbar-track{background:rgba(255,255,255,.035);border-radius:999px;}
.rss-archive-overlay__panel::-webkit-scrollbar-thumb{background:rgba(235,214,169,.24);border-radius:999px;border:2px solid rgba(8,14,24,.58);}
.rss-archive-overlay__head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:18px;
  margin-bottom:14px;
}
.rss-archive-overlay__head p{
  margin:0 0 5px;
  color:rgba(232,214,164,.82);
  font-size:.76rem;
  font-weight:800;
  letter-spacing:.10em;
  text-transform:uppercase;
}
.rss-archive-overlay__head h2{
  margin:0;
  color:rgba(255,247,237,.98);
  font-size:clamp(1.35rem,2.2vw,2.2rem);
  line-height:1.1;
  letter-spacing:-.035em;
}
.rss-archive-overlay__summary{
  margin-top:8px;
  color:rgba(218,230,244,.76);
  font-size:.88rem;
  line-height:1.45;
}
.rss-archive-overlay__close{
  flex:0 0 auto;
  width:40px;
  height:40px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.15);
  background:rgba(255,255,255,.075);
  color:rgba(255,255,255,.93);
  font-size:26px;
  line-height:1;
  cursor:pointer;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
}
.rss-archive-overlay__close:hover,
.rss-archive-overlay__close:focus-visible{
  border-color:rgba(244,211,138,.28);
  background:rgba(244,211,138,.105);
}
.rss-archive-overlay__folders{
  margin:0 0 16px;
  padding:10px;
  border:1px solid rgba(255,255,255,.040);
  border-radius:20px;
  background:linear-gradient(180deg, rgba(255,255,255,.014), rgba(255,255,255,.006));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.016);
}
.rss-archive-folder-strip{
  display:flex;
  align-items:stretch;
  gap:10px;
  overflow-x:auto;
  padding:2px 2px 8px;
  scrollbar-width:thin;
  scrollbar-color:rgba(233,202,136,.32) rgba(255,255,255,.04);
}
.rss-archive-folder-strip::-webkit-scrollbar{height:8px;}
.rss-archive-folder-strip::-webkit-scrollbar-track{background:rgba(255,255,255,.035);border-radius:999px;}
.rss-archive-folder-strip::-webkit-scrollbar-thumb{background:rgba(233,202,136,.30);border-radius:999px;}
.rss-archive-folder-chip-wrap{
  position:relative;
  flex:0 0 auto;
  display:inline-flex;
}
.rss-archive-folder-chip-wrap .rss-archive-folder-chip{
  width:100%;
}
.rss-archive-folder-delete{
  position:absolute;
  z-index:6;
  top:8px;
  left:8px;
  width:18px;
  height:18px;
  display:none;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  border:1px solid rgba(255,124,124,.66);
  background:linear-gradient(180deg,rgba(214,62,70,.96),rgba(122,23,34,.94));
  color:rgba(255,248,248,.98);
  font:900 12px/1 var(--font-body,Inter,system-ui,sans-serif);
  cursor:pointer;
  text-shadow:0 1px 2px rgba(0,0,0,.32);
  box-shadow:0 4px 12px rgba(100,10,22,.36), inset 0 1px 0 rgba(255,255,255,.20);
  transition:background .16s ease,border-color .16s ease,color .16s ease,transform .16s ease,box-shadow .16s ease;
}
.rss-archive-folder-delete:hover,
.rss-archive-folder-delete:focus-visible{
  border-color:rgba(255,176,176,.86);
  background:linear-gradient(180deg,rgba(238,75,84,.99),rgba(148,26,42,.96));
  color:rgba(255,255,255,.99);
  transform:translateY(-1px) scale(1.06);
  box-shadow:0 6px 16px rgba(118,12,27,.44), inset 0 1px 0 rgba(255,255,255,.24);
}
.rss-archive-folder-chip-wrap .rss-archive-folder-chip b{
  left:auto;
  right:7px;
}
@media (hover:hover) and (pointer:fine){
  .rss-archive-folder-delete{display:inline-flex;}
}
.rss-archive-folder-chip{
  flex:0 0 auto;
  position:relative;
  display:inline-flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-width:96px;
  min-height:82px;
  border:1px solid rgba(255,255,255,.040);
  border-radius:18px;
  background:linear-gradient(180deg,rgba(255,255,255,.018),rgba(255,255,255,.007));
  color:rgba(232,240,251,.84);
  padding:10px 12px 9px;
  font:800 .71rem/1.1 var(--font-body,Inter,system-ui,sans-serif);
  letter-spacing:.025em;
  cursor:pointer;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.016),0 10px 22px rgba(0,0,0,.10);
  transition:background .16s ease,border-color .16s ease,transform .16s ease,color .16s ease,box-shadow .16s ease;
}
.rss-archive-folder-chip__icon{
  position:relative;
  display:block;
  width:46px;
  height:34px;
  flex:0 0 auto;
  filter:drop-shadow(0 5px 10px rgba(0,0,0,.22));
}
.rss-archive-folder-chip__icon::before,
.rss-archive-folder-chip__icon::after{
  content:"";
  position:absolute;
  left:0;
  display:block;
  border:1px solid rgba(159,202,255,.090);
  background:linear-gradient(180deg,rgba(150,183,221,.30),rgba(72,101,132,.18));
}
.rss-archive-folder-chip__icon::before{
  top:10px;
  width:46px;
  height:24px;
  border-radius:7px 7px 8px 8px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.070);
}
.rss-archive-folder-chip__icon::after{
  top:2px;
  width:24px;
  height:13px;
  border-radius:7px 7px 2px 2px;
  border-bottom:0;
}
.rss-archive-folder-chip__label{
  display:block;
  max-width:116px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  text-align:center;
}
.rss-archive-folder-chip b{
  position:absolute;
  top:7px;
  right:7px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:21px;
  height:21px;
  padding:0 6px;
  border-radius:999px;
  background:rgba(5,14,27,.52);
  color:rgba(255,232,172,.96);
  font-size:.64rem;
  font-weight:900;
  box-shadow:0 4px 10px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.08);
}
.rss-archive-folder-chip:hover,
.rss-archive-folder-chip:focus-visible,
.rss-archive-folder-chip.is-drag-over{
  border-color:rgba(232,214,164,.16);
  background:rgba(232,214,164,.055);
  color:rgba(255,247,224,.97);
}
.rss-archive-folder-chip.is-drag-over{
  transform:translateY(-1px) scale(1.015);
  box-shadow:0 10px 24px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.06);
}
.rss-archive-folder-chip.is-active{
  border-color:rgba(232,214,164,.28);
  background:linear-gradient(180deg,rgba(232,214,164,.095),rgba(232,214,164,.038));
  color:rgba(255,247,224,.99);
}
.rss-archive-folder-chip--add{
  min-width:82px;
  color:rgba(244,211,138,.98);
}
.rss-archive-folder-chip--add .rss-archive-folder-chip__icon::before,
.rss-archive-folder-chip--add .rss-archive-folder-chip__icon::after{
  background:linear-gradient(180deg,rgba(244,211,138,.24),rgba(244,211,138,.060));
  border-color:rgba(244,211,138,.36);
}
.rss-archive-folder-chip--add .rss-archive-folder-chip__label{
  font-size:1.28rem;
  line-height:1;
}
.rss-archive-folder-chip--public .rss-archive-folder-chip__icon::before,
.rss-archive-folder-chip--public .rss-archive-folder-chip__icon::after{
  background:linear-gradient(180deg,rgba(232,214,164,.56),rgba(153,137,93,.28));
  border-color:rgba(255,238,188,.24);
}
.rss-archive-folder-chip--public{
  border-color:rgba(232,214,164,.16);
}
.rss-archive-folder-chip--public.is-active{
  border-color:rgba(232,214,164,.54);
  box-shadow:0 12px 26px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.07);
}
.rss-archive-folder-chip--main{
  border-color:rgba(139,190,235,.14);
  background:linear-gradient(180deg,rgba(139,190,235,.050),rgba(139,190,235,.018));
}
.rss-archive-folder-chip--main .rss-archive-folder-chip__icon::before,
.rss-archive-folder-chip--main .rss-archive-folder-chip__icon::after{
  background:linear-gradient(180deg,rgba(139,190,235,.42),rgba(63,94,128,.24));
  border-color:rgba(159,202,255,.18);
}
.rss-archive-folder-chip--main.is-active{
  border-color:rgba(139,190,235,.28);
  background:linear-gradient(180deg,rgba(139,190,235,.090),rgba(139,190,235,.034));
}
.rss-archive-card--public{
  border-color:rgba(232,214,164,.14) !important;
}
.rss-archive-card__public-meta,
.rss-archive-card__locked{
  display:inline-flex;
  width:max-content;
  max-width:100%;
  margin-top:6px;
  padding:4px 8px;
  border-radius:999px;
  border:1px solid rgba(232,214,164,.14);
  background:rgba(232,214,164,.055);
  color:rgba(232,214,164,.84);
  font-size:.69rem;
  font-weight:850;
  letter-spacing:.035em;
}
.rss-archive-move-option small{
  display:block;
  margin-top:3px;
  color:rgba(205,218,234,.62);
  font-size:.70rem;
  font-weight:650;
}
.rss-archive-move-option--public{
  border-color:rgba(232,214,164,.18);
  background:rgba(232,214,164,.065);
}
.rss-archive-overlay__status{
  margin:0 0 12px;
  padding:9px 12px;
  border:1px solid rgba(139,216,175,.20);
  border-radius:14px;
  background:rgba(56,142,96,.11);
  color:rgba(208,246,224,.86);
  font-size:.82rem;
  font-weight:700;
}
.rss-archive-overlay__grid{
  display:block;
  columns:3 310px;
  column-gap:16px;
}
.rss-archive-overlay__grid > .ccr-intelligence-ribbon__rss-card{
  height:auto;
  min-width:0;
  width:100%;
  display:flex;
  margin:0 0 16px;
  break-inside:avoid;
  page-break-inside:avoid;
  -webkit-column-break-inside:avoid;
  background:linear-gradient(180deg,rgba(255,255,255,.014),rgba(255,255,255,.006)) !important;
  border-color:rgba(255,255,255,.040) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.016),0 12px 28px rgba(0,0,0,.10) !important;
  cursor:grab;
}
.rss-archive-overlay__grid > .ccr-intelligence-ribbon__rss-card.is-dragging{
  opacity:.62;
  cursor:grabbing;
}
.rss-archive-card__button-row{
  display:inline-flex;
  align-items:center;
  justify-content:flex-end;
  gap:6px;
  flex-wrap:wrap;
}
.rss-archive-card__move{
  border-color:rgba(139,190,235,.18) !important;
  background:rgba(139,190,235,.06) !important;
  color:rgba(214,234,252,.86) !important;
}
.rss-archive-overlay__empty{
  display:block;
  padding:24px;
  border:1px dashed rgba(183,203,232,.18);
  border-radius:20px;
  background:rgba(7,16,24,.22);
  color:rgba(219,230,247,.76);
  text-align:center;
}
.rss-archive-overlay__modal{
  position:absolute;
  z-index:2;
  inset:0;
  display:grid;
  place-items:center;
  padding:18px;
  background:rgba(5,10,18,.18);
  backdrop-filter:blur(5px);
  -webkit-backdrop-filter:blur(5px);
}
.rss-archive-overlay__modal-card{
  width:min(430px,100%);
  border:1px solid rgba(244,211,138,.20);
  border-radius:22px;
  background:linear-gradient(180deg,rgba(24,36,50,.56),rgba(8,14,23,.46));
  color:rgba(242,246,250,.94);
  padding:18px;
  box-shadow:0 18px 54px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.035);
}
.rss-archive-overlay__modal-card p{
  margin:0 0 5px;
  color:rgba(233,202,136,.88);
  font-size:.72rem;
  font-weight:900;
  letter-spacing:.10em;
  text-transform:uppercase;
}
.rss-archive-overlay__modal-card h3{
  margin:0 0 14px;
  font-size:1.18rem;
  letter-spacing:-.025em;
}
.rss-archive-overlay__modal-card label{
  display:grid;
  gap:7px;
  color:rgba(220,232,246,.80);
  font-size:.82rem;
  font-weight:800;
}
.rss-archive-overlay__modal-card input{
  width:100%;
  border:1px solid rgba(255,255,255,.13);
  border-radius:14px;
  background:rgba(255,255,255,.035);
  color:rgba(255,255,255,.95);
  padding:10px 12px;
  font:600 .92rem/1.2 var(--font-body,Inter,system-ui,sans-serif);
}
.rss-archive-overlay__modal-error{
  margin-top:10px;
  color:rgba(255,190,190,.92);
  font-size:.82rem;
  font-weight:700;
}
.rss-archive-overlay__modal-actions{
  display:flex;
  justify-content:flex-end;
  gap:8px;
  margin-top:16px;
}
.rss-archive-overlay__modal-story{
  margin:0 0 12px;
  padding:10px 12px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:14px;
  background:rgba(255,255,255,.045);
  color:rgba(230,239,250,.88);
  font-size:.86rem;
  line-height:1.35;
}
.rss-archive-overlay__modal-card--confirm{
  border-color:rgba(255,118,118,.24);
  background:linear-gradient(180deg,rgba(25,37,51,.60),rgba(9,15,24,.50));
}
.rss-archive-overlay__modal-card--confirm h3{
  color:rgba(255,238,211,.96);
}
.rss-archive-overlay__modal--confirm .rss-archive-overlay__modal-story{
  border-color:rgba(255,118,118,.18);
  background:rgba(120,30,38,.12);
}
.rss-archive-overlay__danger-btn{
  border-color:rgba(255,126,126,.38) !important;
  background:linear-gradient(180deg,rgba(202,64,64,.86),rgba(128,32,42,.82)) !important;
  color:rgba(255,255,255,.98) !important;
}
.rss-archive-overlay__danger-btn:hover,
.rss-archive-overlay__danger-btn:focus-visible{
  border-color:rgba(255,170,170,.62) !important;
  background:linear-gradient(180deg,rgba(228,76,76,.94),rgba(150,33,45,.90)) !important;
}
.rss-archive-move-options{
  display:grid;
  gap:7px;
  max-height:280px;
  overflow:auto;
  padding-right:2px;
}
.rss-archive-move-option{
  width:100%;
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  background:rgba(255,255,255,.026);
  color:rgba(234,242,252,.91);
  padding:10px 12px;
  text-align:left;
  font:800 .84rem/1.2 var(--font-body,Inter,system-ui,sans-serif);
  cursor:pointer;
}
.rss-archive-move-option:hover,
.rss-archive-move-option:focus-visible{
  border-color:rgba(244,211,138,.30);
  background:rgba(244,211,138,.10);
}
@media (max-width:1120px){
  .rss-archive-overlay__grid{columns:2 300px;}
}
@media (max-width:760px){
  .rss-archive-overlay{padding:12px;}
  .rss-archive-overlay__panel{border-radius:22px;height:auto;max-height:91svh;padding:14px;}
  .rss-archive-overlay__head{gap:12px;margin-bottom:12px;}
  .rss-archive-overlay__grid{columns:1 260px;}
  .rss-archive-overlay__folders{padding:8px;border-radius:17px;}
  .rss-archive-folder-strip{gap:8px;}
  .rss-archive-folder-chip{min-width:78px;min-height:70px;padding:8px 9px 7px;font-size:.66rem;border-radius:16px;}
  .rss-archive-folder-chip__icon{width:38px;height:29px;}
  .rss-archive-folder-chip__icon::before{top:9px;width:38px;height:20px;border-radius:6px 6px 7px 7px;}
  .rss-archive-folder-chip__icon::after{top:2px;width:20px;height:11px;border-radius:6px 6px 2px 2px;}
  .rss-archive-folder-chip__label{max-width:84px;}
  .rss-archive-folder-chip b{top:5px;right:5px;min-width:19px;height:19px;font-size:.60rem;}
  .rss-archive-folder-chip-wrap .rss-archive-folder-chip b{left:auto;right:5px;}
  .rss-archive-folder-delete{display:none !important;}
  .rss-archive-card__actions{align-items:flex-start;}
  .rss-archive-card__button-row{width:100%;justify-content:flex-start;}
}

/* r9136/r9137 — Client Intelligence account-service snapshot panel + dashboard visit signals */
body[data-page="home"] .settings-client-intelligence{
  margin:0 0 12px;
  padding:12px;
  border:1px solid rgba(244,211,138,.16);
  border-radius:18px;
  background:linear-gradient(135deg, rgba(244,211,138,.075), rgba(12,28,48,.34) 46%, rgba(4,14,27,.38));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035), 0 12px 28px rgba(0,0,0,.16);
}
body[data-page="home"] .settings-client-intelligence__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin:0 0 10px;
}
body[data-page="home"] .settings-client-intelligence__kicker{
  margin:0 0 3px;
  color:rgba(232,214,164,.82);
  font-size:.62rem;
  line-height:1.1;
  font-weight:760;
  letter-spacing:.10em;
  text-transform:uppercase;
}
body[data-page="home"] .settings-client-intelligence h4,
body[data-page="home"] .settings-client-intelligence h5{
  margin:0;
  color:rgba(232,214,164,.90);
  font-weight:760;
  letter-spacing:.01em;
}
body[data-page="home"] .settings-client-intelligence h4{
  font-size:.92rem;
  line-height:1.14;
}
body[data-page="home"] .settings-client-intelligence h5{
  font-size:.72rem;
  line-height:1.15;
  margin-bottom:6px;
}
body[data-page="home"] .settings-client-intelligence__status{
  display:block;
  margin-top:4px;
  color:rgba(215,229,242,.70);
  font-size:.68rem;
  line-height:1.25;
}
body[data-page="home"] .settings-client-intelligence__status.is-error{
  color:rgba(255,186,186,.92);
}
body[data-page="home"] .settings-client-intelligence__stats{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(86px, 1fr));
  gap:7px;
  margin:0 0 11px;
}
body[data-page="home"] .settings-client-intelligence__stats span{
  min-width:0;
  padding:8px 7px;
  border:1px solid rgba(159,202,255,.10);
  border-radius:13px;
  background:rgba(8,20,36,.34);
}
body[data-page="home"] .settings-client-intelligence__stats strong,
body[data-page="home"] .settings-client-intelligence__stats em{
  display:block;
  font-style:normal;
}
body[data-page="home"] .settings-client-intelligence__stats strong{
  color:rgba(239,247,255,.94);
  font-size:.90rem;
  line-height:1.1;
}
body[data-page="home"] .settings-client-intelligence__stats em{
  margin-top:2px;
  color:rgba(204,220,236,.63);
  font-size:.60rem;
  line-height:1.15;
}
body[data-page="home"] .settings-client-intelligence__lists{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(190px, 1fr));
  gap:10px;
}
body[data-page="home"] .settings-client-intelligence__lists > div{
  min-width:0;
  padding:10px;
  border:1px solid rgba(159,202,255,.085);
  border-radius:14px;
  background:rgba(7,18,33,.28);
}
body[data-page="home"] .settings-client-intelligence__lists ul{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:6px;
}
body[data-page="home"] .settings-client-intelligence__lists li{
  display:grid;
  grid-template-columns:minmax(0,.82fr) minmax(0,1fr);
  gap:8px;
  align-items:center;
  color:rgba(212,226,239,.74);
  font-size:.66rem;
  line-height:1.24;
}
body[data-page="home"] .settings-client-intelligence__lists li strong{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:rgba(239,247,255,.86);
  font-size:.68rem;
}
body[data-page="home"] .settings-client-intelligence__lists li span{
  min-width:0;
  color:rgba(202,218,235,.66);
}

@media (max-width:980px){
  body[data-page="home"] .settings-client-intelligence__lists{
    grid-template-columns:1fr;
  }
}
@media (max-width:760px){
  body[data-page="home"] .settings-client-intelligence{
    padding:11px;
    border-radius:16px;
  }
  body[data-page="home"] .settings-client-intelligence__head{
    flex-direction:column;
    align-items:stretch;
  }
  body[data-page="home"] .settings-client-intelligence__stats{
    grid-template-columns:repeat(2, minmax(0,1fr));
  }
  body[data-page="home"] .settings-client-intelligence__lists{
    grid-template-columns:1fr;
  }
  body[data-page="home"] .settings-client-intelligence__lists li{
    grid-template-columns:1fr;
    gap:2px;
  }
}

/* r9225 — guest-invite Client Intelligence notifications reuse the dashboard notice shell with a softer celebratory accent. */
.ccr-dashboard-visit-notice--guest-invite .ccr-dashboard-visit-notice__orb{
  box-shadow:0 0 0 4px rgba(244,211,138,.10), 0 0 26px rgba(244,211,138,.28);
}

/* r9177: CCR Client Intelligence notification + history SO-parity glass polish */
.ccr-dashboard-visit-notice{
  position:fixed;
  left:50%;
  top:50%;
  z-index:2147482600;
  width:min(460px, calc(100vw - 30px));
  color:var(--text,#EAF0F5);
  font-family:Inter,"Noto Sans JP",system-ui,sans-serif;
  text-align:center;
  border:1px solid rgba(214,229,248,.064);
  border-radius:24px;
  background:
    radial-gradient(circle at 18% 0%, rgba(124,160,205,.030), transparent 34%),
    linear-gradient(180deg, rgba(24,36,50,.30), rgba(8,14,23,.205));
  box-shadow:0 16px 46px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.024);
  backdrop-filter:blur(8px) saturate(1.03);
  -webkit-backdrop-filter:blur(8px) saturate(1.03);
  opacity:0;
  transform:translate3d(-50%, calc(-50% - 10px), 0) scale(.975);
  pointer-events:none;
  overflow:hidden;
  transition:opacity .24s ease, transform .24s ease;
}
.ccr-dashboard-visit-notice.is-visible{
  opacity:1;
  transform:translate3d(-50%, -50%, 0) scale(1);
  pointer-events:auto;
}
.ccr-dashboard-visit-notice__orb{
  position:absolute;
  width:260px;
  height:260px;
  left:50%;
  top:-150px;
  transform:translateX(-50%);
  border-radius:999px;
  background:radial-gradient(circle, rgba(244,211,138,.13), rgba(124,160,205,.030) 48%, transparent 72%);
  pointer-events:none;
}
.ccr-dashboard-visit-notice__body{
  position:relative;
  padding:24px 22px 20px;
}
.ccr-dashboard-visit-notice__kicker{
  margin:0 30px 8px;
  color:rgba(244,211,138,.86);
  font-size:.68rem;
  line-height:1.1;
  font-weight:700;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.ccr-dashboard-visit-notice__title{
  display:block;
  font-family:Inter,"Noto Sans JP",system-ui,sans-serif;
  font-size:1.18rem;
  line-height:1.24;
  color:rgba(255,242,207,.92);
  margin:0 28px 8px;
  font-weight:700;
  letter-spacing:.005em;
  text-align:center;
}
.ccr-dashboard-visit-notice__meta{
  margin:0 auto 14px;
  max-width:34em;
  font-size:.82rem;
  line-height:1.45;
  color:rgba(222,233,246,.68);
  text-align:center;
}
.ccr-dashboard-visit-notice__list{
  list-style:none;
  padding:0;
  margin:0 auto 16px;
  display:grid;
  gap:8px;
  max-width:380px;
}
.ccr-dashboard-visit-notice__list li{
  display:grid;
  justify-items:center;
  gap:3px;
  padding:10px 12px;
  border-radius:16px;
  background:linear-gradient(180deg, rgba(255,255,255,.016), rgba(255,255,255,.007));
  border:1px solid rgba(255,255,255,.046);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.016);
  text-align:center;
}
.ccr-dashboard-visit-notice__list strong{
  color:rgba(255,248,231,.90);
  font-size:.9rem;
  font-weight:700;
}
.ccr-dashboard-visit-notice__list span{
  color:rgba(224,236,248,.66);
  font-size:.78rem;
}
.ccr-dashboard-visit-notice__list em{
  color:rgba(244,211,138,.78);
  font-size:.72rem;
  font-style:normal;
  white-space:nowrap;
}
.ccr-dashboard-visit-notice__actions{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:8px;
}
.ccr-dashboard-visit-notice__actions button,
.ccr-dashboard-visit-notice__close{
  font-family:Inter,"Noto Sans JP",system-ui,sans-serif;
  color:rgba(248,232,191,.90);
  border:1px solid rgba(244,211,138,.22);
  background:rgba(244,211,138,.070);
  border-radius:999px;
  cursor:pointer;
}
.ccr-dashboard-visit-notice__actions button{
  padding:8px 13px;
  font-size:.78rem;
  font-weight:650;
  letter-spacing:.02em;
}
.ccr-dashboard-visit-notice__close{
  position:absolute;
  top:12px;
  right:12px;
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  font-size:1rem;
  line-height:1;
}
.ccr-dashboard-visit-notice__actions button:hover,
.ccr-dashboard-visit-notice__close:hover{
  border-color:rgba(244,211,138,.42);
  background:rgba(244,211,138,.105);
}
.ccr-client-activity-launcher{
  position:fixed;
  right:clamp(14px,2.2vw,28px);
  bottom:calc(92px + env(safe-area-inset-bottom, 0px));
  z-index:2147481800;
  display:flex;
  align-items:center;
  gap:8px;
  padding:9px 12px;
  border:1px solid rgba(244,211,138,.24);
  border-radius:999px;
  color:#f8e8bf;
  font-family:Inter,"Noto Sans JP",system-ui,sans-serif;
  font-size:.72rem;
  font-weight:700;
  letter-spacing:.02em;
  background:linear-gradient(180deg, rgba(24,36,50,.26), rgba(8,14,23,.18));
  box-shadow:0 10px 26px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.018);
  backdrop-filter:blur(8px) saturate(1.03);
  -webkit-backdrop-filter:blur(8px) saturate(1.03);
  cursor:pointer;
}
.ccr-client-activity-launcher strong{
  min-width:22px;
  height:22px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:rgba(244,211,138,.16);
  color:#fff7df;
  font-size:.68rem;
}
.ccr-client-activity-launcher__unique{
  margin-left:3px;
}
.ccr-client-activity-history{
  position:fixed;
  inset:0;
  z-index:2147482500;
  display:grid;
  place-items:center;
  padding:20px;
  opacity:0;
  pointer-events:none;
  transition:opacity .22s ease;
}
.ccr-client-activity-history.is-visible{opacity:1;pointer-events:auto;}
.ccr-client-activity-history__backdrop{
  position:absolute;
  inset:0;
  background:rgba(5,10,18,.060);
  backdrop-filter:blur(3px) saturate(1.01);
  -webkit-backdrop-filter:blur(3px) saturate(1.01);
}
.ccr-client-activity-history__panel{
  position:relative;
  width:min(560px, calc(100vw - 32px));
  max-height:min(76vh, 680px);
  overflow:auto;
  padding:24px 22px 20px;
  border:1px solid rgba(214,229,248,.064);
  border-radius:24px;
  background:
    radial-gradient(circle at 18% 0%, rgba(124,160,205,.030), transparent 34%),
    linear-gradient(180deg, rgba(24,36,50,.30), rgba(8,14,23,.205));
  box-shadow:0 16px 46px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.024);
  color:var(--text,#EAF0F5);
  font-family:Inter,"Noto Sans JP",system-ui,sans-serif;
  backdrop-filter:blur(8px) saturate(1.03);
  -webkit-backdrop-filter:blur(8px) saturate(1.03);
  text-align:center;
}
.ccr-client-activity-history__close{
  position:absolute;
  top:14px;
  right:14px;
  width:32px;
  height:32px;
  border-radius:999px;
  border:1px solid rgba(244,211,138,.22);
  background:rgba(244,211,138,.070);
  color:rgba(248,232,191,.90);
  cursor:pointer;
}
.ccr-client-activity-history__kicker{
  margin:0 36px 6px;
  color:rgba(244,211,138,.86);
  font-size:.68rem;
  font-weight:700;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.ccr-client-activity-history h3{
  margin:0 36px 8px;
  font-family:Inter,"Noto Sans JP",system-ui,sans-serif;
  color:rgba(255,242,207,.92);
  font-size:1.18rem;
  font-weight:700;
  line-height:1.2;
}
.ccr-client-activity-history__meta{
  margin:0 auto 14px;
  color:rgba(222,233,246,.66);
  font-size:.82rem;
  line-height:1.45;
  max-width:38em;
}
.ccr-client-activity-history__unique{
  margin:14px auto 16px;
  padding:12px 12px 10px;
  max-width:480px;
  border:1px solid rgba(244,211,138,.11);
  border-radius:18px;
  background:linear-gradient(180deg, rgba(244,211,138,.030), rgba(255,255,255,.006));
}
.ccr-client-activity-history__unique h4,
.ccr-client-activity-history__subhead{
  margin:0 0 9px;
  color:rgba(248,232,191,.92);
  font-size:.82rem;
  font-weight:760;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.ccr-client-activity-history__unique h4 strong{
  display:inline-grid;
  min-width:22px;
  height:22px;
  margin-left:6px;
  place-items:center;
  border-radius:999px;
  background:rgba(244,211,138,.14);
  color:#fff7df;
  font-size:.72rem;
}
.ccr-client-activity-history__subhead{
  margin-top:4px;
}
.ccr-client-activity-history__list{
  list-style:none;
  margin:0 auto 16px;
  padding:0;
  display:grid;
  gap:8px;
  max-width:460px;
}
.ccr-client-activity-history__list li{
  display:grid;
  justify-items:center;
  gap:3px;
  padding:10px 12px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.046);
  background:linear-gradient(180deg, rgba(255,255,255,.016), rgba(255,255,255,.007));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.016);
}
.ccr-client-activity-history__list strong{color:rgba(255,248,231,.90);font-size:.9rem;}
.ccr-client-activity-history__list span{color:rgba(224,236,248,.66);font-size:.78rem;}
.ccr-client-activity-history__list em{color:rgba(244,211,138,.78);font-size:.72rem;font-style:normal;}
.ccr-client-activity-history__actions{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;}
.ccr-client-activity-history__actions button{
  padding:8px 13px;
  border-radius:999px;
  border:1px solid rgba(244,211,138,.22);
  background:rgba(244,211,138,.070);
  color:rgba(248,232,191,.90);
  font-family:Inter,"Noto Sans JP",system-ui,sans-serif;
  font-size:.78rem;
  font-weight:650;
  cursor:pointer;
}

@media (max-width: 899px){
  .ccr-client-activity-launcher__unique{display:none;}
}

@media (max-width: 640px){
  .ccr-dashboard-visit-notice{width:calc(100vw - 24px);border-radius:22px;}
  .ccr-dashboard-visit-notice__body{padding:22px 16px 18px;}
  .ccr-client-activity-launcher{right:12px;bottom:calc(82px + env(safe-area-inset-bottom, 0px));}
  .ccr-client-activity-launcher__unique{display:none;}
  .ccr-client-activity-history{padding:12px;}
  .ccr-client-activity-history__panel{width:100%;max-height:82vh;border-radius:24px;}
}


/* r9194 — CCR SO-native guest invite overlay
   Root-level replacement for the r9192/r9193 generic modal treatment.
   Mirrors the actual Settings Overlay shell: card/header/body/section hierarchy,
   muted shell border, SO glass background, gold section titles, and contained scroll. */
.ccr-guest-invite-layer{
  position:fixed;
  inset:0;
  z-index:2147483330;
  display:grid;
  place-items:center;
  padding:24px;
  opacity:0;
  pointer-events:none;
  transition:opacity 220ms ease;
  font-family:Inter,"Noto Sans JP",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.ccr-guest-invite-layer.is-visible{
  opacity:1;
  pointer-events:auto;
}
.ccr-guest-invite-layer__backdrop{
  position:absolute;
  inset:0;
  background:rgba(5,10,18,.42);
  backdrop-filter:blur(9px) saturate(1.08);
}
.ccr-guest-invite-panel{
  position:relative;
  width:min(720px, calc(100vw - 48px));
  max-width:100%;
  max-height:min(88vh, 820px);
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border:1px solid rgba(214,229,248,.13);
  border-radius:24px;
  background:
    radial-gradient(circle at 18% 0%, rgba(124,160,205,.075), transparent 34%),
    linear-gradient(180deg, rgba(24,36,50,.86), rgba(8,14,23,.80));
  box-shadow:0 30px 82px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.052);
  backdrop-filter:blur(13px) saturate(1.08);
  color:var(--text);
  text-align:left;
}
.ccr-guest-invite-panel__header{
  display:flex;
  align-items:flex-start;
  justify-content:flex-start;
  gap:12px;
  padding:22px 22px 16px;
  border-bottom:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg, rgba(27,39,53,.97), rgba(23,33,46,.95));
}
.ccr-guest-invite-panel__header > div{
  min-width:0;
  flex:1 1 auto;
  max-width:100%;
}
.ccr-guest-invite-panel__body{
  display:flex;
  flex:1 1 auto;
  flex-direction:column;
  min-height:0;
  max-height:100%;
  overflow-x:hidden;
  overflow-y:auto;
  overflow-anchor:none;
  scrollbar-gutter:stable both-edges;
  padding:16px 18px 20px;
  scrollbar-width:thin;
  scrollbar-color:rgba(214,185,117,.34) rgba(255,255,255,.04);
}
.ccr-guest-invite-panel__body::-webkit-scrollbar{ width:10px; }
.ccr-guest-invite-panel__body::-webkit-scrollbar-track{ background:rgba(255,255,255,.04); border-radius:999px; }
.ccr-guest-invite-panel__body::-webkit-scrollbar-thumb{ background:rgba(214,185,117,.34); border-radius:999px; }
.ccr-guest-invite-panel__close{
  position:absolute;
  top:max(14px, env(safe-area-inset-top, 0px) + 2px);
  right:max(14px, env(safe-area-inset-right, 0px) + 2px);
  min-width:38px;
  width:38px;
  height:38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  z-index:8;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(9,15,23,.72);
  color:rgba(242,247,255,.88);
  cursor:pointer;
  font:600 20px/1 Inter,"Noto Sans JP",system-ui,sans-serif;
  box-shadow:0 10px 24px rgba(0,0,0,.26);
  transition:background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.ccr-guest-invite-panel__close:hover,
.ccr-guest-invite-panel__close:focus-visible{
  background:rgba(255,255,255,.075);
  border-color:rgba(255,255,255,.22);
  color:#fff;
  transform:translateY(-1px);
}
.ccr-guest-invite-panel__kicker{
  margin:0 44px 6px 0;
  font-size:.72rem;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:rgba(215,227,236,.66);
}
.ccr-guest-invite-panel h3{
  margin:0 44px 0 0;
  font-size:1.58rem;
  line-height:1.04;
  font-weight:650;
  letter-spacing:-.01em;
  color:var(--text);
}
.ccr-guest-invite-panel__meta{
  max-width:60ch;
  margin:8px 44px 0 0;
  color:var(--text-2);
  line-height:1.5;
  font-size:.95rem;
}
.ccr-guest-invite-form{
  display:grid;
  gap:14px;
}
.ccr-guest-invite-zone{
  display:grid;
  gap:12px;
  min-width:0;
  padding:15px 16px;
  border:1px solid rgba(255,255,255,.07);
  border-radius:18px;
  background:rgba(255,255,255,.035);
}
.ccr-guest-invite-zone__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
}
.ccr-guest-invite-zone__title-row{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
  flex-wrap:wrap;
}
.ccr-guest-invite-zone__title{
  margin:0;
  color:rgba(232,214,164,.90);
  text-shadow:0 0 16px rgba(232,214,164,.08);
  font-size:1.02rem;
  line-height:1.2;
  font-weight:700;
  letter-spacing:.01em;
}
.ccr-guest-invite-zone__hint{
  margin:0;
  max-width:38ch;
  color:var(--text-2);
  font-size:.83rem;
  line-height:1.55;
  text-align:right;
}
.ccr-guest-invite-zone__grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:10px;
}
.ccr-guest-invite-field{
  display:grid;
  gap:7px;
  min-width:0;
  color:rgba(214,227,238,.68);
  font-size:.78rem;
  font-weight:650;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.ccr-guest-invite-field input,
.ccr-guest-invite-field textarea{
  width:100%;
  box-sizing:border-box;
  border:1px solid rgba(255,255,255,.10);
  border-radius:14px;
  background:rgba(3,12,28,.42);
  color:rgba(255,255,255,.96);
  padding:12px 13px;
  outline:none;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045);
  font:500 .92rem/1.35 Inter,"Noto Sans JP",system-ui,sans-serif;
  transition:border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.ccr-guest-invite-field input::placeholder,
.ccr-guest-invite-field textarea::placeholder{ color:rgba(213,226,239,.38); }
.ccr-guest-invite-field input:focus,
.ccr-guest-invite-field textarea:focus{
  border-color:rgba(232,214,164,.44);
  background:rgba(3,12,28,.54);
  box-shadow:0 0 0 3px rgba(232,214,164,.10), inset 0 1px 0 rgba(255,255,255,.06);
}
.ccr-guest-invite-form__message textarea{
  min-height:176px;
  resize:vertical;
  line-height:1.52;
  letter-spacing:0;
  text-transform:none;
}
.ccr-guest-invite-form__message small{
  color:var(--text-2);
  font-size:.78rem;
  font-weight:500;
  letter-spacing:.01em;
  line-height:1.45;
  text-transform:none;
}
.ccr-guest-invite-message{
  margin:0;
  padding:10px 12px;
  border-radius:14px;
  text-align:left;
  background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.075);
  color:rgba(238,246,255,.88);
  font-size:.86rem;
  line-height:1.45;
}
.ccr-guest-invite-message.is-error{
  border-color:rgba(255,118,118,.35);
  background:rgba(255,88,88,.08);
  color:rgba(255,224,224,.95);
}
.ccr-guest-invite-message.is-ok{
  border-color:rgba(155,255,198,.30);
  background:rgba(95,211,144,.08);
  color:rgba(215,255,232,.96);
}
.ccr-guest-invite-result{
  display:grid;
  gap:8px;
  margin:0;
  padding:12px;
  border-radius:15px;
  background:rgba(7,14,28,.2);
  border:1px solid rgba(255,255,255,.075);
  text-align:left;
}
.ccr-guest-invite-result__row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  color:var(--text-2);
  font-size:.86rem;
}
.ccr-guest-invite-result__row strong{
  color:rgba(255,255,255,.96);
  font-weight:800;
  letter-spacing:.03em;
}
.ccr-guest-invite-result p{
  margin:6px 0 0;
  color:var(--text-2);
  text-align:left;
  font-size:.84rem;
  line-height:1.45;
}
.ccr-guest-invite-actions{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
  padding-top:2px;
}
.ccr-guest-invite-actions button{
  min-height:36px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:999px;
  padding:7px 14px;
  background:rgba(255,255,255,.045);
  color:rgba(242,247,255,.90);
  font:600 .82rem/1.15 Inter,"Noto Sans JP",system-ui,sans-serif;
  letter-spacing:.02em;
  cursor:pointer;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045);
  transition:background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, opacity .18s ease;
}
.ccr-guest-invite-actions button:hover,
.ccr-guest-invite-actions button:focus-visible{
  background:rgba(255,255,255,.075);
  border-color:rgba(255,255,255,.16);
  color:#fff;
  transform:translateY(-1px);
}
.ccr-guest-invite-actions button.is-primary{
  border-color:rgba(232,214,164,.28);
  background:rgba(232,214,164,.12);
  color:rgba(255,255,255,.98);
}
.ccr-guest-invite-actions button.is-primary:hover,
.ccr-guest-invite-actions button.is-primary:focus-visible{
  border-color:rgba(232,214,164,.42);
  background:rgba(232,214,164,.17);
}
.ccr-guest-invite-actions button:disabled{
  opacity:.55;
  cursor:progress;
  transform:none;
}

/* r9220 / pass 25 — compact Invite Friend copy and visible post-send confirmation */
.ccr-guest-invite-panel.is-complete .ccr-guest-invite-panel__body{
  overflow-y:auto;
  padding:18px;
}
.ccr-guest-invite-complete{
  display:grid;
  gap:14px;
  outline:none;
}
.ccr-guest-invite-result__status{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  justify-self:start;
  min-height:28px;
  padding:5px 11px;
  border-radius:999px;
  border:1px solid rgba(155,255,198,.28);
  background:rgba(95,211,144,.095);
  color:rgba(218,255,234,.98);
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.ccr-guest-invite-actions--complete{
  position:sticky;
  bottom:0;
  justify-content:flex-end;
  padding:10px 0 0;
  background:linear-gradient(180deg, rgba(10,16,26,0), rgba(10,16,26,.72) 45%, rgba(10,16,26,.84));
  z-index:3;
}
.ccr-guest-invite-panel.is-complete .ccr-guest-invite-actions--complete button{
  min-width:110px;
}
.ccr-guest-invite-panel.is-complete .ccr-guest-invite-result{
  background:rgba(7,18,31,.34);
  border-color:rgba(155,255,198,.14);
}

@media (max-width:640px){
  .ccr-guest-invite-layer{ padding:16px; place-items:end center; }
  .ccr-guest-invite-panel{
    width:100%;
    max-height:calc(100vh - 28px);
    border-radius:24px;
  }
  .ccr-guest-invite-panel__header{ padding:22px 16px 14px; }
  .ccr-guest-invite-panel__body{ padding:14px 12px 18px; }
  .ccr-guest-invite-panel__kicker,
  .ccr-guest-invite-panel h3,
  .ccr-guest-invite-panel__meta{ margin-right:42px; }
  .ccr-guest-invite-zone{ padding:12px; border-radius:16px; }
  .ccr-guest-invite-zone__head{ display:grid; gap:5px; }
  .ccr-guest-invite-zone__hint{ text-align:left; max-width:none; }
  .ccr-guest-invite-zone__grid{ grid-template-columns:1fr; }
  .ccr-guest-invite-form__message textarea{ min-height:164px; }
  .ccr-guest-invite-result__row{ flex-direction:column; align-items:flex-start; gap:3px; }
  .ccr-guest-invite-actions{ justify-content:stretch; }
  .ccr-guest-invite-actions button{ flex:1 1 auto; min-height:42px; }
}

/* r9203 — stable consolidated Home / CCR Intelligence invite, archive, and search controls
   Desktop: Invite Friend → Archive (x) → grouped Search Intelligence + Search.
   Lower Source Feed search now uses Search plus mobile-friendly Archive access.
   Mobile keeps the existing lower invite launcher pattern and hides the top ribbon invite control. */
body[data-page="home"] #homeFilterForm{
  grid-template-columns:minmax(280px, 760px) !important;
}
body[data-page="home"] #homeFilterForm .filter-grid--keyword-only,
body[data-page="home"] #homeFilterForm .filter-actions{
  max-width:760px;
}
body[data-page="home"] .home-search-invite-line{
  display:grid;
  grid-template-columns:1fr;
  align-items:center;
  gap:10px;
  width:100%;
}
body[data-page="home"] .home-search-invite-line.is-invite-visible{
  grid-template-columns:minmax(136px, auto) minmax(260px, 1fr);
}
body[data-page="home"] .home-invite-friend-btn{
  min-height:40px;
  padding:.46rem .82rem;
  border-radius:12px;
  border:1px solid rgba(212,184,116,.24);
  background:linear-gradient(180deg, rgba(212,184,116,.105), rgba(212,184,116,.045));
  color:rgba(229,211,166,.84);
  font-family:Inter,"Noto Sans JP",system-ui,sans-serif;
  font-size:.76rem;
  font-weight:680;
  letter-spacing:.024em;
  text-transform:none;
  white-space:nowrap;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08), 0 8px 18px rgba(0,0,0,.11);
  cursor:pointer;
  transition:background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}
body[data-page="home"] .home-invite-friend-btn[hidden],
body[data-page="home"] .ccr-ribbon-invite-friend-btn[hidden]{
  display:none !important;
}
body[data-page="home"] .home-invite-friend-btn:hover,
body[data-page="home"] .home-invite-friend-btn:focus-visible{
  background:linear-gradient(180deg, rgba(229,199,126,.16), rgba(212,184,116,.075));
  border-color:rgba(239,218,166,.38);
  color:rgba(255,235,181,.94);
  transform:translateY(-1px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.11), 0 10px 22px rgba(0,0,0,.16);
  outline:none;
}
@media (max-width:760px){
  body[data-page="home"] #homeFilterForm,
  body[data-page="home"] #homeFilterForm .filter-grid--keyword-only,
  body[data-page="home"] #homeFilterForm .filter-actions{
    max-width:none;
  }
  body[data-page="home"] .home-search-invite-line.is-invite-visible{
    grid-template-columns:1fr;
  }
  body[data-page="home"] .home-invite-friend-btn{
    width:100%;
  }
  body[data-page="home"] .ccr-ribbon-invite-friend-btn{
    display:none !important;
  }
}
@media (min-width:761px){
  body[data-page="home"] .filter-box{
    max-width:760px !important;
  }
  body[data-page="home"] #homeFilterForm{
    grid-template-columns:minmax(260px, 560px) !important;
    justify-content:center !important;
    justify-items:center !important;
    align-items:center !important;
    gap:10px !important;
    max-width:760px !important;
  }
  body[data-page="home"] #homeFilterForm .filter-grid--keyword-only,
  body[data-page="home"] #homeFilterForm .filter-actions{
    width:100% !important;
    max-width:560px !important;
  }
  body[data-page="home"] #homeFilterForm .filter-actions{
    justify-content:center !important;
    margin-top:2px !important;
    grid-column:1 / -1 !important;
  }
  body[data-page="home"] #homeFilterForm .filter-actions .ui-btn{
    min-width:116px !important;
  }
  body[data-page="home"] #homeFilterForm .home-search-invite-line,
  body[data-page="home"] #homeFilterForm .home-search-invite-line.is-invite-visible{
    display:block !important;
    width:100% !important;
  }
  body[data-page="home"] #homeFilterForm .home-invite-friend-btn{
    display:none !important;
  }

  body[data-page="home"] .ccr-intelligence-ribbon__tools{
    gap:8px !important;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__search{
    flex:0 1 min(54vw, 680px) !important;
    max-width:min(54vw, 680px) !important;
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    gap:12px !important;
    min-width:0 !important;
    margin-left:0 !important;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__search:not(.is-invite-visible){
    flex-basis:420px !important;
    max-width:min(38vw, 480px) !important;
  }
  body[data-page="home"] .ccr-ribbon-invite-friend-btn{
    flex:0 0 auto !important;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:28px;
    height:28px;
    padding:3px 10px !important;
    border-radius:999px;
    border:1px solid rgba(233,202,136,.14);
    background:rgba(233,202,136,.036);
    color:rgba(224,211,177,.74);
    font-family:Inter,"Noto Sans JP",system-ui,sans-serif;
    font-size:.72rem !important;
    font-weight:700 !important;
    line-height:1;
    letter-spacing:.004em !important;
    text-transform:none !important;
    white-space:nowrap;
    cursor:pointer;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.045), 0 6px 14px rgba(0,0,0,.08);
  }
  body[data-page="home"] .ccr-ribbon-invite-friend-btn:hover,
  body[data-page="home"] .ccr-ribbon-invite-friend-btn:focus-visible{
    border-color:rgba(233,202,136,.28);
    background:rgba(233,202,136,.075);
    color:rgba(255,235,181,.92);
    outline:none;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__archive-open{
    flex:0 0 auto !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-height:29px !important;
    height:29px !important;
    padding:2px 2px !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    color:rgba(204,214,226,.78) !important;
    font-family:Inter,"Noto Sans JP",system-ui,sans-serif !important;
    font-size:.76rem !important;
    font-weight:750 !important;
    line-height:1 !important;
    letter-spacing:.005em !important;
    text-decoration:none !important;
    text-transform:none !important;
    white-space:nowrap !important;
    cursor:pointer !important;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__archive-open:hover,
  body[data-page="home"] .ccr-intelligence-ribbon__archive-open:focus-visible{
    color:rgba(240,222,171,.96) !important;
    background:transparent !important;
    border-color:transparent !important;
    box-shadow:none !important;
    outline:none !important;
    text-decoration:none !important;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__search-unit{
    flex:1 1 300px !important;
    min-width:240px !important;
    max-width:380px !important;
    display:grid !important;
    grid-template-columns:minmax(122px, 1fr) auto !important;
    align-items:stretch !important;
    gap:0 !important;
    border:1px solid rgba(255,255,255,.105) !important;
    border-radius:999px !important;
    background:rgba(5,12,22,.24) !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.035), 0 10px 24px rgba(0,0,0,.10) !important;
    overflow:hidden !important;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__search-unit:focus-within{
    border-color:rgba(233,202,136,.34) !important;
    box-shadow:0 0 0 3px rgba(233,202,136,.075), inset 0 1px 0 rgba(255,255,255,.04) !important;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__search-unit input,
  body[data-page="home"] .ccr-intelligence-ribbon__search-unit button{
    height:30px !important;
    min-height:30px !important;
    border-radius:0 !important;
    box-shadow:none !important;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__search-unit input{
    border:0 !important;
    background:transparent !important;
    padding:5px 12px !important;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__search-unit button{
    border:0 !important;
    border-left:1px solid rgba(255,255,255,.105) !important;
    background:rgba(255,255,255,.045) !important;
    padding:5px 13px !important;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__search-unit button:hover,
  body[data-page="home"] .ccr-intelligence-ribbon__search-unit button:focus-visible{
    background:rgba(255,255,255,.075) !important;
    color:rgba(255,247,229,.94) !important;
    outline:none !important;
  }
}


/* r9212 — booking request review + client schedule lifecycle controls */
body[data-page="home"] .settings-schedule-requests{
  border:1px solid rgba(174,200,233,.16);
  border-radius:18px;
  background:rgba(6,18,34,.34);
  padding:12px;
}
body[data-page="home"] .settings-schedule-requests__head,
body[data-page="home"] .settings-schedule-request-card__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
body[data-page="home"] .settings-schedule-requests__head{
  margin-bottom:9px;
}
body[data-page="home"] .settings-schedule-requests__head h4,
body[data-page="home"] .settings-schedule-request-card__head h4{
  margin:0;
  color:#f4d38a;
  font-size:.86rem;
  font-weight:850;
  letter-spacing:.01em;
}
body[data-page="home"] .settings-schedule-request-card__head p{
  margin:3px 0 0;
  color:rgba(232,240,252,.62);
  font-size:.72rem;
  font-weight:650;
}
body[data-page="home"] .settings-schedule-request-list{
  display:grid;
  gap:9px;
}
body[data-page="home"] .settings-schedule-request-card{
  padding:10px;
  border:1px solid rgba(244,211,138,.18);
  border-radius:16px;
  background:rgba(255,255,255,.035);
}
body[data-page="home"] .settings-schedule-request-card.has-pending{
  border-color:rgba(244,211,138,.30);
  background:linear-gradient(150deg, rgba(244,211,138,.08), rgba(6,18,34,.32));
}
body[data-page="home"] .settings-schedule-request-card ol{
  list-style:none;
  display:grid;
  gap:7px;
  margin:10px 0 0;
  padding:0;
}
body[data-page="home"] .settings-schedule-request-card li{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:8px;
  padding:8px 9px;
  border-radius:13px;
  border:1px solid rgba(174,200,233,.12);
  background:rgba(6,18,34,.34);
}
body[data-page="home"] .settings-schedule-request-choice{
  min-width:0;
  display:grid;
  gap:3px;
}
body[data-page="home"] .settings-schedule-request-choice span{
  color:rgba(232,240,252,.68);
  font-size:.72rem;
  font-weight:800;
}
body[data-page="home"] .settings-schedule-request-choice strong{
  color:#fff3cf;
  font-size:.82rem;
  font-weight:850;
  line-height:1.22;
}
body[data-page="home"] .settings-schedule-request-choice em{
  color:rgba(244,211,138,.82);
  font-size:.68rem;
  font-style:normal;
  font-weight:850;
  text-transform:uppercase;
  letter-spacing:.05em;
}
body[data-page="home"] .settings-schedule-request-card__actions{
  display:flex;
  justify-content:flex-end;
  gap:7px;
  margin-top:10px;
}
body[data-page="home"] .settings-schedule-sessions li{
  grid-template-columns:minmax(0,1fr) auto auto auto;
}
body[data-page="home"] .settings-schedule-sessions li.is-declined{
  opacity:.82;
  border-color:rgba(255,183,118,.20);
  background:rgba(156,94,46,.08);
}
body[data-page="home"] .settings-schedule-sessions li.is-confirmed,
body[data-page="home"] .settings-schedule-sessions li.is-booked,
body[data-page="home"] .settings-schedule-sessions li.is-manual{
  border-color:rgba(126,220,166,.22);
  background:rgba(35,132,89,.10);
}
body[data-page="home"] .settings-schedule-session-remove{
  white-space:nowrap;
  font-size:.66rem;
  padding:.28rem .55rem;
}
body[data-page="home"] .settings-schedule-session-remove.is-cancel{
  border-color:rgba(255,183,118,.28);
  color:#ffd7b2;
}
@media (max-width:760px){
  body[data-page="home"] .settings-schedule-request-card__head,
  body[data-page="home"] .settings-schedule-requests__head{
    align-items:flex-start;
  }
  body[data-page="home"] .settings-schedule-request-card li,
  body[data-page="home"] .settings-schedule-sessions li{
    grid-template-columns:1fr;
    align-items:stretch;
  }
  body[data-page="home"] .settings-schedule-request-card__actions{
    justify-content:flex-start;
  }
}

/* r9231 — Client Intelligence: promote guest-invite record above high-frequency dashboard visits. */
body[data-page="home"] .settings-client-intelligence__section--guest-invites{
  grid-column:1 / -1;
  border-color:rgba(244,211,138,.22);
  background:linear-gradient(135deg, rgba(244,211,138,.095), rgba(8,20,36,.38) 52%, rgba(4,14,27,.42));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045), 0 12px 26px rgba(0,0,0,.16);
}
body[data-page="home"] .settings-client-intelligence__section--guest-invites h5{
  display:flex;
  align-items:center;
  gap:8px;
  color:#f7dca0;
}
body[data-page="home"] .settings-client-intelligence__section--guest-invites h5::after{
  content:'priority record';
  padding:2px 7px;
  border:1px solid rgba(244,211,138,.20);
  border-radius:999px;
  color:rgba(247,220,160,.82);
  background:rgba(244,211,138,.08);
  font-size:.52rem;
  font-weight:760;
  letter-spacing:.08em;
  text-transform:uppercase;
}
body[data-page="home"] .settings-client-intelligence__section--guest-invites ul{
  max-height:280px;
  overflow:auto;
  padding-right:4px;
}
body[data-page="home"] .settings-client-intelligence__section--guest-invites ul::-webkit-scrollbar{ width:8px; }
body[data-page="home"] .settings-client-intelligence__section--guest-invites ul::-webkit-scrollbar-track{ background:rgba(255,255,255,.035); border-radius:999px; }
body[data-page="home"] .settings-client-intelligence__section--guest-invites ul::-webkit-scrollbar-thumb{ background:rgba(244,211,138,.28); border-radius:999px; }
body[data-page="home"] .settings-client-intelligence__section--guest-invites li{
  grid-template-columns:minmax(120px,.42fr) minmax(0,1fr);
  padding:7px 0;
  border-bottom:1px solid rgba(244,211,138,.075);
}
body[data-page="home"] .settings-client-intelligence__section--guest-invites li:last-child{ border-bottom:0; }
body[data-page="home"] .settings-client-intelligence__section--guest-invites li strong{
  color:rgba(255,247,222,.92);
}
body[data-page="home"] .settings-client-intelligence__section--guest-invites li span{
  color:rgba(220,232,242,.78);
}
body[data-page="home"] .settings-client-intelligence__section--visits{
  opacity:.88;
}
@media (max-width:760px){
  body[data-page="home"] .settings-client-intelligence__section--guest-invites ul{ max-height:340px; }
  body[data-page="home"] .settings-client-intelligence__section--guest-invites li{ grid-template-columns:1fr; }
}

/* r9234 — SO-style centered confirmation for admin dashboard deletion. */
.ccr-dashboard-delete-confirm-layer{
  position:fixed;
  inset:0;
  z-index:2147483380;
  display:grid;
  place-items:center;
  padding:24px;
  opacity:0;
  pointer-events:none;
  transition:opacity 180ms ease;
  font-family:Inter,"Noto Sans JP",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.ccr-dashboard-delete-confirm-layer.is-visible{
  opacity:1;
  pointer-events:auto;
}
.ccr-dashboard-delete-confirm-layer__backdrop{
  position:absolute;
  inset:0;
  background:rgba(5,10,18,.48);
  backdrop-filter:blur(7px) saturate(1.04);
}
.ccr-dashboard-delete-confirm{
  position:relative;
  width:min(520px, calc(100vw - 42px));
  max-width:100%;
  overflow:hidden;
  border:1px solid rgba(214,229,248,.14);
  border-radius:24px;
  background:
    radial-gradient(circle at 18% 0%, rgba(220,190,120,.10), transparent 36%),
    linear-gradient(180deg, rgba(24,36,50,.92), rgba(8,14,23,.86));
  box-shadow:0 30px 82px rgba(0,0,0,.46), inset 0 1px 0 rgba(255,255,255,.052);
  backdrop-filter:blur(13px) saturate(1.08);
  color:var(--text);
}
.ccr-dashboard-delete-confirm__header{
  padding:22px 22px 16px;
  border-bottom:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg, rgba(27,39,53,.98), rgba(23,33,46,.96));
}
.ccr-dashboard-delete-confirm__header span{
  display:block;
  color:rgba(232,214,164,.82);
  font:700 .72rem/1 Inter,"Noto Sans JP",system-ui,sans-serif;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.ccr-dashboard-delete-confirm__header h3{
  margin:8px 0 0;
  color:#f4f8ff;
  font:760 1.08rem/1.25 Inter,"Noto Sans JP",system-ui,sans-serif;
  letter-spacing:-.015em;
}
.ccr-dashboard-delete-confirm__body{
  display:grid;
  gap:14px;
  padding:18px 22px 22px;
}
.ccr-dashboard-delete-confirm__prompt,
.ccr-dashboard-delete-confirm__copy,
.ccr-dashboard-delete-confirm__hint{
  margin:0;
  color:rgba(222,234,248,.82);
  font:500 .86rem/1.55 Inter,"Noto Sans JP",system-ui,sans-serif;
}
.ccr-dashboard-delete-confirm__prompt{
  color:rgba(248,249,252,.94);
  font-weight:650;
}
.ccr-dashboard-delete-confirm__hint{
  color:rgba(232,214,164,.84);
  font-size:.78rem;
}
.ccr-dashboard-delete-confirm__target{
  display:grid;
  gap:4px;
  padding:12px 14px;
  border:1px solid rgba(232,214,164,.18);
  border-radius:16px;
  background:rgba(232,214,164,.065);
}
.ccr-dashboard-delete-confirm__target span,
.ccr-dashboard-delete-confirm__target em{
  color:rgba(213,226,239,.62);
  font:650 .68rem/1.2 Inter,"Noto Sans JP",system-ui,sans-serif;
  letter-spacing:.10em;
  text-transform:uppercase;
}
.ccr-dashboard-delete-confirm__target strong{
  color:#fff;
  font:760 .98rem/1.25 Inter,"Noto Sans JP",system-ui,sans-serif;
}
.ccr-dashboard-delete-confirm__target em{
  font-style:normal;
  text-transform:none;
  letter-spacing:.02em;
}
.ccr-dashboard-delete-confirm__field{
  display:grid;
  gap:7px;
}
.ccr-dashboard-delete-confirm__field span{
  color:rgba(213,226,239,.72);
  font:700 .72rem/1.2 Inter,"Noto Sans JP",system-ui,sans-serif;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.ccr-dashboard-delete-confirm__field input{
  width:100%;
  min-height:42px;
  box-sizing:border-box;
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  padding:10px 12px;
  background:rgba(255,255,255,.055);
  color:#fff;
  font:700 1rem/1.2 Inter,"Noto Sans JP",system-ui,sans-serif;
  outline:none;
}
.ccr-dashboard-delete-confirm__field input:focus{
  border-color:rgba(232,214,164,.46);
  box-shadow:0 0 0 3px rgba(232,214,164,.12);
}
.ccr-dashboard-delete-confirm__actions{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  padding-top:2px;
}
.ccr-dashboard-delete-confirm__actions .settings-mini-btn.is-danger:disabled{
  opacity:.42;
  cursor:not-allowed;
  transform:none;
}
@media (max-width:640px){
  .ccr-dashboard-delete-confirm-layer{
    padding:18px;
  }
  .ccr-dashboard-delete-confirm__header{
    padding:20px 18px 14px;
  }
  .ccr-dashboard-delete-confirm__body{
    padding:16px 18px 18px;
  }
  .ccr-dashboard-delete-confirm__actions{
    justify-content:stretch;
  }
  .ccr-dashboard-delete-confirm__actions .settings-mini-btn{
    flex:1 1 140px;
  }
}

/* r9243 — SO: collapsible Account Intelligence Snapshot and Booking Requests menus. */
body[data-page="home"] .settings-client-intelligence.is-collapsed .settings-client-intelligence__head,
body[data-page="home"] .settings-schedule-requests.is-collapsed .settings-schedule-requests__head{
  margin-bottom:0;
}
body[data-page="home"] .settings-client-intelligence__toggle,
body[data-page="home"] .settings-schedule-requests__toggle{
  width:100%;
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  border:0;
  background:transparent;
  color:rgba(232,214,164,.90);
  padding:0;
  font:inherit;
  text-align:left;
  cursor:pointer;
}
body[data-page="home"] .settings-client-intelligence__toggle span,
body[data-page="home"] .settings-schedule-requests__toggle span{
  min-width:0;
  color:rgba(232,214,164,.90);
  font-size:.88rem;
  font-weight:850;
  letter-spacing:.01em;
  line-height:1.2;
}
body[data-page="home"] .settings-client-intelligence__toggle em{
  flex:1 1 auto;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:rgba(215,229,242,.64);
  font-size:.66rem;
  font-style:normal;
  font-weight:650;
  line-height:1.2;
  text-align:right;
}
body[data-page="home"] .settings-schedule-requests__toggle em{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:24px;
  min-height:22px;
  padding:0 .45rem;
  border-radius:999px;
  border:1px solid rgba(232,214,164,.20);
  background:rgba(232,214,164,.065);
  color:rgba(232,214,164,.90);
  font-size:.68rem;
  font-style:normal;
  font-weight:850;
  line-height:1;
}
body[data-page="home"] .settings-client-intelligence__toggle b,
body[data-page="home"] .settings-schedule-requests__toggle b{
  flex:0 0 auto;
  display:inline-block;
  color:rgba(232,214,164,.72);
  font-size:.75rem;
  transform:rotate(-90deg);
  transition:transform .18s ease;
}
body[data-page="home"] .settings-client-intelligence.is-open .settings-client-intelligence__toggle b,
body[data-page="home"] .settings-schedule-requests.is-open .settings-schedule-requests__toggle b{
  transform:rotate(0deg);
}
body[data-page="home"] .settings-client-intelligence__body,
body[data-page="home"] .settings-schedule-requests__body{
  margin-top:10px;
}
body[data-page="home"] .settings-client-intelligence__toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin:0 0 10px;
}
body[data-page="home"] .settings-client-intelligence__toolbar .settings-client-intelligence__status{
  margin-top:0;
}
body[data-page="home"] .settings-schedule-requests__body[hidden]{
  display:none !important;
}
@media (max-width:760px){
  body[data-page="home"] .settings-client-intelligence__toggle{
    align-items:flex-start;
    flex-wrap:wrap;
  }
  body[data-page="home"] .settings-client-intelligence__toggle em{
    flex-basis:100%;
    text-align:left;
  }
  body[data-page="home"] .settings-client-intelligence__toolbar{
    align-items:stretch;
    flex-direction:column;
  }
}


/* r10310 — lower Source Feed archive button replacement for retired Clear Filters action */
@media (max-width:760px){
  body[data-page="home"] .home-rss-archive-btn[hidden]{
    display:none !important;
  }
}

/* r10368 — mobile lower action buttons aligned with Search button styling */
@media (max-width:760px){
  body[data-page="home"] .footer-about-wrap{
    gap:10px;
    flex-wrap:wrap;
    align-items:center;
  }
  body[data-page="home"] .footer-invite-friend-btn[hidden],
  body[data-page="home"] .home-rss-archive-btn[hidden]{
    display:none !important;
  }
  body[data-page="home"] .footer-invite-friend-btn,
  body[data-page="home"] .footer-about-btn,
  body[data-page="home"] .home-rss-archive-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:38px;
    padding:.52rem .78rem;
    border-radius:12px;
    border:1px solid rgba(255,255,255,.16) !important;
    background:rgba(255,255,255,.055) !important;
    color:rgba(232,240,248,.86) !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.08), 0 8px 18px rgba(0,0,0,.12);
    font-family:Inter,"Noto Sans JP",system-ui,sans-serif;
    font-size:.76rem;
    font-weight:500;
    letter-spacing:.01em;
    line-height:1.05;
    text-transform:none;
    white-space:nowrap;
  }
  body[data-page="home"] .footer-invite-friend-btn:hover,
  body[data-page="home"] .footer-invite-friend-btn:focus-visible,
  body[data-page="home"] .footer-about-btn:hover,
  body[data-page="home"] .footer-about-btn:focus-visible,
  body[data-page="home"] .home-rss-archive-btn:hover,
  body[data-page="home"] .home-rss-archive-btn:focus-visible{
    border-color:rgba(255,255,255,.22) !important;
    background:rgba(255,255,255,.075) !important;
    color:rgba(244,249,255,.94) !important;
    outline:none;
  }
}


/* r10370 — Study & Research desktop menu + shared panel
   Desktop now uses a true fixed subsection menu with one shared content well below
   Reading / Study Resources / CCR Coaching & Training. The mobile accordion markup
   remains separate and keeps the previous direct expansion behavior. */
body[data-page="home"] .book-shell-study-desktop{
  display:none;
}
body[data-page="home"] .book-shell-study-mobile{
  display:grid;
  gap:14px;
}
@media (min-width:901px){
  body[data-page="home"] .book-shell-library{
    display:grid;
    gap:14px;
  }
  body[data-page="home"] .book-shell-study-mobile{
    display:none;
  }
  body[data-page="home"] .book-shell-study-desktop{
    display:grid;
    gap:14px;
    min-width:0;
  }
  body[data-page="home"] .book-shell-study-menu{
    position:sticky;
    top:0;
    z-index:2;
    display:grid;
    gap:10px;
    padding:0 0 4px;
    background:linear-gradient(180deg, rgba(9,17,29,.96), rgba(9,17,29,.80) 72%, rgba(9,17,29,0));
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
  }
  body[data-page="home"] .book-shell-study-menu__item{
    appearance:none;
    width:100%;
    min-height:48px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:13px 16px;
    border:1px solid rgba(255,255,255,.08);
    border-radius:18px;
    background:linear-gradient(180deg, rgba(255,255,255,.052), rgba(255,255,255,.026));
    color:rgba(232,214,164,.90);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
    font-family:Inter,"Noto Sans JP",system-ui,sans-serif;
    font-size:1.02rem;
    font-weight:700;
    letter-spacing:.012em;
    text-align:left;
    cursor:pointer;
    transition:background .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease, transform .18s ease;
  }
  body[data-page="home"] .book-shell-study-menu__item:hover,
  body[data-page="home"] .book-shell-study-menu__item:focus-visible{
    border-color:rgba(232,214,164,.18);
    background:linear-gradient(180deg, rgba(232,214,164,.075), rgba(255,255,255,.034));
    color:rgba(244,229,188,.96);
    outline:none;
  }
  body[data-page="home"] .book-shell-study-menu__item.is-active{
    border-color:rgba(232,214,164,.24);
    background:linear-gradient(180deg, rgba(232,214,164,.105), rgba(255,255,255,.036));
    color:rgba(242,225,178,.96);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.06), 0 10px 30px rgba(0,0,0,.14);
  }
  body[data-page="home"] .book-shell-study-menu__item em{
    margin-left:auto;
    padding:3px 8px;
    border:1px solid rgba(232,214,164,.14);
    border-radius:999px;
    color:rgba(218,226,234,.68);
    background:rgba(255,255,255,.035);
    font-size:.72rem;
    font-style:normal;
    font-weight:650;
  }
  body[data-page="home"] .book-shell-study-panel{
    border:1px solid rgba(255,255,255,.08);
    border-radius:20px;
    background:linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.026));
    box-shadow:inset 0 1px 0 rgba(255,255,255,.04), 0 16px 42px rgba(0,0,0,.16);
    overflow:hidden;
  }
  body[data-page="home"] .book-shell-study-panel__content{
    padding:16px;
  }
}
@media (max-width:900px){
  body[data-page="home"] .book-shell-study-desktop{
    display:none !important;
  }
  body[data-page="home"] .book-shell-study-mobile{
    display:grid;
    gap:14px;
  }
}

/* r10370 mobile-preservation shim: mobile accordion is now wrapped so the earlier
   direct-child owner rules also apply to the wrapped sections. */
@media (max-width:720px){
  body[data-page="home"] .book-shell-study-mobile{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    box-sizing:border-box !important;
    align-items:stretch !important;
    justify-items:stretch !important;
    justify-content:flex-start !important;
  }
  body[data-page="home"] .book-shell-study-mobile > .book-shell-section:not([open]),
  body[data-page="home"] .book-shell-study-mobile > .book-shell-section[open]{
    justify-self:stretch !important;
    align-self:start !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin-left:0 !important;
    margin-right:0 !important;
    box-sizing:border-box !important;
  }
}


/* r10371 — Study & Research mobile tab bar + shared panel
   Mobile now mirrors the accepted desktop architecture with a compact sticky
   horizontal tab bar and one content panel below it. This replaces the old
   mobile accordion without changing the desktop r10370 shared-panel model. */
@media (max-width:900px){
  body[data-page="home"] .book-shell-study-mobile{
    display:grid;
    gap:12px;
    width:100%;
    max-width:100%;
    min-width:0;
    box-sizing:border-box;
  }
  body[data-page="home"] .book-shell-study-mobile-tabs{
    position:sticky;
    top:0;
    z-index:3;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:8px;
    padding:0 0 8px;
    background:linear-gradient(180deg, rgba(9,17,29,.96), rgba(9,17,29,.82) 76%, rgba(9,17,29,0));
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
  }
  body[data-page="home"] .book-shell-study-mobile-tabs .book-shell-study-menu__item{
    appearance:none;
    width:100%;
    min-width:0;
    min-height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    padding:9px 7px;
    border:1px solid rgba(255,255,255,.08);
    border-radius:14px;
    background:linear-gradient(180deg, rgba(255,255,255,.052), rgba(255,255,255,.026));
    color:rgba(232,214,164,.88);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
    font-family:Inter,"Noto Sans JP",system-ui,sans-serif;
    font-size:.78rem;
    font-weight:750;
    letter-spacing:.005em;
    line-height:1.12;
    text-align:center;
    cursor:pointer;
    transition:background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
  }
  body[data-page="home"] .book-shell-study-mobile-tabs .book-shell-study-menu__item span{
    display:block;
    min-width:0;
    max-width:100%;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:normal;
  }
  body[data-page="home"] .book-shell-study-mobile-tabs .book-shell-study-menu__item em{
    flex:0 0 auto;
    min-width:18px;
    padding:2px 5px;
    border:1px solid rgba(232,214,164,.13);
    border-radius:999px;
    color:rgba(218,226,234,.66);
    background:rgba(255,255,255,.035);
    font-size:.62rem;
    font-style:normal;
    font-weight:700;
    line-height:1.1;
  }
  body[data-page="home"] .book-shell-study-mobile-tabs .book-shell-study-menu__item.is-active{
    border-color:rgba(232,214,164,.25);
    background:linear-gradient(180deg, rgba(232,214,164,.115), rgba(255,255,255,.036));
    color:rgba(242,225,178,.96);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.06), 0 8px 24px rgba(0,0,0,.14);
  }
  body[data-page="home"] .book-shell-study-mobile-panel{
    border:1px solid rgba(255,255,255,.08);
    border-radius:18px;
    background:linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.026));
    box-shadow:inset 0 1px 0 rgba(255,255,255,.04), 0 12px 32px rgba(0,0,0,.14);
    overflow:hidden;
  }
  body[data-page="home"] .book-shell-study-mobile-panel__content{
    padding:12px;
  }
}
@media (max-width:390px){
  body[data-page="home"] .book-shell-study-mobile-tabs{
    gap:6px;
  }
  body[data-page="home"] .book-shell-study-mobile-tabs .book-shell-study-menu__item{
    min-height:40px;
    padding:8px 5px;
    font-size:.72rem;
  }
  body[data-page="home"] .book-shell-study-mobile-tabs .book-shell-study-menu__item em{
    min-width:16px;
    padding:2px 4px;
    font-size:.58rem;
  }
}


/* r10373 — Study & Research mobile rollback + sticky whole header
   Supersedes r10372. Restores the r10371 centered full mobile tab labels, then
   keeps the full mobile Study & Research header sticky as one unit so the close X
   remains in the header zone and never covers the subsection tabs while scrolling. */
body[data-page="home"] .book-shell-mobile-nav{
  display:none;
}
@media (max-width:900px){
  body[data-page="home"] .book-shell-header{
    position:sticky !important;
    top:0 !important;
    z-index:7 !important;
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:14px !important;
    padding:16px 16px 14px !important;
    background:
      radial-gradient(circle at 50% 0%, rgba(124,160,205,.08), transparent 42%),
      linear-gradient(180deg, rgba(27,39,53,.97), rgba(23,33,46,.93)) !important;
    border-bottom:1px solid rgba(255,255,255,.08) !important;
    box-shadow:0 14px 28px rgba(0,0,0,.20), inset 0 1px 0 rgba(255,255,255,.035) !important;
    backdrop-filter:blur(12px) saturate(1.04) !important;
    -webkit-backdrop-filter:blur(12px) saturate(1.04) !important;
  }
  body[data-page="home"] .book-shell-header__title{
    width:100% !important;
    min-width:0 !important;
    padding-inline:52px !important;
    box-sizing:border-box !important;
    text-align:center !important;
    justify-self:center !important;
  }
  body[data-page="home"] .book-shell-header .settings-shell-kicker,
  body[data-page="home"] .book-shell-header h2,
  body[data-page="home"] .book-shell-header .settings-shell-subtitle{
    text-align:center !important;
  }
  body[data-page="home"] .book-shell-mobile-nav{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    box-sizing:border-box !important;
  }
  body[data-page="home"] .book-shell-mobile-nav[hidden]{
    display:none !important;
  }
  body[data-page="home"] .book-shell-mobile-nav .book-shell-study-mobile-tabs{
    position:relative !important;
    top:auto !important;
    z-index:1 !important;
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:8px !important;
    padding:0 !important;
    background:transparent !important;
    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;
  }
  body[data-page="home"] .book-shell-study-mobile{
    gap:12px !important;
  }
  body[data-page="home"] .book-shell-study-mobile > .book-shell-study-mobile-tabs{
    display:none !important;
  }
  body[data-page="home"] .book-shell-close{
    z-index:9 !important;
  }
}
@media (max-width:390px){
  body[data-page="home"] .book-shell-header{
    gap:12px !important;
    padding:15px 14px 13px !important;
  }
  body[data-page="home"] .book-shell-header__title{
    padding-inline:46px !important;
  }
  body[data-page="home"] .book-shell-mobile-nav .book-shell-study-mobile-tabs{
    gap:6px !important;
  }
}

/* r10424B Public Access compact control board */
.public-access-console{gap:12px;}
.public-access-toolbar{align-items:center;}
.public-access-toolbar--compact{display:grid;grid-template-columns:max-content minmax(520px,1fr) max-content;gap:12px;align-items:center;position:sticky;top:0;z-index:5;padding:10px 12px;border:1px solid rgba(255,255,255,.09);border-radius:16px;background:linear-gradient(180deg,rgba(15,28,45,.96),rgba(11,22,38,.91));box-shadow:0 14px 34px rgba(0,0,0,.20);backdrop-filter:blur(12px);}
.public-access-master-toggle{white-space:nowrap;}
.public-access-save-actions{justify-content:flex-end;}
.public-access-admin-card{margin-top:10px;}
.public-access-card-head--compact{align-items:center;gap:12px;}
.public-access-card-head--compact .admin-section-subtitle{margin-bottom:3px;}
.public-access-card-head--compact .admin-section-helper{margin:0;font-size:.76rem;line-height:1.35;}
.public-access-summary-card{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;min-width:0;}
.public-access-summary-card__main{min-width:220px;display:flex;flex-direction:column;gap:2px;}
.public-access-kicker{text-transform:uppercase;letter-spacing:.10em;font-size:.65rem;color:rgba(255,218,138,.76);font-weight:750;}
.public-access-summary-card__main strong{font-size:.96rem;color:rgba(255,250,232,.98);}
.public-access-summary-card__main p{margin:0;color:rgba(218,231,245,.76);font-size:.76rem;line-height:1.32;}
.public-access-summary-card__chips{display:flex;flex-wrap:wrap;gap:6px;align-content:center;justify-content:flex-end;min-width:0;}
.public-access-taxonomy-card{padding:13px 14px;border-color:rgba(233,202,136,.16);background:linear-gradient(135deg,rgba(13,27,45,.50),rgba(7,16,31,.32));}
.public-access-taxonomy-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin-bottom:11px;}
.public-access-taxonomy-head .admin-section-subtitle{margin:2px 0 3px;}
.public-access-taxonomy-head .admin-section-helper{max-width:780px;margin:0;font-size:.78rem;line-height:1.42;color:rgba(218,231,245,.76);}
.public-access-taxonomy-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;}
.public-access-taxonomy-chip{min-width:0;padding:9px 10px;border:1px solid rgba(255,255,255,.10);border-radius:13px;background:rgba(6,15,29,.30);}
.public-access-taxonomy-chip strong{display:block;margin-bottom:3px;color:rgba(255,232,184,.94);font-size:.78rem;letter-spacing:.035em;text-transform:uppercase;}
.public-access-taxonomy-chip span{display:block;color:rgba(214,226,241,.70);font-size:.68rem;line-height:1.34;}
.public-access-status-legend{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end;align-items:center;max-width:360px;}
.public-access-chip{display:inline-flex;gap:5px;align-items:center;padding:5px 8px;border-radius:999px;border:1px solid rgba(255,255,255,.12);background:rgba(7,16,31,.44);color:rgba(225,235,247,.82);font-size:.68rem;white-space:nowrap;line-height:1;}
.public-access-status-pill{display:inline-flex;align-items:center;justify-content:center;min-height:20px;padding:3px 7px;border-radius:999px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.045);color:rgba(225,235,247,.78);font-size:.58rem;font-weight:780;letter-spacing:.06em;text-transform:uppercase;line-height:1;white-space:nowrap;}
.public-access-status-pill.is-active{border-color:rgba(154,211,170,.30);background:rgba(93,163,119,.12);color:rgba(205,242,215,.88);}
.public-access-status-pill.is-partial{border-color:rgba(233,202,136,.34);background:rgba(233,202,136,.11);color:rgba(255,232,184,.92);}
.public-access-status-pill.is-prepared{border-color:rgba(159,184,213,.25);background:rgba(105,133,168,.11);color:rgba(214,226,241,.80);}
.public-access-chip strong{color:rgba(255,218,138,.92);font-size:.62rem;text-transform:uppercase;letter-spacing:.06em;}
.public-access-chip b{font-weight:650;color:rgba(238,246,255,.93);}
.public-access-mode-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-end;}
.public-access-sync-select{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;}
.public-access-mode-strip{display:grid;grid-template-columns:repeat(4,minmax(190px,1fr));gap:8px;margin-top:6px;}
.public-access-mode-card{display:flex;gap:9px;align-items:center;padding:9px 11px;border:1px solid rgba(255,255,255,.11);border-radius:13px;background:rgba(8,18,34,.31);cursor:pointer;transition:border-color .18s ease,background .18s ease,transform .18s ease;min-height:56px;}
.public-access-mode-card:hover,.public-access-mode-card.is-active{border-color:rgba(255,218,138,.46);background:rgba(28,48,76,.52);transform:translateY(-1px);}
.public-access-mode-card input{margin:0;accent-color:#e9ca88;}
.public-access-mode-card span{display:flex;flex-direction:column;gap:2px;line-height:1.25;min-width:0;}
.public-access-mode-card strong{color:rgba(255,246,214,.96);font-size:.86rem;}
.public-access-mode-card em{font-style:normal;color:rgba(214,226,241,.72);font-size:.70rem;white-space:normal;}
.public-access-matrix{display:grid;gap:7px;margin-top:8px;}
.public-access-matrix-head{display:grid;grid-template-columns:minmax(170px,1.2fr) repeat(5,minmax(70px,.42fr)) minmax(240px,1.35fr);gap:6px;align-items:center;padding:0 9px 2px;color:rgba(255,218,138,.74);font-size:.64rem;text-transform:uppercase;letter-spacing:.08em;font-weight:750;}
.public-access-matrix-head > span:nth-child(n+2):nth-child(-n+6){text-align:center;}
.public-access-matrix-head > span:last-child{text-align:left;}

.public-access-matrix-group{display:grid;gap:5px;}
.public-access-matrix-group-title{
  display:flex;
  align-items:center;
  justify-content:center;
  margin:7px 0 1px;
  padding:7px 12px;
  border-radius:999px;
  background:linear-gradient(90deg,rgba(233,202,136,.035),rgba(233,202,136,.105),rgba(233,202,136,.035));
  border:1px solid rgba(233,202,136,.16);
  color:rgba(255,232,184,.92);
  font-size:.69rem;
  font-weight:790;
  text-align:center;
  text-transform:uppercase;
  letter-spacing:.105em;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
}
.public-access-matrix-row{display:grid;grid-template-columns:minmax(170px,1.2fr) repeat(5,minmax(70px,.42fr)) minmax(240px,1.35fr);gap:6px;align-items:center;padding:7px 9px;border:1px solid rgba(255,255,255,.085);border-radius:12px;background:rgba(8,18,34,.24);}
.public-access-matrix-row{transition:border-color .16s ease,background .16s ease,box-shadow .16s ease;}
.public-access-matrix-row:hover{
  border-color:rgba(233,202,136,.16);
  background:linear-gradient(90deg,rgba(8,18,34,.30),rgba(233,202,136,.035),rgba(8,18,34,.24));
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.018);
}
.public-access-matrix-row:hover .public-access-matrix-area strong{color:rgba(255,250,232,.98);}
.public-access-matrix-row:hover .public-access-radio-cell{border-color:rgba(255,255,255,.105);}

.public-access-matrix-row.is-private-tool{background:linear-gradient(90deg,rgba(8,18,34,.30),rgba(233,202,136,.035));}
.public-access-matrix-area{display:flex;flex-direction:column;gap:2px;min-width:0;}
.public-access-matrix-area strong{color:rgba(255,246,214,.95);font-size:.80rem;line-height:1.15;}
.public-access-matrix-area em{font-style:normal;color:rgba(214,226,241,.62);font-size:.66rem;line-height:1.18;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.public-access-radio-cell{display:flex;justify-content:center;align-items:center;min-height:28px;border:1px solid rgba(255,255,255,.08);border-radius:10px;background:rgba(4,13,25,.28);cursor:pointer;}
.public-access-radio-cell:hover{border-color:rgba(255,218,138,.30);background:rgba(28,48,76,.34);}
.public-access-radio-cell input{accent-color:#e9ca88;margin:0;}
.public-access-radio-cell span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;}
.public-access-radio-cell:has(input:checked){border-color:rgba(255,218,138,.55);background:rgba(233,202,136,.12);box-shadow:inset 0 0 0 1px rgba(255,218,138,.18);}
.public-access-result-cell{display:flex;align-items:center;gap:6px 8px;min-width:0;flex-wrap:wrap;}
.public-access-result-cell strong{flex:0 0 auto;min-width:42px;text-align:center;padding:3px 7px;border-radius:999px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.045);color:rgba(255,232,184,.92);font-size:.65rem;text-transform:uppercase;letter-spacing:.05em;}
.public-access-result-cell span:not(.public-access-status-pill){flex:1 1 150px;min-width:0;color:rgba(214,226,241,.70);font-size:.69rem;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.public-access-lower-grid{display:grid;grid-template-columns:minmax(420px,.8fr) minmax(520px,1.2fr);gap:10px;align-items:start;}
.public-access-limits-grid,.public-access-guest-basic-grid{display:grid;grid-template-columns:repeat(3,minmax(120px,1fr));gap:8px;}
.public-access-limits-grid label,.public-access-guest-basic-grid label{display:grid;gap:4px;align-content:start;}
.public-access-limits-grid label span,.public-access-guest-basic-grid label span{font-size:.70rem;color:rgba(214,226,241,.74);}
.public-access-limits-grid input,.public-access-guest-basic-grid input,.public-access-guest-basic-grid select{min-height:36px;padding:7px 9px;}
.public-access-feature-grid{grid-template-columns:repeat(4,minmax(150px,1fr));gap:7px;}
.public-access-feature-toggle{align-items:flex-start;gap:8px;padding:8px 10px;border:1px solid rgba(255,255,255,.10);border-radius:12px;background:rgba(8,18,34,.24);}
.public-access-feature-toggle span{display:flex;flex-direction:column;gap:2px;line-height:1.2;}
.public-access-feature-toggle strong{font-size:.75rem;color:rgba(255,246,214,.94);font-weight:650;}
.public-access-feature-toggle em{font-style:normal;font-size:.65rem;color:rgba(214,226,241,.62);}
.public-access-feature-toggle input{margin-top:2px;}
.public-access-advanced{margin-top:10px;border:1px solid rgba(255,255,255,.1);border-radius:15px;background:rgba(7,16,31,.22);overflow:hidden;}
.public-access-advanced>summary{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:10px 13px;cursor:pointer;color:rgba(255,246,214,.92);font-weight:650;}
.public-access-advanced>summary .helper{font-weight:400;color:rgba(214,226,241,.62);font-size:.72rem;}
.public-access-guest-grid{margin-top:9px;}
.public-access-future-note{padding:13px 15px;color:rgba(218,231,245,.82);font-size:.82rem;line-height:1.48;}
.public-access-future-note p{margin:0;}
@media(max-width:1200px){
  .public-access-toolbar--compact{grid-template-columns:1fr;}
  .public-access-summary-card{align-items:flex-start;}
  .public-access-summary-card__chips{justify-content:flex-start;}
  .public-access-taxonomy-head{flex-direction:column;}
  .public-access-status-legend{justify-content:flex-start;max-width:none;}
  .public-access-taxonomy-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .public-access-mode-strip{grid-template-columns:repeat(2,minmax(180px,1fr));}
  .public-access-lower-grid{grid-template-columns:1fr;}
}
@media(max-width:900px){
  .public-access-mode-strip{grid-template-columns:1fr;}
  .public-access-matrix-head{display:none;}
  .public-access-matrix-row{grid-template-columns:minmax(0,1fr) repeat(5,36px);gap:5px;}
  .public-access-result-cell{grid-column:1/-1;}
  .public-access-matrix-area em{white-space:normal;}
  .public-access-limits-grid,.public-access-guest-basic-grid,.public-access-feature-grid,.public-access-taxonomy-grid{grid-template-columns:1fr;}
}




/* r10425E — definitive desktop header geometry: keep title one-line and separate Account Access from main controls */
@media (min-width:1200px){
  body[data-page="home"] .site-header .container.header-inner{
    width:min(1760px, calc(100% - 2 * var(--pad))) !important;
  }
  body[data-page="home"] .header-inner{
    grid-template-columns:minmax(0, 1fr) auto !important;
    column-gap:clamp(34px,4vw,72px) !important;
    align-items:start !important;
  }
  body[data-page="home"] .masthead{
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
  }
  body[data-page="home"] .masthead h1[data-site-title]{
    width:max-content !important;
    max-width:min(100%, 1180px) !important;
    min-width:0 !important;
    overflow:visible !important;
    white-space:nowrap !important;
    font-size:clamp(30px,2.15vw,42px) !important;
    line-height:1.12 !important;
    padding:19px 24px !important;
  }
  body[data-page="home"] .masthead h1[data-site-title] .site-title-text{
    display:inline-flex !important;
    flex-wrap:nowrap !important;
    white-space:nowrap !important;
    max-width:none !important;
  }
  body[data-page="home"] .masthead h1[data-site-title] .site-title-rest,
  body[data-page="home"] .masthead h1[data-site-title] .site-title-ccr{
    white-space:nowrap !important;
  }
  body[data-page="home"] .header-actions{
    align-content:flex-start !important;
    align-items:flex-start !important;
    row-gap:0 !important;
    column-gap:10px !important;
    padding-top:2px !important;
  }
  body[data-page="home"] .home-session-badge-row{
    flex:0 0 100% !important;
    width:100% !important;
    justify-content:flex-end !important;
    margin-top:34px !important;
    transform:none !important;
  }
  body[data-page="home"] .home-session-badge.is-public-login{
    transform:none !important;
  }
}

@media (min-width:981px) and (max-width:1199px){
  body[data-page="home"] .site-header .container.header-inner{
    width:min(100%, calc(100% - 2 * var(--pad))) !important;
  }
  body[data-page="home"] .header-inner{
    grid-template-columns:minmax(0, 1fr) auto !important;
    column-gap:clamp(22px,3vw,42px) !important;
    align-items:start !important;
  }
  body[data-page="home"] .masthead h1[data-site-title]{
    width:max-content !important;
    max-width:min(100%, 820px) !important;
    min-width:0 !important;
    overflow:visible !important;
    white-space:nowrap !important;
    font-size:clamp(24px,2.2vw,30px) !important;
    line-height:1.12 !important;
    padding:17px 20px !important;
  }
  body[data-page="home"] .masthead h1[data-site-title] .site-title-text{
    display:inline-flex !important;
    flex-wrap:nowrap !important;
    white-space:nowrap !important;
  }
  body[data-page="home"] .masthead h1[data-site-title] .site-title-rest,
  body[data-page="home"] .masthead h1[data-site-title] .site-title-ccr{
    white-space:nowrap !important;
  }
  body[data-page="home"] .header-actions{
    align-content:flex-start !important;
    row-gap:0 !important;
  }
  body[data-page="home"] .home-session-badge-row{
    margin-top:30px !important;
    transform:none !important;
  }
  body[data-page="home"] .home-session-badge.is-public-login{
    transform:none !important;
  }
}

@media (min-width:761px) and (max-width:980px){
  body[data-page="home"] .masthead h1[data-site-title]{
    min-width:0 !important;
    max-width:100% !important;
    font-size:clamp(22px,2.45vw,27px) !important;
    line-height:1.14 !important;
    padding-block:17px 16px !important;
  }
  body[data-page="home"] .masthead h1[data-site-title] .site-title-text{
    flex-wrap:wrap !important;
    white-space:normal !important;
  }
  body[data-page="home"] .home-session-badge-row{
    margin-top:14px !important;
    transform:none !important;
  }
}

@media (max-width:760px){
  body[data-page="home"] .masthead h1[data-site-title]{
    box-sizing:border-box !important;
    line-height:1.14 !important;
    padding-block:17px 16px !important;
  }
}

/* r10427 — graph card balance polish: centered identity/metrics, footer action row */
body[data-page="home"] .selected-ticker-chart-grid > .ticker-chart-card{
  display:flex !important;
  flex-direction:column !important;
}
body[data-page="home"] .selected-ticker-chart-grid > .ticker-chart-card .ticker-chart-card__button{
  flex:1 1 auto !important;
  padding:16px 16px 10px !important;
}
body[data-page="home"] .ticker-chart-card__kicker{
  display:none !important;
}
body[data-page="home"] .ticker-chart-card__symbol{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  margin:0 0 .18rem;
  color:rgba(232,214,164,.74);
  font-size:.86rem;
  font-weight:800;
  letter-spacing:.12em;
  line-height:1.15;
  text-transform:uppercase;
}
body[data-page="home"] .ticker-chart-card h3{
  text-align:center !important;
  margin:0 0 .02rem !important;
}
body[data-page="home"] .ticker-chart-card__value-row{
  justify-content:center !important;
  gap:.82rem !important;
  margin:.34rem 0 .48rem !important;
}
body[data-page="home"] .ticker-chart-card__value-row span,
body[data-page="home"] .ticker-chart-card__value-row em{
  white-space:nowrap;
}
body[data-page="home"] .ticker-chart-card__preview{
  margin:.10rem 0 .56rem !important;
}
body[data-page="home"] .ticker-chart-card p{
  margin:0 !important;
}
body[data-page="home"] .ticker-chart-card__footer{
  position:relative;
  z-index:4;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  padding:0 16px 16px !important;
}
body[data-page="home"] .ticker-chart-card__open-btn{
  display:inline-flex;
  align-items:center;
  flex:1 1 auto;
  min-width:0;
  padding:0;
  border:0;
  background:transparent;
  color:inherit;
  text-align:left;
  cursor:pointer;
}
body[data-page="home"] .ticker-chart-card__open-btn:hover .ticker-chart-card__link,
body[data-page="home"] .ticker-chart-card__open-btn:focus-visible .ticker-chart-card__link{
  color:rgba(243,228,234,.86) !important;
}
body[data-page="home"] .ticker-chart-card__open-btn:focus-visible,
body[data-page="home"] .ticker-chart-card__remove:focus-visible{
  outline:none;
}
body[data-page="home"] .ticker-chart-card__remove{
  position:static !important;
  top:auto !important;
  right:auto !important;
  bottom:auto !important;
  left:auto !important;
  z-index:auto !important;
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  width:28px;
  height:28px;
  min-width:28px;
  min-height:28px;
  padding:0 !important;
  border:1px solid rgba(226,232,240,.10) !important;
  border-radius:999px !important;
  background:rgba(11,18,26,.22) !important;
  color:rgba(215,224,234,.56) !important;
  font-size:1rem !important;
  line-height:1 !important;
  font-weight:700 !important;
  letter-spacing:0 !important;
  text-transform:none !important;
  box-shadow:none !important;
  backdrop-filter:blur(10px) saturate(1.02) !important;
  transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease;
}
body[data-page="home"] .ticker-chart-card__remove:hover,
body[data-page="home"] .ticker-chart-card__remove:focus-visible{
  background:rgba(50,24,28,.34) !important;
  border-color:rgba(244,157,164,.20) !important;
  color:rgba(255,218,220,.82) !important;
  transform:translateY(-1px);
}
@media (max-width:760px){
  body[data-page="home"] .ticker-chart-card__footer{
    padding:0 14px 14px !important;
  }
}

/* r10427A — graph card cleanup follow-up: remove extra symbol line, soften metadata */
body[data-page="home"] .ticker-chart-card__symbol{
  display:none !important;
}
body[data-page="home"] .ticker-chart-card h3{
  margin:0 0 .18rem !important;
}
body[data-page="home"] .ticker-chart-card p{
  margin:0 !important;
  color:rgba(226,236,247,.52) !important;
  font-size:.74rem !important;
  line-height:1.34 !important;
}

/* r10427D — S&R root-level sticky header/nav fix + graph/RSS polish
   Moves the desktop Study & Research subsection menu into the sticky overlay header
   so the CCR kicker, white overlay title, and subsection controls stay together while scrolling. */
body[data-page="home"] .ticker-chart-card h3,
body[data-page="home"] .ticker-chart-card .intel-card__headline{
  width:100% !important;
  text-align:center !important;
}
body[data-page="home"] .book-shell-desktop-nav{
  display:none;
}
@media (min-width:901px){
  body[data-page="home"] .book-shell-header{
    position:sticky !important;
    top:0 !important;
    z-index:9 !important;
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:14px !important;
    padding:22px 72px 16px 38px !important;
    background:
      radial-gradient(circle at 48% 0%, rgba(124,160,205,.075), transparent 42%),
      linear-gradient(180deg, rgba(27,39,53,.985), rgba(23,33,46,.955)) !important;
    border-bottom:1px solid rgba(255,255,255,.085) !important;
    box-shadow:0 16px 36px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.035) !important;
    backdrop-filter:blur(14px) saturate(1.05) !important;
    -webkit-backdrop-filter:blur(14px) saturate(1.05) !important;
  }
  body[data-page="home"] .book-shell-header__title{
    min-width:0 !important;
    width:100% !important;
  }
  body[data-page="home"] .book-shell-header .settings-shell-kicker{
    display:block !important;
    margin:0 0 7px !important;
    color:rgba(207,222,239,.66) !important;
    font-size:.72rem !important;
    font-weight:800 !important;
    letter-spacing:.22em !important;
    line-height:1.1 !important;
    text-transform:uppercase !important;
  }
  body[data-page="home"] .book-shell-header h2{
    margin:0 !important;
    color:rgba(246,249,255,.96) !important;
    font-size:1.58rem !important;
    line-height:1.16 !important;
    font-weight:800 !important;
    letter-spacing:-.025em !important;
  }
  body[data-page="home"] .book-shell-desktop-nav{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    box-sizing:border-box !important;
  }
  body[data-page="home"] .book-shell-desktop-nav[hidden]{
    display:none !important;
  }
  body[data-page="home"] .book-shell-mobile-nav{
    display:none !important;
  }
  body[data-page="home"] .book-shell-desktop-nav .book-shell-study-menu{
    position:relative !important;
    top:auto !important;
    z-index:1 !important;
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    align-items:center !important;
    gap:12px !important;
    padding:0 !important;
    margin:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;
  }
  body[data-page="home"] .book-shell-study-menu__brand{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-height:42px !important;
    padding:0 14px !important;
    border:1px solid rgba(255,255,255,.07) !important;
    border-radius:999px !important;
    color:rgba(232,214,164,.78) !important;
    background:rgba(255,255,255,.025) !important;
    font-size:.74rem !important;
    font-weight:800 !important;
    letter-spacing:.22em !important;
    line-height:1 !important;
    text-transform:uppercase !important;
  }
  body[data-page="home"] .book-shell-desktop-nav .book-shell-study-menu__item{
    min-height:44px !important;
    justify-content:center !important;
    padding:10px 14px !important;
    text-align:center !important;
    white-space:nowrap !important;
  }
  body[data-page="home"] .book-shell-desktop-nav .book-shell-study-menu__item span{
    min-width:0 !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }
  body[data-page="home"] .book-shell-study-desktop{
    display:grid !important;
    gap:14px !important;
  }
  body[data-page="home"] .book-shell-study-desktop > .book-shell-study-menu{
    display:none !important;
  }
  body[data-page="home"] .book-shell-close{
    z-index:11 !important;
  }
}
body[data-page="home"] .selected-source-feed-section .source-feed-remove-btn{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:28px !important;
  height:28px !important;
  min-width:28px !important;
  min-height:28px !important;
  padding:0 !important;
  font-size:1rem !important;
  line-height:1 !important;
  font-weight:700 !important;
  letter-spacing:0 !important;
  text-transform:none !important;
}


/* r10427E — root-level graph/S&R/search-heading polish
   Removes the extra desktop S&R CCR nav pill, sets chart titles to SO-gold, and centers Search RSS heading by default. */
body[data-page="home"] .selected-ticker-chart-grid > .ticker-chart-card .ticker-chart-card__button{
  align-items:stretch !important;
  text-align:center !important;
}
body[data-page="home"] .ticker-chart-card h3,
body[data-page="home"] .ticker-chart-card .intel-card__headline{
  display:block !important;
  align-self:stretch !important;
  width:100% !important;
  max-width:none !important;
  margin-left:0 !important;
  margin-right:0 !important;
  padding-left:0 !important;
  padding-right:0 !important;
  color:rgba(232,214,164,.86) !important;
  text-align:center !important;
  justify-self:center !important;
  transform:none !important;
}
body[data-page="home"] .current-feed-title-row,
body[data-page="home"] .current-feed-title-row > div,
body[data-page="home"] .current-feed-title-row h2{
  text-align:center !important;
}
body[data-page="home"] .current-feed-title-row > div{
  justify-items:center !important;
  transform:none !important;
}
body[data-page="home"] .book-shell-study-menu__brand{
  display:none !important;
}
@media (min-width:901px){
  body[data-page="home"] .book-shell-desktop-nav .book-shell-study-menu{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }
}

/* r10427F — graph card title centering correction
   Keeps SO-gold chart titles centered across the full card content column. */
body[data-page="home"] .selected-ticker-chart-grid > .ticker-chart-card .ticker-chart-card__button > h3.intel-card__headline{
  display:block !important;
  width:100% !important;
  max-width:none !important;
  text-align:center !important;
  margin-inline:0 !important;
  transform:none !important;
}

/* r10427G — Study & Research desktop subsections restored to stacked menu
   Keeps the r10427D sticky root header, but returns Reading / Study Resources /
   CCR Coaching & Training to a vertical desktop control stack instead of a single row. */
@media (min-width:901px){
  body[data-page="home"] .book-shell-header{
    grid-template-columns:minmax(220px,340px) minmax(260px,390px) minmax(0,1fr) !important;
    grid-template-areas:"book-title book-nav book-spacer" !important;
    align-items:start !important;
    column-gap:24px !important;
    row-gap:0 !important;
    padding:22px 86px 18px 38px !important;
  }
  body[data-page="home"] .book-shell-header__title{
    grid-area:book-title !important;
    align-self:start !important;
  }
  body[data-page="home"] .book-shell-desktop-nav{
    grid-area:book-nav !important;
    justify-self:stretch !important;
    align-self:start !important;
    width:100% !important;
    max-width:390px !important;
  }
  body[data-page="home"] .book-shell-desktop-nav .book-shell-study-menu{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:8px !important;
    width:100% !important;
    max-width:390px !important;
    margin:0 !important;
  }
  body[data-page="home"] .book-shell-desktop-nav .book-shell-study-menu__item{
    width:100% !important;
    min-height:42px !important;
    justify-content:space-between !important;
    gap:12px !important;
    padding:10px 14px !important;
    text-align:left !important;
    white-space:normal !important;
  }
  body[data-page="home"] .book-shell-desktop-nav .book-shell-study-menu__item span{
    overflow:visible !important;
    text-overflow:clip !important;
    white-space:normal !important;
  }
}
@media (min-width:901px) and (max-width:1120px){
  body[data-page="home"] .book-shell-header{
    grid-template-columns:1fr !important;
    grid-template-areas:"book-title" "book-nav" !important;
    row-gap:14px !important;
  }
  body[data-page="home"] .book-shell-desktop-nav{
    max-width:420px !important;
  }
}

/* r10428 — public module teaser shells for anonymous users */
.public-access-teaser-layer[hidden]{
  display:none !important;
}
.public-access-teaser-layer{
  position:fixed;
  inset:0;
  z-index:2147482600;
  display:grid;
  place-items:center;
  padding:clamp(18px,4vw,48px);
}
.public-access-teaser-backdrop{
  position:absolute;
  inset:0;
  background:rgba(3,10,20,.58);
  backdrop-filter:blur(16px) saturate(1.04);
}
.public-access-teaser-card{
  position:relative;
  z-index:1;
  width:min(760px,calc(100vw - 36px));
  max-height:min(86vh,760px);
  overflow:auto;
  border:1px solid rgba(255,255,255,.12);
  border-radius:28px;
  background:linear-gradient(180deg,rgba(18,34,53,.94),rgba(9,19,33,.90));
  box-shadow:0 34px 90px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.08);
  color:rgba(235,243,250,.92);
}
.public-access-teaser-card::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:radial-gradient(circle at 18% 0%,rgba(232,214,164,.12),transparent 36%),radial-gradient(circle at 100% 10%,rgba(120,185,235,.12),transparent 34%);
}
.public-access-teaser-close{
  position:absolute;
  top:18px;
  right:18px;
  z-index:2;
  width:42px;
  height:42px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:999px;
  background:rgba(3,10,20,.42);
  color:rgba(235,243,250,.86);
  font-size:1.25rem;
  line-height:1;
  cursor:pointer;
}
.public-access-teaser-body{
  position:relative;
  z-index:1;
  padding:34px clamp(26px,4vw,44px) 36px;
}
.public-access-teaser-kicker{
  margin:0 0 10px;
  color:rgba(232,214,164,.72);
  font-size:.76rem;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.public-access-teaser-card h2{
  margin:0 56px 12px 0;
  color:rgba(246,249,255,.96);
  font-size:clamp(1.7rem,3vw,2.35rem);
  line-height:1.05;
  letter-spacing:-.035em;
}
.public-access-teaser-summary{
  max-width:58ch;
  margin:0 0 22px;
  color:rgba(222,233,244,.72);
  font-size:1.02rem;
  line-height:1.55;
}
.public-access-teaser-lock{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px 12px;
  margin:0 0 20px;
  padding:13px 15px;
  border:1px solid rgba(232,214,164,.16);
  border-radius:18px;
  background:rgba(232,214,164,.055);
}
.public-access-teaser-lock strong{
  color:rgba(232,214,164,.88);
  font-size:.82rem;
  letter-spacing:.10em;
  text-transform:uppercase;
}
.public-access-teaser-lock span{
  color:rgba(232,240,248,.70);
  font-size:.9rem;
}
.public-access-teaser-list{
  display:grid;
  gap:8px;
  margin:0 0 24px;
  padding:0;
  list-style:none;
}
.public-access-teaser-list li{
  position:relative;
  padding-left:18px;
  color:rgba(222,233,244,.74);
  font-size:.95rem;
  line-height:1.42;
}
.public-access-teaser-list li::before{
  content:"";
  position:absolute;
  left:0;
  top:.62em;
  width:6px;
  height:6px;
  border-radius:999px;
  background:rgba(232,214,164,.62);
}
.public-access-teaser-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.public-access-teaser-primary,
.public-access-teaser-secondary{
  border:1px solid rgba(255,255,255,.13);
  border-radius:999px;
  padding:10px 17px;
  font-size:.88rem;
  font-weight:800;
  letter-spacing:.02em;
  cursor:pointer;
}
.public-access-teaser-primary{
  color:rgba(10,18,28,.96);
  background:linear-gradient(180deg,rgba(232,214,164,.96),rgba(198,174,112,.90));
  border-color:rgba(232,214,164,.38);
}
.public-access-teaser-secondary{
  color:rgba(226,236,247,.78);
  background:rgba(255,255,255,.045);
}
.icon-btn.is-public-disabled{
  opacity:.48;
  cursor:not-allowed;
  filter:saturate(.72);
}
@media (max-width:760px){
  .public-access-teaser-layer{
    padding:14px;
    align-items:end;
  }
  .public-access-teaser-card{
    width:100%;
    border-radius:24px;
  }
  .public-access-teaser-body{
    padding:30px 22px 26px;
  }
  .public-access-teaser-card h2{
    margin-right:48px;
  }
}

/* r10429 — SO-style voluntary Account Access modal with safe return-to-browse path */
body.ccr-entry-login-voluntary .ccr-entry-gate{
  background:linear-gradient(180deg, rgba(3,8,15,.20), rgba(3,8,15,.34)) !important;
  backdrop-filter:blur(7px) saturate(1.02) !important;
}
body.ccr-entry-login-voluntary .ccr-entry-gate::before{
  background:
    radial-gradient(980px 680px at 50% 28%, rgba(232,214,164,.070), transparent 58%),
    radial-gradient(820px 580px at 52% 76%, rgba(93,130,166,.060), transparent 60%),
    linear-gradient(180deg, rgba(4,8,14,.22), rgba(4,8,14,.44)) !important;
}
body.ccr-entry-login-voluntary .ccr-entry-keypad-panel,
body.ccr-entry-login-required .ccr-entry-keypad-panel{
  background:
    radial-gradient(circle at 18% 0%, rgba(232,214,164,.070), transparent 35%),
    linear-gradient(180deg, rgba(14,24,36,.78), rgba(8,15,25,.82)) !important;
  border-color:rgba(232,214,164,.145) !important;
  box-shadow:0 26px 74px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.040), 0 0 0 1px rgba(232,214,164,.035) !important;
  backdrop-filter:blur(18px) saturate(1.06) !important;
}
.ccr-entry-login-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:1rem;
  margin:0 0 .72rem;
}
.ccr-entry-login-titleblock{
  display:grid;
  gap:.18rem;
  min-width:0;
}
.ccr-entry-login-kicker{
  color:rgba(201,213,228,.58);
  font-size:.66rem;
  font-weight:800;
  letter-spacing:.16em;
  line-height:1;
  text-transform:uppercase;
}
.ccr-entry-login-title{
  color:rgba(232,214,164,.92);
  font-family:"IBM Plex Serif", Georgia, serif;
  font-size:clamp(1.16rem, 2.7vw, 1.42rem);
  font-weight:600;
  letter-spacing:.01em;
  line-height:1.15;
}
.ccr-entry-login-context{
  margin:-.25rem 0 1rem;
  color:rgba(220,230,241,.62);
  font-size:.82rem;
  line-height:1.45;
}
.ccr-entry-login-close{
  appearance:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:32px;
  height:32px;
  min-width:32px;
  border-radius:999px;
  border:1px solid rgba(232,214,164,.15);
  background:rgba(255,255,255,.035);
  color:rgba(232,214,164,.78);
  font-size:1.12rem;
  line-height:1;
  cursor:pointer;
  box-shadow:none;
  transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease;
}
.ccr-entry-login-close:hover,
.ccr-entry-login-close:focus-visible{
  outline:none;
  background:rgba(232,214,164,.09);
  border-color:rgba(232,214,164,.28);
  color:rgba(255,242,205,.96);
  transform:translateY(-1px);
}
body.ccr-entry-login-required .ccr-entry-login-close,
body.ccr-entry-login-required .ccr-entry-login-return{
  display:none !important;
}
body.ccr-entry-login-voluntary .ccr-entry-login-return{
  appearance:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  margin:.86rem 0 0;
  min-height:42px;
  border-radius:999px;
  border:1px solid rgba(232,214,164,.15);
  background:rgba(255,255,255,.025);
  color:rgba(232,214,164,.84);
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.055em;
  text-transform:uppercase;
  cursor:pointer;
  transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease;
}
body.ccr-entry-login-voluntary .ccr-entry-login-return:hover,
body.ccr-entry-login-voluntary .ccr-entry-login-return:focus-visible{
  outline:none;
  background:rgba(232,214,164,.08);
  border-color:rgba(232,214,164,.28);
  color:rgba(255,242,205,.98);
  transform:translateY(-1px);
}
body.ccr-entry-login-voluntary .ccr-entry-login-id-label,
body.ccr-entry-login-required .ccr-entry-login-id-label{
  color:rgba(232,214,164,.62) !important;
}
body.ccr-entry-login-voluntary .ccr-entry-login-id-input:focus,
body.ccr-entry-login-required .ccr-entry-login-id-input:focus{
  border-color:rgba(232,214,164,.34) !important;
  box-shadow:0 0 0 3px rgba(232,214,164,.10), inset 0 1px 0 rgba(255,255,255,.035), 0 10px 26px rgba(0,0,0,.20) !important;
}
body.ccr-entry-login-voluntary .ccr-entry-code-dot.is-filled,
body.ccr-entry-login-required .ccr-entry-code-dot.is-filled{
  background:rgba(232,214,164,.92) !important;
  box-shadow:0 0 14px rgba(232,214,164,.20) !important;
}
body.ccr-entry-login-voluntary .ccr-entry-key--unlock,
body.ccr-entry-login-required .ccr-entry-key--unlock{
  background:linear-gradient(180deg, rgba(232,214,164,.22), rgba(232,214,164,.10)) !important;
  color:rgba(255,246,219,.92) !important;
}
body.ccr-entry-login-voluntary .ccr-entry-key:hover,
body.ccr-entry-login-required .ccr-entry-key:hover{
  background:linear-gradient(180deg, rgba(232,214,164,.14), rgba(68,87,105,.11)) !important;
}
@media (max-width:760px){
  .ccr-entry-login-head{
    margin-bottom:.62rem;
  }
  .ccr-entry-login-context{
    font-size:.78rem;
  }
}


/* r10429A — Account Access desktop vertical balance, portfolio teaser activation companion */
@media (min-width:1200px){
  body[data-page="home"] .home-session-badge-row{
    margin-top:34px !important;
  }
}
@media (min-width:981px) and (max-width:1199px){
  body[data-page="home"] .home-session-badge-row{
    margin-top:30px !important;
  }
}

/* r10429E — authenticated Invite Friend affordance fallback
   If the CCR ribbon invite control is not present on desktop, the home search-row invite button becomes the authenticated fallback. */
@media (min-width:761px){
  body[data-page="home"].home-guest-invite-search-fallback-visible #homeFilterForm .home-search-invite-line.is-invite-visible{
    display:grid !important;
    grid-template-columns:minmax(136px, auto) minmax(260px, 1fr) !important;
    align-items:center !important;
    gap:10px !important;
    width:100% !important;
  }
  body[data-page="home"].home-guest-invite-search-fallback-visible #homeFilterForm .home-invite-friend-btn:not([hidden]){
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
  }
}


/* Patch B — SO-style public module blocker for RO / $OV / S&R */
.public-access-teaser-layer.is-public-module-blocker .public-access-teaser-backdrop{
  background:
    radial-gradient(860px 520px at 50% 18%, rgba(232,214,164,.045), transparent 58%),
    linear-gradient(180deg, rgba(5,10,18,.13), rgba(5,10,18,.18));
  backdrop-filter:blur(5px) saturate(1.02);
  -webkit-backdrop-filter:blur(5px) saturate(1.02);
}
.public-access-teaser-layer.is-public-module-blocker .public-access-teaser-card{
  width:min(680px,calc(100vw - 36px));
  border-color:rgba(214,229,248,.082);
  background:
    radial-gradient(circle at 18% 0%, rgba(232,214,164,.045), transparent 34%),
    linear-gradient(180deg, rgba(24,36,50,.42), rgba(8,14,23,.34));
  box-shadow:0 22px 58px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.030), 0 0 0 1px rgba(232,214,164,.020);
  backdrop-filter:blur(12px) saturate(1.04);
  -webkit-backdrop-filter:blur(12px) saturate(1.04);
}
.public-access-teaser-layer.is-public-module-blocker .public-access-teaser-card::before{
  background:
    linear-gradient(90deg, rgba(232,214,164,.34), rgba(232,214,164,.045) 38%, transparent 78%),
    radial-gradient(circle at 100% 10%, rgba(116,165,214,.070), transparent 36%);
  height:1px;
  bottom:auto;
}
.public-access-teaser-layer.is-public-module-blocker .public-access-teaser-kicker{
  color:rgba(232,214,164,.82);
  letter-spacing:.18em;
}
.public-access-teaser-module{
  display:inline-flex;
  align-items:center;
  width:max-content;
  max-width:100%;
  margin:0 0 16px;
  padding:7px 11px;
  border:1px solid rgba(232,214,164,.16);
  border-radius:999px;
  background:rgba(232,214,164,.045);
  color:rgba(232,214,164,.86);
  font-size:.82rem;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.public-access-teaser-layer.is-public-module-blocker .public-access-teaser-summary{
  max-width:60ch;
  color:rgba(225,235,245,.78);
}
.public-access-teaser-layer.is-public-module-blocker .public-access-teaser-lock{
  background:linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.018));
  border-color:rgba(232,214,164,.16);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.030);
}
.public-access-teaser-layer.is-public-module-blocker .public-access-teaser-secondary:hover,
.public-access-teaser-layer.is-public-module-blocker .public-access-teaser-close:hover{
  border-color:rgba(232,214,164,.22);
  color:rgba(246,249,255,.92);
}
.icon-btn.is-public-disabled[aria-disabled="true"]{
  cursor:help;
}
@media (max-width:760px){
  .public-access-teaser-layer.is-public-module-blocker .public-access-teaser-card{
    width:100%;
    border-radius:24px 24px 20px 20px;
  }
  .public-access-teaser-module{
    white-space:normal;
  }
}

/* Patch D — Account Access visual alignment polish
   Visual-only: center the voluntary sign-in heading stack and align the title with the CCR brand typography. */
body.ccr-entry-login-voluntary .ccr-entry-login-head{
  position:relative;
  display:grid;
  grid-template-columns:1fr;
  justify-items:center;
  align-items:start;
  text-align:center;
  gap:.32rem;
  padding:0 44px;
  margin:0 0 .74rem;
}
body.ccr-entry-login-voluntary .ccr-entry-login-titleblock{
  width:100%;
  display:grid;
  justify-items:center;
  text-align:center;
  gap:.24rem;
  min-width:0;
}
body.ccr-entry-login-voluntary .ccr-entry-login-kicker{
  font-family:Inter, "Noto Sans JP", system-ui, sans-serif;
  color:rgba(201,213,228,.66);
  font-size:.66rem;
  font-weight:800;
  letter-spacing:.22em;
  line-height:1;
}
body.ccr-entry-login-voluntary .ccr-entry-login-title{
  font-family:Inter, "Noto Sans JP", system-ui, sans-serif;
  color:rgba(232,214,164,.94);
  font-size:clamp(1.20rem, 2.55vw, 1.48rem);
  font-weight:800;
  letter-spacing:.005em;
  line-height:1.12;
  text-align:center;
  text-wrap:balance;
}
body.ccr-entry-login-voluntary .ccr-entry-login-context{
  max-width:340px;
  margin:-.08rem auto 1.04rem;
  text-align:center;
  color:rgba(220,230,241,.66);
}
body.ccr-entry-login-voluntary .ccr-entry-login-close{
  position:absolute;
  top:-3px;
  right:0;
}
body.ccr-entry-login-voluntary .ccr-entry-login-id-block{
  justify-items:center;
  gap:9px;
}
body.ccr-entry-login-voluntary .ccr-entry-login-id-label{
  width:100%;
  text-align:center;
  letter-spacing:.16em;
}
body.ccr-entry-login-voluntary .ccr-entry-login-id-input{
  text-align:left;
}
@media (max-width:760px){
  body.ccr-entry-login-voluntary .ccr-entry-login-head{
    padding-inline:38px;
    margin-bottom:.66rem;
  }
  body.ccr-entry-login-voluntary .ccr-entry-login-title{
    font-size:clamp(1.18rem, 5.3vw, 1.36rem);
  }
  body.ccr-entry-login-voluntary .ccr-entry-login-context{
    max-width:300px;
    margin-bottom:.94rem;
  }
}


/* Patch I2 — conservative mobile SIP compression for public module blockers
   Mobile-only, tightly scoped to blocker content. Does not alter outer overlay hit layers, dock, launchers, or global positioning. */
@media (max-width:760px){
  .public-access-teaser-layer.is-public-module-blocker .public-access-teaser-body{
    padding:22px 18px 20px;
  }
  .public-access-teaser-layer.is-public-module-blocker .public-access-teaser-kicker{
    margin:0 48px 7px 0;
    font-size:.66rem;
    letter-spacing:.16em;
  }
  .public-access-teaser-layer.is-public-module-blocker .public-access-teaser-card h2{
    margin:0 48px 9px 0;
    font-size:clamp(1.42rem, 7.4vw, 1.82rem);
    line-height:1.04;
    letter-spacing:-.044em;
  }
  .public-access-teaser-layer.is-public-module-blocker .public-access-teaser-module{
    margin:0 0 10px;
    padding:6px 10px;
    font-size:.72rem;
    letter-spacing:.06em;
  }
  .public-access-teaser-layer.is-public-module-blocker .public-access-teaser-summary{
    margin:0 0 11px;
    font-size:.90rem;
    line-height:1.36;
  }
  .public-access-teaser-layer.is-public-module-blocker .public-access-teaser-lock{
    display:block;
    margin:0 0 12px;
    padding:10px 12px;
    border-radius:16px;
  }
  .public-access-teaser-layer.is-public-module-blocker .public-access-teaser-lock strong{
    display:block;
    margin:0 0 3px;
    font-size:.70rem;
    letter-spacing:.095em;
  }
  .public-access-teaser-layer.is-public-module-blocker .public-access-teaser-lock span{
    display:block;
    font-size:.80rem;
    line-height:1.32;
  }
  .public-access-teaser-layer.is-public-module-blocker .public-access-teaser-list{
    display:none !important;
  }
  .public-access-teaser-layer.is-public-module-blocker .public-access-teaser-actions{
    display:grid;
    grid-template-columns:1fr;
    gap:8px;
    margin:0;
  }
  .public-access-teaser-layer.is-public-module-blocker .public-access-teaser-primary,
  .public-access-teaser-layer.is-public-module-blocker .public-access-teaser-secondary{
    width:100%;
    min-height:42px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:10px 14px;
    font-size:.80rem;
    text-transform:uppercase;
  }
}
@media (max-width:420px){
  .public-access-teaser-layer.is-public-module-blocker .public-access-teaser-body{
    padding:20px 16px 18px;
  }
  .public-access-teaser-layer.is-public-module-blocker .public-access-teaser-card h2{
    font-size:clamp(1.34rem, 8.2vw, 1.66rem);
  }
  .public-access-teaser-layer.is-public-module-blocker .public-access-teaser-summary{
    font-size:.86rem;
    line-height:1.32;
  }
}
@media (max-width:760px) and (max-height:700px){
  .public-access-teaser-layer.is-public-module-blocker .public-access-teaser-body{
    padding-top:18px;
    padding-bottom:16px;
  }
  .public-access-teaser-layer.is-public-module-blocker .public-access-teaser-card h2{
    font-size:clamp(1.28rem, 7.1vw, 1.54rem);
    margin-bottom:7px;
  }
  .public-access-teaser-layer.is-public-module-blocker .public-access-teaser-summary{
    font-size:.82rem;
    line-height:1.28;
  }
  .public-access-teaser-layer.is-public-module-blocker .public-access-teaser-lock span{
    font-size:.76rem;
    line-height:1.26;
  }
}


/* Patch J — public Account Access button in CCR ribbon tab row */
body[data-page="home"] .ccr-intelligence-ribbon__tab-scroll-shell.has-public-signin{
  padding-right:76px !important;
}
body[data-page="home"] .ccr-intelligence-ribbon__tab-scroll-shell.has-public-signin .ccr-intelligence-ribbon__tabs{
  padding-right:84px !important;
}
body[data-page="home"] .ccr-intelligence-ribbon__public-signin{
  position:absolute !important;
  right:8px !important;
  bottom:4px !important;
  z-index:32 !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-width:62px !important;
  min-height:30px !important;
  padding:6px 12px !important;
  border-radius:999px !important;
  border:1px solid rgba(235,202,136,.42) !important;
  background:linear-gradient(180deg, rgba(232,190,112,.18), rgba(232,190,112,.075)) !important;
  color:rgba(255,247,229,.94) !important;
  box-shadow:0 8px 18px rgba(0,0,0,.20), inset 0 1px 0 rgba(255,247,229,.12) !important;
  font:700 .74rem/1 Inter, "Noto Sans JP", sans-serif !important;
  letter-spacing:.018em !important;
  text-transform:none !important;
  cursor:pointer !important;
  touch-action:manipulation !important;
  white-space:nowrap !important;
}
body[data-page="home"] .ccr-intelligence-ribbon__public-signin:hover,
body[data-page="home"] .ccr-intelligence-ribbon__public-signin:focus-visible{
  border-color:rgba(255,224,154,.66) !important;
  background:linear-gradient(180deg, rgba(232,190,112,.24), rgba(232,190,112,.11)) !important;
  color:rgba(255,252,241,.98) !important;
  outline:none !important;
  transform:translateY(-1px) !important;
}
body[data-page="home"] .ccr-intelligence-ribbon__public-signin:active{
  transform:translateY(0) scale(.98) !important;
}
@media (max-width:760px){
  body[data-page="home"] .ccr-intelligence-ribbon__tab-scroll-shell.has-public-signin{
    padding-right:64px !important;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__tab-scroll-shell.has-public-signin .ccr-intelligence-ribbon__tabs{
    padding-right:72px !important;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__public-signin{
    right:6px !important;
    bottom:7px !important;
    min-width:50px !important;
    min-height:24px !important;
    padding:4px 8px !important;
    font-size:.65rem !important;
    letter-spacing:.004em !important;
    box-shadow:0 6px 12px rgba(0,0,0,.20), inset 0 1px 0 rgba(255,247,229,.11) !important;
  }
}

/* Patch J2 — extend CCR ribbon tab seam under public Sign in affordance */
@media (max-width:760px){
  body[data-page="home"] .ccr-intelligence-ribbon__tab-scroll-shell.has-public-signin::after{
    content:"" !important;
    display:block !important;
    position:absolute !important;
    left:0 !important;
    right:0 !important;
    bottom:0 !important;
    height:1px !important;
    width:auto !important;
    background:linear-gradient(90deg, rgba(235,202,136,.54), rgba(235,202,136,.72) 72%, rgba(235,202,136,.76) 100%) !important;
    box-shadow:0 0 12px rgba(232,190,112,.13), 0 1px 0 rgba(255,244,214,.09) !important;
    pointer-events:none !important;
    z-index:31 !important;
    opacity:1 !important;
  }
}


/* Patch J4 — mobile Sign in pill vertical nudge and brighter tab seam */
@media (max-width:760px){
  body[data-page="home"] .ccr-intelligence-ribbon__public-signin{
    bottom:11px !important;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__tab-scroll-shell.has-public-signin::after{
    background:linear-gradient(90deg, rgba(235,202,136,.72), rgba(235,202,136,.86) 72%, rgba(235,202,136,.90) 100%) !important;
    box-shadow:0 0 14px rgba(232,190,112,.20), 0 1px 0 rgba(255,244,214,.16) !important;
    z-index:34 !important;
  }
}


/* Patch J5 — mobile logged-in initials badge inside site-title block */
body[data-page="home"] .site-title-mobile-user-badge{
  display:none;
}
@media (max-width:760px){
  body[data-page="home"] .masthead h1[data-site-title] .site-title-mobile-user-badge{
    position:absolute;
    top:12px;
    right:14px;
    z-index:3;
    width:34px;
    height:34px;
    min-width:34px;
    min-height:34px;
    border-radius:999px;
    display:none;
    align-items:center;
    justify-content:center;
    border:1px solid rgba(235,202,136,.56);
    background:radial-gradient(circle at 34% 24%, rgba(255,241,205,.17), rgba(232,190,112,.12) 38%, rgba(8,19,33,.60) 100%);
    box-shadow:0 8px 18px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,248,223,.18), 0 0 0 1px rgba(255,255,255,.04);
    color:rgba(255,247,229,.94);
    font:800 .72rem/1 Inter, "Noto Sans JP", system-ui, sans-serif;
    letter-spacing:.065em;
    text-align:center;
    pointer-events:none;
    text-transform:uppercase;
  }
  body[data-page="home"].home-mobile-user-badge-active .masthead h1[data-site-title] .site-title-mobile-user-badge:not([hidden]){
    display:inline-flex;
  }
  body[data-page="home"].home-mobile-user-badge-active .masthead h1[data-site-title]{
    padding-right:58px !important;
  }
  body[data-page="home"].home-mobile-user-badge-active .masthead h1[data-site-title] .site-title-text{
    display:inline-block;
    transform:translateX(-10px);
    transition:transform 180ms ease;
  }
}
@media (max-width:420px){
  body[data-page="home"] .masthead h1[data-site-title] .site-title-mobile-user-badge{
    top:10px;
    right:12px;
    width:31px;
    height:31px;
    min-width:31px;
    min-height:31px;
    font-size:.66rem;
  }
  body[data-page="home"].home-mobile-user-badge-active .masthead h1[data-site-title]{
    padding-right:52px !important;
  }
  body[data-page="home"].home-mobile-user-badge-active .masthead h1[data-site-title] .site-title-text{
    transform:translateX(-8px);
  }
}


/* Patch J6 — keep CCR ribbon public Sign in affordance mobile-only */
@media (min-width:761px){
  body[data-page="home"] .ccr-intelligence-ribbon__tab-scroll-shell.has-public-signin{
    padding-right:0 !important;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__tab-scroll-shell.has-public-signin .ccr-intelligence-ribbon__tabs{
    padding-right:0 !important;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__tab-scroll-shell.has-public-signin::after{
    content:none !important;
    display:none !important;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__public-signin{
    display:none !important;
  }
}

/* r9373 / Patch N: Public Settings Overlay section policy prompts */
body[data-page="home"] .settings-public-inline-prompt{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:22px;
  padding:3px 8px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.42);
  background:rgba(255,255,255,.105);
  color:#fff;
  font-family:Inter, "Noto Sans JP", system-ui, sans-serif;
  font-size:.62rem;
  font-weight:650;
  letter-spacing:.01em;
  text-transform:none;
  line-height:1;
  white-space:nowrap;
  box-shadow:0 5px 14px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.12);
  cursor:pointer;
}
body[data-page="home"] .settings-public-inline-prompt[hidden]{
  display:none !important;
}
body[data-page="home"] .settings-section-meta[hidden]{
  display:none !important;
}
body[data-page="home"] .settings-shell-section--public-locked > :not(.settings-section-heading){
  display:none !important;
  height:0 !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  overflow:hidden !important;
}
body[data-page="home"] .settings-shell-section--public-locked[data-settings-section="clientDashboards"],
body[data-page="home"] .settings-shell-section--public-locked[data-settings-section="manager"],
body[data-page="home"] .settings-shell-section--public-locked[data-settings-section="discovery"]{
  gap:0 !important;
}
body[data-page="home"] .settings-public-inline-prompt:hover,
body[data-page="home"] .settings-public-inline-prompt:focus-visible{
  border-color:rgba(255,255,255,.68);
  background:rgba(255,255,255,.17);
  color:#fff;
  outline:none;
}
body[data-page="home"] .settings-shell-section--public-locked .settings-section-toggle{
  display:none !important;
}
body[data-page="home"] .settings-shell-section--public-locked .settings-section-heading-row{
  cursor:default;
}
body[data-page="home"] .settings-shell-section--public-locked .settings-section-heading-row[aria-disabled="true"]{
  opacity:1;
}
@media (max-width:760px){
  body[data-page="home"] .settings-public-inline-prompt{
    min-height:21px;
    padding:3px 7px;
    font-size:.60rem;
    letter-spacing:.005em;
  }
  body[data-page="home"] .settings-shell-section--public-limited .settings-section-heading-main,
  body[data-page="home"] .settings-shell-section--public-locked .settings-section-heading-main{
    gap:7px !important;
  }
}


/* Patch P — desktop public Sign in label + RO Universe selected-source tick */
body[data-page="home"] .home-session-badge.is-public-login .home-session-badge__text--login-simple{
  gap:0 !important;
  text-align:center !important;
}
body[data-page="home"] .home-session-badge.is-public-login .home-session-badge__text--login-simple strong{
  padding-left:0 !important;
  border-left:0 !important;
  color:rgba(237,244,252,.92) !important;
  font-size:.76rem !important;
}
body[data-page="home"] .home-session-badge.is-public-login .home-session-badge__text--login-simple strong::after{
  margin-left:4px;
}
body[data-page="home"] .rss-shell-layer .rss-create-source-btn.is-selected,
.rss-create-source-btn.is-selected{
  min-width:30px !important;
  width:30px !important;
  height:28px !important;
  padding:0 !important;
  border-radius:999px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  color:rgba(216,255,225,.96) !important;
  border-color:rgba(80,214,132,.52) !important;
  background:radial-gradient(circle at 34% 25%, rgba(132,255,174,.24), rgba(43,157,89,.18) 56%, rgba(6,26,18,.42)) !important;
  box-shadow:0 0 0 1px rgba(80,214,132,.08), inset 0 1px 0 rgba(255,255,255,.08) !important;
  font-size:.94rem !important;
  line-height:1 !important;
  font-weight:900 !important;
  letter-spacing:0 !important;
  text-transform:none !important;
}
body[data-page="home"] .rss-shell-layer .rss-create-source-btn.is-selected:hover,
body[data-page="home"] .rss-shell-layer .rss-create-source-btn.is-selected:focus-visible,
.rss-create-source-btn.is-selected:hover,
.rss-create-source-btn.is-selected:focus-visible{
  color:rgba(226,255,234,.99) !important;
  border-color:rgba(112,236,158,.70) !important;
  background:radial-gradient(circle at 34% 25%, rgba(160,255,192,.32), rgba(49,178,98,.24) 58%, rgba(6,30,19,.48)) !important;
}


/* Patch P2 — align desktop public Sign in badge with mobile subtle pill */
@media (min-width:761px){
  body[data-page="home"] .home-session-badge.is-public-login{
    min-width:0 !important;
    max-width:none !important;
    padding:4px 10px !important;
    gap:0 !important;
    justify-content:center !important;
    border:1px solid rgba(235,242,252,.22) !important;
    border-radius:999px !important;
    background:linear-gradient(180deg, rgba(255,255,255,.070), rgba(255,255,255,.030)) !important;
    color:rgba(236,244,252,.86) !important;
    box-shadow:0 6px 14px rgba(0,0,0,.14), inset 0 1px 0 rgba(255,255,255,.07) !important;
    backdrop-filter:blur(10px) !important;
  }
  body[data-page="home"] .home-session-badge.is-public-login:hover,
  body[data-page="home"] .home-session-badge.is-public-login:focus-visible{
    border-color:rgba(244,249,255,.34) !important;
    background:linear-gradient(180deg, rgba(255,255,255,.095), rgba(255,255,255,.044)) !important;
    color:rgba(248,251,255,.94) !important;
    box-shadow:0 7px 16px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.09) !important;
    outline:none !important;
  }
  body[data-page="home"] .home-session-badge.is-public-login .home-session-badge__text--login,
  body[data-page="home"] .home-session-badge.is-public-login .home-session-badge__text--login-simple{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:0 !important;
    max-width:none !important;
    min-width:0 !important;
    text-align:center !important;
    white-space:nowrap !important;
    line-height:1 !important;
  }
  body[data-page="home"] .home-session-badge.is-public-login .home-session-badge__text--login-simple strong{
    display:inline-flex !important;
    align-items:center !important;
    max-width:none !important;
    padding-left:0 !important;
    border-left:0 !important;
    color:rgba(236,244,252,.88) !important;
    font:650 .74rem/1 Inter, "Noto Sans JP", sans-serif !important;
    letter-spacing:.006em !important;
    white-space:nowrap !important;
  }
  body[data-page="home"] .home-session-badge.is-public-login .home-session-badge__text--login-simple strong::after{
    content:none !important;
    display:none !important;
  }
}

/* Patch Q — Account Access PIN field clarity
   Visual-only login UX: render the keypad PIN dots as a distinct second field while preserving keypad entry logic. */
.ccr-entry-pin-block{
  display:grid;
  gap:8px;
  margin:-2px 0 10px;
}
.ccr-entry-pin-label{
  color:var(--text-2);
  font-size:12px;
  font-weight:700;
  letter-spacing:.12em;
  line-height:1;
  text-transform:uppercase;
}
.ccr-entry-pin-field{
  width:100%;
  min-height:46px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 16px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  background:linear-gradient(180deg, rgba(17,27,38,.78), rgba(19,31,44,.68));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03), 0 10px 26px rgba(0,0,0,.18);
}
.ccr-entry-pin-field .ccr-entry-code-dots{
  margin:0;
}
body.ccr-entry-login-voluntary .ccr-entry-pin-block{
  justify-items:center;
  margin:-2px 0 8px;
}
body.ccr-entry-login-voluntary .ccr-entry-pin-label,
body.ccr-entry-login-required .ccr-entry-pin-label{
  color:rgba(232,214,164,.62) !important;
}
body.ccr-entry-login-voluntary .ccr-entry-pin-label{
  width:100%;
  text-align:center;
  letter-spacing:.16em;
}
body.ccr-entry-login-voluntary .ccr-entry-pin-field,
body.ccr-entry-login-required .ccr-entry-pin-field{
  border-color:rgba(232,214,164,.14);
  background:linear-gradient(180deg, rgba(16,27,39,.76), rgba(13,23,35,.62));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035), 0 10px 24px rgba(0,0,0,.18);
}
body.ccr-entry-login-voluntary .ccr-entry-keypad-prompt,
body.ccr-entry-login-required .ccr-entry-keypad-prompt{
  color:rgba(225,235,246,.76);
  font-size:.88rem;
  letter-spacing:.035em;
}
@media (max-width:760px){
  .ccr-entry-pin-block{
    gap:7px;
    margin:-4px 0 7px;
  }
  .ccr-entry-pin-field{
    min-height:40px;
    border-radius:14px;
    padding-inline:14px;
  }
  .ccr-entry-pin-field .ccr-entry-code-dots{
    gap:8px;
  }
  .ccr-entry-pin-field .ccr-entry-code-dot{
    width:9px;
    height:9px;
  }
  body.ccr-entry-login-voluntary .ccr-entry-keypad-prompt,
  body.ccr-entry-login-required .ccr-entry-keypad-prompt{
    font-size:.80rem;
  }
}


/* Patch Q2 — mobile Account Access Login ID to PIN transition polish
   Mobile-only visual guidance. Keeps keypad PIN logic and authentication flow unchanged. */
.ccr-entry-pin-cue{
  display:none;
}
@media (max-width:760px){
  body.ccr-entry-login-voluntary .ccr-entry-pin-cue,
  body.ccr-entry-login-required .ccr-entry-pin-cue{
    display:block;
    width:100%;
    margin:-2px auto 5px;
    color:rgba(226,236,247,.62);
    font-size:.72rem;
    font-weight:700;
    line-height:1.28;
    letter-spacing:.012em;
    text-align:center;
  }
  .ccr-entry-keypad-slot[data-login-ready="true"][data-length="0"] .ccr-entry-pin-cue{
    color:rgba(232,214,164,.88);
  }
  .ccr-entry-keypad-slot[data-login-ready="true"][data-length="0"] .ccr-entry-pin-field{
    border-color:rgba(232,214,164,.34) !important;
    box-shadow:0 0 0 3px rgba(232,214,164,.08), inset 0 1px 0 rgba(255,255,255,.04), 0 12px 24px rgba(0,0,0,.18) !important;
  }
  .ccr-entry-keypad-slot[data-login-ready="true"][data-length="0"] .ccr-entry-keypad-prompt{
    margin-top:0;
    color:rgba(225,235,246,.58) !important;
    font-size:.72rem !important;
  }
}

/* Patch Q4 — compact Account Access keypad and make mobile initials badge open SO */
body.ccr-entry-login-voluntary .ccr-entry-keypad-shell,
body.ccr-entry-login-required .ccr-entry-keypad-shell{
  width:min(392px, calc(100vw - 34px));
  max-width:392px;
}
body.ccr-entry-login-voluntary .ccr-entry-keypad-panel,
body.ccr-entry-login-required .ccr-entry-keypad-panel{
  padding:clamp(15px, 2.7vw, 22px) !important;
  border-radius:21px !important;
  box-shadow:0 22px 62px rgba(0,0,0,.31), inset 0 1px 0 rgba(255,255,255,.04), 0 0 0 1px rgba(232,214,164,.035) !important;
}
body.ccr-entry-login-voluntary .ccr-entry-login-head,
body.ccr-entry-login-required .ccr-entry-login-head{
  margin-bottom:.46rem;
}
body.ccr-entry-login-voluntary .ccr-entry-login-titleblock,
body.ccr-entry-login-required .ccr-entry-login-titleblock{
  gap:.12rem;
}
body.ccr-entry-login-voluntary .ccr-entry-login-kicker,
body.ccr-entry-login-required .ccr-entry-login-kicker{
  font-size:.60rem;
  letter-spacing:.15em;
}
body.ccr-entry-login-voluntary .ccr-entry-login-title,
body.ccr-entry-login-required .ccr-entry-login-title{
  font-size:clamp(1.02rem, 2.25vw, 1.22rem) !important;
  line-height:1.1;
}
body.ccr-entry-login-voluntary .ccr-entry-login-context,
body.ccr-entry-login-required .ccr-entry-login-context{
  margin:-.12rem 0 .72rem !important;
  font-size:.75rem !important;
  line-height:1.34 !important;
}
body.ccr-entry-login-voluntary .ccr-entry-login-close,
body.ccr-entry-login-required .ccr-entry-login-close{
  width:29px;
  height:29px;
  min-width:29px;
  font-size:1rem;
}
body.ccr-entry-login-voluntary .ccr-entry-login-id-block,
body.ccr-entry-login-required .ccr-entry-login-id-block{
  gap:6px;
  margin-bottom:10px;
}
body.ccr-entry-login-voluntary .ccr-entry-login-id-label,
body.ccr-entry-login-required .ccr-entry-login-id-label,
body.ccr-entry-login-voluntary .ccr-entry-pin-label,
body.ccr-entry-login-required .ccr-entry-pin-label{
  font-size:10px;
}
body.ccr-entry-login-voluntary .ccr-entry-login-id-input,
body.ccr-entry-login-required .ccr-entry-login-id-input{
  min-height:42px !important;
  border-radius:14px !important;
  padding-inline:13px !important;
  font-size:.92rem !important;
}
body.ccr-entry-login-voluntary .ccr-entry-pin-block,
body.ccr-entry-login-required .ccr-entry-pin-block{
  gap:6px;
  margin:-1px 0 6px !important;
}
body.ccr-entry-login-voluntary .ccr-entry-pin-field,
body.ccr-entry-login-required .ccr-entry-pin-field{
  min-height:38px !important;
  border-radius:13px !important;
  padding-inline:12px !important;
}
body.ccr-entry-login-voluntary .ccr-entry-pin-field .ccr-entry-code-dots,
body.ccr-entry-login-required .ccr-entry-pin-field .ccr-entry-code-dots{
  gap:8px;
}
body.ccr-entry-login-voluntary .ccr-entry-pin-field .ccr-entry-code-dot,
body.ccr-entry-login-required .ccr-entry-pin-field .ccr-entry-code-dot{
  width:8px;
  height:8px;
}
body.ccr-entry-login-voluntary .ccr-entry-pin-cue,
body.ccr-entry-login-required .ccr-entry-pin-cue{
  margin:-1px auto 3px !important;
  font-size:.68rem !important;
}
body.ccr-entry-login-voluntary .ccr-entry-keypad-prompt,
body.ccr-entry-login-required .ccr-entry-keypad-prompt{
  font-size:.76rem !important;
  line-height:1.2 !important;
}
body.ccr-entry-login-voluntary .ccr-entry-keypad-status,
body.ccr-entry-login-required .ccr-entry-keypad-status{
  min-height:1.12em;
  margin:5px 0 10px !important;
  font-size:11px;
}
body.ccr-entry-login-voluntary .ccr-entry-keypad-grid,
body.ccr-entry-login-required .ccr-entry-keypad-grid{
  gap:9px;
}
body.ccr-entry-login-voluntary .ccr-entry-key,
body.ccr-entry-login-required .ccr-entry-key{
  min-height:52px !important;
  border-radius:14px !important;
  font-size:clamp(18px, 3.4vw, 24px) !important;
}
body.ccr-entry-login-voluntary .ccr-entry-key--delete,
body.ccr-entry-login-voluntary .ccr-entry-key--unlock,
body.ccr-entry-login-required .ccr-entry-key--delete,
body.ccr-entry-login-required .ccr-entry-key--unlock{
  font-size:.74rem !important;
  letter-spacing:.06em !important;
}
body.ccr-entry-login-voluntary .ccr-entry-login-return{
  margin:.62rem 0 0 !important;
  min-height:36px !important;
  font-size:.70rem !important;
  letter-spacing:.045em !important;
}
@media (max-width:760px){
  body.ccr-entry-login-voluntary .ccr-entry-keypad-slot,
  body.ccr-entry-login-required .ccr-entry-keypad-slot{
    padding:max(10px, env(safe-area-inset-top)) 14px max(10px, env(safe-area-inset-bottom)) 14px !important;
    align-items:flex-start !important;
  }
  body.ccr-entry-login-voluntary .ccr-entry-keypad-shell,
  body.ccr-entry-login-required .ccr-entry-keypad-shell{
    width:min(342px, calc(100vw - 28px)) !important;
    margin-top:clamp(4px, 2.4svh, 18px) !important;
  }
  body.ccr-entry-login-voluntary .ccr-entry-keypad-panel,
  body.ccr-entry-login-required .ccr-entry-keypad-panel{
    padding:13px 13px 12px !important;
    border-radius:18px !important;
    max-height:calc(100dvh - max(20px, env(safe-area-inset-top)) - max(20px, env(safe-area-inset-bottom))) !important;
    overflow-y:auto;
    overscroll-behavior:contain;
  }
  body.ccr-entry-login-voluntary .ccr-entry-login-head,
  body.ccr-entry-login-required .ccr-entry-login-head{
    align-items:center;
    margin-bottom:.38rem;
  }
  body.ccr-entry-login-voluntary .ccr-entry-login-title,
  body.ccr-entry-login-required .ccr-entry-login-title{
    font-size:1.02rem !important;
  }
  body.ccr-entry-login-voluntary .ccr-entry-login-context,
  body.ccr-entry-login-required .ccr-entry-login-context{
    margin:-.06rem 0 .58rem !important;
    font-size:.70rem !important;
    line-height:1.28 !important;
  }
  body.ccr-entry-login-voluntary .ccr-entry-login-id-input,
  body.ccr-entry-login-required .ccr-entry-login-id-input{
    min-height:38px !important;
    border-radius:12px !important;
    font-size:.88rem !important;
  }
  body.ccr-entry-login-voluntary .ccr-entry-pin-field,
  body.ccr-entry-login-required .ccr-entry-pin-field{
    min-height:34px !important;
    border-radius:12px !important;
  }
  body.ccr-entry-login-voluntary .ccr-entry-key,
  body.ccr-entry-login-required .ccr-entry-key{
    min-height:44px !important;
    border-radius:12px !important;
    font-size:1.05rem !important;
  }
  body.ccr-entry-login-voluntary .ccr-entry-key--delete,
  body.ccr-entry-login-voluntary .ccr-entry-key--unlock,
  body.ccr-entry-login-required .ccr-entry-key--delete,
  body.ccr-entry-login-required .ccr-entry-key--unlock{
    font-size:.66rem !important;
  }
  body.ccr-entry-login-voluntary .ccr-entry-login-return{
    min-height:34px !important;
    margin-top:.50rem !important;
  }
}
@media (max-width:420px){
  body.ccr-entry-login-voluntary .ccr-entry-keypad-shell,
  body.ccr-entry-login-required .ccr-entry-keypad-shell{
    width:min(328px, calc(100vw - 24px)) !important;
  }
  body.ccr-entry-login-voluntary .ccr-entry-keypad-panel,
  body.ccr-entry-login-required .ccr-entry-keypad-panel{
    padding:12px 12px 11px !important;
  }
  body.ccr-entry-login-voluntary .ccr-entry-keypad-grid,
  body.ccr-entry-login-required .ccr-entry-keypad-grid{
    gap:8px;
  }
  body.ccr-entry-login-voluntary .ccr-entry-key,
  body.ccr-entry-login-required .ccr-entry-key{
    min-height:42px !important;
  }
}
@media (max-width:760px){
  body[data-page="home"].home-mobile-user-badge-active .masthead h1[data-site-title] .site-title-mobile-user-badge:not([hidden]){
    pointer-events:auto;
    cursor:pointer;
  }
  body[data-page="home"] .masthead h1[data-site-title] .site-title-mobile-user-badge:focus-visible{
    outline:2px solid rgba(255,242,205,.80);
    outline-offset:3px;
  }
  body[data-page="home"] .masthead h1[data-site-title] .site-title-mobile-user-badge:hover,
  body[data-page="home"] .masthead h1[data-site-title] .site-title-mobile-user-badge:focus-visible{
    border-color:rgba(255,224,154,.74);
    background:radial-gradient(circle at 34% 24%, rgba(255,241,205,.22), rgba(232,190,112,.16) 38%, rgba(8,19,33,.64) 100%);
  }
}

/* r2 — mobile lower utility buttons: force Search-weight typography after all legacy button layers.
   Keeps View Archive / Invite Friend / About Site visually quieter on mobile only. */
@media (max-width:760px){
  body[data-page="home"] #homeFilterForm .filter-actions .home-rss-archive-btn,
  body[data-page="home"] .footer-about-wrap .footer-invite-friend-btn,
  body[data-page="home"] .footer-about-wrap .footer-about-btn{
    font-family:Inter,"Noto Sans JP",system-ui,sans-serif !important;
    font-size:.74rem !important;
    font-weight:400 !important;
    letter-spacing:0 !important;
    text-transform:none !important;
    line-height:1.05 !important;
  }
  body[data-page="home"] #homeFilterForm .filter-actions .home-rss-archive-btn *,
  body[data-page="home"] .footer-about-wrap .footer-invite-friend-btn *,
  body[data-page="home"] .footer-about-wrap .footer-about-btn *{
    font-weight:400 !important;
    letter-spacing:0 !important;
    text-transform:none !important;
  }
}

/* r3 — mobile lower utility buttons: exact Search button color/brightness parity.
   Applies the same muted white-glass treatment to Search, View Archive, Invite Friend, and About Site on mobile. */
@media (max-width:760px){
  body[data-page="home"] #homeFilterForm .filter-actions .ui-btn[data-search-filters],
  body[data-page="home"] #homeFilterForm .filter-actions .home-rss-archive-btn,
  body[data-page="home"] .footer-about-wrap .footer-invite-friend-btn,
  body[data-page="home"] .footer-about-wrap .footer-about-btn{
    min-height:0 !important;
    height:auto !important;
    padding:8px 12px !important;
    border-radius:999px !important;
    border:1px solid var(--border) !important;
    background:rgba(255,255,255,.03) !important;
    color:rgba(233,240,247,.66) !important;
    opacity:.82 !important;
    box-shadow:none !important;
    font-family:Inter,"Noto Sans JP",system-ui,sans-serif !important;
    font-size:.8rem !important;
    font-weight:400 !important;
    letter-spacing:0 !important;
    line-height:1.05 !important;
    text-transform:none !important;
    text-shadow:none !important;
  }
  body[data-page="home"] #homeFilterForm .filter-actions .ui-btn[data-search-filters]:hover,
  body[data-page="home"] #homeFilterForm .filter-actions .ui-btn[data-search-filters]:focus-visible,
  body[data-page="home"] #homeFilterForm .filter-actions .home-rss-archive-btn:hover,
  body[data-page="home"] #homeFilterForm .filter-actions .home-rss-archive-btn:focus-visible,
  body[data-page="home"] .footer-about-wrap .footer-invite-friend-btn:hover,
  body[data-page="home"] .footer-about-wrap .footer-invite-friend-btn:focus-visible,
  body[data-page="home"] .footer-about-wrap .footer-about-btn:hover,
  body[data-page="home"] .footer-about-wrap .footer-about-btn:focus-visible{
    background:rgba(255,255,255,.06) !important;
    color:rgba(233,240,247,.66) !important;
    opacity:.82 !important;
    box-shadow:none !important;
    transform:translateY(-1px);
    outline:none;
  }
}


/* S9 — mobile public Sign in moved into site-title account badge slot
   Mobile-only: hides the ribbon Sign in pill, reuses the top-right site-title badge slot,
   and keeps the CCR title optically centered in both public and authenticated states. */
@media (max-width:760px){
  body[data-page="home"] .ccr-intelligence-ribbon__tab-scroll-shell.has-public-signin{
    padding-right:0 !important;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__tab-scroll-shell.has-public-signin .ccr-intelligence-ribbon__tabs{
    padding-right:0 !important;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__tab-scroll-shell.has-public-signin::after{
    content:none !important;
    display:none !important;
  }
  body[data-page="home"] .ccr-intelligence-ribbon__public-signin{
    display:none !important;
  }
  body[data-page="home"].home-mobile-account-badge-active .masthead h1[data-site-title]{
    text-align:center !important;
    padding-left:56px !important;
    padding-right:56px !important;
  }
  body[data-page="home"].home-mobile-public-signin-badge-active .masthead h1[data-site-title]{
    padding-left:68px !important;
    padding-right:68px !important;
  }
  body[data-page="home"].home-mobile-account-badge-active .masthead h1[data-site-title] .site-title-text,
  body[data-page="home"].home-mobile-user-badge-active .masthead h1[data-site-title] .site-title-text{
    display:inline-block !important;
    transform:none !important;
    transition:none !important;
  }
  body[data-page="home"].home-mobile-account-badge-active .masthead h1[data-site-title] .site-title-mobile-user-badge:not([hidden]){
    display:inline-flex !important;
    pointer-events:auto !important;
    cursor:pointer !important;
  }
  body[data-page="home"] .masthead h1[data-site-title] .site-title-mobile-user-badge.is-public-login:not([hidden]){
    width:auto !important;
    min-width:54px !important;
    max-width:66px !important;
    height:31px !important;
    min-height:31px !important;
    padding:0 9px !important;
    border-color:rgba(235,242,252,.26) !important;
    background:linear-gradient(180deg, rgba(255,255,255,.090), rgba(255,255,255,.038)) !important;
    color:rgba(239,246,253,.90) !important;
    box-shadow:0 7px 16px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.08) !important;
    font:700 .62rem/1 Inter,"Noto Sans JP",system-ui,sans-serif !important;
    letter-spacing:.004em !important;
    text-transform:none !important;
    white-space:nowrap !important;
  }
  body[data-page="home"] .masthead h1[data-site-title] .site-title-mobile-user-badge.is-public-login:hover,
  body[data-page="home"] .masthead h1[data-site-title] .site-title-mobile-user-badge.is-public-login:focus-visible{
    border-color:rgba(244,249,255,.42) !important;
    background:linear-gradient(180deg, rgba(255,255,255,.120), rgba(255,255,255,.052)) !important;
    color:rgba(250,253,255,.96) !important;
  }
}
@media (max-width:420px){
  body[data-page="home"].home-mobile-account-badge-active .masthead h1[data-site-title]{
    padding-left:50px !important;
    padding-right:50px !important;
  }
  body[data-page="home"].home-mobile-public-signin-badge-active .masthead h1[data-site-title]{
    padding-left:62px !important;
    padding-right:62px !important;
  }
  body[data-page="home"] .masthead h1[data-site-title] .site-title-mobile-user-badge.is-public-login:not([hidden]){
    top:10px !important;
    right:10px !important;
    min-width:50px !important;
    max-width:60px !important;
    height:30px !important;
    min-height:30px !important;
    padding:0 8px !important;
    font-size:.59rem !important;
  }
}


/* S9B — restore mobile site-title geometry after public Sign in badge move
   Keep the new top-right account badge slot, but restore the earlier two-line title rhythm by
   removing S9 symmetric padding that narrowed the text column and caused three-line wrapping. */
@media (max-width:760px){
  body[data-page="home"].home-mobile-account-badge-active .masthead h1[data-site-title]{
    text-align:center !important;
    padding-left:18px !important;
    padding-right:58px !important;
  }
  body[data-page="home"].home-mobile-public-signin-badge-active .masthead h1[data-site-title]{
    padding-left:18px !important;
    padding-right:64px !important;
  }
  body[data-page="home"].home-mobile-account-badge-active .masthead h1[data-site-title] .site-title-text,
  body[data-page="home"].home-mobile-user-badge-active .masthead h1[data-site-title] .site-title-text{
    display:inline-block !important;
    max-width:100% !important;
    transform:translateX(-8px) !important;
    transition:transform 180ms ease !important;
  }
  body[data-page="home"].home-mobile-public-signin-badge-active .masthead h1[data-site-title] .site-title-text{
    transform:translateX(-6px) !important;
  }
  body[data-page="home"] .masthead h1[data-site-title] .site-title-mobile-user-badge.is-public-login:not([hidden]){
    min-width:48px !important;
    max-width:56px !important;
    height:29px !important;
    min-height:29px !important;
    padding:0 7px !important;
    font-size:.57rem !important;
  }
}
@media (max-width:420px){
  body[data-page="home"].home-mobile-account-badge-active .masthead h1[data-site-title]{
    padding-left:16px !important;
    padding-right:54px !important;
  }
  body[data-page="home"].home-mobile-public-signin-badge-active .masthead h1[data-site-title]{
    padding-left:16px !important;
    padding-right:58px !important;
  }
  body[data-page="home"] .masthead h1[data-site-title] .site-title-mobile-user-badge.is-public-login:not([hidden]){
    min-width:45px !important;
    max-width:52px !important;
    height:28px !important;
    min-height:28px !important;
    padding:0 6px !important;
    font-size:.55rem !important;
  }
}

/* S54F — duration-first client schedule booking */
body[data-page="home"] .settings-schedule-day-panel.is-client-booking .settings-schedule-duration-row{
  display:grid;
  gap:7px;
  padding:8px;
  border:1px solid rgba(174,200,233,.12);
  border-radius:14px;
  background:rgba(6,18,34,.30);
}
body[data-page="home"] .settings-schedule-day-panel.is-client-booking .settings-schedule-duration-row > span{
  color:rgba(232,240,252,.70);
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
}
body[data-page="home"] .settings-schedule-day-panel.is-client-booking .settings-schedule-duration-row > div{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}
body[data-page="home"] .settings-schedule-duration-chip{
  min-height:30px;
  padding:6px 10px;
  border:1px solid rgba(174,200,233,.18);
  border-radius:999px;
  background:rgba(6,18,34,.46);
  color:rgba(232,240,252,.78);
  font-size:.75rem;
  font-weight:850;
  cursor:pointer;
  transition:transform .16s ease, border-color .16s ease, background .16s ease, color .16s ease;
}
body[data-page="home"] .settings-schedule-duration-chip:not(:disabled):hover,
body[data-page="home"] .settings-schedule-duration-chip.is-selected{
  color:#fff7df;
  border-color:rgba(244,211,138,.68);
  background:linear-gradient(150deg, rgba(244,211,138,.24), rgba(66,103,151,.18));
  box-shadow:0 0 0 2px rgba(244,211,138,.12);
}
body[data-page="home"] .settings-schedule-lesson-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:8px;
}
body[data-page="home"] .settings-schedule-lesson-option{
  min-height:48px;
  display:grid;
  place-items:center;
  gap:2px;
  padding:8px 9px;
  border:1px solid rgba(126,220,166,.28);
  border-radius:15px;
  background:linear-gradient(150deg, rgba(35,132,89,.20), rgba(6,18,34,.56));
  color:rgba(238,248,255,.95);
  cursor:pointer;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.055);
  transition:transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
body[data-page="home"] .settings-schedule-lesson-option span{
  font-size:.9rem;
  font-weight:850;
  line-height:1.1;
}
body[data-page="home"] .settings-schedule-lesson-option small{
  color:rgba(232,240,252,.68);
  font-size:.65rem;
  font-weight:800;
  letter-spacing:.03em;
  text-transform:uppercase;
}
body[data-page="home"] .settings-schedule-lesson-option:not(:disabled):hover{
  transform:translateY(-1px);
  border-color:rgba(244,211,138,.54);
}
body[data-page="home"] .settings-schedule-lesson-option.is-selected{
  color:#fff7df;
  border-color:rgba(244,211,138,.78);
  background:linear-gradient(150deg, rgba(244,211,138,.30), rgba(66,103,151,.22));
  box-shadow:0 0 0 2px rgba(244,211,138,.16), 0 12px 28px rgba(0,0,0,.18);
}
@media (max-width:560px){
  body[data-page="home"] .settings-schedule-lesson-grid{
    grid-template-columns:1fr;
  }
}

/* S54I — client booked-pill cancellation */
body[data-page="home"] .settings-schedule-lesson-option--booked{
  border-color:rgba(104,157,255,.58);
  background:linear-gradient(150deg, rgba(43,94,172,.34), rgba(13,27,48,.66));
  color:#edf5ff;
  box-shadow:0 0 0 1px rgba(104,157,255,.18), inset 0 1px 0 rgba(255,255,255,.08);
}
body[data-page="home"] .settings-schedule-lesson-option--booked small{
  color:rgba(197,218,255,.86);
}
body[data-page="home"] .settings-schedule-lesson-option--booked:not(:disabled):hover{
  border-color:rgba(244,211,138,.72);
  background:linear-gradient(150deg, rgba(61,120,213,.40), rgba(37,54,83,.72));
  box-shadow:0 0 0 2px rgba(104,157,255,.18), 0 12px 28px rgba(0,0,0,.20);
}

/* S54I-r2 — client pending-request pills in availability stack */
body[data-page="home"] .settings-schedule-lesson-option--pending{
  border-color:rgba(244,211,138,.62);
  background:linear-gradient(150deg, rgba(162,112,34,.34), rgba(37,29,18,.66));
  color:#fff7df;
  box-shadow:0 0 0 1px rgba(244,211,138,.18), inset 0 1px 0 rgba(255,255,255,.08);
}
body[data-page="home"] .settings-schedule-lesson-option--pending small{
  color:rgba(255,232,184,.90);
}
body[data-page="home"] .settings-schedule-lesson-option--pending:not(:disabled):hover{
  border-color:rgba(255,232,184,.82);
  background:linear-gradient(150deg, rgba(190,135,45,.42), rgba(54,40,23,.74));
  box-shadow:0 0 0 2px rgba(244,211,138,.18), 0 12px 28px rgba(0,0,0,.20);
}

/* S54R-r13 — named same-group bookings stay visible in the private group stack */
body[data-page="home"] .settings-schedule-lesson-option--group{
  cursor:default;
  border-color:rgba(143,169,207,.38);
  background:linear-gradient(150deg, rgba(70,91,124,.26), rgba(13,25,43,.62));
  color:rgba(231,239,251,.88);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.055);
}
body[data-page="home"] .settings-schedule-lesson-option--group small{
  color:rgba(194,210,234,.76);
}
body[data-page="home"] .settings-schedule-lesson-option--group.is-pending{
  border-color:rgba(213,178,104,.42);
  border-style:dashed;
  background:linear-gradient(150deg, rgba(122,91,40,.24), rgba(35,29,20,.62));
}
body[data-page="home"] .settings-schedule-lesson-option--group.is-pending small{
  color:rgba(241,216,163,.80);
}
body[data-page="home"] .settings-schedule-lesson-option--group:not(:disabled):hover{
  transform:none;
  border-color:rgba(143,169,207,.38);
}
body[data-page="home"] .settings-schedule-lesson-option--group.is-pending:not(:disabled):hover{
  border-color:rgba(213,178,104,.42);
}
body[data-page="home"] .settings-schedule-lesson-option--anonymous{
  cursor:default;
  border-color:rgba(154,166,184,.30);
  background:linear-gradient(150deg, rgba(75,84,98,.22), rgba(15,24,38,.58));
  color:rgba(224,231,241,.82);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045);
}
body[data-page="home"] .settings-schedule-lesson-option--anonymous small{
  color:rgba(194,203,217,.70);
}
body[data-page="home"] .settings-schedule-lesson-option--anonymous:not(:disabled):hover{
  transform:none;
  border-color:rgba(154,166,184,.30);
}

/* S54I-r3 — center-align client schedule duration chips and lesson pills */
body[data-page="home"] .settings-schedule-day-panel.is-client-booking .settings-schedule-duration-row{
  text-align:center;
  justify-items:center;
}
body[data-page="home"] .settings-schedule-day-panel.is-client-booking .settings-schedule-duration-row > span{
  width:100%;
  text-align:center;
}
body[data-page="home"] .settings-schedule-day-panel.is-client-booking .settings-schedule-duration-row > div{
  width:100%;
  justify-content:center;
  align-items:center;
}
body[data-page="home"] .settings-schedule-duration-chip{
  text-align:center;
}
body[data-page="home"] .settings-schedule-lesson-grid{
  width:100%;
  max-width:660px;
  margin-inline:auto;
  grid-template-columns:repeat(2, minmax(220px, 320px));
  justify-content:center;
  justify-items:center;
}
body[data-page="home"] .settings-schedule-lesson-option{
  width:100%;
  max-width:320px;
  text-align:center;
  justify-self:center;
}
@media (max-width:560px){
  body[data-page="home"] .settings-schedule-lesson-grid{
    grid-template-columns:minmax(0, min(100%, 520px));
    max-width:520px;
  }
  body[data-page="home"] .settings-schedule-lesson-option{
    max-width:520px;
  }
}

/* S54I-r4 — center-align client schedule count pill ("X times · X min") */
body[data-page="home"] .settings-schedule-day-panel.is-client-booking .settings-schedule-day-panel__head{
  display:grid;
  justify-items:center;
  text-align:center;
  gap:6px;
  padding-right:0;
}
body[data-page="home"] .settings-schedule-day-panel.is-client-booking .settings-schedule-day-panel__head > div{
  width:100%;
  margin-inline:auto;
  text-align:center;
}
body[data-page="home"] .settings-schedule-day-panel.is-client-booking .settings-schedule-day-panel__head .settings-schedule-pill{
  position:static;
  transform:none;
  justify-self:center;
  margin-inline:auto;
}

/* S54O — administrator-managed RSS group sources. */
.rss-archive-folder-chip--group{
  border-color:rgba(89,202,164,.48);
  background:linear-gradient(145deg,rgba(27,91,76,.7),rgba(14,42,49,.92));
  color:#d8fff1;
}
.rss-archive-folder-chip--shared{
  border-color:rgba(232,214,164,.42);
  background:linear-gradient(145deg,rgba(89,72,36,.62),rgba(28,38,47,.92));
  color:#f2dfac;
}
.rss-archive-folder-chip--shared .rss-archive-folder-chip__icon::before{
  content:"◆";
  color:#e8d197;
}
.rss-archive-folder-chip--shared.is-active,
.rss-archive-folder-chip--shared.is-drag-over{
  border-color:#ecd99f;
  box-shadow:0 0 0 2px rgba(232,214,164,.14),0 12px 28px rgba(0,0,0,.24);
}
.rss-archive-folder-chip--group .rss-archive-folder-chip__icon::before{
  content:"◉";
  color:#7ee4c0;
}
.rss-archive-folder-chip--group.is-active,
.rss-archive-folder-chip--group.is-drag-over{
  border-color:#83e8c4;
  box-shadow:0 0 0 2px rgba(83,232,196,.16),0 12px 28px rgba(0,0,0,.24);
}
.rss-archive-overlay__grid--group{
  display:grid;
  gap:10px;
}
.rss-archive-group-source{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 16px;
  border:1px solid rgba(126,228,192,.24);
  border-radius:14px;
  background:rgba(10,35,40,.72);
}
.rss-archive-group-source > div{display:grid;gap:4px;min-width:0}
.rss-archive-group-source strong{color:#e8fff7}
.rss-archive-group-source a{overflow:hidden;text-overflow:ellipsis;color:#91d9c2;font-size:.78rem}
.rss-archive-move-option--group{border-color:rgba(89,202,164,.42);background:rgba(25,82,68,.35)}
.rss-archive-move-option--shared{border-color:rgba(232,214,164,.36);background:rgba(106,83,38,.24)}
.rss-archive-card--shared{border-color:rgba(232,214,164,.17)}
.source-feed-inherited-badge,
.settings-source-row__inherited{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:24px;
  padding:3px 9px;
  border:1px solid rgba(89,202,164,.42);
  border-radius:999px;
  background:rgba(33,117,94,.18);
  color:#77d6b5;
  font-size:.68rem;
  font-weight:700;
  letter-spacing:.04em;
  white-space:nowrap;
}
body[data-page="home"] .selected-source-feed-section .source-feed-source-card.is-inherited-only .source-feed-source-card__button{
  padding-bottom:3.8rem;
}
body[data-page="home"] .selected-source-feed-section .source-feed-source-card.is-inherited-only .source-feed-inherited-badge{
  position:absolute;
  inset:auto 0 0;
  z-index:3;
  width:100%;
  min-height:38px;
  box-sizing:border-box;
  margin:0;
  padding:7px 12px;
  border:0;
  border-top:1px solid rgba(89,202,164,.42);
  border-radius:0;
  background:linear-gradient(90deg,rgba(33,117,94,.20),rgba(43,139,108,.27),rgba(33,117,94,.20));
  box-shadow:inset 0 1px 0 rgba(151,245,211,.035);
  color:#77d6b5;
}
@media (max-width:640px){
  .rss-archive-group-source{align-items:flex-start;flex-direction:column}
  .rss-archive-group-source .ui-btn{width:100%}
}
.settings-schedule-request-mode{display:inline-flex;align-items:center;gap:.35rem;font-size:.72rem}
.settings-schedule-request-mode select{min-width:4.25rem}

/* S54R-r2 — quiet travel buffers and restore stable per-client schedule colours. */
body[data-page="home"] .settings-schedule-week-grid__cell.is-blank-blocked:not(.is-selected){
  background:rgba(255,255,255,.026) !important;
  color:transparent !important;
  box-shadow:none !important;
}
body[data-page="home"] .settings-schedule-week-grid__cell.is-weekend.is-blank-blocked:not(.is-selected){
  background:rgba(144,62,86,.105) !important;
}
body[data-page="home"] .settings-schedule-week-grid__cell.has-client-tone:not(.is-selected){
  color:rgba(248,250,255,.92) !important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.035) !important;
}
body[data-page="home"] .settings-schedule-week-grid__cell.client-tone-0:not(.is-selected){background:linear-gradient(150deg,rgba(53,116,170,.46),rgba(29,65,105,.38)) !important}
body[data-page="home"] .settings-schedule-week-grid__cell.client-tone-1:not(.is-selected){background:linear-gradient(150deg,rgba(53,145,118,.44),rgba(25,83,70,.38)) !important}
body[data-page="home"] .settings-schedule-week-grid__cell.client-tone-2:not(.is-selected){background:linear-gradient(150deg,rgba(139,91,166,.44),rgba(79,46,105,.38)) !important}
body[data-page="home"] .settings-schedule-week-grid__cell.client-tone-3:not(.is-selected){background:linear-gradient(150deg,rgba(178,109,70,.44),rgba(103,61,34,.38)) !important}
body[data-page="home"] .settings-schedule-week-grid__cell.client-tone-4:not(.is-selected){background:linear-gradient(150deg,rgba(60,137,151,.44),rgba(28,78,89,.38)) !important}
body[data-page="home"] .settings-schedule-week-grid__cell.client-tone-5:not(.is-selected){background:linear-gradient(150deg,rgba(163,76,111,.44),rgba(94,39,65,.38)) !important}
body[data-page="home"] .settings-schedule-week-grid__cell.client-tone-6:not(.is-selected){background:linear-gradient(150deg,rgba(132,126,57,.44),rgba(77,72,28,.38)) !important}
body[data-page="home"] .settings-schedule-week-grid__cell.client-tone-7:not(.is-selected){background:linear-gradient(150deg,rgba(86,103,173,.46),rgba(45,57,107,.38)) !important}
