@import '_content/Ew.Ui.Components/Ew.Ui.Components.y8025oocg9.bundle.scp.css';

/* /Pages/Admin/SchoolYearManagement.razor.rz.scp.css */
/* SchoolYearManagement.razor.css
   Sidebar polish for the School Year list — matches the design mockup while keeping the SDK's
   lighter selection highlight. The page wraps EwSplitPane in <div class="sy-shell">; every rule
   goes through `.sy-shell ::deep` so it reaches BOTH the SDK-rendered elements (panel header/
   section, list rows) and the page-authored ItemTemplate content, without editing the read-only
   SDK. Fallback hexes equal the real token values (theming contract): primary #004af2,
   text #1b1d20, text-tertiary #74797e, base-200 #e3eaf2, base-lighter #ffffff. */

/* The SDK renders SidebarTitle in its own bordered .ew-panel-header row; hide it — the title is
   rendered beside the Add button in the SidebarHeader section instead (mockup's one-row header). */
.sy-shell[b-bm9s3am9n3]  .ew-panel-header { display: none; }

.sy-shell[b-bm9s3am9n3]  .ew-panel-section {
    padding: 0.85rem 1rem;
}

/* Header row: "School Years" + filled Add button. Wraps the button to its own line when the panel
   is narrow (e.g. browser zoom) so the label never squashes into a tall blob. */
