.extra-tools-grid > .extra-tool-card{position:relative;padding-top:26px}
.extra-tool-card .hub-number{display:inline-grid;place-items:center}
.extra-tool-card .extra-tool-admin-settings{position:absolute;top:16px;right:16px;display:inline-grid;place-items:center;width:36px;height:36px;padding:0;border:1px solid #d7e5ea;border-radius:10px;background:#f3f8fa;color:#156082;font-size:18px;line-height:1;box-shadow:0 2px 7px rgba(11,52,66,.05)}
.extra-tool-card .extra-tool-admin-settings:hover{border-color:#75c4cc;background:#eaf7f8;color:#0b6876}
.extra-tool-card .extra-tool-admin-settings:focus-visible{outline:3px solid rgba(34,179,193,.28);outline-offset:2px}
.extra-tool-access-dialog{width:min(560px,calc(100vw - 28px))}
.extra-tool-access-users{display:grid;gap:8px;max-height:min(45vh,360px);overflow:auto;margin:12px 0;padding:2px}
.extra-tool-access-user{display:flex;align-items:center;gap:11px;padding:11px 12px;border:1px solid var(--line);border-radius:10px;background:#f9fbfc;cursor:pointer}
.extra-tool-access-user:hover{border-color:#9bcbd1;background:#f1f9fa}
.extra-tool-access-user input{width:18px;height:18px;accent-color:var(--teal);flex:0 0 auto}
.extra-tool-access-user span{min-width:0;display:grid;gap:2px}
.extra-tool-access-user strong{font-size:13px;color:var(--ink)}
.extra-tool-access-user small{font-size:11px;color:var(--muted);overflow-wrap:anywhere}
.extra-tool-access-status{margin:8px 0;color:var(--muted);font-size:12px}
.extra-tool-access-tools{display:grid;gap:8px;margin:12px 0}
.extra-tool-access-search{display:block}
.extra-tool-access-search input{width:100%;height:40px;padding:8px 11px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink);font-size:13px}
.extra-tool-access-search input:focus{outline:3px solid rgba(34,179,193,.2);border-color:#62bfc8}
.extra-tool-access-bulk-actions{display:flex;flex-wrap:wrap;gap:8px}
.extra-tool-access-bulk-actions .btn{min-height:36px;padding:7px 11px;font-size:12px}
.extra-tool-access-users-empty{padding:14px 4px}
.extra-tool-access-dialog .actions{justify-content:flex-end}
.extra-tool-detail-empty{margin-top:18px}
.org-chart-editor{display:grid;grid-template-columns:245px minmax(0,1fr);gap:15px;align-items:stretch}
.org-chart-sidebar,.org-chart-main{min-width:0;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:var(--shadow)}
.org-chart-sidebar{padding:16px;display:flex;flex-direction:column;gap:12px}
.org-chart-sidebar-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}
.org-chart-sidebar-heading .eyebrow{margin:0 0 2px;font-size:10px}
.org-chart-sidebar-heading h2{margin:0;color:var(--navy);font-size:17px}
.org-chart-sidebar-heading .btn{min-width:38px;width:38px;height:38px;padding:0;font-size:23px}
.org-chart-new-button{width:100%;min-height:38px;font-size:12px}
.org-chart-board-list{display:grid;gap:8px;overflow:auto;max-height:min(60vh,600px);padding:1px}
.org-chart-board-item{display:flex;width:100%;flex-direction:column;align-items:flex-start;gap:4px;padding:11px 12px;border:1px solid var(--line);border-radius:10px;background:#f8fbfc;color:var(--ink);text-align:left;cursor:pointer}
.org-chart-board-item:hover{border-color:#9bcbd1;background:#f1f9fa}
.org-chart-board-item[aria-current="page"]{border-color:var(--teal);background:#eaf7f8;box-shadow:inset 3px 0 var(--teal)}
.org-chart-board-item strong{font-size:12px;line-height:1.35;overflow-wrap:anywhere}
.org-chart-board-item small{font-size:10px;color:var(--muted)}
.org-chart-sidebar-note,.org-chart-help{margin:0;color:var(--muted);font-size:11px;line-height:1.55}
.org-chart-main{padding:16px;display:grid;gap:10px;align-content:start}
.org-chart-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;flex-wrap:wrap}
.org-chart-title-group{display:grid;gap:4px;min-width:min(300px,100%);flex:1}
.org-chart-title-group label{font-size:10px;font-weight:800;color:var(--muted)}
.org-chart-title-group input{width:100%;height:39px;border:1px solid var(--line);border-radius:8px;padding:7px 10px;color:var(--ink);font-weight:750}
.org-chart-title-group input:focus{outline:3px solid rgba(34,179,193,.2);border-color:#62bfc8}
.org-chart-title-group small{font-size:10px;color:var(--muted)}
.org-chart-toolbar-actions{display:flex;flex-wrap:wrap;align-items:center;gap:7px}
.org-chart-toolbar-actions .btn{min-height:37px;padding:7px 10px;font-size:11px}
.org-chart-capacity-row{display:flex;justify-content:space-between;gap:8px;align-items:center;padding:7px 10px;border-radius:8px;background:#f2f7f9;color:var(--muted);font-size:10px}
.org-chart-capacity-row span:first-child{font-weight:800;color:#156082;white-space:nowrap}
.org-chart-canvas-frame{position:relative;width:100%;overflow:hidden;border:1px solid #dce6eb;border-radius:10px;background-color:#fbfdfe;background-image:linear-gradient(#eaf0f2 1px,transparent 1px),linear-gradient(90deg,#eaf0f2 1px,transparent 1px);background-size:22px 22px}
.org-chart-svg{display:block;width:100%;height:auto;aspect-ratio:1305/630.4;overflow:visible}
.org-chart-svg .org-chart-node{cursor:pointer;outline:none}
.org-chart-svg .org-chart-node:hover .org-card-shell,.org-chart-svg .org-chart-node:focus .org-card-shell{stroke:#22b3c1;stroke-width:3}
.org-chart-svg .org-chart-connector{fill:none;stroke:#8ba1ab;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.org-chart-svg .org-chart-node-name{font-size:15px;font-weight:800;fill:#132f52}
.org-chart-svg .org-chart-node-role{font-size:10px;font-weight:700;fill:#173b56}
.org-chart-svg .org-chart-node-label{font-size:7.1px;fill:#38546a}
.org-chart-svg .org-chart-node-value{font-size:7.4px;font-weight:750;fill:#173b56}
.org-chart-empty-state{position:absolute;inset:0;display:grid;place-content:center;justify-items:center;text-align:center;padding:20px}
.org-chart-empty-state[hidden]{display:none}
.org-chart-empty-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:#e9f5f6;color:#168c9b;font-size:24px;font-weight:700}
.org-chart-empty-state h3{margin:10px 0 3px;color:var(--navy);font-size:15px}
.org-chart-empty-state p{margin:0 0 12px;color:var(--muted);font-size:11px}
.org-chart-card-dialog{width:min(760px,calc(100vw - 24px));max-height:min(92vh,900px);overflow-y:auto}
.org-chart-card-dialog form{margin:0}
.org-chart-employee-picker{position:relative;display:grid;gap:6px;margin:0 0 15px;padding:12px;border:1px solid #dce8ed;border-radius:10px;background:#f7fafb}
.org-chart-employee-picker>label{font-size:11px;font-weight:800;color:#35596a}
.org-chart-employee-picker>input{width:100%;height:39px;border:1px solid var(--line);border-radius:8px;padding:7px 10px;background:#fff;color:var(--ink);font-size:12px}
.org-chart-employee-picker>input:focus{outline:3px solid rgba(34,179,193,.2);border-color:#62bfc8}
.org-chart-employee-picker>small{font-size:10px;color:var(--muted);line-height:1.5}
.org-chart-employee-results{display:grid;gap:5px;max-height:190px;overflow:auto;padding:2px}
.org-chart-employee-result{display:grid;gap:2px;width:100%;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);text-align:left}
.org-chart-employee-result:hover,.org-chart-employee-result:focus-visible{border-color:#70bdc5;background:#f0f9fa;outline:none}
.org-chart-employee-result strong{font-size:11px;color:var(--navy)}
.org-chart-employee-result span,.org-chart-employee-no-results{font-size:10px;color:var(--muted)}
.org-chart-employee-no-results{margin:5px 3px;padding:9px}
.org-chart-card-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.org-chart-card-form-grid .field{display:grid;align-content:start;gap:5px}
.org-chart-card-form-grid .field>span{font-size:11px;font-weight:750;color:#526b78}
.org-chart-card-form-grid input,.org-chart-card-form-grid select{width:100%;min-width:0;height:38px;border:1px solid var(--line);border-radius:8px;padding:7px 9px;background:#fff;color:var(--ink);font-size:12px}
.org-chart-card-form-grid input[readonly]{background:#f1f6f8;color:#35596a;cursor:not-allowed}
.org-chart-photo-field{grid-column:1/-1}
.org-chart-photo-row{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.org-chart-photo-row img{width:58px;height:58px;object-fit:cover;border:1px solid var(--line);border-radius:50%;background:#eef3f5}
.org-chart-photo-row .btn{min-height:34px;padding:6px 10px;font-size:11px}
.org-chart-photo-field>small{font-size:10px;color:var(--muted)}
.org-chart-card-actions{align-items:center;margin-top:15px}
.org-chart-card-actions>span{flex:1}
@media(max-width:950px){.org-chart-editor{grid-template-columns:1fr}.org-chart-sidebar{order:0}.org-chart-board-list{grid-template-columns:repeat(2,minmax(0,1fr));max-height:220px}.org-chart-main{order:1}}
@media(max-width:640px){.org-chart-main{padding:11px}.org-chart-toolbar{align-items:stretch}.org-chart-title-group{min-width:100%}.org-chart-toolbar-actions{width:100%}.org-chart-toolbar-actions .btn{flex:1}.org-chart-capacity-row{align-items:flex-start;flex-direction:column}.org-chart-board-list{grid-template-columns:1fr}.org-chart-card-form-grid{grid-template-columns:1fr}.org-chart-photo-field{grid-column:auto}.org-chart-card-actions{align-items:stretch;flex-direction:column}.org-chart-card-actions>span{display:none}.org-chart-card-actions .btn{width:100%}}
@media(max-width:760px){.extra-tool-card .extra-tool-admin-settings{top:12px;right:12px}.extra-tool-access-dialog .actions{flex-direction:column-reverse}.extra-tool-access-dialog .actions .btn{width:100%}}

.org-chart-employee-source{font-size:9px;color:#0d8794;font-weight:700}

