.operation-phone{position:absolute;right:max(18px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));z-index:16;width:254px;height:418px;padding:6px;border:2px solid #857c86;border-radius:35px;background:#18191d;box-shadow:0 0 0 2px #16191b,0 18px 45px #0008;box-sizing:border-box;transform:translateY(calc(100% + 45px));opacity:0;transition:transform .36s cubic-bezier(.2,.7,.2,1),opacity .22s;pointer-events:none;max-height:calc(100dvh - 74px)}.operation-phone.open{transform:translateY(0);opacity:1}.operation-phone:before{content:'';position:absolute;left:-4px;top:84px;width:2px;height:40px;border-radius:2px;background:#77817c}.phone-screen{position:relative;height:100%;border-radius:27px;overflow:hidden;background:linear-gradient(170deg,#203733,#0e1b1d);color:#d8e4d9;display:flex;flex-direction:column;font:12px 'Trebuchet MS',sans-serif}.phone-notch{position:absolute;top:7px;left:50%;transform:translateX(-50%);width:70px;height:18px;border-radius:20px;background:#070b0d;z-index:1}.phone-notch:after{content:'';position:absolute;right:8px;top:6px;width:5px;height:5px;background:#284c60;border:1px solid #142d3d;border-radius:50%}.phone-status{display:flex;justify-content:space-between;padding:17px 15px 18px;font:700 7px 'Trebuchet MS',sans-serif;letter-spacing:.03em;color:#a7bdb0}.phone-contact{display:flex;align-items:center;gap:9px;padding:12px 14px;border-top:1px solid #78948522;border-bottom:1px solid #78948533;background:#0c211d88}.phone-avatar{display:grid;place-items:center;width:33px;height:33px;border-radius:50%;background:#4f7260;color:#e0e0c4;font-weight:900}.phone-contact strong{display:block;font-size:14px}.phone-contact small{display:block;font-size:7px;letter-spacing:.06em;color:#91a99a;margin-top:3px}.phone-online{margin-left:auto;width:5px;height:5px;background:#87b38e;border-radius:50%}.phone-conversation{flex:1;overflow-y:auto;padding:17px 12px 10px;pointer-events:auto;scrollbar-width:thin;min-height:0}.phone-conversation>small{display:block;font-size:7px;color:#8b9d92;text-align:center;letter-spacing:.04em;margin-bottom:14px}.phone-conversation p{font-size:12px;line-height:1.65;margin:0 12px 0 0;padding:13px 12px;border-radius:3px 14px 14px;background:#d3dfcb;color:#233931;overflow-wrap:anywhere;box-shadow:0 3px 8px #0002}.operation-phone.warn .phone-conversation p{background:#e4ccaa;color:#493e2b}.operation-phone.good .phone-conversation p{background:#c1d8b7}.phone-controls{display:flex;gap:6px;padding:10px 11px 18px;align-items:center}.phone-controls button{pointer-events:auto;min-height:32px;border:1px solid #6f8a7c77;background:#122823;color:#b5ccba;border-radius:20px;padding:6px 10px;font-size:8px;cursor:pointer}.phone-controls button:last-child{font-size:19px;margin-left:auto;min-width:33px;padding:1px 8px}.phone-home{position:absolute;bottom:5px;width:70px;height:3px;background:#a5b8ae;border-radius:10px;left:50%;transform:translateX(-50%)}.operation-alert{position:absolute;z-index:14}.operation-alert meter{display:block;width:100%;height:6px}.operation-mode .room-roster,.operation-mode #autoFireBtn{display:none}.phone-reopen{position:absolute;z-index:17;cursor:pointer}.interaction-hint{position:absolute;z-index:13;pointer-events:none}
@media(pointer:coarse){.operation-phone{right:90px;bottom:12px;width:228px;height:370px;max-height:calc(100dvh - 57px)}.phone-contact{padding:8px 12px}.phone-conversation{padding-top:11px}.phone-conversation p{font-size:11px;line-height:1.55;padding:10px}.phone-status{padding-bottom:10px}.phone-controls{padding-top:4px;padding-bottom:15px}.phone-conversation>small{margin-bottom:9px}}
@media(pointer:coarse) and (orientation:portrait){.operation-phone{right:12px;bottom:154px;width:min(245px,66vw);height:380px;max-height:50dvh}}
@media(prefers-reduced-motion:reduce){.operation-phone{transition:none}}
/* Histórico: navegação no teclado e controles equivalentes de toque. */
.phone-conversation #operationPhoneDetail>small{display:block;font-size:7px;color:#91a99a;letter-spacing:.04em;margin:0 0 8px}.phone-conversation #operationPhoneDetail h4{font-size:12px;line-height:1.4;margin:0 0 10px;color:#d9dfc9}.phone-key-help{font-size:8px;line-height:1.45;color:#9fb6a7;padding:0 12px;margin:5px 0 0;min-height:12px}.phone-review .phone-contact{padding-top:9px;padding-bottom:9px}.phone-review .phone-conversation{padding:10px 9px}.phone-message-row{display:block;width:100%;margin:0 0 6px;padding:9px 10px;text-align:left;border:1px solid #55736a55;border-radius:8px;background:#142b27;color:#c7d7ca;cursor:pointer;pointer-events:auto;font:11px 'Trebuchet MS',sans-serif;line-height:1.4}.phone-message-row small{display:block;font-size:7px;letter-spacing:.05em;color:#85a898;margin-bottom:4px}.phone-message-row span{display:block}.phone-message-row.selected{outline:1px solid #d4c493;background:#314c3e;border-color:#d4c493;color:#f0edcf}.phone-message-row.current-order small{color:#dec88d}.phone-message-row.selected small{color:#ddcf9b}.phone-review .phone-controls{padding-top:6px}.brief-current-order{padding:12px;border-left:3px solid #9cb28e;background:#263e3544;font-size:13px;line-height:1.6;white-space:pre-line}.brief-current-order:empty{display:none}.brief-controls{border:1px solid #71847255;padding:10px 12px;margin:16px 0;border-radius:6px}.brief-controls summary{font-size:11px;font-weight:900;letter-spacing:.04em;cursor:pointer}.brief-controls dl{display:grid;grid-template-columns:minmax(110px,.7fr) minmax(0,2fr);gap:8px 14px;margin:14px 0 0;font-size:12px;line-height:1.5}.brief-controls dt{font-weight:900;color:#a6bc93}.brief-controls dd{margin:0;color:#c5d4ca}.mission-brief-card .brief-controls dt{color:#456646}.mission-brief-card .brief-controls dd{color:inherit}@media(max-width:500px){.brief-controls dl{font-size:11px;grid-template-columns:100px minmax(0,1fr);gap:7px 9px}.phone-message-row{padding:7px 8px;font-size:10px}.phone-key-help{font-size:7px}}
