/* Multi-event structure, with a restrained Simchas Torah edition of the board. */
[hidden] { display: none !important; }
.board-nav { display:flex; align-items:center; gap:1rem; padding-block:1rem; }
.board-nav a:first-child { font-family:var(--serif); font-size:1.5rem; font-weight:600; text-decoration:none; }
.board-nav select { margin-left:auto; max-width:22rem; min-width:0; }
.directory { padding-top:4rem; max-width:48rem; }
.directory h1 { font-family:var(--serif); font-size:3rem; font-weight:500; }
.shul-list { list-style:none; padding:0; margin-block:2rem; }
.shul-list li { border-top:1px solid var(--rule); padding:1.5rem 0; display:flex; flex-direction:column; gap:.35rem; }
.shul-list a { font-family:var(--serif); font-size:1.75rem; }
.shul-list span { color:var(--ink-soft); }
.closing-time { font-weight:500; margin:1rem 0; }
.alert-options { display:flex; flex-wrap:wrap; gap:1rem; margin:.75rem 0; }
.alert-options label { display:flex; gap:.5rem; align-items:center; }
.alert-options input { width:auto; }
/* .done zeroes the sheet's side padding and centres its paragraphs; the alert
   sections that follow a bid need the padding back and read left-aligned. */
.sheet.done { padding:1.5rem 1.6rem 1.6rem; }
.verification { text-align:left; margin-top:1.25rem; border-top:1px solid var(--rule); padding-top:1rem; }
.verification h3 { font-family:var(--serif); font-weight:500; font-size:1.125rem; margin:0 0 .25rem; color:var(--ink); }
.done .verification p { font-size:.9375rem; max-width:none; margin:0; }
.verification-row { display:flex; align-items:stretch; gap:.5rem; margin-top:.75rem; max-width:22rem; }
.verification-row input { flex:1; min-width:0; margin:0; font-size:1.25rem; letter-spacing:.3em; text-align:center; font-variant-numeric:tabular-nums; }
.verification-row input::placeholder { letter-spacing:normal; font-size:1rem; }
.verification-extra { display:flex; gap:1.25rem; margin-top:.6rem; font-size:.875rem; }
.verification-row[hidden], .verification-extra[hidden], .sheet-actions[hidden] { display:none; }
.link-button { background:none; border:0; padding:0; color:var(--indigo); text-decoration:underline; cursor:pointer; font:inherit; }
.link-button[disabled] { opacity:.45; cursor:default; }
/* Animated ellipsis while the provider round trip is in flight. */
.verification-wait::after { content:''; display:inline-block; width:1.2em; text-align:left; animation:yb-dots 1.2s steps(4,end) infinite; }
@keyframes yb-dots { 0% { content:''; } 25% { content:'.'; } 50% { content:'..'; } 75%,100% { content:'...'; } }
.delivery-table { overflow:auto; }
.account-page h1 { font-size:1.75rem; }
.account-page { max-width:28rem; width:calc(100% - 2rem); overflow-wrap:anywhere; }
.admin-invite { display:grid; gap:.75rem; max-width:32rem; margin:1.5rem 0; }
.embed-code { width:100%; min-height:8rem; font-family:monospace; font-size:.875rem; }
.standalone { display:block; text-align:right; padding-block:.5rem; font-size:.875rem; }
.embedded .board-nav { display:none; }
.embedded .shell { padding-inline:1rem; }
.embedded .masthead { border:0; box-shadow:none; border-radius:0; padding:1rem 0; }
.embedded .masthead::before { display:none; }
.embedded .mine { position:static; max-width:var(--page); margin:1rem auto; }
.resizing-embed dialog[open] { position:fixed; top:var(--dialog-top,16px); bottom:auto; margin:0 auto; max-height:var(--dialog-height,80vh); }
html[data-event="simchas-torah-5787"] { --ground:#f6f8f7; --panel:#ffffff; --ink:#202c29; --ink-soft:#52605a;
  --ink-faint:#66736d; --rule:#d4dcd6; --rule-firm:#a2b5a7; --indigo:#275c48; --indigo-lift:#e5eee8;
  --seal:#8a631a; --seal-wash:#f4eccc; --azure:#355779; --scribe:'Frank Ruhl Libre',serif; --initial:'Frank Ruhl Libre',serif; }
html[data-event="simchas-torah-5787"] body { background:var(--ground); }
html[data-event="simchas-torah-5787"] .masthead { border:0; border-radius:0; box-shadow:none; border-bottom:2px solid var(--seal); padding:1.5rem 0; }
html[data-event="simchas-torah-5787"] .masthead h1 { font-size:1.375rem; }
html[data-event="simchas-torah-5787"] .masthead h1:not([data-hebrew])::before { content:none; }
.masthead h1[data-hebrew]::before { content:attr(data-hebrew); font-size:2.75rem; }
.band > h2[data-hebrew]::before { content:attr(data-hebrew); }
html[data-event="simchas-torah-5787"] .masthead .lede,html[data-event="simchas-torah-5787"] .sheet .prose p { color:var(--ink); }
html[data-event="simchas-torah-5787"] .jumps { background:var(--ground); }
html[data-event="simchas-torah-5787"] .state-amount { color:#765311; }
html[data-event="simchas-torah-5787"] * { letter-spacing:0; }
.sheet,.row,.row-title,.row-state,.row-prices { min-width:0; overflow-wrap:anywhere; }
#bid-dialog { width:min(44rem,calc(100vw - 1.5rem)); max-height:calc(100dvh - 2rem); }
html.resizing-embed #bid-dialog[open] { max-height:var(--dialog-height,80vh); }
#bid-dialog { overscroll-behavior-y:contain; overflow-anchor:none; -webkit-overflow-scrolling:touch; scrollbar-width:auto; scrollbar-color:#63796e #e9eeeb; }
#bid-dialog::-webkit-scrollbar { width:12px; }
#bid-dialog::-webkit-scrollbar-track { background:#e9eeeb; border-radius:6px; }
#bid-dialog::-webkit-scrollbar-thumb { background:#63796e; border:2px solid #e9eeeb; border-radius:6px; min-height:44px; }
#bid-dialog::-webkit-scrollbar-thumb:hover { background:#40594b; }
.bid-scroll-indicator { display:none; position:fixed; width:7px; background:#d7dfda; border-radius:4px; z-index:3; pointer-events:none; }
.bid-scroll-indicator span { display:block; width:7px; border-radius:4px; background:#40594b; }
@media(pointer:coarse) {
  .bid-scroll-indicator { display:block; }
  #bid-dialog.has-scroll-indicator { scrollbar-width:none; }
  #bid-dialog.has-scroll-indicator::-webkit-scrollbar { width:0; }
}
#bid-dialog .bid-sheet { padding:1rem 1.25rem; }
.bid-heading { display:flex; align-items:baseline; justify-content:space-between; gap:.5rem 1rem; flex-wrap:wrap; }
.bid-heading h2 { font-size:1.5rem; }
.bid-heading .he { margin:0; font-size:1.125rem; }
.bid-sheet .standing { margin:.25rem 0 .75rem; padding-bottom:.5rem; }
.bid-sheet form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.65rem 1rem; }
.bid-sheet form > * { grid-column:1 / -1; min-width:0; }
.bid-sheet form > .bid-price-field { grid-column:auto; }
.bid-sheet .field { margin:0; }
.bid-sheet input:not([type='checkbox']) { min-width:0; padding-top:.45rem; padding-bottom:.45rem; }
.bid-sheet .person { border:0; padding:0; margin:0 0 .4rem; background:transparent; display:grid; grid-template-columns:1fr 2fr; gap:.5rem; }
.bid-sheet .person-head { grid-column:1 / -1; margin:0; }
.bid-sheet .person:first-child .person-head { display:none; }
.bid-sheet .person .two { margin:0; min-width:0; }
.bid-sheet textarea { min-height:3rem; height:3rem; padding:.4rem .6rem; }
.bid-sheet .bid-alert-field { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.25rem .75rem; }
.bid-sheet .alert-options { margin:0; }
.bid-sheet .bid-alert-field > .hint { margin:0; }
.bid-sheet .sheet-actions { position:sticky; bottom:0; z-index:1; background:var(--panel); margin:.15rem 0 0; padding:.65rem 0; flex-direction:row; }
.bid-sheet .sheet-actions::before { content:''; position:absolute; left:0; right:0; top:-1.25rem; height:1.25rem; background:linear-gradient(to bottom,transparent,var(--panel)); pointer-events:none; }
.bid-sheet .sheet-actions .btn { width:auto; min-height:2.5rem; }
@media(max-width:540px) {
  #bid-dialog .bid-sheet { padding:.8rem; }
  .bid-sheet form { gap:.6rem; }
  .bid-sheet form > .bid-price-field { grid-column:1 / -1; }
  .bid-sheet .person { grid-template-columns:minmax(0,1fr); }
  .bid-sheet .person .two { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:720px) {
  .board-nav { flex-wrap:wrap; gap:.5rem; }
  .board-nav select { width:100%; max-width:none; order:3; }
  .board-nav a:last-child { margin-left:auto; }
  .masthead h1[data-hebrew]::before { font-size:2rem; line-height:1.25; }
  .tabs { overflow-x:auto; }
  .tabs button { white-space:nowrap; }
  .admin-bar { flex-wrap:wrap; gap:1rem; }
  .shul-list a { font-size:1.5rem; }
}
