:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #173524; background: #f4f5ef; }
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: #244f3d; text-underline-offset: 3px; }
button { min-height: 44px; border: 0; font: inherit; cursor: pointer; transition: background .15s, opacity .15s; }
button:disabled { opacity: .45; cursor: not-allowed; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #75a864; outline-offset: 4px; }
.setup { width: min(100%, 680px); min-height: 100svh; margin: auto; padding: max(24px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) 28px max(24px, env(safe-area-inset-left)); animation: enter .2s ease-out; }
nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 12px; }
nav a { text-decoration: none; } nav span { color: #7d887c; }
header { margin: 38px 0 26px; }
.eyebrow { color: #6d806d; font-size: 11px; letter-spacing: .13em; }
h1 { margin: 10px 0 14px; font-size: clamp(32px, 8vw, 48px); font-weight: 600; letter-spacing: -.05em; }
header > p:last-child { max-width: 470px; color: #667469; font-size: 14px; line-height: 1.7; }
h2 { margin: 0 0 8px; font-size: 13px; font-weight: 600; }
.capabilities { margin: 0; font-size: 13px; }
.capabilities div { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-bottom: 1px solid #d8dfd3; }
dt { color: #63725f; } dd { margin: 0; text-align: right; } dd[data-ok="false"] { color: #9a563d; }
.note { color: #7b8779; font-size: 11px; line-height: 1.65; }
.start-actions { margin-top: 22px; display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; }
.primary { min-height: 52px; border-radius: 12px; color: #f5f8f0; background: #244f3d; font-size: 16px; }
.primary:not(:disabled):hover { background: #173524; }
.text-button { padding: 4px 10px; background: transparent; color: #244f3d; font-size: 12px; }
.error { padding: 14px; border-left: 3px solid #ac7156; color: #7c4b38; background: #f0e5dd; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.instructions { margin-top: 30px; } ol { margin: 8px 0 14px; padding-left: 20px; color: #647267; font-size: 12px; line-height: 1.9; }
.report { margin-top: 14px; font-size: 11px; } summary { min-height: 36px; padding: 10px 0; cursor: pointer; }
output { display: block; padding: 6px 0; font-size: 11px; line-height: 1.7; white-space: pre-line; overflow-wrap: anywhere; }
.report span { font-size: 10px; }
footer { display: flex; flex-wrap: wrap; gap: 12px 18px; margin-top: 28px; padding-top: 20px; border-top: 1px solid #d8dfd3; font-size: 11px; }
footer p { width: 100%; margin: 0; color: #879081; font-size: 10px; line-height: 1.7; }
.native-canvas { position: fixed; inset: 0; z-index: 5; width: 100%; height: 100%; }
.overlay { position: fixed; inset: 0; z-index: 10; color: #fff; pointer-events: none; }
.topbar { display: flex; align-items: center; gap: 12px; padding: max(16px, env(safe-area-inset-top)) 16px 0; }
.overlay button, .overlay label, .overlay details { pointer-events: auto; }
.overlay button { padding: 8px 14px; border: 1px solid #ffffff45; border-radius: 22px; background: #173524df; color: #eff8e7; font-size: 12px; }
.topbar p { margin: 0; padding: 10px 14px; border: 1px solid #c0ef9c60; border-radius: 22px; background: #14201be6; font-size: 11px; line-height: 1.5; }
.bottom { position: absolute; left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); text-align: center; font-size: 11px; }
.bottom > p { margin: 10px 0; text-shadow: 0 1px 4px #000; }
.controls { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
#place-native { color: #173524; background: #c0dfad; }
.normal-toggle { display: inline-flex; min-height: 36px; gap: 6px; align-items: center; padding: 0 12px; margin-top: 8px; border-radius: 18px; background: #14201bc9; }
.overlay .report { width: fit-content; max-width: 100%; margin: 6px auto 0; padding: 0 14px 4px; border-radius: 12px; background: #14201be6; }
.overlay output { max-height: 24svh; overflow-y: auto; color: #c6d8bd; text-align: left; }
@keyframes enter { from {opacity: 0; transform: translateY(5px);} to {opacity: 1; transform: none;} }
@media (prefers-reduced-motion: reduce) { .setup {animation: none;} button {transition: none;} }
@media (max-width: 350px) { header {margin-top: 28px;} .setup {padding-right: 20px; padding-left: 20px;} .topbar {gap: 8px;} }
