.rp4-home-schedule{margin-top:18px}
.hub-topcard{display:grid;grid-template-columns:minmax(200px,.9fr) minmax(300px,1.2fr) auto;gap:16px 20px;align-items:center;padding:16px 18px;margin-bottom:12px;border:1px solid #e6ded3;border-radius:18px;background:#fff;box-shadow:0 1px 3px rgba(20,20,40,.05)}
.hub-topcard-job b{display:block;font-size:15px;margin:2px 0;color:#1c2230}
.hub-topcard-job small{display:block;color:#7b8790;line-height:1.35}
.hub-topcard-switch{display:flex;gap:10px}
.hub-topcard-switch label{display:flex;flex-direction:column;gap:4px;font:800 10px var(--font-b,inherit);color:#7b8790;flex:1;min-width:130px}
.hub-topcard-switch select{min-height:40px;width:100%}
.hub-topcard-actions{display:flex;gap:8px;justify-self:end}
.hub-topcard .hub-job-link-card{grid-column:1/-1;grid-row:2}
.hub-kpi-row{margin-bottom:12px}
.hub-commandbar-slim{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-bottom:14px}
.hub-commandbar-slim button.hub-command{display:flex;align-items:center;gap:9px;padding:11px;border:1px solid #e6ded3;border-radius:13px;background:#fff;cursor:pointer;text-align:left}
.hub-commandbar-slim button.hub-command>span{font-size:16px;color:#5b57f4;flex-shrink:0}
.hub-commandbar-slim button.hub-command b{font-size:11px;font-weight:700}
.hub-commandbar-slim button.hub-command.primary{background:linear-gradient(135deg,#6762f6,#514bd8);border-color:transparent}
.hub-commandbar-slim button.hub-command.primary span,.hub-commandbar-slim button.hub-command.primary b{color:#fff}
.hub-nav-group{margin-bottom:12px}
.hub-nav-group:last-child{margin-bottom:0}
.hub-nav-group-label{display:block;padding:4px 11px 6px;font:800 9.5px var(--font-b,inherit);color:#9aa3ac;text-transform:uppercase;letter-spacing:.06em}
.hub-nav button{align-items:center}
.hub-nav button i{font-style:normal;width:16px;text-align:center;flex-shrink:0;color:#8f97ab;font-size:13px}
.hub-nav button.active i{color:#fff}
.hub-nav button span{flex:1}
@media(max-width:900px){.hub-topcard{grid-template-columns:1fr}.hub-topcard-switch{flex-direction:column}.hub-topcard-actions{justify-self:start}.hub-commandbar-slim{grid-template-columns:repeat(2,1fr)}}
.rp-scheduler-period-bar{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin:2px 0 14px}
.rp-scheduler-period-tabs{display:flex;gap:4px;background:#f2f5f4;border-radius:10px;padding:3px}
.rp-scheduler-period-tabs button{border:0;background:transparent;padding:7px 14px;border-radius:8px;font-weight:700;font-size:.82rem;color:#5d6b68;cursor:pointer}
.rp-scheduler-period-tabs button.active{background:#fff;color:#127965;box-shadow:0 1px 3px rgba(20,60,50,.12)}
.rp-scheduler-period-nav{display:flex;align-items:center;gap:10px}
.rp-scheduler-period-nav button{border:1px solid #d7e2df;background:#fff;border-radius:8px;padding:7px 12px;font-weight:700;cursor:pointer;color:#334;}
.rp-scheduler-period-nav button.secondary{color:#127965;border-color:#bfe0d6}
.rp-scheduler-period-nav b{min-width:150px;text-align:center;color:#172033;font-size:.92rem}
.rp-scheduler-day-single{border:1px solid #e0e8e5;border-radius:13px;padding:14px;min-height:160px;background:#fcfefd}
.rp-scheduler-day-single.today{border:2px solid #198b75;background:#effaf6}
.rp-scheduler-month-weekdays{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;margin-bottom:6px}
.rp-scheduler-month-weekdays span{text-align:center;font-size:.72rem;font-weight:800;color:#6d7b79;text-transform:uppercase}
.rp-scheduler-month-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}
.rp-scheduler-month-cell{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-height:78px;padding:6px;border:1px solid #e5eaea;border-radius:9px;background:#fff;cursor:pointer;text-align:left}
.rp-scheduler-month-cell.is-outside{opacity:.35}
.rp-scheduler-month-cell.today{border:2px solid #198b75}
.rp-scheduler-month-cell:hover{border-color:#8daaf3}
.rp-scheduler-month-daynum{font-weight:800;font-size:.85rem;color:#243042}
.rp-scheduler-month-dot{width:7px;height:7px;border-radius:50%;background:#8796a5;margin-right:3px;display:inline-block}
.rp-scheduler-month-dot.trade{background:#9b5de5}
.rp-scheduler-month-dot.task{background:#e79a32}
.rp-scheduler-month-dot.job,.rp-scheduler-month-dot.site{background:#15967c}
.rp-scheduler-month-dot.meeting{background:#3287d3}
.rp-scheduler-month-cell small{color:#7b8790;font-size:.68rem}
.rp-scheduler-year-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.rp-scheduler-year-month{border:1px solid #e5eaea;border-radius:12px;padding:10px;background:#fff;cursor:pointer;text-align:left}
.rp-scheduler-year-month:hover{border-color:#8daaf3}
.rp-scheduler-year-month b{display:block;margin-bottom:6px;font-size:.85rem;color:#172033}
.rp-scheduler-year-mini{display:grid;grid-template-columns:repeat(7,1fr);gap:2px}
.rp-scheduler-year-day{display:flex;align-items:center;justify-content:center;font-size:.62rem;color:#6d7b79;height:16px;border-radius:3px}
.rp-scheduler-year-day.is-outside{visibility:hidden}
.rp-scheduler-year-day.today{background:#198b75;color:#fff;font-weight:800}
.rp-scheduler-year-day.has-events:not(.today){background:#e3f5ee;color:#127965;font-weight:700}
@media(max-width:760px){.rp-scheduler-year-grid{grid-template-columns:repeat(2,1fr)}.rp-scheduler-period-bar{flex-direction:column;align-items:stretch}}
.rp-scheduler-item.is-overdue{border-left:3px solid #c0392b;background:#fdeceb}
.rp-scheduler-item.is-overdue .rp-scheduler-kind{background:#fbdcda;color:#a3271d}
.rp26-schedule-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:10px;padding-top:2px}
.rp26-schedule-box{display:flex;flex-direction:column;gap:6px;align-items:flex-start;text-align:left;background:#fff;border:1px solid #e5e5ea;border-left:4px solid #9aa3b2;border-radius:12px;padding:12px 14px;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease;font:inherit}
.rp26-schedule-box:hover{transform:translateY(-2px);box-shadow:0 6px 16px rgba(20,30,60,.09)}
.rp26-schedule-box time{font-size:11px;font-weight:800;letter-spacing:.03em;text-transform:uppercase;color:#6e6e73}
.rp26-schedule-box b{font-size:13.5px;line-height:1.3;color:#1c2230}
.rp26-schedule-box small{font-size:11.5px;color:#7b869a}
.rp26-schedule-box.sched-progress{border-left-color:#198b75}
.rp26-schedule-box.sched-trade{border-left-color:#9b5de5}
.rp26-schedule-box.sched-task{border-left-color:#e79a32}
.rp26-schedule-box.sched-meeting{border-left-color:#3287d3}
.rp26-schedule-box.sched-site{border-left-color:#15967c}
.rp26-schedule-box.sched-selection{border-left-color:#c2410c}
.rp26-schedule-box.sched-delivery{border-left-color:#0369a1}
.rp26-schedule-box.sched-invoice{border-left-color:#b91c1c}
.rp26-schedule-box.sched-default{border-left-color:#9aa3b2}
@media(max-width:760px){.rp26-schedule-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}}
.rp4-home-schedule .rp4-panel-head{align-items:flex-start;gap:18px}
.rp4-home-schedule-actions{display:flex;gap:8px;flex-wrap:wrap}
.rp4-home-schedule-actions button,.rp4-home-schedule-empty button{border:1px solid #d7e1ee;background:#fff;border-radius:10px;padding:10px 14px;font-weight:700;cursor:pointer;color:#263652}
.rp4-home-schedule-actions .rp4-schedule-open{background:#16213a;color:#fff;border-color:#16213a}
.rp4-home-schedule-list{display:grid;gap:8px}
.rp4-home-schedule-row{display:grid;grid-template-columns:110px 1fr auto;align-items:center;text-align:left;gap:14px;width:100%;padding:13px 15px;border:1px solid #e5eaf2;border-radius:12px;background:#fff;cursor:pointer}
.rp4-home-schedule-row:hover{border-color:#8daaf3;background:#f8faff}
.rp4-home-schedule-row time{font-weight:800;color:#536fb7}
.rp4-home-schedule-row span{display:grid;gap:3px}
.rp4-home-schedule-row b{color:#19243b}
.rp4-home-schedule-row small{color:#738099}
.rp4-home-schedule-row strong{color:#536fb7}
.rp4-home-schedule-empty{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:18px;border:1px dashed #cbd7ea;border-radius:12px;color:#6d7890}
.rp4-home-schedule-empty b{color:#19243b}
.rp26-home-scheduler-top{margin-bottom:18px}
#page-portfolio .rp26-main>.rp26-attention{display:none!important}
/* 2026-09-20 (Part 16, token unification): this whole card used to carry
   its own bespoke background/border/shadow and an oversized 22px navy
   heading, from a much older "Scheduler polish" pass — a leftover that
   was never brought in line when every other card on Home was unified.
   The heading specifically rendered visibly larger and a different
   colour than "Active jobs"/"Quick Add"/every other card title on the
   same screen (16px/var(--ink) elsewhere vs 22px/#1b2d4d here), purely
   because this selector has one extra class and so kept winning over the
   shared, supposedly-unified heading rule regardless of file order.
   Card background/border/shadow removed so it falls back to the one
   shared .rp26-card look fixed in renopilot-core.css; heading brought to
   the same size/colour as every other card title. */
#page-portfolio .rp26-home-scheduler-top{padding:0!important;overflow:hidden!important}
#page-portfolio .rp26-home-scheduler-top .rp26-section-head{padding:20px 24px 16px!important;border-bottom:1px solid #e4eaf4!important}
#page-portfolio .rp26-home-scheduler-top .rp26-section-head h2{font-size:16px!important;font-weight:650!important;color:var(--ink,#0a0a0c)!important}
/* Part 26: this card's own padding is deliberately zeroed above (line 105)
   so the header and each .rp26-list-row can supply their own 24px inset.
   Two more things can render as this card's body content -
   the "collapsed" summary line (once the new Home Today row makes this
   card redundant) and the plain schedule-item grid (when it isn't) -
   and neither one had ever been given that same inset, so it sat flush
   against the card's left edge instead of matching the header above it. */
#page-portfolio .rp26-home-scheduler-top .rp-scheduler-collapsed{padding:0 24px 18px!important;margin:10px 0 0!important}
#page-portfolio .rp26-home-scheduler-top .rp26-schedule-grid{padding:16px 24px 18px!important}
#page-portfolio .rp26-home-scheduler-top .rp26-list-row{grid-template-columns:82px 10px minmax(0,1fr)!important;gap:12px!important;padding:15px 24px!important;margin:0!important;border-bottom:1px solid #e7edf6!important;align-items:center!important}
#page-portfolio .rp26-home-scheduler-top .rp26-list-row time{font-size:13px!important;font-weight:700!important;color:#4a6fb4!important;white-space:nowrap!important}
#page-portfolio .rp26-home-scheduler-top .rp26-list-row b{font-size:15px!important;color:#243653!important}
#page-portfolio .rp26-home-scheduler-top .rp26-list-row small{font-size:12px!important;color:#7b879d!important}
#page-portfolio .rp26-home-scheduler-top .rp26-list-row .rp26-dot{width:9px!important;height:9px!important}
@media(max-width:760px){.rp4-home-schedule-row{grid-template-columns:78px 1fr auto}.rp4-home-schedule-actions{width:100%}}
