.category-workspace{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:16px;margin-top:18px;color:#233858}.category-list{padding:0;min-width:0;overflow:hidden}.category-toolbar{display:flex;align-items:center;gap:10px;padding:16px;background:#f4f5f7;flex-wrap:wrap}.category-toolbar>div{margin-right:auto}.category-toolbar h3{font-size:16px;margin:0 0 4px}.category-toolbar small{color:#6b7280}.category-toolbar input{width:160px}.category-toolbar input,.category-toolbar button,.category-export,.popup-patient-filters input,.popup-patient-filters select,.popup-patient-filters button{border:1px solid #dae2f0;border-radius:7px;background:white;padding:8px 10px;color:#233858;font:inherit;font-size:12px}.category-toolbar button,.category-export{cursor:pointer;text-decoration:none}.category-export{background:#343a40;color:white}.category-scope{font-size:11px;color:#78859a;margin:10px 16px}.category-table-scroll{max-height:730px;overflow:auto}.category-table{width:100%;border-collapse:collapse;font-size:12px}.category-table th{position:sticky;top:0;background:#f5f6f8;text-align:left;padding:12px;z-index:1}.category-table td{border-bottom:1px solid #e6eaf0;padding:12px}.category-table td:first-child{padding:0 10px}.category-table td>button{display:flex;align-items:center;gap:9px;border:0;background:none;color:inherit;width:100%;padding:13px 0;text-align:left;cursor:pointer}.category-table tr:hover{background:#f0f4ff}.category-table .is-selected{background:#34383f;color:white}.category-table .is-selected:hover{background:#34383f}.category-check{border:1px solid #b9c3cf;border-radius:3px;width:16px;height:16px;color:transparent;flex:none;text-align:center}.is-selected .category-check{background:white;color:#34383f}.category-progress{height:5px;border-radius:5px;background:#e1e5eb;overflow:hidden}.category-progress>span{height:100%;display:block;background:#41464e;border-radius:5px}.category-table td:nth-child(3){min-width:160px}.category-table td:nth-child(3)>span{font-size:11px}.category-table td:nth-child(3) .category-progress{margin-top:7px}.small-ring{display:inline-block;width:18px;height:18px;border-radius:50%;background:conic-gradient(#545b63 var(--completion),#e1e5eb 0);vertical-align:middle;margin-right:4px;position:relative}.small-ring:after{content:'';position:absolute;inset:3px;border-radius:50%;background:white}.category-panel{background:#ebeef2;padding:7px;border-radius:12px;align-self:start}.category-hero{display:flex;gap:12px;align-items:center;color:white;background:#34383f;padding:16px 12px;border-radius:8px;margin:-7px -7px 8px}.category-hero h3{font-size:15px;margin:0 0 5px;text-transform:uppercase}.category-hero>span{margin-left:auto;font-size:12px}.category-hero small{font-size:11px}.category-mini-card{background:white;padding:13px;border-radius:10px;margin:8px 0}.category-mini-card h4{display:flex;justify-content:space-between;align-items:center;margin:0 0 12px;font-size:13px}.category-mini-card h4>a{font-size:25px;color:#34383f;text-decoration:none;line-height:1}.topic-progress{display:flex;gap:9px;margin:14px 0;align-items:center}.topic-dot{background:#eceff3;padding:9px;border-radius:50%;color:#798596}.topic-progress>div{flex:1;min-width:0}.topic-progress>div>div:first-child{display:flex;gap:5px;justify-content:space-between;align-items:center;font-size:10px;margin-bottom:5px}.topic-progress small{white-space:nowrap;font-size:9px}.points-overview{display:flex;align-items:center;gap:12px}.points-overview>div:last-child{flex:1;font-size:11px}.points-overview>div:last-child>b{float:right}.points-overview p{font-size:11px}.points-overview p>strong{float:right}.completion-ring{position:relative;background:conic-gradient(#3e454d var(--completion),#e6e8eb 0);border-radius:50%;width:88px;height:88px;display:flex;align-items:center;justify-content:center;flex-direction:column;flex:none}.completion-ring:before{content:'';position:absolute;inset:8px;background:white;border-radius:50%}.completion-ring>*{z-index:1;font-size:17px}.completion-ring small{font-size:9px}.category-average{background:#eef0f3;padding:8px;font-size:10px;border-radius:5px;margin-bottom:0}.category-average b{float:right}.category-diagnosis{display:flex;gap:10px;justify-content:space-between;font-size:11px}.category-diagnosis b{white-space:nowrap;font-weight:500}.category-search-empty{padding:20px;text-align:center}.category-dialog{padding:0;border:0;border-radius:12px;width:min(790px,94vw);max-height:92vh;color:#20385f;box-shadow:0 30px 90px #06164860}.category-dialog::backdrop{background:#0b1f63cc;backdrop-filter:blur(2px)}.category-dialog[open]{animation:hiroModalIn 180ms ease}.category-popup{background:white}.popup-header{display:flex;align-items:center;padding:20px 24px;border-bottom:1px solid #dce4f2;gap:14px;position:sticky;top:0;background:white;z-index:2}.popup-header h2{margin:0 0 5px;font-size:23px;line-height:1.2}.popup-header p{margin:0;color:#7285a5;font-size:12px}.popup-icon{background:#edf2ff;border-radius:10px;padding:13px;color:#0b39f4}.popup-close{margin-left:auto;align-self:start;border:0;background:#f3f6fb;border-radius:7px;color:#6f7e97;font-size:24px;line-height:1;padding:2px 6px;cursor:pointer}.popup-body{padding:22px}.diagnosis-visual{border:1px solid #e1e8f6;border-radius:8px;padding:18px}.diagnosis-visual h3{font-size:19px;margin:0 0 20px;color:#14377b}.diagnosis-visual-body{display:flex;align-items:center;gap:22px}.category-pie{width:42%;flex:none;overflow:visible}.category-pie text{font:600 11px sans-serif;pointer-events:none}.category-pie a:hover path,.category-pie a:focus path{filter:brightness(1.12);stroke:#243e88;stroke-width:2}.diagnosis-legend{flex:1;font-size:12px;min-width:0}.diagnosis-legend-head,.diagnosis-legend>a{display:grid;grid-template-columns:minmax(0,1fr) 55px 65px;gap:8px;align-items:center;padding:10px 0;text-decoration:none;color:#27436e}.diagnosis-legend-head{color:#8297b6;font-size:11px}.diagnosis-legend>a{border-bottom:1px solid #f2f4f9}.diagnosis-legend>a:hover{background:#f1f5ff}.diagnosis-legend>a>span{display:flex;gap:8px;align-items:center}.diagnosis-legend i{width:13px;height:13px;border-radius:50%;display:inline-block;flex:none}.diagnosis-legend b{font-weight:500;text-align:right}.chart-note{font-size:10px;color:#788ba5;line-height:1.5;margin:15px 0 0}.popup-help{padding:15px;background:#f0f6ff;color:#4675c6;font-size:12px;border-radius:7px}.has-selection .category-pie{width:25%}.diagnosis-selection{flex:1;background:#f1f6ff;padding:16px;border-radius:9px;min-width:0}.diagnosis-selection h3{font-size:18px;margin-bottom:12px}.diagnosis-selection h3>span{float:right;font-size:10px;background:#1649f6;color:white;border-radius:4px;padding:5px}.diagnosis-selection>div{display:flex;background:white;border-radius:7px;padding:8px}.diagnosis-selection p{flex:1;margin:0;padding:4px 10px;font-size:10px;border-right:1px solid #edf0f5}.diagnosis-selection strong{display:block;font-size:12px;margin-top:6px}.diagnosis-selection>a{font-size:11px;display:block;margin-top:10px}.popup-summary{display:grid;grid-template-columns:repeat(5,1fr);background:#f6f8fc;border:1px solid #dce4f2;border-radius:8px;padding:16px 12px;gap:10px}.popup-summary strong{display:block;font-size:21px;margin-bottom:6px}.popup-summary span{font-size:10px;color:#7e8faa}.popup-patient-filters{margin:18px 0}.popup-patient-filters>input[type=search]{width:100%}.popup-filter-row{display:flex;gap:8px;margin-top:10px}.popup-patient-filters button{background:#1748f4;color:white;cursor:pointer}.popup-table-scroll{max-height:380px;overflow:auto;border:1px solid #dce4f2;border-radius:8px}.popup-patients{width:100%;border-collapse:collapse;font-size:12px}.popup-patients th{text-align:left;font-weight:500;font-size:10px;background:#f7f9fd;padding:13px;color:#7d90ad;position:sticky;top:0}.popup-patients td{padding:17px 12px;border-bottom:1px solid #e5ebf5}.popup-patients a{color:#1643eb;text-decoration:none}.popup-patients tr:hover{background:#eff4ff}.popup-count{font-size:11px;color:#8192ab;margin-bottom:0}[data-popup-sentinel]{text-align:center;padding:14px;font-size:12px;color:#7c8da6}[data-popup-sentinel] button{border:0;background:none;color:#1643eb;cursor:pointer;margin-left:10px}.category-point-topic{border:1px solid #dce4f2}.category-point-topic summary{display:flex;gap:12px;align-items:center;padding:13px;background:#f0f4ff;cursor:pointer;font-size:13px}.category-point-topic summary:before{content:'›';color:#1643eb}.category-point-topic[open] summary:before{content:'⌄'}.category-point-topic summary b{margin-right:auto}.category-point-topic summary .category-progress{width:80px}.category-point-topic .point-row{font-size:12px}.category-point-topic .point-row>i{color:#199675}.category-dialog [aria-busy=true]{cursor:progress}.popup-loading{padding:35px;color:#657da3}.category-popup .patient-hero{margin:0 0 18px}.category-popup .patient-hero h2{font-size:20px}
@media(max-width:1100px){.category-workspace{grid-template-columns:minmax(0,1fr) 290px}.category-toolbar input{width:140px}.category-table td,.category-table th{padding:10px 8px}}@media(max-width:800px){.category-workspace{grid-template-columns:1fr}.category-table-scroll{max-height:450px}.category-panel{max-width:none}.diagnosis-visual-body{flex-direction:column}.category-pie,.has-selection .category-pie{width:55%;max-width:240px}.diagnosis-legend,.diagnosis-selection{width:100%}.popup-header{padding:16px}.popup-header h2{font-size:19px}.popup-body{padding:14px}.popup-summary{grid-template-columns:repeat(3,1fr)}.popup-patients{min-width:590px}}
body.category-modal-open{overflow:hidden}.category-table tr[hidden]{display:none}.category-dialog [data-popup-sentinel][hidden]{display:none}.category-popup .card-error{margin:15px;border:1px solid #efcaca;border-radius:6px}.popup-patients .status{white-space:nowrap}
.category-topic-list{max-height:225px;overflow:auto;padding-right:5px}.category-topic-list .topic-progress{margin:9px 0}.category-topic-list .topic-dot{padding:7px}.category-table-scroll{max-height:660px}
.category-dialog{margin:auto!important;inset:0}.category-dialog .popup-header{border-bottom:1px solid #dce4f2}.category-mini-card .source-note{margin:0}.category-hero>i{font-size:20px}
.popup-filter-row{flex-wrap:wrap}.popup-filter-row select{max-width:100%}.category-dialog .popup-close{pointer-events:auto}.category-point-topic .point-row{cursor:default}

@keyframes categoryContentIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@keyframes categorySpinner{to{transform:rotate(360deg)}}
.category-workspace[aria-busy=true]::before,.category-panel[aria-busy=true]::before{content:attr(data-loading-label);position:absolute;z-index:6;top:calc(46% + 34px);left:0;right:0;text-align:center;color:#1748f4;font-size:13px;font-weight:700}
.category-workspace,.category-panel,.category-popup{animation:categoryContentIn 240ms ease both}.category-workspace{position:relative}.category-workspace[aria-busy=true]>*{opacity:.5;pointer-events:none}.category-workspace[aria-busy=true]::after,.category-panel[aria-busy=true]::after,.category-dialog [aria-busy=true]::after{content:'';position:absolute;z-index:5;width:24px;height:24px;border:3px solid #d7e0f5;border-top-color:#1748f4;border-radius:50%;animation:categorySpinner 700ms linear infinite}.category-workspace[aria-busy=true]::after{top:46%;left:49%}.category-panel[aria-busy=true]{position:relative;min-height:180px}.category-panel[aria-busy=true]::after{top:45%;left:46%}.category-dialog [aria-busy=true]{position:relative}.category-dialog [aria-busy=true]::after{top:24px;right:58px}.category-table tr{transition:background-color 160ms ease,color 160ms ease,transform 160ms ease}.category-table tr.is-selected{animation:categoryContentIn 180ms ease}.category-dialog[open] .category-popup{animation:categoryContentIn 220ms ease both}
