:root{font-family:Inter,"Segoe UI",system-ui,sans-serif;color:#1c3134;background:#f5f7f7;font-synthesis:none;--brand:#14665b;--muted:#647477;--border:#dce5e3;--light:#eaf3ee;--orange:#bd6429;--radius:16px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #dc955c;outline-offset:3px}[hidden]{display:none!important}a{color:var(--brand)}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(28px,3vw,40px);letter-spacing:-1.3px;font-weight:650;line-height:1.2}h2{font-size:21px;letter-spacing:-.4px}h3{font-size:16px;line-height:1.5;margin-bottom:7px}p{line-height:1.6}.muted,.small{color:var(--muted)}.small,small{font-size:12px;line-height:1.6}.eyebrow{font-size:11px;font-weight:700;letter-spacing:1.7px}.primary,.secondary,.text-button{border:0;border-radius:9px;padding:11px 16px;font-weight:600;font-size:13px}.primary{background:var(--brand);color:white}.primary:hover{background:#0b5047}.secondary{background:white;border:1px solid var(--border);color:#294842}.secondary:hover{background:#edf4f1}.text-button{background:transparent;color:var(--brand);padding:8px 0}.icon-button{border:0;background:transparent;color:inherit;font-size:23px;border-radius:7px;min-height:40px;min-width:40px}.brand{display:flex;gap:10px;align-items:center;text-decoration:none;color:inherit;font-size:22px;font-weight:700;letter-spacing:-.8px}.brand-mark{display:grid;place-items:center;background:var(--brand);color:white;width:35px;height:35px;border-radius:10px;font-size:21px}.skip{position:fixed;top:-60px;left:12px;z-index:10;background:white;padding:14px}.skip:focus{top:8px}.login-layout{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.welcome{background:#123f39;color:white;padding:54px 10%;display:flex;flex-direction:column;justify-content:space-between;min-height:100vh;background-image:radial-gradient(ellipse at 80% 80%,#256658 0,transparent 55%)}.welcome .brand-mark{background:#d2e5d9;color:#123f39}.welcome h1{font-size:clamp(38px,4vw,66px);letter-spacing:-2px}.welcome p:not(.eyebrow),.welcome small{color:#c5d6d0}.welcome .eyebrow{color:#bdd8a7}.login-area{display:grid;place-items:center;padding:40px}.login-card{max-width:380px;width:100%}.login-card h2{font-size:30px}.login-card>button{width:100%;display:flex;justify-content:space-between;margin:24px 0 16px}.login-card .text-link{display:inline-block;margin-top:14px;font-size:13px}label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:600;margin-bottom:17px}input,select,textarea{width:100%;padding:11px 12px;background:white;border:1px solid #cad6d3;border-radius:8px;color:#213c38;min-width:0}textarea{resize:vertical;min-height:86px;line-height:1.5}.check{flex-direction:row;align-items:center;font-weight:400}.check input{width:18px;height:18px}.workspace{display:grid;grid-template-columns:235px minmax(0,1fr);min-height:100vh}.sidebar{background:#fff;border-right:1px solid var(--border);padding:32px 20px 20px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column}.sidebar>.brand{margin:0 9px 46px}.sidebar>.eyebrow{color:#7c8c89;margin-left:14px;font-size:10px}.sidebar nav{display:grid;gap:7px}.nav-button{display:flex;align-items:center;gap:13px;border:0;background:none;text-align:left;padding:13px 14px;color:#667573;font-size:13px;font-weight:600;border-radius:8px}.nav-button[aria-current=page]{color:#175a4d;background:#eaf2ed}.nav-icon{width:20px;font-size:19px;font-weight:400;text-align:center}.nav-button:hover{background:#f3f6f4}.sidebar-foot{display:flex;gap:9px;align-items:center;margin-top:auto;border-top:1px solid var(--border);padding-top:20px}.sidebar-foot strong{font-size:12px;display:block;max-width:110px;overflow-wrap:anywhere}.sidebar-foot small{display:block;font-size:10px;color:var(--muted)}.avatar{display:grid;place-items:center;flex:none;border-radius:50%;background:#e7ede8;width:33px;height:33px;font-size:11px;font-weight:700}.sidebar-foot .icon-button{margin-left:auto}.main-shell{min-width:0}.topbar{height:81px;border-bottom:1px solid var(--border);padding:0 38px;display:flex;align-items:center;justify-content:space-between;font-size:12px;background:#fff}.topbar>span{color:var(--muted)}.topbar strong{color:#344b45;font-weight:500}.topbar .muted{padding:0 12px}.topbar .secondary{font-size:11px;padding:9px 12px}#sync{font-size:11px;color:var(--muted)}.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}#content{padding:35px 38px 20px;max-width:1550px;margin:auto;outline:none}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:27px}.page-heading h1{margin-bottom:9px}.page-heading p{margin:0;font-size:13px}.today{color:var(--muted);font-size:12px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:28px}.stat{border:1px solid var(--border);border-radius:var(--radius);padding:20px;background:#fff}.stat .label{font-size:12px;color:var(--muted);display:block}.stat .value{font-size:31px;letter-spacing:-1px;font-weight:650;display:block;margin:13px 0 8px;color:#1c443c}.stat small{font-size:10px}.stat .unit{font-size:15px;font-weight:400;margin-left:5px;letter-spacing:0}.columns{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:22px}.stack{display:grid;gap:22px;align-content:start}.card{padding:23px;background:#fff;border:1px solid var(--border);border-radius:var(--radius);min-width:0}.card-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.card-head h2{font-size:17px;margin:0}.card-head .text-button{font-size:12px}.feature{background:#ecf3ee;border:1px solid #d1e1d6;padding:22px;border-radius:12px;margin-bottom:14px}.feature h3{font-size:21px;margin:16px 0 8px}.feature .meta{color:#527063}.feature .actions{margin-top:19px}.meta{font-size:12px;color:var(--muted);line-height:1.8}.badge{display:inline-block;border-radius:5px;padding:4px 8px;background:#edf1f3;color:#51626b;font-size:10px;font-weight:650;line-height:1.3}.badge.good{background:#dfede3;color:#236446}.badge.warm{background:#fff0d8;color:#8b6021}.badge.bad{background:#fbe9e6;color:#9b493b}.row{display:flex;gap:14px;padding:17px 0;border-bottom:1px solid #edf0ee;align-items:center}.row:last-child{border-bottom:0;padding-bottom:0}.row:first-child{padding-top:0}.row-body{flex:1;min-width:0}.row h3{font-size:13px;margin-bottom:4px}.date-tile{width:44px;min-height:48px;border-radius:8px;background:#f2f5f2;display:grid;place-content:center;text-align:center;white-space:pre-line;font-size:12px;font-weight:600;color:#44644f;flex:none}.row .secondary{font-size:11px;padding:8px 10px}.quick{display:flex;width:100%;align-items:center;gap:14px;background:none;border:0;border-bottom:1px solid #edf0ee;text-align:left;padding:17px 0;color:inherit}.quick:last-child{border:0;padding-bottom:0}.quick-icon{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:9px;background:#f0f4ed;color:#4b7050;font-size:19px}.quick strong{font-size:13px;display:block;margin-bottom:4px}.quick small{display:block;font-size:11px}.quick .arrow{margin-left:auto;color:#6d8177}.empty{padding:25px 12px;text-align:center;color:var(--muted);font-size:13px;line-height:1.7}.empty strong{display:block;color:#425e55;margin-bottom:5px;font-size:14px}.toolbar{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:22px;align-items:end}.toolbar label{margin:0;flex:1;min-width:140px}.toolbar input,.toolbar select{padding:10px 12px}.tile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.tile-grid .card h3{font-size:18px}.tile-grid .card>.badge{margin-bottom:12px}.tile-grid .actions{margin-top:18px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:13px}th{text-align:left;color:var(--muted);font-size:11px;font-weight:600;white-space:nowrap}td,th{padding:15px 12px;border-bottom:1px solid #e9eeeb}td:first-child,th:first-child{padding-left:0}td:last-child,th:last-child{text-align:right}td strong{font-weight:600}tfoot td{font-weight:650}footer{display:flex;justify-content:space-between;color:#7e8e87;font-size:10px;padding:24px 38px 30px}.notice{margin:20px 38px 0;background:#fff4dc;color:#765722;border:1px solid #ecd59f;padding:12px 16px;border-radius:10px;font-size:13px;line-height:1.6}.error{background:#fff0ec;color:#8b3c2e;padding:12px;border-radius:8px;font-size:13px;line-height:1.6}.success{background:#e7f2e9;color:#245b36}.help{padding:13px;background:#f1f5f3;border-radius:8px;font-size:12px;color:#546d60;line-height:1.7;margin:15px 0}.preline{white-space:pre-wrap;overflow-wrap:anywhere}dialog{border:1px solid var(--border);border-radius:18px;width:680px;max-width:calc(100vw - 28px);max-height:90vh;padding:27px;color:inherit;box-shadow:0 25px 100px #122d3940}dialog::backdrop{background:#182f3766;backdrop-filter:blur(3px)}.dialog-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.dialog-top h2{margin:0}.dialog-top .icon-button{margin-top:-10px}.dialog-section{border-top:1px solid var(--border);margin-top:20px;padding-top:20px}.dialog-section h3{font-size:15px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}fieldset{border:0;margin:0;padding:0;min-width:0}.messages{display:flex;flex-direction:column;gap:12px;max-height:420px;overflow:auto;padding:15px 0}.message{background:#f0f3f2;border-radius:10px;padding:12px 15px;max-width:90%;align-self:flex-start}.message.own{background:#e4efe7;align-self:flex-end}.message p{margin:4px 0;font-size:13px}.message small{font-size:10px}.timeline{padding-left:18px;border-left:2px solid #dce9df;margin-top:16px}.timeline p{font-size:12px;margin-bottom:18px}.chart{display:flex;height:110px;gap:16px;align-items:end;margin:22px 0}.bar{flex:1;background:#dce9df;border-radius:5px 5px 0 0;min-height:4px;position:relative}.bar:last-child{background:#50866d}.bar span{position:absolute;bottom:-20px;left:0;right:0;text-align:center;font-size:10px;color:var(--muted)}.hours-note{font-size:11px;color:var(--muted);margin-top:0}
@media(min-width:1600px){#content{padding-top:46px}.stats{gap:22px}}
@media(max-width:1100px){.workspace{grid-template-columns:200px minmax(0,1fr)}.sidebar{padding:27px 12px 18px}.topbar{padding:0 25px}#content{padding:28px 25px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.columns{grid-template-columns:minmax(0,1fr)}.stack{grid-template-columns:1fr 1fr}.tile-grid{grid-template-columns:1fr}.notice{margin-left:25px;margin-right:25px}.sidebar-foot .avatar{display:none}}
@media(max-width:700px){.login-layout{grid-template-columns:1fr}.welcome{min-height:auto;padding:25px;gap:35px}.welcome h1{font-size:32px}.welcome h1 br{display:none}.welcome>small,.welcome>div>p:not(.eyebrow){display:none}.welcome .brand{font-size:20px}.login-area{padding:30px 25px}.workspace{display:block}.sidebar{position:relative;height:auto;padding:16px 18px;border-right:0;border-bottom:1px solid var(--border)}.sidebar>.brand{margin:0 0 18px;font-size:20px}.sidebar>.eyebrow{display:none}.sidebar nav{display:flex;overflow-x:auto;gap:5px;margin:0 -6px}.nav-button{flex:none;padding:10px;font-size:12px;gap:6px}.nav-icon{font-size:15px;width:17px}.sidebar-foot{position:absolute;right:14px;top:13px;border:0;padding:0;margin:0}.sidebar-foot>div{display:none}.sidebar-foot .avatar{display:grid}.topbar{height:58px;padding:0 18px}.topbar>span{display:none}.topbar>.actions{justify-content:space-between;width:100%}#content{padding:25px 18px}.page-heading{align-items:flex-start;margin-bottom:22px}.page-heading .today{display:none}h1{font-size:29px}.stats{gap:10px;margin-bottom:18px}.stat{padding:16px}.stat .value{font-size:27px;margin:10px 0 5px}.stat .label{font-size:11px}.columns,.stack{display:grid;grid-template-columns:1fr;gap:18px}.card{padding:19px}.row{gap:10px}.row .badge{display:none}.card-head{gap:8px}.card-head h2{font-size:16px}.feature{padding:17px}.notice{margin:16px 18px 0}.form-grid{grid-template-columns:1fr}dialog{padding:21px;max-height:92vh}.toolbar{gap:9px}.toolbar label{min-width:120px}.page-heading .primary{font-size:11px;padding:10px}footer{padding:18px;font-size:9px;gap:12px}footer span{max-width:140px;text-align:right}}

/* MediSafe branding and consistent vector icons. */
.ui-icon{width:21px;height:21px;flex:none;vertical-align:middle}
.brand{display:flex;flex-direction:column;align-items:flex-start;gap:6px;letter-spacing:0}
.brand-logo{display:block;width:190px;max-width:100%;height:auto}
.brand-product{font-size:11px;font-weight:600;color:#56706a;letter-spacing:.2px}
.welcome>.brand{background:#fff;border-radius:15px;padding:14px 22px;width:270px;max-width:100%}
.welcome .brand-logo{width:225px}.welcome .brand-product{color:#536d67}
.sidebar>.brand{margin:0 4px 35px}.sidebar .brand-product{font-size:10px}
.nav-icon{display:flex;align-items:center;justify-content:center;width:22px}
.nav-button{gap:11px}.nav-button .ui-icon{width:21px;height:21px}
.primary,.secondary,.text-button{display:inline-flex;align-items:center;justify-content:center;gap:8px}
.text-button .ui-icon{width:17px;height:17px}
.icon-button{display:inline-flex;align-items:center;justify-content:center}
.quick .ui-icon{width:21px;height:21px}.quick>.arrow .ui-icon{width:17px;height:17px}
#refresh .ui-icon{width:16px;height:16px}.columns>.stack{grid-template-columns:minmax(0,1fr)}
.view-tabs{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:23px}
.view-tabs button[aria-pressed=true]{color:#165e51;background:#e3efe7;border-color:#93b5a3}
.duty-row h3{overflow-wrap:anywhere}.duty-row .primary{font-size:12px;padding:10px 12px;flex:none}
.duty-row .badge{margin-top:7px}.duty-offers>.small{margin-bottom:8px}
.document-toolbar label:first-child{flex:3}.document-toolbar label:last-child{flex:1;max-width:240px}
.document-breadcrumb{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:13px;margin-bottom:24px}
.document-breadcrumb>.ui-icon{width:14px;height:14px;color:#83958a}
.document-breadcrumb strong{font-weight:600;overflow-wrap:anywhere}
.document-breadcrumb button:disabled{opacity:1;color:#607a6c}
.folder-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.folder-card{display:flex;align-items:center;gap:15px;padding:23px 20px;border:1px solid var(--border);border-radius:13px;background:#fff;text-align:left;color:inherit;min-width:0}
.folder-card:hover{border-color:#81aa95;background:#f5faf6}.folder-card>span:nth-child(2){min-width:0;flex:1}
.folder-card strong{display:block;font-size:14px;line-height:1.6;overflow-wrap:anywhere}.folder-card small{display:block;color:var(--muted);margin-top:5px}
.folder-card>.ui-icon{width:17px;height:17px;color:#779488}.folder-symbol{background:#eaf2e7;color:#527c58;display:grid;place-items:center;width:46px;height:46px;border-radius:11px;flex:none}.folder-symbol .ui-icon{width:27px;height:27px}
.document-list{padding:23px 25px}.document-list .card-head{border-bottom:1px solid var(--border);padding-bottom:14px;margin-bottom:0}.document-list .card-head p{margin:6px 0 0}.document-list .card-head label{margin:0;font-size:11px;min-width:140px}.document-list select{padding:9px;font-size:12px}
.file-list{list-style:none;margin:0;padding:0}.file-row{display:flex;align-items:center;gap:17px;border-bottom:1px solid #e9eeeb;padding:18px 0;min-width:0}.file-row:last-child{border:0}
.file-symbol{width:40px;flex:none;text-align:center;color:#637e73}.file-symbol .ui-icon{width:27px;height:27px}.file-symbol small{display:block;font-size:8px;letter-spacing:.7px;margin-top:3px}
.file-info{flex:1;min-width:0}.file-info>strong{display:block;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.file-info>p{font-size:12px;color:var(--muted);margin:3px 0;overflow-wrap:anywhere}.file-info>span{display:block;font-size:11px;color:var(--muted);line-height:1.7;margin-top:4px;overflow-wrap:anywhere}
.download-button{flex:none;font-size:11px;padding:9px 12px}.download-button .ui-icon{width:16px;height:16px}
.pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px;border-top:1px solid var(--border);padding-top:18px;margin-top:6px}
@media(max-width:1100px){.folder-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sidebar .brand-logo{width:165px}}
@media(max-width:700px){.sidebar>.brand{margin:0 0 20px}.sidebar .brand-logo{width:155px}.sidebar .brand-product{font-size:9px}.sidebar-foot{top:22px}.welcome>.brand{width:220px;padding:9px 15px}.welcome .brand-logo{width:190px}.welcome>div{margin-top:0}.nav-button{gap:7px}.nav-button .ui-icon{width:18px;height:18px}.folder-grid{grid-template-columns:1fr}.folder-card{padding:18px}.document-list{padding:16px}.file-row{gap:10px;padding:17px 0}.file-symbol{width:29px}.file-symbol .ui-icon{width:23px;height:23px}.download-button{padding:10px}.download-button>span{display:none}.download-button .ui-icon{width:19px;height:19px}.file-info>strong{font-size:12px}.document-list .card-head{align-items:flex-start}.document-list .card-head h2{font-size:15px}.document-list .card-head label{min-width:120px}.document-toolbar label:last-child{max-width:none}.duty-row{flex-wrap:wrap;align-items:flex-start}.duty-row>.row-body{flex-basis:calc(100% - 60px)}.duty-row>button{margin-left:54px}.duty-row .badge{display:inline-block}.view-tabs button{font-size:11px;padding:10px}.view-tabs .ui-icon{width:17px;height:17px}.document-breadcrumb{gap:7px;font-size:12px}.card-head{flex-wrap:wrap}}
