:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f6f4ef;--surface:#fff;--text:#1f2430;--muted:#565d6b;--border:#e3e0d8;--you:#5237d6;--them:#9a3412;--focus:#1d4ed8;--radius:1.25rem;--lilac:#ebe5ff;--mint:#dcf5e6;--peach:#ffe7d6;--sky:#dcefff;--rose:#ffe0e8;--lemon:#fff5c9;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,sans-serif;line-height:1.5}*{box-sizing:border-box}body{background:var(--bg);color:var(--text);margin:0}h1,h2,h3,h4,p{margin:0}button,select,input{font:inherit}a{color:inherit}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.app{flex-direction:column;min-height:100vh;display:flex}.container{flex:none}.site-header,.site-footer{width:min(100%,64rem);margin:0 auto;padding:1rem}.site-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;display:flex}.brand{align-items:center;gap:.5rem;font-size:1.25rem;font-weight:800;text-decoration:none;display:inline-flex}.brand-mark{color:var(--them)}.tagline{color:var(--muted);font-size:.9rem}.container{background:var(--surface);border:1px solid var(--border);border-radius:calc(var(--radius) + .5rem);width:min(100%,64rem);margin:0 auto 1.5rem;padding:1.25rem}.site-footer{color:var(--muted);gap:.5rem;font-size:.875rem;display:grid}.caption{color:var(--muted);font-size:.9rem}.hero{text-align:center;gap:.5rem;margin:1rem 0 1.5rem;display:grid}.hero h1{font-size:clamp(1.75rem,5vw,2.75rem);line-height:1.15}.hero p{color:var(--muted);max-width:34rem;margin:0 auto}.upload{gap:.75rem;max-width:36rem;margin:0 auto;display:grid}.upload h2{text-align:center;font-size:1.1rem}.dropzone{text-align:center;cursor:pointer;background:var(--lilac);border-radius:var(--radius);border:2px dashed #8f7ee8;justify-items:center;gap:.5rem;padding:2rem 1rem;transition:background .15s,border-color .15s;display:grid}.dropzone:hover,.dropzone.is-dragging{border-color:var(--you);background:#e0d7ff}.dropzone:focus-within{outline:3px solid var(--focus);outline-offset:2px}.dropzone.is-disabled{opacity:.6;cursor:not-allowed}.dropzone-icon{font-size:2rem;line-height:1}.dropzone-title{font-size:1.15rem;font-weight:700}.dropzone-or{color:var(--muted);font-size:.9rem}.hint{text-align:center;color:var(--muted);font-size:.9rem}.button{cursor:pointer;border:2px solid #0000;border-radius:999px;justify-content:center;align-items:center;gap:.4rem;padding:.6rem 1.1rem;font-weight:700;text-decoration:none;display:inline-flex}.button-primary{background:var(--you);color:#fff}.button-primary:hover{background:#4429b8}.button-ghost{color:var(--text);border-color:var(--border);background:0 0}.button-ghost:hover{background:#f1efe9}.loading{justify-items:center;gap:1rem;padding:3rem 1rem;display:grid}.spinner{border:4px solid var(--lilac);border-top-color:var(--you);border-radius:50%;width:2.5rem;height:2.5rem;animation:.9s linear infinite spin}.progress{background:var(--lilac);border-radius:999px;width:min(100%,20rem);height:.5rem;overflow:hidden}.progress-bar{background:var(--you);border-radius:999px;width:40%;height:100%;animation:1.2s ease-in-out infinite slide}@keyframes spin{to{transform:rotate(360deg)}}@keyframes slide{0%{margin-left:-40%}to{margin-left:100%}}.error-banner{background:#ffe4e6;border:1px solid #b91c1c;border-radius:1rem;justify-content:space-between;align-items:flex-start;gap:1rem;max-width:36rem;margin:0 auto 1rem;padding:.9rem 1rem;display:flex}.error-message{color:#7f1d1d;font-weight:700}.error-hint{color:#7f1d1d;font-size:.9rem}.service{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.service-offline p{color:#7f1d1d;font-weight:600}.report{gap:1.25rem;display:grid}.report-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;display:flex}.report-header h2{overflow-wrap:anywhere;font-size:clamp(1.4rem,4vw,2rem);line-height:1.2}.controls{flex-wrap:wrap;align-items:flex-end;gap:1rem;display:flex}.identity{border:0;margin:0;padding:0}.identity legend{color:var(--muted);padding:0 0 .35rem;font-size:.9rem}.segmented{background:#efece4;border-radius:999px;flex-wrap:wrap;gap:.35rem;padding:.25rem;display:inline-flex}.segmented label{cursor:pointer;overflow-wrap:anywhere;border-radius:999px;padding:.4rem 1rem;font-weight:600;position:relative}.segmented label.is-selected{background:var(--surface);box-shadow:0 1px 3px #00000026}.segmented input{opacity:0;cursor:pointer;position:absolute;inset:0}.segmented label:focus-within{outline:3px solid var(--focus);outline-offset:1px}.chat-picker{gap:.25rem;display:grid}.chat-picker label{color:var(--muted);font-size:.9rem}.chat-picker select{border:1px solid var(--border);background:var(--surface);border-radius:.75rem;padding:.5rem .75rem}.section-title{margin-top:.5rem;font-size:1.25rem}.grid{grid-template-columns:repeat(auto-fit,minmax(16rem,1fr));gap:1rem;display:grid}.card{border-radius:var(--radius);align-content:start;gap:.75rem;min-width:0;padding:1.1rem 1.25rem;display:grid}.card-wide{grid-column:1/-1}.card-title{letter-spacing:.01em;font-size:.95rem;font-weight:700}.tone-lilac{background:var(--lilac)}.tone-mint{background:var(--mint)}.tone-peach{background:var(--peach)}.tone-sky{background:var(--sky)}.tone-rose{background:var(--rose)}.tone-lemon{background:var(--lemon)}.card .caption{color:#3f4654}.duel{grid-template-columns:1fr 1fr;gap:1rem;margin:0;display:grid}.duel-side{min-width:0}.duel dt{overflow-wrap:anywhere;font-size:.85rem;font-weight:600}.duel dd{margin:0}.big{font-variant-numeric:tabular-nums;font-size:clamp(1.5rem,4vw,2rem);font-weight:800;line-height:1.1}.big-date{font-size:clamp(1.5rem,4vw,2rem)}.unit{font-size:.9rem;font-weight:600}.side-you dt,.side-you .big,.side-you .unit{color:var(--you)}.side-them dt,.side-them .big,.side-them .unit{color:var(--them)}.sharebar{background:#fff9;border-radius:999px;height:.85rem;display:flex;overflow:hidden}.sharebar-you{background:var(--you)}.sharebar-them{background:var(--them)}.words-grid{grid-template-columns:repeat(auto-fit,minmax(10rem,1fr));gap:1rem;display:grid}.words h4{overflow-wrap:anywhere;margin-bottom:.35rem;font-size:.85rem}.words.side-you h4{color:var(--you)}.words.side-them h4{color:var(--them)}.words ol{gap:.3rem;margin:0;padding:0;list-style:none;display:grid}.words li{background:#ffffffb3;border-radius:.75rem;justify-content:space-between;gap:.5rem;padding:.35rem .7rem;display:flex}.word{overflow-wrap:anywhere;font-weight:700}.word-count{color:var(--muted);font-variant-numeric:tabular-nums}.notes{margin:0;padding-left:1.2rem}.timeline{gap:.5rem;margin:0;display:grid}.timeline svg{width:100%;height:auto}.bar-you{fill:var(--you)}.bar-them{fill:var(--them)}.axis{color:#3f4654;text-align:center;font-size:.8rem;display:grid}.axis span{white-space:nowrap}.legend{flex-wrap:wrap;gap:1rem;font-size:.85rem;font-weight:600;display:flex}.swatch{vertical-align:middle;border-radius:.2rem;width:.8rem;height:.8rem;display:inline-block}.swatch-you{background:var(--you)}.swatch-them{background:var(--them)}@media (width<=30rem){.container{border-radius:var(--radius);padding:.9rem}.report-header .button{width:100%}}@media (prefers-reduced-motion:reduce){.spinner,.progress-bar{animation:none}.progress-bar{width:100%}.dropzone{transition:none}}.export-help{text-align:left;color:var(--muted);font-size:.9rem}.export-help summary{cursor:pointer;text-align:center;color:var(--text);font-weight:600}.export-help ul{gap:.3rem;margin:.75rem 0;padding-left:1.2rem;display:grid}.privacy-note{color:var(--text);font-weight:600}.engagement{gap:1rem;margin-top:.5rem;display:grid}.engagement-disclaimer{color:#3d3000;background:#fff8dc;border:2px solid #8a6d00;border-radius:1rem;padding:.75rem 1rem}.engagement-grid{grid-template-columns:repeat(auto-fit,minmax(18rem,1fr))}.engagement-person{background:var(--lilac)}.engagement-person.side-them{background:var(--peach)}.engagement-score{margin:0}.engagement-score-empty{font-size:1.25rem;font-weight:700}.engagement-band{margin:0;font-weight:700}.subsection-title{margin:.5rem 0 0;font-size:1.05rem}.engagement-table{border-collapse:collapse;width:100%;font-size:.9rem}.engagement-table th,.engagement-table td{text-align:left;vertical-align:top;border-bottom:1px solid #0000001f;padding:.4rem .5rem}.engagement-table thead th{color:#2f3541;font-size:.8rem}.engagement-compare td,.engagement-compare th{min-width:7rem}.measure{font-variant-numeric:tabular-nums;font-size:1.1rem;font-weight:800}.block{display:block}.evidence-scroll{border:1px solid var(--border);background:var(--surface);border-radius:.75rem;max-height:18rem;overflow:auto}.evidence-scroll:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.metric-details{border:1px solid var(--border);background:var(--surface);border-radius:.9rem;padding:.6rem .9rem}.metric-details summary{cursor:pointer;font-weight:700}.metric-details>*+*{margin-top:.6rem}.measure-list{margin:0;padding-left:1.2rem}.engagement-settings{gap:.6rem;max-width:30rem;display:grid}.engagement-settings label{gap:.2rem;font-size:.9rem;font-weight:600;display:grid}.engagement-settings input{border:1px solid #6b7280;border-radius:.5rem;width:8rem;padding:.4rem .6rem}[data-autofocus]:focus{outline:none}.export-panel{margin-top:1.5rem}.export-buttons{flex-wrap:wrap;gap:.75rem;margin:.75rem 0;display:flex}.export-status{overflow-wrap:anywhere;min-height:1.4em;font-size:.95rem}.export-error{color:#9f1239;font-weight:600}@media (width<=30rem){.export-buttons .button{width:100%}}
