:root{font-family:"Microsoft YaHei",system-ui,sans-serif;color:#203b35;background:#f1f3ed;font-size:16px}*{box-sizing:border-box}body{margin:0}header{background:#173c35;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:20px max(20px,calc((100vw - 1080px)/2));gap:16px}.brand{font-family:serif;font-size:30px;letter-spacing:.15em}.subtitle{margin-left:20px;font-size:13px;color:#c6d6cf}main{max-width:1080px;margin:auto;padding:30px 20px}h1{font-size:clamp(26px,4vw,42px);font-weight:600;letter-spacing:-.04em;margin:12px 0 22px}h2{font-size:20px}p{line-height:1.7}.eyebrow{font-size:12px;color:#5b7269;letter-spacing:.15em}button{font:inherit;cursor:pointer;border:0;border-radius:8px;padding:12px 18px;background:#1d5143;color:white;min-height:44px}button:hover{filter:brightness(1.12)}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #bc7933;outline-offset:3px}.danger{background:#f1d9c3;color:#703d22}.plain{background:transparent;color:#31544a}nav{display:flex;gap:4px;border-bottom:1px solid #c9d3c8;margin-bottom:24px;overflow-x:auto}nav button{background:transparent;color:#5e7569;border-radius:0;white-space:nowrap}nav button.active{color:#173c35;border-bottom:3px solid #173c35;font-weight:bold}.summary{display:flex;justify-content:space-between;align-items:center;gap:16px}#connection{font-size:13px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px}.card{background:#fff;padding:22px;border:1px solid #d5ddd3;border-radius:12px;margin-bottom:15px}.card.unread{border-left:5px solid #c78b43}.meta{font-size:12px;color:#63756d;display:flex;justify-content:space-between;gap:12px}.tag{background:#e8efe8;padding:4px 9px;border-radius:4px}.body{white-space:pre-wrap;overflow-wrap:anywhere}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}label{display:block;font-size:13px;line-height:1.6;margin:12px 0}input,textarea,select{display:block;width:100%;font:inherit;border:1px solid #b8c7bd;border-radius:6px;padding:12px;background:#fff;color:#203b35;margin-top:6px}textarea{min-height:84px;resize:vertical}.muted{color:#65766e;font-size:13px}.empty{padding:50px 20px;border:1px dashed #a7b8ab;text-align:center;border-radius:10px}.empty strong{display:block;font-size:20px;margin-bottom:10px}#notice{position:sticky;bottom:12px;background:#203b35;color:#fff;padding:12px 18px;border-radius:7px;display:none}#notice.visible{display:block}footer{display:flex;justify-content:space-between;align-items:center;color:#63756d;font-size:12px;margin-top:24px}#login{max-width:560px;margin:50px auto}#login-form{margin-top:35px}dialog{border:0;border-radius:16px;max-width:620px;width:95vw;max-height:94vh;overflow:auto;background:#f3f5ef}dialog::backdrop{background:#142b26bb}.remotehead{display:flex;align-items:center;justify-content:space-between}video{display:block;background:#142b26;width:100%;max-height:55vh;object-fit:contain;touch-action:none}.toolbar{display:flex;gap:8px;margin-top:12px}.toolbar button{flex:1}details{margin-top:15px}summary{cursor:pointer;font-size:14px}pre{white-space:pre-wrap;font-size:12px}fieldset{border:1px solid #d5ddd3;border-radius:8px;margin-top:15px}@media(max-width:560px){.subtitle{display:none}header{padding:15px 18px}.summary{align-items:flex-start;flex-direction:column;gap:0}main{padding:22px 14px}.card{padding:18px}nav button{padding:12px}h1{margin-bottom:14px}}

#remote{width:min(100vw,850px);max-height:100dvh;padding:12px}#remote[open]{display:flex;flex-direction:column;gap:8px}#remote h2,#remote p{margin:0}.remotehead{flex-shrink:0}#remote-status,.remote-hint,#input-status{font-size:12px;line-height:1.5}#view-tools{display:flex;flex-wrap:wrap;gap:8px;align-items:center}#view-tools button{padding:8px 12px;min-height:44px}#view-tools [aria-pressed="true"]{background:#bc7933;color:#fff}#screen-viewport{position:relative;overflow:hidden;touch-action:none;background:#142b26;height:52dvh;min-height:200px;flex-shrink:0}#screen{width:100%;height:100%;max-height:none;object-fit:contain;transform-origin:0 0;pointer-events:none}#remote-text{display:flex;align-items:center;flex-wrap:wrap;gap:8px}#remote-text label{flex:1;min-width:180px;margin:0}#remote-input{min-height:52px;margin:0;font-size:16px}#input-status{width:100%}.toolbar{margin:0}@media(max-width:560px){#remote{margin:0;border-radius:0;width:100vw;height:100dvh;max-width:none}#screen-viewport{height:auto;flex:1;min-height:120px}.remote-hint{font-size:11px}#view-tools{gap:8px}#view-tools button{font-size:13px;padding:8px}.toolbar button{padding:8px}}
