/* The Long Return — Education Watch v1.0.0, 2026-09-30
   A school-board meeting and policy tracker in dashboard form.
   Builds on watch-desk.css (loaded first): same frame, badges, controls, and
   method block. Adds stat tiles, a month calendar, and dependency-free SVG
   charts that follow the house status-dashboard treatment. Status text always
   carries the meaning; color and position are secondary cues. */

.tlr-page-eduwatch{
  /* Board identity — validated as a categorical set on the card surface
     (adjacent pairs pass; calendar chips also carry the board's text label). */
  --edw-b1:#4d8aff;   /* FRJUSD */
  --edw-b2:#cf4f7e;   /* MJUSD  */
  --edw-b3:#d9782c;   /* BVJUSD */
  --edw-b4:#2aa3b0;   /* SCBOE  */
  /* Status (reserved; always paired with text or an icon) */
  --edw-ok:#3fbf6f;
  --edw-warn:#e7b348;
  --edw-alert:#e56560;
  --edw-pending:#f0dba4;
  /* Chart chrome */
  --edw-surface:#0f1622;
  --edw-ink:#f6f1e8;
  --edw-ink-2:#b7c3d5;
  --edw-muted:#8e9ab0;
  --edw-grid:rgba(187,213,255,.13);
  --edw-axis:rgba(187,213,255,.32);
  --edw-line:rgba(187,213,255,.24);
  --edw-radius:17px;
  --edw-sans:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --edw-mono:ui-monospace,SFMono-Regular,Menlo,"Courier New",monospace;
}

/* Frame: the check-in dashboards use an 1100px column; this page matches them. */
.tlr-page-eduwatch .tlr-shell-main{max-width:1120px}
.tlr-page-eduwatch .watch-intro p{max-width:78ch}
.tlr-page-eduwatch .watch-route-actions{margin-bottom:.35rem}
.tlr-page-eduwatch .watch-route-actions .edw-btn{margin:0}

