/* Family Command Center v1.4.7e — calm, universal Standby awareness layer.
   Adds compact six-slot Jewish notices + holiday action awareness without replacing existing Standby content. */

/* Retire the older full-width/animated Standby observance presentation only.
   Calendar/Family surfaces keep their existing observance rendering. */
#fccSafeStandby #fccObservanceTiles,
#fccSafeStandby #fccSeasonalJewishAccent,
#fccSafeStandby #fccSeasonalNotice,
#fcc-rh-standby-badge{display:none!important}
#fccSafeStandby .fcc-observance-tile,
#fccSafeStandby .fcc-observance-tile:after{animation:none!important}

#fccSafeStandby .fcc-card{position:relative}
#fccSafeStandby .fcc-card.fcc-standby-awareness{width:min(1500px,100%);padding-left:210px;padding-right:210px}

.fcc-standby-notice-rail{position:absolute;top:20px;width:178px;display:flex;flex-direction:column;gap:10px;z-index:25;pointer-events:none}
.fcc-standby-notice-rail.left{left:18px}.fcc-standby-notice-rail.right{right:18px}
.fcc-standby-notice-pill{pointer-events:auto;width:100%;min-height:48px;border:1px solid rgba(255,255,255,.24);border-radius:999px;padding:9px 13px;box-sizing:border-box;color:#fff;background:rgba(30,41,59,.88);box-shadow:0 7px 22px rgba(0,0,0,.28);backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px);text-align:left;cursor:pointer;display:flex;align-items:center;gap:9px;animation:none!important;transition:transform .14s ease,border-color .14s ease}
.fcc-standby-notice-pill:hover{transform:translateY(-1px);border-color:rgba(255,255,255,.42)}
.fcc-standby-notice-pill:active{transform:scale(.985)}
.fcc-standby-notice-pill .icon{font-size:20px;flex:0 0 auto;line-height:1}.fcc-standby-notice-pill .copy{min-width:0}.fcc-standby-notice-pill b{display:block;font-size:13px;line-height:1.08;font-weight:950;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fcc-standby-notice-pill small{display:block;margin-top:3px;font-size:9px;line-height:1.1;font-weight:850;letter-spacing:.04em;text-transform:uppercase;opacity:.78;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fcc-standby-notice-pill.selichos{background:linear-gradient(135deg,rgba(73,48,123,.92),rgba(98,61,145,.90));border-color:rgba(196,146,255,.46)}
.fcc-standby-notice-pill.shofar{background:linear-gradient(135deg,rgba(86,54,10,.92),rgba(115,74,14,.90));border-color:rgba(251,191,36,.48);color:#fde68a}
.fcc-standby-notice-pill.yahrzeit,.fcc-standby-notice-pill.yizkor{background:linear-gradient(135deg,rgba(36,36,43,.94),rgba(74,74,84,.92));border-color:rgba(212,212,216,.36)}
.fcc-standby-notice-pill.eruv,.fcc-standby-notice-pill.lekach{background:linear-gradient(135deg,rgba(120,53,15,.94),rgba(180,83,9,.90));border-color:rgba(251,146,60,.48)}
.fcc-standby-notice-pill.birchas{background:linear-gradient(135deg,rgba(30,64,175,.92),rgba(37,99,235,.88));border-color:rgba(147,197,253,.48)}
.fcc-standby-notice-pill.machatzis{background:linear-gradient(135deg,rgba(6,95,70,.94),rgba(5,150,105,.86));border-color:rgba(110,231,183,.45)}
.fcc-standby-notice-pill.tashlich{background:linear-gradient(135deg,rgba(14,116,144,.92),rgba(8,145,178,.88));border-color:rgba(103,232,249,.42)}
.fcc-standby-notice-pill.other{background:linear-gradient(135deg,rgba(55,65,81,.94),rgba(75,85,99,.90))}

#fccStandbyHolidayCountdown{display:none;margin:2px auto 8px;max-width:440px;border:1px solid rgba(251,191,36,.36);background:rgba(96,62,10,.28);border-radius:15px;padding:8px 16px;color:#fff7ed;font-weight:950;font-size:14px;line-height:1.15;box-sizing:border-box}
#fccStandbyHolidayCountdown.fcc-show{display:block}#fccStandbyHolidayCountdown small{display:block;margin-top:3px;font-size:9px;font-weight:750;color:#fde68a}

#fccStandbyHolidayActions{display:none;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:5px auto 10px;width:100%;max-width:1000px;text-align:left}
#fccStandbyHolidayActions.fcc-show{display:grid}.fcc-standby-action{border:1px solid rgba(255,255,255,.20);border-radius:18px;padding:13px 15px;min-height:72px;color:#fff;box-shadow:0 8px 24px rgba(0,0,0,.22);cursor:pointer;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;text-align:left;animation:none!important}
.fcc-standby-action .aicon{font-size:29px}.fcc-standby-action b{display:block;font-size:16px;line-height:1.05;font-weight:1000}.fcc-standby-action small{display:block;margin-top:4px;font-size:10px;line-height:1.2;color:rgba(255,255,255,.72);font-weight:750}.fcc-standby-action .arrow{font-size:25px;font-weight:900;opacity:.82}.fcc-standby-action.cook{background:linear-gradient(135deg,rgba(94,45,12,.92),rgba(124,54,10,.82));border-color:rgba(251,146,60,.46)}.fcc-standby-action.shop{background:linear-gradient(135deg,rgba(4,72,50,.94),rgba(5,98,69,.84));border-color:rgba(74,222,128,.42)}.fcc-standby-action.menu{background:linear-gradient(135deg,rgba(59,31,91,.94),rgba(76,29,149,.82));border-color:rgba(192,132,252,.44)}

.fcc-standby-awareness .fcc-grid{margin-top:5px;margin-bottom:8px}.fcc-standby-awareness .fcc-learning-grid{margin-top:6px;margin-bottom:7px;gap:8px}.fcc-standby-awareness .fcc-learn-card{padding-top:10px;padding-bottom:10px}.fcc-standby-awareness .fcc-hillel{margin-top:7px;padding-top:9px}

#fccStandbyNoticeModal{position:fixed;inset:0;z-index:2147483647;background:rgba(0,0,0,.72);backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;padding:18px;box-sizing:border-box;color:#fff}#fccStandbyNoticeModal[hidden]{display:none!important}.fcc-snm-shell{width:min(650px,100%);max-height:min(760px,88vh);overflow:auto;background:#10151d;border:1px solid rgba(255,255,255,.18);border-radius:26px;padding:20px;box-shadow:0 26px 90px rgba(0,0,0,.6);text-align:left}.fcc-snm-head{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid rgba(255,255,255,.10);padding-bottom:12px;margin-bottom:12px}.fcc-snm-head h2{margin:0;font-size:24px}.fcc-snm-close{width:46px;height:46px;border:0;border-radius:50%;background:#283140;color:#fff;font-size:26px;cursor:pointer}.fcc-snm-item{border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.055);border-radius:16px;padding:13px 14px;margin:10px 0}.fcc-snm-item b{font-size:17px}.fcc-snm-item small{display:block;color:#cbd5e1;margin-top:4px;line-height:1.35}.fcc-snm-item button{margin-top:9px;border:1px solid rgba(255,255,255,.3);background:#1e293b;color:#fff;border-radius:999px;padding:7px 12px;font-weight:900}

/* Same rails on every existing Standby family: weekday, Erev Shabbos/YT, holy-day, Havdalah. */
#fccSafeStandby.fcc-holy-auto .fcc-standby-notice-rail,
#fccSafeStandby.fcc-erev-prep .fcc-standby-notice-rail{top:18px}
#fccSafeStandby.fcc-holy-auto .fcc-card.fcc-standby-awareness{padding-left:210px!important;padding-right:210px!important}

@media(max-width:1020px){
  #fccSafeStandby .fcc-card.fcc-standby-awareness{padding-left:18px;padding-right:18px;padding-top:126px}
  #fccSafeStandby.fcc-holy-auto .fcc-card.fcc-standby-awareness{padding-left:18px!important;padding-right:18px!important;padding-top:126px!important}
  .fcc-standby-notice-rail{top:14px!important;width:calc(50% - 28px);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.fcc-standby-notice-rail.left{left:18px}.fcc-standby-notice-rail.right{right:18px;top:70px!important}.fcc-standby-notice-pill{min-height:46px;padding:7px 10px}.fcc-standby-notice-pill .icon{font-size:16px}.fcc-standby-notice-pill b{font-size:11px}.fcc-standby-notice-pill small{font-size:8px}
}
@media(max-width:700px){
  #fccSafeStandby .fcc-card.fcc-standby-awareness{padding-top:116px}
  #fccSafeStandby.fcc-holy-auto .fcc-card.fcc-standby-awareness{padding-top:116px!important}
  .fcc-standby-notice-rail{width:calc(100% - 28px);left:14px!important;right:auto!important;grid-template-columns:repeat(3,minmax(0,1fr))}.fcc-standby-notice-rail.right{top:64px!important}.fcc-standby-notice-pill{border-radius:14px}.fcc-standby-notice-pill .copy small{display:none}.fcc-standby-notice-pill b{font-size:10px}.fcc-standby-notice-pill .icon{font-size:15px}
  #fccStandbyHolidayActions{grid-template-columns:1fr;gap:7px}.fcc-standby-action{min-height:52px;padding:9px 12px}.fcc-standby-action .aicon{font-size:23px}.fcc-standby-action b{font-size:14px}
}
