.system-letter{white-space:normal;border:1px solid #d7c69f;background:#faf6e9;color:#444635;margin:16px 0}.system-letter-hero{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:22px 25px;background:linear-gradient(110deg,#263b30,#737044);min-height:115px;box-sizing:border-box}.system-letter-hero>div{min-width:0}.system-letter-hero span{font:10px Arial,sans-serif;letter-spacing:2px;color:#e3ce94}.system-letter-hero h3{font:600 24px Georgia,serif;line-height:1.25;color:#fff0c1!important;margin:9px 0 0}.system-letter-hero>img{width:125px;height:95px;object-fit:contain;flex:none}.system-letter.espionage .system-letter-hero>img{width:80px;height:80px;border-radius:6px}.system-letter-body{padding:12px 25px 22px}.system-letter-body>p{font:14px/1.8 Georgia,serif;margin:14px 0}.system-letter-body h4{font:600 18px Georgia,serif;color:#49644e;margin:20px 0 15px}.system-letter-body h5{font:600 12px Arial,sans-serif;color:#786d4e;margin:17px 0 10px}.system-letter-meta{font:11px/1.6 Arial,sans-serif!important;color:#877347}.system-units{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-width:520px;margin:15px auto}.system-units>div{display:flex;flex-direction:column;align-items:center;gap:5px;min-width:0;font:13px Arial,sans-serif}.system-units img{width:100%;max-width:128px;height:46px;object-fit:contain}.system-units small{font-size:11px;color:#797363}.system-letter-balance{border-top:1px solid #cdb88a;margin-top:20px;padding-top:3px}.system-resources{display:flex;flex-wrap:wrap;gap:12px 20px}.system-resources>span{display:flex;align-items:center;gap:7px;font-size:13px}.system-resources img{width:23px;height:23px;object-fit:contain}.system-losses{color:#9d4633;font-size:12px}.system-safe{color:#54734f;font-size:12px}.system-letter-note,.system-letter-arrival{font:12px/1.7 Arial,sans-serif!important;color:#7b7157}.system-letter-arrival{border-top:1px dotted #cab98f;padding-top:14px;margin-top:20px}.system-spy-panel{padding:18px 0;border-top:1px dotted #c3bda7;margin-top:23px}.system-spy-panel h2{font-size:16px}.spy-controls{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:14px 0}.spy-controls label{display:flex;flex-direction:column;gap:6px;font-size:12px}.spy-controls input{max-width:100%;padding:7px;border:1px solid #c8c1ad;border-radius:3px}.spy-controls input[type=number]{width:80px}.spy-mission{padding:12px 0;border-bottom:1px solid #ded7c5;font-size:12px;line-height:1.7}.spy-mission .spy-actions{display:flex;gap:15px}.spy-actions button,.spy-send{border:0;background:none;text-decoration:underline;color:#49694e;padding:4px 0;font-size:12px;cursor:pointer}.spy-actions button:disabled,.spy-send:disabled{opacity:.5;cursor:default}html[data-wos-theme=night] .system-letter{background:#253029!important;border-color:#6e7157;color:#e0e7ed}html[data-wos-theme=night] .system-letter-body h4{color:#dcc995!important}html[data-wos-theme=night] :is(.system-letter-note,.system-letter-meta,.system-letter-arrival,.system-units small,.system-letter-body h5){color:#c9c9b5!important}@media(max-width:480px){.system-letter-hero{padding:17px 15px;gap:9px;min-height:105px}.system-letter-hero h3{font-size:20px}.system-letter-hero span{font-size:8px}.system-letter-hero>img{width:85px;height:80px}.system-letter-body{padding:9px 15px 18px}.system-letter-body>p{font-size:13px}.system-units{gap:7px}.system-units img{height:34px}.system-resources{gap:12px}.system-resources>span{font-size:12px}.spy-controls{align-items:stretch;flex-direction:column}.spy-controls input{width:auto!important}}

html[data-wos-theme=night] #qg-espionage :is(.spy-actions button,.spy-send){background:none!important;border:0!important;box-shadow:none!important;color:#c4d7b7!important}
