.esw-bc{--esw-text:#1b1c1e;--esw-surface:#fff;--esw-link:#2c5f8a;--esw-btn-bg:#222;--esw-btn-text:#fff;--esw-gold:#8a6d1d;color:var(--esw-text);--esw-border:#d9d9d9;--esw-muted:#666;--esw-bg:#fafafa;--esw-rest-bg:#fff4f2;--esw-rest-border:#b42318;max-width:980px;margin:24px auto;font-family:inherit}.esw-bc *{box-sizing:border-box}.esw-bc-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:18px}.esw-kicker{text-transform:uppercase;letter-spacing:.12em;font-size:12px;font-weight:700}.esw-bc h2{font-size:clamp(28px,4vw,44px);line-height:1.08;margin:.25em 0}.esw-lead{font-size:17px;max-width:760px;color:var(--esw-muted)}.esw-year-nav{display:flex;gap:8px}.esw-method-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.esw-card{border:1px solid var(--esw-border);border-radius:12px;padding:16px;background:var(--esw-bg)}.esw-card strong,.esw-card span{display:block}.esw-card span{margin-top:6px}.esw-notice,.esw-work-key{padding:16px 18px;border-left:4px solid currentColor;background:var(--esw-bg);margin:18px 0;line-height:1.55}.esw-work-key{border:1px solid var(--esw-border);border-left:5px solid var(--esw-rest-border);border-radius:10px}.esw-agenda{display:flex;flex-direction:column;gap:14px;margin-top:22px}.esw-agenda-item{display:grid;grid-template-columns:92px 1fr;border:1px solid var(--esw-border);border-radius:14px;overflow:hidden;background:var(--esw-surface)}.esw-agenda-item.esw-is-rest{border-left:6px solid var(--esw-rest-border)}.esw-agenda-date{background:var(--esw-bg);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:16px 8px;min-height:160px}.esw-agenda-date strong{font-size:38px;line-height:1}.esw-agenda-dow,.esw-agenda-month{text-transform:uppercase;font-weight:700;letter-spacing:.08em;font-size:12px}.esw-agenda-month{margin:8px 0 4px}.esw-agenda-body{padding:18px 20px}.esw-agenda-topline{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.esw-agenda-topline h3{font-size:21px;line-height:1.25;margin:0}.esw-badge{display:inline-block;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:800;letter-spacing:.04em;line-height:1.2;text-align:center}.esw-badge-rest{background:var(--esw-rest-bg);border:1px solid var(--esw-rest-border)}.esw-badge-normal{background:var(--esw-bg);border:1px solid var(--esw-border);color:var(--esw-muted)}.esw-biblical-date{margin:5px 0 12px;color:var(--esw-muted);font-weight:600}.esw-request-off{border:2px solid var(--esw-rest-border);background:var(--esw-rest-bg);border-radius:10px;padding:11px 13px;margin:12px 0}.esw-request-off span,.esw-request-off strong{display:block}.esw-request-off span{font-size:11px;font-weight:800;letter-spacing:.09em}.esw-request-off strong{font-size:18px;margin-top:2px}.esw-time-line,.esw-rule,.esw-note,.esw-reference{margin:9px 0;line-height:1.45}.esw-time-line span,.esw-note,.esw-reference{color:var(--esw-muted)}.esw-details{margin-top:20px;border:1px solid var(--esw-border);border-radius:12px;padding:0 16px}.esw-details summary{cursor:pointer;font-weight:700;padding:16px 0}.esw-details-body{padding:0 0 8px;line-height:1.6}.esw-credit{font-size:13px;color:var(--esw-muted);margin-top:14px}@media(max-width:720px){.esw-bc-head{display:block}.esw-method-grid{grid-template-columns:1fr}.esw-year-nav{margin-top:12px}.esw-agenda-item{grid-template-columns:68px 1fr}.esw-agenda-date{min-height:0}.esw-agenda-date strong{font-size:30px}.esw-agenda-body{padding:15px}.esw-agenda-topline{display:block}.esw-badge{margin-top:8px}.esw-request-off strong{font-size:16px}}

.esw-section-heading{margin:30px 0 14px}.esw-section-heading h3{font-size:25px;line-height:1.2;margin:4px 0 8px}.esw-section-heading p{margin:0;max-width:820px;color:var(--esw-muted);line-height:1.55}.esw-months-section{margin:30px 0}.esw-month-agenda{display:flex;flex-direction:column;gap:10px}.esw-month-item{display:grid;grid-template-columns:86px 1fr;border:1px solid var(--esw-border);border-radius:12px;overflow:hidden;background:var(--esw-surface)}.esw-month-item.esw-month-seven{border-left:6px solid var(--esw-rest-border)}.esw-month-number{display:flex;flex-direction:column;align-items:center;justify-content:center;background:var(--esw-bg);padding:13px 8px}.esw-month-number span{font-size:10px;font-weight:800;letter-spacing:.1em}.esw-month-number strong{font-size:30px;line-height:1.1;margin-top:3px}.esw-month-body{padding:14px 18px}.esw-month-topline{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.esw-month-topline h4{font-size:18px;line-height:1.25;margin:0}.esw-month-date{font-size:17px;font-weight:700;margin:6px 0}.esw-conjunction{margin:8px 0 0;color:var(--esw-muted);line-height:1.45}.esw-feasts-heading{margin-top:28px}@media(max-width:720px){.esw-month-item{grid-template-columns:62px 1fr}.esw-month-number strong{font-size:26px}.esw-month-body{padding:13px 14px}.esw-month-topline{display:block}.esw-month-topline .esw-badge{margin-top:7px}}

.esw-local-privacy{margin:18px 0 24px;padding:16px 18px;border:1px solid var(--esw-border);border-radius:12px;background:var(--esw-surface);display:grid;grid-template-columns:1fr auto;gap:12px 18px;align-items:center}.esw-local-privacy-copy strong{font-size:16px}.esw-local-privacy-copy p{margin:6px 0 0;line-height:1.55;color:var(--esw-muted)}.esw-use-location{appearance:none;border:1px solid var(--esw-btn-bg);border-radius:9px;background:var(--esw-btn-bg);color:var(--esw-btn-text);font:inherit;font-weight:700;padding:10px 14px;cursor:pointer}.esw-use-location:disabled{opacity:.65;cursor:default}.esw-location-status{grid-column:1/-1;margin:0;font-size:13px;color:var(--esw-muted)}.esw-local-observance{margin:12px 0 4px;padding:12px 14px;border:1px solid var(--esw-border);border-radius:10px;background:var(--esw-bg);line-height:1.45}.esw-local-observance p{margin:5px 0}.esw-local-title{display:block;margin-bottom:6px}.esw-local-request-off{margin-top:10px;padding:9px 11px;border:1px solid var(--esw-rest-border);border-radius:8px;background:var(--esw-rest-bg)}.esw-local-request-off span,.esw-local-request-off strong{display:block}.esw-local-request-off span{font-size:10px;font-weight:800;letter-spacing:.08em}.esw-local-request-off strong{margin-top:2px}.esw-local-observance[hidden]{display:none!important}@media(max-width:720px){.esw-local-privacy{grid-template-columns:1fr}.esw-use-location{justify-self:start}.esw-location-status{grid-column:auto}}

.esw-now-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:24px 0 30px}.esw-now-card{border:1px solid var(--esw-border);border-radius:14px;padding:18px 20px;background:var(--esw-surface)}.esw-now-card h3{font-size:22px;line-height:1.2;margin:6px 0 8px}.esw-now-card p{margin:6px 0;line-height:1.5;color:var(--esw-muted)}.esw-summary-rest{margin-top:12px;padding:10px 12px;border:1px solid var(--esw-rest-border);border-radius:9px;background:var(--esw-rest-bg)}.esw-summary-rest span,.esw-summary-rest strong{display:block}.esw-summary-rest span{font-size:11px;font-weight:800;letter-spacing:.08em}.esw-summary-rest strong{margin-top:3px}.esw-season-divider{display:flex;align-items:center;gap:16px;margin:28px 0 8px}.esw-season-divider h2{font-size:clamp(26px,3vw,34px);line-height:1.15;margin:0;font-weight:800;text-transform:none;letter-spacing:0;white-space:nowrap}.esw-season-divider:before,.esw-season-divider:after{content:"";height:1px;background:var(--esw-border);flex:1}.esw-autumn-divider{margin-top:32px}@media(max-width:720px){.esw-now-summary{grid-template-columns:1fr}.esw-now-card{padding:16px}.esw-season-divider{margin-top:24px;gap:10px}.esw-season-divider h2{font-size:28px;white-space:normal;text-align:center}}

/* v1.8.0: local timing in the top current-month / next-feast summary cards */
.esw-summary-local{margin-top:12px;padding:11px 13px;border:1px solid var(--esw-border);border-radius:9px;background:var(--esw-bg);line-height:1.45}.esw-summary-local p{margin:5px 0;color:var(--esw-muted)}.esw-summary-local .esw-local-title{color:inherit}.esw-summary-local[hidden]{display:none!important}

/* v1.9.0: live Jerusalem and local countdowns for the next biblical feast */
.esw-feast-countdowns{grid-column:1/-1;border:1px solid var(--esw-border);border-radius:14px;padding:18px 20px;background:var(--esw-surface)}
.esw-countdown-heading{margin-bottom:14px}.esw-countdown-heading h3{font-size:22px;line-height:1.2;margin:5px 0 0}
.esw-countdown-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.esw-countdown-card{min-width:0;border:1px solid var(--esw-border);border-radius:12px;padding:15px;background:var(--esw-bg)}
.esw-countdown-title{display:block;font-size:16px;margin-bottom:10px}
.esw-countdown-values{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.esw-countdown-unit{min-width:0;text-align:center;border:1px solid var(--esw-border);border-radius:9px;background:var(--esw-surface);padding:10px 5px}
.esw-countdown-unit strong{display:block;font-size:clamp(23px,3.2vw,34px);line-height:1;font-variant-numeric:tabular-nums}
.esw-countdown-unit span{display:block;margin-top:5px;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--esw-muted);overflow-wrap:anywhere}
.esw-countdown-note{margin:10px 0 0!important;font-size:13px;line-height:1.4;color:var(--esw-muted)}
.esw-countdown-pending{opacity:.8}.esw-countdown-started{grid-column:1/-1;padding:14px;text-align:center;font-weight:800;border:1px solid var(--esw-border);border-radius:9px;background:var(--esw-surface)}
@media(max-width:720px){.esw-countdown-grid{grid-template-columns:1fr}.esw-feast-countdowns{padding:16px}.esw-countdown-values{gap:6px}.esw-countdown-unit{padding:9px 3px}.esw-countdown-unit strong{font-size:26px}.esw-countdown-unit span{font-size:9px}}
@media(max-width:380px){.esw-countdown-values{grid-template-columns:repeat(2,minmax(0,1fr))}.esw-countdown-unit span{font-size:10px}}

/* v2.1.0: modular calendar layout and optically centered controls */
.esw-location-compact{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:14px 0 22px}.esw-location-more{position:relative}.esw-location-more summary{cursor:pointer;font-weight:700;text-decoration:underline;text-underline-offset:3px}.esw-location-more p{max-width:760px;margin:10px 0 0;padding:13px 15px;border:1px solid var(--esw-border);border-radius:10px;background:var(--esw-bg);line-height:1.55;color:var(--esw-muted)}.esw-location-compact .esw-location-status{flex-basis:100%}
.esw-module{margin:16px 0;border:1px solid var(--esw-border);border-radius:14px;background:var(--esw-surface);overflow:hidden}.esw-module>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;cursor:pointer;padding:17px 20px;font-size:20px;font-weight:800;line-height:1.25;list-style:none;background:var(--esw-bg)}.esw-module>summary::-webkit-details-marker{display:none}.esw-module-icon,.esw-module-close{position:relative;width:30px;height:30px;min-width:30px;min-height:30px;border:1px solid currentColor;border-radius:50%;color:inherit}.esw-module-icon{display:block;flex:0 0 30px}.esw-module-icon:before,.esw-module-icon:after,.esw-module-close span:before{content:"";position:absolute;left:50%;top:50%;width:14px;height:2px;background:currentColor;border-radius:2px;transform:translate(-50%,-50%)}.esw-module-icon:after{width:2px;height:14px}.esw-module[open] .esw-module-icon:after{display:none}.esw-module-body{padding:20px;line-height:1.62}.esw-module-body>p:first-child{margin-top:0}.esw-module-body>p:last-of-type{margin-bottom:0}.esw-module-close{display:block;margin:22px 0 0 auto;padding:0;background:var(--esw-bg);font:inherit;cursor:pointer}.esw-module-close span{display:block;position:absolute;inset:0}.esw-module-close:focus-visible,.esw-module>summary:focus-visible,.esw-use-location:focus-visible{outline:3px solid currentColor;outline-offset:3px}.esw-method-explanation h3{font-size:20px;margin:22px 0 8px}.esw-method-explanation h3:first-child{margin-top:0}.esw-method-explanation p{margin:8px 0 14px}
.esw-omer-card{margin:4px 0 14px;padding:18px 20px;border:1px solid var(--esw-border);border-left:5px solid var(--esw-gold);border-radius:12px;background:var(--esw-bg)}.esw-omer-card.is-active{border-left-width:7px}.esw-omer-card h3{margin:5px 0 8px;font-size:22px}.esw-omer-card p{margin:7px 0}.esw-module .esw-method-grid{margin-top:6px}.esw-module .esw-work-key{margin-top:0}.esw-module .esw-agenda{margin-top:0}
@media(max-width:720px){.esw-location-compact{align-items:flex-start}.esw-location-more{width:100%}.esw-module>summary{padding:15px 16px;font-size:18px}.esw-module-body{padding:16px}.esw-module-icon,.esw-module-close{width:32px;height:32px;min-width:32px;min-height:32px}}
.esw-shabbat-card{margin-top:18px;padding:16px 18px;border:1px solid var(--esw-border);border-radius:12px;background:var(--esw-bg)}.esw-shabbat-card>strong{font-size:18px}.esw-shabbat-card>p{margin:8px 0;color:var(--esw-muted)}


