:root{color-scheme:light;--ink:#24284b;--muted:#62677b;--paper:#f5f6fa;--line:#e0e3ed;--accent:#5154a1;--soft:#eeedf9;--green:#2d735e;--warn:#9a4c35;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-size:16px;color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}body{margin:0;line-height:1.8}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}button,a,input{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #7379cd;outline-offset:4px}button{border:0}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.45}h1{font-size:clamp(2rem,4vw,3rem);letter-spacing:-.04em}h2{font-size:1.4rem}h3{font-size:1.1rem}p+p{margin-top:1em}ul,ol{padding-left:1.4em;margin:1em 0 0}li+li{margin-top:.6em}.site-header,.site-footer{max-width:1120px;margin:auto;padding:24px 32px;display:flex;justify-content:space-between;align-items:center}.brand{display:flex;align-items:center;gap:10px;font-weight:700;letter-spacing:.06em}.brand-icon{font-size:30px;color:var(--accent);line-height:1}.header-note,.site-footer{color:var(--muted);font-size:.85rem}.site-footer{margin-top:40px;border-top:1px solid var(--line);gap:14px;flex-wrap:wrap}.site-footer span{font-size:.8rem}main{max-width:1120px;margin:22px auto 64px;padding:0 32px}.eyebrow{font-size:.8rem;font-weight:700;letter-spacing:.1em;color:var(--accent);margin-bottom:14px}.muted{color:var(--muted)}.small{font-size:.875rem}.home-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:28px;align-items:start}.hero{background:var(--ink);color:white;border-radius:24px;padding:42px;overflow:hidden;position:relative}.hero .eyebrow{color:#b9c6f0}.hero h1{position:relative;max-width:450px;z-index:1}.hero h1 span{color:#b9dcd4}.hero .subtitle{margin-top:24px;color:#d4d8ec;max-width:370px}.relationship-art{height:168px;width:100%;margin:26px 0 12px;display:block}.hero-bottom{padding-top:24px;border-top:1px solid #ffffff26;display:flex;gap:26px}.hero-bottom strong{font-size:1.65rem;font-weight:600;margin-right:5px}.hero-bottom div{font-size:.8rem;color:#d4d8ec}.home-side{padding:12px 6px}.home-side h2{font-size:1.5rem;margin-bottom:20px}.intro p{font-size:.9375rem;color:#50566f}.start-form{margin-top:30px}.start-form label{display:block;font-size:.9rem;font-weight:600;margin-bottom:8px}.start-form label span{font-weight:400;color:var(--muted)}input[type=text]{width:100%;min-height:52px;padding:12px 16px;border:1px solid #d3d7e3;border-radius:12px;color:var(--ink);background:#fff}input::placeholder{color:#828799}.button{min-height:50px;padding:12px 22px;border-radius:12px;font-weight:600;line-height:1.5;display:inline-flex;align-items:center;justify-content:center;gap:10px;transition:background .15s}.primary{background:var(--ink);color:#fff}.primary:hover:not(:disabled){background:#3e436f}.secondary{background:#fff;color:var(--ink);border:1px solid #cdd2e0}.secondary:hover:not(:disabled){background:#eeedf9}.start-form .button{width:100%;margin-top:14px}.privacy{display:flex;justify-content:space-between;margin-top:12px;font-size:.8rem;color:var(--muted)}.disclaimer{color:var(--muted);font-size:.8125rem;line-height:1.9;border-top:1px solid var(--line);margin-top:24px;padding-top:18px}.home-note{grid-column:1/-1;display:flex;align-items:baseline;justify-content:space-between;gap:24px;padding:4px 12px;color:var(--muted);font-size:.875rem}.home-note strong{color:var(--ink);font-weight:600}.quiz-shell{max-width:760px;margin:0 auto}.quiz-top{display:flex;align-items:center;justify-content:space-between;gap:16px}.quiz-top strong{font-size:.9rem}.progress-track{height:6px;background:#e0e3ee;border-radius:6px;overflow:hidden;margin:14px 0 28px}.progress-track span{display:block;height:100%;background:var(--accent);transition:width .2s}.question-card,.panel{background:white;border:1px solid var(--line);border-radius:20px;padding:32px}.question-card h1{font-size:1.45rem;letter-spacing:0;line-height:1.7;margin-bottom:24px}.question-caption{font-size:.8125rem;color:var(--muted);margin-bottom:12px}.options{display:grid;gap:10px;border:0;margin:0;padding:0}.option{min-height:54px;display:flex;align-items:center;gap:14px;padding:12px 16px;background:#fff;border:1px solid #dce0eb;border-radius:12px;cursor:pointer;line-height:1.6;position:relative}.option:hover{border-color:#878ac3;background:#fafaff}.option:has(input:checked){border-color:var(--accent);background:var(--soft);box-shadow:0 0 0 1px var(--accent)}.option input{width:20px;height:20px;flex:0 0 20px;accent-color:var(--accent);margin:0}.option .letter{font-size:.8rem;color:var(--muted);min-width:12px}.option:last-child{border-style:dashed;font-size:.875rem}.quiz-nav{display:flex;justify-content:space-between;gap:12px;margin-top:24px}.quiz-nav .primary{flex:1;max-width:280px}.selection-note{font-size:.8125rem;color:var(--muted);text-align:center;min-height:28px;margin-top:10px}.question-review{margin-top:20px;color:var(--muted);font-size:.875rem}.question-review summary{min-height:44px;padding:8px 0;cursor:pointer}.question-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:8px;margin-top:12px}.question-jump{min-height:44px;min-width:44px;background:white;border:1px solid var(--line);border-radius:8px;color:var(--muted)}.question-jump.answered{background:var(--soft);color:var(--accent);border-color:#c6c7e6}.question-jump.current{outline:2px solid var(--accent)}.report{max-width:880px;margin:auto}.report-topline{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.text-button{min-height:44px;background:none;padding:8px;color:var(--accent);font-size:.875rem;text-decoration:underline;text-underline-offset:4px}.report-hero{border-radius:24px;padding:36px;background:var(--ink);color:white;position:relative}.report-hero.positive{background:#254e48}.report-hero.neutral{background:#3d4563}.report-hero .eyebrow{color:#d2d6ee}.report-hero h1{font-size:2.4rem;letter-spacing:0}.report-hero h1 span{display:block}.report-hero h1 span+span{margin-top:6px}.type-quote{margin-top:16px;font-size:1.05rem;color:#e5e8f6}.tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}.tag{font-size:.8rem;border:1px solid #ffffff48;padding:4px 10px;border-radius:6px;background:#ffffff0a}.panel{margin-top:22px}.panel-title{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:18px}.section-label{font-size:.8rem;color:var(--muted);margin-bottom:7px}.score-layout{display:grid;grid-template-columns:1fr auto;gap:24px;align-items:center}.score{font-size:3.2rem;line-height:1.2;font-variant-numeric:tabular-nums;font-weight:650;letter-spacing:-.04em}.score span{font-size:1rem;color:var(--muted);letter-spacing:0;font-weight:400;margin-left:6px}.level-name{font-size:1.1rem;font-weight:600;margin-top:10px}.score-scale{display:flex;height:7px;gap:4px;margin-top:22px}.score-scale span{flex:1;background:#e6e8f0;border-radius:3px}.score-scale span.active{background:var(--accent)}.legend{font-size:.8125rem;color:var(--muted);margin-top:14px}.radar-wrap{max-width:520px;margin:0 auto}.radar{width:100%;height:auto;display:block;overflow:visible}.radar text{font-family:inherit;font-size:13px;fill:#505670}.radar .axis-label{font-weight:600;font-size:14px}.radar .axis-high{fill:var(--warn)}.dimension-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:12px}.dimension-cell{background:var(--paper);border-radius:12px;padding:14px;font-size:.875rem}.dimension-cell strong{display:block;font-size:1.4rem;font-weight:600;margin-top:3px}.dimension-cell.high{background:#fcf1eb;border:1px solid #e7c2ae}.flag{display:block;font-size:.75rem;color:var(--warn);font-weight:600}.reading p,.analysis p{color:#4e546a}.reading{background:#f0f0fa}.type-section+.type-section{border-top:1px solid var(--line);padding-top:26px;margin-top:26px}.type-section h3{margin-bottom:14px}.type-section ul{color:#4e546a}.examples-note{font-size:.8125rem;color:var(--muted);margin-top:18px}.secondary-types{border-top:1px solid var(--line);margin-top:24px;padding-top:24px}.secondary-type{margin-top:18px}.secondary-type blockquote{margin:8px 0;color:var(--accent);font-size:.9375rem}.quality-item+.quality-item{border-top:1px solid var(--line);margin-top:20px;padding-top:20px}.quality-item h3{display:flex;gap:12px;align-items:baseline;justify-content:space-between}.quality-item h3 span{font-size:.875rem;white-space:nowrap;color:var(--muted);font-weight:400}.quality-item p{margin-top:8px;color:#4e546a}.coexist{font-size:.8125rem;color:var(--warn)!important}.warning-title{color:var(--warn)}.warning-mark{font-size:.75rem;padding:3px 8px;border-radius:5px;background:#fae9df;color:var(--warn);display:inline-block;margin-bottom:8px}.advice ol{color:#4e546a}.knowledge p{font-size:.9375rem;color:#4e546a}.knowledge h3{margin:16px 0 10px}.report-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:24px}.status{font-size:.875rem;color:var(--muted);text-align:center;min-height:28px;margin-top:12px}.status:empty{display:none}.incomplete-banner{font-size:.9375rem;background:#f9f3e9;border-left:3px solid #c39a57;padding:16px;margin-bottom:24px;color:#6c5434}.partial-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.partial-cell{border:1px solid var(--line);border-radius:12px;padding:16px}.partial-cell h3{margin-bottom:12px}.partial-row{font-size:.875rem;display:flex;justify-content:space-between;gap:14px;margin-top:10px}.bar{height:5px;background:#eaecf3;margin:5px 0 12px;border-radius:5px;overflow:hidden}.bar span{display:block;height:100%;background:var(--accent)}.bar.positive span{background:var(--green)}.partial-note{font-size:.75rem;color:var(--muted)}.export-preview{margin-top:20px}.export-preview img{max-width:100%;height:auto;border:1px solid var(--line);border-radius:12px;display:block;margin:auto}.export-preview summary{padding:10px;min-height:44px;cursor:pointer;color:var(--accent);font-size:.875rem}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:900px){.hero{min-height:650px;display:flex;flex-direction:column}.relationship-art{flex:1;min-height:185px}.home-side{padding:12px 8px 12px 12px}}
@media(max-width:760px){.site-header,.site-footer{padding:20px}.site-header{gap:10px}.header-note{font-size:.75rem}main{margin:8px auto 44px;padding:0 18px}.home-grid{grid-template-columns:1fr;gap:24px}.hero{padding:28px;border-radius:20px}.hero h1{font-size:2.1rem}.hero .subtitle{font-size:.9375rem;margin-top:18px}.relationship-art{height:125px;margin:12px 0}.hero-bottom{padding-top:18px;justify-content:space-between;gap:10px}.hero-bottom strong{font-size:1.45rem}.home-side{padding:0 6px}.home-note{flex-direction:column;gap:6px;padding:0 6px}.site-footer{flex-direction:column;align-items:flex-start;gap:4px}.question-card,.panel{padding:23px 20px;border-radius:16px}.question-card h1{font-size:1.2rem}.quiz-top{font-size:.8125rem}.quiz-top strong{font-size:.8125rem}.progress-track{margin-bottom:20px}.option{padding:12px;gap:10px}.quiz-nav .button{padding:12px 18px}.question-grid{grid-template-columns:repeat(6,1fr)}.report-hero{padding:28px 24px;border-radius:20px}.report-hero h1{font-size:1.9rem}.type-quote{font-size:.9375rem}.score-layout{gap:12px;grid-template-columns:1fr}.score{font-size:2.8rem}.score-layout>.muted{font-size:.8125rem}.dimension-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.dimension-cell{padding:12px}.radar .axis-label{font-size:14px}.panel-title{align-items:flex-start;flex-direction:column;gap:6px}.panel-title h2,.panel>h2{font-size:1.25rem}.report-actions{grid-template-columns:1fr}.quality-item h3{font-size:1rem;gap:8px}.partial-grid{grid-template-columns:1fr}.report-topline{margin-bottom:12px}.report-topline .eyebrow{font-size:.75rem;margin:0}.tag{font-size:.75rem}}
.radar text{font-size:20px}.radar .axis-label{font-size:21px}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
