.hub-page{min-width:0}.hub-shell{display:grid;grid-template-columns:260px minmax(0,1fr);min-height:680px;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:var(--shadow);overflow:hidden}.hub-rail{min-width:0;padding:14px;border-right:1px solid var(--line);background:var(--surface-muted)}.hub-search{display:grid;gap:6px;color:var(--muted);font-size:10px;font-weight:800}.hub-search input{width:100%;box-sizing:border-box}.hub-agent-list{display:grid;gap:5px;margin-top:12px}.hub-agent{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;padding:9px;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--ink);font:inherit;text-align:left;cursor:pointer}.hub-agent:hover{background:var(--surface)}.hub-agent.active{border-color:color-mix(in srgb,var(--accent) 35%,var(--line));background:var(--surface);box-shadow:0 4px 14px #19253a0a}.hub-agent-avatar{display:grid;width:40px;height:40px;overflow:hidden;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--accent);font-size:14px;font-weight:850;place-items:center}.hub-agent-avatar img{width:100%;height:100%;object-fit:cover}.hub-agent-copy{min-width:0}.hub-agent-copy strong,.hub-agent-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hub-agent-copy strong{font-size:11px}.hub-agent-copy small{margin-top:3px;color:var(--muted);font-size:9px}.hub-agent-count{display:grid;min-width:22px;height:22px;border-radius:999px;background:var(--surface);color:var(--muted);font-size:9px;font-style:normal;place-items:center}.hub-workspace{min-width:0}.hub-empty{display:grid;min-height:620px;color:var(--muted);place-content:center;text-align:center}.hub-empty strong{margin-bottom:7px;color:var(--ink);font-size:17px}.hub-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-bottom:1px solid var(--line)}.hub-identity{display:flex;align-items:center;gap:12px;min-width:0}.hub-identity .hub-agent-avatar{width:48px;height:48px}.hub-identity h2{margin:0 0 4px;font-size:17px}.hub-identity p{margin:0;color:var(--muted);font-size:10px}.hub-role{display:inline-flex;min-height:24px;align-items:center;padding:0 8px;border-radius:999px;background:#eaf2fd;color:#2866ad;font-size:9px;font-weight:800}.hub-role.is-subscriber{background:#e9f7f0;color:#167451}.hub-tabs{display:flex;gap:2px;padding:0 14px;border-bottom:1px solid var(--line);overflow:auto}.hub-tabs button{flex:0 0 auto;min-height:44px;padding:0 11px;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--muted);font:inherit;font-size:10px;font-weight:800;cursor:pointer}.hub-tabs button.active{border-bottom-color:var(--accent);color:var(--ink)}.hub-content{padding:18px 20px}.hub-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.hub-kpi{padding:14px;border:1px solid var(--line);border-radius:7px;background:var(--surface-muted)}.hub-kpi span,.hub-kpi small{display:block;color:var(--muted);font-size:9px}.hub-kpi strong{display:block;margin:7px 0 2px;font-size:23px}.hub-section{margin-top:16px;border-top:1px solid var(--line);padding-top:16px}.hub-section:first-child{margin-top:0;border-top:0;padding-top:0}.hub-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:11px}.hub-section-head h3{margin:0;font-size:13px}.hub-section-head p{margin:3px 0 0;color:var(--muted);font-size:9px}.hub-list{display:grid;gap:8px}.hub-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:7px;background:var(--surface)}.hub-row.is-paused{opacity:.62}.hub-row-copy{min-width:0}.hub-row-copy strong,.hub-row-copy p,.hub-row-copy small{display:block}.hub-row-copy strong{font-size:11px}.hub-row-copy p{margin:5px 0;color:var(--ink);font-size:10px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.hub-row-copy small{color:var(--muted);font-size:9px}.hub-row-actions{display:flex;align-items:center;gap:6px}.hub-row-actions button{white-space:nowrap}.hub-badge{display:inline-flex;align-items:center;min-height:21px;margin-right:6px;padding:0 7px;border-radius:999px;background:var(--surface-muted);color:var(--muted);font-size:8px;font-weight:800}.hub-badge.is-rule{background:#fff1e9;color:#a84b1d}.hub-badge.is-preference{background:#eaf2fd;color:#2866ad}.hub-badge.is-active,.hub-badge.is-accepted{background:#e9f7f0;color:#167451}.hub-badge.is-pending{background:#fff4dc;color:#97610a}.hub-setting-form{display:grid;gap:16px;max-width:760px}.hub-setting-group{display:grid;gap:10px;padding:14px;border:1px solid var(--line);border-radius:7px}.hub-setting-group>strong{font-size:11px}.hub-setting-group>p{margin:-4px 0 0;color:var(--muted);font-size:9px}.hub-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:10px}.hub-form-grid>label{align-self:start}.hub-form-grid input:not([type="checkbox"]),.hub-form-grid select{box-sizing:border-box;width:100%;height:40px;min-height:40px}.hub-setting-form label,.hub-dialog label{display:grid;gap:6px;color:var(--muted);font-size:10px;font-weight:750}.hub-toggle{display:flex!important;align-items:center;justify-content:space-between;gap:16px}.hub-toggle input{width:18px;height:18px}.hub-timeline{position:relative;display:grid;gap:0}.hub-event{display:grid;grid-template-columns:16px minmax(0,1fr);gap:10px;padding:0 0 16px}.hub-event-dot{width:9px;height:9px;margin-top:4px;border:3px solid color-mix(in srgb,var(--accent) 22%,var(--surface));border-radius:50%;background:var(--accent)}.hub-event strong,.hub-event small{display:block}.hub-event strong{font-size:10px}.hub-event small{margin-top:4px;color:var(--muted);font-size:9px}.hub-empty-inline{padding:28px;border:1px dashed var(--line);border-radius:7px;color:var(--muted);font-size:10px;text-align:center}.hub-dialog{width:min(560px,calc(100vw - 28px));padding:0;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);box-shadow:0 24px 80px #10182730}.hub-dialog::backdrop{background:#0f172a66;backdrop-filter:blur(3px)}.hub-dialog form{display:grid;gap:14px;padding:18px}.hub-dialog header,.hub-dialog footer{display:flex;align-items:center;justify-content:space-between;gap:10px}.hub-dialog h2{margin:2px 0 0;font-size:17px}.hub-dialog footer{padding-top:13px;border-top:1px solid var(--line)}.hub-dialog footer output{margin-right:auto;color:var(--muted);font-size:9px}.hub-icon-button{display:grid;width:32px;height:32px;padding:0;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--muted);font-size:20px;cursor:pointer;place-items:center}.hub-skill-editor{display:grid;gap:10px;margin-top:10px}.hub-skill-editor textarea{min-height:180px}.hub-version-list{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}@media(max-width:1050px){.hub-shell{grid-template-columns:220px minmax(0,1fr)}.hub-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.hub-row{grid-template-columns:1fr}.hub-row-actions{justify-content:flex-end}}@media(max-width:760px){.hub-shell{display:block}.hub-rail{border-right:0;border-bottom:1px solid var(--line)}.hub-agent-list{grid-template-columns:repeat(2,minmax(0,1fr));max-height:190px;overflow:auto}.hub-header{align-items:flex-start}.hub-content{padding:15px}.hub-form-grid{grid-template-columns:1fr}}@media(max-width:520px){.hub-agent-list{grid-template-columns:1fr}.hub-kpis{grid-template-columns:1fr 1fr}.hub-row-actions{overflow:auto;justify-content:flex-start}.hub-header{display:block}.hub-role{margin-top:10px}}
/* Readable type scale for the employee hub. */
.hub-event-card{min-width:0;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.hub-event-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.hub-event-head strong{font-size:11px}.hub-event-head span{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:4px}.hub-event-head em{padding:3px 6px;border-radius:999px;background:var(--surface-muted);color:var(--muted);font-size:8px;font-style:normal;font-weight:800}.hub-event-card p{margin:7px 0;color:var(--ink);font-size:10px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}.hub-event-card p.is-muted{color:var(--muted)}.hub-event-card small{margin-top:5px!important}.hub-list-note{margin:12px 0 0;color:var(--muted);font-size:11px;line-height:1.5;text-align:center}
.hub-page{font-size:14px}.hub-search{font-size:12px}.hub-search input{font-size:13px}.hub-agent-copy strong{font-size:13px}.hub-agent-copy small{font-size:11px;line-height:1.35}.hub-agent-count{font-size:10px}.hub-empty span{font-size:12px}.hub-identity h2{font-size:20px}.hub-identity p{font-size:12px;line-height:1.5}.hub-role{font-size:11px}.hub-tabs button{font-size:12px}.hub-kpi span,.hub-kpi small{font-size:11px;line-height:1.45}.hub-kpi strong{font-size:26px}.hub-section-head h3{font-size:16px}.hub-section-head p{font-size:11px;line-height:1.5}.hub-row-copy strong{font-size:13px}.hub-row-copy p{font-size:12px;line-height:1.65}.hub-row-copy small{font-size:11px;line-height:1.45}.hub-badge{font-size:10px}.hub-setting-group>strong{font-size:14px}.hub-setting-group>p{font-size:11px;line-height:1.55}.hub-setting-form label,.hub-dialog label{font-size:12px}.hub-setting-form :is(input,select),.hub-dialog :is(input,select,textarea){font-size:13px}.hub-event strong{font-size:12px}.hub-event small{font-size:10px}.hub-empty-inline{font-size:12px;line-height:1.6}.hub-dialog h2{font-size:19px}.hub-dialog footer output{font-size:10px}.hub-version-list{font-size:11px}
.hub-partial-notice{display:grid;grid-template-columns:auto 1fr;gap:3px 10px;margin-bottom:14px;padding:11px 13px;border:1px solid #f0d6a2;border-radius:8px;background:#fff9ed;color:#76551b}.hub-partial-notice strong{font-size:12px}.hub-partial-notice span,.hub-partial-notice small{font-size:11px;line-height:1.5}.hub-partial-notice small{grid-column:2;color:#987437}
.hub-inline-filter{display:flex;align-items:center;gap:8px;margin:0 0 11px}.hub-inline-filter input,.hub-inline-filter select{min-height:36px}.hub-inline-filter input{min-width:220px;flex:1}.hub-pagination{display:flex;align-items:center;justify-content:flex-end;gap:9px;margin-top:12px;color:var(--muted);font-size:10px}.hub-pagination label{display:flex;align-items:center;gap:5px}.hub-pagination select{min-height:30px}.hub-pagination button:disabled{opacity:.45;cursor:not-allowed}@media(max-width:560px){.hub-inline-filter{flex-wrap:wrap}.hub-inline-filter input{min-width:0;width:100%;flex-basis:100%}.hub-pagination{justify-content:flex-start;flex-wrap:wrap}
}
