.role-home{padding:24px;background:#e6f1ef;border-radius:16px;color:#26313b;margin-bottom:24px}
.role-home[data-account-type="platform-owner"]{background:#eaf0f5}.role-home[data-account-type="faculty"]{background:#f7f0df}
.role-home h2{margin:0 0 8px;font-size:24px;letter-spacing:-.025em}.role-home h3{margin:0;font-size:18px}
.role-home header p,.role-home-compliance>p{margin:0;max-width:75ch;line-height:1.5}.role-home header{margin-bottom:20px}
.role-home-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px;margin:16px 0}
.role-home-action{display:grid;grid-template-columns:1fr auto;gap:4px 16px;padding:16px 0;border-bottom:1px solid #b9cfca;text-decoration:none;color:inherit}.role-home-action>span:first-of-type{grid-column:1;font-size:13px}.role-home-action>span:last-child{grid-column:2;grid-row:1/3;align-self:center}.role-home-action:hover strong{text-decoration:underline}
.role-home-compliance{padding:20px;background:#fff;border-radius:12px;margin:20px 0}.role-home-section-heading{display:flex;gap:12px;justify-content:space-between;align-items:center;margin-bottom:12px}.role-home-compliance>p{font-size:13px;color:#53625f}
.role-home-compliance ul{padding:0;list-style:none;margin:12px 0}.role-home-compliance li+li{border-top:1px solid #e2e4e1}.role-home-compliance li a{display:grid;grid-template-columns:minmax(160px,1fr) minmax(180px,2fr) auto;gap:16px;padding:14px 0;color:inherit;text-decoration:none;align-items:center}.role-home-compliance li a:hover strong{text-decoration:underline}.role-home-compliance li span{font-size:13px;line-height:1.45}.role-home-compliance small{color:#7f1736}.role-home-coverage{font-size:13px;color:#53625f}
.role-home nav{display:flex;flex-wrap:wrap;gap:12px 24px}.role-home nav a{color:#7f1736;font-weight:600;text-underline-offset:3px}.role-home button{background:#fff;color:#26313b;border:1px solid #858c87;border-radius:10px;padding:9px 14px;cursor:pointer}.role-home button:disabled{opacity:.6;cursor:wait}.role-home :focus-visible{outline:3px solid #9d2948;outline-offset:3px}
.role-home-faculty{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:20px 0}.role-home-faculty>a{display:flex;flex-direction:column;gap:8px;color:inherit;text-decoration:none;padding:12px 0;border-bottom:1px solid #d8cba6}.role-home-faculty>a:hover strong{text-decoration:underline}.role-home-faculty span,.role-home-faculty small{font-size:13px}
@media(max-width:760px){.role-home{padding:18px}.role-home-actions,.role-home-faculty{grid-template-columns:1fr}.role-home-compliance{padding:16px}.role-home-compliance li a{grid-template-columns:1fr;gap:6px}.role-home h2{font-size:22px}}
.role-home-queue{margin:24px 0;padding:20px 0;border-top:1px solid #b9cfca;border-bottom:1px solid #b9cfca}.role-home-queue ul{padding:0;margin:12px 0;list-style:none}.role-home-queue li+li{border-top:1px solid #b9cfca}.role-home-queue li a{display:grid;grid-template-columns:minmax(160px,1fr) minmax(180px,1fr) auto;align-items:center;gap:20px;padding:14px 0;color:inherit;text-decoration:none}.role-home-queue li a:hover strong{text-decoration:underline}.role-home-queue small{display:block;margin-top:5px;font-size:12px}.role-home-queue li a>span:nth-child(2){font-size:13px;line-height:1.45}.role-home-review-label{color:#7f1736;font-size:13px}.role-home-queue [role="alert"]{color:#7f1736}
@media(max-width:760px){.role-home-queue li a{grid-template-columns:1fr;gap:8px}.role-home-queue .role-home-section-heading{align-items:flex-start}.role-home-queue h3{max-width:16ch}}

/* Home has one workspace at a time. Group tools never stack above personal work. */
.home-page[data-home-view="group"] > :not([data-role-home]):not(.portal-guide-offer) { display:none!important; }
.home-page[data-home-view="faculty"] > :not([data-role-home]):not(.portal-guide-offer) { display:none!important; }
.role-home,.role-home[data-account-type="platform-owner"],.role-home[data-account-type="faculty"] { padding:0;background:transparent;color:#26313b; }
.role-home [hidden] { display:none!important; }
.role-home .home-view-switch { gap:0;border-bottom:1px solid #b6bdc5;margin-bottom:24px; }
.role-home .home-view-switch button { border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;padding:12px 20px;color:#465361; }
.role-home .home-view-switch button[aria-pressed="true"] { border-bottom-color:#8d2143;color:#8d2143;font-weight:750; }
.role-home-management { background:#fff;border-radius:16px;overflow:hidden; }
.role-home-management > header { margin:0;padding:24px 28px;background:#243f56;color:#fff; }
.role-home-management > header p { color:#e0e9f0;font-size:14px; }
.role-home .role-home-panel-nav { gap:8px;padding:16px 28px;border-bottom:1px solid #d9dee3; }
.role-home-panel-nav button { border:0;background:transparent; }
.role-home-panel-nav button[aria-pressed="true"] { background:#8d2143;color:#fff; }
.role-home-queue,.role-home-compliance { margin:0;padding:24px 28px;border:0;border-radius:0; }
.role-home-queue li+li,.role-home-compliance li+li { border-color:#d9dee3; }
.role-home-queue li a { padding:18px 0; }
.role-home-actions { margin:0;padding:12px 28px 24px; }
.role-home-action { border-color:#d9dee3; }
.role-home-management > nav:last-child { padding:16px 28px;border-top:1px solid #d9dee3; }
.home-page .home-next-action { background:#8d2143;color:#fff;border:0;box-shadow:none; }
.home-page .home-next-action h2,.home-page .home-next-action p { color:#fff; }
.home-page .home-next-action small { display:none; }
.home-page .home-next-action .primary-button,.home-page .home-next-action .soft-button { background:#fff;color:#7f1736;border:0; }
.home-page .home-work,.home-page .home-calendar,.home-page .quick-actions { background:#fff;border:0;box-shadow:none; }
.home-page .home-work > header,.home-page .home-calendar > .side-card-header { background:#243f56;color:#fff;margin:-20px -20px 12px;padding:16px 20px;border-radius:16px 16px 0 0; }
.home-page .home-work .card-title,.home-page .home-calendar .card-title,.home-page .home-work > header a,.home-page .home-calendar > .side-card-header a { color:#fff; }
.home-page .home-project-tile,.home-page .home-project-tile:nth-child(n),.home-page .home-project-tile[data-work-state] { background:#fff;border:1px solid #c4cdd5;box-shadow:none; }
.home-page .home-project-tile .project-context { color:#445869; }
.home-page .home-project-tile .home-task-signal { color:#284e6b; }
.home-page .home-project-tile .home-late-signal { color:#fff;background:#8d2143;padding:2px 7px;border-radius:4px; }
.home-page .home-project-tile .home-update-signal { color:#634300;background:#f2d390;padding:2px 7px;border-radius:4px; }
.home-page .home-announcements > header { background:#fff; }
.home-page ::selection { background:#8d2143;color:#fff; }
@media(max-width:760px){
 .role-home-management > header,.role-home-queue,.role-home-compliance { padding:20px; }
 .role-home .role-home-panel-nav { padding:12px;gap:2px; }
 .role-home-panel-nav button { padding:10px; }
 .role-home-actions { padding:0 20px 20px; }
}
/* Filters belong to the task queue; project totals stay with My projects. */
.home-task-filters { display:flex;flex-wrap:wrap;gap:6px;padding:4px 0 12px;border-bottom:1px solid #d9dee3; }
.home-task-filters[hidden] { display:none; }
.home-task-filters > button { display:flex;align-items:center;justify-content:center;gap:8px;flex:1 1 130px;min-height:44px;padding:10px 12px;border:1px solid transparent;border-radius:8px;background:#f0f3f5;color:#304659;font:inherit;cursor:pointer; }
.home-task-filters > button:hover { border-color:#243f56; }
.home-task-filters > button.selected { background:#243f56;color:#fff; }
.home-task-filters strong { font-size:18px;line-height:1.1; }
.home-task-filters span { font-size:12px;font-weight:650; }
.home-page .home-calendar { padding:20px; }
.home-page .quick-actions { border:1px solid #d9dee3;border-top:3px solid #8d2143;padding:18px; }
.home-page .quick-actions > summary { list-style:none;cursor:pointer;gap:12px;margin:0;min-height:32px; }
.home-page .quick-actions > summary::-webkit-details-marker { display:none; }
.home-page .quick-actions[open] > summary { margin-bottom:12px; }
.home-page .quick-actions .card-title { margin:0;font-size:18px; }
.home-quick-chevron { width:8px;height:8px;border-right:2px solid #8d2143;border-bottom:2px solid #8d2143;transform:rotate(45deg);margin:0 3px 4px; }
.quick-actions[open] .home-quick-chevron { transform:rotate(225deg);margin-bottom:0; }
.home-page .quick-row { padding:12px 0;gap:10px; }
.home-page .quick-row strong { font-size:13px; }
.home-page .quick-row .quick-icon { width:30px;height:30px; }
.home-task-filters > button:focus-visible,.home-page .quick-actions > summary:focus-visible { outline:3px solid #9d2948;outline-offset:3px; }
@media(max-width:900px){ .home-page .quick-actions { padding:12px 16px; } }
@media(max-width:540px){
 .home-task-filters { gap:4px; }
 .home-task-filters > button { flex:1 1 0;flex-direction:column;gap:4px;padding:8px 4px; }
 .home-task-filters span { font-size:11px; }
}
.home-page .home-announcements .kicker { display:none; }
.role-home-faculty-header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin:0 0 18px}
.role-home-faculty-header p{color:#53625f}
.role-home-faculty-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.role-home-faculty-layout>section{background:#fff;border:1px solid #d9dee3;border-radius:14px;padding:20px;min-width:0}
.role-home-faculty-layout>section:first-child{grid-column:1/-1;border-color:#8d2143}
.role-home-faculty-layout .role-home-section-heading{margin:0 0 12px}
.role-home-faculty-layout .role-home-section-heading a,.role-home-faculty-shortcuts a{color:#7f1736;font-size:13px;font-weight:650;text-underline-offset:3px}
.role-home-faculty-layout ul{list-style:none;padding:0;margin:0}
.role-home-faculty-layout li+li{border-top:1px solid #e0e4e8}
.role-home-faculty-layout li a{color:inherit;text-decoration:none}
.role-home-faculty-layout li a:hover strong{text-decoration:underline}
.role-home-faculty-decisions li a{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 0}
.role-home-faculty-decisions li a>span:last-child{color:#7f1736;font-size:13px;white-space:nowrap}
.role-home-faculty-layout li small{display:block;color:#53625f;font-size:12px;line-height:1.4;margin-top:4px}
.role-home-faculty-projects li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0}
.role-home-faculty-projects li p{margin:4px 0 0;color:#53625f;font-size:13px}
.role-home-faculty-projects li button{flex:none;font-size:12px;padding:7px 10px}
.role-home-faculty-comment{border-top:1px solid #d9dee3;padding-top:16px;margin-top:8px}
.role-home-faculty-comment label{display:block;font-weight:650;font-size:13px}
.role-home-faculty-comment textarea{display:block;width:100%;box-sizing:border-box;margin:8px 0 10px;padding:10px;border:1px solid #8d9aa4;border-radius:8px;font:inherit;font-weight:400}
.role-home-faculty-comment>div{display:flex;gap:8px}
.role-home-faculty-updates li a{display:block;padding:12px 0}
.role-home-faculty-updates li strong,.role-home-faculty-updates li span{display:block;line-height:1.4}
.role-home-faculty-updates li span{color:#53625f;font-size:13px;margin-top:4px;overflow-wrap:anywhere}
.role-home-faculty-shortcuts{margin-top:16px}
.role-home-faculty-layout [role="alert"]{color:#7f1736;font-size:13px}
@media(max-width:760px){.role-home-faculty-layout{grid-template-columns:1fr}.role-home-faculty-layout>section:first-child{grid-column:auto}.role-home-faculty-header{align-items:center}.role-home-faculty-layout>section{padding:16px}}
