body { margin: 0; font-family: system-ui, -apple-system, sans-serif; background: #F4F6F4; color: #111; }
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; background: #fff; border-bottom: 1px solid #ddd; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; }
.logo { width: 34px; height: 34px; }
.top-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
main { max-width: 900px; margin: 0 auto; padding: 16px; }
.card { background: #fff; border: 1px solid #ddd; padding: 16px; margin-bottom: 16px; }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.btn { background: #111; color: #fff; border: 0; border-radius: 999px; padding: 10px 18px; cursor: pointer; font-size: 15px; }
.btn.primary { background: #003A34; }
.btn.danger { background: #8E3B2F; }
.btn.link, .link { background: none; border: 0; color: #003A34; cursor: pointer; font-size: 16px; padding: 6px 0; text-align: left; }
.list { list-style: none; padding: 0; }
.list li { border-top: 1px solid #eee; padding: 6px 0; }
label { display: block; margin: 12px 0 4px; font-weight: 600; }
input, textarea, select { width: 100%; box-sizing: border-box; padding: 10px; border: 1px solid #bbb; font-size: 16px; background: #fff; }
textarea { min-height: 110px; }
#notice { min-height: 1.2em; }
.present { background: #101010; color: #fff; padding: 40px 24px; min-height: 300px; }
.present h2 { color: #fff; font-size: 30px; }
.present ul { font-size: 20px; line-height: 1.6; }
footer { text-align: center; padding: 16px; color: #444; }
footer a { color: #003A34; }
@media (max-width: 500px) { .present { padding: 24px 16px; } .present h2 { font-size: 24px; } .present ul { font-size: 18px; } }

/* FVA doors reconciliation fix (suite header pattern): no sideways scroll,
   safe-area insets, 44px touch targets, Sign out never clipped. Clean
   interior track: no animation added. */
html, body { overflow-x: clip; max-width: 100%; }
body { overflow-wrap: anywhere; }
.topbar { flex-wrap: wrap; padding-top: calc(10px + env(safe-area-inset-top)); padding-left: calc(16px + env(safe-area-inset-left)); padding-right: calc(16px + env(safe-area-inset-right)); }
main { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
.btn, .tab, button { min-height: 44px; }
.btn.small { min-height: 44px; }
#signOutBtn, button#signOutBtn { flex-shrink: 0; }
.card, .list li, td, th { overflow-wrap: anywhere; word-break: break-word; min-width: 0; }
input, select, textarea { max-width: 100%; }
