/* Browser translation of Theme.swift, ResidentsScreen.swift and Components.swift. Values are CSS points. */
.w-app{--w-ground:#f2f2f7;--w-bar:#fafafc;--w-ink:#1d1d1f;--w-muted:#6e6e73;--w-line:#e5e5ea;--w-blue:#0066cc;--fill:#0066cc;--text:#0066cc;--tint:#dce9fb;margin:0;background:var(--w-ground);color:var(--w-ink);font:13px/1.35 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color-scheme:light}
.w-app *{box-sizing:border-box}.w-app [hidden]{display:none!important}.w-app h1,.w-app h2,.w-app h3,.w-app p{overflow-wrap:anywhere}.w-app h1{font-size:30px;line-height:1.2;letter-spacing:-.5px;margin:0}.w-app h2{font-size:20px;margin:0;line-height:1.25}.w-app h3{font-size:13px;margin:0}.w-app p{margin:6px 0}.w-app a{color:var(--w-blue)}.w-app hr{border:0;border-top:1px solid var(--w-line);margin:10px 0}.w-app small,.w-muted{font-size:11px;color:var(--w-muted)}.w-app button,.w-app input,.w-app textarea,.w-app select{font:inherit}.w-app .ico{width:17px;height:17px;flex:none;vertical-align:middle}.w-app :focus-visible{outline:2px solid #0066cc;outline-offset:3px}.w-app .sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.w-skip{position:fixed;left:10px;top:-80px;background:#fff;padding:12px;z-index:1000}.w-skip:focus{top:10px}
.w-app button:not(.link),.w-app .btn{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:24px;padding:3px 10px;border:1px solid #d2d2d7;background:#fff;border-radius:6px;color:#1d1d1f;text-decoration:none;font-size:12px;font-weight:500;line-height:1.3;cursor:pointer;box-shadow:0 1px 1px #00000008;white-space:normal}.w-app button.primary,.w-app .btn.primary{color:white;background:#0066cc;border-color:#0066cc}.w-app button:disabled{opacity:.5;cursor:default}.w-app .link{padding:0;border:0;background:none;box-shadow:none;color:#0066cc;font-size:11px;cursor:pointer}.w-app input:not([type=checkbox]):not([type=radio]),.w-app select,.w-app textarea{border:1px solid #c7c7cc;border-radius:5px;padding:4px 7px;color:#1d1d1f;background:#fff;min-height:24px;max-width:100%;width:100%}.w-app input[type=checkbox],.w-app input[type=radio]{accent-color:#0066cc}.w-app label{min-width:0}.w-app label>span:first-child{display:block;font-size:11px;color:var(--w-muted);margin-bottom:3px}.w-app textarea{min-height:95px;line-height:1.5;resize:vertical}.w-app .w-check{display:inline-flex;align-items:center;gap:6px}.w-danger{color:#d70015!important}.w-warning{color:#c2410c!important}.w-mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.w-category-text{color:var(--text)}
[data-category=vitals]{--fill:#ff2d55;--text:#d70015;--tint:#ffe4e8}[data-category=medications]{--fill:#00a3bf;--text:#00788a;--tint:#ddf4f7}[data-category=wounds]{--fill:#ff9500;--text:#c2410c;--tint:#ffeadb}[data-category=falls]{--fill:#ffcc00;--text:#8a6100;--tint:#fff3c4}[data-category=carePlans]{--fill:#af52de;--text:#7b3fbf;--tint:#f1e4fa}[data-category=nutrition]{--fill:#34c759;--text:#1e7b34;--tint:#e0f6e5}[data-category=labs]{--fill:#0a84ff;--text:#0066cc;--tint:#e1eefb}[data-category=infection]{--fill:#e0457b;--text:#b0306a;--tint:#fae3ee}[data-category=notes]{--fill:#5e5ce6;--text:#4b4fd1;--tint:#e6e6fb}[data-category=authorizations]{--fill:#a2845e;--text:#7a5c3a;--tint:#f1e9df}
.w-shell{display:grid;grid-template-columns:232px minmax(0,1fr);height:100dvh;overflow:hidden}.w-with-list{grid-template-columns:232px 290px minmax(0,1fr)}.w-navigation{background:#fafafc;border-right:1px solid var(--w-line);padding:12px 10px;display:flex;flex-direction:column;overflow:auto;min-width:0}.w-app-title{font-size:16px;font-weight:700;padding:5px 8px 15px}.w-navigation nav{display:grid;gap:2px}.w-navigation nav h2{font-size:11px;color:#6e6e73;margin:7px 8px 5px;font-weight:600}.w-navigation nav h2:not(:first-child){margin-top:22px}.w-navigation nav a{display:flex;align-items:center;gap:9px;border-radius:7px;padding:7px 9px;color:#1d1d1f;text-decoration:none;min-height:30px;font-size:13px}.w-navigation nav a .ico{color:var(--fill);width:18px;height:18px}.w-navigation nav a:hover{background:#e9e9ee}.w-navigation nav a[aria-current]{background:#dedee5}.w-more{padding:16px 8px 8px;color:var(--w-muted);font-size:11px}.w-more summary{cursor:pointer}.w-more nav a{font-size:12px}.w-account{margin-top:auto;padding:22px 2px 0;display:grid;gap:6px;font-size:11px}.w-account b{color:#1e7b34}.w-account>span{color:var(--w-muted);overflow-wrap:anywhere}.w-account form{margin:0}.w-residents{padding:14px;background:#fafafc;border-right:1px solid var(--w-line);overflow:auto;min-width:0}.w-residents summary{list-style:none;font-size:17px;font-weight:700;margin:0 0 10px;cursor:default}.w-residents summary::-webkit-details-marker{display:none}.w-residents summary>span{float:right;font-size:12px;font-weight:400;color:var(--w-muted);padding-top:3px}.w-residents input{height:25px;margin-bottom:10px}.w-residents nav{display:grid;gap:2px}.w-person{display:flex;align-items:center;gap:10px;padding:8px;color:#1d1d1f!important;text-decoration:none;border-radius:9px;min-width:0}.w-person>span:nth-child(2){min-width:0;flex:1}.w-person strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px;font-weight:600}.w-person small{display:block;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.w-person[aria-current]{background:#0066cc;color:white!important}.w-person[aria-current] small{color:#e6f0fb}.w-avatar{width:var(--avatar,34px);height:var(--avatar,34px);border-radius:50%;background:#dce9fb;color:#0058b8;display:inline-flex;align-items:center;justify-content:center;font-size:calc(var(--avatar,34px) * .38);font-weight:700;flex:none}.w-person .w-avatar{background:#e9e9ee;color:#3a3a3c}.w-person[aria-current] .w-avatar{background:#fff;color:#0058b8}.w-flags{display:flex;gap:3px;flex:none}.w-flags i{width:8px;height:8px;border-radius:50%;background:var(--fill)}
.w-app main.w-main{margin:0;padding:0;max-width:none;min-width:0;overflow:auto;background:#f2f2f7}.w-toolbar{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:14px;padding:10px 22px;background:#fafafc;border-bottom:1px solid #e5e5ea;min-height:45px}.w-app .w-segments{display:flex;padding:2px;border-radius:7px;background:#e7e7ec;width:420px;max-width:100%;flex-shrink:1}.w-segments a{color:#1d1d1f;flex:1;text-align:center;font-size:12px;line-height:22px;padding:0 9px;border-radius:5px;white-space:nowrap;text-decoration:none;min-width:0}.w-segments a[aria-current]{background:white;box-shadow:0 1px 3px #0002;font-weight:600}.w-actions{display:flex;gap:8px;align-items:center;margin-left:auto;flex:none}.w-toolbar .w-actions .btn,.w-toolbar .w-actions button{font-size:12px}.w-menu{position:relative}.w-menu>summary{list-style:none;cursor:pointer}.w-menu>summary::-webkit-details-marker{display:none}.w-menu>div{position:absolute;right:0;top:calc(100% + 6px);z-index:60;min-width:220px;max-width:85vw;background:#fff;padding:6px;border:1px solid var(--w-line);border-radius:9px;box-shadow:0 8px 25px #0002}.w-menu>div a,.w-menu>div button{display:flex;align-items:center;gap:8px;text-decoration:none;font-size:12px;color:#1d1d1f;padding:7px;border:0;box-shadow:none;width:100%;text-align:left}.w-menu>div a:hover,.w-menu>div button:hover{background:#dce9fb;border-radius:5px}.w-global-toolbar{height:45px;display:flex;align-items:center;padding:0 26px;background:#fafafc;border-bottom:1px solid var(--w-line)}.w-content{padding:24px;display:grid;gap:16px;align-content:start;min-width:0}.w-global{padding:26px;gap:18px}.w-patient{display:flex;align-items:center;gap:16px;margin:0 0 2px;min-width:0}.w-patient>div{min-width:0}.w-patient h1{font-size:28px;letter-spacing:-.4px;line-height:1.2}.w-name-line{display:flex;gap:8px;align-items:center}.w-identifiers{display:flex;gap:8px;margin:7px 0 5px;flex-wrap:wrap}.w-identifiers>span{display:flex;gap:5px;align-items:baseline;padding:5px 10px;background:#fff;border-radius:8px;white-space:nowrap}.w-identifiers small{font-size:11px}.w-identifiers b{font-size:14px;font-weight:600}.w-patient p{font-size:13px;color:#3a3a3c;margin:3px 0}.w-header-detail{display:flex;flex-wrap:wrap;gap:4px;color:#6e6e73;font-size:12px}.w-header-detail strong{font-weight:600}.w-heading{font-size:20px!important;margin:0!important}
.w-card,.w-app .w-content>.card{background:white;border:0;border-radius:14px;padding:16px;min-width:0;box-shadow:none;margin:0;align-self:start}.w-section-title{display:flex;align-items:center;gap:6px;margin:0 0 10px;min-width:0}.w-section-title>.ico{color:var(--fill);width:15px;height:15px}.w-section-title h2{color:var(--text);font-size:13px;font-weight:600;white-space:nowrap}.w-section-title>span{margin-left:auto;font-size:11px;color:#6e6e73;text-align:right}.w-section-title>b{color:#aeaeb2}.w-pinned-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:12px}.w-pinned{display:block;text-decoration:none!important;color:#1d1d1f!important;height:136px;overflow:hidden}.w-pin-bottom{display:flex;align-items:flex-end;gap:8px;justify-content:space-between;min-width:0}.w-pin-bottom>div:first-child{min-width:0;flex:1}.w-value{font-size:24px;font-weight:700;letter-spacing:-.4px;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:3px 0}.w-value small{font-size:13px;font-weight:600;margin-left:3px;letter-spacing:0}.w-pin-bottom p{font-size:12px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:4px 0 0}.w-bars{display:flex;gap:4px;align-items:flex-end;height:40px;flex:none}.w-bars i{width:7px;height:var(--bar);border-radius:4px;background:var(--fill);opacity:.3;transform-origin:bottom}.w-bars i:last-child{opacity:1}.w-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}.w-note{padding:7px 0;border-bottom:1px solid var(--w-line)}.w-note:last-child{border:0}.w-note p{font-size:12px;margin:3px 0}.w-note .w-muted{font-size:11px}.w-note-body{white-space:pre-wrap;overflow-wrap:anywhere}.w-clamp{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.w-entered-error .w-note-body{text-decoration:line-through}.w-med-row{display:grid;gap:2px;padding:7px 0;border-bottom:1px solid var(--w-line);font-size:12px}.w-med-row b{font-weight:500}.w-med-row:last-child{border:0}.w-profile-bar{display:flex;gap:12px;justify-content:space-between;align-items:center}.w-dx-row{display:flex;align-items:baseline;gap:8px;margin:8px 0}.w-dx-row code{color:#0066cc;font-size:12px;flex:0 0 70px;background:none}.w-dx-row span{flex:1}.w-dx-row .w-pill{flex:none;font-size:10px;padding:1px 6px}.w-flow{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.w-pill{display:inline-flex;gap:4px;align-items:center;padding:4px 9px;background:var(--tint);color:var(--text);font-size:11px;font-weight:600;border-radius:30px}.w-pill .ico{width:12px;height:12px}.w-white{background:white;height:32px;padding:0 12px;font-size:13px}.w-vitals{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:8px;margin-top:8px}.w-vitals>div{padding:8px;background:#f7f7fa;border-radius:10px;display:grid;gap:2px}.w-vitals strong{font-size:16px}.w-med-line{display:flex;gap:6px;flex-wrap:wrap;align-items:center;padding:9px 0;border-bottom:1px solid var(--w-line)}.w-med-line b{font-size:13px;font-weight:500}.w-med-line>span{color:#6e6e73;font-size:12px}.w-med-line>small{margin-left:auto;color:#00788a}.w-care{padding:10px 0;border-bottom:1px solid var(--w-line)}.w-care:last-child{border:0}.w-care p{font-size:12px}.w-inline-form{display:flex;gap:8px;flex-wrap:wrap;align-items:flex-end;margin:10px 0}.w-inline-form>label{flex:1 1 110px}.w-inline-form input{min-width:60px}.w-app .w-remove{color:#d70015;border:0;box-shadow:none;padding:0 4px;min-height:20px;background:#ffe4e8;border-radius:50%;font-size:16px}.w-api-message:empty{display:none}.w-api-message{font-size:12px;color:#1e7b34}.w-api-message.w-danger{padding:8px;background:#ffe4e8;border-radius:8px}
.w-page-heading{display:flex;gap:14px;align-items:center;justify-content:space-between;flex-wrap:wrap}.w-page-heading p{font-size:13px;color:#3a3a3c}.w-page-heading .w-segments{width:240px}.w-chart-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:12px;align-items:start}.w-chart-grid>div:last-child{display:grid;gap:12px}.w-chart{width:100%;display:block;overflow:visible}.w-chart text{font:10px -apple-system,sans-serif;fill:#6e6e73}.w-gridline{stroke:#e5e5ea;stroke-width:.7}.w-plot-range{stroke:var(--fill);stroke-width:9;stroke-linecap:round}.w-plot-line{fill:none;stroke:var(--fill);stroke-width:2}.w-plot-dot{fill:var(--fill)}.w-data summary{font-size:10px;color:#6e6e73;cursor:pointer}.w-data table{font-size:11px}.w-no-chart{min-height:100px;display:grid;place-content:center;color:#6e6e73;font-size:12px}.w-table-scroll{overflow:auto;max-width:100%}.w-app table{border-collapse:collapse;width:100%;font-size:12px}.w-app th,.w-app td{padding:8px;border-bottom:1px solid #e5e5ea;text-align:left}.w-app th{font-size:11px;color:#6e6e73;font-weight:600;background:transparent}.w-app .w-mar th:first-child{min-width:180px;color:#1d1d1f;font-size:12px}.w-mar-cell{width:44px;height:28px;display:grid;place-items:center;border-radius:6px;color:#6e6e73;background:#f2f2f7;font-weight:700}.w-mar-cell[data-status=given]{background:#ddf4f7;color:#00788a}.w-mar-cell[data-status=missed],.w-mar-cell[data-status=refused]{background:#ffe4e8;color:#d70015}.w-mar-cell[data-status=held]{background:#fff3c4;color:#8a6100}.w-legend{font-size:11px;color:#6e6e73;margin:10px 0}.w-lab{display:flex;gap:12px;justify-content:space-between;padding:10px 0;border-bottom:1px solid #e5e5ea}.w-lab div{display:grid;gap:3px}.w-lab div:last-child{text-align:right}.w-lab strong{font-size:16px}
.w-right{display:flex;justify-content:flex-end}.w-auth-detail{display:flex;align-items:center;gap:18px}.w-ring-label{position:relative;width:120px;height:120px;flex:none}.w-ring{display:block;width:100%;height:100%;position:relative}.w-ring svg{width:100%;height:100%;transform:rotate(-90deg)}.w-ring circle{fill:none;stroke-width:10}.w-ring-track{stroke:var(--tint)}.w-ring-progress{stroke:var(--fill);stroke-dasharray:100;stroke-dashoffset:calc(100 - var(--progress));stroke-linecap:round}.w-ring-label>div{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center}.w-ring-label b{font-size:34px;line-height:1.1}.w-ring-label small{font-size:11px}.w-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px}.w-stat{display:block;color:var(--text);font-size:24px;font-weight:700;margin-top:5px}.w-service{display:flex;gap:12px;justify-content:space-between;padding:8px 0;border-bottom:1px solid #e5e5ea}.w-day-meter{display:flex;gap:3px;margin:12px 0}.w-day-meter i{height:12px;flex:1;background:#f1e9df;border-radius:3px}.w-day-meter .used{background:#7a5c3a}.w-between{display:flex;justify-content:space-between;gap:8px;font-size:12px}.w-calendars{display:flex;gap:24px;flex-wrap:wrap}.w-calendar{display:grid;grid-template-columns:repeat(7,40px);gap:4px;margin-top:10px;text-align:center}.w-cal-day{display:flex;flex-direction:column;align-items:center;justify-content:center;width:40px;height:40px;border-radius:9px;color:#6e6e73}.w-cal-day.approved{background:#f1e9df;color:#1d1d1f}.w-cal-day.used{background:#7a5c3a;color:white}.w-cal-day.today{outline:2px solid #1d1d1f;outline-offset:-2px}.w-cal-day small{font-size:7px;color:inherit}.w-cal-day i{width:6px;height:6px;background:#ff9500;border-radius:50%}.w-category-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:12px}.w-category-grid>a{text-decoration:none;color:#1d1d1f}.w-category-heading{display:flex;gap:14px;align-items:center}.w-category-heading>span{width:52px;height:52px;border-radius:14px;background:var(--tint);color:var(--fill);display:grid;place-items:center}.w-category-heading .ico{width:26px;height:26px}.w-category-heading p>b{color:var(--text)}.w-category-person{display:flex;gap:8px;align-items:center;margin-bottom:12px}.w-category-person>div{display:grid;gap:1px;flex:1}.w-category-person b{font-size:14px;font-weight:600}.w-category-person .w-avatar{background:var(--tint);color:var(--text)}.w-census-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}.w-room{text-decoration:none;color:#1d1d1f!important;min-height:128px;padding:14px}.w-room>div:first-child{display:flex;justify-content:space-between;gap:8px;color:#6e6e73}.w-room h2{font-size:18px;font-weight:600;margin:6px 0}.w-room p{font-size:12px;margin:4px 0 10px}.w-open-bed{padding:14px;min-height:128px;border:1.5px dashed #c7c7cc;border-radius:14px}.w-open-bed h2{font-size:18px;margin:7px 0}.w-open-bed p{font-size:12px;color:#6e6e73}
.w-sheet{color:#1d1d1f;background:#f2f2f7;border:1px solid #d1d1d6;border-radius:14px;padding:20px;width:620px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 30px);box-shadow:0 20px 70px #0004;overflow:auto}.w-sheet::backdrop{background:#0003;backdrop-filter:blur(1px)}.w-sheet-title{display:flex;gap:10px;align-items:center;margin-bottom:14px}.w-sheet-title>.ico{width:24px;height:24px;color:var(--fill)}.w-sheet-title h2{font-size:17px}.w-sheet-title p{font-size:12px;color:#6e6e73;margin:2px 0}.w-sheet-title>span{margin-left:auto;font-size:11px;font-weight:600;color:#0066cc}.w-sheet-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}.w-vitals-sheet{width:560px}.w-vital-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px}.w-vital-fields input{font-size:18px!important;font-weight:600;border-radius:9px!important;background:#f7f7fa!important;height:38px;padding:8px 10px!important}.w-note-sheet{width:1060px;padding:0}.w-note-sheet>.w-sheet-title{padding:16px 20px;margin:0;border-bottom:1px solid var(--w-line);background:#fafafc}.w-note-sheet .noteform{display:grid;grid-template-columns:250px minmax(0,1fr);max-height:calc(100dvh - 115px);min-height:590px}.w-note-rail{grid-column:1;grid-row:1;background:#fafafc;padding:16px;display:flex;flex-direction:column;gap:14px;overflow:auto}.w-note-rail h3{font-size:14px}.w-note-rail p{font-size:11px;color:#6e6e73}.w-note-rail>nav{display:grid;gap:4px;flex:1}.w-note-rail nav a{color:#1d1d1f;display:flex;gap:10px;align-items:center;padding:5px 6px;text-decoration:none;font-size:12px}.w-note-rail .w-ring{width:24px;height:24px;flex:none;--fill:#5e5ce6;--tint:#e6e6fb}.w-note-overall{display:flex;gap:12px;align-items:center}.w-note-overall .w-ring-label{width:54px;height:54px}.w-note-overall .w-ring{width:54px;height:54px}.w-note-overall b{font-size:12px}.w-note-main{grid-column:2;grid-row:1;padding:22px;overflow:auto;display:flex;flex-direction:column;gap:14px;min-width:0}.w-app .w-note-sheet .formhead{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0;padding:14px;border:0;border-radius:14px;background:white;box-shadow:none}.w-app .w-note-sheet .hint{font-size:11px;margin:0;padding:10px;background:#fafafc;border-radius:8px;border:0}.w-app .w-note-sheet fieldset.sec{border:0;border-radius:14px;background:#fff;margin:0;padding:16px;min-width:0}.w-app .w-note-sheet fieldset>legend{float:left;width:100%;padding:0;margin:0 0 14px;font-size:15px;font-weight:700;color:#4b4fd1}.w-note-sheet legend+.fgrid{clear:both}.w-note-sheet .gring{display:none}.w-app .w-note-sheet .fgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.w-app .w-note-sheet .wide{grid-column:1/-1}.w-note-sheet .checks{display:flex;gap:6px;flex-wrap:wrap}.w-app .w-note-sheet .chk{position:relative;display:inline-flex;align-items:center;padding:5px 9px;background:#f7f7fa;border:1px solid #e5e5ea;border-radius:7px;font-size:12px;cursor:pointer}.w-note-sheet .chk:has(input:checked){color:#4b4fd1;background:#e6e6fb;border-color:#5e5ce6;font-weight:600}.w-note-sheet .chk input{position:absolute;opacity:0;width:1px;height:1px}.w-note-sheet .chk:focus-within{outline:2px solid #0066cc;outline-offset:2px}.w-note-sheet .ggrid select{font-size:11px}.w-note-sheet .gvitals{display:flex;gap:8px;flex-wrap:wrap}.w-note-sheet .gvitals>label{flex:1 1 70px}.w-note-sheet .ggoal{display:flex;gap:6px;margin-bottom:6px}.w-app .w-note-sheet .actionbar{position:static;background:transparent;box-shadow:none;border:0;padding:0;margin:0;display:flex;gap:8px;flex-wrap:wrap}.w-note-review{display:grid;gap:14px}.w-note-review textarea{min-height:360px}.w-note-sheet.w-free-sheet{width:620px;padding:20px}.w-free-sheet>.w-sheet-title{padding:0 0 14px;background:none}.w-free-sheet .noteform{display:flex;flex-direction:column;min-height:0;gap:10px}.w-free-sheet .noteform .sec{padding:0!important}.w-free-sheet .noteform textarea{min-height:200px}.w-api-success{padding:30px;display:grid;justify-items:center;gap:12px;text-align:center}.w-api-success>b{font-size:40px;color:#1e7b34}.w-api-success h2{font-size:17px}.w-pass-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(400px,1fr));gap:14px}.w-dose{display:flex;gap:10px;align-items:flex-start;padding:8px 0;border-top:1px solid var(--w-line)}.w-dose>div:first-child{flex:1;min-width:0}.w-dose strong{font-size:14px;font-weight:500}.w-dose p{font-size:11px}.w-dose-actions{display:flex;gap:6px;align-items:center}.w-dose .w-give{background:#ddf4f7!important;border:0!important;border-radius:20px!important;color:#00788a!important;min-width:60px;min-height:30px!important}.w-dose-ok{color:#1e7b34;font-size:20px}.w-pass-person{display:flex;gap:10px;align-items:center;margin-bottom:8px}.w-pass-person>div{display:grid}.w-pass-person b{font-size:15px}.w-pass-person .w-avatar{--avatar:36px;background:#ddf4f7;color:#00788a}.w-pass-ring{width:92px;height:92px}.w-pass-ring b{font-size:26px}.w-confetti{position:fixed;inset:0;pointer-events:none;z-index:999;overflow:hidden}.w-confetti i{position:absolute;left:50%;top:45%;border-radius:2px}.w-bump{position:absolute;color:#00788a;font-size:18px;font-weight:800;pointer-events:none}
/* All existing server workflows share this presentation; handlers and permission checks are unchanged. */
.w-content .card{border:0;border-radius:14px;box-shadow:none;background:#fff;padding:16px;margin:0}.w-content .card+.card{margin-top:14px}.w-content .card h2{font-size:15px;margin-bottom:10px}.w-content .card.inner{background:#f7f7fa}.w-content .row{gap:10px;flex-wrap:wrap}.w-content .tag{font-size:11px;border:0;border-radius:20px;padding:3px 8px}.w-content .tabs{display:flex;gap:4px;flex-wrap:wrap;border:0;background:#e7e7ec;border-radius:8px;padding:3px}.w-content .tabs a{border:0;border-radius:5px;padding:5px 9px;font-size:12px}.w-content .tabs .active{background:#fff;color:#1d1d1f;box-shadow:0 1px 3px #0001}.w-content .pt-banner{display:none}.w-content .formgrid{gap:12px}.w-content .empty{color:#6e6e73;padding:20px}.w-content .top{margin:0}.w-content .list th{background:#fafafc}.w-content .list td{border-color:#e5e5ea}.w-content details.menu>summary{font-size:12px}.w-content details.menu>.card{z-index:25}.w-content .noteacts{flex-wrap:wrap}.w-admission>h1{font-size:30px}.w-admission .drop{min-height:260px;display:flex;align-items:center;justify-content:center;gap:12px;flex-direction:column;border:2px dashed #c7c7cc;border-radius:18px;background:white;color:#6e6e73}.w-admission .drop>b{font-size:18px;color:#1d1d1f}.w-admission .drop::before{content:'▤';font-size:54px;color:#0066cc}.w-admission>.card:has(.drop){background:none;padding:0}.w-message{padding:10px 24px;color:#1e7b34;background:#e0f6e5;font-size:12px}.w-app .alertbar,.w-app .toast,.w-app .idlebar{border-radius:0}.w-app .idlebar{z-index:100}.w-empty{text-align:center;padding:100px 25px;color:#6e6e73}.w-empty>.ico{width:56px;height:56px}.w-empty h1{font-size:24px;margin-top:14px}.w-mobile{display:none}
@media(max-width:1300px){.w-toolbar{flex-wrap:wrap;gap:8px}.w-toolbar>.w-segments{flex:1 1 300px}.w-actions{margin-left:auto}.w-chart-grid{grid-template-columns:minmax(0,1fr)}.w-chart-grid>div:last-child{grid-template-columns:1fr 1fr}.w-pinned-grid{grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}}
@media(max-width:1050px){.w-shell{grid-template-columns:190px minmax(0,1fr)}.w-with-list{grid-template-columns:190px 230px minmax(0,1fr)}.w-two{grid-template-columns:1fr}.w-content{padding:20px}.w-pass-grid{grid-template-columns:1fr}.w-patient{align-items:flex-start}.w-patient .w-avatar{--avatar:48px!important}.w-patient h1{font-size:24px}.w-note-sheet .noteform{grid-template-columns:210px minmax(0,1fr)}}
@media(max-width:800px){.w-mobile{display:flex;height:44px;align-items:center;gap:14px;padding:8px 14px;background:#fafafc;border-bottom:1px solid #e5e5ea}.w-shell{height:calc(100dvh - 44px);grid-template-columns:minmax(0,1fr)}.w-with-list{grid-template-columns:220px minmax(0,1fr)}.w-navigation{display:none}.w-navigation.w-open{display:flex;position:fixed;top:44px;bottom:0;left:0;width:232px;z-index:100;box-shadow:8px 0 25px #0002}.w-note-sheet .noteform{display:flex;flex-direction:column;max-height:none}.w-note-rail{position:static;overflow:visible;gap:8px}.w-note-rail nav{display:none}.w-note-main{overflow:visible;padding:16px}.w-note-overall .w-ring-label{width:36px;height:36px}.w-note-overall .w-ring{width:36px;height:36px}.w-note-sheet{max-height:calc(100dvh - 20px);overflow:auto}.w-chart-grid>div:last-child{grid-template-columns:1fr}}
@media(max-width:620px){.w-shell{display:block;overflow:auto}.w-main{overflow:visible}.w-residents{padding:12px 16px;border-bottom:1px solid #e5e5ea;border-right:0;max-height:220px;overflow:auto}.w-residents summary{cursor:pointer;font-size:15px;margin-bottom:0}.w-residents details[open] summary{margin-bottom:10px}.w-residents details:not([open]) summary::before{content:'› ';color:#6e6e73}.w-toolbar{position:static;padding:10px 16px}.w-actions{flex-wrap:wrap;width:100%;margin:0}.w-actions>*{flex:1}.w-actions .w-menu>summary{width:100%}.w-content,.w-global{padding:16px;gap:14px}.w-patient{gap:10px}.w-patient h1{font-size:23px}.w-patient>.w-avatar{display:none}.w-identifiers{gap:5px}.w-identifiers>span{padding:4px 7px}.w-identifiers b{font-size:12px}.w-identifiers small{font-size:10px}.w-patient p,.w-header-detail{font-size:11px}.w-pinned-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.w-category-grid,.w-census-grid{grid-template-columns:1fr}.w-page-heading h1{font-size:26px}.w-card{padding:14px}.w-category-heading h1{font-size:24px}.w-category-heading>span{width:40px;height:40px}.w-category-grid p{white-space:normal}.w-pinned .w-section-title>span{font-size:10px}.w-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.w-stat{font-size:21px}.w-calendar{grid-template-columns:repeat(7,minmax(28px,1fr));width:100%;gap:3px}.w-cal-day{width:100%;height:34px}.w-calendars>div{width:100%}.w-auth-detail{align-items:flex-start}.w-ring-label{width:80px;height:80px}.w-ring-label b{font-size:26px}.w-pass-grid{display:block}.w-pass-grid>.w-card{margin-bottom:14px}.w-dose{flex-wrap:wrap}.w-dose-actions{width:100%;justify-content:flex-end}.w-vital-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.w-sheet-title>span{display:none}.w-app .w-note-sheet .formhead,.w-app .w-note-sheet .fgrid{grid-template-columns:1fr}.w-app .w-note-sheet .wide{grid-column:1}.w-sheet{padding:16px}.w-note-sheet{padding:0}.w-note-sheet .ggrid{display:block;overflow-x:auto}.w-note-sheet .actionbar>*{flex:1}.w-app .w-content table{display:block;overflow:auto}.w-note-sheet.w-free-sheet{padding:16px}.w-menu>div{left:auto;right:0;max-width:calc(100vw - 32px)}.w-content details.menu>.card{position:relative;min-width:0!important;width:100%}.w-global-toolbar{display:none}}
@media(prefers-reduced-motion:reduce){.w-app *, .w-app *::before,.w-app *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{.w-navigation,.w-residents,.w-toolbar,.w-mobile,.w-global-toolbar,.w-actions,.w-more,.w-sheet,.w-skip{display:none!important}.w-shell{display:block;height:auto;overflow:visible}.w-main{overflow:visible}.w-content{display:block;padding:0}.w-card{break-inside:avoid;border:1px solid #ddd!important;margin-bottom:12px}.w-clamp{display:block;overflow:visible;-webkit-line-clamp:unset}.w-app{background:#fff}.w-chart{max-height:250px}.w-pinned-grid,.w-two{display:block}.w-table-scroll{overflow:visible}}

/* Explicit rows avoid inheriting the legacy column labels and turning a 155px label width into height. */
.w-app .w-auth-sheet{width:560px;height:700px;max-height:calc(100dvh - 24px);padding:0;overflow:hidden}
.w-auth-sheet[open]{display:flex;flex-direction:column}
.w-auth-sheet>.w-sheet-title{flex:none;padding:18px;margin:0;border-bottom:1px solid var(--w-line);background:var(--w-bar)}
.w-auth-form{display:flex;flex-direction:column;flex:1;min-height:0;margin:0}
.w-auth-fields{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:16px 18px;scrollbar-gutter:stable}
.w-auth-form fieldset{border:0;border-radius:12px;background:#fff;padding:14px;margin:0 0 14px;min-width:0;display:grid;gap:10px}
.w-auth-form legend{font-size:12px;font-weight:600;color:var(--w-muted);padding:0 3px}
.w-app .w-auth-form label,.w-auth-summary{display:grid;grid-template-columns:155px minmax(0,1fr);align-items:center;gap:12px;font-size:12px;font-weight:400;color:var(--w-ink)}
.w-app .w-auth-form label>span{margin:0;font-size:12px;font-weight:400;color:var(--w-ink)}
.w-auth-summary>b{font-weight:500;text-align:right;overflow-wrap:anywhere}
.w-app .w-auth-form input:not([type=checkbox]),.w-app .w-auth-form select{min-width:0;min-height:30px}
.w-auth-form .w-service-edit{display:grid;grid-template-columns:190px minmax(0,1fr);gap:8px;align-items:center}
.w-app .w-auth-form .w-service-edit label{display:flex;flex-direction:row;gap:7px;line-height:1.3;cursor:pointer}
.w-auth-form .w-service-edit input[type=checkbox]{width:16px;height:16px;flex:none;margin:0}
.w-app .w-auth-form input:disabled{background:#f2f2f7;color:var(--w-muted);border-color:var(--w-line)}
.w-auth-form .w-auth-total>b{font-size:15px;font-weight:700;color:var(--text);font-variant-numeric:tabular-nums}
.w-auth-footer{flex:none;padding:12px 18px 18px;border-top:1px solid var(--w-line);background:var(--w-bar)}
.w-auth-footer .w-sheet-actions{margin-top:10px}.w-app .w-auth-footer button{min-height:30px}
@media(max-width:620px){.w-auth-fields{padding:12px}.w-app .w-auth-form label,.w-auth-summary{grid-template-columns:minmax(0,1fr);gap:4px}.w-auth-summary>b{text-align:left}.w-auth-form .w-service-edit{grid-template-columns:minmax(0,1fr);gap:6px}.w-auth-footer{padding:10px 12px 12px}.w-app .w-auth-footer button{min-height:40px}}

/* Shared controls inherit Swift's light palette, including when macOS requests dark mode. */
.w-app{--ink:#1d1d1f;--ink-2:#3a3a3c;--muted:#6e6e73;--line:#e5e5ea;--line-2:#c7c7cc;--paper:#f2f2f7;--surface:#fff;--surface-2:#f7f7fa;--hover:#dce9fb;--ceil:#0066cc;--ceil-deep:#0066cc;--ceil-soft:#dce9fb;--ok:#1e7b34;--ok-bg:#e0f6e5;--warn:#8a6100;--warn-bg:#fff3c4;--bad:#d70015;--bad-bg:#ffe4e8;--font:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.w-app .choice button[aria-pressed=true]{background:var(--ceil-soft);color:var(--ceil-deep);border-color:var(--ceil);box-shadow:inset 0 0 0 1px var(--ceil);font-weight:600}
.w-app .w-note-sheet{--ceil:#5e5ce6;--ceil-deep:#4b4fd1;--ceil-soft:#e6e6fb}
.w-app .w-note-sheet .chk:has(input:checked){color:#4b4fd1;background:#e6e6fb;border-color:#5e5ce6;font-weight:600}
.w-app .w-category-text{color:var(--text)}

/* Score controls mirror Swift's compact chips; the shared select remains the submitted value. */
.w-score-chips{display:flex;flex-wrap:wrap;gap:4px}.w-app .w-score-chips button{min-width:30px;min-height:28px;padding:3px 6px;background:#f7f7fa;border-color:#e5e5ea;font-size:11px;font-variant-numeric:tabular-nums}.w-app .w-score-chips button[aria-pressed=true]{background:#e6e6fb;color:#4b4fd1;border-color:#5e5ce6}.w-note-sheet .ggrid td:first-child{min-width:120px}.w-dose{position:relative}.w-bump{right:12px;top:0}.w-pressable:hover{box-shadow:0 6px 14px #0000001a}.w-ring-progress{transition:stroke-dashoffset .6s cubic-bezier(.2,.8,.2,1)}
@media(prefers-reduced-motion:reduce){.w-ring-progress{transition:none}}

.w-note-main,.w-note-rail{min-height:0}.w-note-rail>nav{align-content:start;flex:1 1 auto}.w-gg-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px}.w-gg-tile{background:#f7f7fa;border-radius:10px;padding:10px}.w-gg-tile .w-between{font-size:12px}.w-gg-tile .w-chart{height:100px}.w-gg-tile .w-between>span{white-space:nowrap}@media(max-width:620px){.w-gg-grid{grid-template-columns:minmax(0,1fr)}}

.w-resident-tools nav{display:grid;border:0;background:transparent;padding:0}.w-resident-tools nav a,.w-resident-tools summary{font-size:11px}.w-resident-tools .chartnav{margin:0}.w-navigation .w-more{flex-shrink:0}.w-navigation{overflow-y:auto}
/* A definite row height is needed for independent scrolling inside the native-sized sheet. */
.w-note-sheet:not(.w-free-sheet) .noteform{height:min(704px,calc(100dvh - 115px));max-height:none;min-height:0;grid-template-rows:minmax(0,1fr)}
@media(max-width:800px){.w-note-sheet:not(.w-free-sheet) .noteform{height:auto;min-height:0}.w-note-rail>nav{flex:none}}

.w-plot-line,.w-plot-dot,.w-plot-range{transform-box:fill-box;transform-origin:center bottom}

.w-message.w-urgent{color:#a50012;background:#ffe4e8;font-weight:600}

/* Live TemplateNoteView reference: 1060 × 780, 250px rail, 22px content inset, category-colored sections. */
.w-app .w-guided-sheet{width:1060px;height:780px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:0;overflow:hidden;background:#f2f2f7;border-radius:16px}
.w-guided-sheet>.w-sheet-title{display:none}
.w-app .w-guided-sheet [hidden]{display:none!important}
.w-app .w-guided-sheet .noteform{height:100%;min-height:0;max-height:none;grid-template-columns:250px minmax(0,1fr);margin:0}
.w-guided-sheet .w-note-rail{padding:16px;gap:14px;overflow:hidden;border-right:1px solid #e5e5ea;min-height:0}
.w-note-heading{display:flex;align-items:center;gap:10px;flex:none}
.w-note-template-icon{width:40px;height:40px;display:grid;place-items:center;flex:none;background:var(--tint);color:var(--fill);border-radius:10px}
.w-note-template-icon .ico{width:24px;height:24px}
.w-note-heading h3{font-size:14px;line-height:1.2;margin:0;font-weight:700}
.w-note-heading p{font-size:11px;line-height:1.3;margin:2px 0 0;color:#6e6e73}
.w-guided-sheet .w-note-overall{flex:none}
.w-guided-sheet .w-note-overall p{margin:0;font-size:11px;line-height:1.35}
.w-guided-sheet .w-note-rail>nav{display:flex;flex-direction:column;gap:4px;flex:1;min-height:0;overflow:auto;border-top:1px solid #e5e5ea;padding-top:14px;align-content:start}
.w-guided-sheet .w-note-rail nav a{flex:none;font-size:12px;line-height:1.4;padding:5px 6px;border-radius:6px;min-height:34px}
.w-guided-sheet .w-note-rail nav a:hover{background:#f2f2f7}
.w-guided-sheet .w-note-rail .w-ring{--fill:inherit;--tint:inherit;position:relative;display:inline-flex;align-items:center;justify-content:center}
.w-note-section-check{position:absolute;font-size:10px;font-weight:900;color:var(--text);opacity:0}
.w-section-complete .w-note-section-check{opacity:1}
.w-section-complete>span:last-child{font-weight:600}
.w-guided-sheet .w-note-status{font-size:11px;line-height:1.35;margin:0;flex:none}
.w-guided-sheet .w-note-status:empty{display:none}
.w-app .w-guided-sheet .w-note-write,.w-app .w-guided-sheet .w-note-rail>.btn{width:100%;min-height:28px;flex:none;justify-content:center;font-size:13px;padding:4px 10px}
.w-guided-sheet .w-note-main{padding:22px;gap:14px;overflow:auto;overscroll-behavior:contain;min-height:0;background:#f2f2f7;scrollbar-gutter:stable}
.w-note-context{padding:14px;background:#fff;border-radius:14px;display:flex;align-items:flex-start;gap:16px;flex:none;min-width:0}
.w-note-context>div{display:grid;gap:3px;min-width:0;flex-shrink:0}
.w-note-context>div:first-child{flex:1;min-width:0;flex-shrink:1}
.w-note-context span{font-size:11px;color:#6e6e73;font-weight:600}
.w-note-context strong{font-size:13px;font-weight:600;line-height:1.3;overflow-wrap:anywhere}
.w-note-context small{font-size:11px;color:#6e6e73}
.w-note-context .w-note-context-day{margin-left:auto;text-align:right;white-space:nowrap;font-size:11px;color:#6e6e73;flex:none}
.w-app .w-guided-sheet fieldset.sec{flex:none;padding:16px;background:#fff;border:0;box-shadow:none}
.w-app .w-guided-sheet fieldset>legend{display:flex;align-items:center;gap:8px;font-size:15px;line-height:1.2;font-weight:700;color:var(--text);margin:0 0 14px;min-width:0}
.w-guided-sheet legend>.ico{width:18px;height:18px;color:var(--fill);flex:none}
.w-guided-sheet .w-section-done{margin-left:auto;color:#1e7b34;font-size:11px;white-space:nowrap}
.w-app .w-guided-sheet .fgrid{display:flex;flex-direction:column;gap:14px;clear:both}
.w-guided-sheet .gfield{display:flex;flex-direction:column;gap:6px;min-width:0;max-width:100%}
.w-guided-sheet .g-caption{font-size:12px;font-weight:600;color:#3a3a3c;line-height:1.3;display:flex;gap:4px;align-items:center}
.w-guided-sheet .g-required{width:5px;height:5px;background:var(--fill);border-radius:50%;font-size:0;display:inline-block;flex:none}
.w-guided-sheet .pf{font-size:12px;color:#0066cc;font-style:normal}
.w-guided-sheet .checks{gap:6px;display:flex;flex-wrap:wrap;align-items:center}
.w-app .w-guided-sheet .w-note-choice{display:inline-flex;align-items:center;gap:4px;font-size:12px;line-height:1.25;font-weight:400;background:#f2f2f7;color:#1d1d1f;border:0;border-radius:999px;box-shadow:none;padding:6px 10px;min-height:27px;max-width:100%;white-space:normal;text-align:left;transform:scale(1)}
.w-app .w-guided-sheet .w-note-choice[aria-pressed=true]{background:var(--text);color:white;font-weight:600;transform:scale(1.04)}
.w-choice-tick{display:none;font-weight:900;font-size:9px;flex:none}
.w-note-choice[aria-pressed=true] .w-choice-tick{display:inline}
.w-app .w-guided-sheet .w-score-chips{display:flex;flex-wrap:nowrap;gap:4px;align-items:center}
.w-app .w-guided-sheet .w-score-chips button{width:58px;height:28px;padding:0;min-height:28px;flex:none;border-radius:7px;border:0;box-shadow:none;background:#f2f2f7;color:#6e6e73;font-size:12px;line-height:1;font-weight:700;transform:scale(1)}
.w-app .w-guided-sheet .w-score-chips button[aria-pressed=true]{background:var(--text);color:#fff;transform:scale(1.06)}
.w-app .w-guided-sheet .w-pain-scale{flex-wrap:wrap;gap:5px}
.w-app .w-guided-sheet .w-pain-scale button{width:30px;height:30px;min-height:30px;border-radius:50%;color:#1d1d1f}
.w-app .w-guided-sheet .w-pain-scale button[aria-pressed=true]{background:var(--fill);color:#1d1d1f;transform:scale(1.18)}
.w-app .w-guided-sheet .w-pain-scale button[data-category=good][aria-pressed=true]{background:#1e7b34;color:white}
.w-app .w-guided-sheet input:not([type=checkbox]):not([type=radio]),.w-app .w-guided-sheet select{font-size:13px;min-height:23px;height:25px;line-height:1.2;padding:2px 6px;border:1px solid #d1d1d6;border-radius:6px;background:#fff;color:#1d1d1f;box-shadow:0 1px 2px #00000008;min-width:0}
.w-guided-sheet .gfield[data-gkind=short]>input{max-width:420px}
.w-guided-sheet .gfield>textarea{font-size:13px;min-height:90px;border-radius:9px;border:1px solid #e5e5ea;padding:10px;background:#f7f7fa;line-height:1.4}
.w-guided-sheet .gvitals{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-start}
.w-app .w-guided-sheet .gvitals>label{display:flex;flex-direction:column;gap:2px;flex:0 0 80px;padding:0;font-weight:400;min-width:0}
.w-guided-sheet .gvitals>label>span{font-size:10px;color:#6e6e73;margin:0;flex:none}
.w-guided-sheet .gvitals>label:has([name=g_v_spo2]){flex-basis:150px}
.w-guided-sheet .gvitals input{width:100%}
.w-guided-sheet .gvitals>p{flex:1 1 110px;font-size:10px;line-height:1.35;color:#6e6e73;margin:12px 0 0}
.w-guided-sheet .gfield[data-gkind=grid]{overflow-x:auto}
.w-guided-sheet .ggrid{width:100%;min-width:640px;display:table;border:0;margin:0}
.w-guided-sheet .ggrid th,.w-guided-sheet .ggrid td{padding:4px 0;border:0;background:transparent;font-size:12px}
.w-guided-sheet .ggrid th:first-child{width:210px;min-width:170px;font-weight:400;vertical-align:middle;text-align:left;line-height:1.3}
.w-guided-sheet .ggrid thead th{font-size:10px;color:#6e6e73}
.w-app .w-guided-sheet .w-gg-other{width:64px;max-width:64px;font-size:11px;padding:2px}
.w-guided-sheet .ggoal{display:flex;gap:8px;align-items:center}
.w-guided-sheet .ggoal input{flex:1;min-width:0}
.w-guided-sheet .ggoal select{width:150px;flex:none}
.w-note-details{flex:none;font-size:11px;color:#6e6e73}
.w-note-details>summary{cursor:pointer;padding:6px 0}
.w-app .w-guided-sheet .formhead{margin-top:6px;padding:14px}
.w-guided-sheet .w-note-review{display:flex;flex:1;flex-direction:column;gap:12px;min-height:0}
.w-guided-sheet .w-note-review h2{font-size:18px;font-weight:700;margin:0}
.w-guided-sheet .w-note-review textarea{font-size:13px;line-height:1.5;flex:1;min-height:260px;padding:14px;border-radius:10px;border:1px solid #d1d1d6;background:white}
.w-app .w-guided-sheet .actionbar{margin-top:auto;flex:none;justify-content:flex-end}
.w-guided-sheet .w-note-reviewing .w-note-main{overflow:auto}
@media(max-width:800px){
 .w-app .w-guided-sheet{max-height:calc(100dvh - 16px);height:calc(100dvh - 16px);max-width:calc(100vw - 16px);overflow:hidden}
 .w-app .w-guided-sheet .noteform{display:flex;flex-direction:column;height:100%;overflow:hidden}
 .w-guided-sheet .w-note-rail{flex:none;overflow:visible;border-right:0;border-bottom:1px solid #e5e5ea;padding:12px;gap:8px;display:grid;grid-template-columns:minmax(0,1fr) minmax(80px,120px);align-items:center}
 .w-guided-sheet .w-note-heading{grid-column:1;grid-row:1;min-width:0}.w-note-heading h3{font-size:13px}
 .w-guided-sheet .w-note-overall{grid-column:2;grid-row:1;justify-content:flex-end}.w-guided-sheet .w-note-overall p{display:none}
 .w-guided-sheet .w-note-rail nav{display:none}.w-guided-sheet .w-note-overall .w-ring,.w-guided-sheet .w-note-overall .w-ring-label{width:36px;height:36px}
 .w-guided-sheet .w-note-write{grid-column:1;grid-row:2}.w-guided-sheet .w-note-rail>.btn{grid-column:2;grid-row:2}
 .w-guided-sheet .w-note-status{grid-column:1/-1;grid-row:3}
 .w-guided-sheet .w-note-main{flex:1;overflow:auto;padding:14px;min-height:0}
 .w-guided-sheet .w-note-context{flex-wrap:wrap;gap:12px;padding:12px}.w-note-context>div:first-child{flex-basis:100%}
 .w-note-context .w-note-context-day{width:100%;text-align:left;margin:0}
 .w-app .w-guided-sheet .gvitals>label{flex:1 1 64px}.w-guided-sheet .gvitals>p{flex-basis:100%;margin-top:0}
 .w-guided-sheet .ggoal{flex-wrap:wrap}.w-guided-sheet .ggoal select{flex:1;width:auto}
 .w-guided-sheet .w-note-review textarea{min-height:200px}.w-app .w-guided-sheet .actionbar{flex-wrap:wrap}
}
.w-app .w-guided-sheet .w-note-prefill-hint{font-size:10px;line-height:1.4;margin:0;padding:0 2px;background:transparent;flex:none}

/* ProfileContent / ProfileEditing.swift: compact editing rows, green Done and in-place feedback. */
.w-profile{display:flex;flex-direction:column;gap:14px;min-width:0}
.w-profile [hidden]{display:none!important}
.w-profile-content{display:flex;flex-direction:column;gap:14px;min-width:0}
.w-profile-content>.w-card{align-self:stretch}
.w-profile .w-profile-bar{font-size:11px;min-height:24px}
.w-profile-toolbar{display:flex;align-items:center;gap:8px}
.w-profile .w-profile-toolbar>[data-edit-profile]{min-height:24px;font-size:13px;padding:3px 10px;display:inline-flex;align-items:center;gap:5px;background:#0066cc;color:#fff;border:0;border-radius:6px;box-shadow:none}
.w-profile[data-editing=true] [data-edit-profile]{background:#1e7b34}
.w-profile[data-editing=true] [data-edit-profile]::before{content:'✓'}
.w-profile .w-profile-pencil-hidden{display:none}
.w-profile-busy{font-size:11px;color:#6e6e73}
.w-profile .w-section-title{margin-bottom:8px}
.w-profile .w-section-title h2{font-size:13px;font-weight:600}
.w-profile p{margin:0}
.w-profile .w-hospital-course{font-size:13px;line-height:1.3}
.w-profile-list{display:flex;flex-direction:column;gap:8px;min-width:0}
.w-profile .w-dx-row{margin:0;align-items:first baseline;gap:8px;line-height:1.35;font-size:13px}
.w-profile .w-dx-row code{background:transparent;padding:0;font-size:12px;font-weight:600;flex:0 0 70px}
.w-profile .w-dx-row>span{min-width:0;overflow-wrap:anywhere}
.w-profile .w-flow{gap:6px}
.w-profile .w-flow>.w-pill{font-size:12px;padding:4px 9px}
.w-profile .w-flow>.w-pill small{font-size:11px}
.w-app .w-profile .w-remove{display:inline-flex;align-items:center;justify-content:center;flex:0 0 15px;width:15px;height:15px;min-width:15px;min-height:15px;padding:0;margin:0;background:#ff2d55;color:#fff;border:0;border-radius:50%;font:900 14px/1 system-ui;box-shadow:none}
.w-profile form[data-profile-form]{margin:10px 0 0;min-width:0}
.w-profile .w-profile-field{display:flex;min-width:0;margin:0;flex-direction:column;gap:0}
.w-app .w-profile input:not([type=checkbox]),.w-app .w-profile select{width:100%;min-width:0;height:24px;min-height:24px;padding:2px 6px;border:1px solid #d1d1d6;border-radius:6px;background:#fff;color:#1d1d1f;font-size:12px;line-height:1.25;box-shadow:0 1px 2px #00000008}
.w-app .w-profile input::placeholder{color:#6e6e73;opacity:1}
.w-profile .w-profile-field>.sr{flex:none}
.w-app .w-profile button[type=submit]{min-height:24px;height:24px;padding:2px 8px;border:1px solid #d1d1d6;border-radius:5px;background:#fff;color:#1d1d1f;font-size:12px;line-height:1.25;box-shadow:0 1px 2px #00000008}
.w-app .w-profile button[type=submit]:disabled{background:#f2f2f7;color:#8e8e93;border-color:transparent;opacity:1;box-shadow:none;cursor:default}
.w-profile .w-profile-diagnosis{display:grid;grid-template-columns:80px minmax(0,1fr) auto;gap:6px;align-items:center}
.w-profile .w-profile-allergy{display:grid;grid-template-columns:minmax(0,1fr) 150px auto;gap:6px;align-items:center}
.w-profile .w-profile-medication{display:flex;flex-direction:column;gap:6px}
.w-profile-med-first{display:grid;grid-template-columns:minmax(0,1fr) 90px 100px 120px;align-items:center;gap:6px}
.w-profile-med-second{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:6px}
.w-app .w-profile .w-profile-prn{display:flex;flex-direction:row;align-items:center;gap:5px;font-size:12px;font-weight:400;white-space:nowrap;margin:0}
.w-profile-prn input{margin:0;accent-color:#0066cc}
.w-profile .w-med-line{flex-wrap:nowrap;gap:6px;min-height:25px;padding:0 0 8px;line-height:1.3}
.w-profile .w-med-line b{font-size:13px;font-weight:500}
.w-profile .w-med-line>span{font-size:12px;min-width:0}
.w-profile .w-med-line>small{font-size:11px;max-width:35%;text-align:right}
.w-profile .w-profile-details form{display:grid;grid-template-columns:280px minmax(0,1fr) auto;gap:12px;align-items:center}
.w-app .w-profile .w-profile-code{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px;align-items:center;font-size:12px;font-weight:400;margin:0}
.w-profile .w-profile-details p,.w-profile-content>.w-card>p.w-edit{font-size:11px;color:#6e6e73;margin-top:8px}
.w-profile .w-profile-status{display:flex;align-items:center;gap:6px;padding:8px 12px;border-radius:10px;background:#e3f4e6;color:#1e7b34;font-size:12px;font-weight:500;line-height:1.4;overflow-wrap:anywhere}
.w-profile .w-profile-status.w-danger{background:#ffe4e8;color:#d70015}
.w-profile-status>span:first-child{font-weight:800;flex:none}
.w-profile-status>button{margin-left:auto;flex:none}
.w-profile .w-care{padding:0 0 10px;margin:0 0 10px;display:grid;gap:4px}
.w-profile .w-care h3{font-size:13px;font-weight:600;margin:0}
.w-profile .w-care p,.w-profile .w-note-body{font-size:12px;line-height:1.4}
.w-app .w-profile-confirm{width:380px;padding:20px;border-radius:14px;background:#fff}
.w-profile-confirm h2{font-size:17px}.w-profile-confirm p{font-size:13px;overflow-wrap:anywhere}
.w-profile-confirm [data-confirm-change]{background:#d70015;color:#fff;border-color:#d70015}
@media(max-width:1050px){.w-profile .w-profile-details form{grid-template-columns:minmax(0,1fr) auto}.w-profile .w-profile-code{grid-column:1/-1;max-width:280px}.w-profile-med-first{grid-template-columns:minmax(0,1fr) 80px 90px 110px}}
@media(max-width:620px){.w-profile .w-profile-bar{gap:8px;align-items:flex-start}.w-profile-bar>span{max-width:65%}.w-profile .w-profile-diagnosis,.w-profile .w-profile-allergy{grid-template-columns:minmax(0,1fr) auto}.w-profile-diagnosis>label:first-child,.w-profile-allergy>label:first-child{grid-column:1/-1}.w-profile-med-first{grid-template-columns:repeat(2,minmax(0,1fr))}.w-profile-med-first>label:first-child{grid-column:1/-1}.w-profile-med-first>label:last-child{grid-column:1/-1}.w-profile-med-second{grid-template-columns:minmax(0,1fr) auto}.w-profile-prn{grid-column:1/-1}.w-profile .w-med-line{flex-wrap:wrap}.w-profile .w-med-line>small{max-width:100%;text-align:left;margin-left:0}.w-profile .w-profile-status{flex-wrap:wrap}}

/* Extra web workflows have a destination, rather than a growing sidebar disclosure. */
.w-workspaces{margin-top:18px;padding-top:10px;border-top:1px solid var(--w-line)}
.w-account>a{color:#0066cc;text-decoration:none;font-size:11px}.w-account>a:hover{text-decoration:underline}
.w-tools-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.w-tools-grid h2{font-size:16px;font-weight:600;margin:0 0 10px}.w-tools-grid h3{font-size:14px;font-weight:600;margin:0 0 8px}
.w-tool-links{display:grid}.w-tool-link{display:flex;align-items:center;gap:12px;padding:13px 4px;color:#1d1d1f;text-decoration:none;border-bottom:1px solid #e5e5ea;min-height:44px;min-width:0;border-radius:5px}
.w-tool-link:last-child{border-bottom:0}.w-tool-link:hover{background:#f2f2f7}.w-tool-link>.ico{color:#0066cc;width:20px;height:20px;flex:none}.w-tool-link>span:nth-child(2){flex:1;min-width:0;display:grid;gap:3px}.w-tool-link b{font-size:13px;font-weight:600}.w-tool-link small{font-size:12px;line-height:1.4;color:#6e6e73;overflow-wrap:anywhere}.w-tool-link>span:last-child{color:#6e6e73}
.w-chart-tools{display:grid;gap:14px;scroll-margin-top:60px}.w-chart-tools h2{font-size:20px}.w-chart-tools p{margin-top:5px}.w-chart-tools .w-tool-link{padding:8px 2px}.w-chart-tools .w-tool-link small:empty{display:none}
@media(max-width:620px){.w-tools-grid{grid-template-columns:minmax(0,1fr);gap:14px}.w-chart-tools{scroll-margin-top:12px}}

/* Swift 0.17 Codes and drugs, diagnosis links and care-plan editor. */
.w-ref-search{display:grid;gap:5px;min-width:0}.w-ref-search input{background:#f7f7fa!important;border-radius:8px!important}.w-ref-status:empty{display:none}.w-ref-status{font-size:11px;margin:2px 0!important}
.w-ref-results{display:grid;max-height:270px;overflow:auto}.w-app .w-ref-results button{display:flex;justify-content:flex-start;align-items:baseline;text-align:left;padding:8px;border:0;border-bottom:1px solid #e5e5ea;box-shadow:none;background:white;border-radius:0;gap:8px;min-width:0;min-height:34px}.w-ref-results button:hover{background:#e1eefb}.w-ref-results code{min-width:78px;color:#0066cc;font-size:12px}.w-ref-results small{font-size:11px;color:#6e6e73;overflow-wrap:anywhere}.w-ref-results button b{font-size:12px}
.w-reference-columns{display:grid;grid-template-columns:360px minmax(0,1fr);gap:16px;margin-top:14px;align-items:start}.w-reference-columns [data-reference-drug]{display:grid;gap:10px}.w-reference-columns h3{font-size:17px}.w-reference-columns p{font-size:13px;line-height:1.5}.w-code-browser{margin-top:16px}.w-code-row{display:flex;align-items:baseline;gap:14px;padding:10px 0;border-bottom:1px solid #e5e5ea;font-size:13px}.w-code-row code{min-width:90px;color:#0066cc;font-weight:600}.w-code-row span{flex:1}.w-code-row small{font-size:11px}.w-code-paging{display:flex;gap:12px;align-items:center;justify-content:flex-end;margin-top:14px}
.w-strengths{display:flex;flex-wrap:wrap;gap:6px}.w-strengths:empty{display:none}.w-app .w-strengths button,.w-strengths>span{font-size:11.5px;font-weight:500;padding:5px 9px;border-radius:99px;background:#ddf4f7;color:#00788a;border:0;box-shadow:none;min-height:28px}.w-app .w-strengths button[aria-pressed=true]{background:#00a3bf;color:#00333d;font-weight:700}.w-boxed-warning{color:#d70015;background:#ffe4e8;padding:9px;border-radius:10px;white-space:pre-wrap;overflow-wrap:anywhere}
.w-dx-chip{display:inline-flex;flex:none;border-radius:99px;padding:2px 7px;background:#e1eefb;color:#0066cc;font-size:10.5px;font-weight:600;white-space:nowrap}.w-dx-chip.w-auto{background:transparent;border:1px dashed #0066cc}.w-profile .w-med-line{flex-wrap:wrap}.w-profile .w-med-dx-form{flex-basis:100%;display:flex;gap:6px;align-items:center;margin:4px 0 4px 21px}.w-med-dx-form label{flex:1}.w-profile .w-med-dx-form button{flex:none}
.w-profile .w-profile-medication{display:grid;gap:8px}.w-profile-med-first{grid-template-columns:130px 110px minmax(0,1fr) auto}.w-profile-med-second{grid-template-columns:minmax(0,1fr) auto}.w-medication-name>p{font-size:11px}.w-medication-name [data-drug-info]:not(:empty){margin-top:8px;background:#e9f8fa;padding:8px;border-radius:8px;display:grid;gap:5px}.w-medication-name [data-drug-info] h3{font-size:13px}.w-medication-name [data-drug-info] p{font-size:11.5px}.w-care-actions{display:flex;gap:7px;margin:8px 0}.w-care-sheet{width:560px;padding:0;max-height:min(620px,calc(100dvh - 32px));overflow:auto}.w-care-sheet>.w-sheet-title{padding:18px;margin:0;background:#fafafc}.w-care-sheet form{display:grid;gap:10px}.w-care-body{background:#f2f2f7;padding:16px;display:grid;gap:14px}.w-care-body>section{padding:14px;background:white;border-radius:12px;display:grid;gap:10px}.w-care-body h3{font-size:13px}.w-care-body label{display:grid;gap:4px;font-size:12px}.w-care-body label.w-check{display:flex}.w-care-step{display:flex;align-items:flex-end;gap:7px}.w-care-step label{flex:1}.w-care-sheet .w-sheet-actions{padding:0 18px 18px}.w-care-error{padding:0 18px;font-size:12px}.w-care-error:empty{display:none}.w-care-sheet small{max-width:210px;font-size:11px}.w-care-target[hidden]{display:none!important}
@media(max-width:1000px){.w-reference-columns{grid-template-columns:minmax(230px,.8fr) minmax(0,1fr)}.w-profile-med-first{grid-template-columns:110px 90px minmax(0,1fr) auto}}
@media(max-width:620px){.w-reference-columns{grid-template-columns:minmax(0,1fr)}.w-code-row{gap:8px;flex-wrap:wrap}.w-code-row span{min-width:140px}.w-code-row small{flex-basis:100%}.w-profile-med-first{grid-template-columns:repeat(2,minmax(0,1fr))}.w-profile-med-first>label:first-child,.w-profile-med-first>label:last-child{grid-column:auto}.w-profile-med-first>label:nth-child(3){grid-column:1/-1}.w-profile .w-med-dx-form{margin-left:0;flex-wrap:wrap}.w-profile .w-med-dx-form label{flex-basis:100%}.w-ref-results button{flex-wrap:wrap}.w-care-sheet .w-sheet-actions{flex-wrap:wrap}.w-care-sheet small{max-width:none;flex-basis:100%}.w-care-step button{min-height:32px}}

.w-auth-sheet .w-service-edit{grid-template-columns:130px 125px minmax(0,1fr)}.w-service-edit>span{font-size:12px;align-self:center}.w-service-edit select{font-size:12px}@media(max-width:620px){.w-auth-sheet .w-service-edit{grid-template-columns:minmax(0,1fr)}.w-auth-sheet .w-service-edit>span{font-weight:600}}

/* Match the native grouped Form surfaces in the 560 × 620 care-plan sheet. */
.w-app .w-care-sheet[open]{display:flex;flex-direction:column;height:min(620px,calc(100dvh - 32px));background:#fff;overflow:hidden}.w-care-sheet>form{display:flex;flex-direction:column;min-height:0;flex:1;gap:0}.w-care-body{background:white;overflow:auto;min-height:0;flex:1;padding:12px 20px 16px;gap:22px}.w-care-body>section{padding:0;background:transparent;gap:0}.w-care-body h3{margin:0 10px 10px;font-size:13px}.w-care-body>section>label,.w-care-step{padding:9px 10px;background:#f7f7fa;border-bottom:1px solid #e5e5ea;min-height:42px}.w-care-body>section>label{display:grid;grid-template-columns:100px minmax(0,1fr);align-items:center;font-size:13px}.w-care-body>section>label:first-of-type{border-radius:12px 12px 0 0}.w-care-body>section>label:last-of-type{border-bottom:0;border-radius:0 0 12px 12px}.w-care-body>section>label:only-of-type{border-radius:12px}.w-app .w-care-body input:not([type=checkbox]),.w-app .w-care-body textarea,.w-app .w-care-body select{background:transparent;border-color:transparent;box-shadow:none;text-align:right;font-size:13px}.w-care-body textarea{min-height:44px}.w-care-body label.w-check{display:flex;flex-direction:row-reverse;justify-content:space-between}.w-care-body .w-check input{appearance:none;width:28px;height:17px;border-radius:99px;background:#d1d1d6;position:relative;min-height:0;cursor:pointer}.w-care-body .w-check input:after{content:'';position:absolute;left:2px;top:2px;width:13px;height:13px;background:white;border-radius:50%;box-shadow:0 1px 2px #0003}.w-care-body .w-check input:checked{background:#0066cc}.w-care-body .w-check input:checked:after{left:13px}.w-care-step{align-items:center}.w-care-step label{display:grid;grid-template-columns:100px minmax(0,1fr);align-items:center;font-size:13px}.w-app .w-care-step button{padding:0;border:1px solid #3a3a3c;border-radius:50%;min-height:17px;height:17px;width:17px;background:transparent;box-shadow:none;flex:none;font-size:15px}.w-care-step:first-child{border-radius:12px 12px 0 0}.w-care-step:last-child{border-radius:0 0 12px 12px;border-bottom:0}.w-care-body [data-care-step-add]{justify-self:start;margin:10px 0 0 10px}.w-care-sheet .w-sheet-actions{flex:none;margin:0;padding:18px}.w-care-sheet .w-care-error{flex:none;padding-top:8px}
@media(max-width:620px){.w-care-body{padding:12px;gap:16px}.w-care-body>section>label,.w-care-step label{grid-template-columns:minmax(0,1fr);gap:4px}.w-care-body label.w-check{display:flex}.w-app .w-care-body input:not([type=checkbox]),.w-app .w-care-body textarea,.w-app .w-care-body select{text-align:left}.w-care-sheet .w-sheet-actions{padding:12px}.w-care-sheet .w-care-error{padding:6px 12px}}

.w-app .w-care-sheet button.primary{background:#0066cc;border-color:#0066cc;color:white}.w-app .w-care-body input:not([type=checkbox]),.w-app .w-care-body select,.w-app .w-care-body textarea,.w-care-body>section>label,.w-care-step label{font-weight:400}

[data-reference-screen]>.w-page-heading h1{font-size:20px}[data-reference-screen]>.w-page-heading{gap:16px;align-items:center}[data-reference-screen]>.w-page-heading>div{min-width:0}[data-reference-screen] .w-segments{flex-shrink:0;width:280px}@media(max-width:620px){[data-reference-screen]>.w-page-heading{flex-direction:column;align-items:stretch}[data-reference-screen] .w-segments{width:100%}}

.w-care-saving{font-size:12px;color:#6e6e73;margin:0 18px}

.w-shift-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0}.w-shift-stats .w-stat{font-size:30px}.w-shift-stats .w-section-title h2{font-size:12px}.w-shift-columns{display:grid;grid-template-columns:minmax(0,1fr) 430px;gap:16px;align-items:start}.w-shift-columns>div{display:grid;gap:16px;min-width:0}.w-shift-group{font-size:11px;text-transform:none;color:#6e6e73;margin:12px 0 5px}.w-shift-task{display:flex;gap:9px;align-items:center;padding:9px 0;border-bottom:1px solid #e5e5ea;flex-wrap:wrap;min-width:0}.w-shift-task>div{flex:1;min-width:120px}.w-shift-task a:not(.btn),.w-shift-cna>a:not(.btn){color:#1d1d1f;text-decoration:none}.w-shift-task b,.w-shift-draft b{font-size:13px}.w-shift-task small,.w-shift-cna small,.w-shift-draft small{font-size:11px;color:#6e6e73;margin-left:6px}.w-shift-task p,.w-shift-draft p{font-size:12px;margin:2px 0}.w-shift-task time{font-size:11px}.w-task-dot{height:8px;width:8px;flex:none;border-radius:50%;background:#8e8e93}.w-task-dot[data-state=Overdue]{background:#d70015}.w-task-dot[data-state=Due]{background:#ff9500}.w-task-status{flex-basis:100%;color:#d70015}.w-task-status:empty,.w-shift-status:empty{display:none}.w-shift-draft{display:flex;align-items:center;gap:10px;border-bottom:1px solid #e5e5ea;padding:10px 0;margin-bottom:8px}.w-shift-draft>div{flex:1}.w-shift-draft small{margin:0;color:#1e7b34}.w-daily-progress{display:flex;align-items:center;gap:16px;margin-bottom:12px}.w-daily-progress .w-ring-label{width:76px;height:76px}.w-daily-progress .w-ring-label b{font-size:24px}.w-shift-cna{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 10px;padding:10px 0;border-bottom:1px solid #e5e5ea}.w-shift-cna progress{width:100%;height:8px;accent-color:#5e5ce6}.w-shift-cna .btn{grid-column:2;grid-row:3}.w-shift-cna small{margin:0}.w-start-patient{display:block;padding:10px 7px 3px;font-size:12px}.w-shift-columns .w-menu>div{max-height:350px;overflow:auto;right:auto;left:0}.w-shift-columns>.w-card{min-width:0}.w-shift-skip{width:420px}.w-shift-skip form{display:grid;gap:12px;margin-top:12px}.w-shift-skip label{display:grid;gap:5px}
.w-followup-card{padding:14px;background:#fff;border:1px solid #e5e5ea;border-radius:14px;display:grid;gap:10px;margin:0 0 14px}.w-followup-card h2{font-size:15px}.w-followup-card p{font-size:11px}.w-followup-card label{display:grid;gap:5px;font-size:12px;font-weight:600}.w-followup-card textarea{min-height:65px!important}.w-followup-actions{display:flex;gap:8px;flex-wrap:wrap}.w-copy-progress{color:#8a6100}.w-carried-banner{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:8px 10px;margin-bottom:12px;border-radius:8px;background:#fff3c4;color:#8a6100;font-size:11px}.w-carried-banner[hidden]{display:none}.w-copy-reviewed .w-carried-banner{background:#e3f4e6;color:#1e7b34}.w-app fieldset.w-copy-pending{border:1.5px dashed #b8860b!important}.w-today-chip{font-size:10px;color:#0066cc;background:#e1eefb;border-radius:99px;padding:2px 6px}.w-note-save-status{font-size:11px;line-height:1.5;color:#6e6e73;margin:12px 0 6px;overflow-wrap:anywhere}.w-note-draft-save{width:100%;margin-bottom:8px}.w-note-rail .w-note-save-status{margin-top:12px}
@media(max-width:1150px){.w-shift-columns{grid-template-columns:minmax(0,1fr) minmax(290px,.8fr)}.w-shift-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:800px){.w-shift-columns{grid-template-columns:minmax(0,1fr)}.w-shift-task time{font-size:10px}.w-carried-banner{align-items:flex-start;flex-direction:column}.w-note-draft-save{width:auto}.w-note-save-status{margin:4px 0}.w-shift-stats{gap:10px}.w-shift-stats .w-section-title{flex-wrap:wrap}.w-shift-stats .w-section-title h2{font-size:11px}}

[data-my-shift] .w-page-heading h1{font-size:26px}
@media(min-width:1050px){.w-shift-stats{grid-template-columns:repeat(4,minmax(0,1fr))}}

.w-shift-stats .w-stat:not(.w-danger){color:var(--w-ink)}
@media(max-width:1150px){.w-shift-task time{order:5;flex-basis:100%;margin-left:17px}.w-shift-task small{white-space:nowrap}}
/* What the chart says at a glance (open alerts, a visit due) and its owner-only links, under the resident's header. */
.w-chart-notices{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 14px}
.w-chart-notices:empty{display:none}
/* Signed-out pages (sign in, the welcome link, the code, an error before sign-in) in the same theme as the workspace. */
body.w-out{background:#f2f2f7;color:#1d1d1f;font:15px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color-scheme:light}
body.w-out .outhead{font-size:17px;font-weight:700;letter-spacing:-.2px;color:#1d1d1f}
body.w-out .card{background:#fff;border:0;border-radius:14px;box-shadow:none;color:#1d1d1f}
body.w-out h1{font-size:26px;line-height:1.2;letter-spacing:-.4px;margin:0 0 10px}
body.w-out label,body.w-out label>span{font-size:13px;font-weight:500;color:#1d1d1f}
body.w-out .muted,body.w-out .small.muted{color:#6e6e73}
body.w-out input:not([type=checkbox]):not([type=radio]),body.w-out select{border:1px solid #c7c7cc;border-radius:8px;min-height:40px;padding:7px 10px;font:inherit;background:#fff;color:#1d1d1f;box-shadow:none}
body.w-out button,body.w-out .btn{font:inherit;font-size:15px;font-weight:600;border-radius:8px;min-height:40px;border:1px solid #d2d2d7;background:#fff;color:#1d1d1f;box-shadow:none}
body.w-out button.primary,body.w-out .btn.primary{background:#0066cc;border-color:#0066cc;color:#fff}
body.w-out a{color:#0066cc}
body.w-out :focus-visible{outline:2px solid #0066cc;outline-offset:3px}
