.employee-time-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:20px;align-items:start;margin-bottom:20px}.employee-time-layout>.time-stats{grid-template-columns:repeat(2,minmax(0,1fr));margin:0}.employee-time-layout .form-padding{padding:18px}.employee-time-layout .form-stack{gap:12px}.employee-time-layout .time-compact{grid-template-columns:repeat(2,minmax(0,1fr))}.absence-compact{grid-template-columns:repeat(2,minmax(0,1fr));max-width:620px}.absence-compact>label:first-child,.absence-compact>[data-absence-day-part],.absence-compact>[data-absence-continuation]{grid-column:1/-1}.document-years{justify-content:flex-end;flex-wrap:wrap;padding:12px 20px}.document-category{border-top:1px solid var(--line)}.document-category>summary{cursor:pointer;padding:18px 22px;font-weight:700}.document-category .count-pill{margin-left:8px}.evidence-status p{font-size:13px;line-height:1.6}.profile-card+.panel{margin-top:20px}.topbar:not(:has(.header-project-timer)){grid-template-columns:1fr auto}
@media(max-width:1000px){.employee-time-layout{grid-template-columns:1fr}.employee-time-layout>.time-stats{grid-row:1}}
@media(max-width:520px){.absence-compact,.employee-time-layout .time-compact,.employee-time-layout>.time-stats{grid-template-columns:1fr}.document-years{justify-content:flex-start}.topbar:not(:has(.header-project-timer)){grid-template-columns:1fr}}

.employee-time-layout .stat-card:last-child{grid-column:auto}.employee-time-layout .stat-card{min-width:0;flex-wrap:wrap}.employee-time-layout .stat-card>div:last-child{min-width:0}.employee-time-layout .stat-card strong{overflow-wrap:anywhere}
@media(max-width:980px){.topbar:not(:has(.header-project-timer)){grid-template-columns:auto 1fr auto;min-height:76px}.portal-shell:has(.topbar:not(:has(.header-project-timer))) .sidebar{top:76px;height:calc(100vh - 76px)}}
@media(max-width:620px){.topbar:not(:has(.header-project-timer)){min-height:66px}.portal-shell:has(.topbar:not(:has(.header-project-timer))) .sidebar{top:66px;height:calc(100vh - 66px)}.document-category .document-row{grid-template-columns:39px minmax(0,1fr)}.document-category .document-meta,.document-category .review-actions{grid-column:2}.document-category .review-actions{display:flex;flex-wrap:wrap;gap:8px}}

.document-years{display:flex;width:100%;box-sizing:border-box;margin:0;border-radius:0}.profile-additional{margin-top:20px}.profile-additional>summary{padding:20px 24px;cursor:pointer;font-weight:700}.profile-additional>.panel{border:0;box-shadow:none}.profile-card{max-width:none}

/* Profile cards share one spacing and alignment system, including schedule and workflows. */
.profile-widgets{display:grid;gap:20px;text-align:left;align-items:start}.profile-widgets>.panel{margin:0;width:100%;max-width:none;box-sizing:border-box}.profile-widgets>.profile-widget,.profile-widgets>.workflow-panel{padding:24px}.profile-widgets .profile-hero{padding:24px}.profile-widgets>.profile-card>.details-grid{padding:0 24px 24px}.profile-widgets .profile-widget>.details-grid{padding:0}.profile-widgets h2{margin:0 0 16px;text-align:left;font-size:21px;color:var(--navy)}.profile-widgets .profile-hero h2{margin:0}.profile-widgets p{line-height:1.6}.profile-widgets .details-grid{min-width:0;grid-template-columns:repeat(2,minmax(0,1fr))}.profile-widgets .details-grid dd{overflow-wrap:anywhere;text-align:left}.profile-widgets>.profile-additional>summary{padding:24px}.profile-widgets .profile-additional>.workflow-panel{margin:0;padding:24px}.profile-widgets .form-padding{padding:24px}
@media(max-width:620px){.profile-widgets{gap:16px}.profile-widgets>.profile-widget,.profile-widgets>.workflow-panel,.profile-widgets .profile-hero,.profile-widgets .form-padding,.profile-widgets .profile-additional>.workflow-panel,.profile-widgets>.profile-additional>summary{padding:20px}.profile-widgets>.profile-card>.details-grid{padding:0 20px 20px}.profile-widgets .details-grid{grid-template-columns:1fr}.profile-widgets .details-grid>div:nth-child(n){padding:15px 0;border-left:0}}
