:root{--bg:#f5f6f3;--surface:#fff;--sidebar-bg:#f0f3ee;--ink:#243731;--muted:#7b8882;--soft:#a0aaa4;--line:#e5eae4;--green:#14695f;--green-dark:#0d5148;--green-light:#eaf4ef;--amber:#a97518;--amber-light:#fff5df;--danger:#b54f45;--radius:18px;--sidebar-width:220px;color:var(--ink);background:var(--bg);font-synthesis:none;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif}*{box-sizing:border-box}body{-webkit-font-smoothing:antialiased;margin:0;font-size:14px;line-height:1.6}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{color:inherit;cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:3px;outline:3px solid #8ac3b4}button svg{vertical-align:middle;flex:none;width:20px;height:20px}button{background:0 0;border:0}a{color:var(--green);text-decoration:none}h1,h2,h3,p{margin:0}small{font-size:12px}button,input,select,textarea,a{touch-action:manipulation}input,select,textarea{color:var(--ink)}svg{flex:none}.skip-link{z-index:1000;background:var(--green);color:#fff;border-radius:8px;padding:10px 16px;position:fixed;top:-60px;left:16px}.skip-link:focus{top:12px}.app-shell{min-height:100dvh}.sidebar{width:var(--sidebar-width);z-index:20;background:var(--sidebar-bg);border-right:1px solid #e2e8df;flex-direction:column;padding:32px 20px 20px;display:flex;position:fixed;inset:0 auto 0 0}.brand{color:var(--ink);align-items:center;gap:12px;padding:0 8px;display:flex}.brand-symbol{background:var(--green);color:#fff;border-radius:12px;place-items:center;width:42px;height:46px;display:grid;box-shadow:0 5px 12px #14695f16}.brand-symbol svg{width:29px;height:29px}.brand strong{letter-spacing:.1em;font-size:22px;font-weight:750;line-height:1.3;display:block}.brand small{letter-spacing:.18em;color:#85948b;margin-top:4px;font-size:9px;font-weight:650;display:block}.ward-label{color:#7a897e;white-space:nowrap;align-items:center;gap:7px;padding:34px 9px 13px;font-size:11px;display:flex}.status-dot{background:#75a58f;border-radius:50%;flex:none;width:5px;height:5px;display:inline-block}.ward-bed-count{color:#8a958c;border:1px solid #dbe3d8;border-radius:4px;margin-left:auto;padding:0 5px;font-size:10px}.desktop-nav{gap:7px;display:grid}.nav-item{text-align:left;color:#768379;border-radius:10px;align-items:center;gap:12px;width:100%;min-height:48px;padding:0 13px;font-size:13px;font-weight:550;transition:background .15s,color .15s;display:flex}.nav-item svg{width:19px;height:19px}.nav-item:hover{color:var(--green);background:#e7ede4}.nav-item.active{color:var(--green);background:#e0ece2;font-weight:700}.nav-arrow{opacity:0;margin-left:auto;font-size:20px;font-weight:400}.nav-item.active .nav-arrow{opacity:.55}.sidebar-note{margin-top:auto;padding:50px 10px 32px}.note-line{background:#bbccbd;width:24px;height:2px;margin-bottom:15px;display:block}.sidebar-note p{color:#87958a;font-size:13px;line-height:1.9}.sidebar-note small{color:#a0aba1;margin-top:11px;font-size:10px;display:block}.sidebar-foot{color:#98a298;border-top:1px solid #e1e7dd;align-items:center;gap:6px;padding:15px 7px 0;font-size:10px;display:flex}.sidebar-foot>span:last-child{margin-left:auto}.workspace{margin-left:var(--sidebar-width);max-width:1600px;padding:0 44px 140px}.topbar{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:15px;height:81px;display:flex}.desktop-breadcrumb{letter-spacing:.02em;color:#9ba49e;font-size:11px}.desktop-breadcrumb span{color:#c3cac4;padding:0 12px}.profile-switch{text-align:left;border-radius:12px;align-items:center;gap:10px;min-height:44px;padding:4px 0 4px 8px;display:flex}.profile-avatar{color:#65816a;background:#e5ede4;border:1px solid #dce5da;border-radius:50%;place-items:center;width:34px;height:34px;font-size:12px;font-weight:650;display:grid}.profile-text strong{font-size:12px;font-weight:650;line-height:1.4;display:block}.profile-text small{color:#99a29b;font-size:9px;line-height:1.5;display:block}.profile-switch>svg{color:#9ba79f;width:14px;height:14px;margin-left:4px}.mobile-brand{display:none}.page-header{justify-content:space-between;align-items:center;gap:20px;padding:31px 0 27px;display:flex}.page-kicker{letter-spacing:.16em;color:#95a097;margin-bottom:6px;font-size:9px;font-weight:600}.page-header h1{letter-spacing:-.03em;font-size:27px;font-weight:700;line-height:1.4}.page-header #page-subtitle{color:var(--muted);margin-top:7px;font-size:12px}.prototype-badge{white-space:nowrap;color:#a18b5b;background:#f6f0e3;border:1px solid #ede4ce;border-radius:6px;align-items:center;gap:6px;padding:5px 9px;font-size:10px;display:inline-flex}.prototype-badge>span{background:#bfab7a;border-radius:50%;width:4px;height:4px}.mobile-nav{display:none}#main{outline:none}.loading-state,.noscript-note{text-align:center;color:var(--muted);padding:70px 20px;font-size:13px}.loading-dot{background:var(--green);border-radius:50%;width:7px;height:7px;margin-right:8px;display:inline-block}.stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:25px;display:grid}.stat-card{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);min-height:112px;padding:19px 22px;position:relative;overflow:hidden}.stat-card.active{background:#e8f3ec;border-color:#94bca4;box-shadow:inset 0 0 0 1px #94bca4}.stat-icon{color:#96aa9b;background:#f4f6f1;border-radius:10px;place-items:center;width:34px;height:34px;display:grid;position:absolute;top:22px;right:20px}.stat-card.active .stat-icon{color:#6f997c;background:#e0ecdf}.stat-card:last-child .stat-icon{color:#bea266;background:#fbf5e8}.stat-label{color:#859087;font-size:11px;line-height:1.5}.stat-number{letter-spacing:-.04em;color:#344a3a;margin-top:5px;font-size:31px;font-weight:680;line-height:1.4}.stat-number small,.stat-number span{color:#8d9b8e;letter-spacing:0;margin-left:5px;font-size:11px;font-weight:400}.stat-foot{color:#9aa69c;margin-top:4px;font-size:10px}.stat-card button{width:100%;height:100%;position:absolute;inset:0}.toolbar{justify-content:space-between;align-items:center;gap:15px;margin-bottom:16px;display:flex}.segmented{background:#edf0e9;border:1px solid #e4e9e1;border-radius:10px;gap:3px;padding:4px;display:inline-flex}.segment{color:#8a958a;white-space:nowrap;border-radius:7px;justify-content:center;align-items:center;gap:6px;min-height:35px;padding:0 17px;font-size:12px;font-weight:550;display:inline-flex}.segment.active{color:#385e46;background:#fff;box-shadow:0 2px 5px #30432c08}.segment .count,.filter-chip .count{opacity:.7;font-size:10px;font-weight:500}.search-box{color:#a4afa5;background:#fff;border:1px solid #e1e7de;border-radius:10px;align-items:center;gap:8px;width:36%;min-width:190px;max-width:300px;padding:0 12px;display:flex;position:relative}.search-box svg{width:16px;height:16px}.search-box input{background:0 0;border:0;outline:none;width:100%;min-width:0;height:42px;font-size:12px}.search-box input::placeholder{color:#a8b1a8}.search-box:focus-within{border-color:#86b6a3;box-shadow:0 0 0 3px #14695f09}.filter-row{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:19px;display:flex}.filter-chip{color:#8f9a90;border:1px solid #0000;border-radius:7px;align-items:center;gap:5px;min-height:32px;padding:3px 11px;font-size:11px;display:inline-flex}.filter-chip.active{color:#4d7b58;background:#edf3ec;border-color:#dce8dc}.filter-chip:hover{background:#edf1ea}.filter-row>.subtle{margin-left:auto;font-size:10px}.section-heading{justify-content:space-between;align-items:center;gap:12px;margin:22px 0 13px;display:flex}.section-title{font-size:14px;font-weight:650}.section-title .count{color:#98a296;margin-left:7px;font-size:11px;font-weight:400}.subtle{color:var(--muted);font-size:12px}.bed-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.bed-card{border:1px solid var(--line);border-radius:var(--radius);background:#fff;padding:20px 21px 0;transition:border-color .15s,box-shadow .15s;position:relative;overflow:hidden}.bed-card:hover{border-color:#c9d9cb;box-shadow:0 6px 20px #284e2c05}.bed-head{align-items:flex-start;gap:12px;display:flex;position:relative}.bed-number{color:#55725a;font-variant-numeric:tabular-nums;letter-spacing:-.03em;background:#edf3ec;border:1px solid #e3ebe0;border-radius:11px;flex-direction:column;justify-content:center;align-items:center;min-width:45px;height:48px;font-size:20px;font-weight:650;line-height:1.1;display:flex}.bed-number small,.bed-number span{color:#8fa18e;letter-spacing:.15em;margin-top:3px;font-size:8px;font-weight:400;line-height:1.3}.bed-person{flex:1;min-width:0;padding-top:1px}.bed-name{letter-spacing:.01em;flex-wrap:wrap;align-items:center;gap:7px;font-size:16px;font-weight:650;line-height:1.5;display:flex}.bed-name button{font-size:inherit;font-weight:inherit;text-align:left;padding:0}.diagnosis{color:#8c988b;text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:11px;overflow:hidden}.card-menu{color:#9da89e;border-radius:8px;place-items:center;width:36px;height:36px;margin:-6px -8px 0 0;font-size:19px;display:grid}.card-menu:hover{background:#f0f4ed}.recent-badge{white-space:nowrap;color:#a5823b;background:#fff6e4;border:1px solid #f3e7c7;border-radius:5px;align-items:center;gap:4px;padding:2px 6px;font-size:9px;font-weight:500;line-height:1.6;display:inline-flex}.tag-list{flex-wrap:wrap;gap:5px;min-height:20px;margin-top:15px;display:flex}.tag{color:#899784;background:#f3f5f0;border:1px solid #edf0e7;border-radius:4px;align-items:center;gap:3px;padding:2px 6px;font-size:9px;line-height:1.6;display:inline-flex}.tag.warn{color:#ac945e;background:#fcf7eb;border-color:#f3ead2}.tag.green{color:#63836c;background:#eaf3ee;border-color:#ddebe0}.note-preview{cursor:pointer;background:#f8faf6;border:1px solid #eff2eb;border-radius:9px;min-height:77px;margin-top:15px;padding:11px 12px}.note-preview:hover{border-color:#dce7d7}.note-meta{color:#9ba797;align-items:center;gap:6px;font-size:9px;line-height:1.5;display:flex}.note-meta svg{width:12px;height:12px}.note-text{color:#657561;overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-top:5px;font-size:12px;line-height:1.75;display:-webkit-box;overflow:hidden}.card-footer{border-top:1px solid #edf0e8;justify-content:space-between;align-items:center;gap:8px;min-height:47px;margin:17px -21px 0;padding:9px 20px;display:flex}.doctor-pill{color:#9aa394;align-items:center;gap:5px;font-size:10px;display:inline-flex}.doctor-pill svg{width:12px;height:12px}.doctor-pill.mine{color:#658a6a}.claim-button{color:#79967a;align-items:center;gap:4px;min-height:30px;padding:3px 6px;font-size:10px;display:inline-flex}.claim-button svg{width:12px;height:12px}.claim-button:hover{color:var(--green)}.card-footer .button{min-height:30px;padding:3px 7px;font-size:10px}.empty-state{border-radius:var(--radius);text-align:center;color:#93a08c;background:#fff;border:1px dashed #dce5d8;grid-column:1/-1;padding:52px 20px}.empty-state svg{opacity:.7;width:33px;height:33px;margin-bottom:10px}.empty-state h3{color:#6f8069;margin-bottom:7px;font-size:15px;font-weight:550}.empty-state p{color:#a2ac9a;font-size:12px}.empty-state .button{margin-top:16px}.bed-card.empty{background:#f7f9f4;border-style:dashed;min-height:145px;padding-bottom:17px}.bed-card.empty .bed-number{color:#a0ae94;background:#f0f4eb;border-color:#e4ebdc}.bed-card.empty .bed-head{align-items:center}.bed-card.empty .bed-name{color:#a4ae9c;font-size:13px;font-weight:450}.bed-card.empty .diagnosis{color:#b1b9aa;font-size:10px}.bed-card.empty .claim-button{margin-top:15px}.bottom-bar{bottom:20px;left:var(--sidebar-width);z-index:40;pointer-events:none;justify-content:center;padding:0 24px;display:flex;position:fixed;right:0}.bottom-actions{pointer-events:auto;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#fffffff2;border:1px solid #e1e7dc;border-radius:19px;grid-template-columns:repeat(5,1fr);align-items:center;width:min(650px,100%);padding:8px 12px;display:grid;box-shadow:0 10px 45px #314f2410,0 2px 6px #314f2405}.bottom-actions>button{color:#8c9a87;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:6px;min-height:55px;font-size:10px;display:flex;position:relative}.bottom-actions>button:hover{color:var(--green);background:#f0f6eb}.bottom-actions>button svg{width:19px;height:19px}.bottom-actions .action-main{color:#fff;background:var(--green);border-radius:12px;flex-direction:row;gap:9px;min-height:48px;margin:0 6px;font-size:12px;font-weight:600;box-shadow:0 4px 9px #14695f15}.bottom-actions .action-main:hover{background:var(--green-dark);color:#fff}.action-main-icon{justify-content:center;align-items:center;display:flex}.summary-controls{justify-content:space-between;align-items:center;gap:14px;margin:0 0 22px;display:flex}.summary-controls input{max-width:180px}.event-list{gap:10px;display:grid}.event-item{border:1px solid var(--line);background:#fff;border-radius:13px;align-items:flex-start;gap:13px;padding:17px 18px;display:flex}.event-icon{color:#7c9a72;background:#eff4eb;border-radius:10px;flex:none;place-items:center;width:34px;height:34px;display:grid}.event-icon svg{width:17px;height:17px}.event-content{flex:1;min-width:0}.event-title{flex-wrap:wrap;align-items:center;gap:8px;font-size:12px;font-weight:600;line-height:1.7;display:flex}.event-meta{color:#9ba793;margin-top:3px;font-size:10px}.event-text{color:#7f8e75;overflow-wrap:anywhere;white-space:pre-wrap;margin-top:5px;font-size:12px;line-height:1.8}.group-heading{align-items:center;gap:10px;margin:22px 0 10px;font-size:12px;font-weight:600;display:flex}.group-heading:after{content:"";background:var(--line);flex:1;height:1px}.group-heading .count{color:#a0ac95;font-size:10px;font-weight:400}.archive-card{border:1px solid var(--line);border-radius:var(--radius);background:#fff;margin-bottom:12px;padding:19px 21px}.archive-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.archive-header h3{font-size:15px;font-weight:650}.archive-meta{color:#93a087;margin-top:9px;font-size:11px;line-height:1.9}.archive-meta span{margin-right:14px}#dialog{width:min(560px,100% - 32px);max-height:90dvh;color:var(--ink);overscroll-behavior:contain;background:#fff;border:1px solid #e5eadf;border-radius:22px;padding:0;overflow:auto;box-shadow:0 30px 100px #183d2326}#dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#1a342d52}.dialog-close{color:#8d9c84;z-index:2;background:#f4f6ef;border-radius:50%;place-items:center;width:36px;height:36px;display:grid;position:absolute;top:18px;right:17px}.dialog-close:hover{color:var(--green);background:#e8eee1}.dialog-close svg{width:17px;height:17px}.dialog-header{border-bottom:1px solid var(--line);padding:28px 28px 20px}.dialog-eyebrow{letter-spacing:.14em;color:#9dac92;text-transform:uppercase;margin-bottom:5px;font-size:9px}.dialog-title{letter-spacing:-.02em;padding-right:27px;font-size:22px;font-weight:650;line-height:1.5}.dialog-description{color:#93a087;margin-top:6px;font-size:12px;line-height:1.8}.dialog-body{padding:23px 28px}.dialog-footer{border-top:1px solid var(--line);background:#fcfdf9;justify-content:flex-end;align-items:center;gap:9px;padding:17px 28px 23px;display:flex}.dialog-footer .button{min-width:86px}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 14px;display:grid}.field{flex-direction:column;gap:7px;min-width:0;display:flex}.field.full{grid-column:1/-1}.field-label{color:#718168;font-size:12px;font-weight:550;line-height:1.5;display:block}.field-label .subtle{margin-left:5px;font-size:10px;font-weight:400}.input,.select,.textarea{background:#fff;border:1px solid #dfe6d9;border-radius:9px;outline:none;width:100%;min-height:43px;padding:10px 11px;font-size:14px;line-height:1.5;transition:border-color .15s,box-shadow .15s}.input:focus,.select:focus,.textarea:focus{border-color:#77aa91;box-shadow:0 0 0 3px #14695f09}.input::placeholder,.textarea::placeholder{color:#b1baaa}.input[readonly]{color:#95a286;background:#f5f7ef}.textarea{resize:vertical;min-height:118px}.help-text{color:#a1ad94;font-size:10px;line-height:1.7}.chip-options{flex-wrap:wrap;gap:7px;display:flex}.check-chip{color:#8c9b7f;cursor:pointer;background:#fff;border:1px solid #e2e8db;border-radius:7px;align-items:center;gap:5px;min-height:34px;padding:5px 10px;font-size:11px;display:inline-flex}.check-chip input{accent-color:var(--green);width:13px;height:13px;margin:0}.check-chip.selected{color:#557e5b;background:#f0f6e9;border-color:#b9cfb3}.check-chip:has(input:checked){color:#557e5b;background:#f0f6e9;border-color:#b9cfb3}.bed-picker{grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;display:grid}.bed-option{color:#92a082;font-variant-numeric:tabular-nums;background:#f8faf4;border:1px solid #e0e8d8;border-radius:8px;justify-content:center;align-items:center;min-height:42px;font-size:13px;display:flex}.bed-option.selected{color:#386845;background:#e8f2e4;border-color:#64947a;box-shadow:0 0 0 1px #64947a}.bed-option.occupied,.bed-option:disabled{color:#c0c8b8;opacity:.7;background:#f5f6f2;border-color:#ecf0e5}.button{white-space:nowrap;border:1px solid #0000;border-radius:9px;justify-content:center;align-items:center;gap:7px;min-height:42px;padding:9px 16px;font-size:12px;font-weight:550;transition:background .15s;display:inline-flex}.button svg{width:16px;height:16px}.button.primary{background:var(--green);color:#fff;border-color:var(--green)}.button.primary:hover{background:var(--green-dark)}.button.secondary{color:#7d8e6e;background:#fff;border-color:#dde6d5}.button.secondary:hover{background:#f5f8ef}.button.danger{color:#b26a57;background:#fff3ed;border-color:#f2dace}.button.danger:hover{background:#fde9df}.button.ghost{color:#77916a;background:0 0;padding-left:8px;padding-right:8px}.button.ghost:hover{background:#f2f6eb}.inline-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.callout{color:#7b906a;background:#eff5e9;border:1px solid #e1ebd6;border-radius:10px;margin-bottom:19px;padding:12px 14px;font-size:11px;line-height:1.9}.callout.warning{color:#a58c53;background:#fff8e9;border-color:#f3e7c8}.callout p+p{margin-top:6px}.details-grid{grid-template-columns:1fr 1fr;gap:16px;margin:0 0 22px;display:grid}.details-grid dt{color:#a0ab94;margin-bottom:3px;font-size:10px}.details-grid dd{color:#718366;overflow-wrap:anywhere;margin:0;font-size:12px}.phone-row{border-bottom:1px solid var(--line);color:#839374;justify-content:space-between;gap:15px;padding:9px 0;font-size:12px;display:flex}.phone-row a{color:#64845b}.timeline{margin-top:18px;position:relative}.timeline:before{content:"";background:#e0e8d7;width:1px;position:absolute;top:8px;bottom:15px;left:6px}.timeline-item{padding:0 0 24px 27px;position:relative}.timeline-item:before{content:"";background:#8eac7d;border-radius:50%;width:7px;height:7px;position:absolute;top:7px;left:3px;box-shadow:0 0 0 4px #fff}.timeline-time{color:#9aa78c;margin-bottom:6px;font-size:10px}.timeline-body{color:#728466;overflow-wrap:anywhere;white-space:pre-wrap;background:#f7faf1;border:1px solid #eaf0e0;border-radius:9px;padding:11px 13px;font-size:12px;line-height:1.9}.timeline-top{color:#9aa88a;justify-content:space-between;align-items:center;gap:10px;margin-bottom:6px;font-size:10px;display:flex}.edit-note{color:#8a9f76;min-height:25px;padding:0 4px;font-size:10px}.timeline-body details{color:#9baa8c;border-top:1px solid #e2ead7;margin-top:8px;padding-top:7px;font-size:10px}.timeline-body summary{cursor:pointer}.settings-section{border:1px solid var(--line);border-radius:var(--radius);background:#fff;margin-bottom:18px;padding:23px 24px}.settings-section h2{margin-bottom:5px;font-size:15px;font-weight:600}.settings-section>.subtle{font-size:11px;line-height:1.9}.option-list{flex-wrap:wrap;gap:7px;margin:17px 0;display:flex}.option-pill{color:#8a9b77;background:#f2f6eb;border:1px solid #e3ebd8;border-radius:7px;align-items:center;gap:6px;padding:6px 9px;font-size:11px;display:inline-flex}.option-pill button{color:#a5b293;min-width:24px;min-height:24px}.settings-actions{gap:8px;margin-top:17px;display:flex}.settings-actions .input{max-width:320px}.radio-card{cursor:pointer;border:1px solid #e0e8d7;border-radius:10px;align-items:center;gap:11px;min-height:72px;margin-bottom:10px;padding:12px 14px;display:flex}.radio-card input{accent-color:var(--green)}.radio-card strong{font-size:13px;font-weight:550;display:block}.radio-card small{color:#a1ad93;margin-top:3px;font-size:10px;display:block}.radio-card.selected{background:#f1f7e9;border-color:#b9d0aa}.radio-card:has(input:checked){background:#f1f7e9;border-color:#b9d0aa}.toast{z-index:100;left:calc(50% + var(--sidebar-width)/2);color:#fff;opacity:0;pointer-events:none;background:#254d3ced;border-radius:10px;max-width:calc(100% - 40px);padding:11px 18px;font-size:12px;transition:opacity .2s,transform .2s;position:fixed;bottom:115px;transform:translate(-50%,12px);box-shadow:0 6px 24px #1d462b22}.toast.show,.toast.visible{opacity:1;transform:translate(-50%)}.toast:empty{display:none}[hidden]{display:none!important}.stat-card{text-align:left}.stat-label,.stat-number,.stat-foot{display:block}.stat-card:hover{border-color:#c9d9c6}.stat-icon svg{width:18px;height:18px}.stat-card:focus-visible{outline-offset:3px}.handover-strip{background:#f0f5ea;border:1px solid #e0e9d9;border-radius:12px;align-items:center;gap:12px;margin:-5px 0 26px;padding:15px 17px;display:flex}.handover-icon{color:#83a075;background:#e8f0df;border:1px solid #dbe7d0;border-radius:9px;flex:none;place-items:center;width:32px;height:32px;display:grid}.handover-icon svg{width:16px;height:16px}.handover-strip strong{color:#6e8c60;font-size:11px;font-weight:550}.handover-strip p{color:#9aac8a;margin-top:3px;font-size:10px}.handover-strip p b{color:#72945f;font-weight:600}.handover-strip>.button{color:#86a174;min-height:34px;margin-left:auto;padding:5px 6px;font-size:10px}.handover-strip>.button svg{width:13px;height:13px}.segment>span{opacity:.7;font-size:10px}.filter-chip svg{width:12px;height:12px}.bed-person{text-align:left;padding:0;display:block}.diagnosis{display:block}.note-preview{text-align:left;width:100%;font-weight:400;display:block}.tag svg{width:10px;height:10px}.doctor-pill{min-height:30px;padding:0}.doctor-pill.mine>span{color:#88a274;background:#f0f6e9;border:1px solid #d5e5cf;border-radius:3px;margin-left:2px;padding:1px 4px;font-size:8px}.card-menu svg{width:17px;height:17px}.bed-grid:has(.empty-bed){grid-template-columns:repeat(4,minmax(0,1fr))}.empty-bed{background:#f8faf4;border-style:dashed;flex-direction:column;align-items:center;gap:8px;min-height:148px;padding:19px 10px 13px;display:flex}.empty-bed .bed-number{color:#9cad8d;background:#eff4e8;border-color:#e3ebda}.empty-bed-label{color:#a3af96;font-size:10px}.empty-bed .claim-button{min-height:24px;padding:0;font-size:9px}.page-footnote{text-align:center;color:#a9b39e;margin:25px 0 5px;font-size:9px}.summary-intro{justify-content:space-between;align-items:center;gap:14px;margin-bottom:21px;display:flex}.summary-date{color:#93a087;align-items:center;gap:8px;font-size:11px;display:flex}.summary-date>svg{color:#a3b296;width:16px;height:16px}.summary-date label{white-space:nowrap}.summary-date .input{max-width:145px;min-height:37px;padding:6px 9px;font-size:12px}.summary-intro>.subtle{font-size:10px}.summary-stats .stat-card{min-height:93px}.summary-stats .stat-number{font-size:28px}.summary-stats .stat-card.active{background:#edf4ed}.event-title>.event-meta{margin-top:0;margin-left:auto;font-weight:400}.archive-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;display:grid}.archive-card{margin:0}.archive-header{justify-content:flex-start}.archive-header>.tag{margin-left:auto}.archive-card .inline-actions{border-top:1px solid var(--line);gap:4px;margin-top:14px;padding-top:13px}.archive-card .inline-actions .button{min-height:33px;padding:5px 9px;font-size:10px}.callout:has(>svg){align-items:center;gap:12px;display:flex}.callout>svg{flex:none;width:22px;height:22px}.callout>div{flex:1}.callout>.button{min-height:34px;padding:6px 10px;font-size:10px}.settings-section>.button{margin-top:18px}.settings-section>.help-text{margin-top:8px}.settings-actions{align-items:center}.settings-actions>.help-text{margin:0}.patient-context{background:#f5f8ee;border:1px solid #e5edda;border-radius:12px;align-items:center;gap:13px;margin-bottom:22px;padding:14px;display:flex}.patient-context strong{font-size:15px;font-weight:600}.patient-context .subtle{margin-top:3px;font-size:10px}.patient-context .bed-number{background:#eaf1e0;border-color:#e0ead4}.note-counter{justify-content:space-between;align-items:flex-start;gap:16px;margin-top:8px;display:flex}.note-counter .subtle{white-space:nowrap;flex:none;font-size:9px}.note-input{min-height:150px;margin-top:1px;line-height:1.8}.dialog-body>.field+.field{margin-top:18px}.dialog-body>.field+.help-text,.dialog-body>.form-grid+.help-text{margin-top:13px}.dialog-body>.field+.note-counter{margin-top:8px}.dialog-body fieldset{border:0;min-width:0;margin:0;padding:0}.dialog-body legend{margin-bottom:9px;padding:0}.claim-self{width:100%;margin-bottom:20px}.details-grid>div>strong,.details-grid>div>span:not(.field-label){color:#748968;margin-top:4px;font-size:12px;font-weight:400;display:block}.details-grid .field-label{color:#a3b095;font-size:10px}.details-grid .doctor-pill{margin-top:1px;font-size:11px}.details-grid+.tag-list{margin-bottom:7px}.timeline-note{white-space:pre-wrap;overflow-wrap:anywhere}.edit-history>div{border-top:1px dashed #e1e9d7;margin-top:10px;padding-top:6px}.edit-history small{font-size:9px}.profile-list,.restore-list{gap:9px;display:grid}.profile-list .radio-card,.restore-list .radio-card{text-align:left;width:100%;margin:0}.radio-card>svg:last-child{color:#8ca678;width:16px;height:16px;margin-left:auto}.avatar{color:#779661;background:#e6efda;border:1px solid #d9e5cd;border-radius:50%;flex:none;place-items:center;width:36px;height:36px;font-size:13px;display:grid}.form-error{color:#b57657;background:#fff6ef;border:1px solid #efd7c6;border-radius:8px;margin-top:16px;padding:10px 12px;font-size:11px;line-height:1.8}.toast.error{background:#955c46f2}.profile-text small{font-size:8px}@media (min-width:1500px){.workspace{padding-left:60px;padding-right:60px}.bed-grid{gap:19px}.bed-card{padding-top:23px}.page-header{padding-top:38px;padding-bottom:31px}}@media (max-width:1100px){:root{--sidebar-width:190px}.sidebar{padding-left:14px;padding-right:14px}.brand{gap:10px}.brand strong{font-size:21px}.brand-symbol{width:38px;height:41px}.workspace{padding-left:26px;padding-right:26px}.stat-card{padding:17px}.stat-icon{top:17px;right:15px}.bed-card{padding:17px 16px 0}.card-footer{margin-left:-16px;margin-right:-16px;padding-left:15px;padding-right:15px}.bed-head{gap:9px}.bed-number{min-width:40px;height:44px;font-size:18px}.bed-name{font-size:15px}.recent-badge{padding:2px 4px;font-size:8px}.note-preview{padding:10px}.tag{font-size:8px}.search-box{max-width:235px}.segment{padding:0 12px}}@media (max-width:820px){:root{--sidebar-width:0px}.sidebar{display:none}.workspace{max-width:none;margin-left:0;padding:0 24px 130px}.topbar{height:72px}.desktop-breadcrumb{display:none}.mobile-brand{letter-spacing:.06em;align-items:center;gap:8px;font-size:17px;font-weight:700;display:flex}.mobile-brand-mark{background:var(--green);color:#fff;letter-spacing:0;border-radius:8px;place-items:center;width:28px;height:30px;font-size:16px;font-weight:500;display:grid}.page-header{padding:23px 0 20px}.page-header h1{font-size:25px}.page-kicker{letter-spacing:.13em;margin-bottom:4px;font-size:8px}.page-header #page-subtitle{margin-top:5px;font-size:11px}.prototype-badge{padding:4px 7px;font-size:9px}.mobile-nav{grid-template-columns:repeat(var(--nav-count,5),minmax(0,1fr));border-bottom:1px solid var(--line);gap:2px;margin:0 0 21px;display:grid}.mobile-nav button{color:#9aa591;min-height:43px;padding:6px 0 13px;font-size:12px;position:relative}.mobile-nav button.active{color:#426b45;font-weight:650}.mobile-nav button.active:after{content:"";background:#63896a;border-radius:3px;height:2px;position:absolute;bottom:-1px;left:30%;right:30%}.stats{gap:12px}.stat-card{min-height:104px}.stat-number{font-size:29px}.bed-grid{gap:14px}.bed-card{padding:19px 18px 0}.card-footer{margin-left:-18px;margin-right:-18px;padding-left:17px;padding-right:17px}.bed-name{font-size:16px}.recent-badge{font-size:9px}.bottom-bar{bottom:16px;left:0}.toast{left:50%}.page-header .prototype-badge{align-self:flex-start;margin-top:22px}}@media (max-width:600px){.workspace{padding:0 18px 119px}.topbar{height:66px}.profile-switch{gap:7px}.profile-avatar{width:30px;height:30px;font-size:11px}.profile-text strong{font-size:11px}.profile-text small{font-size:8px}.profile-switch>svg{width:12px;height:12px}.mobile-brand{font-size:16px}.mobile-brand-mark{width:26px;height:28px;font-size:15px}.page-header{gap:10px;padding:19px 0 18px}.page-header h1{font-size:24px}.page-header #page-subtitle{max-width:205px;font-size:10px;line-height:1.7}.page-header .prototype-badge{gap:4px;margin-top:21px;padding:3px 5px;font-size:8px}.page-kicker{font-size:7px}.mobile-nav{margin-bottom:18px}.mobile-nav button{min-height:44px;padding-top:8px;padding-bottom:11px;font-size:12px}.stats{gap:9px;margin-bottom:20px}.stat-card{border-radius:13px;min-height:103px;padding:14px 13px}.stat-icon{display:none}.stat-label{font-size:9px}.stat-number{margin-top:4px;font-size:28px}.stat-foot{white-space:nowrap;letter-spacing:-.02em;font-size:8px}.stat-number small,.stat-number span{margin-left:3px;font-size:9px}.toolbar{flex-wrap:wrap;gap:12px;margin-bottom:12px}.segmented{border-radius:9px;padding:3px}.segment{min-height:34px;padding:0 15px;font-size:11px}.search-box{border-radius:9px;order:2;width:100%;min-width:0;max-width:none;padding:0 12px}.search-box input{height:44px;font-size:16px}.search-box input::placeholder{font-size:11px}.filter-row{gap:3px;margin-bottom:15px}.filter-chip{min-height:33px;padding:4px 8px;font-size:10px}.filter-chip .count{font-size:9px}.filter-row>.subtle{font-size:8px}.section-heading{margin-top:20px}.section-title{font-size:13px}.bed-grid{grid-template-columns:1fr;gap:13px}.bed-card{border-radius:16px;padding:19px 18px 0}.bed-number{min-width:45px;height:47px;font-size:21px}.bed-head{gap:12px}.bed-name{font-size:16px}.diagnosis{font-size:11px}.recent-badge{padding:2px 6px;font-size:9px}.tag-list{margin-top:13px}.tag{font-size:9px}.note-preview{min-height:73px;margin-top:12px;padding:10px 12px}.note-meta{font-size:9px}.note-text{font-size:12px}.card-footer{min-height:46px;margin-top:15px;padding-top:8px;padding-bottom:8px}.card-footer .button{font-size:10px}.bed-card.empty{min-height:120px;padding-bottom:17px}.bottom-bar{padding:0;bottom:0}.bottom-actions{width:100%;padding:7px 8px calc(7px + env(safe-area-inset-bottom,0px));background:#fffffff5;border-width:1px 0 0;border-radius:0;box-shadow:0 -6px 24px #25462a06}.bottom-actions>button{gap:5px;min-height:56px;font-size:9px}.bottom-actions>button svg{width:20px;height:20px}.bottom-actions .action-main{border-radius:13px;flex-direction:column;gap:5px;min-height:56px;margin:0 5px;font-size:10px}.bottom-actions .action-main svg{width:22px;height:22px}.summary-controls{flex-wrap:wrap;gap:10px;margin-bottom:17px}.summary-controls input{max-width:165px;min-height:43px;font-size:16px}.summary-controls .segment{padding:0 10px;font-size:10px}.event-item{gap:11px;padding:15px 14px}.event-title,.event-text{font-size:11px}.archive-card{border-radius:14px;padding:17px}.archive-header h3{font-size:14px}.archive-header .button{min-height:35px;padding:6px 10px;font-size:10px}.archive-meta{font-size:10px}.settings-section{border-radius:15px;padding:20px 17px}.settings-section h2{font-size:14px}.settings-actions{flex-wrap:wrap}.settings-actions .input{flex:1;min-width:120px;max-width:none}.settings-actions .button{min-height:44px}.option-pill{font-size:10px}.input,.select,.textarea{min-height:46px;font-size:16px}.input::placeholder,.textarea::placeholder{font-size:12px}.field-label{font-size:11px}.form-grid{gap:16px 11px}.button{min-height:44px;font-size:12px}.help-text{font-size:10px}#dialog{width:100%;max-width:none;max-height:91dvh;padding-bottom:env(safe-area-inset-bottom,0px);border-width:1px 0 0;border-radius:22px 22px 0 0;margin:auto 0 0;box-shadow:0 -14px 80px #14342119}.dialog-close{min-width:40px;min-height:40px;top:20px;right:17px}.dialog-header{padding:26px 22px 18px}.dialog-header:before{content:"";background:#dde6d6;border-radius:4px;width:36px;height:4px;display:block;position:absolute;top:8px;left:calc(50% - 18px)}.dialog-title{font-size:21px}.dialog-description{font-size:11px}.dialog-body{padding:20px 22px}.dialog-footer{z-index:2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff7;padding:16px 22px 21px;position:sticky;bottom:0}.dialog-footer .button{flex:1;min-height:46px}.bed-picker{gap:6px}.bed-option{min-height:43px;font-size:12px}.details-grid{gap:13px}.timeline-body{padding:11px;font-size:12px}.toast{bottom:calc(91px + env(safe-area-inset-bottom,0px));width:max-content;max-width:calc(100% - 32px);padding:10px 14px;font-size:11px}}@media (max-width:360px){.workspace{padding-left:13px;padding-right:13px}.profile-avatar{display:none}.page-header .prototype-badge{font-size:7px}.stat-card{padding-left:11px;padding-right:10px}.stat-foot{font-size:7px}.bed-card{padding-left:15px;padding-right:15px}.card-footer{margin-left:-15px;margin-right:-15px}.recent-badge{padding:2px 4px;font-size:8px}.bed-name{font-size:15px}.bed-number{min-width:41px}.dialog-body,.dialog-header,.dialog-footer{padding-left:17px;padding-right:17px}.bed-picker{gap:4px}.bed-option{font-size:11px}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}}@media (max-width:820px){.handover-strip{margin-bottom:22px}.archive-list{gap:13px}.summary-date .input{min-height:42px;font-size:16px}.bed-grid:has(.empty-bed){grid-template-columns:repeat(4,minmax(0,1fr))}}@media (max-width:600px){.handover-strip{border-radius:10px;gap:8px;margin:-3px 0 18px;padding:12px 11px}.handover-icon{border-radius:8px;width:29px;height:29px}.handover-strip strong{font-size:10px}.handover-strip p{margin-top:3px;font-size:8px}.handover-strip>.button{white-space:nowrap;gap:4px;padding:3px;font-size:9px}.handover-strip>.button svg{width:11px;height:11px}.segment>span{font-size:9px}.filter-chip svg{width:11px;height:11px}.page-footnote{margin-top:20px;font-size:8px;line-height:1.8}.bed-grid:has(.empty-bed){grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.empty-bed{gap:6px;min-height:136px;padding:16px 5px 10px}.empty-bed .bed-number{min-width:41px;height:44px;font-size:20px}.empty-bed .claim-button{gap:3px;font-size:8px}.empty-bed .claim-button svg{width:10px;height:10px}.summary-intro{flex-direction:column;align-items:flex-start;gap:10px;margin-bottom:17px}.summary-date{gap:8px;width:100%;font-size:11px}.summary-date .input{max-width:175px;min-height:43px;font-size:16px}.summary-intro>.subtle{font-size:9px}.summary-stats .stat-card{min-height:87px;padding:13px}.summary-stats .stat-number{margin-top:5px;font-size:27px}.archive-list{grid-template-columns:minmax(0,1fr)}.archive-card .inline-actions .button{min-height:40px;font-size:11px}.callout:has(>svg){flex-wrap:wrap;gap:9px}.callout>div{min-width:180px}.callout>.button{min-height:36px;margin-left:30px;font-size:10px}.patient-context{gap:11px;margin-bottom:20px;padding:12px}.patient-context strong{font-size:14px}.patient-context .subtle{font-size:10px}.note-counter{gap:12px}.note-counter>.help-text{font-size:9px}.note-counter .subtle{font-size:8px}.note-input{min-height:150px}.dialog-body>.field+.field{margin-top:17px}.bed-option:has(strong){flex-direction:column;justify-content:center;gap:4px;min-height:60px;padding:5px 2px;display:flex}.bed-option strong{font-size:13px;font-weight:550;line-height:1.1}.bed-option strong small{margin-left:2px;font-size:7px;font-weight:400}.bed-option>span{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:7px;line-height:1.2;overflow:hidden}.bed-option.occupied:not(:disabled){color:#78965f;opacity:1;background:#eff5e7;border-color:#dbe8ce}.profile-text small{font-size:7px}.profile-list .radio-card,.restore-list .radio-card{min-height:72px;padding:12px}.form-error{font-size:11px}}.bed-option.occupied:not(:disabled){color:#78965f;opacity:1;background:#eff5e7;border-color:#dbe8ce}.bed-option:has(strong){flex-direction:column;justify-content:center;gap:5px;min-height:62px;padding:6px 2px;display:flex}.bed-option strong{font-size:14px;font-weight:550;line-height:1.1}.bed-option strong small{margin-left:2px;font-size:9px;font-weight:400}.bed-option>span{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:9px;line-height:1.3;overflow:hidden}@media (max-width:600px){.profile-text strong{font-size:12px}.profile-text small{font-size:9px}.profile-switch{gap:7px}.profile-switch>svg{margin-left:0}.page-header #page-subtitle{font-size:11px}.prototype-badge{font-size:9px}.stat-label{font-size:11px}.stat-foot{white-space:normal;font-size:9px;line-height:1.5}.stat-card{min-height:111px}.stat-number{margin-top:3px}.handover-strip strong{font-size:12px}.handover-strip p{font-size:11px;line-height:1.6}.handover-strip>.button{gap:3px;min-height:44px;font-size:11px}.handover-strip>.button svg,.handover-icon{display:none}.segment{padding-left:13px;padding-right:13px;font-size:12px}.segment>span{font-size:10px}.filter-chip{min-height:37px;font-size:11px}.filter-hint{font-size:10px!important}.bed-name{font-size:17px}.diagnosis{font-size:12px;line-height:1.6}.recent-badge{font-size:10px}.tag{padding:2px 6px;font-size:11px}.tag-list{gap:6px}.note-meta{gap:6px;font-size:11px}.note-text{margin-top:6px;font-size:14px;line-height:1.75}.note-preview{min-height:93px;padding:11px 12px}.card-footer{min-height:54px}.doctor-pill{min-height:36px;font-size:12px}.doctor-pill.mine>span{font-size:9px}.claim-button{min-height:36px;font-size:12px}.card-footer .button{font-size:12px}.bottom-actions>button{min-height:58px;font-size:11px}.bottom-actions .action-main{min-height:58px;font-size:12px}.page-footnote{font-size:10px}.summary-intro>.subtle{font-size:11px}.summary-date{font-size:12px}.summary-stats .stat-card{min-height:92px}.event-title,.event-text{font-size:13px}.event-meta{font-size:11px}.group-heading{font-size:13px}.group-heading .count{font-size:11px}.archive-meta,.archive-card .inline-actions .button,.field-label{font-size:12px}.help-text{font-size:11px}.dialog-description{font-size:12px}.patient-context strong{font-size:16px}.patient-context .subtle{font-size:12px}.note-counter>.help-text{font-size:11px}.note-counter .subtle{font-size:10px}.details-grid .field-label{font-size:11px}.details-grid>div>strong,.details-grid>div>span:not(.field-label){font-size:13px}.details-grid .doctor-pill,.timeline-time,.timeline-top{font-size:12px}.timeline-body{font-size:14px}.edit-note{min-height:32px;font-size:12px}.timeline-body .help-text{font-size:11px}.radio-card strong{font-size:15px}.radio-card small{font-size:12px}.check-chip{min-height:40px;font-size:12px}.bed-picker{grid-template-columns:repeat(6,minmax(0,1fr))}.bed-option:has(strong){min-height:65px}.bed-option strong{font-size:15px}.bed-option strong small,.bed-option>span{font-size:10px}.callout,.callout>.button,.settings-section>.subtle,.option-pill{font-size:12px}.settings-actions>.help-text{font-size:11px}.form-error{font-size:12px}}:root{--muted:#718078;--soft:#85948b}.diagnosis,.note-text,.doctor-pill,.timeline-body,.event-text,.archive-meta,.details-grid>div>strong,.details-grid>div>span:not(.field-label){color:#53665b}.note-meta,.help-text,.timeline-time,.timeline-top,.event-meta,.dialog-description,.field-label,.details-grid .field-label,.phone-row,.profile-text small,.stat-label,.stat-foot,.summary-date,.summary-intro>.subtle,.page-footnote,.empty-state p,.empty-state h3,.check-chip,.option-pill{color:#718078}.tag{color:#6e7e64}.tag.warn{color:#9b751f}.segment,.filter-chip,.mobile-nav button,.claim-button,.bottom-actions>button{color:#718078}.doctor-pill.mine,.doctor-pill.mine>span,.claim-button:hover{color:#477854}.handover-strip p{color:#718078}.handover-strip p b,.handover-strip strong,.handover-strip>.button{color:#527749}.input::placeholder,.textarea::placeholder,.search-box input::placeholder{color:#819086}.callout{color:#657b58}.callout.warning{color:#9b7b37}.edit-note,.timeline-body details,.settings-section>.subtle,.radio-card small{color:#718078}@media (max-width:600px){.topbar{height:56px}.page-kicker{display:none}.page-header{align-items:center;padding:14px 0}.page-header>div{flex:1;min-width:0}.page-header h1{font-size:23px;line-height:1.35}.page-header #page-subtitle{white-space:nowrap;text-overflow:ellipsis;max-width:none;margin-top:3px;font-size:11px;line-height:1.5;overflow:hidden}.page-header .prototype-badge{align-self:center;margin-top:0}.mobile-nav{margin-bottom:11px}.mobile-nav button{height:44px;min-height:44px;padding:7px 0 11px}.stats{gap:9px;margin-bottom:12px}.stat-card{min-height:90px;padding:9px 12px}.stat-label{line-height:1.4}.stat-number{margin-top:3px;font-size:27px;line-height:1.25}.stat-foot{white-space:nowrap;text-overflow:ellipsis;margin-top:3px;font-size:9px;line-height:1.4;overflow:hidden}.handover-strip{gap:8px;min-height:56px;margin:0 0 13px;padding:6px 12px}.handover-strip strong{font-size:11px;line-height:1.4}.handover-strip p{margin-top:2px;font-size:11px;line-height:1.5}.handover-strip>.button{min-height:44px;font-size:11px}.toolbar{gap:6px;margin-bottom:6px}.toolbar>.segmented{background:0 0;border:0;gap:2px;width:100%;padding:0}.toolbar>.segmented .segment{border-radius:8px;flex:1;min-height:44px;padding:0 9px}.toolbar>.segmented .segment.active{box-shadow:none;background:#e9f0e5}.search-box input{height:44px}.filter-row{gap:2px;margin-bottom:8px}.filter-chip{min-height:44px;padding:4px 8px}.filter-row>.filter-hint{display:none}.bed-card{padding-top:16px}.tag-list{margin-top:9px}.note-preview{min-height:84px;margin-top:10px;padding:10px 12px}.note-text{margin-top:5px;font-size:14px;line-height:1.65}.card-footer{min-height:48px;margin-top:10px;padding-top:1px;padding-bottom:1px}.doctor-pill,.claim-button{min-height:44px}.card-menu{width:40px;height:40px}.summary-stats .stat-card{min-height:84px}.summary-stats .stat-number{line-height:1.3}.summary-intro{margin-bottom:15px}.section-heading{margin-top:16px}.summary-group .group-heading{margin-top:17px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important}}.sync-badge{color:#53745e;white-space:nowrap;background:#edf5ef;border:1px solid #d8e5d9;border-radius:7px;align-items:center;gap:6px;min-height:38px;padding:7px 10px;font-size:11px;display:inline-flex}.sync-badge.failed{color:#8b6b2b;background:#fff5df;border-color:#ead6a7}.pagination{color:#718078;justify-content:center;align-items:center;gap:14px;margin:23px 0;font-size:12px;display:flex}.patient-actions{margin-top:18px}.form-body{border:0;min-width:0;margin:0;padding:0}.form-body>.field+.field{margin-top:17px}.form-body>.help-text{margin-bottom:12px}.form-body>.field+.help-text{margin-top:10px}.form-body .note-counter{margin-top:9px}.form-body .field.full{min-width:0}.form-body>fieldset{border:0}.form-body legend{margin-bottom:9px}.user-list{gap:8px;margin-top:18px;display:grid}.user-list .radio-card{text-align:left;width:100%;margin:0}.option-pill.inactive{opacity:.65;background:#f2f2ef}.settings-section>.inline-actions{margin-top:18px}.conflict-box{background:#fffbef;border:1px solid #dfc997;border-radius:10px;gap:10px;margin-top:14px;padding:13px;display:grid}.latest-preview{white-space:pre-wrap;overflow-wrap:anywhere;color:#5a6456;font-size:12px}.login-page{background:radial-gradient(ellipse at top,#e9f2e9,transparent 65%),var(--bg);place-items:center;min-height:100dvh;padding:28px 20px;display:grid}.login-card{border:1px solid var(--line);background:#fff;border-radius:22px;width:min(410px,100%);padding:34px;box-shadow:0 20px 60px #1b47310a}.login-brand{background:var(--green);color:#fff;border-radius:13px;place-items:center;width:48px;height:50px;margin-bottom:21px;font-size:27px;display:grid}.login-card h1{letter-spacing:.08em;margin-bottom:8px;font-size:28px}.login-card form{gap:18px;margin:28px 0 18px;display:grid}.login-card form>.button{width:100%;min-height:46px}.login-card .input{font-size:16px}.login-card .field-label{font-size:13px}.login-card .help-text{font-size:11px}.login-card .page-kicker{display:block}.bed-card button:disabled{opacity:.6}.details-grid strong{overflow-wrap:anywhere}.dialog-body .textarea{white-space:pre-wrap}.mobile-brand{color:var(--ink)}@media (max-width:820px){.mobile-nav a{color:#718078;place-items:center;height:44px;min-height:44px;padding:7px 0 11px;font-size:12px;display:grid;position:relative}.mobile-nav a.active{color:#426b45;font-weight:650}.mobile-nav a.active:after{content:"";background:#63896a;border-radius:3px;height:2px;position:absolute;bottom:-1px;left:30%;right:30%}}@media (max-width:600px){.sync-badge{min-height:36px;padding:6px;font-size:10px}.page-header{gap:7px}.profile-switch>svg{width:13px;height:13px}.login-card{padding:28px 23px}.patient-actions .button{padding:8px 10px;font-size:12px}.dialog-body .patient-context{margin-bottom:18px}.conflict-box .button{white-space:normal}.settings-section .section-heading{align-items:flex-start}.note-counter .help-text{font-size:11px}.stat-card.active:hover{border-color:#94bca4}}.patient-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.archive-card{min-width:0}.archive-header .bed-name,.patient-context strong{overflow-wrap:anywhere}.archive-header>.tag{flex:none}.patient-context>div{overflow-wrap:anywhere;min-width:0}.archive-header .diagnosis{white-space:normal;overflow-wrap:anywhere}#dialog[open]{flex-direction:column;display:flex;overflow:hidden}#dialog>.dialog-header,#dialog>.dialog-footer,.dialog-footer{flex:none}#dialog>form{flex-direction:column;min-height:0;display:flex}.dialog-body{overscroll-behavior:contain;min-height:0;overflow:auto}.filter-status{color:#53665b;justify-content:space-between;align-items:center;gap:10px;margin:-2px 0 12px;font-size:12px;display:flex}.filter-status>span{overflow-wrap:anywhere;min-width:0}.filter-status .button{flex:none;min-height:36px;padding:4px 8px;font-size:11px}.picker-controls{align-items:center;gap:8px;margin-bottom:14px;display:flex}.picker-controls .search-box{flex:1;order:0;width:auto;min-width:0;max-width:none}.picker-controls .filter-chip{white-space:nowrap;flex:none;min-height:44px}.picker-empty{text-align:center;color:var(--muted);padding:28px 12px;font-size:13px}.discard-confirmation{border:1px solid var(--line);width:min(400px,100% - 32px);max-height:calc(100dvh - 32px);color:var(--ink);background:#fff;border-radius:18px;margin:auto;padding:0;overflow:auto;box-shadow:0 24px 80px #183d2330}.discard-confirmation::backdrop{background:#1a342d52}.discard-body{padding:24px}.discard-body h2{font-size:18px;line-height:1.5}.discard-body p{color:var(--muted);margin-top:8px;font-size:13px;line-height:1.7}.discard-confirmation .dialog-footer{padding:14px 20px 18px}@media (max-width:600px){.workspace:has(.patient-stats) .page-header{padding:10px 0}.patient-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-bottom:9px}.patient-stats .stat-card{border-radius:11px;flex-direction:column;justify-content:center;align-items:center;min-height:72px;padding:9px 4px;display:flex}.patient-stats .stat-label{white-space:nowrap;font-size:11px}.patient-stats .stat-number{margin-top:4px;font-size:24px;line-height:1.2}.patient-stats .stat-number small{margin-left:2px;font-size:9px}.patient-stats .stat-foot,.patient-stats .stat-icon{display:none}.workspace:has(.patient-stats) .handover-strip{min-height:44px;margin-bottom:9px;padding:0 10px}.workspace:has(.patient-stats) .handover-strip strong{display:none}.workspace:has(.patient-stats) .handover-strip p{margin-top:0;line-height:1.4}.filter-status .button{min-height:44px}}html{scrollbar-gutter:stable}html:has(dialog[open]){overflow:hidden}.mobile-nav{position:relative}.mobile-nav a.active:after{display:none}.mobile-nav-indicator{width:calc(100% / var(--nav-count,5));pointer-events:none;height:2px;transition:transform .4s cubic-bezier(.22,1,.36,1);position:absolute;bottom:-1px;left:0}.mobile-nav-indicator:after{content:"";background:#63896a;border-radius:3px;width:40%;height:2px;margin:auto;display:block}#dialog::backdrop{-webkit-backdrop-filter:none;backdrop-filter:none;animation:.18s both dialog-backdrop-in}#dialog.closing::backdrop{animation:.12s both dialog-backdrop-out}.button:active,.bottom-actions>button:active{transform:translateY(1px)}@keyframes dialog-backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes dialog-backdrop-out{0%{opacity:1}to{opacity:0}}@media (prefers-reduced-motion:reduce){*,:before,:after,#dialog::backdrop{transition:none!important;animation:none!important}}
