/* Compact daily reception board; other clinical screens retain their layout. */
.main:has(.reception-workbench){padding-left:18px;padding-right:18px}
.main:has(.reception-workbench) .topbar{height:56px;margin-bottom:16px}
.reception-workbench>.pagehead{margin-bottom:12px;gap:12px}
.reception-workbench h1{font-size:22px;margin-bottom:3px}
.reception-workbench>.pagehead .subtle{font-size:12px}
.reception-workbench button{border-radius:4px;font-size:12px;padding:6px 10px}
.reception-workbench button:focus-visible{outline:2px solid #128c91;outline-offset:2px}
.reception-workbench .card{border-radius:5px;padding:12px 14px;margin-bottom:10px;box-shadow:none}
.reception-tasks{display:flex;flex-wrap:wrap;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);border-radius:5px;padding:9px 12px;margin-bottom:10px;font-size:13px}
.reception-tasks>strong{margin-right:10px}.reception-tasks button{background:#f7fbfc;border-color:#e4eeee;color:#3d626a}.reception-tasks b{margin-left:12px;color:#087c8c}.reception-tasks>.subtle{margin-left:auto;font-size:12px}
.reception-workbench #workbench-panel{display:flex;flex-direction:column}
.reception-workbench .work-stats{order:0}.reception-workbench .work-tools{order:1;display:flex;align-items:center;gap:15px;padding:8px 12px}
.reception-workbench .work-tools .pagehead{margin:0;display:contents}.reception-workbench .work-tools h2{font-size:13px;white-space:nowrap}.reception-workbench #work-config{order:2;margin-left:auto;white-space:nowrap;border:0;color:#54777c;background:transparent}
.reception-workbench .work-shortcuts{gap:4px;flex:1;display:flex;flex-wrap:wrap}.reception-workbench .work-shortcuts button{min-width:0;background:#f6fafb;gap:0;padding:5px 9px}.reception-workbench .shortcut-icon{display:none}
.reception-workbench .work-stats h2{font-size:14px}.reception-workbench .work-stats .pagehead{margin-bottom:8px}.reception-workbench .work-stats .pagehead>div{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.reception-workbench .work-stats .pagehead p{margin:0;font-size:11px}
.reception-workbench .work-stat-grid{grid-template-columns:repeat(8,minmax(0,1fr));border-radius:4px}.reception-workbench .work-stat{gap:2px;padding:9px 4px}.reception-workbench .work-stat strong{order:1;font-size:20px}.reception-workbench .work-stat span{font-size:12px;color:#45636a}.reception-workbench .work-stat small,.reception-workbench .work-updated{display:none}
.reception-board{border:1px solid #dce6e9;background:#fff;border-radius:5px;overflow:hidden}
.reception-tabs{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding:0 12px;gap:10px;flex-wrap:wrap}.reception-tabs [role=tablist]{display:flex;gap:18px}.reception-tabs [role=tab]{border:0;border-bottom:2px solid transparent;border-radius:0;padding:13px 2px;background:#fff;color:#597178;font-size:13px}.reception-tabs [role=tab].active{border-bottom-color:#079aad;color:#078395;font-weight:650}.reception-modes{display:flex;gap:4px;margin:7px 0}.reception-modes .active{background:#e7f6f6;border-color:#9bcfce;color:#086e77}
.reception-toolbar{padding:11px 12px 7px;background:#fcfdfd;border-bottom:1px solid #e7eeee}.reception-date{display:flex;align-items:center;gap:6px;margin-bottom:8px}.reception-date input{width:147px}.reception-date #dashboard-day{font-size:12px;color:#587078;margin-left:6px}
.reception-toolbar .toolbar{gap:7px;margin-bottom:5px}.reception-toolbar input,.reception-toolbar select{font-size:12px;padding:6px 8px;border-radius:4px}.reception-toolbar .toolbar input[type=search]{min-width:225px;flex:1;max-width:350px}.reception-toolbar select{max-width:160px}.reception-toolbar .checks{gap:5px;align-items:center;margin:0;white-space:nowrap;font-size:12px}.reception-toolbar .checks input{margin:0;width:14px;height:14px;accent-color:#078e98}.reception-toolbar #dashboard-sync{font-size:11px;margin:0}
.reception-workbench .dashboard-focus{margin:0;padding:8px 12px 3px;gap:5px}.reception-workbench .dashboard-focus button{border-color:transparent;background:#f5f8f9;font-size:11px;padding:5px 8px}.reception-workbench .dashboard-focus button.active{background:#e4f3f2;border-color:#b6d9d6;color:#126d67}.reception-workbench .dashboard-focus b{margin-left:5px;font-weight:600}
.reception-workbench #dashboard-focus-note{margin:5px 12px;font-size:12px}.reception-workbench #dashboard-status{margin:0;padding:4px 12px 8px;gap:4px}.reception-workbench #dashboard-status button{border:0;background:transparent;color:#657b83;font-size:11px;padding:4px 8px}.reception-workbench #dashboard-status button.active{background:#e7f2f2;color:#086977}
.reception-list-heading{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:8px 12px;background:#fbfcfc;border-top:1px solid #e8eeee}.reception-list-heading h2{font-size:13px;margin:0}.reception-list-heading>span{font-size:11px;color:#698089}
.reception-workbench table{font-size:12px}.reception-workbench th{font-size:11px;color:#425d65;background:#f2f6f7;font-weight:600;white-space:nowrap}.reception-workbench td,.reception-workbench th{padding:9px 10px;vertical-align:middle;border-right:1px solid #edf1f2}.reception-workbench td>small{display:block;color:#7a8c94;font-size:10px;white-space:nowrap}.reception-workbench tr.flow-row{display:table-row;border:0;background:#fff;border-radius:0;padding:0;margin:0}.reception-workbench tbody tr:nth-child(even){background:#f9fbfc}.reception-workbench tbody tr:hover{background:#edf8f8}.reception-workbench .patient-name-link{font-size:13px;white-space:nowrap;color:#077b90}.reception-table{max-height:64vh;overflow:auto}.reception-table table{min-width:970px}.reception-table th{position:sticky;top:0;z-index:2}.reception-table td:first-child{width:40px;text-align:center}.reception-table td:nth-child(2){min-width:110px}.reception-table td:nth-child(6){min-width:135px;max-width:200px;overflow-wrap:anywhere}.reception-table td:last-child{width:290px;min-width:230px}
.clinical-quality{padding:14px 16px;margin:0 0 12px}.clinical-quality-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.clinical-quality h2{margin:0;font-size:15px}.clinical-quality-heading .subtle{margin:4px 0 0;font-size:12px}.clinical-quality-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:11px}.clinical-quality-item{display:flex;align-items:center;gap:10px;min-width:0;text-align:left;padding:10px 12px;background:#f7fbfc;border-color:#e4edef}.clinical-quality-item strong{font-size:22px;color:#087e8b}.clinical-quality-item span{font-size:12px;color:#45616b}
.reception-workbench .flow-main{white-space:nowrap;padding:2px 0;color:#3a626b}.reception-actions{display:flex;flex-wrap:wrap;gap:5px;align-items:center}.reception-actions button{padding:4px 6px;font-size:11px;white-space:nowrap;border-color:#dbe5e7;color:#3c636e;background:#fff}.reception-actions .record-confirmed{border-color:#c5e3d5;color:#277953;background:#f0f8f4}.reception-actions .record-draft{border-color:#d1e3ef;color:#39759b;background:#f0f7fc}.reception-state{white-space:nowrap;color:#40606a}.reception-state.state-arrived,.reception-state.state-waiting{color:#a06d23}.reception-state.state-working{color:#078c98;font-weight:650}.reception-state.state-done{color:#3c8159}.reception-state.state-cancelled,.reception-state.state-missed{color:#879299}
.reception-workbench #dashboard-board{padding:12px}.reception-workbench #dashboard-followups table{min-width:740px}.reception-workbench .empty{padding:30px 15px;font-size:13px}
@media(min-width:1150px){.shell:has(.reception-workbench){grid-template-columns:180px 1fr}.shell:has(.reception-workbench) .sidebar{padding:24px 10px}.shell:has(.reception-workbench) .brand{font-size:20px}}
@media(max-width:1100px){.reception-workbench .work-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:720px){.main:has(.reception-workbench){padding-left:10px;padding-right:10px}.reception-workbench>.pagehead{align-items:flex-start}.reception-workbench>.pagehead .actions{gap:5px}.reception-workbench .work-stats .pagehead>div{gap:3px}.reception-workbench .work-stats .pagehead p{width:100%}.reception-workbench .work-tools{flex-wrap:wrap;gap:7px}.reception-workbench .work-shortcuts{order:3;flex-basis:100%;display:flex}.reception-workbench .work-shortcuts button{flex-direction:row;font-size:12px}.reception-tabs{padding:0 9px}.reception-tabs [role=tablist]{gap:14px}.reception-toolbar .toolbar input[type=search]{max-width:none;width:100%;flex-basis:100%}.reception-workbench #dashboard-status{flex-wrap:nowrap;overflow:auto}.reception-workbench #dashboard-status button{white-space:nowrap}.reception-table{max-height:65vh}.reception-table td:nth-child(2),.reception-table th:nth-child(2){position:sticky;left:0;background:#fff;z-index:1}.reception-table th:nth-child(2){z-index:3}.reception-tasks{gap:5px;padding:8px}.reception-tasks>strong{margin-right:2px}.reception-tasks>.subtle{width:100%;margin:0}.reception-workbench .work-stat strong{font-size:18px}}
.reception-workbench>.pagehead{margin-bottom:9px}.reception-workbench h1{font-size:19px}.reception-workbench>.pagehead .subtle{display:none}
.reception-workbench .work-stats{padding:9px 12px}.reception-workbench .work-stats .pagehead{margin-bottom:6px}.reception-workbench .work-stat{padding:5px 4px}.reception-workbench .work-stat strong{font-size:18px}.reception-tasks{padding:7px 12px}
.reception-filter-details{padding:6px 12px;border-bottom:1px solid #edf2f3;font-size:12px;color:#59777e}.reception-filter-details>summary{cursor:pointer;width:fit-content}.reception-filter-details[open]>summary{margin-bottom:6px}.reception-filter-details .dashboard-focus,.reception-filter-details #dashboard-status{padding-left:0;padding-right:0}
@media(max-width:720px){.clinical-quality-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.clinical-quality-item{padding:9px 8px}}
