/* Dashboard-only styles: existing PHIS work dialogs retain their own layout. */
body{background:#eef3f8}.wrap{max-width:1920px;padding:24px 32px}.top h1{font-size:30px;letter-spacing:-1px;color:#142d4a}.top .sub{font-size:15px;color:#4d637c}.integration-toolbar{background:#fff;border-color:#d1dce9}.phis-toolbar{position:relative;display:flex;align-items:center;gap:16px;background:#132f4f;border:0;border-radius:10px;padding:16px 20px;color:white;margin:18px 0}.phis-toolbar>.btn.pri{background:#fff!important;color:#123b72!important;border:0;font-size:18px;padding:12px 20px;font-weight:700}.co-toolbar-note{font-size:15px;color:#d0dced}.co-tools{margin-left:auto;position:relative;font-size:15px}.co-tools summary{cursor:pointer;padding:9px 14px;border:1px solid #7890ad;border-radius:6px}.co-tools[open]{padding:12px;background:#fff;color:#20374f;border:1px solid #bccbdb;border-radius:8px;z-index:4;box-shadow:0 8px 24px #19314d22}.co-tools .btn,.co-tools label{display:block;margin-top:9px;color:#173959}.co-tools input{font:inherit;border:1px solid #9bafc5;border-radius:4px;padding:7px;margin-left:8px}.co-dashboard{color:#172e48;font-size:18px;line-height:1.5}.co-intro{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:22px 0}.co-intro h2{font-size:26px;font-weight:800;letter-spacing:-.7px}.co-intro p{font-size:16px;margin:6px 0 0;color:#51677f}.co-simulation{font-size:14px;color:#244f89;background:#e1ebfa;padding:7px 12px;border-radius:5px;white-space:nowrap}.co-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:20px}.co-summary>button{display:flex;align-items:center;justify-content:space-between;border:1px solid #d4dfeb;border-radius:9px;padding:16px 22px;background:white}.co-summary>button:first-child{background:#173b64;color:#fff;border-color:#173b64}.co-summary span{font-size:17px;font-weight:600}.co-summary strong{font-size:32px;line-height:1.2}.co-summary small{font-size:15px;margin-left:5px;font-weight:400}.co-filters{display:flex;align-items:end;gap:16px;margin-bottom:20px}.co-filters label{font-size:14px;font-weight:600;display:grid;gap:5px}.co-filters input,.co-filters select{font:inherit;font-size:16px;padding:9px 12px;border:1px solid #9fb3ca;background:white;color:#1b3655;border-radius:6px;min-width:150px}.co-filters input{min-width:280px}.co-filters p{margin:0 0 10px auto;color:#5c7087;font-size:14px}.co-panel{background:white;border:1px solid #d4dfeb;border-radius:10px;margin-bottom:22px;overflow:hidden}.co-section-head{display:flex;align-items:center;justify-content:space-between;padding:20px 22px 16px}.co-section-head h2{margin:0;font-size:23px;letter-spacing:-.5px}.co-section-head h2 span{font-size:17px;color:#2455a0;margin-left:12px}.co-section-head p{font-size:14px;color:#536981;margin:5px 0 0}.co-task-filters{display:flex;gap:8px;flex-wrap:wrap;padding:0 22px 17px}.co-task-filters button{font:inherit;font-size:15px;padding:8px 12px;border:1px solid #c3d0df;border-radius:6px;background:white;color:#3b536e;cursor:pointer}.co-task-filters button[aria-pressed=true]{background:#184c96;color:white;border-color:#184c96}.co-task-filters b{margin-left:6px}.co-task{display:grid;grid-template-columns:120px 230px minmax(0,1fr) 150px;gap:20px;align-items:center;border-top:1px solid #e1e8f0;padding:15px 22px}.co-task-patient b{font-size:20px}.co-task small{display:block;font-size:14px;color:#536981;margin-top:4px}.co-task-content strong{font-size:18px}.co-task-content p{font-size:14px;color:#536981;margin:3px 0 0}.co-task .btn{font-size:16px;padding:10px 14px;background:#ecf3ff;color:#164886;border:1px solid #99b5db;font-weight:700;white-space:nowrap}.co-status{display:inline-block;font-size:16px;font-weight:700;padding:5px 9px;border-radius:5px;background:#fff0d0;color:#805000;white-space:nowrap}.co-status.attention{background:#ffe8ec;color:#a82037}.co-status.done{background:#dff4e9;color:#0a6547}.co-table-wrap{overflow-x:auto}.co-table{width:100%;border-collapse:collapse;text-align:left;min-width:1120px}.co-table th{background:#f0f4f9;color:#455d77;font-size:15px;padding:12px 18px;border-top:1px solid #dce5ee;border-bottom:1px solid #dce5ee;white-space:nowrap}.co-table td{padding:18px;vertical-align:top;border-bottom:1px solid #e2e9f1;font-size:17px;min-width:120px}.co-table tr:last-child td{border-bottom:0}.co-table td:first-child{min-width:220px}.co-table small{display:block;font-size:14px;color:#536981;margin-top:5px;max-width:240px;overflow-wrap:anywhere}.co-table button{cursor:pointer;font:inherit}.co-name{padding:0;border:0;background:transparent;color:#153a6c;font-size:21px!important;font-weight:800!important;text-align:left}.co-text-btn{background:none;border:0;color:#184c96;font-size:15px!important;padding:5px 0;text-align:left}.co-state-btn{border:0;padding:0;background:none;text-align:left}.co-state-btn:hover .co-status{outline:2px solid #527caf}.co-name:hover,.co-text-btn:hover{text-decoration:underline}.co-footnote{padding:13px 22px;border-top:1px solid #dce5ee;background:#f8fafd;font-size:13px;color:#536981}.co-empty{padding:32px;text-align:center;font-size:17px;color:#556d86}.co-more{display:block;width:100%;background:#f3f7fc;color:#2455a0;border:0;border-top:1px solid #dce5ee;padding:13px;font:inherit;font-size:16px;font-weight:700;cursor:pointer}.co-dashboard button:focus-visible,.co-tools summary:focus-visible{outline:3px solid #326bea;outline-offset:3px}.co-work-state{border-left:4px solid #2455a0}.co-work-state h3{font-size:19px}.co-work-state input,.co-work-state select{font-size:16px!important}.dashboard-navigation[hidden]{display:none!important}
@media(min-width:1101px){.wrap{padding-top:18px}.top{margin-bottom:12px}.phis-toolbar{padding:12px 18px;margin:12px 0 16px}.co-intro{display:none}.co-summary{margin-bottom:12px}.co-summary>button{padding:12px 20px}.co-summary strong{font-size:28px}.co-filters{margin-bottom:14px}.co-section-head{padding:14px 22px 10px}.co-section-head p{margin-top:3px}.co-task-filters{padding-bottom:12px}.co-task-filters button{padding:5px 10px}.co-task{padding:10px 22px}.co-task-list{max-height:250px;overflow:auto;overscroll-behavior:contain}.co-table td{padding-top:12px;padding-bottom:12px}.co-table small{margin-top:3px}.co-panel{margin-bottom:16px}}
@media(max-width:1100px){.wrap{padding:20px}.co-task{grid-template-columns:105px 170px minmax(0,1fr) 120px;gap:12px}.co-summary>button{padding:14px}.co-summary span{font-size:15px}.co-toolbar-note{display:none}.co-filters p{max-width:260px;font-size:13px}.co-summary strong{font-size:28px}}
@media(max-width:750px){.wrap{padding:12px}.top h1{font-size:24px}.phis-toolbar{flex-wrap:wrap;padding:12px}.phis-toolbar>.btn.pri{font-size:16px;padding:10px}.co-summary{grid-template-columns:1fr 1fr;gap:8px}.co-intro{display:block}.co-intro h2{font-size:23px}.co-simulation{display:inline-block;margin-top:12px}.co-filters{flex-wrap:wrap;gap:10px}.co-filters input{min-width:0;width:100%}.co-filters p{margin:0;max-width:none}.co-task{grid-template-columns:1fr auto;padding:16px;gap:8px}.co-task>div:first-child{grid-row:1;grid-column:2}.co-task-patient{grid-row:1;grid-column:1}.co-task-content{grid-column:1/-1}.co-task>.btn{grid-column:1/-1}.co-section-head{padding:17px 16px}.co-section-head h2{font-size:20px}.co-task-filters{padding:0 16px 16px}.co-tools{margin-left:0}.co-summary span{font-size:14px}}
.phis-toolbar .co-tools-trigger{margin-left:auto;background:#fff!important;color:#173b64!important;border:1px solid #b5c7dc!important;font-size:16px;padding:10px 18px;font-weight:700}#co-tools-dialog{width:min(640px,calc(100vw - 32px));max-height:90dvh;box-sizing:border-box;padding:0;border:1px solid #b4c5da;border-radius:14px;background:#fff;color:#172e48;color-scheme:light;box-shadow:0 24px 80px #10284355;font:17px/1.6 system-ui,sans-serif;overflow:auto}#co-tools-dialog::backdrop{background:#10243c99}#co-tools-dialog .co-tools-head{display:flex;align-items:start;justify-content:space-between;gap:18px;padding:24px 28px;background:#edf3fb;border-bottom:1px solid #cbd8e8}#co-tools-dialog h2{margin:0;color:#132f4f;font-size:24px}#co-tools-dialog h3{margin:0 0 8px;color:#132f4f;font-size:19px}#co-tools-dialog p{margin:6px 0 16px;color:#3e566f;font-size:16px}#co-tools-dialog .co-tools-head p{margin-bottom:0}#co-tools-dialog .co-tools-body{padding:4px 28px 12px}#co-tools-dialog section{padding:22px 0;border-bottom:1px solid #dce5f0}#co-tools-dialog section:last-child{border-bottom:0}#co-tools-dialog button{font:inherit;font-size:16px;font-weight:700;padding:10px 16px;border:1px solid #93aac5;border-radius:7px;background:#fff;color:#173b64;cursor:pointer;white-space:nowrap}#co-tools-dialog button:hover{background:#e8f0fb}#co-tools-dialog .co-tools-primary{background:#184c96;color:#fff;border-color:#184c96}#co-tools-dialog label{display:block;margin-bottom:8px;font-weight:600;color:#173b64}#co-tools-dialog input{min-width:0;padding:10px 12px;font:inherit;background:#fff;color:#172e48;border:1px solid #809ab9;border-radius:7px}#co-tools-dialog .co-tools-date-row{display:flex;flex-wrap:wrap;gap:12px}#co-tools-dialog :is(button,input):focus-visible{outline:3px solid #326bea;outline-offset:3px}@media(max-width:550px){#co-tools-dialog .co-tools-head{padding:18px}#co-tools-dialog .co-tools-body{padding:0 18px 8px}.phis-toolbar .co-tools-trigger{margin-left:0}}

.co-summary>button{font:inherit;text-align:left;cursor:pointer;transition:box-shadow .15s,border-color .15s}.co-summary>button:hover{box-shadow:0 3px 12px #173b6426;border-color:#6089bd}.co-summary>button[aria-pressed=true]{outline:3px solid #2866bf;outline-offset:2px;box-shadow:0 3px 14px #173b6426}.co-selection{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#e2edfc;border:1px solid #a9c3e7;color:#173b64;border-radius:7px;padding:10px 16px;margin:14px 0;font-size:16px}.co-selection button{background:white;color:#173b64;border:1px solid #809fc7;border-radius:5px;padding:6px 12px;font:inherit;cursor:pointer;white-space:nowrap}
