/* XXXXXX Office V13.9 — layout and employee profile refinements */
/* Separate cards on the same page. Scoped to direct page children to avoid
   accidental changes to cards nested inside report layouts or forms. */
#page > .card + .card,
#page > .card + .note-alert,
#page > .note-alert + .card,
#page > .note-alert + .note-alert,
#page > .card + .content-grid,
#page > .content-grid + .card,
#page > .content-grid + .note-alert,
#page > .note-alert + .content-grid {margin-top:20px}
#page > .card > .card {margin-top:16px}
#page > .card > .card:first-child {margin-top:0}
#page .card-header + .card-header {margin-top:0}
#page .card + .card {margin-top:18px}
#page .card .note-alert + .card {margin-top:16px}
#page > .note-alert {line-height:1.6}
#page .table-scroll + .card {margin-top:18px}
#page .card-body > .card + .card {margin-top:16px}
#page .data-table td .office-person-photo {margin-right:10px;flex-shrink:0}
.office-person-photo {width:36px;height:36px;border-radius:11px;display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;background:var(--soft);color:var(--accent);font-weight:700;overflow:hidden}
.office-person-photo.small {width:28px;height:28px;border-radius:8px}
.office-person-photo img,.office-photo-holder img {width:100%;height:100%;object-fit:cover;display:block}
.office-photo-holder {overflow:hidden}
.office-employee-identity {display:flex;align-items:center;gap:9px;min-width:150px}
.office-employee-identity .office-person-photo {margin:0!important}
.office-employee-identity .office-employee-meta {min-width:0}
.office-employee-controls {display:flex;align-items:center;gap:10px;margin:0 0 15px;flex-wrap:wrap}
.office-employee-controls input {flex:1;min-width:220px;max-width:440px}
.office-employee-controls select {min-height:36px;padding:7px 11px;border-radius:8px;background:var(--panel);color:var(--text);border:1px solid var(--line)}
#page tr[hidden] {display:none!important}
.office-photo-editor {display:flex;align-items:center;gap:16px;margin-bottom:18px}
.office-photo-editor .office-person-photo {width:78px;height:78px;border-radius:17px;flex-shrink:0;font-size:23px}
.office-photo-editor strong {font-size:15px}
.office-photo-editor p,.office-photo-warning {font-size:12px;line-height:1.65;color:var(--muted)}
.office-photo-warning {margin:13px 0 0}
@media (max-width:700px){#page > .card + .card,#page > .note-alert + .card,#page > .card + .note-alert{margin-top:15px}.office-employee-controls{flex-direction:column;align-items:stretch}.office-employee-controls input{width:100%;max-width:none;min-width:0}}
