.install-gate{max-width:560px;margin:0 auto;padding:48px 24px;font-family:'DM Sans',Arial,sans-serif;color:#12392e;min-height:100dvh;background:#f4f4f4;box-sizing:border-box}.install-gate h1{font:800 clamp(26px,7vw,34px) 'Manrope',Arial,sans-serif;margin:0;line-height:1.2;min-width:0}.install-brand{display:flex;align-items:center;gap:18px;margin-bottom:24px}.install-gate h2{font-size:18px;margin:24px 0 8px}.install-gate p{font-size:16px;line-height:1.65}.app-mark{display:block;width:72px;height:72px;flex:none;border-radius:18px;background:#12392e;object-fit:contain}.install-gate button{background:#12392e;color:white;border:0;border-radius:9px;padding:16px 24px;font:700 16px Arial;min-height:52px;cursor:pointer;margin-top:14px}.install-instructions{border-top:1px solid #d9d9d9;margin-top:26px}.install-gate .local-note{font-size:14px;margin-top:28px;color:#626877}.install-mode>.device-bar,.install-mode>.app-shell,.preparing>.device-bar,.preparing>.app-shell{display:none}.install-mode dialog,.preparing dialog{display:none}.core-ready{max-width:512px;margin:32px auto;padding:24px;font-family:Arial;color:#12392e}.update-banner{max-width:560px;margin:0 auto;padding:12px 16px;border-bottom:1px solid #d9d9d9;background:#e9f4ec;color:#12392e;box-sizing:border-box;font-size:14px}.update-banner[hidden]{display:none}.update-banner>div{display:flex;gap:8px;align-items:center}.update-banner p{font-size:14px;line-height:1.5;margin:8px 0}.update-banner button{padding:10px 12px;min-height:44px}.update-banner .primary{margin-left:auto}.recovery-screen{max-width:520px;margin:30px auto;padding:24px;color:#12392e;font-family:'DM Sans',Arial}.recovery-screen p{font-size:16px;line-height:1.6}.recovery-screen button{min-height:48px;margin:10px 0;padding:12px}.form-save-note{font-size:14px;margin:14px 0;color:#626877}.setup-card{padding:24px}.setup-card h2{font-size:24px;margin:0 0 14px}.setup-card p{font-size:16px;line-height:1.6;margin:12px 0 20px}.setup-card button{min-height:52px;margin:6px 0;width:100%}.data-section{border-top:1px solid #d9d9d9;padding-top:20px;margin-top:20px}.data-section h3{font-size:18px;margin-bottom:12px}.data-section p{font-size:14px;line-height:1.6;margin:12px 0}.data-section .data-options button{min-height:48px;font-size:14px}.export-scope{display:grid;gap:12px;margin-top:14px}.export-scope label{font-size:14px}.app-details{font-size:14px;line-height:1.6}.import-preview p{font-size:16px;line-height:1.6}.import-preview label{display:flex;gap:10px;font-size:14px;align-items:center;margin:16px 0}.import-preview input[type=checkbox]{width:24px;min-height:24px;margin:0}.backup-reminder{background:#e9f4ec;color:#12392e;border:1px solid #efc7ba;border-radius:9px;padding:12px 14px;margin-bottom:16px;font-size:14px;line-height:1.5}.backup-reminder button{min-height:44px;font-size:14px}.multi-view-note{font-size:14px;line-height:1.6;margin:12px 0}

.action-toolbar[hidden],.mode-strip[hidden],.player-context[hidden]{display:none!important}

.storage-help{background:#f4f6f8;border:1px solid #d9dde4;border-radius:10px;padding:18px;margin:16px 0}.storage-help[hidden]{display:none}.storage-help h3{font-size:18px;margin:0 0 12px}.storage-help h4{font-size:16px;margin:20px 0 8px}.storage-help p{font-size:14px;line-height:1.6;margin:10px 0}.storage-help button{width:100%;min-height:48px;font-size:14px;white-space:normal}.storage-help button+button{margin-top:10px}#storageHelpStatus:empty{display:none}#storageHelpStatus{font-weight:600}
html.app-no-zoom{touch-action:pan-x pan-y}html.app-no-zoom input,html.app-no-zoom select,html.app-no-zoom textarea{font-size:max(16px,1rem)!important}

.legal-links{display:flex;flex-direction:row;flex-wrap:wrap;gap:4px 20px;margin-top:16px}.legal-links a{color:inherit;display:inline-flex;align-items:center;min-height:44px;font-size:14px;text-decoration:underline;text-underline-offset:3px}footer .legal-links{width:100%;margin-top:4px}footer{flex-wrap:wrap}
