.attachment-app { position: relative; z-index: 1; width: min(760px, calc(100% - 32px)); min-height: 100vh; margin: 0 auto; padding: calc(18px + var(--safe-t)) 0 calc(28px + var(--safe-b)); }
.attachment-topbar { display: flex; justify-content: space-between; align-items: center; margin: 0 4px 18px; }
.attachment-back { color: #806e88; font-size: 13px; }
.attachment-back:first-letter { font-size: 20px; }
.attachment-mark { color: #9c8ba1; font-size: 9px; letter-spacing: .15em; }
.attach-panel { padding: clamp(22px,5vw,42px); border-radius: 30px; }
.attach-intro { max-width: 620px; margin: 0 auto 24px; text-align: center; }
.attach-intro .eyebrow,.attach-panel > .eyebrow { margin: 0 0 9px; color: #a181a6; font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.attach-intro h1 { margin: 0; color: #493c52; font-size: clamp(25px,5vw,38px); letter-spacing: -.03em; }
.attach-intro > p:not(.eyebrow) { margin: 10px 0 0; color: #807180; font-size: 14px; line-height: 1.7; }
.attach-note { margin: 13px 0 0; padding: 11px 14px; border-radius: 14px; color: #817583; background: rgba(255,255,255,.42); font-size: 11px; line-height: 1.7; text-align: left; }
.attach-progress { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; margin: 22px 0 24px; color: #8f7f91; font-size: 12px; font-variant-numeric: tabular-nums; }
.attach-back-button { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.78); border-radius: 50%; color: #806e88; background: rgba(255,255,255,.48); font-size: 24px; cursor: pointer; }
.attach-back-button:disabled { opacity: .38; cursor: default; }
.attach-track { height: 8px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.68); }
.attach-track span { display: block; width: 4%; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#e991aa,#a99bfa); transition: width .25s ease; }
.attach-question { min-height: 280px; padding: clamp(18px,4vw,30px); border: 1px solid rgba(255,255,255,.7); border-radius: 24px; background: rgba(255,255,255,.35); }
.attach-q-label { margin: 0 0 10px; color: #a183a5; font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.attach-question h2 { min-height: 58px; margin: 0 0 21px; color: #4f4356; font-size: clamp(18px,3.4vw,23px); line-height: 1.55; }
.attach-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.attach-option { display: flex; min-height: 58px; align-items: center; gap: 11px; padding: 11px 14px; border: 1px solid rgba(255,255,255,.88); border-radius: 16px; color: #6b5b71; background: rgba(255,255,255,.56); font: inherit; font-size: 13px; text-align: left; cursor: pointer; transition: transform .16s ease, background .16s ease, box-shadow .16s ease; }
.attach-option:hover { transform: translateY(-1px); background: rgba(255,255,255,.88); }
.attach-option.is-selected { border-color: #cba0be; background: rgba(247,231,243,.92); box-shadow: 0 0 0 3px rgba(203,160,190,.14); }
.attach-option-value { display: grid; flex: 0 0 28px; width: 28px; height: 28px; place-items: center; border-radius: 50%; color: #92749b; background: rgba(237,222,241,.68); font-size: 11px; font-weight: 800; }
.attach-footnote { margin: 16px 0 0; color: #9a8d9b; font-size: 11px; text-align: center; }
.attach-result { max-width: 720px; }
.attach-result-kicker { margin: 0 0 7px; color: #92739a; font-size: 13px; font-weight: 800; }
.attach-result-hero { display: grid; grid-template-columns: 190px 1fr; align-items: center; gap: 22px; padding: 20px 0 24px; }
.attach-animal-orbit { display: grid; width: 174px; height: 174px; place-items: center; border-radius: 50%; background: radial-gradient(circle,rgba(255,255,255,.94),rgba(255,255,255,.2) 70%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.7); }
.attach-animal { width: 145px; height: 130px; overflow: visible; }
.attach-result-hero h2 { margin: 0 0 10px; color: #493c52; font-size: clamp(25px,5vw,36px); }
.attach-result-hero p { margin: 0; color: #746879; font-size: 14px; line-height: 1.85; }
.attach-insights { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.attach-insights article { padding: 15px 16px; border: 1px solid rgba(255,255,255,.8); border-radius: 18px; background: rgba(255,255,255,.42); }
.attach-insights article span { color: #967c9b; font-size: 11px; font-weight: 800; }
.attach-insights article p { margin: 7px 0 0; color: #62576a; font-size: 13px; line-height: 1.75; }
.attach-scores { margin-top: 22px; }
.attach-scores h3 { margin: 0 0 13px; color: #63566a; font-size: 13px; }
.attach-score-row { display: grid; grid-template-columns: 90px 1fr 28px; align-items: center; gap: 10px; margin: 9px 0; color: #796c7d; font-size: 11px; }
.attach-score-row b { color: #76677c; font-size: 11px; text-align: right; }
.attach-score-track { height: 8px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.78); }
.attach-score-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#ee9caf,#b4a3e7); }
.attach-result-note { margin-top: 22px; }
.attach-actions { display: flex; justify-content: center; gap: 12px; margin-top: 20px; }
.attach-actions .btn-primary,.attach-actions .btn-secondary { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 0 20px; border: 0; border-radius: 999px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.attach-actions .btn-primary { color: #fff; background: linear-gradient(135deg,#df8da6,#9f8ec6); }
.attach-actions .btn-secondary { border: 1px solid rgba(255,255,255,.85); color: #806e88; background: rgba(255,255,255,.58); }
.attach-footer { margin-top: 18px; color: #9a8b9d; font-size: 10px; text-align: center; }
[hidden] { display: none !important; }
@media (max-width: 540px) { .attachment-app { width: min(100% - 24px,760px); }.attach-panel { padding: 23px 17px; border-radius: 24px; }.attach-options { grid-template-columns: 1fr; gap: 8px; }.attach-option { min-height: 52px; }.attach-question { min-height: 340px; padding: 18px 14px; }.attach-result-hero { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 13px; }.attach-animal-orbit { width: 150px; height: 150px; }.attach-animal { width: 125px; height: 115px; }.attach-insights { grid-template-columns: 1fr; }.attach-score-row { grid-template-columns: 82px 1fr 25px; gap: 7px; }.attachment-mark { font-size: 8px; } }
