/* Compact one-line navigation, independent of content and print documents. */
@media screen{
body{color:#2c3c47}.sidebar{width:190px;padding:24px 14px;display:flex;flex-direction:column;flex-wrap:nowrap;position:fixed;inset:0 auto 0 0}.sidebar .brand{font-size:26px}.sidebar .nav-caption{display:none}.sidebar .sidebar-page-title{font-size:26px;line-height:1.4;font-weight:750;letter-spacing:-.8px;color:#243b4b;margin:26px 8px 0;overflow-wrap:anywhere}.sidebar .workspace{margin:22px 0}.sidebar .workspace small,.sidebar-version,.sidebar-bottom{color:#596973}.sidebar .workspace strong{color:#2e3d48}main{margin-left:190px}
main>.app-header{display:flex;flex-wrap:nowrap;gap:10px;padding:0 14px;height:60px;min-height:60px;white-space:nowrap}.header-navigation{display:flex;align-items:center;gap:3px;flex:1;min-width:0;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin}.header-navigation .nav{display:block;flex:0 0 auto;margin:0;padding:10px 8px;font-size:clamp(11px,.84vw,13px);font-weight:600;line-height:1.3;white-space:nowrap;letter-spacing:-.4px;color:#3e4e59;border-radius:6px}.header-navigation .nav.active{background:#e1eef7;color:#215471;box-shadow:inset 0 -3px #498eb0}.header-navigation .nav[hidden]{display:none}.app-header .header-right{flex:none;gap:7px;font-size:11px;color:#485966;white-space:nowrap;flex-wrap:nowrap}.app-header .header-right button{font-size:11px;padding:7px 8px;white-space:nowrap}.app-header #connection{max-width:125px;color:#425864}
body p,body .workspace-description,body .schedule-case>span,body .finance-toolbar,body .finance-form label,body .finance-filter label,body .finance-table td small,body .detail-summary-row>span,body .case-assignment-summary,body .attachment-link small,body .message-info,body .case-bottom,body .inbox-heading>span,body .stat small,body .stat,body .calendar-day button span,body .weekday{color:#4c5d69}.tab,select,.search input,.step{color:#51606b}.search input::placeholder{color:#68747f}.order-table th,.finance-table th{color:#3e5260}.step.done{color:#2e6481}.secondary{color:#364c5b}
.detail-controls .detail-index{display:flex;align-items:flex-end;gap:5px;overflow-x:auto;padding:12px 10px 0;border-bottom:2px solid #4684a3;background:#f2f7fa}.detail-controls .detail-index button{flex:0 0 auto;border:1px solid #c6d3dc;border-bottom:0;border-radius:9px 9px 0 0;padding:11px 16px;margin:0;background:#e3eaf0;color:#415664;font-size:12px;font-weight:600;white-space:nowrap;position:relative;top:1px}.detail-controls .detail-index button[aria-selected=true]{background:#fff;color:#225571;border-color:#4684a3;box-shadow:inset 0 3px #4684a3;top:2px;padding-bottom:13px;z-index:1}.detail-controls .detail-index button:hover{background:#f1f7fb}
.technician-filters{display:flex;gap:14px;margin:20px 0}.technician-filters label{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:600}.technician-filters select{padding:8px;max-width:220px}.technician-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px;margin:18px 0}.technician-card{text-align:left;border:1px solid #d2dde5;border-radius:10px;background:#f8fbfd;padding:16px;color:#304552}.technician-card.active{border-color:#4582a1;background:#eaf3fa;box-shadow:inset 0 0 0 1px #4582a1}.technician-card>strong{display:block;font-size:17px}.technician-card>span{display:block;margin:7px 0 14px;font-size:12px}.technician-counts{display:grid;grid-template-columns:repeat(5,1fr);gap:4px}.technician-counts span{font-size:10px;text-align:center;color:#4f616e}.technician-counts b{display:block;margin-top:6px;font-size:18px;color:#325b73}.technician-case-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:10px}.technician-case-list .schedule-case{text-align:left;min-width:0}.technician-case-list .schedule-case>span{white-space:normal;overflow-wrap:anywhere}
}
@media screen and (max-width:1200px){.header-navigation .nav{padding:10px 5px;font-size:11px}.app-header .header-right{gap:4px}.app-header #connection{max-width:100px}main>.app-header{padding:0 8px;gap:6px}}
@media screen{.sidebar .sidebar-page-title{word-break:keep-all}.detail-controls .detail-index{overflow-y:hidden}}
/* Full-width masthead with a half-width rail below it. */
@media screen{
main,body.orders-page main{margin-left:150px;padding-top:60px;min-width:0}
main>.app-header{position:fixed;inset:0 0 auto 0;width:100%;height:60px;z-index:30;padding:0 12px}
.sidebar{width:150px;inset:60px auto 0 0;padding:16px 8px;overflow-y:auto;overflow-x:hidden;z-index:21}
.sidebar .sidebar-page-title{font-size:19px;line-height:1.45;margin:5px 0 0;letter-spacing:-.5px;word-break:keep-all;overflow-wrap:anywhere}
.sidebar .workspace{flex-direction:column;gap:8px;align-items:flex-start;margin:22px 0;padding:10px 5px;min-width:0}.sidebar .workspace>div{max-width:100%;overflow-wrap:anywhere}.sidebar .workspace strong{font-size:12px}.sidebar .workspace small{font-size:10px;line-height:1.5;word-break:keep-all}.sidebar .avatar{width:28px;height:28px}.sidebar .sidebar-bottom{display:none}
.header-identity{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;flex:0 0 142px;min-width:0;height:60px}.header-identity .brand{font-size:23px;line-height:1.15;letter-spacing:-1px;padding:0;white-space:nowrap}.header-identity .brand span{font-size:9px;padding:4px;margin-left:6px}.header-identity .sidebar-version{font-size:10px;margin-top:3px;padding:0;color:#596973;line-height:1.2}
}
@media screen and (max-width:1200px){.header-identity{flex-basis:126px}.header-identity .brand{font-size:21px}main>.app-header{padding:0 8px;gap:6px}}

@media screen{.orders-page .work-area{grid-template-columns:minmax(0,9fr) minmax(0,11fr)}#sidebarSettings{margin-top:18px}#sidebarSettings[hidden]{display:none}.sidebar .settings-tabs{display:flex;flex-direction:column;flex-wrap:nowrap;gap:5px;margin:0;padding:0;border:0;width:100%;overflow:visible}.sidebar .settings-tabs button{display:block;width:100%;max-width:100%;text-align:left;padding:10px 7px;font-size:11px;line-height:1.5;white-space:normal;word-break:keep-all;overflow-wrap:anywhere;border:0;background:transparent;color:#3e4e59}.sidebar .settings-tabs button.active{background:#e3eef8;color:#225571;font-weight:700;box-shadow:inset 3px 0 #498eb0}.sidebar .settings-tabs button:hover{background:#f1f7fb}}

@media screen{.app-header .header-user{display:flex;align-items:center;flex:none;margin:0;padding:0 9px 0 0;border:0;border-right:1px solid #d3dee4;border-radius:0;max-width:140px}.app-header .header-user[hidden]{display:none}.app-header .header-user strong{display:block;font-size:12px;font-weight:650;color:#314654;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:125px}.app-header .header-user small{display:block;font-size:10px;line-height:1.4;margin-top:2px;color:#5b6a75}.app-header .header-user>div{min-width:0}}

/* Muted Lab palette for shared catalog controls. */
@media screen{.restoration-matrix{margin:12px 0;color:#314552}.restoration-matrix p{font-size:12px;color:#61727b}.restoration-matrix details{margin:10px 0;border:1px solid #d3e1e7;border-radius:8px;overflow:hidden}.restoration-matrix summary{padding:10px;background:#eef5f8;cursor:pointer;font-weight:600}.restoration-matrix-scroll{overflow:auto;max-height:360px}.restoration-matrix table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:12px}.restoration-matrix th,.restoration-matrix td{padding:10px;border:1px solid #e5ecef;text-align:center}.restoration-matrix thead th{position:sticky;top:0;background:#f4f8fb;z-index:1}.restoration-matrix tbody th{text-align:left;background:#f8fbfd}.restoration-matrix input[type=checkbox]{width:19px;height:19px;accent-color:#488fb0;cursor:pointer}.restoration-matrix input:disabled{cursor:default}
}
/* Same folder silhouette and overlapping preview sheets as the clinic library. */
.file-library-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.file-library-heading h2{margin:0}.lab-patient-folder-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(165px,1fr));gap:14px}.lab-patient-folder{min-height:175px;display:grid;align-content:start;justify-items:center;gap:5px;padding:12px 8px;border:1px solid transparent;border-radius:10px;background:transparent;color:#304552;text-align:center;cursor:pointer;font:inherit}.lab-patient-folder:hover,.lab-patient-folder:focus-visible{border-color:#829fb0;background:#f3f7ff;outline:none}.lab-patient-folder strong{font-size:14px;overflow-wrap:anywhere}.lab-patient-folder>span:not(.lab-folder-picture),.lab-patient-folder small{font-size:12px;color:#596b79}.lab-folder-picture{position:relative;display:block;width:112px;height:90px}.lab-folder-picture>.lab-patient-folder-icon{width:100%;height:100%}.lab-folder-thumbnail-strip{position:absolute;left:8px;right:8px;bottom:13px;height:54px;display:flex;align-items:center;justify-content:center;pointer-events:none}.folder-preview-sheet{flex:0 0 54px;width:54px;height:54px;display:grid;place-items:center;overflow:hidden;background:#f3f6fa;border:2px solid white;border-radius:4px;box-shadow:0 1px 4px #243c5a33}.folder-preview-sheet img{width:100%;height:100%;object-fit:contain}.folder-preview-sheet+.folder-preview-sheet{margin-left:-20px;transform:rotate(5deg) translateY(3px)}.folder-preview-sheet:first-child:not(:last-child){transform:rotate(-7deg)}.file-library-files{display:grid;grid-template-columns:repeat(auto-fill,minmax(175px,1fr));gap:16px}.library-file{display:flex;flex-direction:column;gap:8px;text-align:left;background:#fff;border:1px solid #d4dde2;border-radius:10px;padding:12px;color:#304552;cursor:pointer}.library-file .attachment-thumb{width:100%;height:150px}.library-file strong{overflow-wrap:anywhere}.library-file small{color:#596b79}
@media screen and (max-width:1450px){.header-navigation{gap:1px}.header-navigation .nav{font-size:11px;padding:10px 5px;letter-spacing:-.5px}.header-identity{flex-basis:128px}.app-header .header-right{gap:4px}.app-header .header-user{max-width:95px}.app-header .header-user strong{max-width:85px}.app-header #connection{max-width:90px}}
@media screen{.settings-rate-heading{display:block;padding:10px 7px 5px;font-size:11px;font-weight:700;color:#3e4e59}.settings-rate-children{margin-left:7px;padding-left:5px;border-left:1px solid #d4dce0}.sidebar .settings-rate-children button{padding:9px 5px;font-size:11px}}
@media screen{.sidebar .settings-rate-heading{display:flex;justify-content:space-between;align-items:center;gap:5px;cursor:pointer}.settings-rate-children[hidden]{display:none!important}}
