:root{--bg:#faf7f2;--ink:#454154;--muted:#94909e;--purple:#9b88c8;--purple-dark:#7963aa;--lavender:#eee8f7;--blue:#e8f0f8;--pink:#f9e6e8;--line:#ede8e4;--white:#fffefa;--shadow:0 8px 30px #65537b08;color-scheme:light;font-family:system-ui,-apple-system,"Segoe UI","Microsoft YaHei",sans-serif;font-size:14px;color:var(--ink);background:var(--bg)}
*{box-sizing:border-box}body{margin:0;min-height:100dvh}button,input,textarea{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;border:0}button:disabled{cursor:default;opacity:.55}button:focus-visible,a:focus-visible{outline:3px solid #c7b8e6;outline-offset:4px}button{transition:transform .18s,background .18s,box-shadow .18s}button:active{transform:scale(.97)}h1,h2,h3,p{margin:0}h1,h2{letter-spacing:.03em}h2{font-size:21px;font-weight:700}p{line-height:1.8}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}input,textarea{border:1px solid var(--line);border-radius:16px;background:#fffefa;width:100%;padding:15px 16px;outline:0;color:var(--ink);transition:border .2s,box-shadow .2s}input:focus,textarea:focus{border-color:#b5a3d5;box-shadow:0 0 0 4px #eee8f780}input::placeholder,textarea::placeholder{color:#aca7b2}textarea{resize:vertical;min-height:130px;line-height:1.8}label{display:block;font-size:13px;margin:18px 0 9px}.ambient{position:fixed;border-radius:50%;z-index:-1;pointer-events:none;filter:blur(70px);opacity:.35}.ambient-a{background:#e7dff8;width:300px;height:300px;right:-130px;top:140px}.ambient-b{background:#f7e6de;width:300px;height:300px;left:-170px;top:600px}.shell{max-width:1080px;margin:auto;padding:30px 40px 120px}.topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}.brand{display:flex;align-items:center;gap:12px;background:none;padding:0;text-align:left}.brand-mark{display:grid;place-items:center;width:46px;height:46px;background:var(--lavender);border-radius:17px;color:var(--purple-dark)}.brand strong{font-size:18px;letter-spacing:.08em}.brand small{display:block;color:var(--muted);font-size:10px;letter-spacing:.16em;margin-top:5px}.user-pill{display:flex;align-items:center;gap:9px;background:var(--white);padding:9px 14px;border-radius:30px;border:1px solid var(--line);font-size:12px}.user-dot{width:7px;height:7px;background:#a8cdb5;border-radius:50%}.greeting{margin-top:35px;color:#97919f;font-size:12px;letter-spacing:.12em}.page-title{font-size:30px;margin:12px 0 10px;line-height:1.5}.page-sub{font-size:13px;color:var(--muted)}.hero{position:relative;overflow:hidden;background:linear-gradient(115deg,#f1eaf7,#f5f0f8 60%,#efe8f7);border:1px solid #e9e0f2;border-radius:28px;min-height:266px;margin-top:28px;padding:38px 34px;display:flex;align-items:center}.hero:before{content:"";position:absolute;width:240px;height:240px;border:1px solid #fff9;border-radius:50%;right:65px;top:35px}.hero-copy{position:relative;z-index:2;max-width:58%}.eyebrow{display:inline-flex;gap:6px;align-items:center;letter-spacing:.06em;font-size:11px;background:#fff8;color:#8b78a9;border-radius:30px;padding:6px 11px;margin-bottom:16px}.eyebrow svg{width:13px;height:13px}.hero h2{font-size:24px;line-height:1.6;margin-bottom:10px}.hero p{font-size:13px;color:#90829f}.hero .quote{margin-top:20px;color:#a99bb5;font-size:11px}.mascot{position:absolute;width:206px;height:238px;object-fit:contain;right:30px;bottom:0;filter:drop-shadow(0 8px 12px #7c679a18);animation:bob 5s ease-in-out infinite;z-index:1;transform-origin:bottom center}.hero .star{position:absolute;color:#cbb985;font-size:22px;animation:twinkle 3s infinite}.star.one{right:255px;top:50px}.star.two{right:25px;top:60px;animation-delay:1s;font-size:16px}.mascot.tapped{animation:wiggle .65s ease}.section-head{display:flex;align-items:center;justify-content:space-between;margin:32px 0 16px}.section-head h3{font-size:16px}.tiny{font-size:11px;color:var(--muted)}.actions-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.action-card{background:var(--white);border:1px solid var(--line);border-radius:23px;text-align:left;padding:23px;box-shadow:var(--shadow);display:flex;gap:17px;align-items:center}.action-card:hover{box-shadow:0 8px 24px #84719812;transform:translateY(-2px)}.card-icon{border-radius:16px;background:var(--lavender);color:var(--purple-dark);width:50px;height:50px;display:grid;place-items:center;flex-shrink:0}.card-icon.blue{background:var(--blue);color:#7b9ab5}.card-copy{flex:1}.card-copy strong{display:block;font-size:16px;margin-bottom:7px}.card-copy small{font-size:11px;color:var(--muted);line-height:1.7;display:block}.arrow{color:#beb5c9;width:17px}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:21px 0}.step{display:flex;align-items:flex-start;gap:10px;padding:18px 8px}.step-num{display:grid;place-items:center;color:#a798b8;border:1px solid #e6dde9;border-radius:50%;height:25px;width:25px;font-size:10px;flex-shrink:0}.step strong{font-size:12px;font-weight:600;display:block;margin:4px 0 6px}.step small{font-size:11px;line-height:1.7;color:#a59eaa;display:block}.warm-note{display:flex;gap:12px;padding:17px 20px;background:#f4f1eb;border:1px solid #ede8e0;border-radius:18px;font-size:11px;color:#a29a8e;line-height:1.8;margin-top:18px}.warm-note svg{width:17px;height:17px;color:#baa88a;margin-top:2px}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);z-index:20;width:min(100%,1080px);background:#fffdf9ef;backdrop-filter:blur(16px);border-top:1px solid #eee8e1;display:flex;justify-content:center;gap:100px;padding:13px 20px calc(13px + env(safe-area-inset-bottom));box-shadow:0 -5px 25px #68547b04}.nav-item{background:none;color:#b3a9b8;display:grid;justify-items:center;gap:5px;font-size:10px;padding:4px 24px;border-radius:13px}.nav-item.active{color:#9075b9;background:#f3eef9}.nav-item svg{width:21px;height:21px}.btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:47px;padding:13px 22px;border-radius:16px;background:var(--purple);color:white;font-weight:600;font-size:13px;box-shadow:0 4px 12px #9b88c823}.btn:hover{background:#917cc1}.btn.full{width:100%}.btn.secondary{color:#8b76ab;background:#eee8f7;box-shadow:none}.btn.ghost{color:#9b8aa9;background:transparent;box-shadow:none;border:1px solid var(--line)}.btn.danger{background:#faebeb;color:#bb888d;box-shadow:none}.btn svg{width:17px;height:17px}.link-button{background:none;padding:7px;color:#9682b0;font-size:12px}.panel{background:var(--white);border:1px solid var(--line);padding:24px;border-radius:24px;box-shadow:var(--shadow);margin:20px 0}.panel h3{font-size:16px;margin-bottom:9px}.panel p{font-size:12px;color:var(--muted)}.login-shell{max-width:440px;margin:0 auto;padding:32px 24px 45px;animation:appear .45s ease}.login-mascot{position:relative;height:208px;display:flex;align-items:center;justify-content:center;margin-top:22px}.login-mascot:before{content:"";position:absolute;width:185px;height:185px;border-radius:50%;background:#eee7f780;bottom:0}.login-mascot img{width:156px;height:207px;object-fit:contain;z-index:1;animation:bob 5s ease-in-out infinite}.center{text-align:center}.login-title{font-size:29px;margin:20px 0 7px;letter-spacing:.1em}.login-sub{font-size:12px;color:#a398aa}.login-form{margin-top:26px}.login-form .btn{margin-top:25px}.login-footer{text-align:center;color:#b6aab7;font-size:11px;margin-top:25px;line-height:1.8}.inline-error{color:#bd848c;background:#fdf0f0;border:1px solid #f4dfe2;border-radius:13px;padding:12px 15px;font-size:12px;line-height:1.8;margin:16px 0}.back-row{display:flex;align-items:center;gap:10px;margin:15px 0 22px}.back{background:#f0eaf5;color:#9a84b2;width:35px;height:35px;display:grid;place-items:center;border-radius:12px}.back svg{width:18px}.room-heading{flex:1}.room-heading h2{font-size:20px}.room-heading small{font-size:11px;color:var(--muted);display:block;margin-top:5px}.room-code{display:flex;align-items:center;gap:7px;color:#9b86b3;font-size:11px;background:#f0eaf5;padding:8px 12px;border-radius:12px}.room-code svg{width:13px;height:13px}.room-layout{display:grid;grid-template-columns:1fr 310px;gap:22px}.room-body{min-width:0}.room-helper{position:relative;border:1px solid #eee4f3;border-radius:22px;background:#f5eef8;padding:20px 22px 20px 96px;min-height:105px;margin-bottom:18px}.room-helper img{position:absolute;height:90px;width:73px;object-fit:contain;left:15px;bottom:7px;animation:bob 5s infinite}.room-helper strong{font-size:13px;display:block;margin:3px 0 7px}.room-helper p{font-size:12px;color:#a091ad;line-height:1.7}.participant-row{display:flex;align-items:center;gap:13px;margin-bottom:18px}.participant{display:flex;align-items:center;gap:8px;background:var(--white);border:1px solid var(--line);padding:10px 15px;border-radius:16px;flex:1;font-size:12px}.avatar{display:grid;place-items:center;width:32px;height:32px;border-radius:12px;background:var(--lavender);color:#9d89bf;font-size:11px;font-weight:600}.avatar.b{background:var(--blue);color:#8aa8bd}.participant small{display:block;font-size:10px;color:#a49caa;margin-top:3px}.participant .ready-dot{margin-left:auto;width:6px;height:6px;border-radius:50%;background:#b7d3bb}.chat{display:flex;flex-direction:column;gap:16px;min-height:170px;margin-top:25px;max-height:480px;overflow-y:auto;padding:2px 5px 20px;scroll-behavior:smooth}.bubble-wrap{display:flex;align-items:flex-start;gap:9px;animation:appear .35s ease}.bubble-wrap.mine{flex-direction:row-reverse}.bubble{background:#fffefa;border:1px solid var(--line);border-radius:0 18px 18px 18px;padding:14px 17px;max-width:85%;min-width:130px}.mine .bubble{background:#eee7f6;border-color:#e8dff1;border-radius:18px 0 18px 18px}.bubble-meta{display:flex;gap:10px;align-items:center;color:#a094aa;font-size:10px;margin-bottom:8px}.bubble p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.9}.empty{text-align:center;padding:36px 15px;color:#b3a9ba}.empty svg{width:35px;height:35px;color:#d0c2de;margin-bottom:14px}.empty p{font-size:12px}.composer{background:var(--white);border:1px solid var(--line);border-radius:21px;padding:16px;margin-top:12px}.composer textarea{border:0;box-shadow:none;padding:4px 2px;background:transparent;min-height:90px;resize:vertical;font-size:13px}.composer-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:14px}.voice-button{border:1px solid #ece3f2;color:#9d88b6;background:#f7f2fa;border-radius:13px;padding:9px 12px;display:flex;align-items:center;gap:6px;font-size:11px}.voice-button svg{width:15px;height:15px}.counter{font-size:10px;color:#bab1be}.send-button{min-height:37px;border-radius:12px;padding:9px 16px;font-size:11px}.ready-panel{text-align:center;background:#f9f6f0}.ready-panel .btn{margin-top:17px}.status-tag{display:inline-flex;gap:5px;align-items:center;font-size:10px;background:#f0ebf5;border-radius:20px;padding:5px 9px;color:#a38db9}.status-tag.done{background:#eaf3e9;color:#8caa88}.history-row{background:var(--white);border:1px solid var(--line);padding:20px;border-radius:21px;display:flex;align-items:center;gap:14px;margin:13px 0;text-align:left;width:100%}.history-row .card-copy strong{font-size:14px}.history-date{font-size:10px;color:#aaa0b1;margin-top:9px}.settings-row{display:flex;align-items:center;justify-content:space-between;padding:17px 0;border-bottom:1px solid var(--line);font-size:13px}.settings-row:last-child{border:0}.settings-row span:last-child{font-size:12px;color:var(--muted)}.version{color:#b7adbd;font-size:10px;text-align:center;margin-top:30px;line-height:1.9}.modal{border:1px solid #ede5f0;padding:28px 25px;border-radius:26px;background:var(--bg);color:var(--ink);max-width:420px;width:calc(100% - 36px);box-shadow:0 24px 100px #49354b26}.modal::backdrop{background:#4c3c5b36;backdrop-filter:blur(4px)}.modal h2{font-size:21px;margin-bottom:8px}.modal p{font-size:12px;color:var(--muted)}.modal .buttons{display:flex;gap:10px;margin-top:23px}.modal .buttons .btn{flex:1}.code-input{text-align:center;letter-spacing:.25em;font-size:24px}.result-header{text-align:center;padding:12px 0 15px}.result-mascot{height:110px;width:90px;object-fit:contain;animation:bob 5s infinite;margin-bottom:12px}.result-header h2{font-size:24px}.result-header p{color:#a493b0;font-size:12px;margin-top:9px}.score-card{padding:28px;background:var(--white);border:1px solid var(--line);border-radius:26px;text-align:center;margin:15px 0}.score-label{color:#b09dbb;font-size:11px;letter-spacing:.15em}.score-row{display:flex;align-items:center;justify-content:space-between;margin:24px 0 18px}.score-person{width:35%}.score-person strong{font-size:39px;color:#a58ac5;font-weight:650;font-variant-numeric:tabular-nums}.score-person.b strong{color:#90acc4}.score-person .name{display:block;font-size:12px;color:#a297ad;margin-bottom:10px}.score-person strong small{font-size:18px}.score-vs{font-size:15px;color:#c5b9ce}.score-track{height:13px;background:#dbe8f2;border-radius:9px;overflow:hidden}.score-fill{height:100%;background:linear-gradient(90deg,#d9c8eb,#ae92cb);border-radius:9px;width:var(--score);animation:fill 1.2s cubic-bezier(.2,.7,.2,1)}.score-caption{font-size:10px;color:#b6aabf;margin-top:14px}.confidence{display:inline-block;font-size:10px;background:#f3eee5;color:#b4a386;border-radius:20px;padding:6px 11px;margin-top:17px}.verdict-summary{font-size:14px;line-height:1.9;white-space:pre-wrap}.reason-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.reason-grid .panel{margin:0}.reason-grid .panel h3{color:#9c86b9}.reason-grid .panel.b h3{color:#8ea9be}.text-list{margin:15px 0 0;padding-left:18px;color:#8e8399;font-size:12px;line-height:1.9}.text-list li{padding-left:4px;margin-bottom:8px}.result-actions{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0}.result-actions .btn{flex:1;min-width:130px}.loader{display:flex;gap:6px;justify-content:center;margin:24px}.loader span{width:8px;height:8px;background:#b8a0d0;border-radius:50%;animation:dot 1s infinite}.loader span:nth-child(2){animation-delay:.15s}.loader span:nth-child(3){animation-delay:.3s}.loading-screen{text-align:center;padding:45px 15px}.loading-screen img{width:145px;height:175px;object-fit:contain;animation:bob 3s infinite}.loading-screen h2{margin:17px 0 8px}.loading-screen p{color:#aa9ab7;font-size:12px}.preview-banner{border:1px dashed #d5c5e5;padding:12px 17px;border-radius:15px;color:#ab91bc;background:#f4eef8;font-size:11px;margin:20px 0}.offline-bar{color:#b79488;font-size:11px;text-align:center;margin:12px 0}.invitation-code{letter-spacing:.2em;font-size:27px;color:#9e87bb;background:#f5effa;border-radius:15px;padding:15px;text-align:center;margin:15px 0}.animate-page{animation:appear .35s ease}.analysis-notice{background:#f6f1fa;border:1px solid #ede3f3;padding:15px;border-radius:17px;color:#ad96be;line-height:1.8;font-size:12px;margin-top:20px}.hide{display:none!important}#toast{position:fixed;bottom:105px;left:50%;transform:translateX(-50%) translateY(12px);opacity:0;pointer-events:none;background:#5b4d68eb;color:white;padding:12px 19px;border-radius:17px;z-index:100;font-size:12px;max-width:88%;line-height:1.7;transition:.25s;text-align:center}#toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
@keyframes bob{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-7px) rotate(1deg)}}@keyframes twinkle{0%,100%{opacity:.35;transform:scale(.8)}50%{opacity:1;transform:scale(1.15)}}@keyframes appear{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes fill{from{width:0}to{width:var(--score)}}@keyframes dot{0%,80%,100%{opacity:.3;transform:translateY(0)}40%{opacity:1;transform:translateY(-7px)}}@keyframes wiggle{0%,100%{transform:rotate(0)}25%{transform:rotate(-6deg)}70%{transform:rotate(5deg)}}
@media(min-width:850px){.home-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:28px}.home-grid .hero{margin-top:28px;min-height:360px}.home-grid .hero h2{font-size:27px}.home-grid .hero-copy{max-width:57%}.home-grid .mascot{height:295px;width:225px;right:10px;bottom:8px}.home-side{padding-top:0}.home-side .actions-grid{grid-template-columns:1fr}.home-side .section-head{margin-top:28px}.steps{margin-top:12px}.home-grid .hero p{max-width:155px}.home-grid .hero .quote{margin-top:28px}.login-shell{margin-top:20px}}
@media(max-width:650px){.shell{padding:23px 22px 105px}.topbar{margin-bottom:22px}.brand-mark{width:39px;height:39px;border-radius:14px}.brand strong{font-size:16px}.brand small{font-size:8px}.user-pill{padding:8px 11px;font-size:10px}.greeting{margin-top:25px;font-size:10px}.page-title{font-size:26px;margin-top:11px}.page-sub{font-size:11px}.hero{min-height:243px;padding:26px 21px;margin-top:24px;border-radius:24px;align-items:flex-start}.hero-copy{max-width:59%}.hero h2{font-size:20px}.hero p{font-size:11px;max-width:180px}.hero .quote{font-size:9px;margin-top:18px;max-width:148px}.mascot{width:158px;height:210px;right:2px;bottom:3px}.hero:before{width:160px;height:160px;right:10px;top:54px}.star.one{right:144px;top:21px;font-size:17px}.star.two{right:15px;top:36px}.eyebrow{font-size:9px;padding:5px 8px;margin-bottom:14px}.section-head{margin:26px 0 14px}.section-head h3{font-size:14px}.actions-grid{gap:11px}.action-card{padding:17px 14px;display:block;border-radius:21px;position:relative;min-height:152px}.card-icon{width:39px;height:39px;border-radius:14px;margin-bottom:15px}.card-icon svg{width:20px;height:20px}.card-copy strong{font-size:14px}.card-copy small{font-size:10px}.action-card .arrow{position:absolute;right:13px;top:28px}.steps{gap:7px}.step{padding:12px 2px;gap:6px}.step-num{width:19px;height:19px;font-size:9px}.step strong{font-size:10px;margin-top:3px}.step small{font-size:9px}.warm-note{font-size:10px;padding:14px;margin-top:13px;gap:9px}.bottom-nav{gap:30px;padding-top:10px;padding-bottom:calc(10px + env(safe-area-inset-bottom))}.nav-item{padding:4px 21px;font-size:9px}.room-layout{display:flex;flex-direction:column;gap:0}.room-heading h2{font-size:17px}.back-row{gap:9px}.room-code{font-size:9px;padding:8px}.room-heading small{font-size:9px}.room-helper{padding-right:15px}.participant-row{gap:9px}.participant{padding:9px 10px;font-size:11px}.participant .avatar{width:28px;height:28px;font-size:10px}.panel{padding:20px}.room-side .panel{margin-top:14px}.chat{max-height:380px}.score-card{padding:23px}.score-person strong{font-size:38px}.reason-grid{grid-template-columns:1fr}.reason-grid .panel h3{font-size:14px}.result-header h2{font-size:22px}.room-body .section-head{margin-top:20px}.result-actions{gap:9px}.result-actions .btn{font-size:11px}.history-row{padding:17px}.history-row .card-copy strong{font-size:13px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.user-pill svg{width:14px;height:14px;color:#aa99bb}.compact-hero{min-height:210px;margin-top:22px;padding:28px}.compact-hero .hero-copy{max-width:60%}.compact-hero .mascot{height:205px;width:174px;right:20px}.compact-hero h2{font-size:24px}.main-functions{margin-top:20px}.primary-discussion{width:100%;display:flex;align-items:center;gap:15px;background:#eee6f6;border:1px solid #e2d7ed;border-radius:21px;padding:20px;text-align:left}.primary-discussion .card-icon{background:#e4d8f1;margin:0}.primary-discussion .card-copy strong{font-size:17px}.primary-discussion>svg{color:#a58dbb}.join-simple{margin:10px 0 17px;min-height:40px;font-size:12px}.home-footnote{font-size:10px;color:#a89aac;line-height:1.8;text-align:center;margin-top:22px}.card-icon.pink{background:#f9e7e9;color:#c49da6}.records-card{background:var(--white);border:1px solid var(--line);border-radius:22px;overflow:hidden;margin-top:24px}.records-table{border-collapse:collapse;width:100%;text-align:left;font-size:12px}.records-table th{background:#f2edf7;color:#a58ab9;font-weight:500;padding:15px 16px;font-size:11px}.records-table td{border-top:1px solid #eee8f0;padding:17px 16px;vertical-align:middle}.records-table th:first-child{width:64px}.records-table th:nth-child(3){width:90px}.records-table th:last-child{width:85px}.record-date{font-size:10px;color:#afa1b7;white-space:nowrap}.table-topic{background:none;text-align:left;line-height:1.7;padding:0;color:#71617f;font-size:12px;overflow-wrap:anywhere}.table-detail{display:block;font-size:9px;color:#b8a9bf;margin-top:5px}.table-score{display:block;font-size:11px;line-height:1.8;white-space:nowrap}.table-score.a{color:#a086be}.table-score.b{color:#8ba8bf}.notes-heading{display:flex;justify-content:space-between;align-items:center;gap:14px}.notes-heading .btn{white-space:nowrap;min-height:40px;padding:11px 16px}.note-filters{display:flex;gap:9px;margin:24px 0 18px}.note-filters button{font-size:11px;border-radius:20px;padding:8px 17px;background:#f1ede7;color:#aa9caf}.note-filters button.active{background:#eae1f5;color:#957bab}.notes-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.note-card{border:1px solid #ece1e4;border-radius:21px;padding:22px;background:#fff9f8;box-shadow:0 5px 20px #aa8b9605;animation:appear .3s ease}.note-card.resolved{background:#f5f8f2;border-color:#e2eadb}.note-top{display:flex;justify-content:space-between;color:#b59fa8;font-size:10px;margin-bottom:15px}.note-private{color:#b4a0bd}.note-card h3{font-size:15px;color:#8d768d;margin-bottom:10px;overflow-wrap:anywhere}.note-card p{font-size:12px;color:#a58d9b;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}.note-actions{display:flex;gap:12px;align-items:center;border-top:1px solid #eee1e5;padding-top:14px;margin-top:18px}.note-actions button{font-size:11px;color:#b49aaf;background:transparent;padding:3px}.note-actions .note-delete{margin-left:auto;color:#c4adb8}.note-delete svg{width:15px;height:15px}.note-card.resolved h3,.note-card.resolved p{color:#94a38c}.notes-grid>.empty{grid-column:1/-1}.doctor-bubble{display:flex;gap:10px;align-items:flex-start;background:#f4eef9;border:1px solid #e9ddf2;border-radius:18px;padding:15px 17px;animation:appear .4s ease}.doctor-bubble>img{width:35px;height:45px;object-fit:contain;flex-shrink:0}.doctor-bubble strong{display:block;font-size:10px;color:#a18ab5;margin-bottom:7px;font-weight:500}.doctor-bubble p{font-size:12px;color:#8b729e;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere}.doctor-thinking{display:flex;align-items:center;justify-content:center;gap:10px;font-size:11px;color:#b09bbd;background:#f7f0fa;border-radius:13px;padding:10px}.doctor-thinking .loader{margin:0}.doctor-thinking .loader span{width:5px;height:5px}.ask-doctor{display:inline-flex;align-items:center;gap:5px;background:#eee5f5;color:#9e82b5;padding:7px 10px;border-radius:10px;font-size:10px;margin-top:9px}.ask-doctor svg{width:12px;height:12px}.room-helper{min-height:132px}.room-helper img{height:105px;width:79px}.bubble-question{border-style:dashed}.version{margin-top:22px}.login-shell .brand strong{font-size:16px}
@media(max-width:650px){.compact-hero{min-height:210px;padding:24px 21px}.compact-hero h2{font-size:21px}.compact-hero .mascot{height:196px;width:151px;right:6px}.compact-hero .hero-copy{max-width:60%}.main-functions .action-card{min-height:127px}.main-functions .card-copy small{font-size:10px}.primary-discussion{padding:17px}.primary-discussion .card-copy strong{font-size:15px}.records-table th{padding:12px 9px;font-size:10px}.records-table td{padding:14px 9px}.records-table th:first-child{width:43px}.records-table th:nth-child(3){width:70px}.records-table th:last-child{width:65px}.records-table .status-tag{font-size:9px;padding:5px 7px}.table-topic{font-size:11px}.table-score{font-size:10px}.notes-grid{grid-template-columns:1fr}.notes-heading .page-title{font-size:25px}.notes-heading .btn{font-size:11px;padding:10px 13px}.note-card{padding:19px}.note-card p{font-size:12px}.brand strong{font-size:15px}.brand small{font-size:7px}.login-title{font-size:27px}}
.date-shortcuts{display:flex;align-items:center;gap:8px;margin:0 0 10px}.date-shortcuts button{background:#eee5f7;color:#a183b5;font-size:11px;border-radius:12px;padding:7px 14px}.date-shortcuts span{font-size:10px;color:#b2a2bd;margin-left:auto}#note-date{min-height:50px}

/* The conversation is a viewport with one scrolling message list. */
body.in-discussion{height:var(--screen-height,100dvh);min-height:0;overflow:hidden}
.in-discussion #app{height:100%}.shell.discussion-shell{height:var(--screen-height,100dvh);min-height:0;max-width:900px;padding:12px 22px 8px;display:flex;flex-direction:column}
.discussion-shell>main{flex:1;min-height:0;display:flex;flex-direction:column;animation:none}.room-view{display:flex;flex:1;flex-direction:column;min-height:0;gap:10px}
.room-view .back-row{flex-shrink:0;margin:0;min-height:40px;gap:10px}.room-view .room-heading h2{font-size:17px}.room-view .room-heading small{font-size:10px;margin-top:2px}.room-more{background:#eee6f5;border-radius:12px;min-width:38px;height:34px;letter-spacing:2px;color:#957bac}
.live-score{flex-shrink:0;padding:12px 17px 14px;background:linear-gradient(115deg,#f1e9f9,#f5f6fc);border:1px solid #e8def1;border-radius:21px;box-shadow:0 5px 20px #8e78a207}
.live-score-top{display:flex;justify-content:space-between;gap:12px;font-size:10px;color:#a291af}.live-score-names{display:flex;justify-content:space-between;align-items:center;margin:9px 0;color:#a188ba;gap:18px;font-size:12px}.live-score-names>span{display:flex;align-items:baseline;gap:8px}.live-score-names>span:last-child{color:#81a2bb}.live-score-names strong{font-size:29px;font-weight:650;font-variant-numeric:tabular-nums;line-height:1}.live-score-names small{font-size:11px}.live-score-track{height:7px;overflow:hidden;background:#c9dce8;border-radius:20px}.live-score-track>div{height:100%;background:#baa6d2;border-radius:20px;transition:width .55s cubic-bezier(.2,.8,.2,1)}
.room-view>.offline-bar{flex-shrink:0;margin:0;font-size:10px}.room-view>.offline-bar:empty{display:none}.room-view .conversation-scroller{flex:1;min-height:0;max-height:none;margin:0;overflow-y:auto;overscroll-behavior:contain;scroll-behavior:auto;gap:13px;padding:8px 3px 14px;overflow-anchor:none;-webkit-overflow-scrolling:touch}
.conversation-scroller>.bubble-wrap,.conversation-scroller>.doctor-bubble{animation:none;flex-shrink:0}.conversation-scroller .bubble-wrap .bubble{max-width:87%;font-size:13px;box-shadow:0 2px 8px #82639603}.conversation-scroller .bubble p{line-height:1.75}.conversation-scroller .bubble-meta{font-size:9px;gap:14px;justify-content:space-between}.conversation-scroller .doctor-bubble{padding:12px 14px;background:#f3edf8;border-color:#e9def2}.conversation-scroller .doctor-bubble p{font-size:13px;color:#826b94;line-height:1.8}.conversation-scroller .doctor-bubble>img{height:39px;width:30px}.conversation-scroller .message-new{animation:messageIn .3s cubic-bezier(.2,.8,.2,1) both}.chat-status{font-size:10px;color:#ad97b4;text-align:center;padding:6px 12px;flex-shrink:0}
.room-view .pinned-composer{margin:0;flex-shrink:0;background:#fffdf9;border-color:#e9dff0;box-shadow:0 -5px 24px #9a84af08;border-radius:21px;padding:11px 14px 8px}.pinned-composer textarea{height:52px;min-height:52px;max-height:100px;resize:none;padding:2px 1px;font-size:14px;line-height:1.65;overflow-y:auto}.pinned-composer .composer-footer{margin-top:7px;gap:10px}.composer-tools{display:flex;gap:8px;align-items:center}.pinned-composer .voice-button,.pinned-composer .ask-doctor{min-height:32px;display:inline-flex;align-items:center;gap:4px;border:0;padding:7px 9px;font-size:11px;margin:0}.pinned-composer .voice-button svg,.pinned-composer .ask-doctor svg{width:15px;height:15px}.pinned-composer .counter{font-size:9px;color:#baafc0}.pinned-composer .send-button{min-height:35px;border-radius:13px;padding:8px 13px;font-size:12px}.doctor-inline-state{height:15px;font-size:9px;line-height:15px;color:#b09abe;margin-top:3px;animation:softPulse 2s ease-in-out infinite}.doctor-inline-state:empty{animation:none}
.room-option-list{display:flex;flex-direction:column;gap:11px;margin-top:22px}.delete-record{display:block;background:transparent;color:#b59aa8;font-size:10px;padding:5px 2px;margin-top:5px}
.home-companion{position:relative;display:flex;align-items:center;justify-content:space-between;min-height:118px;margin:24px 0 20px;padding:8px 20px 8px 23px;background:linear-gradient(110deg,#f4edf8,#fcf5ef);border:1px solid #eee4ef;border-radius:26px;overflow:hidden}.home-companion h2{font-size:21px;margin-top:10px;color:#8c779f}.home-companion .tiny{color:#b29bbd;font-size:10px}.home-companion img{height:119px;width:94px;object-fit:contain;cursor:pointer;animation:companionFloat 5s ease-in-out infinite}.companion-spark{position:absolute;right:116px;top:21px;color:#d5be82;font-size:19px;animation:starGlow 3.5s ease-in-out infinite}.home-companion+.main-functions{margin-top:0}.primary-discussion{transition:transform .22s ease,box-shadow .3s ease,background .3s ease}.primary-discussion:hover{box-shadow:0 8px 27px #a28ac420}.actions-grid>.action-card{animation:tileEnter .45s ease both}.actions-grid>.action-card:nth-child(2){animation-delay:.07s}.action-card{transition:transform .25s ease,box-shadow .25s ease}.action-card:hover{transform:translateY(-3px);box-shadow:0 8px 24px #9980b210}.action-card:active,.primary-discussion:active{transform:scale(.98)}
@keyframes messageIn{from{opacity:0;transform:translateY(9px) scale(.985)}to{opacity:1;transform:none}}
@keyframes companionFloat{0%,100%{transform:translateY(2px) rotate(-2deg)}50%{transform:translateY(-5px) rotate(2deg)}}
@keyframes starGlow{0%,100%{opacity:.4;transform:scale(.8) rotate(-12deg)}50%{opacity:1;transform:scale(1.12) rotate(12deg)}}
@keyframes tileEnter{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes softPulse{0%,100%{opacity:.65}50%{opacity:1}}
@media(max-width:650px){.shell.discussion-shell{padding:8px 12px max(7px,env(safe-area-inset-bottom))}.room-view{gap:8px}.room-view .back-row{min-height:35px}.room-view .room-heading h2{font-size:15px}.room-view .room-heading small{font-size:9px}.live-score{padding:10px 14px 12px;border-radius:19px}.live-score-names strong{font-size:27px}.home-companion{min-height:110px;margin-top:19px;padding-left:19px}.home-companion h2{font-size:20px}.home-companion img{height:109px;width:86px}.pinned-composer .counter{display:none}}
@media(max-height:530px){.discussion-shell .room-heading small{display:none}.discussion-shell .live-score{padding:6px 12px 8px}.discussion-shell .live-score-top{font-size:9px}.discussion-shell .live-score-names{margin:4px 0}.discussion-shell .live-score-names strong{font-size:22px}.discussion-shell .room-view{gap:5px}.discussion-shell .pinned-composer textarea{min-height:38px;max-height:60px}.discussion-shell .doctor-inline-state{display:none}}
@media(prefers-reduced-motion:reduce){.home-companion img,.companion-spark,.actions-grid>.action-card,.conversation-scroller .message-new,.doctor-inline-state{animation:none!important}.live-score-track>div{transition:none!important}}

.in-discussion .ambient{display:none}button{touch-action:manipulation}.conversation-scroller{touch-action:pan-y}.home-companion img.tapped{animation:wiggle .65s ease}
