:root{color-scheme:dark;--help-bg:#0b241d;--help-surface:#162d24;--help-input:#22382d;--help-text:#f2f7f4;--help-muted:#c4d1c9;--help-border:#829b8c;--help-focus:#8dd8ff}
*{box-sizing:border-box}
body{margin:0;background:var(--help-bg);color:var(--help-text);font-family:Trebuchet MS,Arial,sans-serif}
#helpPage{max-width:1120px;margin:0 auto;padding:28px 18px 42px}
.help-header{padding:10px 4px 20px}.eyebrow{letter-spacing:.2em;font-weight:700;color:var(--help-muted);font-size:12px}.help-header h1{margin:5px 0 8px;font-size:clamp(28px,5vw,48px)}.help-header p{max-width:720px;color:var(--help-muted);font-size:16px;line-height:1.45}
.help-search,.help-shortcuts,.manual-viewer{border:1px solid var(--help-border);border-radius:16px;background:var(--help-surface);padding:18px;margin-top:16px;box-shadow:0 6px 18px #0003}.help-search h2,.help-shortcuts h2,.manual-viewer h2{margin:0 0 12px;font-size:20px}.help-search-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px}
input,button,.viewer-open{font:700 14px Trebuchet MS,Arial,sans-serif;border:1px solid var(--help-border);border-radius:10px;min-height:42px;padding:9px 13px}input{width:100%;background:var(--help-input);color:var(--help-text);font-weight:400}input::placeholder{color:#d1ddd5}button,.viewer-open{background:#294238;color:var(--help-text);cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}button:hover,.viewer-open:hover{background:#385748}button:focus-visible,input:focus-visible,.viewer-open:focus-visible{outline:3px solid var(--help-focus);outline-offset:2px}.help-status{color:var(--help-muted);font-size:13px;min-height:20px}.help-results{display:grid;gap:8px}.help-result{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;padding:10px 12px;border:1px solid #567160;border-radius:10px;background:#1d382c}.help-result strong{display:block}.help-result span{display:block;color:var(--help-muted);font-size:13px;margin-top:3px}.shortcut-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px}.shortcut-grid button{justify-content:flex-start;text-align:left}.manual-viewer{padding:12px}.viewer-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:4px 4px 12px}.viewer-heading h2{margin:0}.viewer-heading p{margin:3px 0 0;color:var(--help-muted);font-size:13px}.manual-viewer iframe{display:block;width:100%;height:min(78vh,900px);min-height:520px;border:1px solid var(--help-border);border-radius:10px;background:#fff}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:640px){#helpPage{padding:16px 10px 28px}.help-search-row{grid-template-columns:1fr 1fr}.help-search-row input{grid-column:1/-1}.help-search-row button{min-height:40px}.viewer-heading{align-items:flex-start;flex-direction:column}.viewer-open{width:100%}.manual-viewer iframe{height:72vh;min-height:460px}.help-result{grid-template-columns:1fr}.help-result button{width:100%}}
@media(prefers-color-scheme:light){body{color-scheme:light;--help-bg:#f3f7f4;--help-surface:#fff;--help-input:#fff;--help-text:#10261d;--help-muted:#385448;--help-border:#527263}.help-result{background:#e8f0eb}.help-result span{color:#385448}}
.oauth-help-guide{border:1px solid var(--help-border);border-radius:16px;background:var(--help-surface);padding:18px;margin-top:16px;box-shadow:0 6px 18px #0003;line-height:1.5}.oauth-help-guide h2{margin:4px 0 10px}.oauth-help-guide table{width:100%;border-collapse:collapse;margin:14px 0}.oauth-help-guide th,.oauth-help-guide td{padding:9px;text-align:left;vertical-align:top;border:1px solid var(--help-border);overflow-wrap:anywhere}.oauth-help-guide th{background:var(--help-input)}.oauth-help-guide li{margin:7px 0}@media(max-width:680px){.oauth-help-guide{overflow-x:auto}.oauth-help-guide table{min-width:660px}}