/* Section rhythm */
.edw-panel{
  margin:1.6rem 0 0;
  padding:clamp(1rem,2.4vw,1.35rem);
  border:1px solid rgba(187,213,255,.2);
  border-radius:20px;
  background:linear-gradient(180deg,rgba(10,28,49,.72),rgba(8,22,39,.66));
  box-shadow:0 14px 42px rgba(0,0,0,.2);
}
.edw-panel__head{
  display:flex;align-items:baseline;justify-content:space-between;gap:.75rem 1rem;flex-wrap:wrap;
  margin:0 0 .85rem;
}
.edw-panel__head h2{
  margin:0!important;
  color:var(--edw-ink);
  font-family:'Playfair Display',Georgia,serif;
  font-size:clamp(1.3rem,2.4vw,1.7rem)!important;
  line-height:1.12!important;
  letter-spacing:-.01em;
}
.edw-panel__meta{color:var(--edw-muted);font-family:var(--edw-sans);font-size:.8rem;line-height:1.35}
.edw-panel__lede{margin:0 0 1rem!important;max-width:74ch;color:#b9c3d0!important;font-size:.95rem!important;line-height:1.55!important}
.edw-note{margin:.75rem 0 0!important;padding-top:.6rem;border-top:1px solid var(--edw-grid);color:var(--edw-muted)!important;font-size:.8rem!important;line-height:1.4!important}
.edw-note a,.edw-panel a{color:#9fc8ff}

/* Filter row — one row, above everything it scopes */
.tlr-page-eduwatch .watch-controls{
  grid-template-columns:minmax(10rem,.8fr) minmax(10rem,.7fr) minmax(0,1.4fr) auto;
  margin-top:1rem;
}
.tlr-page-eduwatch .watch-controls .watch-count{min-width:9rem}
.edw-legend{
  display:flex;flex-wrap:wrap;gap:.45rem;margin:.65rem 0 0;padding:0;list-style:none;
  font-family:var(--edw-sans);font-size:.78rem;color:var(--edw-ink-2);
}
.edw-legend li{display:inline-flex;align-items:center;gap:.4rem;padding:.28rem .6rem;border:1px solid var(--edw-line);border-radius:999px;background:rgba(255,255,255,.025)}
.edw-key{display:inline-block;width:.62rem;height:.62rem;border-radius:50%;background:var(--k,#69a7ff);box-shadow:0 0 0 3px color-mix(in srgb,var(--k,#69a7ff) 22%,transparent);flex:0 0 auto}
.edw-key--hollow{background:transparent;border:2px solid var(--k,#69a7ff);box-shadow:none;width:.5rem;height:.5rem}
[data-board="frjusd"]{--k:var(--edw-b1)}
[data-board="mjusd"]{--k:var(--edw-b2)}
[data-board="bvjusd"]{--k:var(--edw-b3)}
[data-board="scoe"]{--k:var(--edw-b4)}

/* Stat tiles (house status-dashboard treatment, six across) */
.edw-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:.7rem;margin:1.1rem 0 0}
.edw-tile{
  --domain:#69a7ff;
  display:flex;min-width:0;min-height:132px;flex-direction:column;justify-content:flex-start;
  padding:.85rem .85rem .75rem;
  border:1px solid color-mix(in srgb,var(--domain) 45%,transparent);
  border-radius:var(--edw-radius);
  background:linear-gradient(160deg,color-mix(in srgb,var(--domain) 11%,transparent),rgba(255,255,255,.018));
  color:var(--edw-ink);text-decoration:none;
  transition:transform .16s ease,border-color .16s ease;
}
a.edw-tile:hover,a.edw-tile:focus-visible{transform:translateY(-1px);border-color:color-mix(in srgb,var(--domain) 78%,white 8%)}
.edw-tile--next{--domain:#69a7ff}
.edw-tile--due{--domain:#e7b348}
.edw-tile--count{--domain:#8fb7ff}
.edw-tile--votes{--domain:#ed8b3a}
.edw-tile--anchors{--domain:#b39cf5}
.edw-tile--check{--domain:#7ccf9a}
.edw-tile--alert{--domain:#e56560}
.edw-tile__label{margin:0 0 .35rem;color:var(--domain);font-family:var(--edw-sans);font-size:.7rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;line-height:1.1}
.edw-tile__value{margin:0;font-family:var(--edw-sans);font-size:clamp(1.45rem,2.2vw,1.9rem);font-weight:700;line-height:1.05;letter-spacing:-.02em}
.edw-tile__sub{margin:.4rem 0 0;color:#b7c3d5;font-family:var(--edw-sans);font-size:.78rem;line-height:1.3}
.edw-tile__sub strong{color:var(--edw-ink);font-weight:600}

/* Timelines (HTML, percentage-positioned; text stays legible at every width) */
.edw-tl{display:grid;gap:6px;margin:0}
.edw-tl__head,.edw-tl__row{display:grid;grid-template-columns:minmax(9.5rem,13rem) minmax(0,1fr);gap:.6rem;align-items:stretch}
.edw-tl__label{display:flex;flex-direction:column;justify-content:center;gap:.15rem;min-width:0;padding:.35rem .1rem;color:var(--edw-ink);font-family:var(--edw-sans);font-size:.84rem;font-weight:700;line-height:1.2}
.edw-tl__label span{color:var(--edw-muted);font-size:.72rem;font-weight:600}
.edw-tl__label .edw-badge{align-self:flex-start;margin-top:.1rem}
.edw-tl__track{position:relative;min-height:52px;border-radius:9px;background:rgba(255,255,255,.022);border:1px solid var(--edw-grid);overflow:visible}
.edw-tl__track--head{min-height:42px;background:transparent;border:0;border-bottom:1px solid var(--edw-axis);border-radius:0}
.edw-tl__track--months{background-image:linear-gradient(90deg,var(--edw-grid) 1px,transparent 1px);background-size:calc(100% / 12) 100%}
.edw-tl__tick{position:absolute;bottom:4px;transform:translateX(2px);color:var(--edw-muted);font-family:var(--edw-sans);font-size:.7rem;font-weight:700;letter-spacing:.04em;white-space:nowrap}
.edw-tl__track--months .edw-tl__tick{transform:none;padding-left:.3rem}
.edw-tl__tick-short{display:none}
.edw-tl__grid{position:absolute;top:0;bottom:0;width:1px;background:var(--edw-grid)}
.edw-tl__track--months .edw-tl__grid{display:none}
.edw-tl__today{position:absolute;top:-4px;bottom:-4px;width:2px;margin-left:-1px;background:#f6f1e8;opacity:.85;z-index:2;pointer-events:none}
.edw-tl__track--head .edw-tl__today{top:18px;bottom:-6px}
.edw-tl__today-label{position:absolute;top:-18px;left:5px;color:#f6f1e8;font-family:var(--edw-sans);font-size:.66rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;white-space:nowrap}
.edw-tl__due{position:absolute;top:8px;bottom:8px;width:0;border-left:2px dotted var(--k,#8fb7ff);opacity:.75;margin-left:-1px}
.edw-tl__mark{position:absolute;top:50%;transform:translate(-9px,-50%);display:inline-flex;align-items:center;gap:.4rem;padding:.3rem .5rem .3rem .3rem;cursor:pointer;border:0;border-radius:999px;background:transparent;color:var(--edw-ink);font:600 .74rem/1.1 var(--edw-sans);white-space:nowrap;z-index:3}
.edw-tl__mark:hover,.edw-tl__mark:focus-visible{background:rgba(255,255,255,.06);outline:none}
.edw-tl__mark:focus-visible{outline:3px solid #78b3ff;outline-offset:1px}
.edw-tl__dot{display:inline-block;width:12px;height:12px;border-radius:50%;background:var(--k,#8fb7ff);box-shadow:0 0 0 2px var(--edw-surface);flex:0 0 auto}
.edw-tl__mark--expected .edw-tl__dot{background:var(--edw-surface);box-shadow:inset 0 0 0 2.5px var(--k,#8fb7ff),0 0 0 2px var(--edw-surface)}
.edw-tl__mark--special .edw-tl__text::after{content:" · special";color:#ffd0cd;font-weight:700}
.edw-tl__text{color:var(--edw-ink)}
.edw-tl__none{position:absolute;left:.6rem;top:50%;transform:translateY(-50%);color:var(--edw-muted);font-family:var(--edw-sans);font-size:.74rem}
.edw-tl__bar{position:absolute;top:10px;bottom:10px;min-width:6px;cursor:pointer;border:0;border-radius:6px;background:rgba(105,167,255,.42);color:var(--edw-ink);font:600 .7rem/1 var(--edw-sans);text-align:left;padding:0 .45rem;white-space:nowrap;overflow:visible;z-index:1}
.edw-tl__bar--pending{background:repeating-linear-gradient(135deg,rgba(240,219,164,.28) 0 6px,rgba(240,219,164,.14) 6px 12px)}
.edw-tl__bar--done{opacity:.55}
.edw-tl__bar:hover,.edw-tl__bar:focus-visible{filter:brightness(1.15);outline:none}
.edw-tl__bar:focus-visible{outline:3px solid #78b3ff;outline-offset:1px}
.edw-tl__bar-text{display:inline-block;max-width:100%;overflow:hidden;text-overflow:clip;color:var(--edw-ink)}
.edw-tl__due-dot{position:absolute;top:50%;width:12px;height:12px;margin-left:-6px;transform:translateY(-50%);border-radius:50%;background:#f6f1e8;box-shadow:0 0 0 2px var(--edw-surface),0 0 0 4px rgba(231,179,72,.5);z-index:2;pointer-events:none}

/* Column chart (HTML) */
.edw-cols{display:grid;grid-template-columns:2rem minmax(0,1fr);gap:.4rem;margin:0}
.edw-cols__y{display:flex;flex-direction:column;justify-content:space-between;height:180px;padding-bottom:1.6rem;color:var(--edw-muted);font-family:var(--edw-sans);font-size:.7rem;line-height:1;font-variant-numeric:tabular-nums;text-align:right}
.edw-cols__y span:first-child{transform:translateY(-50%)}
.edw-cols__y span:last-child{transform:translateY(50%)}
.edw-cols__plot{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:.35rem;align-items:end;height:180px;padding-bottom:1.6rem;position:relative;border-bottom:1px solid var(--edw-axis);background-image:linear-gradient(180deg,var(--edw-grid) 1px,transparent 1px);background-size:100% var(--step,50%);background-repeat:repeat-y;background-origin:content-box;background-clip:content-box}
.edw-col{position:relative;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;height:100%;min-width:0}
.edw-col__stack{display:flex;flex-direction:column-reverse;justify-content:flex-start;width:100%;max-width:24px;height:100%}
.edw-col__seg{display:block;width:100%;margin-top:2px;padding:0;border:0;cursor:pointer;background:var(--k,#69a7ff);min-height:3px}
.edw-col__seg:first-child{margin-top:0}
.edw-col__stack .edw-col__seg:last-child{border-radius:4px 4px 0 0}
.edw-col__seg--future{opacity:.55}
.edw-col__seg:hover,.edw-col__seg:focus-visible{filter:brightness(1.18);outline:none}
.edw-col__seg:focus-visible{outline:2px solid #fff;outline-offset:1px}
.edw-col__val{position:absolute;top:-1.15rem;color:var(--edw-ink);font-family:var(--edw-sans);font-size:.72rem;font-weight:700}
.edw-col__x{position:absolute;bottom:-1.45rem;color:var(--edw-muted);font-family:var(--edw-sans);font-size:.7rem;font-weight:700;letter-spacing:.03em;white-space:nowrap}
.edw-col--now .edw-col__x{color:var(--edw-ink)}
.edw-empty{margin:.6rem 0 0;padding:.9rem 1rem;border:1px dashed #71829b;border-radius:12px;color:#aab6c7;font-size:.92rem}
.edw-muted{color:var(--edw-muted)}

/* Tooltip (one for the page) */
.edw-tip{
  position:fixed;z-index:60;max-width:280px;padding:.55rem .7rem;pointer-events:none;
  border:1px solid rgba(187,213,255,.35);border-radius:10px;background:#0b1320;color:var(--edw-ink);
  box-shadow:0 14px 34px rgba(0,0,0,.45);font-family:var(--edw-sans);font-size:.8rem;line-height:1.4;
}
.edw-tip[hidden]{display:none}
.edw-tip strong{display:block;font-size:.92rem;font-weight:700}
.edw-tip .edw-tip__row{display:flex;align-items:center;gap:.45rem;color:var(--edw-ink-2)}
.edw-tip .edw-tip__key{display:inline-block;width:14px;height:2px;background:var(--k,#69a7ff);flex:0 0 auto}

/* Table view twins for every chart */
.edw-table-view{margin:.85rem 0 0;padding:.15rem .9rem;border:1px solid var(--edw-line);border-radius:12px;background:rgba(10,19,31,.48)}
.edw-table-view>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;gap:.5rem;color:#dce8fb;font-family:var(--edw-sans);font-size:.82rem;font-weight:700}
.edw-table-view>summary::marker{color:#8fb7ff}
.edw-table-view .tlr-table-wrap{margin:.25rem 0 .75rem}

/* Tables */
.tlr-page-eduwatch .tlr-table{font-size:.84rem;font-family:'Source Serif 4',Georgia,serif}
.tlr-page-eduwatch .tlr-table th{font-family:var(--edw-sans);font-size:.66rem;letter-spacing:.08em}
.tlr-page-eduwatch .tlr-table td{color:#c2ccdc;line-height:1.45}
.tlr-page-eduwatch .tlr-table td.num,.tlr-page-eduwatch .tlr-table th.num{text-align:right;font-variant-numeric:tabular-nums}
.tlr-page-eduwatch .tlr-table td strong{color:var(--edw-ink)}
.tlr-page-eduwatch .tlr-table .nowrap{white-space:nowrap}
.tlr-page-eduwatch .tlr-table tr[data-board] td:first-child{border-left:3px solid var(--k,#69a7ff)}

/* Badges beyond the Watch Desk set */
.edw-badge{display:inline-block;padding:.24rem .5rem;border:1px solid rgba(166,189,221,.35);border-radius:999px;color:#d5e6ff;font:700 .68rem/1.25 var(--edw-mono);letter-spacing:.035em;white-space:nowrap}
.edw-badge--vote{color:#ffd9b3;border-color:rgba(237,139,58,.55)}
.edw-badge--hearing{color:#f4e3b5;border-color:rgba(231,179,72,.55)}
.edw-badge--discussion{color:#c9d6ea;border-color:rgba(166,189,221,.35)}
.edw-badge--posted{color:#bfe5ff;border-color:rgba(122,190,255,.55)}
.edw-badge--expected{color:#d8dde6;border-color:rgba(200,210,225,.35);border-style:dashed}
.edw-badge--pending{color:var(--edw-pending);border-color:rgba(194,154,85,.5)}
.edw-badge--verified{color:#d5e6ff;border-color:rgba(166,189,221,.35)}
.edw-badge--special{color:#ffd0cd;border-color:rgba(229,101,96,.55)}
.edw-badge--holiday{color:#ffd0cd;border-color:rgba(229,101,96,.45);border-style:dashed}
.edw-badge--ok{color:#c7f0d4;border-color:rgba(63,191,111,.5)}
.edw-badge--alert{color:#ffd0cd;border-color:rgba(229,101,96,.6)}
.edw-board-chip{display:inline-flex;align-items:center;gap:.4rem;padding:.24rem .55rem .24rem .45rem;border:1px solid color-mix(in srgb,var(--k,#69a7ff) 55%,transparent);border-radius:999px;background:color-mix(in srgb,var(--k,#69a7ff) 12%,transparent);color:var(--edw-ink);font:700 .7rem/1.2 var(--edw-sans);letter-spacing:.05em;text-transform:uppercase;white-space:nowrap}
.edw-board-chip::before{content:"";width:.5rem;height:.5rem;border-radius:50%;background:var(--k,#69a7ff);flex:0 0 auto}

/* Calendar */
.edw-cal__nav{display:flex;align-items:center;justify-content:space-between;gap:.6rem;margin:0 0 .7rem}
.edw-cal__nav h3{margin:0!important;color:var(--edw-ink);font-family:var(--edw-sans);font-size:1.05rem!important;font-weight:700}
.edw-cal__btns{display:flex;gap:.4rem}
.edw-btn{
  display:inline-flex;min-height:40px;align-items:center;justify-content:center;gap:.35rem;padding:.45rem .8rem;cursor:pointer;
  border:1px solid rgba(156,198,255,.42);border-radius:999px;background:linear-gradient(180deg,rgba(27,42,68,.96),rgba(14,24,41,.98));
  color:#edf3ff;font:700 .74rem/1.2 var(--edw-mono);letter-spacing:.04em;
}
.edw-btn:hover,.edw-btn:focus-visible{border-color:#9cc6ff;background:linear-gradient(180deg,rgba(45,72,116,.98),rgba(20,34,57,.98));outline:none}
.edw-btn:focus-visible{outline:3px solid #78b3ff;outline-offset:2px}
.edw-cal{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
.edw-cal__dow{padding:.35rem 0 .45rem;color:var(--edw-muted);font-family:var(--edw-sans);font-size:.68rem;font-weight:800;letter-spacing:.1em;text-align:center;text-transform:uppercase}
.edw-cal__day{
  position:relative;min-height:88px;padding:.4rem .4rem .45rem;text-align:left;cursor:pointer;
  border:1px solid rgba(187,213,255,.14);border-radius:10px;background:rgba(255,255,255,.02);color:var(--edw-ink);font:inherit;
}
.edw-cal__day:hover,.edw-cal__day:focus-visible{border-color:#9cc6ff;background:rgba(111,167,255,.08);outline:none}
.edw-cal__day:focus-visible{outline:3px solid #78b3ff;outline-offset:1px}
.edw-cal__day--out{opacity:.38}
.edw-cal__day--today{border-color:#f0dba4;box-shadow:inset 0 0 0 1px rgba(240,219,164,.5)}
.edw-cal__day--selected{border-color:#9cc6ff;background:rgba(111,167,255,.14)}
.edw-cal__day--holiday .edw-cal__num::after{content:"·";margin-left:.25rem;color:#e56560;font-weight:900}
.edw-cal__num{display:block;margin:0 0 .3rem;font-family:var(--edw-sans);font-size:.78rem;font-weight:700;color:var(--edw-ink-2)}
.edw-cal__day--today .edw-cal__num{color:#f0dba4}
.edw-cal__chips{display:flex;flex-direction:column;gap:3px}
.edw-chip{
  display:flex;align-items:center;gap:.3rem;min-width:0;padding:.16rem .38rem;border-radius:6px;
  background:color-mix(in srgb,var(--k,#69a7ff) 20%,transparent);border-left:3px solid var(--k,#69a7ff);
  color:var(--edw-ink);font:700 .62rem/1.15 var(--edw-sans);letter-spacing:.03em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.edw-chip__initial{display:none}
.edw-chip--expected{background:transparent;border:1px dashed color-mix(in srgb,var(--k,#69a7ff) 70%,transparent);border-left:3px solid var(--k,#69a7ff);color:#d8dde6}
.edw-chip--due{background:transparent;border-left:3px dotted var(--k,#69a7ff);color:var(--edw-muted);font-weight:600}
.edw-chip--special{border-left-color:#e56560;background:rgba(229,101,96,.14)}
.edw-chip--anchor{background:rgba(240,219,164,.12);border-left:3px solid #e7b348;color:#f4e3b5}
.edw-cal__detail{margin:.85rem 0 0;padding:.9rem 1rem;border:1px solid var(--edw-line);border-radius:12px;background:rgba(10,19,31,.55)}
.edw-cal__detail h3{margin:0 0 .5rem!important;color:var(--edw-ink);font-family:var(--edw-sans);font-size:.95rem!important;font-weight:700}
.edw-cal__detail ul{margin:0;padding:0;list-style:none;display:grid;gap:.55rem}
.edw-cal__detail li{padding:.55rem .65rem;border:1px solid var(--edw-line);border-left:3px solid var(--k,#69a7ff);border-radius:9px;color:#c2ccdc;font-size:.9rem;line-height:1.45}
.edw-cal__detail li{max-width:none}
.edw-cal__detail li strong{color:var(--edw-ink)}
.edw-cal__detail li .edw-badge{margin-left:.3rem}
.edw-cal__legend{margin:.7rem 0 0}

/* Upcoming meeting cards (agenda watchlist) */
.edw-upcoming{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem}
.edw-meeting{
  display:flex;flex-direction:column;gap:.5rem;min-width:0;padding:.95rem 1rem 1rem;
  border:1px solid var(--edw-line);border-left:4px solid var(--k,#69a7ff);border-radius:14px;background:rgba(255,255,255,.022);
}
.edw-meeting__head{display:flex;align-items:baseline;justify-content:space-between;gap:.5rem;flex-wrap:wrap}
.edw-meeting__date{margin:0;color:var(--edw-ink);font-family:var(--edw-sans);font-size:1.02rem;font-weight:700;line-height:1.2}
.edw-meeting__date span{display:block;color:var(--edw-muted);font-size:.78rem;font-weight:600}
.edw-meeting__board{margin:0;color:#c2ccdc;font-size:.9rem}
.edw-meeting__due{margin:0;padding:.45rem .6rem;border-radius:8px;background:rgba(231,179,72,.09);border:1px solid rgba(231,179,72,.3);color:#f4e3b5;font-family:var(--edw-sans);font-size:.8rem;line-height:1.35}
.edw-meeting__due--posted{background:rgba(122,190,255,.08);border-color:rgba(122,190,255,.35);color:#cfe5ff}
.edw-meeting__due--overdue{background:rgba(229,101,96,.1);border-color:rgba(229,101,96,.45);color:#ffd0cd}
.edw-meeting__items{margin:0;padding:0;list-style:none;display:grid;gap:.4rem}
.edw-meeting__items li{padding:.45rem .55rem;border:1px solid rgba(187,213,255,.12);border-radius:8px;color:#c2ccdc;font-size:.88rem;line-height:1.45}
.edw-meeting__items li strong{color:var(--edw-ink);font-weight:600}
.edw-meeting__items li p{margin:.25rem 0 0!important;color:var(--edw-muted)!important;font-size:.8rem!important;line-height:1.4!important}
.edw-meeting__links{display:flex;flex-wrap:wrap;gap:.35rem .8rem;margin:.1rem 0 0;font-family:var(--edw-mono);font-size:.72rem;font-weight:700}

/* Anchor cards under the cycle chart */
.edw-anchors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem;margin-top:1rem}
.edw-anchor{padding:.9rem 1rem;border:1px solid var(--edw-line);border-left:4px solid #69a7ff;border-radius:13px;background:rgba(255,255,255,.02)}
.edw-anchor--pending{border-left-color:#e7b348}
.edw-anchor h3{margin:0 0 .35rem!important;color:var(--edw-ink);font-family:var(--edw-sans);font-size:.98rem!important;font-weight:700;line-height:1.25}
.edw-anchor p{margin:.35rem 0 0!important;color:#c2ccdc!important;font-size:.86rem!important;line-height:1.48!important}
.edw-anchor p.edw-anchor__meta{color:var(--edw-muted)!important;font-family:var(--edw-sans);font-size:.76rem!important}
.edw-anchor .edw-anchor__boards{display:flex;flex-wrap:wrap;gap:.3rem;margin:.5rem 0 0}

/* Board directory cards + comment guide */
.edw-boards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem}
.edw-board{padding:1rem 1.05rem;border:1px solid var(--edw-line);border-top:4px solid var(--k,#69a7ff);border-radius:14px;background:rgba(255,255,255,.022)}
.edw-board h3{margin:0 0 .2rem!important;color:var(--edw-ink);font-family:'Playfair Display',Georgia,serif;font-size:1.15rem!important;line-height:1.2}
.edw-board__kind{margin:0 0 .6rem!important;color:var(--edw-muted)!important;font-family:var(--edw-sans);font-size:.76rem!important;letter-spacing:.04em}
.edw-board dl{display:grid;grid-template-columns:minmax(6.5rem,auto) 1fr;gap:.32rem .7rem;margin:0}
.edw-board dt{color:var(--edw-muted);font-family:var(--edw-sans);font-size:.72rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;line-height:1.55}
.edw-board dd{margin:0;color:#c2ccdc;font-size:.88rem;line-height:1.45;overflow-wrap:anywhere}
.edw-board dd strong{color:var(--edw-ink);font-weight:600}
.edw-board__foot{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem .5rem;margin:.7rem 0 0}
.edw-board__foot a{display:inline-flex;min-height:36px;align-items:center;padding:.4rem .7rem;border:1px solid rgba(156,198,255,.42);border-radius:999px;background:linear-gradient(180deg,rgba(27,42,68,.96),rgba(14,24,41,.98));color:#edf3ff!important;font:700 .7rem/1.2 var(--edw-mono);letter-spacing:.04em;text-decoration:none}
.edw-board__foot a:hover,.edw-board__foot a:focus-visible{border-color:#9cc6ff;background:linear-gradient(180deg,rgba(45,72,116,.98),rgba(20,34,57,.98))}
.edw-board__sources{margin:.6rem 0 0;padding:0 .8rem;border:1px solid var(--edw-line);border-radius:10px}
.edw-board__sources>summary{cursor:pointer;min-height:40px;display:flex;align-items:center;color:#dce8fb;font-family:var(--edw-sans);font-size:.78rem;font-weight:700}
.edw-board__sources ul{margin:.2rem 0 .7rem;padding-left:1.1rem;font-size:.82rem;line-height:1.45}
.edw-board__sources li{color:#aab6c7}

/* Outcome tally in the record section */
.edw-tally{display:flex;flex-wrap:wrap;gap:.5rem;margin:0 0 .9rem}
.edw-tally span{display:inline-flex;align-items:baseline;gap:.4rem;padding:.4rem .7rem;border:1px solid var(--edw-line);border-radius:10px;background:rgba(255,255,255,.025);color:var(--edw-ink-2);font-family:var(--edw-sans);font-size:.78rem}
.edw-tally strong{color:var(--edw-ink);font-size:1.05rem;font-weight:700}

/* Brown Act box + comment cards */
.edw-rule{margin:0 0 1rem;padding:.9rem 1rem;border:1px solid rgba(234,209,138,.4);border-left:4px solid #ead18a;border-radius:12px;background:rgba(234,209,138,.06)}
.edw-rule p{margin:.25rem 0!important;color:#e9e1cf!important;font-size:.9rem!important;line-height:1.5!important}
.edw-rule strong{color:var(--edw-ink)}
.edw-comment{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem}

/* Ledger */
.edw-ledger{margin:.5rem 0 0;padding:0;list-style:none;display:grid;gap:.45rem}
.edw-ledger li{display:grid;grid-template-columns:6.4rem 1fr;gap:.6rem;padding:.55rem .7rem;border:1px solid var(--edw-line);border-radius:9px;color:#c2ccdc;font-size:.86rem;line-height:1.45}
.edw-ledger li span:first-child{color:var(--edw-ink-2);font-family:var(--edw-mono);font-size:.74rem;font-weight:700}
.edw-ledger li em{color:var(--edw-muted);font-style:normal}

/* Check-In snippet boxes */
.edw-snippet{padding:.2rem 0 .8rem}
.edw-snippet__box{display:block;width:100%;box-sizing:border-box;min-height:9rem;padding:.7rem .8rem;border:1px solid #526b8d;border-radius:10px;background:#0c1421;color:#dfe6f2;font:.78rem/1.45 var(--edw-mono);resize:vertical;white-space:pre-wrap;overflow-wrap:anywhere}
.edw-snippet__box:focus{outline:3px solid #78b3ff;outline-offset:2px}
.edw-snippet__actions{display:flex;align-items:center;gap:.6rem;margin:.55rem 0 0!important}

/* Loading / failure states */
.edw-status{margin:.6rem 0 0;color:var(--edw-muted);font-family:var(--edw-sans);font-size:.8rem}
.edw-status--error{padding:.8rem 1rem;border:1px solid rgba(229,101,96,.5);border-radius:10px;color:#ffd0cd}
.tlr-page-eduwatch [aria-busy="true"] .edw-chart{opacity:.55}

/* Responsive */
@media(max-width:1000px){
  .edw-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:760px){
  .tlr-page-eduwatch .watch-controls{grid-template-columns:1fr}
  .edw-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem}
  .edw-tile{min-height:112px;padding:.7rem .7rem .65rem}
  .edw-upcoming,.edw-anchors,.edw-boards,.edw-comment{grid-template-columns:1fr}
  .edw-cal{gap:3px}
  .edw-cal__day{min-height:64px;padding:.3rem .3rem .35rem;border-radius:8px}
  .edw-chip{font-size:.6rem;padding:.12rem .2rem;gap:.15rem;letter-spacing:0}
  .edw-chip__text{display:none}
  .edw-chip__initial{display:inline}
  .edw-chip--due{display:none}
  .edw-cal__nav{flex-wrap:wrap}
  .edw-cal__nav h3{width:100%;font-size:.98rem!important}
  .edw-btn{min-height:36px;padding:.35rem .6rem;font-size:.66rem}
  .edw-board dl{grid-template-columns:1fr;gap:.15rem}
  .edw-board dt{margin-top:.35rem}
  .edw-ledger li{grid-template-columns:1fr;gap:.2rem}
  .edw-panel__head{display:block}
  .edw-panel__meta{display:block;margin-top:.25rem}
  .edw-tl__head,.edw-tl__row{grid-template-columns:minmax(6.2rem,7.5rem) minmax(0,1fr);gap:.4rem}
  .edw-tl__label{font-size:.76rem}
  .edw-tl__label span{font-size:.66rem}
  .edw-tl__text{display:none}
  .edw-tl__mark{padding:.3rem}
  .edw-tl__bar-text{display:none}
  .edw-tl__tick{font-size:.62rem}
  .edw-tl__tick-full{display:none}
  .edw-tl__tick-short{display:inline}
  .edw-tl__label .edw-badge{white-space:nowrap;font-size:.55rem;padding:.2rem .35rem;letter-spacing:0}
  .edw-tl__bar{border-radius:4px}
  .edw-cols__y,.edw-cols__plot{height:150px}
  .edw-col__x{font-size:.62rem}
}
@media(max-width:420px){
  .edw-kpis{grid-template-columns:1fr 1fr}
  .edw-tile__value{font-size:1.35rem}
  .edw-cal__day{min-height:54px}
  .edw-chip{font-size:.56rem}
}
@media(prefers-reduced-motion:reduce){
  .edw-tile,.edw-chart .mark{transition:none!important}
  a.edw-tile:hover{transform:none}
}

/* Print: white surfaces, ink text, marks keep their hue; controls hidden. */
@media print{
  .tlr-page-eduwatch .watch-controls,.tlr-page-eduwatch .watch-route-actions,.edw-cal__btns,.edw-tip{display:none!important}
  .edw-panel,.edw-tile,.edw-meeting,.edw-anchor,.edw-board,.edw-cal__day,.edw-cal__detail,.edw-rule,.edw-table-view,.edw-ledger li,.edw-tally span{background:#fff!important;color:#111!important;border-color:#999!important;box-shadow:none!important}
  .edw-panel__head h2,.edw-tile__value,.edw-meeting__date,.edw-anchor h3,.edw-board h3,.edw-cal__num,.edw-tally strong,.edw-board dd,.edw-meeting__items li,.edw-anchor p,.edw-rule p,.edw-panel__lede,.edw-note,.edw-tile__sub,.edw-cal__detail li{color:#111!important}
  .edw-tile__label,.edw-panel__meta,.edw-board dt,.edw-ledger li em{color:#444!important}
  .edw-tl__label,.edw-tl__label span,.edw-tl__tick,.edw-tl__text,.edw-tl__none,.edw-cols__y,.edw-col__x,.edw-col__val{color:#111!important}
  .edw-tl__track{background:#fff!important;border-color:#bbb!important}
  .edw-tl__today{background:#111!important}.edw-tl__today-label{color:#111!important}
  .edw-tl__dot{box-shadow:0 0 0 2px #fff!important}
  .edw-tl__mark--expected .edw-tl__dot{background:#fff!important;box-shadow:inset 0 0 0 2.5px var(--k,#69a7ff),0 0 0 2px #fff!important}
  .edw-tl__bar{background:#c9daf5!important;color:#111!important}.edw-tl__bar--pending{background:#f1e6c6!important}
  .edw-tl__bar-text{color:#111!important}
  .edw-cols__plot{border-color:#999!important}
  body.tlr-page-eduwatch strong,body.tlr-page-eduwatch h2,body.tlr-page-eduwatch h3,.edw-tl__label strong,.edw-anchor h3,.edw-meeting__date,.edw-tile__value{color:#111!important}
  body.tlr-page-eduwatch main a,.edw-panel a,.edw-note a,.edw-meeting__links a,.edw-board__foot a{color:#1a3d7a!important;background:#fff!important;border-color:#999!important}
  .edw-legend li,.edw-cal__legend li{color:#111!important;border-color:#999!important;background:#fff!important}
  .edw-meeting__due{background:#fff!important;color:#111!important;border-color:#999!important}
  .edw-status{color:#333!important}
  .edw-chip{background:#fff!important;color:#111!important}
  .edw-badge,.edw-board-chip{color:#111!important;border-color:#777!important;background:#fff!important}
  .edw-table-view{display:block}.edw-table-view>summary{display:none}
  .edw-table-view[open]>*,.edw-table-view>*{display:block}
  .edw-panel{page-break-inside:avoid}
}
