.research-card{background:#fffdf6;border:1px solid #bdcbbd;border-radius:9px;margin:10px 0;padding:13px}.research-card>div{justify-content:space-between;align-items:start;gap:10px;display:flex}.research-card strong{font-size:13px}.research-card span{white-space:nowrap;color:#2c735d;font-size:11px}.research-card progress{accent-color:#21866e;width:100%;height:9px}.research-card small{color:#5e7065;margin-top:6px;font-size:11px;display:block}.research-card[data-complete=true]{background:#e3f0e6}.research-card[data-complete=true] button{opacity:.65}.research-card p{margin:8px 0}.research-intro{background:#dcece5;border-radius:8px;padding:10px}#life-panel [data-life=research],#life-panel [data-life=research-start]{color:#fff;background:#176b60}#life-panel [data-life=research-start]:disabled{color:#3e5b4d;background:#c5d5c9}.auto-repair-status{text-align:center;background:#e1eee5;border-radius:10px;padding:25px 12px;line-height:1.8}#auto-repair{color:#fff;background:#176b60}#activity-progress{width:100%}.research-location{color:#276d62;border-left:3px solid #6b9b82;padding-left:8px;font-size:12px}.pc-wallpaper{background:linear-gradient(#98d6e8 45%,#367e99 46%);border:5px solid #25434c;border-radius:9px;height:125px;margin:10px 0;position:relative;overflow:hidden}.pc-wallpaper:before{content:"";background:#f6dd96;border-radius:50%;width:35px;height:35px;position:absolute;top:10px;right:25px}.pc-wallpaper[data-wallpaper=mountain]{background:#b9d8d1}.pc-wallpaper[data-wallpaper=mountain]:before{background:#3f7568;border-radius:0;width:170px;height:170px;top:35px;right:15%;transform:rotate(45deg);box-shadow:-80px 55px #67968a}.pc-wallpaper[data-wallpaper=chicken]{background:#dfbf8b}.pc-wallpaper[data-wallpaper=chicken]:before{background:#a86c29;border:17px solid #faf1d6;border-radius:50%;width:130px;height:65px;top:8px;right:calc(50% - 65px)}.pc-wallpaper span{color:#fff;background:#17363bbf;padding:7px;font-size:12px;position:absolute;bottom:0;left:0;right:0}.wallpaper-options,.claw-controls{flex-wrap:wrap;gap:7px;display:flex}.wallpaper-options button,.claw-controls button{flex:1;min-height:44px;margin:0!important}.wallpaper-options [aria-pressed=true]{color:#fff!important;background:#176b60!important}#claw-view{--claw-x:50%;--claw-y:15%;background:linear-gradient(#c8e6e9,#eff3dd);border:10px solid #487f96;border-bottom-width:24px;border-radius:8px;height:180px;margin:12px 0;position:relative;overflow:hidden}#claw-view:before{content:"";background:#748e98;height:4px;position:absolute;top:8%;left:7%;right:7%}#claw-view .claw-hook{left:var(--claw-x);top:var(--claw-y);color:#364a52;font-size:34px;font-style:normal;line-height:1;position:absolute;transform:translate(-50%)}#claw-view span{color:#d1a643;text-shadow:1px 2px #897744;font-size:40px;position:absolute;bottom:2%;left:20.75%;transform:translate(-50%)}#claw-view span:nth-of-type(2){color:#7199af;left:50%}#claw-view span:nth-of-type(3){color:#b188a4;left:79.25%}#claw-result{color:#315e5b;min-height:36px;font-size:13px}.career-actions{flex-wrap:wrap;gap:7px;margin-top:16px;display:flex}.career-actions button{padding:9px 11px;font-size:12px}#save-status,.career-save-status{color:#43645e;font-size:12px;line-height:1.6}#career-panel{z-index:150}.career-card{color:#244444;background:#f6f6ed;border-radius:18px;width:min(600px,94vw);max-height:92dvh;padding:28px;overflow:auto;box-shadow:0 15px 70px #18343140}.career-card h2{margin:8px 0 16px}.career-card button{max-width:100%;margin:4px;padding:12px}#career-content>button{text-align:left;width:calc(100% - 8px);display:block}.summary-grid{grid-template-columns:1fr 1fr;gap:0 20px;margin:15px 0;display:grid}.summary-grid>div{border-bottom:1px solid #d4ddd1;justify-content:space-between;gap:12px;padding:10px 0;display:flex}.summary-grid dt{color:#547168;font-size:12px}.summary-grid dd{text-align:right;margin:0;font-size:13px;font-weight:600}#career-actions{flex-wrap:wrap;margin-top:16px;display:flex}#career-actions button:first-child{color:#fff;background:#386b66}@media (max-width:430px){.career-card{padding:20px}.summary-grid{gap:0 12px}.summary-grid>div{display:block}.summary-grid dd{text-align:left;margin-top:4px}.career-card h2{font-size:23px}}.about-layout{gap:12px;display:grid}.about-layout p{margin:0 0 12px;line-height:1.65}.about-layout small{color:#547168}@media (min-width:600px) and (max-height:560px){.about-layout{grid-template-columns:1fr 1fr;gap:20px;font-size:14px}}*{box-sizing:border-box}html,body{color:#203e44;background:#dce7e6;width:100%;height:100%;margin:0;font-family:Arial,Microsoft JhengHei,sans-serif;overflow:hidden}button,select,input{font:inherit}button,select{touch-action:manipulation}button{cursor:pointer;color:#23484b;background:#f5f8f6;border:1px solid #b7cac8;border-radius:8px;padding:12px 16px}button:hover{background:#e4efeb}button:focus-visible,select:focus-visible{outline-offset:3px;outline:3px solid #ba823a}button:disabled{cursor:default;opacity:.65}[hidden]{display:none!important}#world{touch-action:none;width:100%;height:100%;position:fixed;inset:0}.topbar{pointer-events:none;align-items:center;gap:25px;display:flex;position:fixed;top:22px;left:28px;right:28px}.brand b{letter-spacing:-1.5px;font-size:27px;display:block}.brand b span{margin-left:5px;font-weight:400}.brand small{letter-spacing:1.8px;font-size:8px}.location{background:#f7faf5ee;border:1px solid #cfdbd2;border-radius:6px;padding:12px 20px;font-size:13px;box-shadow:0 4px 20px #233b4410}.location i{background:#568772;border-radius:50%;width:6px;height:6px;margin-right:8px;display:inline-block}.location small{letter-spacing:1px;opacity:.7;margin-top:5px;font-size:8px;display:block}#pause{pointer-events:auto;background:#f7faf5ee;margin-left:auto;font-weight:700}.route-panel{background:#f7faf5ef;border:1px solid #cfdbd2;border-radius:9px;width:262px;position:fixed;top:112px;right:28px;overflow:hidden;box-shadow:0 8px 30px #233b4410}#route-toggle{text-align:left;border:0;border-bottom:1px solid #dce4dc;border-radius:0;width:100%;padding:15px 17px;font-size:13px;font-weight:700}#route-toggle span{float:right}#route-body{padding:15px 17px}#route-body label{color:#688080;margin-bottom:7px;font-size:10px;display:block}select{color:#264d50;background:#fff;border:1px solid #c2d3ce;border-radius:5px;padding:8px}#destination{width:100%;font-size:12px}.target-row{justify-content:space-between;margin-top:17px;font-size:14px;display:flex}.target-row span{color:#648279;font-variant-numeric:tabular-nums}.route-panel p{color:#658080;min-height:34px;font-size:11px;line-height:1.6}#minimap{background:#e8eeea;border:1px solid #d6e0d7;border-radius:5px;width:100%;height:auto;display:block}.map-key{color:#5f797a;justify-content:space-between;margin-top:8px;font-size:8px;display:flex}#interaction{position:fixed;bottom:68px;left:50%;transform:translate(-50%)}#interact{text-align:left;background:#fcfcf3ed;align-items:center;gap:12px;min-width:255px;font-size:13px;display:flex;box-shadow:0 4px 18px #26454a20}kbd{background:#e4ebe6;border:1px solid #c7d6cb;border-radius:3px;padding:3px 6px;font:10px Arial}#interact kbd{padding:6px 10px;font-size:14px}.controls{color:#365557;text-shadow:0 1px 2px #fff;justify-content:center;gap:25px;font-size:10px;display:flex;position:fixed;bottom:23px;left:30px;right:30px}.controls span{background:#f6f9edcc;border-radius:4px;padding:5px 7px}#toast{color:#fff;text-align:center;pointer-events:none;background:#23494dec;border-radius:7px;max-width:430px;padding:14px 22px;font-size:13px;line-height:1.7;position:fixed;top:110px;left:50%;transform:translate(-50%)}#gown-progress{text-align:center;background:#f7faf5f2;border:1px solid #b9cec7;border-radius:10px;width:260px;padding:22px;position:fixed;top:42%;left:50%;transform:translate(-50%)}#gown-progress span{letter-spacing:2px;color:#65847e;font-size:9px;display:block}#gown-progress strong{margin:10px;display:block}progress{accent-color:#477c70;width:100%}.overlay{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);z-index:10;background:#233c4170;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.menu-card{background:#f6f8f0;border:1px solid #fff;border-radius:12px;width:530px;max-height:95dvh;padding:35px 42px;overflow:auto;box-shadow:0 30px 100px #23373d35}.eyebrow{letter-spacing:2px;color:#608578;margin:0 0 21px;font-size:10px}h1{letter-spacing:-4px;margin:0;font-size:65px;line-height:1.05}h1>span{margin-left:8px;font-weight:400}h1 small{letter-spacing:1px;margin-top:18px;font-size:20px;font-weight:400;display:block}.intro{color:#4e686b;margin-top:24px;font-size:14px;line-height:1.8}.itinerary{letter-spacing:1px;border-top:1px solid #d5ddd1;border-bottom:1px solid #d5ddd1;align-items:center;gap:16px;padding:19px 0;font-size:10px;display:flex}.itinerary i{color:#97aaa0}.scope{color:#7a877f;margin:17px 0;font-size:11px;line-height:1.7}.primary{color:#fff;background:#254f50;border:0;width:100%;padding:16px;font-size:15px}.primary:hover{background:#366c67}.settings{justify-content:space-between;gap:15px;margin-top:22px;font-size:11px;display:flex}.settings label{align-items:center;gap:7px;display:flex}.settings select{font-size:10px}.settings input{accent-color:#3b7769;width:75px}.help{color:#778782;margin:20px 0 0;font-size:10px;line-height:1.8}#boot-error{color:#a34036;font-size:13px}.detail-card{background:#f6f8f0;border-radius:10px;max-width:430px;padding:30px;line-height:1.8}.detail-card p{white-space:pre-line;font-size:14px}#touch-controls{display:none}#debug{color:#fff;pointer-events:none;z-index:20;background:#173335e8;padding:10px;font-size:11px;position:fixed;bottom:10px;left:10px}@media (pointer:coarse),(max-width:700px){.topbar{top:max(12px,env(safe-area-inset-top));gap:14px;left:15px;right:15px}.brand b{font-size:22px}.brand small{letter-spacing:1px;font-size:6px}.location{padding:9px 12px;font-size:11px}.location small{display:none}#pause{padding:10px 14px}.route-panel{width:205px;top:75px;right:15px}#route-toggle{padding:12px 14px}#route-body{padding:12px}#minimap{height:110px}.controls{display:none}#touch-controls{display:block}#joystick{bottom:max(28px,env(safe-area-inset-bottom));touch-action:none;background:#f6f9ed65;border:1px solid #577a7780;border-radius:50%;width:114px;height:114px;position:fixed;left:27px}#joystick i{pointer-events:none;background:#396b68b0;border:1px solid #f5f8e8a0;border-radius:50%;width:42px;height:42px;position:absolute;top:35px;left:35px}#run{background:#f6f9edcc;border-radius:28px;width:60px;padding:12px 5px;font-size:12px;position:fixed;bottom:110px;right:25px}#run[aria-pressed=true]{color:#fff;background:#2c615e}#interaction{bottom:32px;left:auto;right:22px;transform:none}#interact{min-width:0;max-width:200px;padding:13px;font-size:11px}#interact kbd{display:none}.look-hint{color:#51716f;pointer-events:none;font-size:9px;position:fixed;bottom:180px;right:25px}#toast{width:290px;max-width:85%;top:135px}.menu-card{width:100%;padding:26px}h1{font-size:53px}.settings{flex-wrap:wrap;gap:12px}.map-key{font-size:7px}.target-row{font-size:12px}.overlay{padding:15px}}@media (max-height:520px){.menu-card{padding:22px 30px}h1{font-size:38px}h1 small{margin-top:10px;font-size:16px}.intro,.scope,.help{margin:10px 0}.itinerary{padding:12px 0}.eyebrow{margin-bottom:10px}.route-panel{top:65px}.route-panel p,#minimap,.map-key{display:none}#route-body{padding:9px 12px}.target-row{margin-top:10px}.settings{margin-top:12px}.location small{display:none}.topbar{top:12px}.controls{bottom:8px}#interaction{bottom:43px}}#gown-hint{color:#5e4e2a;text-align:center;pointer-events:none;background:#fff4d6;border:1px solid #d6bb7a;border-radius:6px;max-width:290px;margin:0 0 8px;padding:9px 12px;font-size:12px;line-height:1.5}.hud-stack{z-index:12;scrollbar-width:thin;width:280px;max-height:calc(100dvh - 240px);position:fixed;top:112px;right:28px;overflow:auto}.hud-stack .route-panel{width:100%;margin-top:8px;position:static}.task-panel{background:#faf9eff2;border:1px solid #d7dac9;border-radius:9px;overflow:hidden;box-shadow:0 4px 20px #233b4410}#task-toggle{text-align:left;border:0;border-radius:0;width:100%;font-size:13px;font-weight:700}#task-toggle span{float:right}#task-count{color:#fff;background:#8b4e38;border-radius:20px;margin-left:5px;padding:2px 7px;display:inline-block}#task-body{padding:0 12px 10px}#assigned,#work-empty,#completed-work{color:#6f7765;font-size:10px;line-height:1.6}.task-row{border-top:1px solid #dedfce;padding:7px 0}.task-select{text-align:left;color:#8b4e38;background:0 0;border:0;width:100%;padding:5px 2px;font-size:12px}.task-row[data-status=WAIT_PROCESS] .task-select{color:#87702e}.quick-notify{padding:6px 8px;font-size:10px}#clock{font-variant-numeric:tabular-nums;letter-spacing:1px;z-index:3;background:#f8f8e9eb;border:1px solid #d6ddcd;border-radius:7px;padding:10px 13px;font-size:14px;position:fixed;top:103px;left:28px}.detail-actions{gap:8px;margin-bottom:12px;display:grid}#menu{z-index:30}#detail{z-index:10}#repair{z-index:15;background:#f7f5e9f7;border:1px solid #b2bdaa;border-radius:12px;width:min(440px,100% - 36px);max-height:calc(100dvh - 120px);padding:27px;position:fixed;top:50%;left:50%;overflow:auto;transform:translate(-50%,-50%);box-shadow:0 12px 70px #20373535}#repair h2{margin:8px 0;font-size:20px}#repair .eyebrow{margin-bottom:12px}#repair-alarm{color:#8a5b40;font-size:10px;line-height:1.5}#calibration-target{margin:22px 0 12px;font-size:14px;display:block}.calibration-track{background:#e0e3d6;border-radius:9px;height:48px;position:relative;overflow:hidden}#target-band{background:#8daf72;width:10%;position:absolute;top:0;bottom:0}#calibration{accent-color:#234e47;touch-action:none;cursor:pointer;background:0 0;width:100%;height:48px;margin:0;position:absolute;top:0;left:0}#calibration-value{text-align:center;font-variant-numeric:tabular-nums;margin-top:8px;font-size:28px;display:block}#calibration-hint,.repair-note{color:#576a5a;font-size:12px;line-height:1.7}#leave-repair{width:100%;margin-top:12px}.debug-trigger{z-index:21;padding:7px;font-size:10px;position:fixed;bottom:145px;left:10px}.detail-card{max-height:85dvh;overflow:auto}@media (pointer:coarse),(max-width:700px){.hud-stack{width:205px;max-height:calc(100dvh - 280px);top:75px;right:15px}#clock{letter-spacing:0;padding:10px 8px;font-size:11px;top:78px;left:15px}#task-toggle{padding:10px 12px;font-size:12px}.hud-stack .route-panel{margin-top:6px}#repair{max-height:calc(100dvh - 310px);padding:19px;top:auto;bottom:170px;transform:translate(-50%)}#repair h2{font-size:17px}#calibration-target{margin:12px 0 8px}#toast{z-index:18;top:126px}.detail-card{width:100%;padding:24px}.location{max-width:150px}.location #zone{white-space:nowrap;text-overflow:ellipsis;max-width:112px;display:inline-block;overflow:hidden}}@media (max-height:520px){.hud-stack{max-height:calc(100dvh - 190px);top:62px}#clock{top:68px}#repair{width:370px;max-height:calc(100dvh - 35px);padding:16px;top:50%;bottom:auto;left:42%;transform:translate(-50%,-50%)}#repair .repair-note{display:none}#calibration-target{margin:10px 0 8px}.calibration-track,#calibration{height:36px}#calibration-value{font-size:20px}#leave-repair{margin-top:7px}.debug-trigger{display:none}}#repair{width:min(510px,100% - 30px);max-height:calc(100dvh - 100px);padding:22px}#repair-instruction,#repair-hint{color:#3e5d55;margin:10px 0;font-size:12px;line-height:1.6}#repair-game button{touch-action:none;-webkit-user-select:none;user-select:none;min-height:44px;padding:8px;font-size:12px}#repair-game [data-hold]{background:linear-gradient(90deg,#a8ccb5 var(--done,0%),#e8eadf var(--done,0%));border:1px solid #99afa3}#repair-game [data-complete=true]{color:#24523a;background:#b9d2bc}#repair-game [aria-pressed=true]{outline-offset:-3px;background:#d4eaf0;outline:3px solid #1d7a96}.service-plate{background:#d1d8d1;border:8px solid #91a29d;border-radius:12px;padding:15px}.screw-grid{grid-template-columns:repeat(3,1fr);gap:25px 12px;display:grid}.screw-grid button{border-radius:50%;height:60px;font-weight:700}.plate-label{text-align:center;letter-spacing:2px;color:#667e72;grid-column:1/-1;font-size:10px}.chamber-grid{background:#b8c5bb;border:8px solid #94a8a0;border-radius:30px;grid-template-columns:repeat(4,1fr);gap:6px;padding:12px;display:grid}.chamber-grid button{height:50px;opacity:calc(1 - var(--clean,0));border-radius:8px;background:radial-gradient(#9b784c 5%,#c4ae8c 60%,#d5d8c9)!important}.chamber-grid button[data-complete=true]{color:#3b7452;background:#e0e8de!important}.connector-board{justify-content:space-between;display:flex;position:relative}.connector-board>div{z-index:1;gap:8px;display:grid}.connector-board button{width:86px;height:44px}.connector-board svg{width:calc(100% - 172px);height:208px;position:absolute;top:0;left:86px}.connector-board path{fill:none;stroke:#518a8f;stroke-width:3px}.check-grid{grid-template-columns:repeat(4,1fr);gap:6px;margin-top:12px;display:grid}.part-target{margin:12px 0;font-size:13px;display:block}.part-socket{background:#3a514e;border:7px solid #a0afa3;border-radius:5px;margin:12px 0;padding:12px}#cartridge{color:#233d39;text-align:center;background:#b7b2a0;border-left:7px solid #af6e49;padding:12px;font-size:13px}#cartridge[data-stage="1"]{color:#d4ded4;background:#354d48;border:1px dashed #92aa96}#cartridge[data-stage="2"]{border-color:#77ac6d}.part-options{grid-template-columns:repeat(3,1fr);gap:6px;margin-bottom:10px;display:grid}.part-work button{width:100%}.pipe-board{background:linear-gradient(90deg,#0000 48%,#849d99 48% 52%,#0000 52%);grid-template-columns:repeat(2,1fr);gap:20px 18px;padding:12px 0;display:grid}.pipe-board button{border:4px solid #90a59a!important}.pipe-board [data-leak=true]{border-color:#c38043!important}.leak-legend{color:#60776b;text-align:center;font-size:10px}#robot-target{font-size:12px}.robot-board{background:repeating-linear-gradient(0deg,#0000,#0000 29px,#9bb9b24a 30px),repeating-linear-gradient(90deg,#d8e4df,#d8e4df 29px,#9bb9b24a 30px);border:2px solid #889e97;height:150px;margin:10px 0;position:relative;overflow:hidden}.robot-board svg{width:100%;height:100%;position:absolute}#robot-arm{fill:none;stroke:#607d7d;stroke-width:5px}#robot-zone{background:#a8ce9b;border:2px solid #659958;width:8%;height:8%;min-height:12px;position:absolute;transform:translate(-50%,-50%)}#robot-cross{color:#135b88;font-size:28px;font-style:normal;font-weight:700;line-height:28px;position:absolute;transform:translate(-50%,-50%)}.axis-label{grid-template-columns:20px 30px 1fr;align-items:center;font-size:12px;display:grid}.axis-label input{touch-action:none;accent-color:#356a77;width:100%;height:40px}.repair-meter{align-items:center;gap:12px;font-size:12px;display:flex}.repair-meter progress{flex:1}.repair-meter output{min-width:35px}@media (pointer:coarse),(max-width:700px){:is(body:has(#repair:not([hidden])) #touch-controls,body:has(#repair:not([hidden])) #interaction){display:none}#repair{max-height:calc(100dvh - 175px);padding:16px;top:160px;bottom:auto;transform:translate(-50%)}#repair .eyebrow{margin-bottom:8px}#repair h2{margin:6px 0}.screw-grid{gap:18px 10px}.screw-grid button{height:52px}.part-options{grid-template-columns:1fr}#repair .repair-note{margin:8px 0;font-size:10px}.hud-stack:has(~#repair:not([hidden])){max-height:72px}#calibration-target{margin:10px 0}}@media (max-height:520px){#repair{width:min(510px,65vw);max-height:calc(100dvh - 24px);padding:14px;top:50%;left:48%;transform:translate(-50%,-50%)}#repair .eyebrow{display:none}#repair-instruction{margin:6px 0}.robot-board{height:100px}#repair-game .axis-label input{height:28px}.part-options{grid-template-columns:repeat(3,1fr)}.screw-grid{gap:12px}#repair h2{font-size:16px}}.debug-trigger{gap:4px;padding:0;display:flex}.debug-trigger button,.debug-trigger select{max-width:120px;padding:6px;font-size:10px}@media (max-height:520px){.debug-trigger{display:none}}@media (pointer:coarse),(max-width:700px){body:has(#repair:not([hidden])) #toast{width:calc(100% - 30px);max-width:none;max-height:42px;padding:7px 10px;font-size:10px;line-height:1.35;top:112px;left:15px;overflow:hidden;transform:none}}@media (max-height:520px){body:has(#repair:not([hidden])) #toast{width:125px;max-width:125px;max-height:96px;padding:8px;font-size:10px;line-height:1.4;top:118px;left:12px;overflow:hidden;transform:none}}.brand b span,h1>span{letter-spacing:0;margin-left:0}.topbar .location{min-width:0}@media (max-width:400px){.topbar{gap:8px}.brand b{font-size:20px}.topbar .location{flex:1;padding:8px}.location #zone{max-width:90px}#pause{flex-shrink:0;padding:9px 11px}h1{font-size:44px}}.office-work-card{background:#eef2e9;border:1px solid #b4c7be;border-radius:10px;margin:10px 0;padding:12px}.office-work-card h4{margin:0 0 6px}.office-work-card p{margin:6px 0;font-size:13px;line-height:1.5}.office-work-card button{width:100%;min-height:44px;margin-top:8px}.office-work-card details{font-size:13px}.office-work-card summary{cursor:pointer;padding:6px 0}#field-work{max-height:35vh;overflow:auto}.task-row[data-delegated=true]{background:#e0e3df;border-radius:5px;padding:7px 6px}.task-row[data-delegated=true] .task-select{color:#646d66}.task-owner{color:#505a53;margin:3px 0 5px;font-size:11px;line-height:1.5}.delegate-task{min-height:36px;padding:7px 9px;font-size:11px}.task-row[data-delegated=true] .quick-notify{display:none}#module-choice{background:#e3eee4;border:1px solid #91b0a5;border-radius:12px;margin:14px 0;padding:14px}#module-choice label{margin-bottom:8px;font-weight:700;display:block}#module-select{width:100%;min-height:44px}#module-description{color:#31584c;margin:9px 0;font-size:14px}#module-choice small{font-size:12px}#world,#touch-controls{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}#joystick,#joystick i{touch-action:none}#phone-toggle{color:#e1e7e5;z-index:24;background:linear-gradient(105deg,#36383a,#151719 70%);border:3px solid #45484a;border-radius:17px 17px 20px 20px;width:68px;height:128px;padding:6px 5px 11px;position:fixed;bottom:20px;right:20px;overflow:visible;box-shadow:0 5px 15px #0005}#phone-toggle:hover{background:#34383b}.mini-earpiece{background:#111;border-radius:3px;width:23px;height:3px;margin:0 auto 3px;display:block}.mini-face{background:#101c28;border:4px solid #1266d4;border-bottom-width:8px;border-radius:8px 8px 2px 2px;flex-direction:column;justify-content:center;align-items:center;height:58px;font-size:9px;display:flex}.mini-face small{color:#89b3d0;align-self:flex-end;font-size:6px}.mini-face b{font-size:12px}.mini-face span{white-space:nowrap;max-width:47px;font-size:8px;overflow:hidden}.mini-nav{border:2px solid #a7adb1;border-radius:5px;width:19px;height:15px;margin:4px auto 0;font-size:10px;line-height:10px;display:block}.mini-keys{letter-spacing:7px;margin-left:7px;font-size:12px;line-height:8px;display:block}#phone-caption{white-space:nowrap;color:#315750;pointer-events:none;background:#f5f7eceb;border-radius:5px;padding:5px 8px;font-size:10px;position:absolute;bottom:12px;right:69px}#phone-badge{color:#fff;background:#ad4436;border-radius:15px;min-width:21px;padding:3px;font-size:11px;font-style:normal;position:absolute;top:-8px;right:-7px}#phone-toggle[data-ringing=true]{box-shadow:0 0 0 4px #65a8d96b,0 5px 15px #0005}#phone-toggle[data-ringing=true] .mini-face{background:#226247}#phone-toggle[data-calling=true] .mini-face{background:#284d58}#phone{color:#eef4ed;z-index:25;background:linear-gradient(105deg,#3b3e41,#17191b 75%);border:5px solid #484b4d;border-radius:32px 32px 34px 34px;flex-direction:column;gap:6px;width:294px;max-height:calc(100dvh - 32px);padding:12px 12px 10px;display:flex;position:fixed;bottom:18px;right:18px;overflow:hidden;box-shadow:0 12px 45px #10262b66}.phone-earpiece{background:#0e1011;border-radius:5px;flex:none;width:62px;height:5px;margin:0 auto 4px;box-shadow:0 1px #777}.phone-bezel{background:#1765ca;border:9px solid #1165d5;border-top-width:4px;border-radius:16px 16px 5px 5px;flex-direction:column;min-height:0;display:flex;box-shadow:inset 2px 0 #6bafed}.phone-status{color:#eef7ff;flex:none;justify-content:space-between;padding:4px;font-size:9px;display:flex}.phone-screen{color:#e4edeb;scrollbar-width:thin;scrollbar-color:#5d7d85 #13262b;background:#111c23;height:265px;min-height:110px;max-height:calc(100dvh - 248px);overflow:auto}.phone-logo{text-align:center;color:#eaf4ff;letter-spacing:1px;flex:none;padding:5px 0 0;font-size:17px;font-weight:700}.phone-logo small{letter-spacing:1px;font-size:6px}.phone-softkeys{flex:none;grid-template-columns:1fr 1fr 1fr;gap:8px;padding:2px;display:grid}.phone-softkeys button{color:#fff;background:linear-gradient(#35383b,#202224);border:2px solid #101315;border-radius:8px;height:38px;padding:3px}#phone-green{color:#59c175;font-size:25px}#phone-red{color:#ed675b;font-size:25px;transform:rotate(180deg)}#phone-home{border:3px solid #aaaeb2;border-radius:12px;font-size:21px}.phone-keypad{flex:none;grid-template-columns:repeat(3,1fr);gap:4px;display:grid}.phone-keypad button{color:#f2f3f1;background:linear-gradient(120deg,#343638,#222427);border:1px solid #101315;border-radius:7px;align-items:center;gap:6px;height:30px;padding:2px 8px;display:flex}.phone-keypad b{font-size:19px;font-style:italic;font-weight:400}.phone-keypad small{color:#bbc0c1;font-size:7px}.phone-keypad button:hover,.phone-softkeys button:hover{filter:brightness(1.2)}#phone-close{color:#b5c9c9;background:0 0;border:0;flex:none;padding:4px;font-size:10px}#phone-audio{color:#3a402e;background:#ddc58c;padding:7px;font-size:10px}#phone-content{padding:9px;font-size:11px;line-height:1.45}#phone-content button{color:#e4edeb;background:#263b42;border:1px solid #4a6267;border-radius:5px;min-height:38px;padding:9px;font-size:11px}#phone-content button:hover{background:#36525a}.phone-tabs{gap:5px;margin-bottom:9px;display:flex}.phone-tabs button{flex:1;min-height:30px!important;padding:6px!important;font-size:10px!important}.phone-equipment-label{justify-content:space-between;align-items:center;margin-bottom:8px;font-size:10px;display:flex}.phone-equipment-label select{color:#e4edeb;background:#172c32;max-width:116px;padding:5px;font-size:10px}.phone-contacts,.phone-responses{gap:6px;display:grid}.phone-contacts button{text-align:left}.phone-contacts b,.phone-contacts span{display:block}.phone-contacts small{float:right;color:#a6bcc0;font-weight:400}.phone-contacts span{color:#b8cdce;font-size:9px}.phone-person{text-align:center}.phone-person small{color:#a3ccd7;font-size:10px}.phone-person h3{margin:5px;font-size:19px}.phone-person span{color:#a3bdb8;font-size:10px}.phone-dialogue{background:#1c2f37;border-left:2px solid #4696b8;padding:7px 8px;line-height:1.7}.phone-chosen{color:#8ecba0;font-size:10px}.phone-call-timer{color:#b5c3c7;font-size:9px}.phone-responses button{text-align:left}.phone-two{gap:5px;margin-top:6px;display:flex}.phone-two button{flex:1;padding:6px!important;font-size:10px!important}.incoming-symbol{text-align:center;color:#83d5a5;margin-top:10px;font-size:30px}.call-answer{width:100%;background:#276847!important}.phone-dialing{text-align:center;padding:25px 0}.phone-history{text-align:left;width:100%;margin-bottom:6px;display:block}.phone-history b,.phone-history span,.phone-history small{font-size:10px;display:block}.phone-history small{color:#8aa7af}.phone-history.missed{border-left:3px solid #e28666!important}.phone-history.missed span{color:#e9a28c}.phone-heading{font-size:12px}.phone-number{letter-spacing:3px;text-align:center;margin-bottom:9px;font-size:22px}@media (pointer:coarse),(max-width:700px){#phone-toggle{width:62px;height:118px;bottom:18px;right:15px}#phone-caption{display:none}#interaction{bottom:22px;right:90px}#interact{max-width:148px;font-size:10px}#run{bottom:110px;right:95px}.look-hint{right:92px}#phone{width:284px;bottom:12px;right:12px}body:has(#phone:not([hidden])) #toast{max-width:calc(100% - 32px);padding:8px;font-size:10px;top:128px;left:14px;transform:none}}@media (max-height:520px){#phone{border-radius:24px;gap:3px;width:275px;padding:8px 10px;bottom:10px;right:12px}.phone-screen{height:145px;min-height:90px;max-height:calc(100dvh - 210px)}.phone-keypad button{height:24px}.phone-softkeys button{height:30px}.phone-logo{padding-top:1px;font-size:13px}.phone-earpiece{margin-bottom:0}.phone-status{padding:2px}.phone-keypad{gap:3px}#phone-toggle{width:50px;height:88px;padding:5px;bottom:14px;right:14px}.mini-face{border-width:3px;height:40px}.mini-face b{font-size:10px}.mini-face span{font-size:7px}.mini-keys{letter-spacing:5px;margin-left:4px;font-size:8px;line-height:5px}.mini-nav{width:15px;height:11px;margin-top:2px}#interaction{bottom:14px;right:77px}#run{bottom:88px;right:83px}#phone-caption{display:none}}@media (prefers-reduced-motion:reduce){#phone-toggle[data-ringing=true]{border-color:#68bda4;animation:none}}#minimap-panel{z-index:4;pointer-events:auto;background:#f3f5eeeb;border:1px solid #aabbb3;border-radius:12px;width:240px;padding:8px;position:fixed;bottom:74px;left:28px;box-shadow:0 4px 16px #163e3d18}.minimap-heading{color:#264c49;justify-content:space-between;gap:8px;margin-bottom:5px;font-size:10px;display:flex}#minimap-panel #minimap{aspect-ratio:28/17;touch-action:manipulation;width:100%;height:auto;display:block}#minimap-panel .map-key{color:#385c55;justify-content:space-between;gap:4px;margin-top:5px;font-size:9px;display:flex}@media (pointer:coarse),(max-width:700px){:root{--stick-size:clamp(144px,41vw,164px);--stick-bottom:max(24px,env(safe-area-inset-bottom))}#joystick{left:max(18px,env(safe-area-inset-left));bottom:var(--stick-bottom);width:var(--stick-size);height:var(--stick-size);background:#f6f9ed80;border:2px solid #567b788f;box-shadow:inset 0 0 0 10px #f6f9ed24}#joystick i{background:#396b68bd;border:2px solid #f5f8e8b0;width:56px;height:56px;top:calc(50% - 28px);left:calc(50% - 28px)}#minimap-panel{left:max(18px,env(safe-area-inset-left));bottom:calc(var(--stick-bottom) + var(--stick-size) + 18px);border-radius:9px;width:180px;padding:6px}.hud-stack{max-height:calc(100dvh - 450px)}#interaction{max-width:148px;bottom:155px;right:15px}#interact{max-width:148px}.look-hint{bottom:214px;right:15px}}@media (max-height:520px) and (orientation:landscape){:root{--stick-size:144px;--stick-bottom:max(14px,env(safe-area-inset-bottom))}#minimap-panel{left:calc(max(18px,env(safe-area-inset-left)) + var(--stick-size) + 18px);bottom:var(--stick-bottom);width:180px}.hud-stack{max-height:calc(100dvh - 190px)}#interaction{bottom:14px;right:77px}}#needs{z-index:3;background:#f4f5e9ed;border:1px solid #c6d2c5;border-radius:8px;width:150px;padding:8px 10px;font-size:10px;position:fixed;top:152px;left:28px}#needs label{grid-template-columns:30px 35px 1fr;align-items:center;gap:3px;margin-bottom:5px;display:grid}#needs progress{width:100%;height:7px}#needs small{color:#657970;font-size:9px}#needs[data-low=true]{border-color:#b77942}#fatigue{accent-color:#aa8454}#life-panel{z-index:16;background:#f5f4e9f5;border:1px solid #b8c9bf;border-radius:13px;width:min(470px,100vw - 30px);max-height:calc(100dvh - 110px);padding:22px;position:fixed;top:50%;left:50%;overflow:auto;transform:translate(-50%,-50%);box-shadow:0 12px 50px #23494d44}#life-panel h2{margin:6px 0 14px;font-size:20px}#life-panel h3{margin:14px 0 8px;font-size:13px}#life-panel p,#life-panel li{font-size:12px;line-height:1.7}#life-panel ul{padding-left:20px}#life-panel button{text-align:left;width:100%;min-height:42px;margin:7px 0;font-size:12px;display:block}#life-close{color:#6c7368}.transfer-row{background:#e8eddf;border-radius:6px;align-items:center;gap:9px;min-height:44px;margin-bottom:5px;padding:5px;font-size:12px;display:flex}.transfer-row input{accent-color:#387369;flex:none;width:21px;height:21px}#life-activity{z-index:14;background:#edf3e9f5;border:1px solid #a1b9aa;border-radius:10px;width:340px;padding:12px;font-size:12px;position:fixed;bottom:24px;left:50%;transform:translate(-50%)}#life-activity strong,#life-activity span{display:block}#life-activity span{color:#507568;margin:6px 0;font-size:10px}#life-activity p{margin:6px 0;font-size:11px;line-height:1.5}#activity-stop{width:100%;min-height:40px;font-size:11px}#shift-ended{z-index:30}body[data-life-active=true] #interaction,body[data-life-active=true] #run,body[data-life-active=true] #joystick{display:none}@media (pointer:coarse),(max-width:700px){#needs{width:140px;padding:7px;font-size:9px;top:121px;left:15px}#needs label{grid-template-columns:27px 29px 1fr}#life-panel{max-height:calc(100dvh - 110px);padding:18px}#life-activity{left:18px;bottom:max(24px,env(safe-area-inset-bottom));width:calc(100vw - 110px);max-width:340px;max-height:190px;overflow:auto;transform:none}}@media (max-height:520px){#needs{top:110px}#life-panel{width:min(440px,100vw - 160px);max-height:calc(100dvh - 30px);padding:15px}#life-activity{width:145px;max-height:190px;padding:8px;bottom:14px;left:18px}#life-activity p{max-height:55px;overflow:auto}}.debug-trigger{pointer-events:none;grid-template-columns:1fr 1fr;max-width:180px;max-height:210px;display:grid;top:230px;bottom:auto;overflow:auto}.debug-trigger>*{pointer-events:auto}.debug-trigger select{grid-column:1/-1}@media (pointer:coarse),(max-width:700px){.debug-trigger{grid-template-columns:1fr;max-width:140px;top:200px;left:15px}}@media (max-height:520px){.debug-trigger{display:none}}#handover-reminder{z-index:24;background:#fff9e9;border:1px solid #cbbb91;border-radius:12px;gap:5px;max-width:90vw;padding:5px;display:flex;position:fixed;top:170px;left:50%;transform:translate(-50%);box-shadow:0 5px 20px #203c3520}#handover-reminder[hidden]{display:none}#handover-reminder button{color:#355951;background:0 0;border:0;padding:9px;font-size:12px}#meeting-nav{flex:1}#meeting-dismiss{flex:none}@media (max-width:700px){#handover-reminder{width:calc(100% - 30px);max-width:350px;top:202px}}@media (max-height:520px){#handover-reminder{max-width:300px;top:80px}}#clock{letter-spacing:0;flex-direction:column;align-items:center;gap:3px;width:118px;padding:7px 6px;font-size:11px;display:flex}#clock-face{width:70px;height:70px}#clock small{color:#9b5b2f;font-size:10px}#needs{top:235px}.settings{flex-wrap:wrap}body:has(#life-panel:not([hidden])) #interaction{visibility:hidden}@media (pointer:coarse),(max-width:700px){#clock{width:105px;font-size:10px;top:76px}#clock-face{width:60px;height:60px}#needs{width:130px;top:191px}.hud-stack{width:min(205px,100vw - 135px)}#handover-reminder{top:270px}}@media (max-height:520px){#clock{width:110px;min-height:78px;padding-left:58px;font-size:9px;top:65px}#clock-face{width:50px;height:50px;position:absolute;top:16px;left:4px}#clock small{font-size:8px}#needs{top:150px}#handover-reminder{top:215px}}#talk-nearby{z-index:5;background:#fff2d9;max-width:230px;font-size:12px;position:fixed;bottom:128px;left:50%;transform:translate(-50%)}@media (pointer:coarse),(max-width:700px){#talk-nearby{max-width:150px;padding:10px;font-size:10px;bottom:242px;left:auto;right:88px;transform:none}}#meal-carry{color:#345552;background:#f6edcf;border:1px solid #c0cdb6;border-radius:5px;width:100%;margin-top:4px;padding:5px 2px;font-size:10px;line-height:1.3}#end-shift-nav{color:#fff;background:#176b60;border:2px solid #79ccac;border-radius:7px;width:100%;min-height:42px;margin-top:7px;padding:6px;font-size:11px;font-weight:700;display:block}#end-shift-nav[hidden]{display:none}#life-panel [data-life=finish]{color:#fff;background:#176b60;border:2px solid #79ccac;font-weight:700}#life-panel [data-life=nap]{color:#423979;background:#e4e4fa}.shift-finish-actions{background:#e5f1e8;border:1px solid #78a897;border-radius:8px;margin-bottom:14px;padding:9px}.shift-finish-actions h3{margin-top:0!important}body:has(#phone:not([hidden])){--open-phone-width:294px;--open-phone-right:18px;--phone-action-right:calc(var(--open-phone-width) + var(--open-phone-right) + 12px)}body:has(#phone:not([hidden])) #phone{width:var(--open-phone-width);right:var(--open-phone-right)}body:has(#phone:not([hidden])) #interaction{left:auto;right:var(--phone-action-right);z-index:6;transform:none}body:has(#phone:not([hidden])) #run{right:var(--phone-action-right);z-index:6;min-height:44px}body:has(#phone:not([hidden])) #talk-nearby{left:auto;right:var(--phone-action-right);z-index:6;min-height:44px;transform:none}body:has(#phone:not([hidden])) .look-hint{visibility:hidden}@media (pointer:coarse),(max-width:700px){body:has(#phone:not([hidden])){--open-phone-width:284px;--open-phone-right:max(12px,env(safe-area-inset-right))}body:has(#phone:not([hidden])) #interaction{bottom:max(16px,env(safe-area-inset-bottom));max-width:148px}body:has(#phone:not([hidden])) #interact{overflow-wrap:anywhere;width:100%;min-width:0;min-height:48px}body:has(#phone:not([hidden])) #run{bottom:112px}body:has(#phone:not([hidden])) #talk-nearby{max-width:148px;bottom:170px}}@media (max-width:600px) and (orientation:portrait){body:has(#phone:not([hidden])){--open-phone-width:clamp(200px,calc(100vw - 168px),284px);--phone-strip:calc(100vw - var(--open-phone-width) - var(--open-phone-right) - 24px);--open-stick:min(144px,var(--phone-strip));--open-bottom:max(18px,env(safe-area-inset-bottom))}body:has(#phone:not([hidden])) #phone{gap:4px;padding:9px 7px}body:has(#phone:not([hidden])) .phone-tabs{flex-wrap:wrap;gap:3px}body:has(#phone:not([hidden])) .phone-tabs button{padding:5px 2px!important}body:has(#phone:not([hidden])) .phone-equipment-label{flex-wrap:wrap;gap:4px}body:has(#phone:not([hidden])) #phone-content{padding:7px}body:has(#phone:not([hidden])) #interaction{width:var(--phone-strip);max-width:144px;bottom:calc(var(--open-bottom) + var(--open-stick) + 12px)}body:has(#phone:not([hidden])) #interact{max-height:104px;padding:9px 7px;font-size:11px;overflow:auto}body:has(#phone:not([hidden])) #gown-hint{max-height:52px;padding:6px;font-size:10px;overflow:hidden}body:has(#phone:not([hidden])) #run{bottom:calc(var(--open-bottom) + var(--open-stick) + 128px)}body:has(#phone:not([hidden])) #talk-nearby{width:var(--phone-strip);max-width:144px;bottom:calc(var(--open-bottom) + var(--open-stick) + 184px);max-height:60px;padding:7px;font-size:10px;overflow:auto}body:has(#phone:not([hidden])) #joystick{width:var(--open-stick);height:var(--open-stick);left:12px;bottom:var(--open-bottom)}body:has(#phone:not([hidden])) #joystick i{width:44px;height:44px;top:calc(50% - 22px);left:calc(50% - 22px)}body:has(#phone:not([hidden])) #minimap-panel{width:var(--phone-strip);max-width:144px;left:12px;bottom:calc(var(--open-bottom) + var(--open-stick) + 252px)}body:has(#phone:not([hidden])) #minimap-panel .map-key{display:none}}@media (max-width:600px) and (orientation:portrait) and (max-height:760px){body:has(#phone:not([hidden])) #minimap-panel{visibility:hidden}}@media (max-height:520px){body:has(#phone:not([hidden])) #handover-reminder{width:calc(100vw - var(--phone-action-right) - 172px);max-width:300px;top:64px;left:160px;transform:none}body:has(#phone:not([hidden])){--open-phone-width:275px;--open-phone-right:max(12px,env(safe-area-inset-right))}body:has(#phone:not([hidden])) #interaction{bottom:max(14px,env(safe-area-inset-bottom));max-width:148px}body:has(#phone:not([hidden])) #run{bottom:120px}body:has(#phone:not([hidden])) #talk-nearby{max-width:148px;bottom:176px}}#assistant-status{z-index:12;background:#f5f8edf5;border:1px solid #b4c7bb;border-radius:10px;width:280px;padding:7px 9px;position:fixed;top:112px;right:28px;box-shadow:0 4px 18px #23413412}.assistant-heading{justify-content:space-between;align-items:center;margin:1px 2px 5px;font-size:12px;display:flex}.assistant-heading small{color:#61746b;font-size:10px}.assistant-status-row{text-align:left;background:0 0;border:0;border-top:1px solid #dce3d8;border-radius:0;width:100%;min-height:55px;padding:5px 6px;display:block}.assistant-line{justify-content:space-between;align-items:center;font-size:12px;display:flex}.assistant-line em{color:#206d4e;font-size:10px;font-style:normal}.assistant-status-row[data-busy=true] em{color:#94642e}.assistant-location,.assistant-job{text-overflow:ellipsis;white-space:nowrap;font-size:10px;line-height:1.4;display:block;overflow:hidden}.assistant-location{color:#66796c}.assistant-job{color:#31564e}.hud-stack{max-height:calc(100dvh - 430px);top:322px}#assistant-dispatch{z-index:26;background:#f6f6eefa;border:1px solid #9cbcac;border-radius:13px;width:min(440px,100vw - 30px);max-height:calc(100dvh - 40px);padding:22px;position:fixed;top:50%;left:50%;overflow:auto;transform:translate(-50%,-50%);box-shadow:0 12px 50px #23494d44}#assistant-dispatch h2{margin:0 30px 10px 0;font-size:19px}#assistant-dispatch p{font-size:12px;line-height:1.6}#assistant-dispatch button:not(#assistant-dispatch-close){text-align:left;width:100%;min-height:44px;margin:7px 0;font-size:12px;display:block}#assistant-dispatch-close{min-width:40px;min-height:40px;padding:5px;position:absolute;top:8px;right:9px}#assistant-dispatch-jobs button span{color:#557469;margin-top:4px;font-size:11px;display:block}.assistant-hold{align-items:center;gap:8px;min-height:44px;font-size:12px;display:flex}.assistant-hold input{accent-color:#28775e;width:20px;height:20px}body:has(#assistant-dispatch:not([hidden])) #interaction{visibility:hidden}#handover-reminder{width:min(390px,100vw - 30px);max-width:none;top:50%;transform:translate(-50%,-50%)}#meeting-nav{min-height:52px;font-weight:700;line-height:1.6}#life-panel [data-life=finish-all]{color:#fff;background:#176b60;border:2px solid #79ccac;font-weight:700}@media (pointer:coarse),(max-width:700px){#assistant-status{width:min(205px,100vw - 155px);padding:5px 7px;top:75px;right:15px}.assistant-status-row{min-height:51px;padding:4px}.assistant-heading,.assistant-line{font-size:11px}.assistant-location,.assistant-job{font-size:9px}.hud-stack{max-height:calc(100dvh - 450px);top:267px}#assistant-dispatch{padding:18px}}@media (max-height:520px){#assistant-status{width:205px;top:62px;right:15px}.assistant-status-row{min-height:43px;padding-right:56px;position:relative}.assistant-line em{position:absolute;top:4px;right:4px}.assistant-job{font-size:9px}.assistant-heading{font-size:10px}.hud-stack{max-height:calc(100dvh - 315px);top:250px}#handover-reminder{width:300px}}@media (pointer:coarse),(max-width:700px){body:not(:has(#repair:not([hidden]))) #toast{pointer-events:none;max-height:76px;top:auto;bottom:205px;overflow:auto}}@media (max-height:520px){body:not(:has(#repair:not([hidden]))) #toast{width:260px;max-width:calc(100vw - 470px);top:80px;bottom:auto;left:50%}}#assistant-auto-toggle{color:#345f4b;text-align:center;background:#e8eee5;border:1px solid #8cae9a;border-radius:6px;max-width:140px;min-height:40px;padding:5px 7px;font-size:10px;line-height:1.2}#assistant-auto-toggle[aria-pressed=true]{color:#fff;background:#176b60}#assistant-auto-toggle[hidden]{display:none}body[data-auto-work-unlocked=true] .hud-stack{max-height:calc(100dvh - 458px);top:350px}.task-row[data-status=COMPLETE]{color:#507365;opacity:.85;background:#dfebe2;padding:9px}.task-complete-name{font-size:12px;text-decoration:line-through;display:block}.task-row[data-status=COMPLETE] small{margin-top:5px;font-size:10px;line-height:1.4;display:block}@media (pointer:coarse),(max-width:700px){body[data-auto-work-unlocked=true] .hud-stack{max-height:calc(100dvh - 480px);top:297px}#assistant-auto-toggle{max-width:112px;padding:4px;font-size:9px}}@media (max-height:520px){body[data-auto-work-unlocked=true] .hud-stack{max-height:calc(100dvh - 343px);top:278px}}#map-size,#phone-keypad-toggle,#phone-dial-display{display:none}.phone-utility{display:contents}@media (pointer:coarse),(max-width:700px){:root{--ui-left:max(10px,env(safe-area-inset-left));--ui-right:max(10px,env(safe-area-inset-right));--ui-top:max(8px,env(safe-area-inset-top));--ui-bottom:max(12px,env(safe-area-inset-bottom));--stick-size:clamp(132px,37vw,152px);--stick-bottom:var(--ui-bottom);--hud-width:clamp(154px,calc(100vw - 170px),220px)}html,body{overscroll-behavior:none;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}button,select{min-height:44px}button{touch-action:manipulation}button:active{filter:brightness(.92)}button:disabled{opacity:.55}select,input:not([type=checkbox]){font-size:16px!important}input[type=range]{touch-action:pan-x;min-height:44px}button,select{scroll-margin:12px}.topbar{top:var(--ui-top);left:var(--ui-left);right:var(--ui-right);gap:8px;height:38px}.brand b{letter-spacing:-.8px;font-size:19px}.brand small{letter-spacing:.5px;font-size:6px}.location{flex:1;min-width:0;max-width:none;padding:7px;font-size:10px}.location #zone{max-width:100%}.location i{display:none}#pause{width:44px;min-width:44px;height:44px;margin-left:auto;padding:0;font-size:22px}#clock{top:calc(var(--ui-top) + 48px);left:var(--ui-left);justify-content:center;width:132px;height:66px;min-height:0;padding:7px 4px 7px 54px;font-size:11px}#clock-face{width:46px;height:46px;position:absolute;top:10px;left:5px}#clock small{font-size:10px}#needs{top:calc(var(--ui-top) + 120px);left:var(--ui-left);width:132px;padding:7px;font-size:10px}#needs label{grid-template-columns:26px 29px 1fr}#needs small{font-size:10px}#meal-carry,#end-shift-nav{min-height:44px;margin-top:6px;font-size:11px}#assistant-status{top:calc(var(--ui-top) + 48px);right:var(--ui-right);width:var(--hud-width);border-radius:12px;padding:5px 6px}.assistant-heading{min-height:22px;margin:0 0 3px;font-size:11px}.assistant-heading small{font-size:9px}.assistant-status-row{min-height:44px;padding:4px 3px}.assistant-line{font-size:12px}.assistant-line em{font-size:11px}.assistant-location{display:none}.assistant-job{font-size:10px;line-height:1.5}.assistant-status-row:disabled em{color:#84572d}#assistant-auto-toggle{max-width:110px;min-height:44px;padding:4px;font-size:10px}.hud-stack,body[data-auto-work-unlocked=true] .hud-stack{top:calc(var(--ui-top) + 222px);right:var(--ui-right);width:var(--hud-width);z-index:32;gap:6px;max-height:none;display:flex;overflow:visible}.hud-stack .task-panel,.hud-stack .route-panel{border-radius:10px;flex:1;min-width:0;margin:0;overflow:visible}.hud-stack .route-panel{width:auto}#task-toggle,#route-toggle{text-align:center;min-height:44px;padding:5px 6px;font-size:11px;line-height:1.5}#task-toggle span,#route-toggle span{display:none}#task-count{margin-left:2px;padding:1px 4px;font-size:10px}#task-body,#route-body{left:var(--ui-left);right:var(--ui-right);top:calc(var(--ui-top) + 274px);bottom:var(--ui-bottom);overscroll-behavior:contain;-webkit-overflow-scrolling:touch;background:#f6f8effa;border:1px solid #91aaa0;border-radius:12px;width:auto;max-height:none;padding:14px;position:fixed;overflow:auto;box-shadow:0 14px 45px #123c3c40}#assigned,#work-empty,#completed-work{font-size:12px}.task-row{padding:10px 0}.task-select{padding:8px 4px;font-size:14px}.quick-notify,.delegate-task{min-height:44px;margin:3px 5px 3px 0;font-size:12px}.task-owner{font-size:12px}#route-body label{margin:6px 0;font-size:13px;display:block}#route-body select{width:100%;min-height:44px}.target-row{font-size:14px}#route-note{font-size:12px;line-height:1.6}#joystick{left:var(--ui-left);bottom:var(--ui-bottom);width:var(--stick-size);height:var(--stick-size);background:#f6f9ed70}#joystick i{width:54px;height:54px;top:calc(50% - 27px);left:calc(50% - 27px)}#phone-toggle{right:var(--ui-right);bottom:var(--ui-bottom);border-radius:16px;width:56px;height:98px;padding:5px}.mini-face{border-width:3px;height:44px}.mini-face b{font-size:11px}.mini-keys{font-size:10px;line-height:6px}.mini-nav{height:13px}.mini-earpiece{height:3px}#phone-caption{display:none}#interaction{left:auto;right:calc(var(--ui-right) + 64px);bottom:var(--ui-bottom);width:min(150px,calc(100vw - var(--stick-size) - 100px));max-width:none;transform:none}#interact{overflow-wrap:anywhere;width:100%;max-width:none;min-height:58px;padding:8px;font-size:12px;line-height:1.5}#gown-hint{padding:6px;font-size:11px}#run{right:calc(var(--ui-right) + 66px);bottom:calc(var(--ui-bottom) + 70px);width:64px;min-height:48px;padding:8px;font-size:13px}#talk-nearby{right:calc(var(--ui-right) + 64px);left:auto;bottom:calc(var(--ui-bottom) + 130px);width:min(148px,100vw - 180px);max-width:none;min-height:48px;max-height:72px;padding:8px;font-size:12px;line-height:1.5;transform:none}.look-hint{display:none}#minimap-panel{left:var(--ui-left);bottom:calc(var(--ui-bottom) + var(--stick-size) + 12px);width:140px;padding:5px}.minimap-heading{min-height:30px;padding-right:32px;font-size:9px;display:block;position:relative}.minimap-heading strong,.minimap-heading span{display:block}.map-key{display:none!important}#map-size{background:0 0;border:0;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;font-size:23px;display:block;position:absolute;top:-5px;right:-4px}#minimap-panel #minimap{aspect-ratio:28/17;height:auto;display:block}#minimap-panel.map-expanded{z-index:65;background:#f3f7effc;width:min(560px,100vw - 24px);padding:12px;top:50%;bottom:auto;left:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 100vmax #183b3b66}#minimap-panel.map-expanded .minimap-heading{min-height:44px;font-size:12px}#minimap-panel.map-expanded #map-size{top:0;right:0}body:has(#phone:not([hidden])){--open-phone-width:clamp(208px,calc(100vw - 128px),316px);--open-phone-right:var(--ui-right);--phone-strip:calc(100vw - var(--open-phone-width) - var(--ui-left) - var(--ui-right) - 10px);--phone-action-right:calc(var(--open-phone-width) + var(--ui-right) + 10px)}#phone{right:var(--ui-right);bottom:var(--ui-bottom);width:var(--open-phone-width,280px);height:min(510px,calc(100dvh - var(--ui-top) - var(--ui-bottom) - 178px));min-height:270px;max-height:calc(100dvh - var(--ui-top) - var(--ui-bottom) - 50px);z-index:80;border-width:3px;border-radius:24px;gap:5px;padding:8px 6px}body:has(#phone:not([hidden])) #phone{right:var(--ui-right);bottom:var(--ui-bottom);width:var(--open-phone-width,280px);height:min(510px,calc(100dvh - var(--ui-top) - var(--ui-bottom) - 178px));min-height:270px;max-height:calc(100dvh - var(--ui-top) - var(--ui-bottom) - 50px);z-index:80;border-width:3px;border-radius:24px;gap:5px;padding:8px 6px}.phone-earpiece{flex:none;height:4px;margin:0 auto}.phone-bezel{border-width:3px 5px 5px;border-radius:12px 12px 5px 5px;flex:1;min-height:0}.phone-screen{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;flex:1;height:auto;min-height:0;max-height:none}.phone-status{padding:3px;font-size:10px}.phone-logo{padding:2px;font-size:14px}.phone-logo small{font-size:7px}#phone-content{padding:8px;font-size:12px;line-height:1.6}body:has(#phone:not([hidden])) #phone-content{padding:8px;font-size:12px;line-height:1.6}#phone-content button{min-height:44px;padding:9px 6px;font-size:12px}.phone-tabs{z-index:1;background:#111c23;flex-wrap:nowrap;gap:4px;padding:4px 0;position:sticky;top:-8px}body:has(#phone:not([hidden])) .phone-tabs{z-index:1;background:#111c23;flex-wrap:nowrap;gap:4px;padding:4px 0;position:sticky;top:-8px}.phone-tabs button{min-height:44px!important;padding:5px 3px!important;font-size:11px!important}body:has(#phone:not([hidden])) .phone-tabs button{min-height:44px!important;padding:5px 3px!important;font-size:11px!important}.phone-equipment-label{font-size:12px;display:block}body:has(#phone:not([hidden])) .phone-equipment-label{font-size:12px;display:block}.phone-equipment-label select{width:100%;max-width:none;margin-top:4px;padding:6px;display:block}.phone-contacts span,.phone-person span,.phone-person small,.phone-history b,.phone-history span,.phone-history small{font-size:11px}.phone-contacts b{font-size:13px}.phone-person h3{font-size:21px}.phone-dialogue{font-size:13px;line-height:1.7}.phone-two button{font-size:12px!important}.phone-call-timer{font-size:11px}.phone-dialing{padding:8px 0}.phone-softkeys{gap:6px;padding:0}.phone-softkeys button{height:44px;min-height:44px}.phone-utility{flex:none;gap:5px;display:flex}#phone-close,#phone-keypad-toggle{color:#e1edeb;background:#293436;border:1px solid #647374;border-radius:7px;flex:1;min-height:44px;margin:0;padding:5px 3px;font-size:11px;line-height:1.4;display:block}#phone-close{flex:1.4}#phone-audio{min-height:44px;padding:5px;font-size:12px}#phone[data-keypad=false] .phone-keypad{display:none}.phone-keypad{gap:4px}.phone-keypad button{justify-content:center;height:44px;min-height:44px;padding:4px}.phone-keypad b{font-size:22px}.phone-keypad small{font-size:9px}#phone[data-keypad=true]{min-height:0;height:auto!important}#phone[data-keypad=true] .phone-screen{display:none}#phone[data-keypad=true] .phone-bezel{flex:none}#phone[data-keypad=true] #phone-dial-display{text-align:center;letter-spacing:4px;color:#fff;background:#111c23;min-height:44px;margin:0;padding:6px;font-size:22px;display:block}#phone[data-keypad=true] .phone-logo,#phone[data-keypad=true] .phone-status{display:none}body:has(#phone:not([hidden])) #joystick{left:var(--ui-left);bottom:var(--ui-bottom);width:min(116px,var(--phone-strip));height:min(116px,var(--phone-strip))}body:has(#phone:not([hidden])) #joystick i{width:44px;height:44px;top:calc(50% - 22px);left:calc(50% - 22px)}body:has(#phone:not([hidden])) #interaction{right:var(--phone-action-right);left:auto;bottom:calc(var(--ui-bottom) + 174px);width:var(--phone-strip);max-width:148px}body:has(#phone:not([hidden])) #interact{min-height:58px;max-height:92px;padding:7px;font-size:12px}body:has(#phone:not([hidden])) #run{right:var(--phone-action-right);bottom:calc(var(--ui-bottom) + 122px);width:min(70px,var(--phone-strip));min-height:44px}body:has(#phone:not([hidden])) #talk-nearby{right:var(--phone-action-right);bottom:calc(var(--ui-bottom) + 242px);width:var(--phone-strip);max-width:148px;min-height:44px;padding:6px;font-size:11px}body:has(#phone:not([hidden])) #minimap-panel{visibility:hidden}body:has(#phone:not([hidden])) #gown-hint{display:none}.overlay{padding:var(--ui-top) var(--ui-right) var(--ui-bottom) var(--ui-left);overscroll-behavior:contain}.menu-card{max-height:calc(100dvh - var(--ui-top) - var(--ui-bottom));overscroll-behavior:contain;border-radius:16px;padding:22px 20px;overflow:auto}.menu-card h1{font-size:43px}.menu-card .intro{font-size:13px}.menu-card .scope,.menu-card .help{font-size:12px}.menu-card .settings{grid-template-columns:1fr;gap:6px;display:grid}.settings label{justify-content:space-between;min-height:44px;font-size:13px}.settings input{width:130px}.settings select{max-width:65%}.career-actions{grid-template-columns:1fr 1fr;display:grid}.career-actions button{margin:0;padding:8px;font-size:13px}.menu-card #start{min-height:52px;font-size:16px}#life-panel,#assistant-dispatch,#repair{left:var(--ui-left);right:var(--ui-right);top:calc(var(--ui-top) + 48px);width:auto;max-width:600px;max-height:calc(100dvh - var(--ui-top) - var(--ui-bottom) - 48px);overscroll-behavior:contain;-webkit-overflow-scrolling:touch;z-index:60;background:#f5f7effc;border-radius:16px;padding:18px;bottom:auto;overflow:auto;transform:none}#life-panel button,#assistant-dispatch button,#repair button,.detail-card button,.career-card button{min-height:44px;font-size:14px}#life-panel p,#life-panel li,#assistant-dispatch p,#repair-instruction,#repair-hint{font-size:13px}#life-panel h2,#assistant-dispatch h2,#repair h2{overflow-wrap:anywhere;font-size:20px}#assistant-dispatch-close{min-width:44px;min-height:44px;top:7px;right:7px}#assistant-dispatch h2{padding-right:35px}#life-close,#leave-repair{background:#e4eee7;border:1px solid #86a699;margin-bottom:0;position:sticky;bottom:0;box-shadow:0 -5px 12px #f5f7ef;min-height:48px!important}#repair .repair-note{font-size:11px}#repair-game button{min-height:44px;font-size:12px}#repair-game input[type=range]{width:100%;min-height:44px}.detail-card,.career-card{width:min(600px,100%);max-height:calc(100dvh - var(--ui-top) - var(--ui-bottom));overscroll-behavior:contain;padding:20px}.detail-card p{font-size:14px}.career-card button{font-size:13px}.career-card .summary-grid{gap:0 14px}#career-actions{background:#f6f6ed;padding-top:8px;position:sticky;bottom:0}#life-activity{left:var(--ui-left);bottom:var(--ui-bottom);width:calc(100vw - 88px - var(--ui-left));z-index:40;max-width:390px;max-height:210px;padding:12px}#activity-stop{min-height:48px;font-size:13px}#life-activity span,#life-activity p{font-size:12px}#handover-reminder{z-index:55;width:min(370px,100vw - 24px);max-width:none;top:50%;bottom:auto;left:50%;transform:translate(-50%,-50%)}body:has(#phone:not([hidden])) #handover-reminder{z-index:55;width:min(370px,100vw - 24px);max-width:none;top:50%;bottom:auto;left:50%;transform:translate(-50%,-50%)}#meeting-nav{min-height:56px;font-size:13px}#meeting-dismiss{min-width:44px;min-height:44px}:is(body:not(:has(#repair:not([hidden]))) #toast,body:has(#phone:not([hidden])) #toast){top:auto;left:50%;bottom:calc(var(--ui-bottom) + 180px);pointer-events:none;z-index:90;width:min(340px,100vw - 28px);max-width:none;max-height:84px;padding:10px 12px;font-size:12px;transform:translate(-50%)}body[data-hud-open=true] :is(#joystick,#run,#interaction,#talk-nearby,#minimap-panel){visibility:hidden}body:has(:is(#life-panel,#assistant-dispatch,#repair,#detail,#lift-panel):not([hidden])) :is(#joystick,#run,#interaction,#talk-nearby,#minimap-panel,.hud-stack){visibility:hidden}body:has(#phone:not([hidden])) :is(#life-panel,#repair,#detail,#assistant-dispatch,#life-activity,#handover-reminder){visibility:hidden}body:has(:is(#menu,#career-panel):not([hidden])) :is(#phone,#phone-toggle,#handover-reminder){visibility:hidden}}@media (pointer:coarse) and (max-height:520px) and (orientation:landscape),(max-width:700px) and (max-height:520px) and (orientation:landscape){:root{--stick-size:116px;--hud-width:232px}#clock{height:58px;top:calc(var(--ui-top) + 44px);width:132px}#clock-face{top:6px}#needs{top:calc(var(--ui-top) + 108px)}#assistant-status{top:calc(var(--ui-top) + 44px);width:var(--hud-width)}.assistant-heading{min-height:22px}.assistant-heading small{display:none}#assistant-status-list{gap:3px;display:flex}.assistant-status-row{background:#e7eee660;border:0;border-radius:5px;flex:1;min-width:0;min-height:52px;padding:4px}.assistant-line{font-size:11px;display:block}.assistant-line em{font-size:10px;display:block;position:static}.assistant-job{font-size:9px}.assistant-location{display:none}#assistant-auto-toggle{min-height:44px;padding:3px 6px;font-size:10px}#assistant-status:has(#assistant-auto-toggle:not([hidden])) .assistant-heading{min-height:44px}.hud-stack,body[data-auto-work-unlocked=true] .hud-stack{top:calc(var(--ui-top) + 148px);width:var(--hud-width)}#task-body,#route-body{left:auto;right:var(--ui-right);top:calc(var(--ui-top) + 198px);bottom:var(--ui-bottom);width:min(420px,100vw - 170px);min-height:80px}#minimap-panel{left:calc(var(--ui-left) + var(--stick-size) + 10px);bottom:var(--ui-bottom);width:136px}#interaction{width:150px;right:calc(var(--ui-right) + 65px)}#run{right:calc(var(--ui-right) + 76px);bottom:calc(var(--ui-bottom) + 70px)}#talk-nearby{right:calc(var(--ui-right) + 144px);bottom:calc(var(--ui-bottom) + 70px);width:126px;min-height:48px}body:has(#phone:not([hidden])){--open-phone-width:clamp(248px,34vw,310px);--phone-strip:116px}#phone{height:calc(100dvh - var(--ui-top) - var(--ui-bottom) - 40px);max-height:calc(100dvh - var(--ui-top) - var(--ui-bottom));gap:4px;min-height:0;padding:6px}body:has(#phone:not([hidden])) #phone{height:calc(100dvh - var(--ui-top) - var(--ui-bottom) - 40px);max-height:calc(100dvh - var(--ui-top) - var(--ui-bottom));gap:4px;min-height:0;padding:6px}#phone[data-keypad=true]{height:calc(100dvh - var(--ui-top) - var(--ui-bottom))!important}.phone-keypad button{height:44px;min-height:44px}.phone-earpiece{display:none}body:has(#phone:not([hidden])) #assistant-status{left:calc(var(--ui-left) + 142px);right:auto;top:calc(var(--ui-top) + 44px);width:calc(100vw - var(--open-phone-width) - 154px - var(--ui-right))}body:has(#phone:not([hidden])) #assistant-status .assistant-heading{display:none}body:has(#phone:not([hidden])) #assistant-status .assistant-job{display:none}body:has(#phone:not([hidden])) .hud-stack{top:calc(var(--ui-top) + 112px);right:var(--phone-action-right);width:136px}body:has(#phone:not([hidden])) #interaction{right:var(--phone-action-right);bottom:var(--ui-bottom);width:128px}body:has(#phone:not([hidden])) #run{right:var(--phone-action-right);bottom:calc(var(--ui-bottom) + 70px)}body:has(#phone:not([hidden])) #talk-nearby{right:calc(var(--phone-action-right) + 78px);bottom:calc(var(--ui-bottom) + 70px);width:114px}body:has(#phone:not([hidden])) #joystick{width:116px;height:116px}body:has(#phone:not([hidden])) #minimap-panel{visibility:hidden}#life-panel,#assistant-dispatch,#repair{left:50%;right:auto;top:var(--ui-top);width:min(560px,100vw - 100px);max-height:calc(100dvh - var(--ui-top) - var(--ui-bottom));padding:16px;transform:translate(-50%)}#life-activity{width:min(320px,100vw - 100px);max-height:180px}#life-activity p{max-height:none}#repair .repair-note{display:none}#minimap-panel.map-expanded{width:min(460px,164.706dvh - 164.706px,100vw - 80px);max-height:calc(100dvh - 20px);overflow:auto}body:not(:has(#repair:not([hidden]))) #toast{bottom:calc(var(--ui-bottom) + 124px);width:min(330px,100vw - 290px);font-size:11px}}@media (pointer:coarse),(max-width:700px){#route-toggle{font-size:0}#route-toggle:before{content:"導航";font-size:13px}body:has(#phone:not([hidden])) #assistant-status{width:var(--hud-width)}body:has(#phone:not([hidden])) .assistant-heading{display:none}body:has(#phone:not([hidden])) #assistant-status-list{gap:3px;display:flex}body:has(#phone:not([hidden])) .assistant-status-row{background:#e5eee5;border:0;border-radius:5px;flex:1;min-width:0;min-height:52px;padding:4px}body:has(#phone:not([hidden])) .assistant-line{font-size:11px;display:block}body:has(#phone:not([hidden])) .assistant-line em{font-size:10px;display:block;position:static}body:has(#phone:not([hidden])) .assistant-job{display:none}body:has(#phone:not([hidden])) .hud-stack{top:calc(var(--ui-top) + 118px);width:var(--hud-width)}body:has(#phone:not([hidden])) #toast{top:calc(var(--ui-top) + 200px);bottom:auto;left:var(--ui-left);width:var(--phone-strip);max-height:86px;padding:7px;font-size:11px;transform:none}}@media (pointer:coarse) and (max-height:520px) and (orientation:landscape),(max-width:700px) and (max-height:520px) and (orientation:landscape){body:has(#phone:not([hidden])) #assistant-status{width:calc(100vw - var(--open-phone-width) - 154px - var(--ui-right))}body:has(#phone:not([hidden])) .hud-stack{top:calc(var(--ui-top) + 112px);width:136px}body:has(#phone:not([hidden])) #phone[data-keypad=true]{grid-template-rows:44px 176px 44px;grid-template-columns:1fr 48px;gap:4px;padding:6px;display:grid;height:290px!important}#phone[data-keypad=true] .phone-bezel{border-width:3px;grid-column:1/-1;height:44px}#phone[data-keypad=true] #phone-dial-display{height:36px;min-height:0;padding:5px;font-size:20px;line-height:24px}#phone[data-keypad=true] .phone-softkeys{grid-area:2/2;grid-template-rows:repeat(3,44px);grid-template-columns:1fr;gap:8px}#phone[data-keypad=true] .phone-keypad{grid-area:2/1;gap:0 4px}#phone[data-keypad=true] .phone-utility{grid-area:3/1/auto/-1}#phone[data-keypad=true] #phone-audio{z-index:3;position:absolute;top:6px;left:6px;right:6px}body:has(#phone:not([hidden])) #toast{top:calc(var(--ui-top) + 166px);width:136px;max-height:64px}body:has(#phone:not([hidden])) .topbar{right:calc(var(--open-phone-width) + var(--ui-right) + 8px)}body:has(#phone:not([hidden])) #phone{height:calc(100dvh - var(--ui-top) - var(--ui-bottom))}}@media (pointer:coarse),(max-width:700px){body[data-auto-work-unlocked=true]:not(:has(#phone:not([hidden]))) .hud-stack{top:calc(var(--ui-top) + 244px)}}@media (pointer:coarse) and (max-height:520px) and (orientation:landscape),(max-width:700px) and (max-height:520px) and (orientation:landscape){body[data-auto-work-unlocked=true]:not(:has(#phone:not([hidden]))) .hud-stack{top:calc(var(--ui-top) + 164px)}}@media (pointer:coarse),(max-width:700px){#phone-toggle{z-index:70}body:is([data-hud-open=true],:has(:is(#life-panel,#assistant-dispatch,#repair,#detail,#lift-panel):not([hidden]))) #phone-toggle{top:var(--ui-top);border-radius:10px;width:72px;height:44px;padding:2px 4px;bottom:auto}body:is([data-hud-open=true],:has(:is(#life-panel,#assistant-dispatch,#repair,#detail,#lift-panel):not([hidden]))) #phone-toggle :is(.mini-earpiece,.mini-nav,.mini-keys,.mini-face small){display:none}body:is([data-hud-open=true],:has(:is(#life-panel,#assistant-dispatch,#repair,#detail,#lift-panel):not([hidden]))) #phone-toggle .mini-face{border-width:2px;flex-direction:row;gap:4px;height:34px}body:is([data-hud-open=true],:has(:is(#life-panel,#assistant-dispatch,#repair,#detail,#lift-panel):not([hidden]))) .topbar{right:calc(var(--ui-right) + 80px)}#menu{z-index:120}#detail,#lift-panel{z-index:60}body:has(#phone:not([hidden])) #needs{width:min(132px,var(--phone-strip))}body:has(#phone:not([hidden])) #needs :is(#meal-carry,#end-shift-nav){display:none}}@media (pointer:coarse) and (max-height:520px) and (orientation:landscape),(max-width:700px) and (max-height:520px) and (orientation:landscape){#meal-carry,#end-shift-nav{left:calc(var(--ui-left) + 144px);width:146px;margin:0;font-size:11px;position:fixed}#meal-carry{top:calc(var(--ui-top) + 44px)}#end-shift-nav{top:calc(var(--ui-top) + 96px)}#phone[data-call=false][data-keypad=false] .phone-softkeys{display:none}}.pc-shortcuts{gap:8px;display:flex}.pc-shortcuts button:first-child{flex:1}.pc-shortcuts button:last-child{width:auto!important}.pc-equipment ul{margin:6px 0;list-style:none;padding:0!important}.pc-equipment li{border-bottom:1px solid #dce5dc;justify-content:space-between;gap:8px;padding:4px 0;display:flex}.pc-equipment li span{color:#367667}.pc-equipment [data-status=DOWN]{color:#ae4333;font-weight:700}.pc-equipment [data-status=PM]{color:#986229}.pc-equipment h3 small{float:right;font-weight:400}.pc-info summary{cursor:pointer;border-top:1px solid #cbd9ce;align-items:center;min-height:44px;font-size:12px;display:flex}.pc-info summary:before{content:"▸";margin-right:6px}.pc-info[open] summary:before{content:"▾"}@media (pointer:coarse) and (max-height:520px) and (orientation:landscape),(max-width:700px) and (max-height:520px) and (orientation:landscape){#life-panel:is([data-page=pc],[data-page=research]){left:var(--ui-left);right:var(--ui-right);top:calc(var(--ui-top) + 48px);bottom:var(--ui-bottom);grid-template-rows:44px minmax(0,1fr);grid-template-columns:minmax(0,1fr) auto auto;gap:4px 8px;width:auto;max-width:none;max-height:none;padding:8px 12px;display:grid;overflow:hidden;transform:none}#life-panel:is([data-page=pc],[data-page=research])[hidden],#life-panel:is([data-page=pc],[data-page=research])>.eyebrow{display:none}#life-panel:is([data-page=pc],[data-page=research]) #life-title{grid-area:1/1;align-self:center;margin:0;font-size:16px}#life-panel:is([data-page=pc],[data-page=research]) #pc-stand{grid-area:1/2;width:auto;margin:0;padding:6px 10px;font-size:12px}#life-panel:is([data-page=pc],[data-page=research]) #life-close{width:auto;box-shadow:none;grid-area:1/3;margin:0;padding:6px 10px;font-size:12px;position:static;min-height:44px!important}#life-panel:is([data-page=pc],[data-page=research]) #life-content{overscroll-behavior:contain;grid-area:2/1/auto/-1;min-height:0;padding-right:2px;overflow:auto}#life-panel[data-page=pc] #life-content{overflow:hidden}.pc-workspace{grid-template-columns:minmax(0,1.65fr) minmax(180px,1fr);gap:12px;height:100%;min-height:0;display:grid}.pc-work-column,.pc-info-column{overscroll-behavior:contain;scrollbar-width:thin;min-width:0;padding-right:5px;overflow:auto}.pc-info-column{border-left:1px solid #b9cfc1;padding-left:12px}#life-panel[data-page=pc] h3{margin:5px 0;font-size:13px}#life-panel[data-page=pc] p,#life-panel[data-page=pc] li{margin:4px 0;font-size:12px;line-height:1.45}#life-panel[data-page=pc] .pc-shortcuts button{margin:0 0 4px;padding:6px 9px;font-size:12px;line-height:1.4}#life-panel[data-page=pc] .office-work-card{margin:7px 0;padding:9px}#life-panel[data-page=pc] .office-work-card h4{margin:0 0 4px;font-size:13px}#life-panel[data-page=pc] .office-work-card button{margin:6px 0 0;padding:6px 8px;font-size:12px}#life-panel[data-page=pc] .pc-equipment li{min-height:23px;margin:0;padding:3px 0}#life-panel[data-page=research] .research-projects{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}#life-panel[data-page=research] .research-card{flex-direction:column;min-width:0;margin:0;padding:10px;display:flex}#life-panel[data-page=research] .research-card button{margin-top:auto;padding:6px 10px;font-size:12px}#life-panel[data-page=research] .research-card small{margin-bottom:6px}#life-panel[data-page=research] .research-intro{margin:3px 0;padding:6px 9px;font-size:12px;line-height:1.4}#life-panel[data-page=research] h3{margin:9px 0 4px}#life-panel[data-page=research] p{margin:5px 0;font-size:12px;line-height:1.45}body:has(#life-panel:is([data-page=pc],[data-page=research]):not([hidden])) :is(#needs,#assistant-status,#life-activity){visibility:hidden}}@media (pointer:coarse) and (min-width:780px) and (max-height:520px) and (orientation:landscape){.pc-work-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.pc-work-cards .office-work-card{align-self:start}}@media (pointer:coarse) and (max-height:520px) and (orientation:landscape),(max-width:700px) and (max-height:520px) and (orientation:landscape){#life-panel:is([data-page=pc],[data-page=research]){top:var(--ui-top);grid-template-columns:minmax(0,1fr) auto auto 132px}body:has(#life-panel:is([data-page=pc],[data-page=research]):not([hidden])) .topbar{z-index:70}body:has(#life-panel:is([data-page=pc],[data-page=research]):not([hidden])) :is(.topbar .brand,.topbar .location,#clock){visibility:hidden}#life-panel[data-page=pc] .pc-work-column>p{display:none}}#title-brand{display:none}body[data-title=true] #title-brand{z-index:121;pointer-events:none;color:#143e47;text-shadow:0 2px 18px #e4f4ef;display:block;position:fixed;top:9vh;left:7vw}#title-brand>span{letter-spacing:-4px;font-size:clamp(44px,7vw,88px);font-weight:900}#title-brand h2{margin:0 0 12px;font-size:clamp(24px,3vw,42px)}#title-brand p{font-size:16px}body[data-title=true] #menu{-webkit-backdrop-filter:none;backdrop-filter:none;background:linear-gradient(90deg,#deecec15,#e2eded10 45%,#294c5740);justify-content:flex-end;padding:4vh 5vw}body[data-title=true] .menu-card{background:#f4f7efed;width:380px;max-height:92dvh;padding:25px;box-shadow:0 16px 70px #173f4c44}body[data-title=true] .menu-card h1{display:none}body[data-title=true] .menu-card>.eyebrow{margin:0 0 18px;font-size:11px}body[data-title=true] #start{min-height:48px;margin:12px 0}body[data-title=true] #menu .career-actions{grid-template-columns:1fr 1fr;gap:7px;display:grid}body[data-title=true] #menu .career-actions button{min-height:44px;margin:0}body[data-title=true] #save-now,body[data-title=true] #daily-history,body[data-title=true] #export-save,body[data-title=true] #career-progress{display:none}body[data-title=true] #save-status{font-size:11px;line-height:1.5}.title-details summary{cursor:pointer;min-height:44px;padding:12px 0;font-size:12px}.title-details p{font-size:12px}.title-details .settings{display:flex}body[data-title=true] .topbar,body[data-title=true] #clock,body[data-title=true] #needs,body[data-title=true] #assistant-status,body[data-title=true] .hud-stack,body[data-title=true] #minimap-panel,body[data-title=true] #touch-controls,body[data-title=true] #interaction,body[data-title=true] #phone-toggle,body[data-title=true] .controls{visibility:hidden}body[data-title=true] #career-panel{z-index:150}#leadership-open{background:#dbe8df;width:100%;min-height:44px;padding:7px;font-size:12px}body[data-leadership=true] #assistant-status-list{max-height:132px;overflow:auto}.annual-result{background:#e4eee5;border:1px solid #b4caba;border-radius:10px;margin:10px 0;padding:14px}.annual-grade{color:#1b6c58;font-size:42px;font-weight:800}.rank-ladder{grid-template-columns:repeat(2,1fr);gap:8px;display:grid}.rank-ladder article{border:1px solid #b9c9be;border-radius:8px;padding:10px;font-size:12px}.rank-ladder article[data-current=true]{background:#d7eade;border-color:#39866a}.lead-decision{border:1px solid #c0d1c5;border-radius:8px;margin:10px 0;padding:12px}.lead-decision button{min-height:44px}@media (pointer:coarse),(max-width:700px){body[data-title=true] .menu-card{width:min(360px,48vw);padding:16px}body[data-title=true] #title-brand{top:9vh;left:4vw}#title-brand p{max-width:210px;font-size:12px}body[data-leadership=true] #assistant-status-list{max-height:88px}body[data-leadership=true] #assistant-auto-toggle{display:none}body[data-leadership=true] .assistant-heading{min-height:22px}.rank-ladder{grid-template-columns:1fr 1fr}}@media (orientation:portrait){body[data-title=true] #title-brand{top:4vh;left:7vw}body[data-title=true] #title-brand>span{font-size:48px}body[data-title=true] #title-brand p{display:none}body[data-title=true] #menu{justify-content:center;align-items:flex-end;padding:14px}body[data-title=true] .menu-card{width:100%;max-width:440px;max-height:58dvh;padding:18px}body[data-title=true] #title-brand h2{font-size:25px}}@media (max-height:380px) and (orientation:landscape){body[data-title=true] #menu{padding:8px 12px}body[data-title=true] .menu-card{max-height:calc(100dvh - 16px)}#title-brand small{display:none}}body[data-title=true] #debug,body[data-title=true] .debug-trigger{display:none!important}#entry-career{font-size:13px;line-height:1.6}.xsmc-logo{width:clamp(210px,29vw,410px);margin-bottom:15px}.xsmc-logo svg{width:100%;height:auto;display:block}@media (orientation:portrait){.xsmc-logo{width:240px;margin-bottom:8px}}#character-choice{margin:10px 0}#character-choice label{margin-bottom:6px;font-weight:700;display:block}#character-name{color:#173f4c;box-sizing:border-box;background:#fffdf6;border:1px solid #91b0a5;border-radius:8px;width:100%;min-height:44px;padding:10px;font-size:16px}#character-choice small{color:#42635c;margin-top:5px;font-size:11px;display:block}#entry-name:empty{display:none}#entry-name{margin:8px 0;font-weight:700}@media (orientation:landscape) and (max-height:500px){body[data-title=true] #module-choice{margin:8px 0;padding:10px}body[data-title=true] #module-description,body[data-title=true] #module-choice>small{display:none}body[data-title=true] .menu-card>.eyebrow{margin-bottom:8px}body[data-title=true] #character-choice{margin:8px 0}body[data-title=true] #character-choice small{font-size:10px}body[data-title=true] #start{margin:8px 0}}body[data-title=true] #title-brand{width:min(42vw,540px)}#title-brand .xsmc-logo{width:142px;margin-bottom:18px}body[data-title=true] #title-brand h2{letter-spacing:-.065em;color:#123f46;margin:0 0 14px;font-size:clamp(70px,9vw,126px);font-style:italic;font-weight:900;line-height:.95}body[data-title=true] #title-brand p{max-width:none;display:block}#title-brand .title-full-name{letter-spacing:.1em;text-transform:uppercase;text-wrap:balance;margin:0 0 8px;font-size:clamp(12px,1.25vw,17px);font-weight:800;line-height:1.5}#title-brand .title-subtitle{letter-spacing:.12em;margin:0;font-size:clamp(21px,2.5vw,31px);font-weight:700;line-height:1.3}#title-brand .title-slogan{text-wrap:balance;border-left:3px solid #c27830;margin:24px 0 16px;padding:2px 0 2px 12px;font-size:clamp(12px,1.25vw,16px);line-height:1.7}#title-brand small{letter-spacing:1px;font-size:10px}@media (orientation:portrait){body[data-title=true] #title-brand{width:86vw;top:max(20px,env(safe-area-inset-top))}#title-brand .xsmc-logo{width:118px;margin-bottom:10px}body[data-title=true] #title-brand h2{margin-bottom:9px;font-size:64px}#title-brand .title-full-name{letter-spacing:.08em;max-width:300px;margin-bottom:6px;font-size:11px}#title-brand .title-subtitle{font-size:21px}#title-brand .title-slogan{margin:14px 0 0;padding-left:9px;font-size:12px}#title-brand small{display:none}}@media (orientation:landscape) and (max-height:500px){body[data-title=true] #title-brand{width:39vw;top:6vh}#title-brand .xsmc-logo{width:110px;margin-bottom:10px}body[data-title=true] #title-brand h2{margin-bottom:9px;font-size:clamp(52px,8vw,76px)}#title-brand .title-full-name{letter-spacing:.06em;margin-bottom:6px;font-size:11px}#title-brand .title-subtitle{font-size:21px}#title-brand .title-slogan{margin:16px 0 0;padding-left:9px;font-size:12px}#title-brand small{display:none}}.character-name-row{align-items:stretch;gap:8px;display:flex}.character-name-row #character-name{flex:1;width:0;min-width:0}#character-name-roll{color:#fff;touch-action:manipulation;background:#176b60;border:1px solid #247a70;border-radius:9px;flex:0 0 46px;place-items:center;width:46px;min-height:46px;margin:0;padding:9px;display:grid}#character-name-roll svg{width:26px;height:26px}#character-name-roll:hover{background:#10574e}#character-name-roll:active{background:#0d4a42}#character-name-roll:focus-visible{outline-offset:2px;outline:3px solid #ca882f}.feedback-link{color:#205d54;touch-action:manipulation;background:#e4f0e9;border:1px solid #7fa99e;border-radius:9px;justify-content:space-between;align-items:center;gap:10px;min-height:52px;margin:8px 0 12px;padding:10px 14px;text-decoration:none;display:flex}.feedback-link b{font-size:14px;display:block}.feedback-link small{color:#496b62;margin-top:3px;font-size:11px;line-height:1.5;display:block}.feedback-link>span:last-child{font-size:22px}.feedback-link:hover{background:#d6e9df}.feedback-link:focus-visible{outline-offset:2px;outline:3px solid #ca882f}#tutorial{z-index:12;color:#254944;background:#f7f4e8f5;border:1px solid #76938c;border-radius:12px;width:min(350px,100vw - 24px);position:fixed;top:86px;left:50%;overflow:hidden;transform:translate(-50%);box-shadow:0 5px 22px #203f4624}#tutorial-toggle{text-align:left;color:#254944;background:#dfebe3;border:0;border-radius:0;width:100%;min-height:54px;padding:9px 13px;display:block}#tutorial-toggle b,#tutorial-goal{font-size:12px;display:block}#tutorial-goal{margin-top:4px;font-size:13px}#tutorial-body{max-height:45dvh;padding:10px 14px;overflow-y:auto}#tutorial-copy{margin:0 0 8px;font-size:13px;line-height:1.7}#tutorial-action{color:#fff;background:#2e7065;width:100%;min-height:44px}#tutorial-body small{margin-top:9px;font-size:10px;display:block}#auto-navigate{color:#fff;background:#2e7065;width:100%;min-height:44px;margin-top:7px}#auto-navigation-stop{z-index:16;color:#fff;background:#176155;border:2px solid #e5f1df;border-radius:24px;min-height:44px;padding:9px 15px;position:fixed;top:18px;left:50%;transform:translate(-50%)}body[data-hud-open=true] #tutorial{display:none}body:has(#menu:not([hidden])) #tutorial{display:none}body:has(#phone:not([hidden])) #tutorial{display:none}body:has(#repair:not([hidden])) #tutorial{display:none}#tutorial:has(#tutorial-body:not([hidden])){z-index:65}:is(body:has(#tutorial-body:not([hidden])) #handover-reminder,body:has(#tutorial-body:not([hidden])) #toast){visibility:hidden}@media (pointer:coarse),(max-width:700px){#tutorial{z-index:14;width:calc(100vw - 164px);top:146px;left:auto;right:10px;transform:none}#tutorial:has(#tutorial-body:not([hidden])){width:min(350px,100vw - 24px)}#tutorial-toggle{min-height:48px;padding:7px 12px}#tutorial-body{max-height:36dvh}#auto-navigation-stop{max-width:190px;font-size:12px;top:5px}}@media (max-height:520px) and (orientation:landscape){:is(#tutorial,#tutorial:has(#tutorial-body:not([hidden]))){width:min(280px,100vw - 310px);top:57px;left:50%;right:auto;transform:translate(-50%)}#tutorial-toggle b{font-size:10px}#tutorial-goal{font-size:11px}#tutorial-body{max-height:calc(100dvh - 148px);padding:8px 12px}#tutorial-copy{font-size:12px}#auto-navigation-stop{top:5px}}body:not(:has(#phone:not([hidden]))) #interaction.context-ready{z-index:35;gap:7px;width:min(330px,100vw - 32px);max-width:none;display:grid;inset:60% auto auto 50%;transform:translate(-50%,-50%)}#context-quick{color:#fff;text-align:center;touch-action:manipulation;background:#205f57;border:2px solid #c4e1cf;border-radius:14px;justify-content:center;width:100%;min-width:0;max-width:none;min-height:56px;padding:12px 18px;font-size:15px;font-weight:700;line-height:1.5;box-shadow:0 5px 22px #10392c45}body:not(:has(#phone:not([hidden]))) #interaction.context-ready #interact{color:#fff;text-align:center;touch-action:manipulation;background:#205f57;border:2px solid #c4e1cf;border-radius:14px;justify-content:center;width:100%;min-width:0;max-width:none;min-height:56px;padding:12px 18px;font-size:15px;font-weight:700;line-height:1.5;box-shadow:0 5px 22px #10392c45}#context-quick:hover{background:#2e7467}body:not(:has(#phone:not([hidden]))) #interaction.context-ready #interact:hover{background:#2e7467}body:not(:has(#phone:not([hidden]))) #interaction.context-ready #interact kbd{color:#fff;background:#fff2;border-color:#fff5}body:not(:has(#phone:not([hidden]))) #interaction.has-quick #interact{color:#30544b;background:#f5f8f2f5;border:1px solid #b5cabc;min-height:44px;padding:8px 12px;font-size:12px;font-weight:400;box-shadow:0 3px 12px #10392c20}#interaction.context-ready #gown-hint{display:none}body:has(#phone:not([hidden])) #context-quick{display:none}body[data-hud-open=true] #interaction{visibility:hidden}body:has(:is(#menu,#career-panel,#life-panel,#assistant-dispatch,#repair,#detail,#lift-panel):not([hidden])) #interaction{visibility:hidden}body:has(#tutorial-body:not([hidden])) #interaction{visibility:hidden}body:has(#minimap-panel.map-expanded) #interaction{visibility:hidden}@media (pointer:coarse),(max-width:700px){body:not(:has(#phone:not([hidden]))) #interaction.context-ready{width:min(280px,100vw - 40px);top:57%}#context-quick{min-height:54px;padding:11px 14px;font-size:14px}body:not(:has(#phone:not([hidden]))) #interaction.context-ready #interact{min-height:54px;padding:11px 14px;font-size:14px}body:not(:has(#phone:not([hidden]))):has(#interaction.context-ready:not([hidden])) #toast{top:calc(var(--ui-top) + 44px);max-height:76px;bottom:auto}}@media (max-height:520px) and (orientation:landscape){body:not(:has(#phone:not([hidden]))) #interaction.context-ready{gap:5px;width:min(260px,100vw - 320px);min-width:210px;top:61%}#context-quick{min-height:48px;padding:8px 12px;font-size:13px}body:not(:has(#phone:not([hidden]))) #interaction.context-ready #interact{min-height:48px;padding:8px 12px;font-size:13px}}@media (max-width:700px) and (max-height:520px) and (orientation:landscape){body:has(#interaction.context-ready:not([hidden])) #minimap-panel:not(.map-expanded){visibility:hidden}body:not(:has(#phone:not([hidden]))) #interaction.context-ready{top:max(208px,58%);transform:translate(-50%)}body:not(:has(#phone:not([hidden]))) #interaction.has-quick #interact span{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}}@media (pointer:coarse),(max-width:700px){body:not(:has(#phone:not([hidden]))):has(#handover-reminder:not([hidden])) #interaction.context-ready{top:calc(50% + 88px);transform:translate(-50%,-50%)}}@media (orientation:portrait) and (max-height:740px){body:has(#interaction.context-ready:not([hidden])) #minimap-panel:not(.map-expanded){visibility:hidden}}.task-board-bar,.task-pages{display:none}.task-title,.task-meta{display:block}.task-title{font-size:12px}.task-meta{color:#60736d;margin-top:4px;font-size:11px;line-height:1.45}#repair{flex-direction:column;display:flex}.repair-info{display:contents}#repair .eyebrow{order:0}#repair-title{order:1}#repair-alarm{order:2}#repair-instruction{order:3}#repair-game{order:4}#repair-hint{order:5}.repair-meter{order:6}#repair .repair-note{order:7}#repair-actions{order:8}#repair-actions button{width:100%}@media (pointer:coarse) and (max-height:520px) and (orientation:landscape),(max-width:700px) and (max-height:520px) and (orientation:landscape){#repair,#life-panel:not([data-page=pc]):not([data-page=research]),#assistant-dispatch{left:var(--ui-left);right:var(--ui-right);top:calc(var(--ui-top) + 48px);bottom:var(--ui-bottom);border-radius:12px;width:auto;max-width:none;max-height:none;padding:10px 12px;overflow:hidden;transform:none}body:has(:is(#repair,#life-panel,#assistant-dispatch,#detail):not([hidden])) :is(#needs,#assistant-status,#life-activity,#tutorial){visibility:hidden}#repair{grid-template-columns:minmax(185px,.85fr) minmax(0,1.4fr);gap:16px;display:grid}.repair-info{border-right:1px solid #bdcfc4;flex-direction:column;gap:5px;min-width:0;min-height:0;padding-right:14px;display:flex}#repair .eyebrow,#repair .repair-note{display:none}#repair h2{margin:0;font-size:16px;line-height:1.2}#repair-alarm{color:#985a38;margin:0;font-size:10px;line-height:1.3}#repair-instruction{margin:2px 0;font-size:12px;line-height:1.45}#repair-hint{flex:1;min-height:0;margin:0;font-size:11px;line-height:1.4;overflow:auto}#repair .repair-meter{flex:none;gap:5px;font-size:11px}#repair-actions{flex:none;gap:4px;display:grid}#repair #repair-actions button{box-shadow:none;margin:0;padding:5px;font-size:12px;line-height:1.25;position:static;min-height:44px!important}#repair-game{overscroll-behavior:contain;align-self:center;min-width:0;max-height:100%;overflow:auto}#repair-game button{min-height:44px;padding:5px;font-size:12px}#repair-game .screw-grid{gap:16px;padding:16px}.screw-grid button{height:56px}#repair-game .chamber-grid{border-width:5px;border-radius:18px;gap:5px;padding:8px}#repair-game .chamber-grid button{height:48px}.connector-board>div{gap:0}.connector-board button{width:80px;height:44px}.connector-board svg{width:calc(100% - 160px);height:176px;left:80px}.check-grid{gap:4px;margin-top:4px}.part-target{margin:0 0 6px;font-size:12px}.part-socket{border-width:4px;margin:5px 0;padding:6px}#cartridge{padding:8px}.part-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:6px 0}.part-options button{font-size:11px!important}.pipe-board{gap:8px;padding:5px 0}.leak-legend{margin-top:4px}#calibration-target{margin:6px 0;font-size:13px}.calibration-track,#calibration{height:44px}#calibration-value{margin:4px 0;font-size:22px}#robot-target{font-size:12px;display:block}.robot-board{height:clamp(70px,100dvh - 264px,144px);margin:5px 0}.axis-label{min-height:44px}#repair-game .axis-label input{height:44px;min-height:44px;margin:0}body:has(#repair:not([hidden])) #toast{left:50%;top:var(--ui-top);width:min(350px,100vw - 320px);max-width:none;max-height:42px;padding:4px 8px;font-size:10px;line-height:1.4;transform:translate(-50%)}body:has(:is(#life-panel,#assistant-dispatch,#detail):not([hidden])):not(:has(#phone:not([hidden]))) #toast{left:50%;top:var(--ui-top);width:min(350px,100vw - 320px);max-width:none;max-height:42px;padding:4px 8px;font-size:10px;line-height:1.4;bottom:auto;transform:translate(-50%)}#task-body{left:var(--ui-left);right:var(--ui-right);top:calc(var(--ui-top) + 48px);bottom:var(--ui-bottom);z-index:45;grid-template-rows:44px minmax(0,1fr) 44px;gap:6px;width:auto;padding:8px 12px;display:grid;overflow:hidden}#task-body :is(#assigned,#completed-work,#work-empty){display:none}.task-board-bar{align-items:center;gap:10px;min-width:0;display:flex}.task-board-bar>strong{white-space:nowrap;font-size:14px}.task-filters{flex:1;gap:5px;display:flex}.task-filters button{min-height:44px;padding:6px 12px;font-size:12px}.task-filters [aria-pressed=true]{color:#fff;background:#326b62;border-color:#326b62}#task-board-close{min-width:44px;padding:0;font-size:23px}#task-list{grid-template-rows:repeat(2,minmax(0,1fr));grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;min-height:0;display:grid;overflow:hidden}.task-row,.task-row[data-delegated=true]{background:#fffdf6;border:1px solid #c5d5cc;border-left:4px solid #78988d;border-radius:8px;grid-template-rows:1fr auto;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:0 6px;min-width:0;min-height:0;padding:5px 8px;display:grid}.task-row[data-status=DOWN]{border-left-color:#bb6948}.task-row[data-delegated=true]{background:#e4e9e3;border-left-color:#9aa69d}.task-row .task-select{text-align:left;grid-area:1/1/-1;width:100%;height:100%;min-height:44px;padding:3px;overflow:hidden}.task-title{font-size:13px;line-height:1.3}.task-meta{margin-top:4px;font-size:11px}.task-row :is(.delegate-task,.quick-notify){grid-column:2;max-width:94px;min-height:44px;margin:0;padding:5px 8px;font-size:11px}.task-row .task-owner{grid-column:2;max-width:90px;margin:0;font-size:10px;line-height:1.4}.task-row[data-status=COMPLETE]{flex-direction:column;justify-content:center;align-items:flex-start;font-size:12px;display:flex}.task-pages{grid-row:3;justify-content:center;align-items:center;gap:16px;font-size:12px;display:flex}.task-pages button{min-width:64px;min-height:44px;padding:5px}.task-pages button:disabled{opacity:.3}#task-filter-empty{text-align:center;pointer-events:none;font-size:13px;position:absolute;top:48%;left:0;right:0}body[data-hud-open=true] #assistant-status{visibility:hidden}body:has(#task-body:not([hidden])) .hud-stack{z-index:55}body:has(#task-body:not([hidden])) :is(#task-toggle,#route-toggle){visibility:hidden}body[data-hud-open=true] #toast{visibility:hidden}#life-panel:not([data-page=pc]):not([data-page=research]){grid-template-rows:44px minmax(0,1fr);grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;display:grid}#life-panel:not([data-page=pc]):not([data-page=research])>.eyebrow{display:none}#life-panel:not([data-page=pc]):not([data-page=research]) #life-title{grid-area:1/1;align-self:center;margin:0;font-size:17px}#life-panel:not([data-page=pc]):not([data-page=research]) #life-close{box-shadow:none;grid-area:1/2;margin:0;padding:5px 12px;font-size:12px;position:static;min-height:44px!important}#life-panel:not([data-page=pc]):not([data-page=research]) #life-content{grid-area:2/1/auto/-1;min-height:0;overflow:auto}#life-panel:is([data-page=shop],[data-page=desk],[data-page=dining],[data-page=coffee],[data-page=colleague],[data-page=tray-return],[data-page=handover]) #life-content{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:18px;display:grid;overflow:hidden}.life-info-column,.life-action-column{overscroll-behavior:contain;min-height:0;overflow:auto}.life-action-column{border-left:1px solid #c3d3c8;padding-left:16px}.life-action-column button{width:100%;min-height:44px;padding:6px 10px;line-height:1.4;margin:0 0 5px!important;font-size:12px!important}#life-panel .life-info-column p{margin:4px 0 10px;font-size:13px;line-height:1.6}#assistant-dispatch{grid-template-rows:auto auto minmax(0,1fr) 44px 44px;grid-template-columns:minmax(180px,.8fr) minmax(0,1.5fr);gap:5px 16px;display:grid}#assistant-dispatch-title{grid-column:1;margin:0;padding:0!important;font-size:17px!important}#assistant-dispatch-status{grid-column:1;margin:0;font-size:12px!important}#assistant-dispatch .assistant-hold{grid-column:1;align-self:start;min-height:44px;margin:0;font-size:12px}#assistant-call,#assistant-return{grid-column:1;padding:5px;margin:0!important;font-size:12px!important}#assistant-call{grid-row:4}#assistant-return{grid-row:5}#assistant-dispatch-jobs{border-left:1px solid #c3d3c8;grid-area:1/2/-1;min-height:0;max-height:none;padding:36px 0 0 12px;overflow:auto}#assistant-dispatch-jobs p{margin:0 0 5px;font-size:12px!important}#assistant-dispatch-jobs button{min-height:52px;margin:0 0 5px;padding:6px 10px;font-size:12px}#detail .detail-card{grid-template-rows:auto minmax(0,1fr) 44px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px 18px;width:100%;max-width:none;height:100%;max-height:100%;padding:12px;display:grid;overflow:hidden}#detail{top:calc(var(--ui-top) + 48px);padding:0 var(--ui-right) var(--ui-bottom) var(--ui-left);-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0}#detail .eyebrow{display:none}#detail-title{grid-column:1;margin:0;font-size:18px}#detail-copy{grid-area:2/1;margin:0;font-size:12px;line-height:1.6;overflow:auto}#detail .detail-work{grid-area:1/2/3;align-content:start;min-height:0;overflow:auto}#detail .detail-actions{margin:0}#close-detail{grid-area:3/1/auto/-1;min-height:44px;padding:5px}#detail #field-work{max-height:none}body:has(#phone[data-phase=CONNECTED]:not([hidden])){--open-phone-width:min(620px,calc(100vw - 150px))}body:has(#phone[data-phase=CONNECTED]:not([hidden])) #assistant-status{visibility:hidden}body:has(#phone[data-phase=CONNECTED]:not([hidden])) :is(.brand,.location,#needs,.hud-stack,#toast){visibility:hidden}body:has(#phone[data-phase=CONNECTED]:not([hidden])) .topbar{left:var(--ui-left);width:116px;right:auto}body:has(#phone[data-phase=CONNECTED]:not([hidden])) #clock{width:116px}body:has(#phone:not([hidden])) #phone[data-phase=CONNECTED][data-keypad=false]{width:var(--open-phone-width);height:calc(100dvh - var(--ui-top) - var(--ui-bottom));border-radius:20px;grid-template-rows:minmax(0,1fr) 44px;grid-template-columns:minmax(0,1fr) 44px;gap:5px;padding:7px;display:grid}#phone[data-phase=CONNECTED][data-keypad=false] .phone-bezel{grid-area:1/1;min-height:0}#phone[data-phase=CONNECTED][data-keypad=false] .phone-softkeys{flex-direction:column;grid-area:1/2;justify-content:center;gap:12px;display:flex}#phone[data-phase=CONNECTED][data-keypad=false] .phone-softkeys button{flex:none;width:44px}#phone[data-phase=CONNECTED][data-keypad=false] .phone-utility{grid-area:2/1/auto/-1}#phone[data-phase=CONNECTED][data-keypad=false] .phone-screen{overflow:hidden}body:has(#phone:not([hidden])) #phone[data-phase=CONNECTED][data-keypad=false] #phone-content{flex-direction:column;gap:5px;height:100%;padding:7px;font-size:12px;display:flex}#phone[data-phase=CONNECTED] .phone-person{text-align:left;flex-wrap:wrap;flex:none;justify-content:space-between;align-items:center;gap:7px;display:flex}#phone[data-phase=CONNECTED] .phone-person h3{margin:0;font-size:16px}#phone[data-phase=CONNECTED] .phone-person :is(span,small){font-size:10px}#phone[data-phase=CONNECTED] .phone-conversation{flex:1;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;min-height:0;display:grid}#phone[data-phase=CONNECTED] .phone-conversation>.phone-dialogue,#phone[data-phase=CONNECTED] .phone-reply{overscroll-behavior:contain;margin:0;padding:6px;font-size:12px;line-height:1.6;overflow:auto}#phone[data-phase=CONNECTED] .phone-responses{align-content:start;gap:5px;overflow:auto}body:has(#phone:not([hidden])) #phone[data-phase=CONNECTED] .phone-responses button{min-height:44px;padding:5px 7px;font-size:12px;line-height:1.4}#phone[data-phase=CONNECTED] .phone-call-timer{margin:0;font-size:10px}#phone[data-phase=CONNECTED] #phone-end{display:none}}@media (max-height:359px) and (orientation:landscape),(max-width:719px) and (orientation:landscape) and (max-height:520px){#task-list{grid-template-rows:minmax(0,1fr)}.task-title{font-size:12px}.task-board-bar{gap:5px}.task-filters button{padding:5px 8px}.task-board-bar>strong{display:none}#repair{gap:10px;padding:8px}.repair-info{gap:3px;padding-right:8px}#repair h2{font-size:14px}#repair-instruction{font-size:11px;line-height:1.3}#repair-alarm{font-size:9px}#repair #repair-actions button{font-size:11px}.connector-board button{width:65px}.connector-board svg{width:calc(100% - 130px);left:65px}#repair-game .check-grid button{padding:3px;font-size:10px}}#life-panel[data-page=research]{grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(0,1fr) auto auto;gap:8px;width:min(600px,100vw - 30px);height:min(760px,100dvh - 100px);max-height:none;padding:12px;display:grid;inset:50% auto auto 50%;overflow:hidden;transform:translate(-50%,-50%)}#life-panel[data-page=research][hidden],#life-panel[data-page=research]>.eyebrow{display:none}#life-panel[data-page=research] #life-title{grid-area:1/1;align-self:center;min-width:0;margin:0;font-size:16px;line-height:1.3}#life-panel[data-page=research] #pc-stand,#life-panel[data-page=research] #life-close{width:auto;box-shadow:none;white-space:nowrap;grid-row:1;margin:0;padding:8px 12px;font-size:13px;position:static;min-height:44px!important}#life-panel[data-page=research] #pc-stand{grid-column:2}#life-panel[data-page=research] #life-close{color:#fff;background:#176b60;border:1px solid #176b60;grid-column:3;font-weight:700}#life-panel[data-page=research] #life-content{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;grid-area:2/1/auto/-1;min-width:0;min-height:0;padding:0 3px 12px 0;overflow:auto}@media (pointer:coarse),(max-width:700px){#life-panel[data-page=research]{left:var(--ui-left);right:var(--ui-right);top:calc(var(--ui-top) + 48px);bottom:var(--ui-bottom);width:auto;max-width:none;height:auto;transform:none}#life-panel[data-page=research] #pc-stand,#life-panel[data-page=research] #life-close{padding:8px;font-size:12px}}@media (pointer:coarse) and (max-height:520px) and (orientation:landscape),(max-width:700px) and (max-height:520px) and (orientation:landscape){#life-panel[data-page=research]{top:var(--ui-top);grid-template-columns:minmax(0,1fr) auto auto 132px}}#life-panel[data-page=research] .research-card{min-width:0;padding:10px;display:block}#life-panel[data-page=research] .research-heading{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-height:44px;display:grid}#life-panel[data-page=research] .research-heading strong{overflow-wrap:anywhere;font-size:17px;line-height:1.35}#life-panel[data-page=research] .research-controls{align-items:center;gap:8px;min-width:0;display:flex}#life-panel[data-page=research] .research-meter{text-align:center;flex-direction:column;flex:none;gap:4px;width:64px;display:flex}#life-panel[data-page=research] .research-meter span{font-size:10px;line-height:1}#life-panel[data-page=research] .research-meter progress{width:100%;height:6px;margin:0}#life-panel[data-page=research] .research-controls button{white-space:nowrap;width:auto;min-width:76px;min-height:44px;margin:0;padding:7px 8px;font-size:12px;line-height:1.25}#life-panel[data-page=research] .research-description{margin:5px 0 6px;font-size:12px;line-height:1.45}#life-panel[data-page=research] .research-meta{flex-wrap:wrap;gap:3px 10px;display:flex}#life-panel[data-page=research] .research-meta small{margin:0;font-size:10px;line-height:1.45}#life-panel[data-page=research] .research-location{color:#276d62;border:0;padding:0}#life-panel[data-page=research] .research-guide summary{cursor:pointer;color:#42675e;align-items:center;gap:8px;min-height:44px;font-size:12px;display:flex}#life-panel[data-page=research] .research-guide summary:before{content:"▸"}#life-panel[data-page=research] .research-guide[open] summary:before{content:"▾"}@media (max-width:360px){#life-panel[data-page=research] .research-card{padding:8px}#life-panel[data-page=research] .research-heading,#life-panel[data-page=research] .research-controls{gap:6px}#life-panel[data-page=research] .research-meter{width:48px}#life-panel[data-page=research] .research-controls button{min-width:72px}}#phone-toggle[data-ringing=true]{--ring-scale:1.3;--ring-x:-12px;--ring-y:-12px;--ring-angle:6deg;transform-origin:100% 100%;transform:translate(var(--ring-x),var(--ring-y)) scale(var(--ring-scale));animation:2.8s ease-in-out infinite phone-ring-sway}@keyframes phone-ring-sway{0%,32%,to{transform:translate(var(--ring-x),var(--ring-y)) scale(var(--ring-scale)) rotate(0deg)}5%,15%,25%{transform:translate(var(--ring-x),var(--ring-y)) scale(var(--ring-scale)) rotate(calc(-1 * var(--ring-angle)))}10%,20%{transform:translate(var(--ring-x),var(--ring-y)) scale(var(--ring-scale)) rotate(var(--ring-angle))}}body:has(#menu:not([hidden])) #phone-toggle[data-ringing=true]{animation-play-state:paused}@media (pointer:coarse),(max-width:700px){body:has(#phone[hidden]):has(#phone-toggle[data-ringing=true]) #run{translate:-40px}body:is([data-hud-open=true],:has(:is(#life-panel,#assistant-dispatch,#repair,#detail,#lift-panel):not([hidden]))) #phone-toggle[data-ringing=true]{--ring-scale:1.05;--ring-x:0px;--ring-y:4px;--ring-angle:3deg;transform-origin:100% 0}}@media (prefers-reduced-motion:reduce){#phone-toggle[data-ringing=true]{animation:none}}
