/* A compact, personal workbench sharing the clinical viewer's colors and icon system. */
.an-drag-handle,.an-dock-item{touch-action:none;user-select:none}.an-file-link,.an-primary{text-decoration:none}.an-search input{font-family:inherit;font-size:11px}.an-primary{font-family:inherit;font-size:12px;font-weight:500}
.analytics{--an-brand:#005243;--an-ink:#244239;--an-muted:#718179;--an-line:#dfe6df;--tl-green:#005243;--tl-lime:#d8ec99;--tl-muted:#64776d;outline:0;color:var(--an-ink)}
.analytics svg{width:18px;height:18px;flex:none}.analytics button{font-family:inherit;color:inherit}.analytics button:focus-visible,.analytics input:focus-visible,.analytics select:focus-visible,.analytics [tabindex]:focus-visible{outline:2px solid #008575;outline-offset:2px}.analytics [hidden]{display:none!important}
.an-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:3px 7px 10px}.an-title{display:flex;align-items:baseline;gap:15px;white-space:nowrap}.an-title h2{font-size:20px;letter-spacing:-.65px;font-weight:600;margin:0}.an-save-state{font-size:10px;color:#6e8075}.an-save-state:before{content:'·';margin-right:8px;color:#8b9e90}.an-global-filters{display:flex;align-items:center;gap:14px}.an-team-wrap,.an-date-wrap{position:relative}.an-team-wrap .tl-team-popover{top:calc(100% + 8px);right:0;z-index:60}.an-team-wrap .tl-avatar{width:31px;height:31px}.an-team-wrap .tl-avatar-stack{padding:2px 3px}.an-team-wrap .tl-team-label{font-size:11px}.an-date-button{border:1px solid #dbe3da;background:#fafcf8;display:flex;align-items:center;gap:9px;padding:9px 14px;border-radius:30px;font-size:12px;white-space:nowrap;box-shadow:0 2px 5px #1b403507}.an-date-button>svg:first-child{color:#577662;width:16px}.an-date-button>svg:last-child{transform:rotate(-90deg);width:12px;height:12px;margin-left:5px}.an-layout-picker{display:flex;gap:3px;padding:4px;background:#f8faf6;border:1px solid #d9e1d7;border-radius:25px}.an-layout-picker button{display:flex;align-items:center;gap:6px;height:29px;padding:0 10px;font-size:11px;border:0;border-radius:20px;background:transparent}.an-layout-picker button.active{background:var(--an-brand);color:#fff}.an-column-glyph{display:flex;gap:2px;height:12px}.an-column-glyph i{width:3px;border:1px solid currentColor;border-radius:1px;opacity:.8}
.an-dock{display:flex;gap:15px;align-items:center;padding:5px 12px;margin-bottom:12px;border:1px solid #ffffffbd;background:linear-gradient(110deg,#f7faf3d9,#fdfefbe8);border-radius:30px;box-shadow:0 3px 12px #18362d04}.an-dock-label{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:600;white-space:nowrap;padding-right:13px;border-right:1px solid #d9e3d7}.an-dock-label>span{font:11px Arial,sans-serif;background:#e3eccf;color:#405339;padding:3px 6px;border-radius:7px}.an-section-icons{display:flex;align-items:center;gap:6px;min-width:0;flex:1}.an-dock-item{width:33px;height:33px;padding:0;position:relative;display:grid;place-items:center;border:1px solid transparent;border-radius:50%;background:transparent;color:#687c6d!important;flex:none;cursor:grab;transition:background .18s,transform .18s}.an-dock-item.is-added{background:#e4eddc;color:#37533f!important;border-color:#d5e1cd}.an-dock-item:hover{background:#005243;color:#fff!important;transform:translateY(-2px);box-shadow:0 5px 12px #00524322}.an-dock-item>svg{width:17px;height:17px}.an-dock-item>i{position:absolute;width:4px;height:4px;border-radius:50%;background:#497b52;bottom:3px;right:3px;box-shadow:0 0 0 2px #f6f9f3}.an-dock-tooltip{position:absolute;top:calc(100% + 9px);left:50%;transform:translateX(-50%);background:#173d32;color:#fff;padding:6px 9px;border-radius:9px;font-size:11px;white-space:nowrap;opacity:0;visibility:hidden;pointer-events:none;z-index:90;box-shadow:0 6px 16px #15322722}.an-dock-item:hover .an-dock-tooltip,.an-dock-item:focus-visible .an-dock-tooltip{opacity:1;visibility:visible}.an-dock-hint{font-size:10px;color:#7e8b80;white-space:nowrap}
.an-board{display:grid;grid-template-columns:repeat(var(--an-columns),minmax(0,1fr));gap:12px;align-items:start}.an-column{display:flex;flex-direction:column;gap:12px;min-width:0;min-height:100px}.an-panel{container-type:inline-size;display:flex;flex-direction:column;height:var(--panel-height);min-height:176px;min-width:0;background:#fcfdfb;border:1px solid #d4dfd5;border-radius:19px;box-shadow:0 4px 16px #15362d06;overflow:hidden;position:relative;transition:border-color .18s,box-shadow .18s}.an-panel:hover{border-color:#bfcfc3;box-shadow:0 6px 18px #163d300c}.an-panel.an-highlight{border-color:#53866b;box-shadow:0 0 0 3px #77b29430}.an-panel-head{display:flex;align-items:center;gap:6px;padding:9px 10px;background:linear-gradient(120deg,#eef4e9,#f7faf4);flex:none;min-height:47px}.an-panel-identity{display:flex;align-items:center;gap:7px;flex:1;min-width:0}.an-panel-identity h3{font-size:13px;line-height:1.3;font-weight:600;letter-spacing:-.2px;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.an-drag-handle,.an-section-symbol{border:0;padding:0;width:23px;height:26px;display:grid;place-items:center;background:transparent;color:#56775d!important;flex:none}.an-drag-handle{cursor:grab}.an-drag-handle:active{cursor:grabbing}.an-drag-handle svg{width:17px;height:17px}.an-search{display:flex;align-items:center;border:1px solid #dce5d8;background:#ffffffb8;height:27px;width:80px;border-radius:15px;gap:4px;padding:0 7px;flex:none;transition:width .2s,border-color .2s}.an-search:focus-within{border-color:#5a9176;width:115px}.an-search svg{width:12px;height:12px;color:#758b79}.an-search input{width:100%;min-width:0;background:transparent;border:0;outline:0!important;font:11px inherit;color:#234337;padding:0}.an-search input::placeholder{color:#849386}.an-panel-actions{display:flex;gap:1px;flex:none}.an-icon-button{width:25px;height:27px;border:0;border-radius:50%;background:transparent;padding:0;display:inline-grid;place-items:center;flex:none;cursor:pointer}.an-icon-button svg{width:14px;height:14px}.an-icon-button:hover{background:#dfe9d8;color:#005243}.an-icon-button:disabled{opacity:.25;cursor:default}.an-panel-actions .an-icon-button:last-child{color:#829084}.an-panel-tabs:empty{display:none}.an-panel-tabs{flex:none;min-height:34px;background:#f8fbf6;border-bottom:1px solid #e8eee4;padding:0 9px}.an-panel-tabs>div{display:flex;gap:4px;overflow-x:auto;scrollbar-width:thin;align-items:center;padding:4px 0}.an-panel-tabs button{font-size:10px;padding:4px 9px;border-radius:20px;border:1px solid transparent;background:transparent;white-space:nowrap}.an-panel-tabs button[aria-selected=true]{background:#e2ebd7;border-color:#d6e1ca;color:#325a3e;font-weight:600}.an-panel-tabs button:hover{background:#edf2e8}
.an-data-area{flex:1;min-height:0;display:flex;overflow:hidden}.an-table-scroll{width:100%;height:100%;overflow:auto;scrollbar-width:thin;scrollbar-color:#bccaba #f1f5ee}.an-table-scroll::-webkit-scrollbar{width:7px;height:7px}.an-table-scroll::-webkit-scrollbar-track{background:#f1f5ee}.an-table-scroll::-webkit-scrollbar-thumb{background:#bdccbb;border:2px solid #f1f5ee;border-radius:8px}.an-table{width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0;font-family:inherit;font-size:12px}.an-table th{position:sticky;top:0;z-index:2;background:#f2f6ee;color:#6a7e6c;padding:0;letter-spacing:0;text-transform:none;font-size:10px;font-weight:500;border-bottom:1px solid #e2e9dd}.an-table th button{display:flex;gap:5px;justify-content:space-between;align-items:center;width:100%;border:0;background:transparent;padding:7px 10px;font:inherit;text-align:left}.an-table th button>span:first-child{display:flex;flex-direction:column;gap:0;white-space:nowrap}.an-table th small{font:9px Arial,sans-serif;color:#819280;line-height:1.2}.an-table th svg{width:10px;height:10px;opacity:0}.an-table th:hover svg{opacity:1}.an-sort-arrow{font-size:12px;color:#335f43}.an-table td{height:32px;padding:5px 10px;border:0;border-bottom:1px solid #edf1e9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:#fcfdfb;color:#47574a;font-size:12px;font-variant-numeric:tabular-nums;line-height:1.45}.an-table tbody tr:nth-child(even) td{background:#f7faf5}.an-table tbody tr:hover td{background:#eef5e8}.an-table td.is-number{font-weight:600;color:#294b38;font-family:Arial,sans-serif;font-size:13px}.an-table th:first-child{left:0;z-index:4}.an-table td:first-child{position:sticky;left:0;z-index:1;box-shadow:1px 0 0 #e6ece2}.an-missing{color:#a6b0a5}.an-record-link{max-width:100%;display:block;overflow:hidden;text-overflow:ellipsis;border:0;background:transparent;padding:0;text-align:left;font:inherit;cursor:pointer;color:#345d47!important}.an-record-link:hover{text-decoration:underline;text-underline-offset:3px}.an-file-link{display:inline-flex;align-items:center;gap:5px;background:#e9f1e2;border:1px solid #d4e2c9;border-radius:7px;padding:3px 6px;font-size:10px;color:#356047!important}.an-file-link svg{width:12px;height:12px}.an-table-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:110px;padding:16px;text-align:center;gap:5px;color:#83927d;position:sticky;left:0}.an-table-empty svg{width:22px;height:22px;margin-bottom:3px;opacity:.7}.an-table-empty strong{font-size:12px;font-weight:500;color:#63775f}.an-table-empty span{font-size:11px;max-width:270px}.an-table-empty button{font-size:11px;background:#eef3e8;border:1px solid #dae4d2;border-radius:20px;margin-top:5px;padding:4px 12px}.an-panel-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;flex:none;height:27px;padding:4px 12px;background:#f7faf3;border-top:1px solid #e6ecdf;font-size:10px;color:#81907b}.an-panel-footer strong{font-weight:600;color:#4e6c45}.an-panel-footer>span:last-child{font-size:9px;color:#8a9785}.an-resize{height:9px;flex:none;display:flex;align-items:center;justify-content:center;cursor:ns-resize;background:#f7faf3;touch-action:none}.an-resize>span{display:block;height:2px;width:26px;border-radius:3px;background:#c7d2bd}.an-resize:hover,.an-resize:focus-visible{background:#e4eed8}.an-resize:hover>span{background:#7c9b65}.an-panel.is-resizing{user-select:none;border-color:#84a877;box-shadow:0 0 0 3px #b3d59532}.an-column-drop{border:1px dashed #c2d3bf;color:#849b7c;border-radius:15px;min-height:54px;font-size:11px;display:none;align-items:center;justify-content:center;gap:7px}.an-column:has(>.an-column-drop:only-child)>.an-column-drop,.is-drag-active .an-column-drop{display:flex}.an-panel.is-dragging{opacity:.35}.an-drop-marker{height:55px;border:1px dashed #88a873;background:#dcecce80;border-radius:14px;display:grid;place-items:center;font-size:12px;color:#365c2d;flex:none}.an-empty-board{display:flex;align-items:center;flex-direction:column;padding:50px 20px;gap:8px}.an-empty-board>span{width:55px;height:55px;display:grid;place-items:center;background:#ecf3e2;border-radius:20px}.an-empty-board h3{margin:10px 0 0;font-size:18px}.an-empty-board p{font-size:13px;color:#748270;margin:0 0 10px}
.an-popover{position:absolute;right:0;top:calc(100% + 8px);background:#fcfef9;border:1px solid #d9e2d2;box-shadow:0 15px 40px #163e3326;border-radius:20px;z-index:65;padding:15px;width:320px}.an-popover-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;font-size:13px}.an-date-presets{display:flex;gap:4px;margin-bottom:16px}.an-date-presets button{flex:1;background:#eef4e7;border:1px solid #e0e8d8;border-radius:20px;padding:7px 6px;font-size:11px}.an-date-presets button[aria-pressed=true]{background:#005243;color:white;border-color:#005243}.an-date-popover form{display:grid;grid-template-columns:1fr 1fr;gap:10px}.an-date-popover label,.an-config-grid>label{display:flex;flex-direction:column;gap:6px;font-size:11px;color:#76856e}.an-date-popover input,.an-config-grid select{width:100%;height:35px;border:1px solid #dce5d4;border-radius:9px;background:white;color:#405539;padding:6px;font:12px Arial,sans-serif}.an-date-popover .an-primary,.an-date-popover .an-form-error{grid-column:1/-1}.an-primary{border:0;border-radius:24px;background:#005243;color:white!important;padding:10px 18px;font:500 12px inherit;display:inline-flex;gap:7px;justify-content:center;align-items:center;cursor:pointer}.an-primary:hover{background:#006752}.an-primary svg{width:15px;height:15px}.an-form-error{font-size:12px;color:#a33c35;margin:0}.an-form-error:empty{display:none}.an-text-button{border:0;background:transparent;text-decoration:underline;text-underline-offset:3px;font-size:12px;padding:8px;color:#6a7e62!important}
.an-dialog{color:#244239;background:#fbfdf8;border:1px solid #e1e9d9;padding:0;border-radius:24px;box-shadow:0 24px 85px #0d292b33;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);margin:auto;overflow:hidden}.an-dialog::backdrop{background:#14372f60;backdrop-filter:blur(6px)}.an-dialog:not([open]){display:none}.an-full-dialog{width:calc(100vw - 40px);height:calc(100dvh - 40px)}.an-full-dialog .an-panel{height:100%;border:0;box-shadow:none;border-radius:22px}.an-full-dialog .an-panel-head{min-height:65px;padding:15px 20px;gap:18px}.an-full-dialog .an-panel-identity h3{font-size:19px}.an-full-dialog .an-search{width:250px;height:34px}.an-full-dialog .an-search input{font-size:13px}.an-full-dialog .an-panel-actions{gap:8px}.an-full-dialog .an-panel-actions .an-icon-button{width:30px;height:30px}.an-full-dialog .an-panel-tabs{padding-left:20px}.an-full-dialog .an-panel-tabs button{font-size:12px;padding:7px 15px}.an-full-dialog .an-table th{font-size:12px}.an-full-dialog .an-table td{height:39px;font-size:13px}.an-full-dialog .an-panel-footer{height:38px;padding:8px 20px;font-size:12px}.an-config-dialog{width:540px}.an-dialog-head{display:flex;align-items:center;justify-content:space-between;padding:19px 22px;border-bottom:1px solid #dfe8d6;background:linear-gradient(120deg,#edf4e5,#f8fbf5)}.an-dialog-head small{font-size:9px;letter-spacing:1.4px;color:#7e9270}.an-dialog-head h2{margin:6px 0 0;display:flex;gap:9px;align-items:center;font-size:18px;letter-spacing:-.3px;font-weight:600}.an-dialog-head>.an-icon-button{width:32px;height:32px;background:#ffffff85}.an-config-form,.an-record-detail{max-height:calc(100dvh - 145px);overflow:auto;padding:18px 22px;scrollbar-width:thin}.an-config-intro{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.an-config-intro h3,.an-config-tabs h3{font-size:13px;margin:0;font-weight:600}.an-config-intro span{font-size:10px;color:#8a987f}.an-config-columns{display:flex;flex-direction:column;gap:3px}.an-column-option{display:flex;gap:7px;align-items:center;background:#f3f7ef;border:1px solid #e2eadb;border-radius:10px;padding:5px 7px;font-size:12px;min-height:35px}.an-column-option .an-option-grip{display:flex;color:#a3b295;cursor:grab}.an-option-grip svg{width:13px;height:15px}.an-column-option>label{flex:1;display:flex;align-items:center;gap:8px}.an-column-option small{font-size:10px;color:#8b9b80}.an-config-form input[type=checkbox]{width:14px;height:14px;accent-color:#005243;cursor:pointer}.an-column-option>div{display:flex;gap:3px}.an-column-option>div .an-icon-button:first-child{transform:rotate(90deg)}.an-column-option>div .an-icon-button:last-child{transform:rotate(90deg)}.an-config-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px 14px;margin:20px 0}.an-config-tabs{border-top:1px solid #e3eadb;padding-top:17px}.an-config-tabs>div:first-child{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}.an-toggle{display:flex;gap:5px;align-items:center;font-size:11px}.an-tab-option{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #eaf0e4;min-height:33px;font-size:12px}.an-tab-option label{display:flex;gap:8px;align-items:center}.an-config-tabs p{font-size:10px;color:#839576;margin:10px 0}.an-config-footer{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #dfe8d5;padding-top:15px;margin-top:17px}.an-record-detail dl{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:0}.an-record-detail dt{font-size:10px;color:#8b9b80;margin-bottom:4px}.an-record-detail dd{font-size:13px;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.an-record-detail section{margin-top:20px;border-top:1px solid #dfe8d6;padding-top:15px}.an-record-detail section h3{font-size:13px}.an-record-detail section p{font-size:13px;line-height:1.75;color:#52624a}.an-record-detail>.an-primary{margin-top:18px}
@container (max-width:345px){.an-panel-head{display:grid;grid-template-columns:1fr auto;gap:5px;padding:7px 9px}.an-panel-identity{grid-column:1;grid-row:1}.an-panel-actions{grid-column:2;grid-row:1}.an-search{grid-column:1/-1;grid-row:2;width:100%;height:25px}.an-search:focus-within{width:100%}.an-panel-identity h3{font-size:12px}}
@media(min-width:1500px){.an-panel-head{gap:10px;padding:10px 12px}.an-search{width:100px}.an-panel-identity h3{font-size:14px}.an-table td{font-size:13px;height:33px}.an-table th{font-size:11px}}
@media(max-width:1150px){.an-dock-hint{display:none}.an-section-icons{gap:3px}.an-dock{gap:9px}.an-global-filters{gap:8px}.an-save-state{display:none}.an-team-wrap .tl-team-label{display:none}}
@media(max-width:960px){.an-board{grid-template-columns:repeat(2,minmax(0,1fr))}.an-section-icons{overflow-x:auto;padding:2px 0;scrollbar-width:thin}.an-dock-tooltip{display:none}.an-global-filters{gap:8px}.an-toolbar{flex-wrap:wrap}.an-title{flex:1}.an-team-wrap .tl-avatar{width:27px;height:27px}.an-layout-picker button{padding:0 7px}.an-dock-label{padding-right:8px}}
@media(max-width:620px){.an-toolbar{gap:8px}.an-global-filters{width:100%;justify-content:space-between;flex-wrap:wrap}.an-team-wrap{order:2}.an-date-button{font-size:11px;padding:8px 10px}.an-board{grid-template-columns:1fr}.an-column:has(>.an-column-drop:only-child){display:none}.an-full-dialog{width:calc(100vw - 12px);height:calc(100dvh - 12px);max-width:calc(100vw - 12px);max-height:calc(100dvh - 12px)}.an-full-dialog .an-panel-head{flex-wrap:wrap;padding:12px}.an-full-dialog .an-search{order:3;width:100%}.an-config-form,.an-record-detail{padding:15px}.an-dialog-head{padding:15px}.an-date-popover{right:auto;left:0;width:290px}.an-dock{border-radius:19px;padding:5px 8px}.an-dock-label{font-size:10px}.an-panel-identity h3{font-size:13px}}
@media(prefers-reduced-motion:reduce){.analytics *{transition:none!important;scroll-behavior:auto!important}}

/* Grouped configuration and compact system popovers. */
.an-workbench-actions{height:46px;padding:5px 7px 5px 13px;gap:2px;border:1px solid #f8fcf1;border-radius:999px;background:#fbfdf7;box-shadow:0 3px 14px #183d2907}.an-actions-label{margin-right:5px;color:#3d5545;font-size:12px;font-weight:600;white-space:nowrap}.an-actions-separator{width:1px;height:25px;margin:0 5px 0 1px;background:#d9e3d7;flex:none}.an-workbench-actions .an-round-action{width:34px;height:34px;border:0;background:transparent;box-shadow:none}.an-workbench-actions .an-round-action>svg{width:17px;height:17px}.an-workbench-actions .an-round-action:hover{background:#e6efdf;box-shadow:none;transform:none}.an-workbench-actions .an-round-action.active,.an-workbench-actions .an-round-action[aria-expanded=true]{background:#005243;color:#fff!important}.an-workbench-actions .an-round-action[hidden]{display:none}
.an-popover{padding:0 12px 12px;overflow:hidden}.an-popover-head{min-height:40px;margin:0 -12px 11px;padding:0 12px;background:#f1f6f3;border-bottom:1px solid #d9e4df}.an-popover-head .an-icon-button{background:#fff;border:1px solid #dce5df}.an-team-wrap .tl-team-label{display:inline-flex}
.an-workspace-dialog .is-workspace .an-workbench-actions{height:39px;padding:3px 5px 3px 11px;gap:1px}.an-workspace-dialog .is-workspace .an-workbench-actions .an-round-action{width:31px;height:31px}.an-workspace-dialog .is-workspace .an-workbench-actions .an-round-action>svg{width:16px;height:16px}.an-workspace-dialog .is-workspace .an-actions-label{font-size:11px}.an-workspace-dialog .is-workspace .an-actions-separator{height:21px;margin-right:3px}

/* Workspace controls float independently from the section palette. */
.an-workbench-bar{display:flex;align-items:center;gap:12px;margin:0 0 12px;position:relative;z-index:12}
.an-workbench-bar .an-dock{margin:0;flex:0 1 auto;min-width:0;gap:12px;height:46px;padding:5px 12px;background:#fbfdf7;border-color:#f8fcf1;box-shadow:0 3px 14px #183d2907}
.an-workbench-bar .an-section-icons{gap:4px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;padding:2px 0}
.an-workbench-bar .an-section-icons::-webkit-scrollbar{display:none}
.an-workbench-bar .an-dock-item:hover{transform:none}
.an-workbench-actions{display:flex;gap:8px;flex:none;align-items:center}
.an-round-action{position:relative;display:inline-grid;place-items:center;width:46px;height:46px;flex:none;border:1px solid #f9fcf5;background:#fafdf5;color:#345d44!important;border-radius:50%;padding:0;cursor:pointer;box-shadow:0 3px 10px #214e3010;transition:background .18s,box-shadow .18s,transform .18s}
.an-round-action>svg{width:20px;height:20px}
.an-round-action:hover{background:#ecf4df;box-shadow:0 5px 14px #214e3020;transform:translateY(-1px)}
.an-round-action.active,.an-round-action[aria-expanded=true]{background:#005243;color:#fff!important;border-color:#005243}
.an-round-action:disabled{opacity:.35;cursor:default;transform:none;box-shadow:none}
.an-round-action.has-changes:after{content:'';width:6px;height:6px;position:absolute;right:7px;top:6px;border-radius:50%;background:#b97d30;box-shadow:0 0 0 2px #fafdf5}
.an-round-action[data-an-action=save-profile]{background:#005243;color:white!important;border-color:#005243}
.an-display-dialog{width:410px}
.an-display-body{padding:17px 22px 21px}
.an-setting-label{display:block;font-size:12px;color:#5b705a;margin:14px 0 8px}
.an-display-body .an-setting-label:first-child{margin-top:0}
.an-display-dialog .an-layout-picker{display:flex;border-radius:13px;background:#f0f5e9;padding:3px;gap:4px}
.an-display-dialog .an-layout-picker button{flex:1;justify-content:center;height:31px;border-radius:9px;font-size:11px}
.an-display-dialog .an-layout-picker button.active{background:#005243;color:#fff;box-shadow:0 2px 6px #00524335}
.an-density-setting{border-top:1px solid #e3eadc;margin-top:17px}
.an-density-controls{display:flex;align-items:center;justify-content:space-between;gap:15px}
.an-density-controls .an-round-action{width:30px;height:30px;box-shadow:none;border-color:#dce6d4}
.an-density-controls .an-round-action svg{width:15px;height:15px}
.an-density-controls>span{font-size:13px;font-weight:500;color:#315b3e}
.an-density-scale{display:flex;gap:5px;margin:12px 1px 2px}
.an-density-scale i{height:3px;flex:1;background:#e2eadb;border-radius:3px}
.an-density-scale i.active{background:#769365}
.an-floating-tooltip{position:fixed;inset:auto;margin:0;border:1px solid #ffffff12;border-radius:10px;padding:8px 11px;background:#193f31;color:#fff;font:11px/1.45 inherit;max-width:260px;width:max-content;box-shadow:0 8px 22px #10251c2b;pointer-events:none;z-index:2147483647}
.an-floating-tooltip::backdrop{background:transparent}
.an-floating-tooltip{font-family:inherit;font-size:11px;line-height:1.45}.an-secondary{font-family:inherit;font-size:12px}
.an-workspace-context{display:none;font-size:11px;color:#718171;white-space:nowrap}
.an-workspace-context i{display:inline-block;width:3px;height:3px;border-radius:50%;vertical-align:middle;margin:0 6px;background:#9ca99b}
.an-workspace-dialog{inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;border:0;border-radius:0;padding:18px;overflow:auto;background:linear-gradient(135deg,#e1e7dc,#dce0e3)}
.an-workspace-dialog .an-toolbar{padding:0 5px 12px}
.an-workspace-dialog .is-workspace{min-width:1040px}
.an-workspace-dialog .is-workspace .an-toolbar{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:13px;min-height:46px;white-space:nowrap}
.an-workspace-dialog .is-workspace .an-title{flex:none}
.an-workspace-dialog .is-workspace .an-workbench-actions{order:1;gap:6px;margin-left:auto}
.an-workspace-dialog .is-workspace .an-workbench-actions .an-round-action{width:39px;height:39px}
.an-workspace-dialog .is-workspace .an-workbench-actions .an-round-action>svg{width:18px;height:18px}
.an-workspace-dialog .is-workspace .an-global-filters{order:2;margin-left:0;flex:none;flex-wrap:nowrap}
.an-workspace-dialog .is-workspace .an-workbench-bar{display:none}
.an-workspace-dialog .an-workspace-context{display:inline}
.an-workspace-dialog .an-toast{right:24px;bottom:22px}
.an-toast{position:fixed;z-index:10000;right:22px;bottom:20px;background:#173f30;color:#f9fff1;font-size:12px;line-height:1.5;padding:11px 18px;border:1px solid #ffffff30;border-radius:15px;box-shadow:0 8px 30px #12342828;max-width:min(410px,calc(100vw - 40px));pointer-events:none}
.an-toast.is-error{background:#873f32}
.an-round-action.is-refreshing svg{animation:an-spin .8s linear infinite}
@keyframes an-spin{to{transform:rotate(360deg)}}
.an-profiles-dialog{width:560px}
.an-profiles-body{padding:18px 22px;max-height:calc(100dvh - 130px);overflow:auto;scrollbar-width:thin}
.an-profile-list{display:flex;flex-direction:column;gap:9px}
.an-profile-card{padding:12px;border:1px solid #dee7d6;border-radius:16px;background:#f5f8ef}
.an-profile-card.is-active{border-color:#9caf83;background:#eef4e4}
.an-profile-row{display:flex;align-items:center;gap:7px}
.an-profile-select{display:flex;align-items:center;text-align:left;min-width:0;flex:1;gap:11px;border:0;background:transparent;padding:0;cursor:pointer}
.an-profile-symbol{width:37px;height:37px;border-radius:12px;flex:none;background:#e4ecd7;display:grid;place-items:center;color:#53714a}
.an-profile-select>span:last-child{min-width:0}
.an-profile-select strong{display:block;font-size:14px;font-weight:500;color:#244931;overflow-wrap:anywhere}
.an-profile-select small{display:block;font-size:10px;color:#7b8c6d;margin-top:4px}
.an-profile-actions{display:flex;gap:3px;flex:none}
.an-profile-actions .an-icon-button{width:26px;height:29px}
.an-profile-actions [aria-pressed=true]{color:#738938;background:#e4eccc}
.an-profile-actions [aria-pressed=true] svg{fill:#cad8a5}
.an-profile-tags{display:flex;gap:5px;margin-left:48px}
.an-profile-tags:empty{display:none}
.an-profile-tags span{font-size:9px;color:#5b7750;padding:2px 7px;background:#e0ebd3;border-radius:12px;margin-top:7px}
.an-profile-tags .is-default{background:#e8edd8;color:#7b824e}
.an-profile-create,.an-profile-footer-actions{border-top:1px solid #dee7d3;margin-top:19px;padding-top:18px}
.an-profile-footer-actions{display:flex;justify-content:space-between;align-items:center;gap:10px}
.an-profile-footer-actions .an-secondary{border-color:#cfdfc7;background:#e8f1df;color:#426b4e!important}
.an-profile-footer-actions .an-secondary:hover{background:#dfeeda}
.an-profile-create h3{font-size:13px;font-weight:500;margin:0 0 11px;color:#45613c}
.an-profiles-body input[type=text],.an-profiles-body input:not([type]){width:100%;border:1px solid #d7e2cc;background:#fff;color:#31532f;border-radius:11px;font-family:inherit;font-size:13px;height:40px;padding:9px 12px}
.an-profile-create>div{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:13px 0 0}
.an-profile-default{display:flex;gap:7px;align-items:center;font-size:11px;color:#6d805c}
.an-profile-default input{accent-color:#005243;width:14px;height:14px}
.an-secondary{border:1px solid #d7e2cc;border-radius:22px;background:#f2f7eb;padding:8px 12px;font:12px inherit;cursor:pointer}
.an-no-profiles{display:flex;min-height:142px;flex-direction:column;align-items:center;justify-content:center;gap:10px;font-size:13px;line-height:1.7;color:#617a5a;text-align:center}
.an-no-profiles>span{display:grid;place-items:center;width:43px;height:43px;border-radius:15px;background:#e9f0e0;color:#658452}
.an-no-profiles svg{width:21px;height:21px}
.an-no-profiles strong{font-size:13px;font-weight:500}
.an-profile-dirty{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#edf2df;border:1px solid #dbe4c7;border-radius:15px;padding:12px;margin-bottom:15px}
.an-profile-dirty strong{font-size:13px;font-weight:500}.an-profile-dirty small{display:block;font-size:10px;color:#859069;margin-top:3px}
.an-profile-dirty .an-primary{padding:9px 12px;font-size:11px;white-space:nowrap}
.an-profile-notice{border:1px solid #d8dfc6;border-radius:14px;background:#f0f4e5;padding:14px;margin-bottom:15px}
.an-profile-notice strong{font-size:13px;font-weight:500}.an-profile-notice p{font-size:12px;color:#7b8568;margin:7px 0 12px}.an-profile-notice>div{display:flex;gap:7px;flex-wrap:wrap}
.an-profile-delete{border-top:1px solid #e0e5d8;padding-top:11px;margin-top:12px;font-size:12px;display:flex;align-items:center;justify-content:space-between;gap:10px}
.an-profile-delete>div{display:flex;gap:5px}
.an-danger{color:#a74532!important;background:#f9e9e0;border:1px solid #eed7cc;border-radius:20px;padding:8px 12px;font-size:11px}
.an-profile-card form>label{display:flex;flex-direction:column;gap:8px;font-size:11px;color:#718562}
.an-profile-card form>div{display:flex;gap:7px;margin-top:10px}
.an-profiles-body .an-form-error{margin-top:9px}

/* Data density changes type, cell padding, row height and column widths together. */
[data-density="0"]{--an-row-height:32px;--an-cell-y:5px;--an-cell-x:10px;--an-data-font:12px;--an-number-font:13px;--an-head-y:7px}
[data-density="1"]{--an-row-height:27px;--an-cell-y:3px;--an-cell-x:8px;--an-data-font:11px;--an-number-font:12px;--an-head-y:5px}
[data-density="2"]{--an-row-height:23px;--an-cell-y:2px;--an-cell-x:6px;--an-data-font:10.5px;--an-number-font:11px;--an-head-y:4px}
.analytics .an-table td{height:var(--an-row-height);padding:var(--an-cell-y) var(--an-cell-x);font-size:var(--an-data-font)}
.analytics .an-table td.is-number{font-size:var(--an-number-font)}
.analytics .an-table th button{padding:var(--an-head-y) var(--an-cell-x)}
.analytics .an-full-dialog .an-table td{height:var(--an-row-height);font-size:var(--an-data-font)}
.analytics .an-full-dialog .an-table td.is-number{font-size:var(--an-number-font)}
[data-density="2"] .an-panel-tabs{min-height:29px}
[data-density="2"] .an-panel-tabs button{padding-top:3px;padding-bottom:3px}
@media(max-width:900px){.an-workbench-bar{gap:9px}.an-workbench-actions{gap:5px}.an-round-action{width:41px;height:41px}.an-workbench-bar .an-dock{height:43px;padding:4px 9px}.an-workbench-bar .an-dock-label{padding-right:8px}.an-workbench-bar .an-section-icons{gap:2px}.an-workbench-bar .an-dock-item{width:30px;height:30px}}
@media(max-width:620px){.an-workbench-bar{flex-wrap:wrap}.an-workbench-bar .an-dock{flex:1 1 100%;width:100%}.an-workbench-actions{margin-left:auto}.an-display-dialog{width:calc(100vw - 24px)}.an-profiles-body{padding:14px}.an-profile-create>div{align-items:flex-start;flex-direction:column}.an-profile-create>div>.an-primary{align-self:flex-end}.an-profile-select strong{font-size:13px}.an-profile-select small{font-size:9px}.an-profile-symbol{display:none}.an-profile-tags{margin-left:0}.an-profile-delete{align-items:flex-start;flex-direction:column}.an-workspace-dialog{padding:12px}}
@media(prefers-reduced-motion:reduce){.an-round-action.is-refreshing svg{animation:none}}

/* Discreet handle: the dots make the panel drag affordance visible without competing with its icon. */
.an-drag-handle{width:31px;grid-template-columns:5px 1fr;gap:3px}
.an-drag-indicator{display:flex;flex-direction:column;align-items:center;gap:2px}
.an-drag-indicator i{display:block;width:2px;height:2px;border-radius:50%;background:#98a99b}

/* Keep the three analytical control groups aligned and equally compact. */
.an-actions-label{font-size:11px;line-height:1}
.an-team-wrap .tl-avatar-stack{padding:3px 6px 3px 13px}
.an-workbench-actions{gap:3px}
.an-workbench-actions .an-round-action:hover{
 background:#005243;
 color:#fff!important;
 border-color:#005243;
 box-shadow:0 5px 12px #00524322;
 transform:none
}

/* In workspace mode the active expand control follows the selected-section language. */
.an-workspace-dialog .is-workspace .an-workbench-actions{
 gap:3px;
 height:39px;
 padding:3px 5px 3px 11px
}
.an-workspace-dialog .is-workspace .an-workbench-actions .an-round-action{
 width:31px;
 height:31px
}
.an-workspace-dialog .is-workspace .an-workbench-actions .an-round-action>svg{
 width:16px;
 height:16px
}
.an-workspace-dialog .is-workspace .an-workbench-actions [data-an-action="workspace"]{
 position:relative;
 background:#e4eddc;
 color:#37533f!important;
 border:1px solid #d5e1cd;
 box-shadow:none
}
.an-workspace-dialog .is-workspace .an-workbench-actions [data-an-action="workspace"]::after{
 content:"";
 position:absolute;
 right:2px;
 bottom:2px;
 width:4px;
 height:4px;
 border-radius:50%;
 background:#497b52;
 box-shadow:0 0 0 2px #f6f9f3
}
.an-workspace-dialog .is-workspace .an-workbench-actions [data-an-action="workspace"]:hover{
 width:31px;
 height:31px;
 background:#005243;
 color:#fff!important;
 border-color:#005243;
 transform:none
}
.an-workspace-dialog .is-workspace .an-workbench-actions [data-an-action="workspace"]:hover::after{
 background:#fff;
 box-shadow:0 0 0 2px #005243
}

/* Branco clínico: high-density analytical workspace with cool neutral surfaces. */
body:has(> .app-shell #main.analytics),
body:has(#main.analytics){background:linear-gradient(180deg,#f3f6f7 0,#e9eef0 100%)}
.analytics{
 --an-ink:#30494b;
 --an-muted:#707d81;
 --an-line:#e1e7e9
}
.analytics .an-toolbar{color:#30494b}
.analytics .an-date-button,
.analytics .tl-avatar-stack,
.analytics .an-workbench-bar .an-dock,
.analytics .an-workbench-actions{
 background:#fff;
 border-color:#dfe5e7;
 box-shadow:0 5px 16px #263b410b
}
.analytics .an-dock-label,
.analytics .an-actions-separator,
.analytics .tl-team-separator{border-color:#dfe6e8;background-color:#dfe6e8}
.analytics .an-dock-label>span{background:#e8f0f0;color:#397b78}
.analytics .an-dock-item{color:#63787a!important}
.analytics .an-dock-item.is-added{background:#e8f0f0;border-color:#d6e3e4;color:#397b78!important}
.analytics .an-dock-item>i{background:#397b78;box-shadow:0 0 0 2px #fff}
.analytics .an-panel{background:#fff;border-color:#dfe5e7;box-shadow:0 7px 20px #2d3d4309}
.analytics .an-panel:hover{border-color:#c9d5d7;box-shadow:0 9px 22px #2d3d4310}
.analytics .an-panel-head{background:linear-gradient(120deg,#f2f6f7,#fafcfc);border-bottom-color:#e1e8ea}
.analytics .an-drag-handle,
.analytics .an-section-symbol{color:#397b78!important}
.analytics .an-search{background:#fff;border-color:#dce5e7}
.analytics .an-icon-button:hover{background:#e5eeee;color:#397b78}
.analytics .an-panel-tabs{background:#f8fafb;border-color:#e6ebed}
.analytics .an-panel-tabs button[aria-selected=true]{background:#e3eeee;border-color:#d4e2e3;color:#315f5d}
.analytics .an-table th{background:#f2f5f6;color:#68787c;border-color:#e1e7e9}
.analytics .an-table td{background:#fff;border-color:#edf1f2;color:#4e5f63}
.analytics .an-table tbody tr:nth-child(even) td{background:#fafcfc}
.analytics .an-table tbody tr:hover td{background:#edf5f4}
.analytics .an-table td.is-number{color:#304f50}
.analytics .an-panel-footer,
.analytics .an-resize{background:#f7f9fa;border-color:#e7ecee;color:#778589}
.analytics .an-resize>span{background:#c5d2d4}
.analytics .an-table-scroll{scrollbar-color:#b9c9cb #f3f6f7}

/* Configuration stays in the compact filter row in normal and workspace modes. */
.analytics .an-global-filters{flex-wrap:nowrap}
.analytics .an-global-filters .an-workbench-actions,
.an-workspace-dialog .is-workspace .an-global-filters .an-workbench-actions{
 order:initial;
 height:39px;
 min-height:39px;
 margin-left:0;
 padding:3px 5px 3px 10px;
 gap:2px;
 box-sizing:border-box
}
.analytics .an-global-filters .an-actions-label,
.an-workspace-dialog .is-workspace .an-global-filters .an-actions-label{font-size:11px;line-height:1;margin-right:3px}
.analytics .an-global-filters .an-actions-separator,
.an-workspace-dialog .is-workspace .an-global-filters .an-actions-separator{height:21px;margin:0 3px 0 1px}
.analytics .an-global-filters .an-round-action,
.an-workspace-dialog .is-workspace .an-global-filters .an-round-action{
 width:29px;
 height:29px;
 min-width:29px;
 min-height:29px;
 padding:0;
 border:1px solid transparent;
 background:transparent;
 color:#4d6f70!important;
 box-shadow:none;
 transform:none
}
.analytics .an-global-filters .an-round-action>svg,
.an-workspace-dialog .is-workspace .an-global-filters .an-round-action>svg{width:16px;height:16px}
.analytics .an-global-filters .an-round-action:hover,
.an-workspace-dialog .is-workspace .an-global-filters .an-round-action:hover{
 width:29px;
 height:29px;
 min-width:29px;
 min-height:29px;
 background:#397b78;
 border-color:#397b78;
 color:#fff!important;
 box-shadow:0 5px 12px #397b7822;
 transform:none
}
.analytics .an-global-filters .an-round-action.active,
.analytics .an-global-filters .an-round-action[aria-expanded=true]{background:#397b78;border-color:#397b78;color:#fff!important}
.an-workspace-dialog .is-workspace .an-global-filters [data-an-action="workspace"]{
 width:29px;
 height:29px;
 min-width:29px;
 min-height:29px;
 background:#e8f0f0;
 border-color:#d6e3e4;
 color:#397b78!important
}
.an-workspace-dialog .is-workspace .an-global-filters [data-an-action="workspace"]::after{
 right:2px;
 bottom:2px;
 width:4px;
 height:4px;
 background:#397b78;
 box-shadow:0 0 0 2px #fff
}
.an-workspace-dialog .is-workspace .an-global-filters [data-an-action="workspace"]:hover{
 width:29px;
 height:29px;
 background:#397b78;
 border-color:#397b78;
 color:#fff!important
}
.an-workspace-dialog{background:linear-gradient(135deg,#f3f6f7,#e9eef0)}
.analytics .an-dialog,
.an-portal .an-dialog{border-color:#dfe5e7;background:#fff}
.an-portal .an-dialog-head{background:#f2f6f7;border-bottom-color:#e1e8ea}
.analytics .an-popover-head,
.an-portal .an-popover-head{background:#f2f6f7;border-bottom-color:#e1e8ea}

@media(max-width:1100px){
 .analytics .an-toolbar{align-items:flex-start;flex-wrap:wrap}
 .analytics .an-global-filters{width:100%;justify-content:flex-end}
}
@media(max-width:700px){
 .analytics .an-global-filters{justify-content:flex-start;overflow-x:auto;padding-bottom:2px}
 .analytics .an-global-filters>*{flex:none}
}

/* Final clinical-white refinements for the section dock and profile manager. */
.analytics .an-workbench-bar .an-dock-label{
 background:transparent;
 border-color:#dfe6e8
}
.analytics .an-workbench-bar .an-dock-item:hover,
.analytics .an-workbench-bar .an-dock-item.is-added:hover{
 background:#397b78;
 border-color:#397b78;
 color:#fff!important;
 box-shadow:0 5px 12px #397b7822;
 transform:none
}
.analytics .an-workbench-bar .an-dock-item:hover>svg,
.analytics .an-workbench-bar .an-dock-item.is-added:hover>svg{
 color:#fff!important;
 stroke:#fff!important
}
.analytics .an-workbench-bar .an-dock-item:hover>svg [stroke],
.analytics .an-workbench-bar .an-dock-item.is-added:hover>svg [stroke]{stroke:#fff!important}
.analytics .an-workbench-bar .an-dock-item:hover>svg [fill]:not([fill="none"]),
.analytics .an-workbench-bar .an-dock-item.is-added:hover>svg [fill]:not([fill="none"]){fill:#fff!important}
.analytics .an-workbench-bar .an-dock-item:hover>i,
.analytics .an-workbench-bar .an-dock-item.is-added:hover>i{
 background:#fff;
 box-shadow:0 0 0 2px #397b78
}
.an-workspace-dialog .is-workspace .an-global-filters{
 margin-left:auto;
 justify-content:flex-end
}
.an-portal .an-profile-card{
 border-color:#dfe6e8;
 background:#f8fafb
}
.an-portal .an-profile-card.is-active{
 border-color:#bfd6d3;
 background:#edf5f4;
 box-shadow:0 8px 24px #315e5912,0 0 0 1px #d4e5e2
}
.an-portal .an-profile-symbol{background:#e3eeee;color:#397b78}
.an-portal .an-profile-select strong{color:#30494b}
.an-portal .an-profile-select small{color:#778589}
.an-portal .an-profile-tags span{background:#e4eeee;color:#426e6c}
.an-portal .an-profile-tags .is-default{background:#edf2f4;color:#64777a}
.an-portal .an-no-profiles{color:#64777a}
.an-portal .an-no-profiles>span{background:#e3eeee;color:#397b78}
.an-portal .an-profile-footer-actions{border-color:#e1e8ea}
.an-portal .an-profile-footer-actions .an-secondary{
 border-color:#d4e2e3;
 background:#e3eeee;
 color:#315f5d!important
}
.an-portal .an-profile-footer-actions .an-secondary:hover{
 border-color:#bfd6d3;
 background:#d8e9e7;
 color:#244f4d!important
}
.an-portal .an-profile-inline-save{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0 0 48px;padding-top:10px;border-top:1px solid #d8e6e4}
.an-portal .an-profile-inline-save small{font-size:10px;color:#768b8d}
.an-portal .an-profile-inline-save .an-primary{display:flex;align-items:center;gap:7px;padding:8px 12px;font-size:11px;white-space:nowrap}
.an-portal .an-profile-inline-save .an-primary svg{width:15px;height:15px}
.an-portal .an-profile-footer-actions{border-top:0!important;margin-top:14px;padding-top:0!important}
@media(max-width:620px){.an-portal .an-profile-inline-save{margin-left:0;align-items:flex-start;flex-direction:column}.an-portal .an-profile-inline-save .an-primary{align-self:flex-end}}

/* The expanded analytical workspace keeps the same clinical canvas as the page. */
.an-portal .an-workspace-dialog{
 background:linear-gradient(180deg,#f3f6f7 0,#e9eef0 100%)
}

/* One compact date and time filter shared by Timeline and Analytics. */
.an-date-popover{width:354px;max-width:calc(100vw - 28px)}
.an-date-popover form{display:block}
.an-date-boundary{display:grid;grid-template-columns:44px minmax(108px,1fr) 82px;align-items:end;gap:7px;padding:7px 0;border-bottom:1px solid #edf1f2}
.an-date-boundary>strong{align-self:center;font-size:10px;font-weight:600;color:#557174}
.an-date-boundary label{display:flex;flex-direction:column;gap:4px;font-size:9px;color:#7b8b8e}
.an-date-boundary input{width:100%;height:30px;border:1px solid #dce5e7;border-radius:8px;background:#fff;color:#40595b;padding:4px 7px;font:10px Arial,sans-serif}
.an-date-popover form>.an-form-error{margin:8px 0 0}
.an-date-popover form>.an-primary{width:100%;margin-top:8px;padding-block:8px}
.an-date-button [data-date-label]{max-width:190px;overflow:hidden;text-overflow:ellipsis}
.time-explorer .an-date-button{height:39px;background:#fff;border-color:#dfe5e7;box-shadow:0 5px 16px #263b410b}
.time-explorer .an-date-popover{left:0;right:auto;z-index:65}
.time-explorer .an-date-popover .an-icon-button{display:grid;place-items:center;width:27px;height:27px;padding:5px;border-radius:50%;color:#557174}

/* Profile stays neutral; only the contextual save action receives emphasis. */
.analytics .an-global-filters [data-an-action="profiles"].has-changes{background:transparent;border-color:transparent;color:#4d6f70!important}
.analytics .an-global-filters .an-round-action:hover,
.an-workspace-dialog .is-workspace .an-global-filters .an-round-action:hover{background:#e9f1f1;border-color:#d8e5e5;color:#397b78!important;box-shadow:none}
.analytics .an-global-filters [data-an-action="save-profile"]:not([hidden]){background:#e5f0ee;border-color:#d6e3e4;color:#286e63!important}
.analytics .an-global-filters [data-an-action="save-profile"]:not([hidden]):hover{background:#e6efee;border-color:#d6e3e4;color:#005243!important}
.analytics .an-global-filters [data-an-action="save-profile"].has-changes:after{top:auto;right:2px;bottom:2px;width:4px;height:4px;background:#397b78;box-shadow:0 0 0 2px #fff}

@media(max-width:620px){.an-date-popover{width:min(354px,calc(100vw - 20px))}.an-date-boundary{grid-template-columns:42px minmax(104px,1fr) 80px}.an-date-button [data-date-label]{max-width:120px}}

.an-portal .an-no-profiles{min-height:170px;margin:3px 0;padding:23px;border:1px dashed #cfdddf;border-radius:18px;background:linear-gradient(145deg,#f8fbfb,#edf4f3);gap:7px}.an-portal .an-no-profiles>span{width:38px;height:38px;border-radius:13px;background:#dcebea;color:#397b78;box-shadow:0 6px 16px #274f4a12}.an-portal .an-no-profiles strong{font-size:14px;color:#3d5b5c;font-weight:600}.an-portal .an-no-profiles small{display:block;max-width:300px;font-size:10px;line-height:1.5;color:#7d9092}

/* Campos independentes por tipo de registro e leitura integral de textos clínicos. */
.an-config-type-list{display:flex;flex-wrap:wrap;gap:6px;padding:2px 1px 13px;margin:0 0 13px;border-bottom:1px solid #e1e8ea}.an-config-field-title{margin-bottom:8px}.an-config-type-list button{flex:none;border:1px solid #dce7e6;background:#f7faf9;color:#607579;border-radius:99px;padding:7px 11px;font-family:inherit;font-size:11px;font-weight:500;cursor:pointer}.an-config-type-list button[aria-pressed="true"]{background:#005243;border-color:#005243;color:white}.an-config-type-list button:hover:not([aria-pressed="true"]){background:#e7f1ef;color:#005243}
.an-reading-dialog{width:min(760px,calc(100vw - 32px))}.an-reading-body{max-height:calc(100dvh - 140px);overflow:auto;padding:22px;background:#f8fafb;scrollbar-width:thin}.an-reading-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:18px}.an-reading-meta>div{min-width:0;border:1px solid #e0e9e9;background:#fff;border-radius:12px;padding:10px 12px;display:flex;flex-direction:column;gap:3px}.an-reading-meta span{font-size:10px;color:#7e9091}.an-reading-meta strong{font-size:12px;font-weight:600;color:#345657;overflow-wrap:anywhere}.an-reading-paper{background:#fff;border:1px solid #dbe6e7;border-radius:17px;padding:24px 27px;box-shadow:0 10px 28px #294e4910}.an-reading-paper h3{font-size:20px;font-weight:650;line-height:1.3;letter-spacing:-.3px;color:#234947;margin:8px 0 17px}.an-reading-text{color:#40575a;font-size:14px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere}.an-reading-link{display:flex;gap:8px;align-items:center}.an-reading-preview{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.an-reading-expand{width:14px;height:14px;flex:none;opacity:.55}.an-reading-expand svg{width:14px;height:14px}.an-reading-link:hover .an-reading-expand{opacity:1}.an-openable-row td{cursor:pointer}.an-openable-row:hover .an-record-link{text-decoration:underline;text-underline-offset:3px}.an-file-link{width:25px;height:25px;justify-content:center;padding:0;border-radius:8px;background:#e9f2f1;border-color:#d8e6e5;color:#286e63!important}.an-file-link:hover{background:#dceceb}.an-file-link svg{width:13px;height:13px}
.an-discharge-paper{display:grid;gap:22px}.an-discharge-paper section+section{border-top:1px solid #e5eded;padding-top:19px}.an-discharge-paper section h3{font-size:16px;margin:0 0 12px}.an-discharge-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.an-discharge-fact{min-width:0;padding:12px 13px;border:1px solid #e1eaea;border-radius:12px;background:#f8fbfa}.an-discharge-fact.is-wide{grid-column:1/-1}.an-discharge-fact span{font-size:10px;color:#73898a}.an-discharge-fact p{margin:5px 0 0;color:#35585a;font-size:12px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:620px){.an-reading-body{padding:14px}.an-reading-meta,.an-discharge-grid{grid-template-columns:1fr;gap:7px}.an-discharge-fact.is-wide{grid-column:auto}.an-reading-paper{padding:17px}.an-reading-paper h3{font-size:17px}}

/* A leitura integral é indicada por um ícone permanente, sem sublinhar a tabela. */
.an-reading-first{width:100%}
.an-reading-first .an-reading-expand{width:13px;height:13px;opacity:1;color:#5c8882}
.an-reading-first .an-reading-expand svg{width:13px;height:13px}
.an-record-link:hover,.an-openable-row:hover .an-record-link{text-decoration:none}
