/* Shared Helping Hands Cares visual language, adapted for Workforce. */
.hhc-mobile-menu{display:none}
@media(max-width:640px){.app-shell .brand{width:100%}.hhc-mobile-menu{display:block;margin-left:auto;color:#e4f2f7;background:#234658;border:1px solid #466676;border-radius:8px;padding:8px 10px;font-size:11px;font-weight:600}.app-shell .sidebar[data-hhc-menu=closed] #nav,.app-shell .sidebar[data-hhc-menu=closed] .hhc-workspace-search{display:none}.app-shell .sidebar{padding-bottom:16px}.app-shell .brand>div:not(.brand-mark){min-width:0}}
.app-shell .main>.card{margin:0 40px 24px;padding:20px;border:1px solid #dce5ed;border-radius:12px;box-shadow:0 4px 20px #172c3d0b}.app-shell .profile-detail section{border-color:#dce5ed;border-radius:10px}.app-shell .profile-detail section h3{color:#285569}.app-shell #hhc-workspace-jumps{margin:0;padding:12px 15px;background:white;border:1px solid #dce5ed;border-radius:10px}.app-shell #exception-workspace{margin:0}.app-shell #exception-workspace .exception-filters{gap:12px}.app-shell #exception-workspace .exception-filters label{gap:6px;display:grid}
:root{--ink:#172c3d;--muted:#617181;--line:#dce5ed;--panel:#fff;--page:#f3f6f9;--nav:#152f42;--nav-soft:#234658;--blue:#167c85;--green:#237653;--red:#b43e49;--amber:#94651b;--teal:#126c77;--soft-red:#eef7f7;--soft-neutral:#f7f9fb;--soft-blue:#eef5f8;--black:#172c3d;--shadow:0 4px 20px rgba(23,44,61,.045);color-scheme:light}
html{scroll-behavior:smooth;scroll-padding-top:120px}body{font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:14px;line-height:1.5;background:#f3f6f9;color:var(--ink);-webkit-font-smoothing:antialiased}
button,input,select,textarea{font:inherit}button,a,input,select,summary{touch-action:manipulation}[hidden]{display:none!important}
h1,h2,h3,h4{color:var(--ink);line-height:1.25;letter-spacing:-.025em}h1{font-size:clamp(1.55rem,2vw,2rem);font-weight:700}h2{font-size:1.3rem}h3{font-size:1rem}p.meta,.meta{color:#617181;line-height:1.55}a{color:#126c77;text-underline-offset:3px}
.app-shell{grid-template-columns:252px minmax(0,1fr);background:#f3f6f9!important;color:#172c3d}.app-shell .sidebar{background:#152f42!important;padding:24px 16px 16px;gap:18px;border-right:1px solid #254354;overflow-y:auto;height:100dvh;scrollbar-width:thin}
.app-shell .brand{padding:0 4px;gap:10px}.app-shell .brand-mark{width:54px;height:54px;flex-shrink:0;padding:5px;border-radius:10px;box-shadow:none}.app-shell .brand-mark img{object-fit:contain}.brand strong{font-size:14px;color:#fff}.brand span{color:#afc6d1;font-size:11px}
.app-shell #nav{gap:4px;overflow:visible}.app-shell #nav>button{min-height:39px;padding:9px 11px;border:1px solid transparent;border-radius:8px;color:#d8e5ec;background:none!important;font-size:13px;line-height:1.35;font-weight:550;box-shadow:none}.app-shell #nav>button:hover{background:#234658!important;color:#fff}.app-shell #nav>button.active{background:#235365!important;border-color:#367486;color:#fff;box-shadow:inset 3px 0 #8bd7d0}
.app-shell #nav .badge{background:#33576b;font-size:10px}.hhc-workspace-search{display:grid;gap:6px;color:#afc6d1;font-size:10px;letter-spacing:.08em;font-weight:650}.hhc-workspace-search input{background:#203e51!important;color:#fff!important;border:1px solid #3a5869!important;border-radius:8px;padding:9px 10px;min-width:0;width:100%;font-size:12px;letter-spacing:0}.hhc-workspace-search input::placeholder{color:#b6c7d0}
.app-shell .compliance-box,.app-shell .menu-contacts{background:#1a394c;border:1px solid #355365;border-radius:10px;box-shadow:none;padding:12px;margin-top:0;color:#e1ebf0}.compliance-box strong{font-size:12px;font-weight:600}.compliance-box small,.compliance-box span{font-size:10px;color:#afc6d1}.menu-contacts a,.menu-contacts b{font-size:11px;color:#d5e6ef!important;font-weight:500}.menu-contacts>strong{font-size:11px}.menu-contacts{gap:7px}
.app-shell .topbar{height:auto;min-height:100px;align-items:center;padding:20px clamp(18px,2.5vw,40px);border-bottom:1px solid #dce5ed;background:#f3f6f9f5;box-shadow:none;gap:16px}.eyebrow{font-size:10px;color:#497184;font-weight:700;letter-spacing:.12em}.hhc-workspace-description{font-size:12px;color:#617181;max-width:640px;margin-top:6px}.app-shell .top-actions{gap:7px;justify-content:flex-end;max-width:60%}.top-actions button{font-size:11px;min-height:34px;padding:7px 10px}.session-chip{font-size:11px;background:#e7f2f3;color:#275563;border:1px solid #cce1e4;border-radius:20px;padding:6px 10px}
.app-shell #content{padding:24px clamp(18px,2.5vw,40px) 48px;gap:18px;min-width:0}.app-shell #content .card{border:1px solid #dce5ed;border-radius:12px;background:white;box-shadow:var(--shadow);padding:20px}.app-shell #content .card:hover{border-color:#c8d9e1}.app-shell #content .card-header{gap:14px;margin-bottom:18px;flex-wrap:wrap;align-items:flex-start}.card-header h2{margin-bottom:5px}.card-header .meta{font-size:12px;max-width:850px}.grid{gap:16px}.app-shell #content .metric{border-top:3px solid #83b9bb}.app-shell #content .metric strong{font-size:28px;letter-spacing:-.04em;color:#18394c;font-variant-numeric:tabular-nums}.metric span{font-size:12px}
.app-shell :is(.primary-btn,.secondary-btn,.danger-btn){min-height:38px;border-radius:8px;padding:9px 13px;font-weight:600;font-size:12px;box-shadow:none;line-height:1.35;white-space:normal}.app-shell .primary-btn{background:#167c85!important;background-image:none!important;border:1px solid #167c85!important;color:#fff!important}.app-shell .primary-btn:hover{background:#12636d!important}.app-shell .secondary-btn{background:#fff!important;background-image:none!important;color:#305266!important;border:1px solid #cddce4!important}.app-shell .secondary-btn:hover{background:#eef5f7!important}.app-shell .danger-btn{background:#fff4f4!important;color:#a83845!important;border:1px solid #eac8cc!important}.app-shell button:disabled{opacity:.55;cursor:not-allowed}
.app-shell input:not([type=checkbox]):not([type=radio]):not([type=file]),.app-shell select,.app-shell textarea{border:1px solid #ccdbe4;border-radius:8px;background:#fff;color:#172c3d;min-height:40px;padding:9px 11px;max-width:100%;box-shadow:none}.app-shell input[type=checkbox],.app-shell input[type=radio]{accent-color:#167c85}.app-shell label.field>span,.field>span{font-size:11px;font-weight:600;color:#536a79}.app-shell textarea{min-height:92px;line-height:1.5}.app-shell :is(input,select,textarea):disabled{background:#f2f5f7;color:#6a7c89}.app-shell :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #78b7c1;outline-offset:3px}
.app-shell #content table{font-size:12px;line-height:1.5}.app-shell #content table thead th{background:#eef4f7;color:#526b7a;font-size:10px;letter-spacing:.055em;padding:12px 10px;font-weight:700;text-transform:uppercase;white-space:normal}.app-shell #content table td{padding:12px 10px;border-color:#e5edf2;vertical-align:middle}.app-shell #content table tbody tr:nth-child(even){background:#f9fbfc}.app-shell #content table tbody tr:hover{background:#f0f7f8}.app-shell #content table input,.app-shell #content table select{font-size:12px;min-height:36px;padding:7px 9px}.app-shell #content .table-wrap{border:1px solid #e1e9ef;border-radius:9px;overflow:auto;max-width:100%}.hhc-table-scroll{overflow:auto;max-width:100%;border:1px solid #e1e9ef;border-radius:9px}
.app-shell .pill{font-size:10px;font-weight:650;letter-spacing:0;padding:3px 9px;min-height:24px;background:#eef2f6;color:#536779}.app-shell .pill.green{background:#e9f6ef;color:#286b4d}.app-shell .pill.red{background:#fceef0;color:#a93b49}.app-shell .pill.amber{background:#fbf3df;color:#875d20}.app-shell .pill.blue,.app-shell .pill.teal{background:#e9f3f5;color:#2a6878}
.app-shell .avatar{background:#e6f1f3;color:#285c70;border-radius:10px;font-weight:650;overflow:hidden}.avatar img{height:100%;width:100%;object-fit:cover}.app-shell .employee-button{border:1px solid #dce5ed;background:#fff;border-radius:10px;padding:14px}.app-shell .employee-button:hover{background:#f2f8f9;border-color:#9ebfc7;box-shadow:none}.employee-directory{grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}.app-shell .employee-profile{grid-template-columns:250px minmax(0,1fr);gap:18px}.app-shell #content .profile-menu{padding:16px;top:120px}.profile-group-list button{border-radius:8px;padding:11px 10px;color:#305266}.profile-group-list button.active,.profile-group-list button:hover{background:#eaf4f5;border-color:#c6dfe1}.profile-group-list button strong{font-size:12px}.profile-group-list span{font-size:11px}.profile-grid{gap:16px}.app-shell #content .profile-section{background:#fbfcfd;border:1px solid #e0e9ef;border-radius:10px;padding:18px}.profile-section h3{font-size:12px;font-weight:700;margin-bottom:16px;color:#285569;letter-spacing:.025em}.form-grid{gap:13px}.list-item{background:#f8fbfc;border-color:#dce6ed;border-radius:9px}.employee-switcher{gap:12px}
.hhc-section-index{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 18px}.hhc-section-index a{font-size:11px;text-decoration:none;padding:6px 10px;border:1px solid #d5e4e9;border-radius:7px;background:#f4f9fa;color:#315f70}.hhc-section-index a:hover{background:#e7f2f4}.hhc-section-anchor{scroll-margin-top:125px}
.hhc-portrait-card{display:flex;gap:15px;align-items:center;border:1px solid #d6e6ea;background:#f5fafb;border-radius:10px;padding:16px;margin:0 0 18px}.hhc-portrait-preview{flex:0 0 76px;width:76px;height:76px;border-radius:12px;background:#e3eef2;display:grid;place-items:center;color:#597789;font-size:11px;overflow:hidden}.hhc-portrait-preview img{width:100%;height:100%;object-fit:cover}.hhc-portrait-copy{min-width:0;display:grid;gap:7px}.hhc-portrait-copy h3{font-size:14px}.hhc-portrait-copy p{font-size:11px;color:#617181}.hhc-portrait-actions{display:flex;gap:7px;flex-wrap:wrap;align-items:center}.hhc-portrait-actions label{font-size:11px}.hhc-portrait-actions input[type=file]{max-width:240px;font-size:11px}.hhc-portrait-status{font-size:11px;color:#315c6a;white-space:normal}.profile-menu .hhc-portrait-card{display:grid;margin:0;padding:12px}.profile-menu .hhc-portrait-preview{width:88px;height:88px}.profile-menu .hhc-portrait-actions{display:grid}.profile-menu .hhc-portrait-actions input[type=file]{max-width:190px}.hhc-portrait-actions button{font-size:11px}
dialog{border:1px solid #d4e1e9;border-radius:14px;box-shadow:0 20px 70px #172c3d30;max-width:min(900px,94vw)}dialog::backdrop{background:#152f4266;backdrop-filter:blur(2px)}.modal{background:white;border-radius:12px}.modal header h2{color:#18394c}.app-shell .empty-state{padding:24px;border:1px dashed #d0dfe7;border-radius:10px;background:#f8fbfc;color:#617181}
@media(min-width:981px){.app-shell .topbar{position:sticky;top:0;z-index:20}.app-shell .content>.grid.cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1200px) and (min-width:981px){.app-shell{grid-template-columns:220px minmax(0,1fr)}.app-shell .topbar{align-items:flex-start}.app-shell .top-actions{max-width:56%}.app-shell .employee-profile{grid-template-columns:210px minmax(0,1fr)}.profile-grid{grid-template-columns:1fr}}
@media(max-width:980px){.app-shell{grid-template-columns:1fr}.app-shell .sidebar{position:relative;height:auto;gap:12px;padding:16px}.app-shell .brand{padding:0}.hhc-workspace-search{max-width:430px}.app-shell #nav{display:flex;flex-wrap:wrap;gap:5px}.app-shell #nav>button{width:auto;min-height:38px;font-size:12px}.app-shell .compliance-box,.app-shell .menu-contacts{display:none}.app-shell .topbar{position:relative;align-items:flex-start;min-height:0;padding:20px 18px}.app-shell .top-actions{max-width:100%;justify-content:flex-start}.app-shell .employee-profile{grid-template-columns:1fr}.app-shell #content .profile-menu{position:relative;top:auto}.profile-group-list{display:flex;flex-wrap:wrap}.profile-group-list button{flex:1 1 120px}.profile-group-list span{display:none}.profile-menu .hhc-portrait-card{display:flex}.profile-grid{grid-template-columns:1fr}.app-shell #content{padding:18px 16px 32px}.app-shell #content .card{padding:17px}}
@media(max-width:640px){.app-shell .topbar{flex-direction:column;gap:14px}.app-shell .top-actions{gap:6px;width:100%}.app-shell .top-actions button{min-height:36px;font-size:11px}.app-shell .session-chip{width:100%}.app-shell #content .card-header>.split-actions{width:100%}.app-shell .form-grid{grid-template-columns:1fr}.app-shell .employee-directory{grid-template-columns:1fr}.app-shell #content table{min-width:620px}.app-shell #content .card{overflow:auto}.app-shell .profile-section{overflow:auto}.hhc-portrait-card{align-items:flex-start}.hhc-portrait-actions{display:grid}.hhc-portrait-actions input[type=file]{max-width:195px}.app-shell #content .profile-section{padding:14px}.app-shell #nav>button{flex:1 1 140px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}
@media print{.sidebar,.top-actions,.hhc-portrait-actions,.hhc-section-index{display:none!important}.app-shell{display:block}.topbar{position:static!important}.card{box-shadow:none!important;break-inside:avoid}.hhc-portrait-preview{print-color-adjust:exact}}
