:root{font-family:PingFang SC,Microsoft YaHei,sans-serif;color:#304d43;background:#edf0e7;font-synthesis:none;font-size:14px}*{box-sizing:border-box}body{margin:0}button{font:inherit;color:inherit;border:1px solid #bdcbbd;background:#f8faf2;border-radius:5px;padding:9px 13px;cursor:pointer;transition:background .15s}button:hover{background:#e1edda;border-color:#6e947c}button:focus-visible{outline:3px solid #b48c50;outline-offset:2px}main{max-width:1350px;margin:auto;padding:22px 36px 12px}header{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.brand{display:flex;align-items:center;gap:12px}.brand b{font-family:Georgia,serif;font-size:30px;letter-spacing:1px}.brand small,small{display:block;color:#718577;font-size:11px;line-height:1.7}.logo{background:#4d7968;color:#f5f5df;font-size:25px;padding:4px 12px;border-radius:8px}.version{font-size:10px;border:1px solid #b9cbb6;padding:3px 6px;border-radius:12px;align-self:flex-start}.toplinks{display:flex;gap:8px}.toplinks button{background:transparent}.status{display:flex;align-items:center;gap:30px;margin-bottom:15px;padding:16px 20px;background:#f9faf3;border:1px solid #d0d9c9;border-radius:8px}.status strong{display:block;margin:5px 0}.eyebrow{font-size:11px;color:#78907c;letter-spacing:1px}.mission{flex:1;border-left:1px solid #d2dccb;padding-left:25px}.mission strong{font-size:13px;font-weight:500}.identity{display:flex;gap:10px;align-items:center;min-width:170px}.avatar{display:flex;align-items:center;justify-content:center;background:#dce9da;width:40px;height:44px;color:#b97965;font-size:24px;border:3px solid #fff}.avatar.nurse{background:#a2c7d1}.avatar.patient{background:#d8b197}.gamewrap{background:#dbe4d9;border:8px solid #fffdf4;outline:1px solid #bdcab7;box-shadow:0 12px 35px #45664617;border-radius:5px;position:relative}#game{width:100%;aspect-ratio:1.5;max-height:65vh;display:flex;justify-content:center;background:#cbd9d5}canvas{image-rendering:pixelated;display:block}.mapnote{font-size:10px;letter-spacing:1px;padding:8px 14px;color:#5d7768;background:#eef2e6;display:flex;justify-content:space-between}.mapnote span{color:#82927e}.bottom{display:flex;justify-content:space-between;align-items:center;margin:16px 0 10px;font-size:11px;gap:14px}.dot{display:inline-block;background:#6e9d75;width:6px;height:6px;border-radius:50%}.time{display:flex;gap:6px;align-items:center}.time>span{margin-right:5px;color:#82927e}.time button{font-size:12px;padding:8px 10px}.toast{padding:12px 16px;background:#e1e9d9;border-left:3px solid #7e9b70;font-size:12px;line-height:1.7}.toast.alert{background:#f1ddd1;border-color:#b76950}footer{display:flex;gap:16px;font-size:9px;letter-spacing:2px;margin-top:19px;color:#78907e}footer small{margin-left:auto;font-size:9px}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#213e3899;display:flex;align-items:center;justify-content:center;z-index:100;padding:24px;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.modal{width:760px;max-height:90vh;overflow:auto;background:#f8f8ed;border:6px solid #d8e2cd;box-shadow:8px 8px #233a3944;padding:24px;border-radius:5px;line-height:1.8}.modalhead{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #c8d5bd;padding-bottom:12px}.modalhead h2{margin:0;font-size:23px}.modalhead button{font-size:12px}.intro{color:#6c7b66}.actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}.actions button{text-align:left;padding:12px}.actions span{margin-right:9px;color:#7e9e6e}.feedback{background:#e4ebd8;padding:14px 18px;margin-top:18px;border-left:3px solid #829e70}.feedback p{margin:6px 0}a{color:#3c7569}article{border-top:1px solid #d3dcc9;margin-top:20px;padding-top:10px}h3{font-size:15px}.report{background:#fffdf7;border:1px solid #d9dfcf;padding:12px;margin:8px 0}.report p{margin:4px 0;font-size:13px}details{border-bottom:1px solid #d6dfcd;padding:12px 0}summary{cursor:pointer}.timeline{padding-left:22px;font-size:12px}.timeline li{padding:7px}.timeline b{color:#6a8a61}.roles{display:flex;gap:12px}.roles button{flex:1;padding:18px}.roles .selected{background:#d6e6cc;border:2px solid #78966a}.warning{background:#eedac7;padding:12px;margin:10px 0}.success{background:#e0ead3;padding:18px}.touch{display:flex;justify-content:space-between;margin-top:12px;touch-action:none}.touch button{min-width:44px;min-height:44px}.touch>div{display:flex;gap:6px}@media(min-width:1000px){.touch{opacity:.65}.touch button{padding:4px 12px;min-height:32px}}@media(max-width:760px){main{padding:12px}header{margin-bottom:12px}.brand b{font-size:22px}.brand small{font-size:9px}.toplinks{gap:3px}.toplinks button{font-size:10px;padding:7px}.status{flex-wrap:wrap;padding:10px;gap:10px}.mission{order:3;width:100%;flex:auto;padding:5px 0 0;border-left:none;border-top:1px solid #ddd}.identity{margin-left:auto;min-width:auto}.status strong{font-size:12px}.bottom,.time{flex-wrap:wrap}.mapnote span{display:none}.overlay{padding:8px}.modal{padding:15px;max-height:95vh}.actions{grid-template-columns:1fr}.modalhead h2{font-size:19px}.roles{gap:5px}.roles button{padding:9px}footer span{display:none}#game{max-height:none}.gamewrap{border-width:4px}}.travel{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:15px 0}.travel label{font-size:12px}select,textarea{font:inherit;color:inherit;background:#fffef6;border:1px solid #b8c9b6;border-radius:4px;padding:9px;max-width:100%}textarea{width:100%;min-height:70px;resize:vertical}.hypothesis{background:#e7ecdf;padding:16px;margin:16px 0}.hypothesis label{display:block;margin-bottom:8px}.hypothesis select{margin-left:10px}.testgrid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.testcard{margin:0;padding:14px;background:#fffdf5;border:1px solid #d1dbc6;border-radius:5px}.testcard h4{margin:0}.testcard p{font-size:12px}.testcard button{margin-top:8px}.readtoggle{display:block;font-size:12px;color:#74836d;margin:12px 0}.wellbeing{display:flex;gap:15px;flex-wrap:wrap;background:#f0e5d7;padding:10px 15px;margin-bottom:10px;font-size:12px}.textbutton{padding:0;border:0;background:none;font-size:11px;color:#73886a}.journey-menu .modal{width:850px;padding:35px}.journey-menu h1{font-family:Georgia,PingFang SC,serif;font-size:36px;line-height:1.5}.journey-choices{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:25px 0}.journey-choices button{padding:24px;text-align:left;background:#e3ebdc}.journey-choices button:last-child{background:#eee2cf}.journey-choices span{font-size:32px}.journey-choices h2{margin:8px 0 0}.journey-choices p{font-size:13px;line-height:1.9}.journey-choices small{letter-spacing:1px}.mode{font-size:11px;margin-top:10px}pre{white-space:pre-wrap;word-break:break-all;font-size:11px}.patient .mission{border-color:#cabb9d}@media(max-width:760px){.testgrid{grid-template-columns:1fr}.journey-menu .modal{padding:18px}.journey-menu h1{font-size:25px}.journey-choices{gap:8px}.journey-choices button{padding:12px}.journey-choices p,.travel button{font-size:11px}.toplinks{flex-wrap:wrap;justify-content:flex-end}.brand{gap:5px}.wellbeing{gap:8px}}#game canvas{max-width:100%;max-height:100%}.casegrid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0}.casegrid button{text-align:left}.panelnav{display:flex;flex-wrap:wrap;gap:5px;margin:12px 0}.cyclebar{padding:14px;background:#dce8d4;margin:14px 0}.cyclebar progress{width:100%;accent-color:#557c65}button:disabled{opacity:.45;cursor:not-allowed}@media(max-width:760px){.casegrid{grid-template-columns:1fr}}.patient-sheet{background:#f1f3e8;border:1px solid #d0dbc9;padding:14px 16px;margin:12px 0}.patient-sheet h3{margin-top:0}.patient-sheet p{margin:6px 0}.data-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.data-grid p{background:#fffdf7;border-left:2px solid #9ab69a;padding:7px;font-size:12px}.known-clues{border-top:1px solid #d4dfd0;padding-top:8px}@media(max-width:760px){.data-grid{grid-template-columns:1fr}}.report-text{white-space:pre-line}.patient-sheet small{line-height:1.6}.patient-sheet details article{margin-top:8px;padding:8px}:root{--ink:#35594e;--edge:#557b69;--light:#ffffe9;--paper:#f2f0d9;--shade:#b4c6a6;background:#cbdac6;color:#2e4b40}body{background-image:linear-gradient(90deg,#ffffff12 2px,transparent 2px),linear-gradient(#ffffff12 2px,transparent 2px);background-size:24px 24px}button,select,textarea{border-radius:0;border:2px solid var(--edge);background:#ecefd7;box-shadow:inset 2px 2px 0 var(--light),inset -2px -2px #bccba9,0 3px #385848;transition:none}button:hover{background:#d8e8bd;border-color:#35594e;box-shadow:inset 2px 2px #ffffe9,inset -2px -2px #a9bd8d,0 3px #385848}button:active:not(:disabled){transform:translateY(2px);box-shadow:inset 2px 2px #a9bd8d,inset -2px -2px #ffffe9,0 1px #385848}button:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px dashed #b8753d;outline-offset:4px}small,.brand small,.eyebrow{color:#536e55}.brand b{font-family:monospace;font-weight:900;letter-spacing:-1px;text-shadow:2px 2px 0 #f8f5d8}.logo{border-radius:0;border:3px solid #35594e;box-shadow:inset 3px 3px #8eae87,3px 3px #a7b99d;font-family:monospace}.version{border-radius:0;border:2px solid #6d8965;background:#f5edcc}.toplinks button{background:#e3e9cc}.status{border-radius:0;border:3px solid var(--edge);background:var(--paper);box-shadow:inset 3px 3px 0 var(--light),inset -3px -3px 0 var(--shade),4px 4px #90a98b}.mission{border-left:2px dashed #a4b58f}.identity .avatar{border-color:#f9f7dc;outline:2px solid #5f8067;box-shadow:3px 3px #acbd9a}.gamewrap{border-radius:0;border:6px solid #f2efcf;outline:3px solid #557b69;box-shadow:6px 6px #8ba78b}.mapnote{background:#e5e9ce;border-top:2px solid #a7b99d;color:#3d604d}.dot{border-radius:0}.toast,.feedback{position:relative;border:3px solid var(--edge);border-left-width:8px;background:#f2f0d9;box-shadow:inset 2px 2px 0 var(--light),inset -2px -2px #c0cba9,4px 4px #9aaf90;padding:14px 18px;font-size:13px}.toast.alert{background:#f2e0bf;border-color:#946845}.warning{border:2px solid #a57850;background:#f1dfbd;box-shadow:inset 2px 2px #fff0cf}.success{border:2px solid #64845b;box-shadow:inset 3px 3px #f5ffdb}.overlay{-webkit-backdrop-filter:none;backdrop-filter:none;background:#203d38bd;background-image:repeating-linear-gradient(0deg,transparent 0 3px,#132c2510 3px 4px)}.modal{border-radius:0;border:4px solid #476652;background:var(--paper);box-shadow:inset 4px 4px #ffffe9,inset -4px -4px #bdc7a5,0 0 0 4px #dbdec1,0 0 0 7px #35594e,10px 12px #173b3580;scrollbar-color:#678965 #dedfc2;scrollbar-width:thin}.modalhead{border-bottom:3px double #839771;padding-bottom:14px}.modalhead h2{font-weight:800;letter-spacing:1px;text-shadow:1px 1px 0 #fffde6}.report,.testcard,.patient-sheet{border-radius:0;border:2px solid #91a17c;background:#faf6de;box-shadow:inset 2px 2px #ffffef,inset -2px -2px #dee1be}.testcard h4,.patient-sheet h3{border-bottom:2px dashed #b6be98;padding-bottom:8px;color:#365a48}.data-grid p{border-left:4px solid #90a77e;background:#eeeccd}.hypothesis,.cyclebar,.wellbeing{border:2px solid #94a37e;box-shadow:inset 2px 2px #f8f9d9;background:#dfe6c7}.cyclebar progress{height:14px;border:2px solid #4c7159;border-radius:0;background:#c2ceac}.cyclebar progress::-webkit-progress-bar{background:#c2ceac}.cyclebar progress::-webkit-progress-value{background:repeating-linear-gradient(90deg,#5a8963 0,#5a8963 10px,#78a571 10px,#78a571 12px)}.panelnav{gap:8px;padding-bottom:5px}details{border-bottom:2px dashed #b5bf99}summary::marker{color:#61805b}textarea{background:#fffbe6;line-height:1.7}.textbutton{border:0;box-shadow:none;background:none;color:#4b684a;padding:2px}.textbutton:hover{box-shadow:none;background:#dce6c4}.touch{opacity:1}.touch button{font-weight:800}.journey-menu .modal{width:900px;padding:28px;background-color:#e9edcf;background-image:linear-gradient(90deg,#92ac7d10 2px,transparent 2px),linear-gradient(#92ac7d10 2px,transparent 2px);background-size:24px 24px}.journey-menu .modal>small:first-child{display:inline-block;background:#416c58;color:#fff5cf;border:2px solid #2e5142;padding:4px 14px;box-shadow:3px 3px #a1b58b;font-family:monospace;font-size:14px;letter-spacing:3px}.journey-menu h1{font-family:PingFang SC,Microsoft YaHei,sans-serif;font-size:32px;line-height:1.5;font-weight:900;letter-spacing:3px;text-shadow:2px 2px 0 #fffce1;margin:18px 0 10px}.journey-choices{gap:18px;margin:22px 0}.journey-choices button{position:relative;border:3px solid #4f755b;padding:18px;background:#d9e7bd;box-shadow:inset 4px 4px #f5ffe0,inset -4px -4px #a3b68b,4px 5px #6e8c6b}.journey-choices button:last-child{background:#eddbb4;border-color:#94744e;box-shadow:inset 4px 4px #fff1cb,inset -4px -4px #c4a97b,4px 5px #8e7b55}.journey-choices button:hover{background:#c9dda6}.journey-choices button:last-child:hover{background:#e6cc96}.journey-choices span{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;background:#f6f7dc;border:3px solid #60805d;box-shadow:4px 4px #adbf91;font-size:28px;line-height:1}.journey-choices button:last-child span{border-color:#a38358;background:#fff0cb;box-shadow:4px 4px #c8ae80}.journey-choices b{display:block;border-top:2px dashed #98ad81;padding-top:10px}.journey-choices h2{font-size:22px}.journey-choices p{margin:8px 0 12px}.casegrid{gap:12px}.casegrid button{background:#f4efce;padding:12px}.casegrid small{margin-top:4px}.journey-menu h3{border-bottom:3px double #94a37a;padding-bottom:8px}@media(max-width:760px){main{padding:12px}.brand b{font-size:22px}.overlay{padding:13px}.modal{max-height:92dvh;padding:14px}.journey-menu .modal{padding:16px}.journey-menu h1{font-size:24px;letter-spacing:1px}.journey-choices{grid-template-columns:1fr;gap:14px}.journey-choices button{padding:14px}.journey-choices p{font-size:13px}.journey-choices span{float:right;width:40px;height:40px}.journey-choices h2{margin-top:0}.status{padding:12px;gap:12px}.mission{border-left:0;border-top:2px dashed #a4b58f}.gamewrap{border-width:4px;box-shadow:4px 4px #8ba78b}.travel label{width:100%}.travel select{max-width:100%}.mapnote{letter-spacing:0}.toast{padding:12px;font-size:12px}footer{letter-spacing:1px}.toplinks button{min-height:32px}.casegrid{gap:10px}}@media(prefers-reduced-motion:reduce){button:active:not(:disabled){transform:none}}.batch-orders{border:2px solid #557b69;padding:12px;margin:12px 0;background:#dfe6c7}.batch-orders button{margin:8px}.testcard input[type=checkbox]{accent-color:#557b69;width:18px;height:18px;vertical-align:middle}.toast,.feedback{white-space:pre-line}.week-strip,.week-stats{display:flex;gap:12px;flex-wrap:wrap;align-items:center;padding:10px;background:#e3e9c8;border:2px solid #557b69;margin-top:14px}.week-entry{width:100%;padding:14px;background:#d6e7b8;font-weight:700}.week-stats span{background:#fff6d8;padding:4px 8px;border:1px solid #94a37e}.modal>progress{width:100%;accent-color:#557b69;margin:12px 0}
