:root{--font-wordmark:"Barlow Semi Condensed", "Noto Sans JP", sans-serif;--wordmark-ink:#0d2452;--font:"Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "BIZ UDPGothic", Meiryo, sans-serif;--blue-1000:#00118f;--blue-900:#0017c1;--blue-800:#0031d8;--blue-600:#3460fb;--blue-300:#9db7f9;--blue-200:#c5d7fb;--blue-100:#dce6fd;--blue-50:#e8f1fe;--gray-900:#1a1a1c;--gray-800:#2f2f31;--gray-700:#414143;--gray-600:#626264;--gray-536:#767679;--gray-420:#949494;--gray-300:#d8d8db;--gray-200:#e6e6e9;--gray-100:#f1f1f4;--gray-50:#f8f8fa;--white:#fff;--error:#ec0000;--error-bg:#fdeeee;--error-line:#f5b5b5;--warn:#8a5f00;--warn-bg:#fff5d6;--warn-line:#f1d98a;--ok:#166a3c;--ok-bg:#e6f5ec;--ok-line:#b6e0c6;--pending:#a05200;--pending-bg:#fff2e3;--pending-line:#f2c89a;--bg:var(--gray-50);--panel:var(--gray-100);--panel-2:var(--white);--line:var(--gray-300);--line-2:var(--gray-200);--line-strong:var(--gray-420);--text:var(--gray-900);--muted:var(--gray-600);--muted-2:var(--gray-536);--badge-fg:var(--gray-700);--accent:var(--blue-900);--accent-hover:var(--blue-1000);--accent-soft:var(--blue-50);--accent-line:var(--blue-200);--accent-text:var(--white);--danger:var(--error);--danger-bg:var(--error-bg);--monitor:#0b0b0c;--monitor-2:#151517;--monitor-3:#1e1e21;--monitor-line:#2a2a2e;--monitor-line-2:#3a3a3f;--monitor-text:#e6e6e6;--monitor-muted:#9a9a9e;--paw:#ffd23f;--flow:#5fd3ff;--vol:#fff;--pes:#ff9d5c;--pl:#9be27a;--co2:#cfcfcf;--ref:#8a8a8e;--alarm:#ff5b5b;--vital-spo2:#5fd3ff;--vital-hr:#7ee081;--vital-bp:#fff;--vital-etco2:#ffd23f;--radius:6px;--radius-lg:8px;--radius-pill:999px;--tab-h:56px;--safe-b:env(safe-area-inset-bottom,0px);--safe-t:env(safe-area-inset-top,0px);--fs-body:16px;--fs-small:14px;--fs-h1:28px;--fs-h2:22px;--fs-h3:18px;--lh-body:1.7;--c-ink:#14213a;--c-sub:#4a566b;--c-mut:#6b7385;--c-line:#dfe4ec;--c-line-strong:#c3cbd8;--c-navy:#102b55;--c-navy-soft:#e9eff8;--c-navy-line:#c3d0e4;--c-done:#1f7a4d;--c-done-soft:#e7f4ec;--c-open:#8a93a3;--c-place:#1d5bd8;--c-place-halo:#1d5bd833;--c-place-soft:#eaf1ff;--c-place-on-dark:#8ab4ff;--c-alarm:#c8322a;--c-alarm-soft:#fdecea;--fs-page:24px;--fs-theme:17px;--fs-sheet:15px;--fs-note:13px;--fs-label:12px;--sp-1:4px;--sp-2:8px;--sp-3:12px;--sp-4:16px;--sp-6:24px;--sp-8:32px;--r-chip:8px;--r-btn:12px;--r-card:18px;--r-pill:999px;--h-btn-primary:52px;--h-btn:44px;--tap-min:44px;--sheet-half:42vh;--sheet-body-min:168px;--t-press:.12s;--t-switch:.18s;--t-sheet:.24s;--t-check:.32s;--t-track:.6s;--t-next:.9s;--t-place:1.6s;--ease-out:cubic-bezier(.2, .8, .2, 1);--ease-pop:cubic-bezier(.2, 1.4, .4, 1);--lung-open:#3f8fd0;--lung-open-soft:#d6e8f7;--lung-lowvq:#2f9e5f;--lung-closed:#8f979f;--lung-consolidated:#c9c6bf;--lung-unavail:#111214;--lung-hatch:#6d6a64;--lung-ct-bg:#050607;--lung-ct-tissue:#3b3e43;--lung-ct-heart:#5d6167;--lung-ct-bone:#d9d9d9;--lung-ct-air:#0d0f12;--lung-ct-edge:#9aa0a6}@media (prefers-reduced-motion:reduce){:root{--t-switch:0s;--t-sheet:0s;--t-check:0s;--t-track:0s;--t-next:0s;--t-place:0s}}main p{line-break:strict}*,:before,:after{box-sizing:border-box}html,body{background:var(--bg);color:var(--text);font:var(--fs-body) / var(--lh-body) var(--font);font-variant-numeric:tabular-nums;-webkit-text-size-adjust:100%;text-rendering:optimizelegibility;margin:0}body{overscroll-behavior-y:none}#root{flex-direction:column;min-height:100dvh;display:flex}#root>main{flex:1 0 auto}a{color:var(--accent);text-underline-offset:2px}a:hover{color:var(--accent-hover)}button,input,select,textarea{font:inherit;color:inherit}h1,h2,h3,h4{letter-spacing:.01em;margin:0 0 8px;font-weight:700;line-height:1.35}h1{font-size:var(--fs-h1)}h2{font-size:var(--fs-h2)}h3{font-size:var(--fs-h3)}h4{font-size:var(--fs-body)}p{margin:0 0 10px}small,.muted{color:var(--muted);font-size:var(--fs-small)}.small{font-size:var(--fs-small)}b,strong{font-weight:700}hr{border:0;border-top:1px solid var(--line-2);margin:16px 0}ul.plain{margin:0;padding-left:20px}ul.plain li+li{margin-top:4px}ol{padding-left:22px}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.dark-surface :focus-visible,.wave :focus-visible,.monitor-values :focus-visible{outline:3px solid var(--flow);outline-offset:2px}main:focus,.sim:focus,[tabindex="-1"]:focus{outline:none}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.skip-link{z-index:100;background:var(--accent);color:var(--accent-text);border-radius:var(--radius);padding:10px 14px;font-weight:700;text-decoration:none;position:absolute;top:-60px;left:8px}.skip-link:focus{top:8px}button,a.button,.button-like{border:1px solid var(--line-strong);border-radius:var(--radius);background:var(--panel-2);min-height:44px;color:var(--text);cursor:pointer;touch-action:manipulation;justify-content:center;align-items:center;gap:6px;padding:8px 16px;font-weight:700;line-height:1.3;text-decoration:none;transition:background-color .12s,border-color .12s;display:inline-flex}button:hover:not(:disabled),a.button:hover{background:var(--gray-100);border-color:var(--gray-536)}button:disabled{opacity:.45;cursor:default}button.primary,a.button.primary{background:var(--accent);border-color:var(--accent);color:var(--accent-text)}button.primary:hover:not(:disabled),a.button.primary:hover{background:var(--accent-hover);border-color:var(--accent-hover)}button.danger{color:var(--danger);border-color:var(--error-line);background:var(--danger-bg)}button.danger:hover:not(:disabled){background:#fbdada}button.ghost{color:var(--accent);background:0 0;border-color:#0000}button.ghost:hover:not(:disabled){background:var(--accent-soft);border-color:#0000}button.small,a.button.small{min-height:36px;font-size:var(--fs-small);padding:4px 12px}button.big,a.button.big{min-height:52px;padding:10px 22px;font-size:17px}button.on{background:var(--gray-900);border-color:var(--gray-900);color:var(--white)}button .icon{flex:none}input,select,textarea{border:1px solid var(--line-strong);border-radius:var(--radius);background:var(--white);min-width:0;min-height:44px;padding:8px 12px}input[type=number]{font-variant-numeric:tabular-nums}input[type=checkbox],input[type=radio]{width:22px;height:22px;min-height:0;accent-color:var(--accent)}input[type=range]{min-height:0;accent-color:var(--accent);background:0 0;border:none;padding:0}.field{flex-direction:column;gap:4px;display:flex}.field>span{font-size:var(--fs-small);color:var(--muted);font-weight:700}.field input,.field select,.field textarea{font-size:16px}.field.inline{flex-direction:row;align-items:center;gap:6px}.field.inline input,.field.inline select{width:92px;min-height:40px;padding:4px 8px}.field.inline.check input[type=checkbox]{flex:none;width:22px;height:22px;min-height:0;padding:0}.field.check{flex-direction:row;align-items:center;gap:10px}.field.check>span{color:var(--text);font-weight:400;font-size:var(--fs-body)}.page{max-width:1040px;padding:24px 16px calc(32px + var(--safe-b));width:100%;margin:0 auto}.page.wide{max-width:1400px}.page.narrow{max-width:680px}@media (width>=720px){.page{padding-left:24px;padding-right:24px}}.row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.stack{flex-direction:column;gap:10px;display:flex}.grid2{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:12px;display:grid}.spacer{flex:1}@media (width<=1023px){.grid2{grid-template-columns:1fr}}.card{background:var(--panel-2);border:1px solid var(--line);border-radius:var(--radius-lg);margin-bottom:16px;padding:20px}.card>h2:first-child,.card>h3:first-child{margin-top:0}.card h2{border-bottom:1px solid var(--line-2);margin-bottom:12px;padding-bottom:8px;font-size:19px}.card.dark{background:var(--panel);border-color:var(--line-2)}.card-kicker{color:var(--muted);letter-spacing:.02em;margin-bottom:2px;font-size:13px;font-weight:700;display:block}.badge{border-radius:var(--radius-pill);background:var(--gray-100);color:var(--badge-fg);border:1px solid var(--line-2);white-space:nowrap;align-items:center;gap:4px;padding:1px 9px;font-size:13px;font-weight:700;line-height:1.6;display:inline-flex}.badge.pending{background:var(--pending-bg);color:var(--pending);border-color:var(--pending-line)}.badge.danger{background:var(--danger-bg);color:var(--danger);border-color:var(--error-line)}.badge.ok{background:var(--ok-bg);color:var(--ok);border-color:var(--ok-line)}.badge.warn{background:var(--warn-bg);color:var(--warn);border-color:var(--warn-line)}.badge.accent{background:var(--accent-soft);color:var(--accent);border-color:var(--accent-line)}.tag{border:1px solid var(--line);border-radius:var(--radius-pill);color:var(--badge-fg);background:var(--white);white-space:nowrap;padding:2px 10px;font-size:13px;line-height:1.5}.tags{flex-wrap:wrap;gap:6px;margin:4px 0 0;display:flex}.notice{border-radius:var(--radius);border:1px solid var(--line);background:var(--panel);align-items:flex-start;gap:10px;margin-bottom:12px;padding:12px 14px;font-size:15px;display:block}.notice.row{display:flex}.notice:has(>.icon){display:flex}.notice:has(>progress){display:flex}.notice>.icon{flex:none;margin-top:3px}.notice.danger{background:var(--danger-bg);border-color:var(--error-line);color:#7a1f14}.notice.warn{background:var(--warn-bg);border-color:var(--warn-line);color:#5d4200}.notice.ok{background:var(--ok-bg);border-color:var(--ok-line);color:#144d2c}.notice.info{background:var(--accent-soft);border-color:var(--accent-line);color:var(--blue-1000)}table.data{border-collapse:collapse;width:100%;font-size:15px}table.data th,table.data td{border-bottom:1px solid var(--line-2);text-align:right;white-space:nowrap;padding:8px 10px}table.data th:first-child,table.data td:first-child{text-align:left}table.data thead th{color:var(--muted);border-bottom:2px solid var(--line);background:var(--gray-50);font-size:13px;font-weight:700}table.data tbody tr:hover td{background:var(--gray-50)}.table-wrap,.table-scroll{-webkit-overflow-scrolling:touch;overflow-x:auto}.kv{grid-template-columns:fit-content(45%) minmax(0,1fr);gap:6px 16px;margin:0;font-size:15px;display:grid}.kv dt{color:var(--muted)}.kv dd{margin:0}.seg{border:1px solid var(--line-strong);border-radius:var(--radius);background:var(--white);display:inline-flex;overflow:hidden}.seg button{background:var(--white);min-width:96px;min-height:42px;color:var(--text);border:0;border-radius:0}.seg button+button{border-left:1px solid var(--line)}.seg button.on{background:var(--accent);color:var(--accent-text)}.seg button:hover:not(.on):not(:disabled){background:var(--gray-100)}.topbar{background:var(--white);border-bottom:1px solid var(--line);align-items:center;gap:16px;min-height:56px;padding:0 16px;display:flex}.topbar .brand{color:var(--text);align-items:center;gap:8px;font-size:17px;font-weight:700;text-decoration:none;display:inline-flex}.topbar .brand .icon{color:var(--accent)}.topbar nav{flex-wrap:wrap;gap:2px;margin-left:auto;display:flex}.topbar nav a{min-height:40px;color:var(--gray-700);border-radius:var(--radius);border-bottom:3px solid #0000;align-items:center;padding:4px 12px;font-size:15px;font-weight:700;text-decoration:none;display:inline-flex}.topbar nav a:hover{background:var(--gray-100);color:var(--text)}.topbar nav a.active{color:var(--accent);border-bottom-color:var(--accent);border-radius:var(--radius) var(--radius) 0 0}@media (width<=600px){.topbar{gap:6px;padding:0 10px}.topbar .brand{white-space:nowrap;font-size:15px}.topbar nav{gap:0}.topbar nav a{padding:4px 6px;font-size:13px}}.footer{padding:24px 16px calc(28px + var(--safe-b));border-top:1px solid var(--line);font-size:var(--fs-small);color:var(--muted);background:var(--white);flex-wrap:wrap;gap:10px 20px;display:flex}.footer a{color:var(--gray-700)}.term{min-height:0;color:inherit;font:inherit;font-weight:inherit;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;-webkit-text-decoration-color:var(--gray-420);text-decoration-color:var(--gray-420);text-underline-offset:3px;cursor:help;background:0 0;border:0;border-radius:2px;padding:0;display:inline}.term:hover{-webkit-text-decoration-color:var(--accent);text-decoration-color:var(--accent);color:var(--accent);background:0 0;border-color:#0000}.patient-vitals .term,.vent-values .term,.step-strip-6 .term{position:relative}.patient-vitals .term:after,.vent-values .term:after,.step-strip-6 .term:after{content:"";position:absolute;inset:-7px -6px}.monitor-values .term:hover,.wave .term:hover{color:var(--flow)}.term-sheet h2 small{color:var(--muted);font-weight:400;display:block}.term-body p{margin-bottom:8px}.term-section{margin-top:12px}.term-section h3{color:var(--muted);margin-bottom:4px;font-size:15px}.term-related{flex-wrap:wrap;gap:6px;display:flex}.term-related button{border-radius:var(--radius-pill);min-height:32px;padding:2px 10px;font-size:13px;font-weight:400}.icon{stroke:currentColor;fill:none;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;vertical-align:-.2em;flex:none;width:1.15em;height:1.15em}.icon.lg{width:28px;height:28px}details.disclosure{border:1px solid var(--line-2);border-radius:var(--radius);background:var(--white);margin-bottom:10px;padding:0 14px}details.disclosure summary{cursor:pointer;align-items:center;gap:8px;padding:10px 0;font-weight:700;list-style:none;display:flex}details.disclosure summary::-webkit-details-marker{display:none}details.disclosure summary:before{content:"";border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);width:8px;height:8px;margin-left:2px;transition:transform .12s;transform:rotate(-45deg)}details.disclosure[open] summary:before{transform:rotate(45deg)}details.disclosure>:not(summary){padding-bottom:12px}progress{vertical-align:middle;width:160px;accent-color:var(--accent);margin:0 8px}.pending-text{color:var(--pending);font-weight:700}.danger-text{color:var(--danger)}mark.todo{background:var(--warn-bg);color:var(--warn);padding:0 3px}@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}.topbar .brand-icon{object-fit:contain;flex-shrink:0;width:36px;height:36px;display:block}@media (width<=600px){.topbar{flex-wrap:wrap;gap:0;padding:0 12px}.topbar .brand{width:100%;min-height:52px;font-size:16px}.topbar nav{grid-template-columns:repeat(3,minmax(0,1fr));width:100%;margin:0;display:grid}.topbar nav a{text-align:center;justify-content:center;min-height:44px;padding:6px 4px;font-size:14px}}.page :where(p,li,dd){line-break:strict;overflow-wrap:break-word}.page :where(h1,h2,h3){overflow-wrap:break-word;line-height:1.5}.page>p,.page-head>p,.page .card>p{max-width:44em}.page .card>p+h2,.page .card>ul+h2,.page .card>div+h2{margin-top:2rem}.page.narrow>h1{margin-bottom:1.5rem}label.reason-field{gap:8px;width:100%;min-width:0;display:grid}label.reason-field>textarea{box-sizing:border-box;resize:vertical;width:100%;min-width:0;max-width:100%;min-height:8rem;padding:10px 12px;scroll-margin-block:16px;line-height:1.6;display:block}.ph{text-indent:0;max-width:100%;display:inline-block}.ios-top-edge-band{display:none}@media (display-mode:standalone){@supports (-webkit-touch-callout:none){.ios-top-edge-band{pointer-events:none;z-index:2147483647;background-color:#eef2f6;-webkit-background-clip:text;background-clip:text;height:12px;display:block;position:fixed;inset:0 0 auto}}}.wordmark{font-family:var(--font-wordmark);color:var(--wordmark-ink);letter-spacing:-.01em;white-space:nowrap;font-weight:700}.wm-o{-webkit-text-fill-color:transparent;display:inline-block;position:relative}.wm-g{vertical-align:-.008em;pointer-events:none;width:.432em;height:.53em;margin:0 -.467em 0 .035em;display:inline-block;position:relative}.wm-g svg,.wm-g canvas{width:100%;height:100%;position:absolute;top:0;left:0;overflow:visible}.hero h1 .wordmark{margin-top:4px;font-size:64px;line-height:.95;display:inline-block}@media (width<=760px){.hero h1 .wordmark{font-size:52px}}@media (width<=480px){.hero h1 .wordmark{font-size:46px}}.topbar .brand{font-family:var(--font-wordmark);color:var(--wordmark-ink);letter-spacing:.01em;font-size:21px;font-weight:700}.topbar .brand .wordmark,.footer-brand .wordmark{letter-spacing:.01em}.footer-brand .wordmark{font-size:19px}.startup-screen{min-height:100dvh;padding:max(24px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));background:var(--bg);flex-direction:column;justify-content:center;align-items:center;display:flex}.startup-logo .wordmark{font-size:clamp(56px,22vw,112px);line-height:1;display:inline-block}.startup-recovery{text-align:center;margin-top:20px}.startup-recovery p{margin:0 0 16px}.startup-error{text-align:center;gap:20px}.startup-error p{margin:0}
