/* Workplace pages share the existing theme and outline icon system. */
.content-view .text-button,.content-view .action-affordance,.module-dialog .action-affordance { display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:7px 12px !important;border:1px solid var(--line-strong) !important;border-radius:8px;background:var(--panel) !important;color:var(--primary);font-weight:650;text-decoration:none !important;cursor:pointer; }
.content-view .text-button:hover,.action-affordance:hover {background:var(--primary-soft) !important;border-color:var(--primary) !important;}
.content-view .danger-text {color:var(--danger);background:var(--danger-soft) !important;}
.workplace-tabs {display:flex;gap:8px;flex-wrap:wrap;margin-bottom:24px;}
.workplace-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;}
.directory-card {padding:24px;border:1px solid var(--line);border-radius:14px;background:var(--panel);min-width:0;}
.directory-person {display:flex;align-items:center;gap:14px;margin-bottom:18px;}
.directory-person h3 {margin:0;font-size:16px;overflow-wrap:anywhere;}
.directory-person p {margin:4px 0 0;color:var(--muted-text);font-size:12px;}
.person-photo {width:58px;height:58px;border-radius:50%;background:var(--primary-soft);color:var(--primary);display:inline-flex;align-items:center;justify-content:center;font-size:19px;font-weight:700;object-fit:cover;flex-shrink:0;}
.profile-photo {width:96px;height:96px;font-size:30px;}
.directory-card dl {margin-bottom:18px;font-size:12px;}
.directory-card dd {margin:4px 0 14px;overflow-wrap:anywhere;}
.directory-card dt {color:var(--muted-text);}
.directory-call {display:inline-flex;align-items:center;gap:8px;border:1px solid var(--line-strong);border-radius:8px;padding:9px 13px;text-decoration:none;color:var(--primary);font-weight:600;min-height:42px;}
.directory-call:hover {background:var(--primary-soft);}
.directory-call svg {width:17px;height:17px;}
.settings-layout {display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr);gap:24px;align-items:start;}
.settings-panel {padding:24px;background:var(--panel);border:1px solid var(--line);border-radius:14px;min-width:0;}
.settings-panel h3 {margin:0 0 8px;font-size:18px;}
.settings-panel>p {margin:0 0 22px;color:var(--muted-text);}
.settings-form-actions {grid-column:1/-1;display:flex;gap:10px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:20px;}
.photo-editor {display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin:20px 0;}
.photo-editor label {font-size:12px;display:block;font-weight:600;}
.photo-editor input[type=file] {width:100%;font-size:12px;margin-top:8px;max-width:320px;}
input[type=file]::file-selector-button {border:1px solid var(--line-strong);border-radius:6px;padding:8px 12px;background:var(--panel-soft);color:var(--text);cursor:pointer;margin-right:10px;}
.photo-editor small {display:block;color:var(--muted-text);margin-top:8px;}
.company-logo-preview {width:96px;height:96px;object-fit:contain;padding:8px;background:var(--panel-soft);border:1px solid var(--line);border-radius:12px;}
.week-calendar {display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;margin-top:16px;}
.week-calendar .week-day {min-height:42px;border:1px solid var(--line);border-radius:7px;display:flex;align-items:center;justify-content:center;font-size:12px;}
.week-calendar .week-day.off {background:var(--primary-soft);border-color:var(--primary);color:var(--primary);font-weight:700;}
.week-calendar .week-heading {font-size:10px;color:var(--muted-text);text-align:center;}
.report-filters {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;}
.report-filters label {display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:600;}
.report-filters input,.report-filters select {width:100%;padding:10px;}
.report-summary {display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin:24px 0 14px;}
.report-bars {display:flex;gap:14px;flex-wrap:wrap;margin:18px 0;}
.report-bars>div {flex:1;min-width:130px;font-size:12px;color:var(--muted-text);}
.report-bars progress {display:block;width:100%;height:8px;margin-top:6px;accent-color:var(--primary);}
.workplace-hint {font-size:12px;color:var(--muted-text);line-height:1.7;}
.profile-avatar img {width:100%;height:100%;object-fit:cover;border-radius:inherit;}
@media(max-width:1100px){.workplace-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-layout{grid-template-columns:1fr}.report-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.workplace-grid,.report-filters{grid-template-columns:1fr}.settings-panel,.directory-card{padding:18px}.workplace-tabs button{flex:1;white-space:nowrap}.settings-form-actions button{flex:1}.photo-editor input[type=file]{max-width:100%}.photo-editor>div{min-width:0}.module-metric strong{font-size:23px}.report-filters input,.report-filters select{font-size:16px}}
@media print{body.print-report .sidebar,body.print-report .topbar,body.print-report .preview-banner,body.print-report #reports>header,body.print-report #reports>form,body.print-report #reports button{display:none !important}body.print-report .main-area{margin:0;padding:0}body.print-report .table-wrap{overflow:visible}body.print-report #reports table{font-size:10px;min-width:0}body.print-report #reports{display:block}}

.hr-personal-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px;margin-bottom:24px;border:1px solid var(--line);border-radius:16px;background:var(--panel-soft);color:var(--text)}
.hr-personal-bar p{margin:6px 0 0;color:var(--muted-text);font-size:.85rem;max-width:48ch;line-height:1.5}
.hr-personal-bar .module-actions{flex-wrap:wrap}
.content-view .tab-btn.active.action-affordance,.content-view .tab-btn.active.action-affordance:hover{background:#4f46d8 !important;color:#fff !important;border-color:#4f46d8 !important}
@media(max-width:760px){.hr-personal-bar{align-items:stretch;flex-direction:column;padding:16px}.hr-personal-bar .module-actions{display:grid;grid-template-columns:1fr 1fr}.hr-personal-bar .module-actions button:last-child{grid-column:1/-1}}
