:root { color-scheme: dark; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; background: #101318; color: #f5f7fc; }
* { box-sizing: border-box; }
body { margin: 0; }
.shell { width: min(100%, 560px); min-height: 100svh; margin: auto; padding: max(36px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left)); display: flex; flex-direction: column; }
header { display: flex; align-items: center; gap: 12px; }
.brand-dot { width: 15px; height: 15px; border-radius: 50%; background: #8fabff; }
h1 { font-size: 1.5rem; font-weight: 650; letter-spacing: -.04em; margin: 0; }
main { margin-block: clamp(64px, 15vh, 120px) 48px; }
h2 { font-size: .875rem; font-weight: 500; color: #aab2c2; margin: 0 0 20px; }
nav { display: grid; gap: 16px; }
.chat { position: relative; min-height: 230px; padding: 32px; border-radius: 28px; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; text-decoration: none; color: #f5f7fc; background: #1a202b; border: 1px solid #303b50; -webkit-tap-highlight-color: transparent; transition: background .15s, transform .15s; }
.chat-title { font-size: clamp(1.7rem, 7vw, 2.1rem); font-weight: 650; letter-spacing: -.035em; line-height: 1.2; overflow-wrap: anywhere; }
.chat-hint { font-size: .875rem; color: #bac4d8; }
.chat-arrow { position: absolute; top: 20px; right: 28px; font-size: 2rem; }
.chat:focus-visible { outline: 3px solid white; outline-offset: 6px; }
.chat:active { transform: scale(.98); }
@media (hover:hover) { .chat:hover { background: #222a38; } }
@media (prefers-reduced-motion:reduce) { .chat { transition: none; } }
footer { margin-top: auto; display: flex; justify-content: flex-end; color: #949dab; font-size: .8125rem; }
.report-card { background: #1a202b; border: 1px solid #303b50; padding: 26px; border-radius: 28px; }
.report-card h3 { font-size: 1.7rem; margin: 0 0 28px; line-height: 1.25; }
fieldset { border: 0; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 12px; }
legend { color: #bac4d8; font-size: .9rem; margin-bottom: 14px; }
.report-toggle { flex: 1 1 0; min-width: 0; min-height: 48px; padding: 10px 6px; border: 1px solid #52617d; border-radius: 12px; cursor: pointer; font: inherit; font-size: .9rem; background: transparent; color: #f5f7fc; }
.report-toggle[aria-pressed=true] { background: #3159d7; border-color: #8fabff; box-shadow: inset 0 0 0 1px #8fabff; }
.report-toggle:focus-visible { outline: 3px solid #8fabff; outline-offset: 3px; }
.open-chat[aria-disabled=true] { opacity: .6; cursor: wait; }
.report-action, .open-chat { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 64px; border: 0; border-radius: 16px; padding: 16px 12px; font: inherit; font-weight: 600; line-height: 1.4; background: #3159d7; color: white; cursor: pointer; text-align: center; text-decoration: none; }
.report-action:disabled { opacity: .6; cursor: wait; }
.report-action:focus-visible, .open-chat:focus-visible { outline: 3px solid #8fabff; outline-offset: 4px; }
.report-status { font-size: .9rem; line-height: 1.5; color: #c5d2eb; }
.report-status:empty { display: none; }
textarea { width: 100%; min-height: 220px; font: inherit; font-size: 1rem; padding: 12px; margin: 12px 0; }
.open-chat { margin-top: 12px; }
@media (max-width: 360px) { .report-card { padding: 18px; } fieldset { gap: 8px; } }
main { margin-top: clamp(40px, 8vh, 70px); }
