/* Guest page: used by the real guest page and by the phone preview in the app. */
.g { --acc: #2f5d50; --acc-soft: #e7efec; color: #1f1d1a; background: #faf8f5; min-height: 100%; font-size: 15px; line-height: 1.5; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.g * { box-sizing: border-box; }
.g button { font: inherit; cursor: pointer; }
.g-hero { background: var(--acc); color: #fff; padding: 34px 22px 26px; }
.g-hero .hello { opacity: .85; font-size: 14px; margin: 0 0 4px; }
.g-hero h1 { margin: 0; font-size: 28px; line-height: 1.15; letter-spacing: -0.02em; }
.g-hero .welcome { margin: 12px 0 0; opacity: .92; white-space: pre-line; }
.g-quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; padding: 16px 16px 4px; }
.g-chip.wide { grid-column: 1 / -1; }
.g-chip { background: #fff; border: 1px solid #ebe5dc; border-radius: 14px; padding: 12px 14px; text-align: left; color: inherit; min-width: 0; }
.g-chip .k { font-size: 12px; color: #776f65; }
.g-chip .v { font-weight: 700; font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.g-nav { display: flex; gap: 8px; overflow-x: auto; padding: 12px 16px 4px; scrollbar-width: none; }
.g-nav::-webkit-scrollbar { display: none; }
.g-nav button { flex: none; border: 1px solid #e3dcd1; background: #fff; border-radius: 999px; padding: 7px 13px; font-size: 13px; font-weight: 600; color: #3b3732; }
.g-card { background: #fff; border: 1px solid #ebe5dc; border-radius: 18px; margin: 12px 16px; padding: 18px; scroll-margin-top: 12px; }
.g-card h2 { display: flex; align-items: center; gap: 10px; font-size: 17px; margin: 0 0 10px; }
.g-ico { width: 32px; height: 32px; border-radius: 10px; background: var(--acc-soft); color: var(--acc); display: grid; place-items: center; flex: none; }
.g-ico svg { width: 18px; height: 18px; }
.g-card p { margin: 0 0 8px; white-space: pre-line; }
.g-card p:last-child { margin-bottom: 0; }
.g-sub { font-weight: 700; font-size: 14px; margin: 12px 0 2px; }
.g-card h2 + .g-sub { margin-top: 0; }
.g-wifi { display: grid; gap: 8px; }
.g-wifi .line { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: #f7f4ef; border-radius: 12px; padding: 10px 12px; }
.g-wifi .line .k { font-size: 12px; color: #776f65; }
.g-wifi .line .v { font-weight: 700; word-break: break-all; }
.g-copy { border: none; background: var(--acc); color: #fff; border-radius: 9px; padding: 7px 11px; font-size: 13px; font-weight: 600; flex: none; }
.g-acc { border-top: 1px solid #f0ebe3; }
.g-acc:first-of-type { border-top: none; }
.g-acc summary { list-style: none; cursor: pointer; padding: 11px 0; font-weight: 650; display: flex; justify-content: space-between; gap: 12px; }
.g-acc summary::-webkit-details-marker { display: none; }
.g-acc summary::after { content: "+"; color: var(--acc); font-weight: 700; }
.g-acc[open] summary::after { content: "–"; }
.g-acc p { padding-bottom: 10px; }
.g-ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.g-ul li { display: flex; gap: 10px; }
.g-ul li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--acc); margin-top: 8px; flex: none; }
.g-check li::before { content: "✓"; width: auto; height: auto; background: none; color: var(--acc); font-weight: 800; margin-top: 0; }
.g-tip { padding: 10px 0; border-top: 1px solid #f0ebe3; }
.g-tip:first-of-type { border-top: none; padding-top: 0; }
.g-tip .t { font-weight: 700; }
.g-tip .c { font-size: 12px; color: #776f65; text-transform: uppercase; letter-spacing: .04em; }
.g-link { color: var(--acc); font-weight: 650; text-decoration: none; font-size: 14px; }
.g-contact { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.g-contact a { background: var(--acc); color: #fff; text-decoration: none; padding: 10px 14px; border-radius: 12px; font-weight: 650; font-size: 14px; }
.g-contact a.alt { background: var(--acc-soft); color: var(--acc); }
.g-foot { text-align: center; color: #9a9289; font-size: 12px; padding: 18px 16px 30px; }
.g-empty { padding: 60px 28px; text-align: center; color: #776f65; }

body.guest-mode { margin: 0; background: #faf8f5; }
body.guest-mode .g { max-width: 560px; margin: 0 auto; min-height: 100vh; }
