/* Multicare v0.17 — shared blue theme and readable layouts for every role. */
:root{color-scheme:dark;--teal:#277de0;--deep:#fff;--mint:#16477d;--ink:#fff;--muted:#d4e3f7;--line:#34547c;--bg:#081e3e;--amber:#fff;--red:#fff}
body{background:#081e3e;color:#fff}h1,h2,h3,h4,strong,label,button,a{color:#fff}p,small,.muted,.eyebrow,.workspace,.brand small,.sidebar-foot,.sidebar-foot small,.capture-time,.section-note,.form-note,.empty,.tile-copy small,.tile-arrow,.simple-row small,.patient-banner small,.touch-check small,.care-audit small,.remark small{color:#dbe9fc}small{line-height:1.55}a{text-decoration-color:#b6d8ff}footer{color:#d5e5fa}
.sidebar,header,.login-card,dialog{background:#0c2951;color:#fff;border-color:#34547c}.brandmark{background:#1f61a4;color:#fff}.brandmark span{color:#fff}.dot,.notice-dot{background:#74baff}.sidebar nav button{color:#e2edfc}.sidebar nav button.active,#mobile-nav button.active{background:#205fa1;color:#fff}.sidebar #desktop-nav{scrollbar-color:#4779ac #0c2951}#mobile-nav{background:#0c2951;border-color:#34547c}#mobile-nav button{color:#d9e8fb}
.card,.patient-search,.patient-banner,.fold,.launch-tile,.care-action,.caregiver-patient,.simple-context,.context-banner,.entry,.resident,.stat,.vital,.care-audit,.appointment-card,.phone-notice-settings,.notification-row,.touch-check{background:#102f58;color:#fff;border-color:#34547c;box-shadow:0 5px 18px #00000010}.admin-grid .admin-tile:nth-child(n){background:linear-gradient(120deg,#123963,#194d82);border-color:#3c6591;color:#fff}.admin-tile strong,.admin-tile small,.admin-tile .tile-arrow{color:#fff}.admin-tile b{background:#0b2a50;color:#fff}.admin-tile .admin-icon{color:#baddff}.admin-tile:nth-child(3n){background:linear-gradient(120deg,#132e60,#224f8f)}
button,.login-submit,.wide-submit{background:#2677ca;color:#fff}button.secondary,.back-button,.manage-link,.patient-detail-link,.incharge-secondary button,.report-actions button{background:#174879;color:#fff;border-color:#4774a1}button:disabled{opacity:.55;cursor:not-allowed}.iconbutton{background:#164271;color:#fff}.launch-tile .tile-icon,.care-action-icon,.initial,.avatar,.row-icon,.tile-badge{background:#21588e;color:#fff}.care-action strong,.care-action span,.launch-tile strong{color:#fff}.incharge-attention button{background:#123963;color:#fff;border-color:#3a608c}.incharge-attention span{color:#dfecff}.shift-status,.hr-info,.entry-context,.instruction-note,.photo-date-banner,.photo-slot,.info,.detail-banner,.assignment-context{background:#143c6b;color:#fff;border-color:#3b6796}.shift-status p,.instruction-note p,.instruction-note small,.shift-status .eyebrow{color:#e2eeff}
input,select,textarea,.caregiver-patient select,.simple-context select{background:#091f40;color:#fff;border-color:#4b709b}input::placeholder,textarea::placeholder{color:#c3d5eb;opacity:1}input:focus,select:focus,textarea:focus{outline:2px solid #80baff;outline-offset:2px}.filters select,.filters input{max-width:100%}.field{min-width:0}.family-verify{display:flex;align-items:flex-start;gap:12px;margin:18px 0}.family-verify input{width:24px;height:24px;flex-shrink:0}.form-actions{gap:12px;flex-wrap:wrap}.modal-head{border-color:#3d5d86}dialog::backdrop{background:#031024bf}
.pill{background:#1a5792;color:#fff}.pill.amber,.pill.red{background:#b3243b;color:#fff}.pending-red,.delay-alert,.error-panel,.error-panel:empty,.hr-warning{background:#a71f36!important;color:#fff!important;border-color:#e27c8c!important}.pending-red *, .delay-alert *, .error-panel *, .hr-warning *{color:#fff!important}.pending-red .pill{background:#7e1024;color:#fff}.pending-red button{background:#721a2d!important;border-color:#eea0ad!important;color:#fff!important}.remark,.shared-record,.ledger-total,.salary-summary span,.hr-stats span,.live-message,.trip-summary,.trip-review{background:#153f6c;border-color:#3e658f;color:#fff}.message{background:#12385f;border-color:#3e658f;color:#fff}.message.mine{background:#1b548e}.message small{color:#dfebfc}.ledger-row,.simple-row,.notification-row,.care-audit,.card-head,.fold summary,.fold-body{border-color:#3a5a80}.hr-table th{background:#1b4d7e;color:#fff}.hr-table td,.hr-table th{border-color:#3a5a80}.hr-table td{color:#fff}.hr-date-check{border-color:#5275a0;background:#12365d;color:#fff}.hr-date-check:has(input:checked){background:#267ad0;color:#fff}.touch-check:has(input:checked){background:#1b5184;border-color:#84bfff}.notice-strip,#notification-banner,#app-update-banner,.demo-banner{background:#17406c;color:#fff;border-color:#416b99}#offline-banner{background:#a71f36;color:#fff}#toast{background:#2868a9;color:#fff;border:1px solid #80baff}.unread-count{background:#bd2843;color:#fff}.message-tabs button[aria-pressed=true]{background:#2b7bc9;color:#fff}#login-error:not(:empty),#form-error:not(:empty){background:#a71f36;padding:14px;border-radius:10px;color:#fff}
.patient-directory{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}.patient-card{padding:24px;min-width:0}.patient-card-header{display:flex;align-items:flex-start;gap:16px}.patient-card-header>.initial{width:48px;height:48px;flex:0 0 48px;display:grid;place-items:center}.patient-card-title{flex:1;min-width:0}.patient-card-title h2{margin:0 0 7px;line-height:1.35;font-size:22px;word-break:normal;overflow-wrap:break-word;letter-spacing:0}.patient-card-title p{margin:4px 0;line-height:1.5}.patient-card-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;margin-top:18px}.patient-card-actions button{min-height:48px;margin:0;white-space:normal}.linked-family{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:16px 0;padding:14px;background:#153f6a;border:1px solid #3b638e;border-radius:12px}.linked-family strong{min-width:0;overflow-wrap:anywhere}.linked-label{color:#d2e5ff;font-size:13px}.linked-family button{margin-left:auto;min-height:42px}.linked-family>span{overflow-wrap:anywhere}.statement-preview{min-width:0}.statement-preview p{overflow-wrap:anywhere}.statement-preview .ledger-row>span{flex:1;min-width:0}.fold summary{min-width:0;gap:12px;align-items:center;flex-wrap:wrap}.fold summary>span:not(.initial){min-width:0}.fold summary strong,.fold summary small{overflow-wrap:break-word;word-break:normal}.payment-patient summary>.initial{flex:0 0 44px;width:44px}.payment-patient summary>span:nth-child(2){flex:1;min-width:160px}.payment-patient summary strong{font-size:18px}.patient-banner>span:nth-child(2){flex:1;min-width:0}.patient-banner .initial{flex:0 0 44px;width:44px}.ledger-row>div{flex:1;min-width:170px}.section-title{min-width:0;gap:16px;flex-wrap:wrap}.section-title>div{min-width:0;flex:1}.section-title h1{overflow-wrap:break-word;line-height:1.3}.section-title>button{flex-shrink:0}.simple-row>div{min-width:0}.initial{flex-shrink:0}.report-actions,.filters{gap:10px}.report-actions button,.filters button{white-space:normal;min-height:44px}.hr-table-wrap{overscroll-behavior-x:contain}[hidden]{display:none!important}
@media(max-width:600px){.patient-card{padding:18px}.patient-card-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.patient-card-actions button{padding:11px 8px;font-size:13px}.patient-card-title h2{font-size:20px}.linked-family{align-items:flex-start;flex-direction:column}.linked-family button{margin-left:0;width:100%}.admin-tile strong{overflow-wrap:normal}.payment-patient summary>span:nth-child(2){min-width:120px}.section-title>button{width:100%}.ledger-total{align-items:flex-start}.sidebar{display:none}.family-verify{font-size:14px}}

/* Override older screen-specific colors as well as base component styles. */
.shell header{background:#0c2951;border-color:#34547c;color:#fff}.shell header h2{color:#fff}.notice-strip button,.demo-banner button{color:#fff;background:#21578d;border:1px solid #5b84ad}.simple-row,.is-unread{background:#12365e;color:#fff}.is-unread{border-color:#7faee2}.simple-context input,.simple-context select,.caregiver-patient select,.incharge-date input{background:#091f40;color:#fff;border-color:#4b709b}.fold summary small,.notification-row small,.notification-row p,.phone-notice-settings small,.caregiver-patient label,.auto-room small,.auto-room strong,.incharge-assigned small,.live-message small,.hr-stats b,.care-action>span:last-child{color:#e0ecfc}.fold>summary:after,.fold-symbol,.tick{color:#fff}.care-action:hover{background:#194676;border-color:#79ace0}.shift-status button,.shift-off-wrap button{background:#1e64a9;border-color:#5481af;color:#fff}.hero .initial{background:#21588e;color:#fff}.notification-row.is-unread{background:#164576}.simple-context{border-color:#34547c}.simple-assignment strong,.simple-context label{color:#fff}.touch-check input{accent-color:#6cb0ff}button,.login-submit,.wide-submit{background-color:#2169b2}.notification-row .secondary{background:#1c5289}.patient-card-actions button{background:#194d81}

input:-webkit-autofill{-webkit-text-fill-color:#fff;-webkit-box-shadow:0 0 0 1000px #091f40 inset;caret-color:#fff}.audit-photo{background:#0b2445}
@media print{:root{color-scheme:light}#print-area,#print-area *{color:#111!important;background:#fff!important;border-color:#ccc!important;box-shadow:none!important}#print-area th{background:#e9eef5!important}.hr-table-wrap{overflow:visible}}
