.workspace .secondary:not(:disabled):hover{background:#e8f4ef;border-color:#8aac9f}.workspace .nav-item:not(.active):hover{background:#ffffff12}.workspace .tabs a:not(.selected):hover{color:var(--teal-dark);border-bottom-color:#91bdb0}.workspace .agenda-segments button:hover{background:#edf5f1}.workspace .agenda-segments button[aria-pressed=true]{box-shadow:inset 0 -2px var(--teal);font-weight:650}.workspace input:read-only:not([type=checkbox]),.workspace textarea:read-only{color:#49636a;background:#edf1f0;border-style:dashed}.workspace input:disabled,.workspace select:disabled,.workspace textarea:disabled{color:#52666c;opacity:1;cursor:not-allowed;background:#edf1f0}.workspace .field input[aria-invalid=true],.workspace .field select[aria-invalid=true],.workspace .field textarea[aria-invalid=true]{background:#fff7f6;border-color:#b63e3e}.workspace .field-error{color:#a12e2e;margin-top:4px;font-size:12px;display:block}.workspace .field:has(:focus-visible)>label{color:var(--teal-dark)}.workspace .primary:disabled{opacity:1;background:#526e6d}.workspace .saving-indicator{animation:1s linear infinite saving-spin}@keyframes saving-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.workspace .saving-indicator{animation:none}}.workspace .agenda-calendar .fc-event{color:#193a40;border-width:0 0 0 3px;border-radius:3px}.workspace .agenda-calendar .fc-event:hover,.workspace .agenda-calendar .fc-event:focus-visible{box-shadow:inset 0 0 0 1px #49636a}.workspace .agenda-calendar .fc-event:focus-visible{outline:2px solid var(--teal);outline-offset:2px}.workspace .agenda-calendar .appointment-draft{border-left-style:dashed}.workspace .agenda-calendar .appointment-archived{filter:saturate(.35)}.workspace .agenda-calendar .agenda-event{color:#193a40;padding:2px 4px;line-height:1.25}.workspace .agenda-calendar .agenda-event-time{font-variant-numeric:tabular-nums;font-size:11px;font-weight:550}.workspace .agenda-calendar .agenda-event-name{font-size:12px;font-weight:650}.workspace .agenda-calendar .agenda-event-procedure,.workspace .agenda-calendar .agenda-event-state{color:#36545c;font-size:11px}.workspace .agenda-calendar .fc-timegrid-event-short .agenda-event{align-items:baseline;gap:4px;display:flex}.workspace .agenda-calendar .fc-timegrid-event-short .agenda-event-time{flex-shrink:0}.workspace .agenda-calendar .agenda-time-start,.workspace .agenda-calendar .fc-timegrid-event-short .agenda-time-range{display:none}.workspace .agenda-calendar .fc-timegrid-event-short .agenda-time-start{display:inline}.workspace .agenda-calendar .fc-timegrid-event-short .agenda-event-name{min-width:0}.workspace .agenda-week .fc-timegrid-event-short .agenda-event-time{display:none}.workspace .agenda-week .fc-timegrid-event-short .agenda-event-name{flex:1}.workspace .agenda-calendar .fc-timegrid-event-short .agenda-event-procedure,.workspace .agenda-calendar .fc-timegrid-event-short .agenda-event-state{display:none}.workspace{--line:#e1e7e9;--surface:#fff;--surface-shadow:0 2px 8px #102f3b04;--muted:#49636a;background:#f5f7f8;grid-template-columns:192px minmax(0,1fr)}.workspace #main{min-width:0}.workspace .sidebar{color:#e2eeee;background:#103b47;padding:20px 12px 14px}.workspace .nav-item.active{color:#fff;box-shadow:none;background:#265c65;font-weight:600}.workspace .workspace-name span,.workspace .profile small{color:#b1cbce}.workspace .sidebar .profile .avatar{color:#64332e;background:#ff897b}.workspace .mobile-header,.workspace .mobile-menu-close{display:none}.workspace .brand{gap:10px;padding:0 8px;font-size:26px}.workspace .workspace-name{margin:20px 8px 12px;padding-bottom:12px}.workspace .workspace-name span,.workspace .profile small{font-size:12px}.workspace .nav-item{gap:10px;min-height:40px;padding:9px 10px;font-size:14px}.workspace .sidebar-bottom{padding-top:16px}.workspace .profile{gap:8px;margin-top:10px;padding-top:12px}.workspace .profile small{max-width:90px}.workspace .topbar{gap:16px;height:auto;min-height:36px;padding:6px 24px;font-size:12px}.workspace .topbar>*{overflow-wrap:anywhere;min-width:0}.workspace .page{width:100%;max-width:none;margin:0;padding:20px 24px 24px}.workspace h1{font-size:24px;font-weight:650;line-height:1.25}.workspace h2{font-size:17px;line-height:1.4}.workspace .page-heading,.workspace .page-heading.list-heading{flex-wrap:wrap;align-items:center;gap:10px;min-height:38px;margin-bottom:16px}.workspace .page-heading h1{flex:1;min-width:140px}.workspace .page-heading>.back-link{border:1px solid var(--line);background:#fff;border-radius:4px;flex:0 0 36px;justify-content:center;align-items:center;width:36px;height:36px;margin:0;display:inline-flex}.workspace .back-link:hover{background:#e8f4ef}.workspace .heading-actions{flex-wrap:wrap;gap:8px}.workspace .primary,.workspace .secondary{gap:8px;min-height:38px;padding:8px 14px;font-size:14px;line-height:1.4}.workspace input:not([type=checkbox]):not([type=radio]),.workspace select{height:38px;padding:7px 10px;font-size:14px}.workspace .search-field input:not([type=checkbox]):not([type=radio]){padding-left:36px}.workspace .search-field>svg{width:18px;height:18px;top:10px;left:10px}.workspace input::placeholder{color:#62797e}.workspace .form-grid{gap:14px 20px;padding-top:16px}.workspace .field>label,.workspace .field-title{margin-bottom:5px;font-size:13px}.workspace .field textarea{min-height:96px;padding:9px 10px;line-height:1.5}.workspace .field .check-control{min-height:38px;margin:0;padding:7px 10px}.workspace .sigle-picker summary{min-height:38px;padding:7px 10px}.workspace .patient-results{top:40px}.workspace .patient-picker small{font-size:12px}.workspace .form-actions{gap:8px;margin-top:16px;padding:14px 0 0}.workspace .detail-actions{margin-bottom:12px}.workspace .registry-section{padding:16px 0}.workspace .registry-section h2{margin-bottom:12px;font-size:16px}.workspace .registry-section .form-grid{padding-top:0}.workspace .registry-details{gap:14px 24px}.workspace .registry-details dt,.workspace .clinical-details dt,.workspace dt{color:var(--muted);margin-bottom:3px;font-size:13px}.workspace dd{font-size:14px;line-height:1.5}.workspace .details{gap:0 24px}.workspace .details>div{padding:12px 0}.workspace .notes{padding:16px 0}.workspace .notes h2{margin-bottom:8px}.workspace .notes p{line-height:1.6}.workspace .clinical-details{gap:14px 24px;margin:16px 0}.workspace .clinical-section{margin-top:16px;padding:16px 0}.workspace .clinical-section-heading,.workspace .clinical-row-heading{gap:10px;margin-bottom:12px}.workspace .clinical-section-heading h2{font-size:16px}.workspace .clinical-row{padding:12px 0}.workspace .clinical-row .form-grid{padding:4px 0 12px}.workspace .clinical-section .table-wrap{margin-top:12px}.workspace .clinical-status{margin-bottom:14px}.workspace .tabs{gap:20px}.workspace .tabs a{min-height:38px;padding:8px 0;font-size:14px}.workspace .tabs span,.workspace .list-meta,.workspace .pagination{font-size:12px}.workspace .filters,.workspace .clinical-filters{flex-wrap:wrap;gap:8px;margin:14px 0}.workspace .filters>*,.workspace .clinical-filters>*{min-width:0;max-width:100%}.workspace .list-meta{margin:12px 0 8px}.workspace table{font-size:13px}.workspace th{color:#49636a;padding:9px 10px;font-size:12px}.workspace td{padding:10px}.workspace .contact{gap:8px}.workspace .contact small,.workspace .date{color:var(--muted);font-size:12px}.workspace .contact .avatar{width:30px;height:30px}.workspace .pill{padding:3px 7px;font-size:12px}.workspace .pagination{margin-top:14px;margin-bottom:0}.workspace .pagination>div{gap:8px}.workspace .page-jump input[type=number]{width:64px;height:36px}.workspace .empty{padding:36px 16px}.workspace .alert,.workspace .success{margin:12px 0;padding:10px 12px}.workspace .app-flash{margin:12px 24px 0}.workspace .agenda-toolbar{padding:12px 0 8px}.workspace .agenda-legend{margin:6px 0 12px;font-size:12px}.workspace .agenda-segments button{min-height:36px;padding:7px 10px;font-size:13px}.workspace .agenda-calendar th,.workspace .agenda-calendar td{padding:0}.workspace .turni-grid td{padding:10px;line-height:1.5}.workspace .chat-workspace{grid-template-columns:220px minmax(0,1fr);min-height:0}.workspace .chat-people{max-height:600px;padding:12px 12px 12px 0}.workspace .chat-conversation{padding:12px 0 12px 16px}.workspace .chat-conversation>header{padding-bottom:10px}.workspace .chat-person{padding:9px 6px}.workspace .chat-message{padding:9px 12px}.workspace .chat-message small{font-size:12px}.workspace .chat-page .chat-messages{height:clamp(240px,100vh - 290px,600px);padding:12px 4px}.workspace .chat-compose{margin-top:8px}@media (width>=1200px){.workspace .registry-details{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=1100px) and (width>=641px){.workspace{grid-template-columns:180px minmax(0,1fr)}.workspace .page{padding:16px 18px 24px}.workspace .topbar{padding-inline:18px}.workspace .sidebar{padding-inline:10px}.workspace .brand{font-size:24px}.workspace .form-grid{gap:14px 16px}}@media (width<=700px){.workspace .chat-workspace{grid-template-columns:1fr}.workspace .chat-conversation{padding:12px 0}}@media (width<=640px){.workspace{display:block}.workspace .sidebar{gap:10px;padding:12px 16px}.workspace .sidebar-bottom{padding-top:0}.workspace .profile{margin:0;padding:0}.workspace .sidebar nav{gap:4px;padding-bottom:4px;display:flex;overflow-x:auto}.workspace .nav-item{flex:none;min-height:40px;font-size:13px}.workspace .topbar{padding:6px 16px}.workspace .page{padding:16px}.workspace h1{font-size:22px}.workspace .form-grid,.workspace .registry-details,.workspace .clinical-details{grid-template-columns:1fr}.workspace .page-heading h1{min-width:100px}.workspace .heading-actions{flex:100%;justify-content:flex-end}.workspace td{padding:0}.workspace tbody tr{padding:12px 0}.workspace td:first-child{padding-right:40px}.workspace .clinical-section .table-wrap{overflow:auto}.workspace .agenda-calendar tbody tr,.workspace .agenda-calendar td:first-child{padding:0}.workspace .turni-grid td:first-child{padding:10px}.workspace .app-flash{margin:10px 16px 0}.workspace .primary,.workspace .secondary{min-height:40px}}@media (pointer:coarse){.workspace .primary,.workspace .secondary,.workspace .icon-button,.workspace .page-heading>.back-link{min-height:44px}}.workspace .record-section,.workspace .registry-section{background:var(--surface);border:1px solid var(--line);box-shadow:var(--surface-shadow);border-radius:8px;min-width:0;margin-bottom:14px;padding:0}.workspace .record-section>h2,.workspace .registry-section>h2{border-bottom:1px solid var(--line);background:0 0;margin:0;padding:10px 14px;font-size:15px}.workspace .record-section-body,.workspace .registry-section>.form-grid,.workspace .registry-section>.registry-details{padding:14px}.workspace .record-section-body>.form-grid{border:0;padding:0}.workspace .record-details{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 24px;margin:0;display:grid}.workspace .record-details>div{min-width:0}.workspace .record-details dd{white-space:pre-wrap}.workspace .record-wide{grid-column:1/-1}.workspace .record-details a{color:var(--teal-dark);text-underline-offset:3px;text-decoration:underline}.workspace .record-section-body .notes{padding:0}.workspace .clinical-records{gap:12px;margin-top:12px;display:grid}.workspace .clinical-record{border:1px solid var(--line);box-shadow:var(--surface-shadow);background:#fff;border-radius:8px;min-width:0;padding:14px}.workspace .clinical-record h3{color:var(--teal-dark);margin:0 0 12px;font-size:14px}@media (width>=1200px){.workspace .clinical-record .record-details{grid-template-columns:repeat(3,minmax(0,1fr))}}.workspace .clinical-row{border:1px solid var(--line);box-shadow:var(--surface-shadow);background:#fff;border-radius:8px;margin-top:10px;padding:12px}@media (width<=640px){.workspace .record-details{grid-template-columns:1fr}}.workspace .document-person{margin-bottom:12px}.workspace .document-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.workspace .document-toolbar>span{color:var(--muted);font-size:13px}.workspace .document-list{margin:0;padding:0;list-style:none}.workspace .document-list li{justify-content:space-between;align-items:center;gap:12px;padding:10px 0;display:flex}.workspace .document-list li+li{border-top:1px solid var(--line)}.workspace .document-list li>div{overflow-wrap:anywhere;min-width:0}.workspace .document-list li>.document-toolbar{flex:none}.workspace .document-toolbar button{white-space:nowrap;flex-shrink:0}.workspace .document-list small{color:var(--muted);margin-top:3px;font-size:12px;display:block}.workspace .document-email{gap:8px;display:grid}.workspace .document-email input[type=email]{flex:1;min-width:160px;max-width:100%}.workspace .document-email small{color:var(--muted)}.workspace .document-confirm{align-items:flex-start;gap:8px;font-size:13px;display:flex}.workspace .document-confirm input{flex:none;margin-top:2px}.workspace.document-guest{display:block}.workspace .document-upload{max-width:540px;margin:0 auto;padding:28px 20px}.workspace .document-upload .brand{color:var(--ink);margin-bottom:28px;padding:0}.workspace .document-upload h1{margin-bottom:10px}.workspace .document-upload form{border:1px solid var(--line);background:#fff;border-radius:8px;margin:20px 0;padding:18px}.workspace .document-upload label{margin-bottom:8px;font-weight:600;display:block}.workspace .document-upload input[type=file]{white-space:normal;width:100%;height:auto}.workspace .document-upload .primary{width:100%;margin-top:16px}.workspace .document-upload progress{width:100%;margin-top:12px}.workspace .document-expiry{color:var(--muted);font-size:12px}.workspace .dashboard-welcome{flex:1;min-width:0}.workspace .dashboard-welcome>p{color:var(--muted);text-transform:capitalize;margin-bottom:3px;font-size:12px}.workspace .dashboard-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:16px;display:grid}.workspace .dashboard-metric,.workspace .dashboard-panel{border:1px solid var(--line);box-shadow:var(--surface-shadow);background:#fff;border-radius:8px;min-width:0}.workspace .dashboard-metric{padding:14px 16px}.workspace .dashboard-metric-heading{justify-content:space-between;align-items:center;gap:8px;display:flex}.workspace .dashboard-metric h2{color:var(--muted);font-size:13px;font-weight:500}.workspace .dashboard-metric-icon{border-radius:8px;flex:none;place-items:center;width:30px;height:30px;display:grid}.workspace .dashboard-metric-value{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin:2px 0;font-size:30px;font-weight:650;line-height:1.3}.workspace .dashboard-metric p{color:var(--muted);font-size:12px}.workspace .dashboard-columns{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);align-items:start;gap:16px;display:grid}.workspace .dashboard-panel>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:8px;padding:12px 16px;display:flex}.workspace .dashboard-panel h2{font-size:15px}.workspace .dashboard-panel header a{color:var(--teal-dark);flex-shrink:0;align-items:center;gap:4px;font-size:12px;display:inline-flex}.workspace .dashboard-panel header a:hover{text-decoration:underline}.workspace .dashboard-list{margin:0;padding:0 16px;list-style:none}.workspace .dashboard-list li+li{border-top:1px solid #edf0f2}.workspace .dashboard-list li>a{align-items:center;gap:10px;min-width:0;padding:12px 0;display:flex}.workspace .dashboard-list li>a:hover{background:#f3f9f7}.workspace .dashboard-person{overflow-wrap:anywhere;flex:1;min-width:0}.workspace .dashboard-person strong{font-size:13px;font-weight:600;display:block}.workspace .dashboard-person small{color:var(--muted);margin-top:2px;font-size:12px;display:block}.workspace .dashboard-list .pill{white-space:normal;flex-shrink:0;max-width:115px}.workspace .dashboard-appointment-row time{font-variant-numeric:tabular-nums;flex:0 0 40px;font-size:13px;font-weight:600}.workspace .dashboard-agenda-marker{background:#7bbaca;border-radius:3px;flex:none;width:3px;height:32px}.workspace .marker-A,.workspace .marker-B{background:#81c6b3}.workspace .marker-V{background:#ff8c7e}.workspace .dashboard-empty{color:var(--muted);padding:28px 16px;font-size:13px}.workspace .dashboard-error,.workspace .dashboard-metric .dashboard-error{color:#924823}.workspace .dashboard-updated{color:var(--muted);text-align:right;margin-top:12px;font-size:12px}@media (width<=900px){.workspace .dashboard-columns{grid-template-columns:1fr}.workspace .dashboard .heading-actions{flex-wrap:wrap}}@media (width<=640px){.workspace .dashboard-metrics{grid-template-columns:1fr;gap:8px}.workspace .dashboard-metric{grid-template-columns:minmax(0,1fr) auto;gap:2px 10px;padding:10px 14px;display:grid}.workspace .dashboard-metric-heading{justify-content:flex-start}.workspace .dashboard-metric-icon{display:none}.workspace .dashboard-metric-value{grid-area:1/2/3;align-self:center;margin:0;font-size:26px}.workspace .dashboard-metric p{grid-column:1}.workspace .dashboard-list{padding-inline:12px}.workspace .dashboard-list .pill{max-width:90px;font-size:11px}.workspace .dashboard .heading-actions{gap:6px}}.workspace .table-wrap{background:var(--surface);border:1px solid var(--line);box-shadow:var(--surface-shadow);border-radius:8px}.workspace th{background:#f9fafb}.workspace td{border-bottom-color:#edf0f2}.workspace tbody tr:hover{background:#f3f9f7}.workspace .table-wrap thead th:first-child{border-top-left-radius:8px}.workspace .table-wrap thead th:last-child{border-top-right-radius:8px}.workspace .table-wrap tbody tr:last-child td{border-bottom:0}.workspace .pill{border-radius:8px;font-weight:550}.workspace .tone-M{color:#245a76;background:#e5f2fa}.workspace .tone-A,.workspace .tone-B{color:#21675b;background:#e0f3ed}.workspace .tone-S{color:#924823;background:#fff0e5}.workspace .tone-V{color:#684889;background:#f0eafa}.workspace .avatar{color:#874438;background:#fce4df;font-weight:600}.workspace .avatar.tone-M{color:#245a76;background:#e5f2fa}.workspace .avatar.tone-A,.workspace .avatar.tone-B{color:#21675b;background:#e0f3ed}.workspace .avatar.tone-S{color:#924823;background:#fff0e5}.workspace .registry-person{align-items:center;gap:8px;display:flex}.workspace .registry-person-text{min-width:0}.workspace .person-avatar{flex:0 0 30px;width:30px;height:30px;position:relative}.workspace .chat-person .person-avatar{flex:0 0 30px}.workspace .person-avatar>i{border:2px solid #fff;width:10px;height:10px;position:absolute;bottom:-1px;right:-1px}.workspace .primary,.workspace .secondary,.workspace .icon-button,.workspace .page-heading>.back-link,.workspace .nav-item,.workspace input:not([type=checkbox]):not([type=radio]),.workspace select,.workspace .field textarea,.workspace .check-control,.workspace .sigle-picker summary,.workspace .patient-results,.workspace .agenda-segments,.workspace .chat-compose textarea{border-radius:6px}.workspace input:not([type=checkbox]):not([type=radio]),.workspace select,.workspace .field textarea,.workspace .check-control,.workspace .sigle-picker summary,.workspace .chat-compose textarea{border-color:#dce3e6}.workspace .tabs span{color:#21675b;background:#e0f3ed;border-radius:8px}.workspace .chat-message{background:#edf1f5;border-radius:8px}.workspace .chat-message.sent{background:#e0f3ed}.workspace .chat-person.selected{background:#e0f3ed;border-radius:6px}.workspace .agenda-calendar{background:var(--surface);box-shadow:var(--surface-shadow);--fc-border-color:#e1e7e9;--fc-today-bg-color:#f0f9f5;border-radius:8px}.workspace .agenda-calendar .fc-scrollgrid{border-radius:8px}.workspace .agenda-calendar tbody tr:hover{background:0 0}.workspace .sidebar-backdrop{z-index:49;cursor:pointer;background:#102f3b66;border:0;border-radius:0;position:fixed;inset:0}@media (width<=640px){.workspace .mobile-header{color:#fff;background:#103b47;align-items:center;gap:10px;height:60px;padding:8px 16px;display:flex}.workspace .mobile-header .icon-button{color:#fff;width:44px;height:44px}.workspace .mobile-header .brand{padding:0;font-size:24px}.workspace .sidebar{z-index:50;overscroll-behavior:contain;width:min(288px,100vw - 48px);height:100dvh;padding:20px 12px 16px;display:none;position:fixed;inset:0 auto 0 0;overflow-y:auto;box-shadow:8px 0 24px #102f3b20}.workspace .sidebar.drawer-open{flex-direction:column;gap:0;display:flex}.workspace .sidebar .mobile-menu-close{color:#fff;width:44px;height:44px;display:inline-flex;position:absolute;top:10px;right:8px}.workspace .sidebar>.brand{align-self:flex-start;padding-right:40px;font-size:24px}.workspace .sidebar .workspace-name{margin:20px 8px 12px;display:block}.workspace .sidebar nav{flex-direction:column;gap:2px;padding:0;display:flex;overflow:visible}.workspace .sidebar .nav-item{min-height:44px;font-size:14px}.workspace .sidebar .sidebar-bottom{margin-top:auto;padding-top:16px}.workspace .sidebar-bottom>.local-badge{display:inline-flex}.workspace .sidebar .profile{border-top:1px solid #ffffff20;margin-top:10px;padding-top:12px;display:flex}.workspace .sidebar .profile>div,.workspace .sidebar .profile small{display:block}.workspace .sidebar .profile>.avatar{display:grid}.workspace .table-wrap:not(.turni-grid) tbody tr{padding-inline:10px}.workspace .table-wrap tbody tr:last-child{border-bottom:0}}
