:root{font-family:Inter,ui-sans-serif,system-ui,sans-serif;color:var(--flow-ink);background:var(--flow-tint)}*{box-sizing:border-box}body{margin:0}.frame{max-width:1040px;margin:40px auto;padding:0 20px}.mast{display:flex;gap:11px;align-items:center;margin-bottom:22px}.mark{background:var(--flow-ink);color:var(--flow-tint-strong);border-radius:11px;width:40px;height:40px;display:grid;place-items:center;font-size:27px}.mast strong{font-size:28px;display:block;letter-spacing:-1px;line-height:1}.mast span{font-size:10px;color:var(--flow-muted);letter-spacing:1.8px;font-weight:800}.boundary{background:var(--flow-tint);border:1px solid var(--flow-border);padding:12px 16px;border-radius:11px;font-size:12px;color:var(--flow-muted);margin-bottom:22px}.panel{border:1px solid var(--flow-border);border-radius:16px;padding:32px;background:#fff;box-shadow:0 14px 38px #28386009;max-width:530px}.panel.wide{max-width:100%}.panel[hidden]{display:none}.eyebrow{font-size:10px;font-weight:800;color:var(--flow-muted);letter-spacing:1.8px}.panel h1{font-size:27px;letter-spacing:-.7px;margin:8px 0}.subtle{font-size:13px;color:var(--flow-muted);line-height:1.6}.small{font-size:11px}form{display:grid;margin-top:24px}label{font-weight:650;font-size:12px;margin-bottom:8px}input{display:block;border:1px solid var(--flow-border);border-radius:9px;padding:12px 13px;font-size:14px;width:100%;margin:8px 0 18px;background:#fff}button{background:var(--flow-ink);border:1px solid var(--flow-ink);color:#fff;padding:12px 18px;border-radius:9px;font-weight:700;cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}button.secondary{background:#fff;color:var(--flow-blue);border-color:var(--flow-border)}button:focus-visible,input:focus-visible,a:focus-visible{outline:3px solid var(--flow-border-strong);outline-offset:2px}.status{color:#9b562d;min-height:24px;font-size:13px}.toolhead{display:flex;align-items:center;justify-content:space-between;gap:20px}.tools{display:flex;gap:10px;align-items:end;margin:18px 0;flex-wrap:wrap}.tools label{flex:1;min-width:180px;margin:0}.tools input{margin:7px 0 0}.numbers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:19px 0}.numbers>div{padding:17px;border:1px solid var(--flow-border);border-radius:10px;background:var(--flow-tint)}.numbers small{display:block;color:var(--flow-muted)}.numbers strong{font-size:25px;display:block;margin-top:8px;font-variant-numeric:tabular-nums}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;min-width:620px;text-align:left;font-size:12px}th,td{padding:13px;border-bottom:1px solid var(--flow-border)}th{color:var(--flow-muted);font-weight:800}td{font-variant-numeric:tabular-nums}footer{border-top:1px solid var(--flow-border);margin-top:35px;padding-top:15px;display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:12px;color:var(--flow-muted)}footer a{color:var(--flow-blue)}@media(max-width:650px){.frame{margin:20px auto}.panel{padding:20px}.numbers{grid-template-columns:1fr}.toolhead{align-items:start}.toolhead h1{font-size:23px}}
/* Read-only fundraiser profiles */
.profile{margin:26px 0 12px;padding:24px;border:1px solid var(--flow-border);border-radius:14px;background:var(--flow-tint)}
.profile[hidden]{display:none}
.profile-head{display:flex;justify-content:space-between;gap:16px;align-items:start}
.profile-head h2{font-size:23px;margin:8px 0 5px;letter-spacing:-.4px}
.profile h3{margin:23px 0 5px;font-size:16px}
.profile-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:17px 0}
.profile-stats>div{background:#fff;border:1px solid var(--flow-border);padding:15px 12px;border-radius:10px}
.profile-stats small{display:block;font-size:11px;color:var(--flow-muted);min-height:30px;line-height:1.3}
.profile-stats strong{display:block;font-size:22px;margin-top:7px;font-variant-numeric:tabular-nums}
.name-link{background:none;border:0;color:var(--flow-blue);text-align:left;padding:0;text-decoration:underline;text-underline-offset:3px;font:inherit;font-weight:750;cursor:pointer}
.name-link:hover{color:var(--flow-ink)}
.weekly-chart{display:flex;gap:7px;overflow-x:auto;padding:12px 0 15px;align-items:stretch;scrollbar-color:var(--flow-border-strong) transparent}
.week-chart-item{flex:1;min-width:70px;max-width:104px;text-align:center;display:flex;flex-direction:column;gap:6px}
.week-chart-number{font-weight:750;font-size:12px;font-variant-numeric:tabular-nums}
.week-chart-bar-area{height:105px;border-radius:5px;background:var(--flow-tint);display:flex;align-items:end;overflow:hidden;position:relative}
.week-chart-bar{width:100%;background:var(--flow-chart-teal);border-radius:4px 4px 0 0;min-height:0}
.week-chart-item.missing .week-chart-bar-area{background:repeating-linear-gradient(135deg,var(--flow-border),var(--flow-border) 6px,var(--flow-tint) 6px,var(--flow-tint) 12px)}
.week-chart-item.missing .week-chart-number{color:var(--flow-muted)}
.week-chart-item small{font-size:10px;color:var(--flow-muted);line-height:1.3}
.profile-quality{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px;font-size:12px}
.profile-quality span{background:#fff;border:1px solid var(--flow-border);border-radius:9px;padding:10px 13px;color:var(--flow-muted)}
.profile-quality strong{display:block;margin-top:3px;color:var(--flow-muted);font-size:11px}
@media(max-width:850px){.profile-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.profile{padding:16px}.profile-head{flex-direction:column}.profile-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}

.profile-quality{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.profile-quality span{min-width:0}
@media(max-width:850px){.profile-quality{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.profile-quality{grid-template-columns:1fr}}

.roster-controls{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:11px 14px;background:var(--flow-tint);border:1px solid var(--flow-border);border-radius:10px}
.roster-controls[hidden]{display:none}
.roster-toggle{display:flex;align-items:center;gap:9px;margin:0;color:var(--flow-blue);font-size:13px;cursor:pointer}
.roster-toggle input[type="checkbox"]{width:17px;height:17px;margin:0;accent-color:var(--flow-ink);cursor:pointer}

/* Owner-only roster administration (no employee auth invitations yet). */
.owner-management{border:1px solid var(--flow-border);background:var(--flow-tint);border-radius:14px;margin:16px 0;padding:17px}
.owner-management[hidden],#ownerManagementBody[hidden]{display:none}
.owner-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.owner-heading h2{font-size:19px;margin:6px 0}
.owner-heading p{margin:0;max-width:600px}
.owner-heading button{white-space:nowrap}
.owner-management h3{font-size:15px}
.owner-management table{margin-top:8px}
.owner-forms{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px}
.owner-forms form{background:#fff;border:1px solid var(--flow-border);padding:18px;border-radius:11px;display:block;margin:0}
.owner-forms h3{margin-top:0}
.owner-forms select{display:block;width:100%;padding:11px 12px;border:1px solid var(--flow-border);border-radius:9px;margin:8px 0 18px;background:white}
.owner-forms button{margin:5px 0}
.owner-management td{font-size:12px}
@media(max-width:680px){.owner-heading{align-items:start;flex-direction:column}.owner-forms{grid-template-columns:1fr}}

.givaroo-review{margin:22px 0;padding:18px;background:#fff;border:1px solid var(--flow-border);border-radius:11px}
.givaroo-review>h3{margin:0 0 6px}
.givaroo-review>input{max-width:430px}
.givaroo-review-table{min-width:700px}
.givaroo-review-table td:last-child{min-width:260px}
.givaroo-review-table td button{font-size:11px;padding:8px 10px;margin-right:7px;margin-bottom:6px}
.givaroo-review-table td select{font-size:11px;max-width:220px;padding:8px;margin-right:7px;border:1px solid var(--flow-border);border-radius:7px}

.imported-donors{margin:22px 0;padding:16px;background:var(--flow-tint);border:1px solid var(--flow-border);border-radius:12px}
.imported-donors h3{margin:0 0 8px}
.imported-donors .profile-quality{margin-top:12px}

/* Authentic Flow wordmark from Brand Graphics (no unused yin emblem). */
.mast .flow-wordmark{display:block;width:160px;height:auto;max-height:94px;object-fit:contain}
.mast .mast-context{font-size:10px;font-weight:800;letter-spacing:1.7px;color:#466b79}
@media(max-width:500px){.mast .flow-wordmark{width:125px}.mast .mast-context{font-size:9px}}

/* Owner office weekly comparison, deliberately distinct from fundraiser raw PSA. */
.performance-tabs{display:flex;gap:8px;border-bottom:1px solid var(--flow-border);margin:22px 0 16px;padding-bottom:9px;flex-wrap:wrap}
.performance-tabs[hidden],#weeklyOfficeTabBody[hidden],#canvassingTabBody[hidden]{display:none!important}
.performance-tab{background:transparent;color:var(--flow-muted);border:1px solid transparent;padding:10px 14px;border-radius:8px;font-size:13px}
.performance-tab.is-active{background:var(--flow-tint);color:var(--flow-ink);border-color:var(--flow-border)}
.weekly-office h2{font-size:21px;margin:24px 0 10px}
.weekly-office h3{font-size:15px;margin:26px 0 12px}
.office-weekly-chart{display:grid;gap:13px;margin-top:12px}
.office-week-item{border:1px solid var(--flow-border);border-radius:10px;padding:13px 16px;background:var(--flow-tint)}
.office-week-label{font-weight:750;font-size:12px;margin-bottom:8px}
.office-bar-line{display:grid;grid-template-columns:100px minmax(80px,1fr) 50px;align-items:center;gap:10px;font-size:11px;margin:7px 0}
.office-bar-line strong{text-align:right;font-variant-numeric:tabular-nums}
.office-bar-track{height:11px;background:#edf1f1;border-radius:6px;overflow:hidden}
.office-bar{height:100%;border-radius:6px;min-width:0}
.office-bar.raw{background:#7299a4}.office-bar.effective{background:var(--flow-teal)}

/* Weekly Results annual workbook-inspired compact grid */
.office-year-tabs{display:flex;flex-wrap:wrap;gap:7px;margin:20px 0 12px;border-bottom:1px solid var(--flow-border);padding-bottom:13px}
.office-year{padding:8px 15px;background:var(--flow-tint);color:var(--flow-blue);border:1px solid var(--flow-border);border-radius:9px;font-size:12px}
.office-year.is-active{background:var(--flow-ink);color:#fff;border-color:var(--flow-ink)}
.office-section-heading{display:flex;align-items:end;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-top:20px}
.office-section-heading h3{margin:0}
.office-section-heading label{margin:0;font-size:11px;color:var(--flow-muted)}
.office-section-heading select{display:block;min-width:140px;padding:8px;border:1px solid var(--flow-border);border-radius:8px;background:#fff;color:var(--flow-ink);margin-top:6px}
.office-history-scroll{max-height:560px;overflow:auto;border:1px solid var(--flow-border);border-radius:11px;margin-top:13px}
.office-history-table{min-width:1150px;font-size:11px;white-space:nowrap}
.office-history-table thead{position:sticky;top:0;z-index:1;background:var(--flow-tint)}
.office-history-table th{color:var(--flow-blue);padding:11px 10px;border-bottom:2px solid var(--flow-border)}
.office-history-table td{padding:9px 10px;border-bottom:1px solid var(--flow-border);text-align:right}
.office-history-table th:not(:first-child){text-align:right}
.office-history-table tbody tr:nth-child(even){background:var(--flow-tint)}
.office-history-table tbody tr:hover{background:var(--flow-tint)}
.office-history-table td.week-cell{position:sticky;left:0;background:inherit;text-align:left;font-weight:700;border-right:1px solid var(--flow-border)}
.office-history-table th:first-child{position:sticky;left:0;background:var(--flow-tint);z-index:2}
.office-history-table td.psa-cell{font-weight:700}
.office-history-table td.psa-cell.effective{color:var(--flow-teal)}
@media(max-width:690px){.office-year{padding:8px 11px}.office-history-scroll{max-height:510px}}

/* The three primary colors of the owner's genuine FLOW wordmark:
   deep ink #283860, ocean blue #2368a4 and bright aqua #61c8d0.
   Status cells use muted red and deep teal with a 1.6 cutoff. */
:root{--flow-ink:#283860;--flow-blue:#2368a4;--flow-aqua:#61c8d0;
 --flow-surface:#f5f8fc;--flow-border:#d7e2ee;
 --flow-teal:#17677b;--flow-muted:#586d83;--flow-tint:#eef7fb;
 --flow-tint-strong:#d8eff4;--flow-border-strong:#8bb8cc;--flow-chart-teal:#268ca8}
body{color:var(--flow-ink);background:var(--flow-surface)}
.panel{border-color:var(--flow-border);box-shadow:0 14px 38px #2838600c}
button{background:var(--flow-ink);border-color:var(--flow-ink)}
button.secondary{color:var(--flow-blue);border-color:#bed2e5}
button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid var(--flow-aqua);outline-offset:2px}
.eyebrow{color:var(--flow-blue)}
.subtle{color:#62718b}
.numbers>div{background:#f6faff;border-color:var(--flow-border)}
.office-year-tabs{border-color:var(--flow-border)}
.office-year{background:#f5f9fc;color:var(--flow-ink);border-color:#c6d9ea}
.office-year.is-active{background:var(--flow-blue);border-color:var(--flow-blue);color:white}
.performance-tabs{border-color:var(--flow-border)}
.performance-tab{color:var(--flow-blue)}
.performance-tab.is-active{background:#e5f3fb;color:var(--flow-ink);border-color:#a7d7e5}
.office-history-scroll{border-color:var(--flow-border)}
.office-history-table thead,.office-history-table th:first-child{background:#e6eff8}
.office-history-table th{color:var(--flow-ink);border-bottom-color:#bdd0e2}
.office-history-table tbody tr:nth-child(even){background:#f5f9fd}
.office-history-table tbody tr:hover{background:#eaf6fb}
.office-history-table td.week-cell{border-right-color:var(--flow-border)}
.office-history-table td.psa-cell{color:var(--flow-ink);font-weight:800}
.office-history-table td.psa-cell.below-target{color:#853436}
.office-history-table td.psa-cell.at-target{color:var(--flow-teal)}
.office-history-table td.psa-cell.effective{font-weight:800}
.office-weekly-chart{display:block;margin:8px 0 20px;overflow:hidden}
.office-trend-svg{width:100%;height:auto;display:block;max-height:390px}
.office-chart-grid{stroke:#dbe4ee;stroke-width:1}
.office-chart-axis{font-size:13px;fill:#63728c;font-family:Inter,ui-sans-serif,system-ui,sans-serif}
.office-chart-threshold{stroke:#bf777b;stroke-width:1.7;stroke-dasharray:6 6}
.office-chart-threshold-label{font-size:12px;fill:#a45659;font-weight:700}
.office-trend-line{fill:none;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round}
.office-trend-line.raw{stroke:var(--flow-blue)}
.office-trend-line.effective{stroke:#18a9b9}
.office-trend-point.raw{fill:var(--flow-blue)}
.office-trend-point.effective{fill:#18a9b9}
.office-chart-legend{display:flex;gap:20px;flex-wrap:wrap;margin:12px 0 4px;font-size:12px;color:var(--flow-ink)}
.office-chart-legend span{display:flex;align-items:center;gap:7px}
.office-chart-legend i{display:inline-block;width:20px;height:0;border-top:3px solid var(--flow-blue)}
.office-chart-legend i.office-legend-effective{border-top-color:#18a9b9}
.office-chart-legend i.office-legend-target{border-top:2px dashed #bf777b}
@media(max-width:550px){.office-chart-legend{gap:10px}.office-trend-svg{min-width:0}}

/* Performance-focused staff comparison: preserve diagnostics in backing data,
   but keep source audits off the day-to-day fundraiser profile screen. */
.fundraiser-performance h2{margin:20px 0 9px}
.fundraiser-compare-table{min-width:780px;font-size:12px}
.fundraiser-compare-table th{white-space:nowrap;background:#e6eff8}
.fundraiser-compare-table th button,[id^="performanceSort-"]{border:0;background:transparent;color:var(--flow-ink);padding:6px;font-size:12px;font-weight:750;cursor:pointer}
.fundraiser-compare-table td{font-variant-numeric:tabular-nums}
#fundraiserProfileMount .profile{margin-top:24px;border-top:2px solid var(--flow-border);padding-top:16px}
.profile-composition{margin-top:16px}
.profile-composition .profile-stats{grid-template-columns:repeat(auto-fit,minmax(145px,1fr))}
.simplified-profile #importedDonorSection,
.simplified-profile #givarooHoursSection,
.simplified-profile #wwfSourceQualitySection,
.simplified-profile > h3:last-of-type,
.simplified-profile > .profile-quality,
.simplified-profile > p.subtle.small:last-of-type{display:none!important}

/* Weekly Processing: operational workflow for existing verified import controls */
.weekly-processing h2{margin-top:20px}
.processing-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}
.processing-steps>div{border:1px solid var(--flow-border,#d7e2ee);border-radius:12px;background:#f5f9fd;padding:15px;display:flex;flex-direction:column;gap:7px}
.processing-steps strong{font-size:13px;color:var(--flow-ink,#283860)}
.processing-steps small{color:#63728c;font-size:12px;line-height:1.5}
#weeklyProcessingTools .owner-management{margin-top:12px}
#weeklyProcessingTools .owner-management .owner-heading{margin-top:0}
.fundraiser-compare-table{min-width:1100px}
@media(max-width:670px){.processing-steps{grid-template-columns:1fr}}

/* Owner pay-period draft bonus summary and accessible individual drilldown */
.bonus-period-table{min-width:1320px;font-size:12px}
.bonus-period-table th{white-space:nowrap}
.bonus-period-table td{font-variant-numeric:tabular-nums}
.bonus-person-detail{margin:16px 0;padding:16px;border:1px solid #c8d9e8;border-radius:12px;background:#f6f9fc}
.bonus-person-detail h4{margin:0 0 12px}
.bonus-person-fields{display:grid;grid-template-columns:minmax(180px,2fr) minmax(90px,1fr);gap:6px 16px;margin:0}
.bonus-person-fields dt{font-size:13px;color:#425575}
.bonus-person-fields dd{margin:0;text-align:right;font-weight:650;font-size:13px;font-variant-numeric:tabular-nums}
@media(max-width:600px){.bonus-person-fields{grid-template-columns:minmax(130px,2fr) minmax(70px,1fr)}}

/* Per-fundraiser attendance/streak draft input in weekly bonus review */
.bonus-streak-review{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:20px;padding-top:16px;border-top:1px solid #c8d9e8}
.bonus-streak-review h4,.bonus-streak-review>p{grid-column:1/-1;margin:0}
.bonus-streak-review label{display:flex;flex-direction:column;gap:6px;font-size:13px;color:#425575}
.bonus-streak-review input,.bonus-streak-review select{width:100%;box-sizing:border-box}
.bonus-streak-review button{justify-self:start;align-self:end}
.bonus-streak-review .status{align-self:center}
@media(max-width:670px){.bonus-streak-review{grid-template-columns:1fr}}

/* Simple bonus readout first; owner correction forms only on request. */
.bonus-person-summary{max-width:620px;background:#fff;border:1px solid #d6e2ee;border-radius:12px;padding:18px}
.bonus-person-total{font-size:clamp(29px,4vw,40px);font-weight:750;color:#22375b;font-variant-numeric:tabular-nums;line-height:1.1;margin:0 0 6px}
.bonus-person-summary>.subtle{margin:0 0 15px}
.bonus-person-fields-compact{gap:11px 14px}
.bonus-person-fields-compact dt,.bonus-person-fields-compact dd{font-size:14px}
.bonus-detail-advanced{margin-top:14px;padding:12px 14px;border:1px solid #d6e2ee;border-radius:10px;background:#fff}
.bonus-detail-advanced>summary{cursor:pointer;font-weight:650;color:#2c456e}
.bonus-detail-advanced[open]>summary{margin-bottom:12px}
.bonus-detail-advanced>.bonus-person-fields{margin:12px 0}


/* Weekly schedule workspace */
.schedule-workspace{min-width:0}
.schedule-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:16px 0}
.schedule-toolbar strong{font-size:14px;min-width:190px}
.schedule-state{display:inline-flex;padding:6px 10px;border-radius:999px;background:#e6eff8;color:#24445b;font-size:12px;font-weight:700;text-transform:capitalize}
.schedule-grid{border-collapse:separate;border-spacing:0;width:100%;min-width:850px;font-size:12px}
.schedule-grid th,.schedule-grid td{border-bottom:1px solid var(--flow-border,#dbe5e9);padding:7px 5px;vertical-align:top}
.schedule-grid thead th{background:#eaf3f9;text-align:center;position:sticky;top:0;z-index:1}
.schedule-grid th:first-child{position:sticky;left:0;z-index:2;min-width:150px;text-align:left;background:#f4f8fc}
.schedule-grid .schedule-cell{display:block;width:100%;min-height:42px;padding:8px 5px;border:1px solid #dae4e9;border-radius:6px;background:#f8fbfe;color:#24445b;white-space:normal;overflow-wrap:anywhere;font:inherit;line-height:1.3;text-align:center;cursor:pointer}
.schedule-grid .schedule-cell:hover:not(:disabled){background:#e7f3fd;border-color:#9dcadf}
.schedule-grid .schedule-out{background:#fff0eb;color:#8e3b24;border-color:#f2c9b7;font-weight:700}
.schedule-grid .schedule-cell:disabled{cursor:default;opacity:0.9}
.schedule-editor{margin-top:18px}
.schedule-edit-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.schedule-edit-fields label{display:flex;flex-direction:column;gap:5px;font-size:13px}
.schedule-edit-fields input,.schedule-edit-fields select{width:100%}
.schedule-finish{border-top:1px solid #dbe5e9;margin-top:20px;padding-top:16px}
.schedule-finish .numbers{margin-bottom:15px}
@media(max-width:700px){.schedule-edit-fields{grid-template-columns:1fr}.schedule-toolbar strong{min-width:0;flex-basis:100%}}

/* Hide additional acknowledgement controls during normal, recognized imports. */
#attritionFormatConfirmRow[hidden],#weeklyFormatConfirmRow[hidden],
#bulkFormatConfirmRow[hidden],#replacementFormatConfirmRow[hidden]{display:none!important}
.schedule-toolbar label{display:inline-flex;align-items:center;gap:8px;font-size:12px}
.schedule-toolbar input[type=date]{max-width:165px}
.schedule-site-manager{padding:12px 14px;margin:14px 0;border:1px solid var(--flow-border);border-radius:8px}
.schedule-site-manager summary{cursor:pointer;font-weight:600}
.schedule-site-manager .schedule-edit-fields{margin:12px 0}

.schedule-workspace input,.schedule-workspace select{font:inherit;color:var(--flow-ink);background:#fff;border:1px solid var(--flow-border);border-radius:8px;padding:10px}
.schedule-grid .schedule-cell.is-selected{background:var(--flow-tint-strong);border:2px solid var(--flow-teal);color:var(--flow-ink)}
.schedule-grid .schedule-cell:focus-visible,.schedule-site-option:focus-visible{outline:3px solid var(--flow-teal);outline-offset:2px}
.schedule-site-results{display:flex;flex-direction:column;gap:4px;max-height:220px;overflow:auto;margin-top:6px}
.schedule-site-option{font:inherit;text-align:left;padding:10px 12px;background:#fff;color:var(--flow-ink);border:1px solid var(--flow-border);border-radius:7px}
.schedule-site-option:hover,.schedule-site-option[aria-pressed="true"]{background:var(--flow-tint);border-color:var(--flow-border-strong)}
.schedule-editor{position:sticky;bottom:12px;background:#fff;box-shadow:0 4px 20px #28386018;z-index:2}
.schedule-weekends{display:flex;gap:8px;align-items:center}

.schedule-grid{min-width:620px;table-layout:fixed}
.schedule-grid th:first-child{position:sticky;left:0;background:var(--flow-tint);z-index:1;width:150px}
.schedule-grid .schedule-cell{min-height:44px;width:100%;white-space:normal;overflow-wrap:anywhere}
.schedule-workspace .table-scroll{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.schedule-workspace .schedule-toolbar{flex-wrap:wrap}
.schedule-site-option{min-height:44px}
@media(max-width:640px){
 .schedule-workspace .schedule-toolbar{gap:8px}
 .schedule-workspace .schedule-toolbar button{min-height:44px;padding:8px 10px}
 .schedule-workspace .schedule-edit-fields{display:grid;grid-template-columns:1fr;gap:10px}
 .schedule-workspace .schedule-grid{min-width:570px}
 .schedule-workspace .schedule-grid th:first-child{width:120px}
 .schedule-editor{bottom:0;max-height:50svh;overflow:auto;padding:12px}
 .schedule-editor .tools{display:flex;flex-wrap:wrap;gap:8px}
 .schedule-site-results{max-height:150px}
 .schedule-workspace input,.schedule-workspace select{font-size:16px;max-width:100%;box-sizing:border-box}
 .schedule-workspace .numbers{grid-template-columns:repeat(3,minmax(0,1fr))}
}

.schedule-workspace textarea{font:inherit;color:var(--flow-ink);background:#fff;border:1px solid var(--flow-border);border-radius:8px;padding:10px;width:100%;box-sizing:border-box}
@media(max-width:640px){.schedule-workspace textarea{font-size:16px}}

.schedule-toolbar label{max-width:380px}
.schedule-week-picker{appearance:none;width:100%;padding:13px 42px 13px 15px!important;border-radius:12px!important;border-color:var(--flow-border-strong)!important;background:var(--flow-tint)!important;font-weight:700;box-shadow:0 2px 6px #28386008;background-image:linear-gradient(45deg,transparent 50%,var(--flow-blue) 50%),linear-gradient(135deg,var(--flow-blue) 50%,transparent 50%)!important;background-position:calc(100% - 19px) 50%,calc(100% - 14px) 50%!important;background-size:5px 5px!important;background-repeat:no-repeat!important}

.schedule-workspace details>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid var(--flow-border);border-radius:10px;background:var(--flow-tint);cursor:pointer;font-weight:650;color:var(--flow-blue)}
.schedule-workspace details>summary::-webkit-details-marker{display:none}
.schedule-workspace details>summary::after{content:"⌄";display:grid;place-items:center;flex:0 0 24px;height:24px;border-radius:50%;background:var(--flow-tint);font-size:18px;transform:rotate(-90deg);transition:transform .15s ease}
.schedule-workspace details[open]>summary::after{transform:rotate(0)}
.schedule-contact{margin-top:6px;font-size:11px;font-weight:400}
.schedule-contact a{color:var(--flow-blue);text-decoration:none;display:block;white-space:nowrap}
.schedule-contact .schedule-contact-edit>summary{font-size:10px;padding:4px 0;border:0;background:transparent;justify-content:flex-start;color:var(--flow-muted);gap:5px}
.schedule-contact .schedule-contact-edit>summary::after{flex-basis:16px;height:16px;font-size:12px}
.schedule-contact-edit input{min-width:0;padding:6px!important;margin:5px 0}
.schedule-contact-edit button{padding:5px 10px}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(prefers-reduced-motion:reduce){.schedule-workspace details>summary::after{transition:none}}

.schedule-calendar-picker{font:inherit;font-weight:650;background:var(--flow-tint)!important;border-color:var(--flow-border-strong)!important;border-radius:12px!important;padding:12px 14px!important;width:100%;min-height:44px;color:var(--flow-ink);cursor:pointer}
.schedule-contact .schedule-phone-copy{display:block;padding:0;border:0;background:transparent;color:var(--flow-blue);font:inherit;white-space:nowrap;text-align:left}
.schedule-contact .schedule-phone-copy:hover{text-decoration:underline}

/* Keep these schedule disclosures calm and compact. */
.schedule-workspace .schedule-smooth-disclosure>summary::after{content:"+";transform:none;transition:none}
.schedule-workspace .schedule-smooth-disclosure[open]>summary::after{content:"−";transform:none}
.schedule-disclosure-content{display:flow-root;overflow:hidden}

.schedule-contact{display:flex;align-items:center;flex-wrap:wrap;gap:4px}
.schedule-contact .schedule-contact-edit>summary{display:inline-flex;justify-content:center;min-width:24px;padding:0 3px;font-size:20px;line-height:20px}
.schedule-contact .schedule-contact-edit>summary::after{content:none}
.schedule-contact-edit[open]{flex-basis:100%}

/* Checkbox filters stay together beside date actions and wrap as one control. */
.tools label.roster-toggle{display:inline-flex;align-items:center;flex:0 1 auto;min-width:0;min-height:42px;gap:8px;margin:0;padding:0 10px;line-height:1.3}
.tools .roster-toggle input[type="checkbox"]{display:inline-block;flex:0 0 17px;width:17px;height:17px;margin:0;padding:0}

/* Shared disclosure indicators; compact contact editors keep their three-dot control. */
details>summary{list-style:none;cursor:pointer}
details>summary::-webkit-details-marker{display:none}
details:not(.schedule-contact-edit)>summary{display:flex;align-items:center;justify-content:space-between;gap:12px}
details:not(.schedule-contact-edit)>summary::after{content:"+";display:inline-grid;place-items:center;flex:0 0 24px;height:24px;font-size:18px;transform:none;transition:none}
details:not(.schedule-contact-edit)[open]>summary::after{content:"−";transform:none}

.account-access select{font:inherit;color:var(--flow-ink);background:#fff;border:1px solid var(--flow-border);border-radius:8px;padding:9px;max-width:240px}
.account-access td{vertical-align:middle}
