/* Scoped to the notice ledger. The article feed and other editions keep their own layout. */
.ot-sheet {
  --ot-line:var(--fp-edge,#c8bba5); --ot-tint:var(--fp-wash,#f4eddf);
  --ot-key:var(--fp-key,#614a35); --ot-muted:var(--fp-dim,#635d55);
  overflow-wrap:anywhere; font: .95rem/1.55 var(--fp-ui,system-ui,sans-serif);
}
.ot-dateline { display:inline-flex; gap:.55em; align-items:center; padding:.23em .65em; background:var(--ot-tint);
  border-inline-start:3px solid var(--ot-key); font-size:.84rem; color:var(--ot-key) }
.ot-dateline time,.ot-hour,.ot-source time { font-variant-numeric:tabular-nums }
.ot-sheet p.ot-help { margin:.55rem 0 .9rem; color:var(--ot-muted); font-size:.86rem }
.ot-filter,.ot-jumps { display:flex; flex-wrap:wrap; gap:.45rem; align-items:center; margin:0 0 .9rem }
.ot-filter label { color:var(--ot-key); font-size:.86rem; font-weight:650 }
.ot-filter input,.ot-filter button { max-width:100%; min-height:38px; box-sizing:border-box; font:inherit; border:1px solid var(--ot-line); border-radius:3px }
.ot-filter input { min-width:0; width:13em; padding:0 .6rem; background:var(--fp-sheet,white); color:inherit }
.ot-filter button { padding:0 .9rem; background:var(--ot-key); border-color:var(--ot-key); color:white; cursor:pointer }
.ot-filter a,.ot-jumps a { color:var(--ot-key); padding:.28em .5em; font-size:.86rem }
.ot-jumps a { border:1px solid var(--ot-line); background:var(--fp-sheet,white); text-decoration:none }
.ot-sheet :is(a,button,input):focus-visible { outline:2px solid var(--ot-key); outline-offset:2px }
.ot-sheet .ot-table { width:100%; border-collapse:collapse; border-block:1px solid var(--ot-line); text-align:left; color:var(--fp-ink,inherit) }
.ot-table :is(th,td) { padding:.6em .45em; text-align:left; vertical-align:top; border-bottom:1px solid var(--ot-line) }
.ot-table thead { background:var(--ot-key); color:white; font-size:.84rem }
.ot-table thead th { white-space:nowrap }
.ot-table :is(.ot-group th,.ot-empty) { padding:.5em .65em; background:var(--ot-tint) }
.ot-table .ot-group th { color:var(--ot-key); font-weight:700; font-size:.9rem }
.ot-table .ot-empty { background:transparent; color:var(--ot-muted); padding:.85rem .65rem }
.ot-entry th { font-weight:700 }
.ot-hour b { font-size:1.05rem; color:var(--ot-key) }
.ot-table small { display:block; font-size:.77rem; color:var(--ot-muted) }
.ot-state { display:inline-block; background:var(--ot-tint); padding:.13em .5em; font-size:.81rem; border:1px solid var(--ot-line) }
.ot-open { color:#205d44; background:#e8f3eb }
.ot-delayed,.ot-cancelled { color:#82411e; background:#f9efdd }
.ot-source { font-size:.85rem }
.ot-source a { color:var(--ot-key); text-underline-offset:2px }
.ot-label { display:none }
.ot-table :is(tr,tbody)[id] { scroll-margin-block-start:1rem }
.fp-site .opening-guides ul { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr)); gap:.6rem; margin:0 }
.fp-site .opening-guides li { padding:.65rem .75rem; border:1px solid var(--fp-edge); border-top:2px solid var(--fp-key);
  background:var(--fp-face); overflow-wrap:anywhere }
.fp-site .opening-guides li a { color:var(--fp-ink); line-height:1.5 }
.fp-site .opening-guides li p { margin:.3rem 0 0; color:var(--fp-dim); font-size:.85rem; line-height:1.55 }
@media (max-width:660px) {
  .ot-sheet .ot-table,.ot-table :is(tbody,thead) { display:block; width:100% }
  .ot-table thead tr { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); font-size:.72rem }
  .ot-table thead th { padding:.5em .15em; white-space:normal; text-align:center }
  .ot-table .ot-entry { display:grid; grid-template-columns:minmax(5em,.4fr) minmax(0,1fr); gap:.15rem .6rem;
    padding:.7rem .3rem; border-bottom:1px solid var(--ot-line) }
  .ot-table .ot-entry :is(th,td) { border:0; padding:0 }
  .ot-hour { grid-column:1; grid-row:1/4 }
  .ot-entry th,.ot-entry td:not(.ot-hour) { grid-column:2 }
  .ot-label { display:inline; color:var(--ot-muted); margin-right:.5em; font-size:.8em }
  .ot-table .ot-entry td.ot-source { grid-column:1/-1; padding-top:.35em }
  .ot-table .ot-source small { display:inline-block; margin-inline:.45em 0 }
  .ot-table .ot-group,.ot-table .ot-group th,.ot-table .ot-empty { display:block }
  .ot-table tr:has(.ot-empty) { display:block }
}
