/* Shared left-aligned page titles, preserving the home title typeface. */
.page .page-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.page .page-head h1.caption{font-family:AssistanceUI,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:32px;font-weight:700;color:#566e99;line-height:1.2;letter-spacing:-.4px;text-align:left;margin:0}
.page .page-head .global{margin-left:auto}
.page .reference-tasks h2.caption{font-size:20px;letter-spacing:0;line-height:1.35}
.page.board-page,.page.employee-page,.page.projects-page{max-width:1600px}
.reference-projects:not(.ref-project-detail),.reference-employees{max-width:1560px}
.ref-board-cards{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.ref-thought{padding:14px;min-height:165px}.ref-thought h3{font-size:17px}.ref-thought p{font-size:14px}.ref-thought footer{font-size:12px}
.reference-projects .project-list{grid-template-columns:repeat(3,minmax(0,1fr))}
.ref-project-card{grid-template-columns:1fr;gap:14px}.ref-project-right{align-items:stretch;gap:12px}.ref-project-progress{border-left:0;padding-left:0;margin:0}.ref-project-open{align-self:flex-end}
.reference-calendar .calendar{grid-template-columns:132px 54px repeat(5,minmax(140px,1fr));min-width:886px;grid-template-rows:36px repeat(var(--calendar-rows),auto)}
.reference-calendar .cell:nth-child(6n){border-right:1px solid var(--line)}.reference-calendar .cell:nth-child(7n){border-right:0}
.reference-calendar .name-cell{font-weight:700}
.reference-calendar .calendar-day,.reference-calendar .calendar-time-axis{display:grid;gap:0;padding:0;align-content:start}
.reference-calendar .calendar-time-axis{position:sticky;left:132px;z-index:2;background:#f8f9fb;font-size:11px;color:#68778c}
.calendar-time-axis>span{padding:4px 3px;text-align:center;border-top:1px solid #edf0f4}
.reference-calendar .calendar-time-head{position:sticky;left:132px;top:0;z-index:4;font-size:11px;background:#f7f8fa}
.calendar-time-slot{display:flex;flex-direction:column;gap:4px;padding:2px 5px;border-top:1px solid #edf0f4;min-width:0}
.calendar-time-slot .event{height:57px;min-height:57px}
@media(max-width:700px){
 .page .page-head h1.caption{font-size:27px}
 .ref-board-cards,.reference-projects .project-list{grid-template-columns:1fr}
 .reference-calendar .calendar{grid-template-columns:80px 46px repeat(5,112px);min-width:686px}
 .reference-calendar .calendar-time-axis,.reference-calendar .calendar-time-head{left:80px}
}
.workspace-unavailable .ref-board-cards,.workspace-unavailable .reference-projects .project-list{grid-template-columns:1fr}
.reference-calendar .calendar-day,.reference-calendar .calendar-time-axis{grid-template-columns:minmax(0,1fr);justify-content:stretch}
.calendar-time-slot{width:100%}

/* Compact project summaries: short identity block and one progress/action row. */
.reference-projects .ref-project-card{padding:16px;gap:12px;border-radius:10px;align-content:start}
.ref-project-card .ref-project-identity{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 10px;align-items:center}
.ref-project-card .ref-project-identity h3{font-size:20px;line-height:1.25;margin:0}
.ref-project-card .project-stage-chip{font-size:12px;padding:3px 8px;max-width:145px;text-align:center;line-height:1.3}
.ref-project-card .ref-project-identity p{grid-column:1/-1;font-size:13px;line-height:1.35;margin:2px 0 0}
.ref-project-card .ref-project-right{display:flex;flex-direction:row;align-items:center;gap:12px}
.ref-project-card .ref-project-progress{flex:1;min-width:0;border:0;padding:0;margin:0}
.ref-project-card .progress-top{font-size:12px;gap:8px}
.ref-project-card .coefficient{font-size:15px;padding:2px 6px}
.ref-project-card .scale{height:6px;margin-top:6px}
.ref-project-card .ref-project-open{min-width:36px;width:36px;height:36px;min-height:36px;padding:7px;align-self:center;font-size:14px}
@media(max-width:700px){.reference-projects .ref-project-card{padding:14px}.ref-project-card .ref-project-identity h3{font-size:18px}.ref-project-card .project-stage-chip{max-width:115px;font-size:11px}}