.sy-shell[b-bm9s3am9n3]  .sy-sidebar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 0.75rem;
    flex-wrap: wrap;
}
/* Keep the Add button a single-line pill (white-space inherits to its label); don't let it shrink. */
.sy-shell[b-bm9s3am9n3]  .sy-sidebar-head button {
    white-space: nowrap;
    flex-shrink: 0;
}
.sy-shell[b-bm9s3am9n3]  .sy-sidebar-title {
    font-weight: 600;
    font-size: 1rem;
    color: var(--rz-text-color, #1b1d20);
    white-space: nowrap;
}

/* Rows: comfortable height + a hairline divider, matching the mockup's list. */
.sy-shell[b-bm9s3am9n3]  .ew-selectable-list-item {
    padding: 0.7rem 1rem;
    border-bottom: 1px solid var(--rz-base-200, #e3eaf2);
}

/* Rich row content: tinted icon tile · name/dates, vertically centered. */
.sy-shell[b-bm9s3am9n3]  .sy-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    min-width: 0;
}
.sy-shell[b-bm9s3am9n3]  .sy-row-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--rz-primary, #004af2) 12%, transparent);
    color: var(--rz-primary, #004af2);
}
.sy-shell[b-bm9s3am9n3]  .sy-row-body { flex: 1; min-width: 0; }
.sy-shell[b-bm9s3am9n3]  .sy-row-name {
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.sy-shell[b-bm9s3am9n3]  .sy-row-dates {
    font-size: 0.75rem;
    color: var(--rz-text-secondary-color, #454a4f);
    margin-top: 1px;
}

/* Selected row keeps the SDK's light-primary highlight (the name inherits primary); lift the
   icon tile to a white chip so it stays crisp on the tinted background, like the mockup. */
.sy-shell[b-bm9s3am9n3]  .ew-selectable-list-item.selected .sy-row-icon {
    background: var(--rz-base-lighter, #ffffff);
}

/* ============================ Detail pane ============================ */

/* Header: title + subtitle on the left, a single Edit action on the right. */
.sy-shell[b-bm9s3am9n3]  .sy-detail-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid var(--rz-base-200, #e3eaf2);
    flex-shrink: 0;
}
.sy-shell[b-bm9s3am9n3]  .sy-detail-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--rz-text-color, #1b1d20);
}
.sy-shell[b-bm9s3am9n3]  .sy-detail-sub {
    font-size: 0.8rem;
    color: var(--rz-text-secondary-color, #454a4f);
    margin-top: 2px;
}

/* Stat strip: START DATE / END DATE / STATUS — uppercase icon-labels, bold values. */
/* White (not the base-50 grey) so the success-tint STATUS badge composites over white and clears AA
   contrast -- the badge's tint is translucent, so the surface color affects its effective contrast. */
.sy-shell[b-bm9s3am9n3]  .sy-stat-strip {
    display: flex;
    background: var(--rz-base-lighter, #ffffff);
    border-bottom: 1px solid var(--rz-base-200, #e3eaf2);
    flex-shrink: 0;
}
.sy-shell[b-bm9s3am9n3]  .sy-stat {
    flex: 1;
    padding: 0.85rem 1.25rem;
    border-right: 1px solid var(--rz-base-200, #e3eaf2);
}
.sy-shell[b-bm9s3am9n3]  .sy-stat--last { border-right: none; }
.sy-shell[b-bm9s3am9n3]  .sy-stat-label {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--rz-text-secondary-color, #454a4f);
    margin-bottom: 0.35rem;
}
.sy-shell[b-bm9s3am9n3]  .sy-stat-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--rz-text-color, #1b1d20);
}

/* Periods section header: title + count on the left, Add button on the right. */
.sy-shell[b-bm9s3am9n3]  .sy-periods-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1.25rem 0.7rem;
    flex-shrink: 0;
}
.sy-shell[b-bm9s3am9n3]  .sy-periods-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--rz-text-color, #1b1d20);
}

/* Periods grid: comfortable rows, subtle header band, bold period name, muted cells. The 8-column
   grid is wider than this narrow pane; RadzenDataGrid's own .rz-data-grid-data scroller handles the
   horizontal overflow (Status/Actions reachable by scrolling), so the integrated card needs no
   overflow override. */
.sy-shell[b-bm9s3am9n3]  .sy-periods-grid {
    flex: 1;
    min-height: 0;
    overflow: auto;
    padding: 0 0.5rem 0.5rem;
}
.sy-shell[b-bm9s3am9n3]  .sy-periods-grid .rz-grid-table thead th {
    background: var(--rz-base-50, #f8fafb);
    color: var(--rz-text-secondary-color, #454a4f);
    font-weight: 600;
    font-size: 0.78rem;
    border-bottom: 1px solid var(--rz-base-200, #e3eaf2);
}
.sy-shell[b-bm9s3am9n3]  .sy-periods-grid .rz-data-row td.rz-cell-data {
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid var(--rz-base-200, #e3eaf2);
    color: var(--rz-text-secondary-color, #454a4f);
    font-size: 0.85rem;
}
.sy-shell[b-bm9s3am9n3]  .sy-periods-grid .rz-data-row td.rz-cell-data:first-child {
    font-weight: 700;
    color: var(--rz-text-color, #1b1d20);
}
.sy-shell[b-bm9s3am9n3]  .sy-periods-grid .rz-data-row:hover td.rz-cell-data {
    background: var(--rz-base-50, #f8fafb);
}

/* Empty / no-search-match state inside the periods grid (authored in this page, so plain-scoped). */
.sy-periods-empty[b-bm9s3am9n3] {
    padding: 1.5rem;
    text-align: center;
    color: var(--rz-text-tertiary-color, #74797e);
    font-size: 0.9rem;
}

/* Actions column: keep the edit/delete icons off the right edge. */
.sy-shell[b-bm9s3am9n3]  .sy-periods-grid .rz-grid-table thead th:last-child,
.sy-shell[b-bm9s3am9n3]  .sy-periods-grid .rz-data-row td.rz-cell-data:last-child {
    padding-right: 0.85rem;
}
/* /Pages/Admin/ValidationTypes.razor.rz.scp.css */
/* ValidationTypes.razor.css — full-width findings + finding detail. Validation types live in the
   sidebar (no in-page master list). The detail mirrors the Data Collection Portal reference:
   a white card, a breadcrumb header, a divided two-column field grid, and light callouts with a
   4px severity left-border. Colors come from OUR tokens (not the mockup's). Plain-ASCII. Elements
   authored here (grid Templates, callout content) carry this component's scope — no ::deep needed. */

.vt-cards[b-v91u167hjo] { padding: 0.25rem 0 0.5rem; }
.vt-stats[b-v91u167hjo] { padding: 0 0 0.75rem; }

.vt-sev-bar[b-v91u167hjo] { display: block; width: 4px; height: 20px; border-radius: 2px; }
.vt-empty[b-v91u167hjo] { padding: 1.5rem; text-align: center; color: var(--rz-text-tertiary-color, #74797e); }

/* ---------------- full-width finding detail (reference-matched) ---------------- */
.vd-card[b-v91u167hjo] { background: var(--rz-base-lighter, #ffffff); border: 1px solid var(--rz-base-200, #e3eaf2);
    border-radius: 12px; overflow: hidden; box-shadow: 0 1px 3px rgba(13, 27, 62, 0.06); }

.vd-crumb[b-v91u167hjo] { display: flex; align-items: center; gap: 0.6rem; padding: 0.8rem 1.1rem;
    border-bottom: 1px solid var(--rz-base-200, #e3eaf2); }
.vd-domain[b-v91u167hjo] { display: inline-flex; align-items: center; gap: 0.35rem;
    background: color-mix(in srgb, var(--rz-primary, #004af2) 10%, transparent);
    color: var(--rz-primary, #004af2); padding: 0.2rem 0.6rem; border-radius: 999px;
    font-size: 0.8rem; font-weight: 600; }
.vd-title[b-v91u167hjo] { font-size: 1.05rem; font-weight: 700; color: var(--rz-text-color, #1b1d20); }
.vd-crumb-actions[b-v91u167hjo] { margin-left: auto; }

.vd-body[b-v91u167hjo] { display: flex; flex-direction: column; gap: 0.9rem; padding: 1.25rem; }
.vd-fields[b-v91u167hjo] { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.5rem; margin-bottom: 0.25rem; }
@media (max-width: 760px) { .vd-fields[b-v91u167hjo] { grid-template-columns: 1fr; } }

/* Light callouts with a 4px severity left-border (tints derived from our tokens). */
.vd-callout[b-v91u167hjo] { border-radius: 8px; border: 1px solid; padding: 0.85rem 1rem; }
.vd-callout-error[b-v91u167hjo] {
    background: color-mix(in srgb, var(--rz-danger, #ba1a1a) 6%, var(--rz-base-lighter, #ffffff));
    border-color: color-mix(in srgb, var(--rz-danger, #ba1a1a) 28%, var(--rz-base-lighter, #ffffff));
    border-left: 4px solid var(--rz-danger, #ba1a1a); }
.vd-callout-resolve[b-v91u167hjo] {
    background: color-mix(in srgb, var(--rz-success, #126d34) 8%, var(--rz-base-lighter, #ffffff));
    border-color: color-mix(in srgb, var(--rz-success, #126d34) 28%, var(--rz-base-lighter, #ffffff));
    border-left: 4px solid var(--rz-success, #126d34); }
.vd-callout-label[b-v91u167hjo] { display: flex; align-items: center; gap: 0.5rem; font-weight: 700;
    font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; }
.vd-callout-error .vd-callout-label[b-v91u167hjo] { color: var(--rz-danger, #ba1a1a); }
.vd-callout-resolve .vd-callout-label[b-v91u167hjo] { color: var(--rz-success, #126d34); }
.vd-callout-msg[b-v91u167hjo] { margin-top: 0.4rem; font-size: 0.9rem; color: var(--rz-text-color, #1b1d20); line-height: 1.5; }
.vd-callout-sub[b-v91u167hjo] { margin-top: 0.5rem; font-size: 0.8rem; color: var(--rz-text-secondary-color, #454a4f); }
.vd-codechip[b-v91u167hjo] { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: 0.78rem;
    background: var(--rz-base-lighter, #ffffff);
    border: 1px solid color-mix(in srgb, var(--rz-danger, #ba1a1a) 30%, var(--rz-base-lighter, #ffffff));
    border-radius: 4px; padding: 0.05rem 0.4rem; color: var(--rz-danger, #ba1a1a); }

.vd-section[b-v91u167hjo] { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
    color: var(--rz-text-secondary-color, #454a4f); }
/* /Pages/Home.razor.rz.scp.css */
/* Home.razor.css — External-link cards for the SEA Resources section (ported from the Data
   Collection Portal). The <a class="ext-link-card"> markup is authored in this page, so these
   plain (non-::deep) scoped rules reach it. Token-driven; no fallbacks (the theme always defines
   these), matching the source. */

.ext-link-grid[b-yui60unh5z] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));   /* 4-up like the mockup (8 cards -> 2 rows) */
    gap: 12px;
}
@media (max-width: 1100px) { .ext-link-grid[b-yui60unh5z] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px)  { .ext-link-grid[b-yui60unh5z] { grid-template-columns: 1fr; } }
.ext-link-card[b-yui60unh5z] {
    display: flex; gap: 12px; align-items: flex-start;
    padding: 14px;
    border: 1px solid var(--rz-base-300);
    border-radius: var(--rz-border-radius);
    text-decoration: none;
    color: var(--rz-base-900);
    background: var(--rz-base-lighter);
    transition: transform 120ms, box-shadow 120ms, border-color 120ms;
}
.ext-link-card:hover[b-yui60unh5z] {
    border-color: var(--rz-primary);
    box-shadow: 0 4px 12px rgba(13, 27, 62, 0.10);
    transform: translateY(-1px);
    text-decoration: none;
}
.ext-link-card .ext-link-icon[b-yui60unh5z] {
    width: 40px; height: 40px;
    border-radius: var(--rz-border-radius);
    background: var(--rz-primary-lighter); color: var(--rz-primary);
    display: grid; place-items: center; flex-shrink: 0;
}
.ext-link-card .ext-link-body[b-yui60unh5z] { flex: 1; min-width: 0; }
.ext-link-card .ext-link-title[b-yui60unh5z] {
    display: flex; align-items: center; gap: 6px;
    font-weight: 600; font-size: 14px;
}
.ext-link-card .ext-link-sub[b-yui60unh5z] {
    font-size: 12px; color: var(--rz-base-700);
    margin-top: 4px; line-height: 1.45;
}
.ext-link-card .ext-link-host[b-yui60unh5z] {
    font-size: 11px; color: var(--rz-primary);
    margin-top: 8px;
    font-family: ui-monospace, Menlo, Consolas, monospace;
    display: flex; align-items: center; gap: 4px;
}

/* Small inline footnote under the resource grid (mockup: 11px muted line + 14px info icon). */
.ext-link-note[b-yui60unh5z] {
    font-size: 11px; color: var(--rz-text-tertiary-color);
    margin-top: 14px;
    display: flex; align-items: center; gap: 6px;
}

/* ---------- Collection Calendar card (compact, mockup-matched) ---------- */
.cal-title[b-yui60unh5z] { font-size: 15px; font-weight: 600; color: var(--rz-text-color); margin-bottom: 6px; }
.cal-sub[b-yui60unh5z]   { font-size: 12px; color: var(--rz-text-tertiary-color); margin-bottom: 14px; }

/* Deadline callout: tight row, light warning tint, amber (warning-dark) text — not a full alert box. */
.cal-deadline[b-yui60unh5z] {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px; border-radius: var(--rz-border-radius);
    background: color-mix(in srgb, var(--rz-warning) 14%, var(--rz-base-lighter));
    border: 1px solid color-mix(in srgb, var(--rz-warning) 35%, var(--rz-base-lighter));
}
.cal-deadline-main[b-yui60unh5z] { font-weight: 700; font-size: 15px; color: var(--rz-warning-dark, #7f5600); }
.cal-deadline-sub[b-yui60unh5z]  { font-size: 11px; color: var(--rz-warning-dark, #7f5600); }

.cal-dayline[b-yui60unh5z] { font-size: 11px; color: var(--rz-text-tertiary-color); margin-top: 4px; }

.cal-upcoming[b-yui60unh5z] { margin-top: 18px; }
.cal-up-label[b-yui60unh5z] { font-size: 12px; font-weight: 600; color: var(--rz-text-tertiary-color); margin: 0 0 8px; }
.cal-up-row[b-yui60unh5z] {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 10px; margin-bottom: 8px;
    border: 1px solid var(--rz-base-300); border-radius: var(--rz-border-radius);
    background: var(--rz-base-lighter);
}
.cal-up-row:last-child[b-yui60unh5z] { margin-bottom: 0; }
.cal-up-body[b-yui60unh5z]  { flex: 1; min-width: 0; }
.cal-up-name[b-yui60unh5z]  { font-size: 13px; font-weight: 600; color: var(--rz-text-color); }
.cal-up-opens[b-yui60unh5z] { font-size: 11px; color: var(--rz-text-tertiary-color); }
/* /Pages/Review.razor.rz.scp.css */
/* Review page -- two-level drill. Tokens with real-value fallbacks (CLAUDE.md fallback rule). */

.rv-hero-count[b-bdeepp6m3p] { text-align: right; }
.rv-hero-num[b-bdeepp6m3p] { font-size: 1.5rem; font-weight: 700; color: var(--rz-text-color, #1b1d20); line-height: 1; }
.rv-hero-lbl[b-bdeepp6m3p] { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--rz-text-tertiary-color, #74797e); }

.rv-reslist[b-bdeepp6m3p] { display: flex; flex-direction: column; }
.rv-resrow[b-bdeepp6m3p] {
    display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 0.85rem;
    width: 100%; text-align: left; background: none; cursor: pointer;
    padding: 0.75rem 0.25rem; border: none; border-bottom: 1px solid var(--rz-base-200, #e3eaf2);
}
.rv-resrow:last-child[b-bdeepp6m3p] { border-bottom: none; }
.rv-resrow:hover:not(:disabled)[b-bdeepp6m3p] { background: var(--rz-base-50, #f8fafb); }
.rv-resrow-off[b-bdeepp6m3p] { cursor: default; opacity: 0.65; }
.rv-resicon[b-bdeepp6m3p] {
    width: 40px; height: 40px; border-radius: 8px; display: flex; align-items: center; justify-content: center;
    background: color-mix(in srgb, var(--rz-primary, #004af2) 10%, transparent); color: var(--rz-primary, #004af2);
}
.rv-resname[b-bdeepp6m3p] { display: flex; align-items: center; gap: 0.25rem; font-size: 0.9rem; font-weight: 600; color: var(--rz-text-color, #1b1d20); }
.rv-resdesc[b-bdeepp6m3p] { font-size: 0.78rem; color: var(--rz-text-tertiary-color, #74797e); }
.rv-resmeta[b-bdeepp6m3p] { font-size: 0.78rem; color: var(--rz-text-tertiary-color, #74797e); white-space: nowrap; }
.rv-resmeta-na[b-bdeepp6m3p] { color: var(--rz-text-tertiary-color, #74797e); }
.rv-resmeta-count[b-bdeepp6m3p] { font-size: 0.82rem; color: var(--rz-text-tertiary-color, #74797e); }
.rv-resmeta-count strong[b-bdeepp6m3p] { color: var(--rz-text-color, #1b1d20); font-weight: 700; }

.rv-card[b-bdeepp6m3p] {
    background: var(--rz-base-lighter, #ffffff); border: 1px solid var(--rz-base-200, #e3eaf2);
    border-radius: 12px; overflow: hidden; box-shadow: 0 1px 3px rgba(13, 27, 62, 0.06);
}
.rv-crumb[b-bdeepp6m3p] { display: flex; align-items: center; gap: 0.6rem; padding: 0.8rem 1.1rem; border-bottom: 1px solid var(--rz-base-200, #e3eaf2); }
.rv-domain[b-bdeepp6m3p] {
    display: inline-flex; align-items: center; gap: 0.35rem;
    background: color-mix(in srgb, var(--rz-primary, #004af2) 10%, transparent); color: var(--rz-primary, #004af2);
    padding: 0.2rem 0.6rem; border-radius: 999px; font-size: 0.8rem; font-weight: 600;
}
.rv-title[b-bdeepp6m3p] { font-size: 1.05rem; font-weight: 700; color: var(--rz-text-color, #1b1d20); }
.rv-crumb-actions[b-bdeepp6m3p] { margin-left: auto; display: flex; gap: 0.35rem; }

.rv-empty[b-bdeepp6m3p] { padding: 2.5rem 1.5rem; text-align: center; color: var(--rz-text-tertiary-color, #74797e);
            display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.rv-na[b-bdeepp6m3p] { color: var(--rz-base-300, #dfe5ec); }
.rv-first[b-bdeepp6m3p] { font-weight: 600; }
.rv-muted[b-bdeepp6m3p] { color: var(--rz-text-tertiary-color, #74797e); white-space: nowrap; }
.rv-mono[b-bdeepp6m3p] { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 0.72rem; color: var(--rz-text-tertiary-color, #74797e); }
.rv-pill[b-bdeepp6m3p] { display: inline-block; padding: 0.05rem 0.45rem; border-radius: 999px; font-size: 0.7rem; font-weight: 600; }
.rv-pill-on[b-bdeepp6m3p] { background: color-mix(in srgb, var(--rz-success, #126d34) 14%, transparent); color: var(--rz-success, #126d34); }
.rv-pill-off[b-bdeepp6m3p] { background: var(--rz-base-100, #f3f6f9); color: var(--rz-text-tertiary-color, #74797e); }