/* v2.2.0: most recent biblical feast */
.esw-recent-feast-module{margin:0 0 18px}.esw-recent-feast-module>summary{background:var(--esw-bg)}.esw-recent-status{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin:0 0 14px;padding:12px 14px;border:1px solid var(--esw-border);border-radius:10px;background:var(--esw-bg)}.esw-recent-status strong{font-size:15px}.esw-recent-status span{color:var(--esw-muted);font-size:13px;text-align:right;line-height:1.4}.esw-recent-status.is-current{border-left:5px solid var(--esw-rest-border)}.esw-recent-agenda{margin-top:0!important}.esw-recent-agenda .esw-agenda-item{margin-bottom:0}
@media(max-width:720px){.esw-recent-status{display:block}.esw-recent-status span{display:block;margin-top:5px;text-align:left}}


/* v2.5.0: own text colors (no theme can wash them out) + dark mode.
   Dark mode follows the TorahRooted theme (html[data-tr-theme]) or the ESW light/dark choice saved in the browser. */
.esw-bc h1,.esw-bc h2,.esw-bc h3,.esw-bc h4,.esw-bc h5,.esw-bc h6,.esw-bc summary,.esw-bc strong{color:inherit}
.esw-bc a{color:var(--esw-link)}
html[data-tr-theme="dark"] .esw-bc,.esw-bc[data-esw-theme="dark"]{--esw-text:#ecebe7;--esw-surface:#1b1e22;--esw-link:#8fbbe3;--esw-btn-bg:#ecebe7;--esw-btn-text:#121416;--esw-gold:#d9b45a;--esw-border:#4a5058;--esw-muted:#a9acb1;--esw-bg:#22272d;--esw-rest-bg:#3a201d;--esw-rest-border:#f97066;color-scheme:dark}
.esw-bc .esw-plugin-footer{font-size:12px;color:var(--esw-muted);margin-top:14px}
