
:root{--ink:#20263d;--muted:#788196;--line:#e8ebf2;--bg:#f5f6fa;--accent:#6258e8;--accent-dark:#5046cd;--pale:#f0eefe;--green:#259e7c;--radius:16px;--font:"Pretendard","Noto Sans KR","Apple SD Gothic Neo","Malgun Gothic",sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font);font-size:14px;letter-spacing:-.035em}button,input,textarea,select{font:inherit;letter-spacing:inherit}button{cursor:pointer;border:0;background:none;color:inherit}button,input,textarea,select{outline:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #a9a1ff;outline-offset:3px}button:disabled{cursor:not-allowed;opacity:.4}button{transition:background .15s,color .15s,box-shadow .15s,transform .15s}button:hover{background-color:#f1f2f8}button:active{transform:translateY(1px)}button.primary:hover{background:var(--accent-dark)}a{color:inherit}svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}h1,h2,h3,p{margin:0}button svg{pointer-events:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}.icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.icon-button{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:9px;color:#778096}.icon-button.is-active{background:var(--pale);color:var(--accent)}.primary{background:var(--accent);color:#fff;font-weight:700;display:inline-flex;justify-content:center;align-items:center;gap:8px;border-radius:10px;padding:12px 17px;font-size:13px}.soft-button{padding:8px 12px;border:1px solid var(--line);background:#fff;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:6px;font-size:12px;font-weight:600}.text-button{color:var(--accent);font-size:12px;font-weight:700;padding:6px 8px;border-radius:6px;display:inline-flex;align-items:center;gap:5px}.text-button svg{width:15px;height:15px}.avatar{width:40px;height:40px;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;font-size:14px;font-weight:700;flex-shrink:0;background:#eceafa;color:#7a6ec3}.avatar.mint{background:#e5f2ee;color:#4b8c77}.avatar.blue{background:#e8edf9;color:#6d82b1}.avatar.peach{background:#f9ece5;color:#b98770}.avatar.me{background:#eceafb;color:#7666d7}.avatar.small{width:31px;height:31px;border-radius:11px;font-size:11px}.avatar.large{width:56px;height:56px;border-radius:19px;font-size:20px}.badge{display:inline-flex;align-items:center;gap:4px;border-radius:5px;font-size:10px;font-weight:600;padding:3px 6px;white-space:nowrap;letter-spacing:-.02em}.badge.agent{background:#f0eff9;color:#8076ad}.badge.expert{background:#eaf5f0;color:#42836c}.badge.category{background:#f0f2f7;color:#747d91;font-size:10px}.dot{width:6px;height:6px;background:var(--green);border-radius:50%;display:inline-block}.muted{color:var(--muted)}.flex{display:flex;align-items:center}.sep{width:1px;height:19px;background:var(--line);margin:0 24px}.topbar{height:72px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 36px;gap:0}.brand{display:inline-flex;align-items:center;gap:6px;text-decoration:none;color:#272746;font-size:29px;font-weight:800;letter-spacing:-1.8px}.brand svg{width:27px;height:30px;fill:var(--accent);stroke:var(--accent);stroke-width:1.5;transform:rotate(-8deg);margin:0 1px 0 4px}.topnav{display:flex;align-items:center;gap:24px;height:100%}.topnav button{font-size:13px;font-weight:600;height:100%;padding:0 3px;position:relative;color:#9298a8}.topnav button.active{color:var(--ink)}.topnav button.active:after{content:"";height:3px;background:var(--accent);position:absolute;bottom:0;left:2px;right:2px;border-radius:3px 3px 0 0}.top-end{margin-left:auto;display:flex;align-items:center;gap:14px}.demo-pill{background:#f4f3fa;color:#8a83a0;display:flex;align-items:center;gap:5px;border-radius:6px;padding:6px 9px;font-size:11px}.demo-pill svg{width:13px;height:13px}.account{display:flex;align-items:center;gap:10px;border-left:1px solid var(--line);padding-left:17px}.role-select{font-size:12px;border:0;color:#697085;background:transparent;max-width:130px;padding:5px;cursor:pointer}.workspace{padding:26px 32px 24px;max-width:1700px;margin:0 auto}.intro{display:flex;align-items:center;justify-content:space-between;margin-bottom:21px}.intro h1{font-size:25px;letter-spacing:-1.1px;font-weight:750;line-height:1.3}.intro p{color:#768095;font-size:12px;margin-top:7px}.intro-note{color:#9197a7;display:flex;align-items:center;gap:7px;font-size:11px}.intro-note svg{width:15px;height:15px}.app{height:calc(100dvh - 203px);min-height:595px;max-height:1000px;display:grid;grid-template-columns:270px minmax(0,1fr) 262px;background:#fff;border:1px solid #e5e8f0;border-radius:var(--radius);overflow:hidden;box-shadow:0 4px 24px #20263d03}.sidebar{background:#fafbfe;border-right:1px solid var(--line);display:flex;flex-direction:column;min-width:0;min-height:0}.sidebar-head{padding:23px 19px 17px}.sidebar-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.sidebar-title h2{font-size:15px;font-weight:750}.total-unread{font-size:10px;background:var(--pale);color:var(--accent);border-radius:5px;padding:2px 6px;margin-left:7px;vertical-align:2px}.new-chat{padding:6px 9px;border:1px solid #e7e4f7;background:#fff;color:var(--accent);border-radius:7px;display:flex;align-items:center;gap:4px;font-size:11px;font-weight:700}.new-chat svg{width:14px;height:14px}.searchbox{display:flex;align-items:center;gap:8px;border:1px solid #e7eaf1;border-radius:9px;padding:10px 11px;background:#fff;color:#8b94a4}.searchbox svg{width:16px;height:16px}.searchbox input{border:0;min-width:0;flex:1;font-size:11px;background:transparent;color:var(--ink);width:100%}.searchbox input::placeholder{color:#828a9c}.list-filters{display:flex;gap:6px;margin-top:14px}.list-filters button{font-size:11px;color:#9097a8;border-radius:6px;padding:6px 10px;font-weight:600}.list-filters button.active{background:#eae7fb;color:#7466d8}.sidebar-list{overflow:auto;flex:1;padding:0 11px 12px}.list-label{display:flex;align-items:center;justify-content:space-between;margin:8px 10px 10px;color:#9bA1af;font-size:10px;font-weight:600}.list-label span:last-child{font-size:9px;font-weight:400}.conversation{width:100%;display:flex;text-align:left;gap:10px;position:relative;border-radius:11px;padding:13px 11px;align-items:flex-start;margin-bottom:5px;border:1px solid transparent}.conversation:hover{background:#f0f1f8}.conversation.active{border-color:#dfdaf9;background:#f0eefe;box-shadow:0 2px 4px #6258e805}.conversation.public{margin-bottom:23px;padding-top:14px;padding-bottom:14px}.public-avatar{background:#e2ddfb;color:#7a6ae0;border-radius:12px;width:38px;height:38px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.public-avatar svg{width:21px;height:21px}.conversation-main{flex:1;min-width:0}.conversation-title{display:flex;align-items:center;justify-content:space-between;gap:5px;line-height:18px;margin-bottom:3px}.conversation-title strong{font-size:12px;font-weight:700}.conversation-title time{font-size:9px;color:#81889a;white-space:nowrap;letter-spacing:0}.conversation p{font-size:10px;color:#7f879b;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;line-height:1.7}.conversation.active p{color:#8b7bac}.conversation-foot{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-top:4px}.tiny-tags{font-size:9px;color:#7d8698;display:flex;gap:5px}.tiny-tags span+span:before{content:"·";margin-right:5px}.unread{background:var(--accent);color:#fff;border-radius:6px;font-size:9px;min-width:17px;height:17px;display:inline-flex;align-items:center;justify-content:center;padding:0 4px}.saved-marker{color:var(--accent);width:11px;height:11px;fill:#f0edff}.sidebar-footer{border-top:1px solid var(--line);padding:14px 20px;display:flex;align-items:center;gap:8px;color:#7a8395;font-size:10px}.sidebar-footer svg{width:13px;height:13px;color:#929bad}.list-empty{text-align:center;padding:32px 13px;color:#989eae;font-size:12px;line-height:1.8}.chat{display:flex;flex-direction:column;min-width:0;min-height:0;background:#fff;position:relative}.chat-header{height:83px;flex-shrink:0;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:16px 23px;gap:12px}.chat-title-row{display:flex;align-items:center;gap:9px}.chat-title-row h2{font-size:17px;font-weight:750;letter-spacing:-.5px}.mode-badge{background:#edf7f2;color:#499e7d;font-size:9px;display:inline-flex;align-items:center;gap:4px;padding:4px 6px;border-radius:5px;white-space:nowrap}.mode-badge.private{color:#8377bd;background:#f0edfa}.mode-badge svg{width:11px;height:11px}.chat-subtitle{font-size:10px;color:#7c8598;margin-top:6px;line-height:1.6}.header-buttons{display:flex;gap:2px;flex-shrink:0}.header-buttons svg{width:18px;height:18px}.chat-name{min-width:0}.back-button{display:none}.chat-search{padding:11px 22px;background:#fafaff;border-bottom:1px solid var(--line);display:flex;gap:8px;align-items:center}.chat-search .searchbox{flex:1}.visibility-note{display:flex;align-items:flex-start;gap:7px;padding:10px 23px;background:#fbfbfd;color:#778195;font-size:10px;line-height:1.7;border-bottom:1px solid #f0f1f5}.visibility-note svg{width:13px;height:13px;margin-top:2px;color:#828798}.category-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:13px 22px 11px;flex-shrink:0}.categories{display:flex;gap:5px;overflow:auto;scrollbar-width:none}.categories button{white-space:nowrap;border:1px solid #eceef4;border-radius:7px;padding:7px 10px;color:#9197a7;font-size:10px;line-height:1;font-weight:600}.categories button.active{background:#efedfc;border-color:#efedfc;color:#8172d8}.mine-toggle{display:flex;align-items:center;gap:4px;font-size:10px;color:#9096a5;white-space:nowrap;cursor:pointer}.mine-toggle input{width:12px;height:12px;accent-color:var(--accent);margin:0 1px 0 0}.chat-scroll{min-height:0;flex:1;overflow:auto;padding:0 24px 20px;scroll-behavior:smooth;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#e0e2eb transparent}.day-divider{display:flex;align-items:center;gap:13px;font-size:9px;color:#838b9d;text-align:center;margin:8px 0 19px;letter-spacing:0}.day-divider:before,.day-divider:after{content:"";height:1px;background:#eff1f6;flex:1}.question{margin-bottom:23px}.message-author{display:flex;align-items:center;gap:8px;margin-bottom:9px}.message-author strong{font-size:11px;font-weight:700}.message-author time{font-size:9px;color:#8990a1;letter-spacing:0;margin-left:auto}.question-body{padding-left:39px}.question-text{font-size:12px;color:#5b6174;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}.question-text strong{color:#494f64;font-weight:600}.q-category{display:inline-flex;margin-bottom:8px;font-size:9px;color:#9a8dbe;background:#f5f2fa;border-radius:4px;padding:3px 6px}.q-actions{display:flex;gap:10px;align-items:center;margin-top:9px}.q-action{font-size:10px;color:#979daf;display:inline-flex;align-items:center;gap:4px;padding:3px 0}.q-action svg{width:13px;height:13px}.q-action.has-replies{color:#8e7cc8}.answer{border:1px solid #ebeaf2;background:#fdfdff;border-radius:10px;padding:13px 14px;margin-top:11px}.answer .message-author{gap:6px;margin-bottom:7px}.answer .message-author time{margin-left:auto}.answer .question-text{font-size:11px;line-height:1.8;color:#6b7389}.answer-bottom{display:flex;align-items:center;justify-content:flex-end;margin-top:8px}.answer-bottom .text-button{font-size:10px;padding:4px 0}.answer .avatar{width:26px;height:26px;font-size:9px;border-radius:9px}.message-files{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.file-card{display:flex;align-items:center;gap:7px;border:1px solid #e5e7ef;background:#fff;padding:8px 10px;border-radius:8px;max-width:100%;font-size:10px;text-align:left}.file-card span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:210px}.file-card svg{color:#8f80d3;width:17px;height:17px}.file-card small{font-size:9px;color:#7e8798;display:block;margin-top:2px}.composer-area{padding:0 21px 13px;flex-shrink:0;background:#fff}.reply-context{display:flex;align-items:center;justify-content:space-between;font-size:11px;background:#f5f3ff;color:#8174b3;padding:7px 10px;border-radius:8px 8px 0 0;border-left:3px solid #9786db}.reply-context span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.composer{border:1px solid #dedbed;box-shadow:0 0 0 3px #f8f7fd;border-radius:12px;transition:border-color .15s}.composer:focus-within{border-color:#afa2e9}.composer textarea{display:block;width:100%;resize:none;border:0;background:transparent;padding:14px 14px 7px;min-height:61px;max-height:120px;font-size:11px;line-height:1.7;color:#62677a;outline:none;box-shadow:none}.composer textarea::placeholder{color:#818a9c}.composer-tools{display:flex;align-items:center;justify-content:space-between;padding:2px 10px 9px;gap:6px}.compose-left{display:flex;align-items:center;gap:7px;color:#7b8396}.compose-left .icon-button{width:26px;height:26px}.compose-left svg{width:17px;height:17px}.category-select{border:0;background:#f5f4fa;color:#9589b6;border-radius:5px;font-size:10px;padding:6px 7px;max-width:105px;cursor:pointer}.send-button{padding:8px 11px;border-radius:8px;font-size:11px;display:flex;align-items:center;gap:5px}.send-button svg{width:13px;height:13px}.compose-meta{display:flex;align-items:center;justify-content:space-between;margin-top:9px;font-size:9px;color:#7c8598}.compose-meta span{display:flex;align-items:center;gap:4px}.compose-meta svg{width:10px;height:10px}.pending-files{display:flex;gap:6px;flex-wrap:wrap;padding:0 12px 8px}.pending-file{background:#f2f0fb;padding:5px 6px 5px 8px;border-radius:5px;font-size:10px;color:#8c7cac;display:flex;align-items:center;gap:5px;max-width:100%}.pending-file span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:220px}.pending-file button{display:flex;padding:0;border-radius:4px}.pending-file svg{width:12px;height:12px}.right-panel{background:#fff;border-left:1px solid var(--line);padding:24px 21px 18px;overflow:auto;scrollbar-width:thin}.right-panel h3{font-size:12px;font-weight:700}.panel-heading{display:flex;align-items:center;justify-content:space-between}.panel-heading>span{font-size:9px;color:#858b9c}.profile{text-align:center;margin-top:21px}.profile .avatar{margin-bottom:12px}.profile h3{font-size:14px;margin-bottom:5px}.profile h3 small{font-size:10px;font-weight:400;color:#989daf;margin-left:5px}.profile>p{font-size:10px;color:#7c8597;line-height:1.8}.expert-tags{display:flex;justify-content:center;gap:4px;flex-wrap:wrap;margin:12px 0 15px}.expert-tags span{background:#f5f6f9;color:#9199a9;padding:5px 7px;border-radius:5px;font-size:9px}.profile .primary{font-size:11px;width:100%;padding:10px 8px;gap:6px}.profile .primary svg{width:15px;height:15px}.other-experts{margin:22px 0;border-top:1px solid var(--line);padding-top:18px}.mini-label{color:#a2a7b5;font-size:10px;margin-bottom:9px}.mini-expert{display:flex;gap:9px;align-items:center;width:100%;text-align:left;padding:9px 3px;border-radius:8px}.mini-expert>div{flex:1}.mini-expert strong{display:block;font-size:11px;font-weight:650}.mini-expert p{font-size:9px;color:#7e8798;margin-top:4px}.mini-expert>svg{width:13px;height:13px;color:#858b9c}.directory-link{width:100%;text-align:center;font-size:10px;color:#9792b3;padding:8px;border:1px solid #efedf7;border-radius:7px;margin-top:8px}.tip-card{background:#f8f8fc;border:1px solid #f0f0f7;border-radius:10px;padding:14px 12px}.tip-heading{display:flex;align-items:center;gap:6px;font-size:11px;font-weight:600;color:#89859e}.tip-heading svg{width:15px;height:15px;color:#9d94be}.tip-card p{font-size:10px;color:#7b8296;line-height:1.9;margin-top:8px}.tip-card button{margin-top:9px;padding:0;color:#9481c1;font-size:10px;text-align:left}.privacy-tip{display:flex;gap:6px;margin-top:16px;font-size:9px;line-height:1.8;color:#7b8395}.privacy-tip svg{width:12px;height:12px;margin-top:3px}.private-scroll{padding-top:10px;background:#fcfcfe}.dm-row{display:flex;gap:8px;margin:0 0 20px;align-items:flex-start}.dm-row.mine{justify-content:flex-end}.dm-content{max-width:82%}.dm-author{font-size:10px;color:#82899b;margin:2px 0 7px;display:flex;align-items:center;gap:6px}.dm-bubble{background:#fff;border:1px solid #e9ebf2;border-radius:0 12px 12px 12px;padding:11px 13px;font-size:12px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;color:#6b7184}.dm-row.mine .dm-bubble{background:#eeeafd;border-color:#eeeafd;border-radius:12px 0 12px 12px;color:#7d6ea6}.dm-time{font-size:9px;color:#7e8799;margin-top:5px;letter-spacing:0}.dm-row.mine .dm-time{text-align:right}.dm-start{text-align:center;padding:16px 10px 24px;color:#9c9eae;font-size:11px;line-height:1.9}.empty-chat{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:220px;gap:10px;color:#9b9eaf;text-align:center}.empty-chat>.icon{width:46px;height:46px;background:#f5f3ff;border-radius:16px;color:#afa1db}.empty-chat strong{font-size:13px;color:#878a9d}.empty-chat p{font-size:11px;line-height:1.8}.empty-chat button{margin-top:5px}.private-details{margin:20px 0;border-top:1px solid var(--line);padding-top:18px}.detail-row{display:flex;justify-content:space-between;margin:11px 0;font-size:10px;color:#7e8599}.detail-row strong{font-weight:500;color:#7e8498}.panel-files{display:flex;flex-direction:column;gap:7px;margin-top:10px}.panel-files .file-card span{max-width:135px}.panel-close{display:none}.sheet-backdrop{display:none}.toast{position:fixed;bottom:27px;left:50%;transform:translateX(-50%);max-width:calc(100vw - 32px);background:#36354c;color:#fff;box-shadow:0 8px 24px #29283826;padding:12px 17px;border-radius:10px;font-size:12px;z-index:100;line-height:1.7;pointer-events:none;opacity:0;transition:opacity .2s}.toast.visible{opacity:1}dialog{padding:0;border:1px solid #ecebf5;border-radius:18px;box-shadow:0 24px 100px #24244226;max-width:calc(100vw - 32px);width:540px;color:var(--ink);font-family:var(--font)}dialog::backdrop{background:#25243e55;backdrop-filter:blur(3px)}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:23px 25px 10px;gap:10px}.modal-header h2{font-size:19px;letter-spacing:-.7px}.modal-body{padding:7px 25px 25px;max-height:75dvh;overflow:auto}.modal-description{font-size:12px;color:#969bad;line-height:1.9;margin-bottom:18px}.new-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.new-option{border:1px solid var(--line);border-radius:12px;text-align:left;padding:20px 17px}.new-option:hover{background:#f6f3ff;border-color:#ddd5f8}.new-option>.icon{width:40px;height:40px;background:var(--pale);color:var(--accent);border-radius:12px;margin-bottom:15px}.new-option strong{display:block;font-size:14px;margin-bottom:7px}.new-option p{font-size:11px;line-height:1.9;color:#768196}.expert-card{display:flex;align-items:center;gap:12px;padding:16px 0;border-bottom:1px solid var(--line)}.expert-card .expert-copy{flex:1;min-width:0}.expert-card strong{font-size:13px}.expert-card p{font-size:11px;color:#969aac;line-height:1.7;margin-top:5px}.expert-card .primary{font-size:11px;padding:9px 10px}.help-block{border-radius:10px;background:#f7f6fc;padding:14px 16px;margin-top:10px}.help-block h3{font-size:12px;margin-bottom:7px}.help-block p{font-size:12px;color:#8d91a4;line-height:1.9}.help-actions{display:flex;align-items:center;justify-content:space-between;margin-top:20px;gap:10px;flex-wrap:wrap}.help-actions button{font-size:11px}.file-preview{max-height:50vh;max-width:100%;display:block;margin:auto;border-radius:8px}.file-preview-frame{width:100%;height:50vh;border:1px solid var(--line);border-radius:8px}.download-link{display:inline-flex;margin-top:15px;text-decoration:none}.notice-copy{font-size:12px;color:#8d91a4;line-height:1.9}.confirm-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:20px}.counter{font-size:9px;color:#aaaebc}.char-warning{color:#bc6666}.detail-section-title{font-size:11px;font-weight:600;color:#858a9e;margin-top:17px}
@media(min-width:1600px){.app{grid-template-columns:290px minmax(0,1fr) 285px}.chat-header{padding-left:30px;padding-right:30px}.chat-scroll{padding-left:32px;padding-right:32px}.right-panel{padding-left:26px;padding-right:26px}.question-text{font-size:13px}.answer .question-text{font-size:12px}.composer textarea{font-size:12px}.sidebar-head{padding-left:23px;padding-right:23px}.conversation-title strong{font-size:13px}.conversation p{font-size:11px}.conversation{padding:15px 13px}.chat-title-row h2{font-size:18px}.visibility-note{font-size:11px}}
@media(max-width:1260px){.app{grid-template-columns:250px minmax(0,1fr)}.workspace{padding:23px 25px}.topbar{padding:0 28px}.right-panel{display:none}.app.details-open .right-panel{display:block;position:fixed;right:0;top:0;bottom:0;width:290px;z-index:51;box-shadow:-10px 0 60px #29284220;padding-top:23px}.app.details-open .sheet-backdrop{display:block;position:fixed;inset:0;background:#29263e44;z-index:50}.panel-close{display:flex;position:absolute;right:13px;top:13px}.app.details-open .panel-heading{padding-right:26px}.intro-note{font-size:10px}}
@media(min-width:1261px){.app.details-hidden{grid-template-columns:270px minmax(0,1fr)}.app.details-hidden .right-panel{display:none}}
@media(max-width:860px){.workspace{padding:20px 16px}.topbar{padding:0 20px;gap:0}.topnav{gap:16px}.sep{margin:0 20px}.intro-note{display:none}.demo-pill{font-size:10px}.top-end{gap:8px}.account{padding-left:10px;gap:5px}.app{grid-template-columns:226px minmax(0,1fr)}.sidebar-head{padding-left:15px;padding-right:15px}.conversation{padding-left:8px;padding-right:8px;gap:8px}.conversation .avatar{width:34px;height:34px;border-radius:11px;font-size:11px}.conversation-title strong{font-size:11px}.chat-header{padding:14px 17px}.chat-scroll{padding-left:16px;padding-right:16px}.visibility-note{padding-left:17px;padding-right:17px}.category-bar{padding:12px 15px;align-items:flex-start;flex-wrap:wrap}.categories{gap:4px}.categories button{padding:7px 8px}.mine-toggle{margin:4px 0}.composer-area{padding-left:16px;padding-right:16px}.question-body{padding-left:0}.question-text{font-size:12px}.answer{margin-left:0}.role-select{max-width:108px;font-size:11px}.topnav button{font-size:12px}.chat-title-row{gap:6px}.header-buttons .icon-button{width:29px}.chat-title-row h2{font-size:16px}}
@media(max-width:640px){body{background:#fff}.topbar{height:61px;padding:0 17px}.brand{font-size:26px}.brand svg{width:23px;height:26px}.sep,.topnav,.account .avatar,.top-end>.icon-button{display:none}.top-end{gap:6px}.demo-pill{font-size:9px;padding:5px 7px}.demo-pill svg{width:12px;height:12px}.account{border:0;padding:0}.role-select{font-size:10px;padding:4px 1px;max-width:103px}.workspace{padding:18px 0 0}.intro{margin:0 20px 17px}.intro h1{font-size:22px}.intro p{font-size:11px;margin-top:6px}.app{height:calc(100dvh - 148px);min-height:440px;border-radius:0;border:0;border-top:1px solid var(--line);grid-template-columns:1fr;max-height:none;box-shadow:none}.sidebar{border:0;background:#fafbfe}.sidebar-head{padding:20px 20px 16px}.sidebar-title h2{font-size:16px}.sidebar-title{margin-bottom:17px}.new-chat{font-size:12px;padding:8px 10px}.searchbox{padding:12px}.searchbox input{font-size:12px}.list-filters{gap:7px;margin-top:13px}.list-filters button{font-size:12px;padding:7px 12px}.sidebar-list{padding:0 13px}.list-label{font-size:11px;margin-top:9px;margin-bottom:11px}.list-label span:last-child{font-size:10px}.conversation{padding:16px 13px;margin-bottom:8px;gap:12px}.conversation.public{margin-bottom:24px}.conversation .avatar,.public-avatar{width:44px;height:44px;border-radius:14px;font-size:15px}.conversation-title strong{font-size:13px}.conversation-title time{font-size:10px}.conversation p{font-size:12px;margin-top:3px}.tiny-tags{font-size:10px}.conversation-foot{margin-top:7px}.sidebar-footer{font-size:11px;padding:14px 22px}.chat{display:none}.app.chat-open .sidebar{display:none}.app.chat-open .chat{display:flex}.back-button{display:inline-flex;width:28px;margin-left:-6px;margin-right:4px}.chat-header{height:74px;padding:12px 15px;gap:5px}.chat-header-left{display:flex;align-items:center;min-width:0}.chat-title-row h2{font-size:16px}.chat-subtitle{font-size:9px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:230px}.header-buttons{gap:0}.header-buttons .icon-button{width:28px}.header-buttons svg{width:17px;height:17px}.mode-badge{font-size:8px;padding:3px 5px}.visibility-note{padding:9px 15px;font-size:9px}.category-bar{padding:11px 15px 9px;flex-wrap:nowrap;gap:5px}.categories{gap:4px}.categories button{font-size:9px;padding:7px 8px}.mine-toggle{font-size:9px}.chat-scroll{padding:0 17px 16px}.question-text{font-size:12px;line-height:1.9}.message-author strong{font-size:11px}.question-body{padding-left:0}.answer .question-text{font-size:11px}.question{margin-bottom:23px}.composer-area{padding:0 13px max(12px,env(safe-area-inset-bottom))}.composer textarea{font-size:12px;min-height:58px;padding-top:12px}.compose-meta{font-size:8px}.composer-tools{padding-bottom:8px}.send-button{font-size:11px;padding:8px 11px}.dm-content{max-width:82%}.dm-bubble{font-size:12px}.private-scroll{padding-top:9px}.intro.hide-mobile{display:none}.workspace.in-chat{padding-top:0}.workspace.in-chat .app{height:calc(100dvh - 61px);min-height:420px}.modal-header{padding:20px 20px 9px}.modal-body{padding:7px 20px 22px}.modal-header h2{font-size:18px}.new-options{gap:9px}.new-option{padding:17px 13px}.expert-card{gap:9px}.expert-card .avatar{width:35px;height:35px;font-size:12px}.expert-card strong{font-size:12px}.expert-card p{font-size:10px}.expert-card .primary{font-size:10px;padding:8px}.toast{bottom:20px;width:max-content;font-size:11px;max-width:calc(100vw - 28px)}.chat-search{padding:10px 15px}.chat-search .searchbox{padding:9px 10px}.app.details-open .right-panel{width:min(310px,88vw)}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Comfortable reading sizes for a conversation-first interface. */
.sidebar-title h2{font-size:16px}.conversation-title strong{font-size:13px}.conversation p{font-size:12px}.conversation-title time{font-size:10px}.tiny-tags{font-size:10px}.searchbox input{font-size:12px}.list-label{font-size:11px}.list-label span:last-child{font-size:10px}.list-filters button{font-size:12px}.new-chat{font-size:12px}.sidebar-footer{font-size:11px}.chat-title-row h2{font-size:18px}.chat-subtitle{font-size:12px}.visibility-note{font-size:11px}.categories button{font-size:11px}.mine-toggle{font-size:11px}.message-author strong{font-size:13px}.message-author time{font-size:10px}.question-text{font-size:14px;line-height:1.85}.q-category{font-size:10px}.badge{font-size:10px}.q-action{font-size:11px}.answer .question-text{font-size:13px}.answer-bottom .text-button{font-size:11px}.composer textarea{font-size:13px}.compose-meta{font-size:10px}.send-button{font-size:12px}.category-select{font-size:11px}.right-panel h3{font-size:13px}.panel-heading>span{font-size:10px}.profile h3{font-size:15px}.profile>p{font-size:11px}.expert-tags span{font-size:10px}.profile .primary{font-size:12px}.mini-label{font-size:11px}.mini-expert strong{font-size:12px}.mini-expert p{font-size:10px}.directory-link{font-size:11px}.tip-heading{font-size:12px}.tip-card p{font-size:11px}.tip-card button{font-size:11px}.privacy-tip{font-size:10px}.dm-bubble{font-size:14px}.dm-author{font-size:12px}.dm-time{font-size:10px}.question-body{padding-left:39px}.answer{padding:14px}.question{margin-bottom:27px}.chat-header{height:86px}.mode-badge{font-size:10px}.day-divider{font-size:10px}
@media(max-width:860px){.question-body{padding-left:0}.conversation p{font-size:11px}.chat-subtitle{font-size:11px}.category-bar{flex-wrap:wrap}.chat-header{padding-left:15px;padding-right:15px}.tip-card p{font-size:11px}}
@media(max-width:640px){.chat-header{height:76px}.chat-subtitle{font-size:10px;max-width:220px}.chat-title-row h2{font-size:16px}.mode-badge{font-size:9px}.visibility-note{font-size:10px}.category-bar{flex-wrap:nowrap}.categories button{font-size:10px;padding:7px}.mine-toggle{font-size:10px}.question-text,.dm-bubble{font-size:14px}.answer .question-text{font-size:13px}.message-author strong{font-size:12px}.q-action{font-size:11px}.compose-meta{font-size:9px}.composer textarea{font-size:13px}.conversation p{font-size:12px}.profile>p{font-size:12px}}

/* Live service adapter: existing permissions, invitations and messages remain server-owned. */
.brand img{width:176px;height:auto;display:block}.brand{letter-spacing:normal}.topnav a{height:100%;display:flex;align-items:center;text-decoration:none;padding:0 3px;color:#8b92a3;font-size:13px;font-weight:600;position:relative}.topnav a.active{color:var(--ink)}.topnav a.active:after{content:"";position:absolute;bottom:0;left:0;right:0;height:3px;background:var(--accent)}.account a,.account>button{font-size:12px;text-decoration:none;padding:7px;border-radius:6px;white-space:nowrap}.account-role{font-size:10px;color:var(--muted)}.consultation-user{font-size:12px;font-weight:700;white-space:nowrap}.connection-status{display:flex;gap:5px;align-items:center;font-size:10px;color:var(--muted)}.skip-chat{position:fixed;top:-80px;left:20px;z-index:100;background:#fff;padding:12px}.skip-chat:focus{top:10px}.intro p{max-width:850px}.consultation-notice{padding:12px 16px;border-radius:10px;background:#eaf5f0;color:#26775e;margin-bottom:15px;font-size:12px;line-height:1.7}.consultation-notice.error{background:#fff0f0;color:#b34350}.app{height:calc(100dvh - 195px);min-height:610px}.conversation-room{display:flex;flex-direction:column;flex:1;min-height:0;min-width:0;overflow:hidden}.chat-header-left{display:flex;align-items:center;min-width:0}.chat-title-row h2{overflow-wrap:anywhere}.chat-subtitle{overflow:hidden;text-overflow:ellipsis}.sidebar-footer{gap:6px}.sidebar-footer button{margin-left:auto;font-size:19px;border-radius:5px}.conversation.question-target{margin-top:5px}.conversation.question-target .status-chip{font-size:9px}.private-item{border:1px solid transparent;border-radius:11px;margin-bottom:5px}.private-item.active{background:var(--pale);border-color:#dfdaf9}.private-item .conversation{margin:0}.consultation-card-actions{display:flex;gap:7px;padding:0 12px 12px;justify-content:flex-end}.consultation-card-actions button{font-size:11px;padding:7px 10px;border:1px solid var(--line);border-radius:7px;background:#fff}.consultation-card-actions .primary{background:var(--accent);color:white}.status-chip{font-size:9px;padding:3px 5px;border-radius:5px;white-space:nowrap;background:#f0f2f7;color:#7c8596}.status-chip.accepted,.status-chip.open{background:#e9f6ef;color:#358468}.status-chip.pending,.status-chip.invited{background:#fff2da;color:#a07627}.status-chip.closed{background:#eceef3;color:#828b9f}.room-utilities{display:flex;flex-wrap:wrap;gap:6px;padding:0 22px 10px}.room-utilities:empty{display:none}.room-utilities .soft-button,.room-utilities .text-button{font-size:10px;padding:6px 8px}.danger{color:#b65766}.message-empty,.consultation-empty-list{padding:40px 14px;text-align:center;color:var(--muted);font-size:13px;line-height:1.9}.question-body .answer.is-mine{border-color:#e4dff9}.question.category-selected{border-left:2px solid #c8c1f8;padding-left:12px}.question-head-actions{display:flex;gap:6px;margin-top:10px;flex-wrap:wrap}.question-head-actions>button{font-size:11px;padding:6px 9px;border-radius:7px}.question-head-actions .private{border:1px solid var(--line);background:#fff;color:var(--accent)}.question-head-actions .primary{background:var(--accent);color:white}.question .category-chip{font-size:10px;padding:3px 6px;border-radius:5px;background:#f3f0fa;color:#9781b4;display:inline-block;margin-bottom:8px}.answer-recipient{font-size:10px;color:#8d83b8}.message-author strong{overflow-wrap:anywhere}.message-author time{white-space:nowrap}.message-author .author-affiliation{font-size:10px;color:var(--muted);font-weight:400;display:block}.question-text{white-space:pre-wrap;overflow-wrap:anywhere}.q-actions button{font-size:11px}.composer-area{padding-top:4px}.message-form .composer-tools{display:flex;justify-content:space-between;align-items:center}.message-form textarea{width:100%;border:0;resize:none;background:transparent;max-height:160px;min-height:76px;padding:14px 14px 8px;color:var(--ink)}.message-form .send-button{font-size:12px;padding:9px 13px}.compose-count{color:var(--muted);font-size:10px}.compose-meta>span{display:flex;align-items:center;gap:4px}.compose-meta svg{width:12px;height:12px}.question-category-picker{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 22px 8px;font-size:10px;color:var(--muted)}.question-category-picker>div{display:flex;gap:5px}.question-category-picker button{padding:5px 7px;border:1px solid var(--line);border-radius:6px;font-size:10px}.question-category-picker button.active{color:var(--accent);background:var(--pale);border-color:#e2ddfa}.reply-context{margin:0 21px 8px;padding:9px 12px;align-items:center}.reply-context strong{display:block;font-size:11px;margin-top:3px}.reply-context small{font-size:9px;color:var(--accent)}.conversation-locked{padding:18px;color:var(--muted);font-size:12px;background:#f8f9fc;border-top:1px solid var(--line);line-height:1.8}.right-panel{overflow-wrap:anywhere}.panel-close{display:none}.profile>p{line-height:1.9}.panel-account-role{display:block;color:var(--muted);font-size:10px;margin-top:5px}.detail-row strong{text-align:right}.profile .soft-button{width:100%;margin-top:16px}.live-people{margin-top:22px}.live-person{display:flex;align-items:center;gap:9px;padding:10px 0}.live-person strong{font-size:12px}.live-person p{font-size:10px;line-height:1.6;color:var(--muted);margin-top:3px}.consultation-dialog{width:min(560px,calc(100vw - 32px));max-height:85dvh;padding:25px;border:1px solid var(--line);border-radius:18px;color:var(--ink);overflow:auto}.consultation-dialog::backdrop{background:#20243d66;backdrop-filter:blur(3px)}.dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.dialog-head span{font-size:9px;letter-spacing:1.5px;color:var(--accent)}.dialog-head h2{font-size:22px;margin:9px 0}.dialog-head button{font-size:25px;color:var(--muted);width:30px;height:30px;border-radius:8px}.consultation-dialog form>p{font-size:12px;color:var(--muted);line-height:1.8;margin:14px 0}.consultation-dialog label{display:grid;gap:8px;font-size:12px;margin:14px 0}.consultation-dialog input[type=search],.consultation-dialog textarea{padding:12px;border:1px solid var(--line);border-radius:9px;width:100%;color:var(--ink);background:#fafbfe}.consultation-dialog textarea{min-height:100px;resize:vertical}.invite-candidate-list{display:grid;gap:7px;max-height:220px;overflow:auto}.invite-candidate{padding:13px;border:1px solid var(--line);border-radius:10px;text-align:left}.invite-candidate.selected{border-color:var(--accent);background:var(--pale)}.invite-candidate p{font-size:12px;color:var(--muted);margin:7px 0}.invite-candidate small{color:var(--muted);font-size:10px}.invite-candidate>div{display:flex;justify-content:space-between;gap:8px}.invite-selection{background:var(--pale);padding:12px;border-radius:9px;margin:12px 0;display:grid;gap:6px;font-size:12px}.invite-selection small{color:var(--muted)}.dialog-submit{background:var(--accent);color:#fff;padding:12px 16px;width:100%;border-radius:9px;font-weight:700}.dialog-secondary{border:1px solid var(--line);padding:12px;width:100%;border-radius:9px;margin-top:9px}.push-category-options{border:0;padding:0}.push-category-options label{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid var(--line);border-radius:9px}.push-category-options small{display:block;font-size:11px;color:var(--muted);margin-top:4px}.push-setting-status,.push-guide-link{font-size:12px;line-height:1.8;display:block;margin-bottom:13px}.push-setting-status{color:var(--muted)}.sheet-backdrop{border:0}
@media(max-width:1260px){.panel-close{display:flex}.account-role,.connection-status{display:none}.app.details-open .right-panel{overflow:auto}.app.details-open .sheet-backdrop{display:block!important}}
@media(max-width:860px){.topbar{padding:0 20px}.sep{margin:0 15px}.topnav{gap:13px}.brand img{width:145px}.account .avatar,.consultation-user{display:none}.account{gap:2px}.app{min-height:560px}.chat-subtitle{max-width:350px}.room-utilities{padding-left:15px;padding-right:15px}.question-head-actions{gap:5px}.question-head-actions>button{font-size:10px}}
@media(max-width:640px){.topbar{height:61px;padding:0 15px}.brand img{width:132px}.account>a,.account>button{font-size:10px;padding:6px}.workspace{padding-top:17px}.intro p{font-size:11px;max-width:100%}.app{height:calc(100dvh - 158px);min-height:440px}.workspace.in-chat .app{height:calc(100dvh - 61px);min-height:0}.chat-header{height:auto;min-height:77px;align-items:flex-start}.chat-title-row{flex-wrap:wrap;gap:5px}.chat-title-row h2{font-size:15px;max-width:190px}.chat-subtitle{max-width:200px;white-space:normal;font-size:10px}.header-buttons .icon-button{width:26px}.category-bar{gap:6px;flex-wrap:wrap}.mine-toggle{margin:0}.visibility-note{font-size:10px}.room-utilities{padding-bottom:8px}.room-utilities .soft-button{font-size:10px}.question-category-picker{margin:0 13px 6px;gap:6px}.reply-context{margin:0 13px 7px}.message-form textarea{font-size:14px;min-height:67px}.compose-meta{font-size:9px;flex-wrap:wrap;gap:4px}.question-head-actions>button{font-size:11px}.message-author{flex-wrap:wrap}.message-author time{font-size:9px}.question-body{padding-left:0}.topnav{display:none}.sidebar-footer{font-size:10px}.consultation-notice{margin:0 12px 10px}.intro.hide-mobile{display:none}}
.composer-area:has(form[hidden]){display:none}.chat-name{flex:1;min-width:0}.chat-title-row{min-width:0}.chat-title-row h2{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.chat-header-left{flex:1}.header-buttons{align-self:flex-start}.invite-candidate{display:flex;align-items:center;gap:10px}.invite-candidate-avatar{width:34px;height:34px;border-radius:11px;background:var(--pale);color:var(--accent);display:flex;align-items:center;justify-content:center;flex-shrink:0}.invite-candidate-info{display:grid;gap:5px;min-width:0;flex:1}.invite-candidate-info>span{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted)}.invite-candidate-info small{display:none}.invite-candidate em{font-style:normal;font-size:11px;color:var(--accent)}
@media(min-width:641px){.app{min-height:500px}}

/* 2026-11-14: conversation-first support center, using the existing live data contract. */
:root{--ink:#172542;--muted:#6e7c94;--line:#e5eaf3;--bg:#f4f6fb;--accent:#4267ff;--accent-dark:#3153de;--pale:#edf2ff;--green:#168467;--radius:18px}
body.consultation-page{height:100dvh;min-height:0;overflow:hidden;letter-spacing:-.025em}
.topbar{height:72px;padding:0 28px;flex-shrink:0;gap:0;box-shadow:0 2px 12px #17254203}
.brand img{width:172px}.sep{margin:0 24px}.topnav{gap:20px}.topnav a{gap:7px;font-size:13px;font-weight:700;color:#6e7c94;white-space:nowrap}.topnav a svg{width:17px;height:17px}.topnav a.active{color:var(--accent)}
.account{gap:6px}.account a,.account>button{font-size:12px}.connection-status{font-size:11px}.connection-status .dot{background:var(--green)}
.workspace{height:calc(100dvh - 72px);min-height:0;max-width:1800px;padding:22px 26px 24px;display:flex;flex-direction:column;overflow:hidden}
.intro{flex-shrink:0;margin:0 0 18px;gap:16px}.workspace-eyebrow{display:block;font-size:11px;letter-spacing:.1em;font-weight:800;color:var(--accent);margin-bottom:7px}.intro h1{font-size:25px;font-weight:800;line-height:1.4;letter-spacing:-.04em}.intro p{font-size:13px;line-height:1.65;margin-top:5px}.intro-note{display:flex;align-items:center;gap:8px;flex-shrink:0;font-size:12px;color:var(--accent);background:white;border:1px solid var(--line);border-radius:11px;padding:12px 14px;text-decoration:none}.intro-note svg{width:16px;height:16px}.intro-note:hover{border-color:#c9d5ff;background:#f9fbff}
.consultation-notice{flex-shrink:0;margin-bottom:12px;font-size:13px}
.app{position:relative;flex:1;height:auto;min-height:0;max-height:none;grid-template-columns:286px minmax(0,1fr) 284px;box-shadow:0 5px 24px #17254206;border:1px solid #e1e7f0;border-radius:18px}
.sidebar{background:#fbfcff}.sidebar-head{padding:20px 17px 14px;border-bottom:1px solid var(--line)}.sidebar-title{align-items:center;margin-bottom:17px;gap:8px}.sidebar-eyebrow{font-size:10px;letter-spacing:.06em;font-weight:700;color:var(--muted);display:block;margin-bottom:4px}.sidebar-title h2{font-size:21px;font-weight:800;color:var(--ink)}.new-chat{border:1px solid #dce4ff;background:#edf2ff;border-radius:9px;padding:9px 10px;font-size:12px;color:var(--accent);display:flex;align-items:center;gap:5px;white-space:nowrap}.new-chat svg{width:15px;height:15px}.new-chat:hover{background:#e0e8ff}
.conversation-scopes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin-bottom:14px}.conversation-scopes button{display:flex;justify-content:space-between;align-items:center;gap:4px;border:1px solid transparent;border-radius:8px;padding:8px 9px;text-align:left;color:#728098;font-size:12px;white-space:nowrap}.conversation-scopes button span{min-width:18px;border-radius:5px;background:#eef1f7;padding:1px 5px;font-size:10px;text-align:center}.conversation-scopes button.active{background:white;color:var(--accent);border-color:#d9e2ff;box-shadow:0 2px 4px #4267ff06}.conversation-scopes button.active span{background:#eaf0ff;color:var(--accent)}
.searchbox{border-radius:9px;border-color:var(--line);padding:10px 11px;background:white}.searchbox input{font-size:12px}.searchbox svg{width:16px;height:16px}.list-filters{margin-top:12px;gap:4px}.list-filters button{font-size:12px;border-radius:7px;padding:7px 9px;flex:1}.list-filters button.active{background:#edf2ff;color:var(--accent);box-shadow:none}.sidebar-list{padding:8px 9px 14px;scrollbar-gutter:stable}.list-label{padding:12px 10px 7px;font-size:11px;letter-spacing:0}.list-label span:last-child{font-size:10px}.conversation{border-radius:11px;padding:12px 10px;gap:9px;align-items:flex-start}.conversation.active,.private-item.active{background:#edf2ff;border-color:#d6e0ff}.conversation.active:before{background:var(--accent)}.conversation:hover{background:#f0f4fc}.conversation .avatar,.conversation .public-avatar{width:36px;height:36px;font-size:13px;border-radius:11px;flex-shrink:0}.conversation-title{gap:5px;align-items:center}.conversation-title strong{font-size:13px;line-height:1.45;font-weight:750;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-title time{font-size:10px;flex-shrink:0}.conversation p{font-size:12px;line-height:1.6;margin-top:5px;color:#768298}.conversation-foot{gap:6px;margin-top:7px}.tiny-tags{font-size:10px;color:#8190a6}.unread{font-size:10px;border-radius:5px;padding:2px 5px;background:#e9efff;color:var(--accent);white-space:nowrap}.sidebar-footer{border-top:1px solid var(--line);background:#fbfcff;padding:12px;font-size:10px;flex-shrink:0;color:#8a96a9}.private-item{border-radius:11px}.consultation-card-actions{gap:6px;padding:0 12px 10px}.consultation-card-actions button{font-size:12px;padding:7px 10px}.status-chip{font-size:10px;padding:3px 6px;line-height:1.5}.list-empty{font-size:12px;line-height:1.9}
.chat{background:#fff}.conversation-room{position:relative}.chat-header{height:auto;min-height:88px;padding:19px 22px;align-items:center;background:white}.chat-title-row{gap:8px;flex-wrap:wrap}.chat-title-row h2{font-size:19px;font-weight:800;color:var(--ink)}.chat-subtitle{font-size:12px;line-height:1.7;margin-top:5px;max-width:100%;white-space:normal}.chat-header-left{gap:8px}.header-buttons{gap:3px;align-self:center}.header-buttons .icon-button{width:33px;height:33px;border:1px solid transparent}.header-buttons .icon-button:hover{border-color:var(--line);background:#f5f7fc}.mode-badge{font-size:10px;line-height:1.5;background:#e9f7f1;color:#168467;padding:4px 7px;border-radius:6px;gap:4px}.mode-badge svg{width:12px;height:12px}.mode-badge.private{background:#edf2ff;color:var(--accent)}.private-state{font-size:10px;padding:4px 7px;border:1px solid var(--line);border-radius:6px;color:var(--muted)}
.visibility-note{font-size:11px;line-height:1.7;padding:10px 20px;background:#fafbfe;border-bottom:1px solid #edf0f7;color:#7b879c;align-items:flex-start}.visibility-note svg{width:14px;height:14px;margin-top:2px}.category-bar{padding:12px 20px;gap:10px;flex-wrap:wrap;background:white}.categories{gap:5px}.categories button{font-size:11px;border-radius:6px;padding:7px 9px}.categories button.active{background:#edf2ff;color:var(--accent)}.mine-toggle{font-size:11px;margin-left:auto;white-space:nowrap}.room-utilities{padding:0 20px 10px;gap:7px}.room-utilities .soft-button,.room-utilities .text-button{font-size:11px;padding:7px 9px}.room-utilities .soft-button{border-radius:7px}.chat-scroll{padding:17px 22px 18px;background:#fcfdff;scrollbar-gutter:stable;scroll-behavior:auto}.private-scroll{padding-top:24px;background:#f8faff}
.question{margin-bottom:16px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:17px 16px}.question.category-selected{border-left:3px solid var(--accent);padding-left:14px;background:#fff}.message-author{gap:8px;align-items:flex-start}.message-author strong{font-size:13px;line-height:1.5}.message-author .author-affiliation{font-size:10px;margin-top:2px;line-height:1.4}.message-author time{font-size:10px;color:#8f9bb0;margin-left:auto;line-height:1.7}.badge{font-size:10px;line-height:1.5;border-radius:5px;padding:3px 5px}.question-body{padding-left:39px}.question .category-chip{font-size:10px;background:#edf2ff;color:#5e7adb;padding:3px 6px;margin-bottom:8px}.question-text{font-size:15px;line-height:1.85;color:#344560}.q-actions{margin-top:9px}.q-actions button{font-size:11px}.question-head-actions{margin-top:10px;gap:6px}.question-head-actions>button{padding:7px 10px;font-size:11px}.question-head-actions .primary{background:#edf2ff;color:var(--accent);border:1px solid #dce5ff}.question-head-actions .primary:hover{background:#dfe8ff}.question-head-actions .private{color:#66758e}.question-body .text-button.danger{font-size:11px;margin-top:8px}.answer{padding:13px 14px;margin-top:12px;border-radius:10px;background:#f9fbff;border:1px solid #e6edfb}.answer .question-text{font-size:14px;line-height:1.8}.question-body .answer.is-mine{border-color:#d9e3ff}.dm-content{max-width:83%}.dm-author{font-size:12px;gap:6px;margin-bottom:6px}.dm-bubble{font-size:15px;line-height:1.8;border-radius:12px;padding:12px 15px;background:#fff;border:1px solid #e3e9f3;color:#344560;box-shadow:0 2px 5px #17254202}.dm-row.mine .dm-bubble{background:#edf2ff;color:#294caa;border-color:#d9e3ff}.dm-time{font-size:10px;margin-top:6px;color:#96a0b2}.dm-row{margin-bottom:20px}
.composer-area{padding:12px 20px 13px;background:white;border-top:1px solid #edf0f7}.composer-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:9px;flex-wrap:wrap}.composer-heading strong{font-size:12px;color:#3c4e6c}.composer-heading span{font-size:10px;color:#8b97ab}.composer{border:1px solid #dfe6f2;border-radius:11px;background:#fff;box-shadow:0 2px 8px #17254203;overflow:hidden}.composer:focus-within{border-color:#9cb2ff;box-shadow:0 0 0 3px #4267ff0b}.message-form textarea{padding:12px 13px 5px;min-height:65px;font-size:14px;line-height:1.7}.composer-tools{padding:5px 10px 9px}.message-form .send-button{font-size:12px;padding:9px 13px;border-radius:8px}.compose-count{font-size:10px}.compose-meta{margin-top:8px;font-size:10px;gap:8px;flex-wrap:wrap;line-height:1.6;color:#93a0b3}.question-category-picker{margin:0;padding:7px 20px;background:#f9fbff;font-size:10px;gap:8px;border-top:1px solid #edf0f7}.question-category-picker button{font-size:10px;padding:5px 8px;background:white}.question-category-picker button.active{background:#edf2ff;border-color:#cad8ff;color:var(--accent)}.reply-context{margin:0;border:0;border-top:1px solid #dce5ff;border-bottom:1px solid #dce5ff;border-radius:0;background:#f0f5ff;padding:10px 20px;gap:12px}.reply-context small{font-size:10px}.reply-context strong{font-size:12px;line-height:1.5;overflow-wrap:anywhere}.reply-context .text-button{font-size:11px;color:var(--accent);flex-shrink:0}.new-message-jump{display:flex;align-items:center;justify-content:center;align-self:center;gap:6px;margin:5px 0;padding:8px 14px;border:1px solid #dce5ff;border-radius:20px;background:#fff;color:var(--accent);box-shadow:0 3px 12px #4267ff16;font-size:12px;flex-shrink:0}.new-message-jump svg{width:14px;height:14px}.conversation-locked{font-size:13px;line-height:1.8;padding:18px 20px;background:#f8faff}
.right-panel{padding:23px 20px;background:#fff}.panel-heading{border-bottom:1px solid var(--line);padding-bottom:16px;margin-bottom:21px;align-items:center}.panel-heading h3{font-size:14px;color:#253752}.panel-heading>span{font-size:10px;color:#8c99ad}.profile{text-align:left}.profile>.avatar,.profile>.public-avatar{width:46px;height:46px;border-radius:13px;font-size:18px;margin:0 0 12px}.profile h3{font-size:17px;line-height:1.5;color:#243550}.panel-account-role{font-size:11px;color:var(--accent);margin-top:4px}.profile>p{font-size:12px;line-height:1.8;color:#8a96aa;margin-top:9px}.profile .soft-button,.profile .primary{font-size:11px;line-height:1.5;padding:10px;border-radius:8px}.private-details{border-top:1px solid var(--line);margin-top:20px;padding-top:20px}.private-details h3{font-size:12px;margin-bottom:12px}.detail-row{font-size:11px;gap:12px;align-items:flex-start;line-height:1.7;margin-top:10px}.detail-row>span{color:#93a0b3;flex-shrink:0}.detail-row strong{font-size:11px;max-width:170px;overflow-wrap:anywhere;font-weight:600}.context-actions{border-top:1px solid var(--line);padding-top:18px;margin-top:20px;display:grid;gap:8px}.context-actions h3{font-size:12px;margin-bottom:4px}.context-actions button{display:flex;align-items:center;justify-content:center;gap:6px;padding:10px 11px;border-radius:8px;font-size:12px;line-height:1.5}.context-actions button svg{width:16px;height:16px}.context-actions .primary{background:var(--accent);color:white}.context-end{border:1px solid #e3e7f0;color:#77859c;background:white}.context-actions p{font-size:11px;color:var(--muted);line-height:1.8}.tip-card{border-radius:11px;background:#f7f9fe;border:1px solid #e8edf8;padding:14px;margin-top:22px}.tip-heading{font-size:12px;color:#607293}.tip-heading svg{width:14px;height:14px}.tip-card p{font-size:11px;line-height:1.85}.tip-card button{font-size:11px;color:var(--accent)}.privacy-tip{font-size:10px;line-height:1.85;margin-top:16px;color:#98a3b4}.context-help{display:flex;align-items:center;gap:7px;border-top:1px solid var(--line);margin-top:19px;padding-top:16px;font-size:11px;line-height:1.7;text-decoration:none;color:#6b80aa}.context-help svg{width:14px;height:14px;flex-shrink:0}
@media(min-width:1600px){.app{grid-template-columns:304px minmax(0,1fr) 294px}.chat-scroll{padding-left:28px;padding-right:28px}}
@media(max-width:1260px){.app{grid-template-columns:270px minmax(0,1fr)}.right-panel{background:white}.app.details-open .right-panel{width:290px;max-width:88vw}.topbar{padding:0 21px}.topnav{gap:14px}.sep{margin:0 18px}.intro-note{font-size:11px;padding:10px}.intro h1{font-size:23px}.question-body{padding-left:0}}
@media(max-width:860px){.workspace{padding:18px 17px 18px}.intro{margin-bottom:14px}.intro h1{font-size:21px}.intro p{font-size:12px}.intro-note{max-width:230px;line-height:1.6;white-space:normal}.intro-note>svg:last-child{display:none}.app{grid-template-columns:246px minmax(0,1fr)}.sidebar-head{padding:18px 13px 12px}.sidebar-title h2{font-size:19px}.conversation-scopes button{font-size:11px;padding:7px}.topbar{padding:0 17px}.brand img{width:139px}.sep{margin:0 14px}.topnav{gap:11px}.topnav a{font-size:11px;gap:4px}.topnav a svg{width:14px;height:14px}.top-end{margin-left:auto}.account a,.account>button{font-size:11px;padding:6px}.chat-header{padding:16px 14px;min-height:85px}.chat-title-row h2{font-size:17px}.chat-subtitle{font-size:11px}.header-buttons .icon-button{width:28px;height:30px}.header-buttons{gap:0}.visibility-note{padding:9px 14px;font-size:10px}.category-bar{padding:10px 14px}.categories button{font-size:10px;padding:6px}.room-utilities{padding-left:14px;padding-right:14px}.room-utilities .soft-button,.room-utilities .text-button{font-size:10px}.chat-scroll{padding:14px}.composer-area{padding:10px 13px 11px}.composer-heading span{display:none}.question-category-picker{padding:7px 13px}.reply-context{padding:9px 13px}.question-text{font-size:14px}.question{padding:14px}.question.category-selected{padding-left:12px}.dm-bubble{font-size:14px}.message-author{flex-wrap:wrap}.message-author time{margin-left:auto}}
@media(max-width:640px){body.consultation-page{min-height:0}.topbar{height:104px;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:58px 46px;padding:0 13px;gap:0}.brand{grid-column:1;grid-row:1}.brand img{width:141px}.sep{display:none}.top-end{grid-column:2;grid-row:1;margin-left:0}.topnav{display:flex!important;grid-row:2;grid-column:1/-1;gap:8px;height:46px;width:100%;overflow-x:auto;align-items:center;scrollbar-width:none}.topnav a{height:34px;font-size:12px;padding:0 10px;border-radius:8px;gap:6px;flex-shrink:0}.topnav a.active{background:#edf2ff}.topnav a.active:after{display:none}.topnav a svg{width:15px;height:15px}.account .avatar,.consultation-user,.account-role,.connection-status{display:none}.account{gap:3px}.account a,.account>button{font-size:10px;padding:6px}.workspace{height:calc(100dvh - 104px);padding:15px 12px 12px;min-height:0}.intro{margin:0 2px 13px;gap:8px}.workspace-eyebrow{font-size:9px;margin-bottom:4px}.intro h1{font-size:20px}.intro p{font-size:11px;line-height:1.6;margin-top:5px}.intro-note{display:none}.app{display:flex;flex:1;height:auto;min-height:0;border-radius:13px}.app .sidebar{width:100%;min-height:0}.app .chat{width:100%;min-height:0}.workspace.in-chat{padding:0;height:calc(100dvh - 104px)}.workspace.in-chat .app{height:auto;min-height:0;border:0;border-radius:0}.workspace.in-chat .intro{display:none}.sidebar-head{padding:18px 17px 12px}.sidebar-title{margin-bottom:13px}.sidebar-title h2{font-size:22px}.sidebar-eyebrow{font-size:10px}.conversation-scopes{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin-bottom:12px}.conversation-scopes button{font-size:10px;padding:7px 5px;gap:3px;justify-content:center}.conversation-scopes button span{font-size:9px;min-width:14px;padding:1px 3px}.searchbox input{font-size:13px}.conversation-title strong{font-size:14px}.conversation p{font-size:12px}.sidebar-list{padding:6px 10px 12px}.conversation{padding:13px 11px}.sidebar-footer{font-size:10px}.chat-header{min-height:81px;padding:13px 11px;align-items:center}.chat-title-row{gap:5px}.chat-title-row h2{font-size:16px;max-width:200px}.chat-subtitle{font-size:10px;max-width:100%;line-height:1.5}.header-buttons .icon-button{width:27px;height:29px}.header-buttons .icon-button svg{width:17px;height:17px}.chat-header-left{gap:3px}.mode-badge,.private-state{font-size:9px;padding:3px 5px}.visibility-note{padding:8px 12px;font-size:10px;line-height:1.6}.category-bar{padding:9px 11px;gap:6px}.categories{gap:4px;flex-wrap:wrap}.categories button{font-size:10px;padding:5px 7px}.mine-toggle{font-size:10px;margin-left:0}.room-utilities{padding:0 11px 8px;gap:4px}.room-utilities .soft-button,.room-utilities .text-button{font-size:10px;padding:5px 7px}.chat-scroll{padding:11px 10px 14px}.question{padding:13px 11px;margin-bottom:12px;border-radius:11px}.question.category-selected{padding-left:9px}.message-author strong{font-size:12px}.message-author .author-affiliation{font-size:10px}.message-author time{font-size:9px;margin-left:auto}.badge{font-size:9px}.question-text{font-size:14px;line-height:1.8}.answer .question-text{font-size:13px}.question-head-actions>button{font-size:10px;padding:6px 8px}.question-body{padding-left:0}.answer{padding:11px;margin-top:10px}.question-category-picker{padding:6px 11px;font-size:10px;gap:5px}.question-category-picker>div{gap:4px;flex-wrap:wrap}.question-category-picker button{font-size:10px;padding:4px 6px}.reply-context{padding:8px 11px}.reply-context strong{font-size:11px}.reply-context small{font-size:9px}.composer-area{padding:9px 11px max(10px,env(safe-area-inset-bottom));flex-shrink:0}.composer-heading{margin-bottom:6px}.composer-heading strong{font-size:11px}.message-form textarea{font-size:14px;min-height:58px;padding:10px 11px 4px;max-height:110px}.composer-tools{padding:4px 8px 7px}.message-form .send-button{font-size:11px;padding:8px 10px}.compose-count{font-size:9px}.compose-meta{font-size:9px;line-height:1.5;margin-top:6px}.compose-meta>span:last-child{display:none}.dm-bubble{font-size:14px;padding:11px 12px}.dm-content{max-width:85%}.dm-author{font-size:11px}.dm-time{font-size:9px}.dm-row{margin-bottom:15px}.new-message-jump{font-size:11px;padding:7px 11px}.right-panel{padding:20px 18px}.app.details-open .right-panel{width:min(295px,88vw)}.consultation-notice{margin:0 0 10px;font-size:11px}.workspace.in-chat .consultation-notice{margin:7px 10px;font-size:10px}}
@media(max-width:380px){.topnav a{font-size:11px;padding:0 8px}.brand img{width:124px}.conversation-scopes button{font-size:9px;gap:2px;padding:7px 3px}.conversation-scopes button span{font-size:8px}.workspace{padding:13px 9px 10px}.intro h1{font-size:19px}.chat-title-row h2{font-size:15px;max-width:150px}.chat-header{padding:11px 8px}.mode-badge.private svg{display:none}.header-buttons .icon-button{width:25px}}
@media(max-width:640px){.visibility-note{max-height:45px;overflow:auto;flex-shrink:0}.composer-heading{display:none}.compose-meta{display:none}.message-form textarea{min-height:54px}.composer-area{padding-top:8px}.room-utilities{flex-shrink:0}.category-bar{flex-shrink:0}.question-category-picker{flex-shrink:0}.reply-context{flex-shrink:0}.chat-header{flex-shrink:0}}

/* PRO owns the outer window; only the authenticated consultation fills this view. */
.pro-embed,.pro-embed body.consultation-page{width:100%;height:100%;height:100dvh;min-height:0;overflow:hidden}
.pro-embed body.consultation-page{display:flex;flex-direction:column;background:#fff}
.pro-embed .topbar,.pro-embed .intro,.pro-embed .skip-chat{display:none}
.pro-toolbar{display:flex;align-items:center;gap:10px;flex:0 0 32px;min-height:32px;padding:0 10px;background:#f6f8fe;border-bottom:1px solid var(--line);font-size:11px}
.pro-toolbar strong{color:var(--accent);font-size:11px;white-space:nowrap}.pro-toolbar span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#63718b}.pro-toolbar button{font-size:10px;padding:5px 7px;border-radius:5px;white-space:nowrap}
.pro-embed .workspace,.pro-embed .workspace.in-chat{display:flex;flex:1;min-height:0;min-width:0;height:auto;width:100%;max-width:none;padding:0;margin:0;overflow:hidden}
.pro-embed .workspace .app{display:grid;grid-template-columns:228px minmax(0,1fr);flex:1;min-height:0;min-width:0;height:100%;max-height:100%;width:100%;border:0;border-radius:0;box-shadow:none;overflow:hidden}
.pro-embed .sidebar{display:flex;flex-direction:column;min-height:0;min-width:0;border-right:1px solid var(--line)}
.pro-embed .sidebar-head{padding:11px 10px 9px}.pro-embed .sidebar-title{margin-bottom:9px}.pro-embed .sidebar-eyebrow{display:none}.pro-embed .sidebar-title h2{font-size:17px}.pro-embed .new-chat{font-size:11px;padding:7px 8px}
.pro-embed .conversation-scopes{margin-bottom:8px;gap:3px}.pro-embed .conversation-scopes button{font-size:10px;padding:6px}.pro-embed .searchbox{padding:7px 9px}.pro-embed .searchbox input{font-size:11px}.pro-embed .list-filters{margin-top:7px}.pro-embed .list-filters button{font-size:10px;padding:5px}.pro-embed .sidebar-list{flex:1;min-height:0;overflow:auto;padding:5px}.pro-embed .sidebar-footer{font-size:9px;padding:7px 8px}.pro-embed .conversation{padding:10px 7px}.pro-embed .conversation-title strong{font-size:12px}.pro-embed .conversation p{font-size:11px}
.pro-embed .chat,.pro-embed .conversation-room{display:flex;flex:1;flex-direction:column;min-height:0;min-width:0;overflow:hidden}.pro-embed .chat-header{flex-shrink:0;min-height:59px;padding:10px 12px}.pro-embed .chat-title-row h2{font-size:16px}.pro-embed .chat-subtitle{font-size:10px;line-height:1.5;margin-top:3px}.pro-embed .visibility-note{flex-shrink:0;font-size:10px;line-height:1.5;padding:6px 12px;max-height:43px;overflow:auto}.pro-embed .category-bar{flex-shrink:0;padding:7px 11px;gap:5px}.pro-embed .categories button{font-size:10px;padding:5px 6px}.pro-embed .mine-toggle{font-size:10px;margin-top:0;margin-bottom:0}.pro-embed .room-utilities{flex-shrink:0;padding:0 11px 6px}.pro-embed .chat-scroll{flex:1;min-height:28px;height:auto;overflow:auto;padding:12px}.pro-embed .question{padding:11px;margin-bottom:11px}.pro-embed .question-text,.pro-embed .dm-bubble{font-size:14px;line-height:1.7}.pro-embed .question-body{padding-left:0}.pro-embed .question-category-picker{padding:5px 11px;flex-shrink:0}.pro-embed .reply-context{padding:6px 11px;flex-shrink:0}.pro-embed .reply-context strong{font-size:11px}.pro-embed .composer-area{flex-shrink:0;padding:8px 11px max(8px,env(safe-area-inset-bottom))}.pro-embed .composer-heading{margin-bottom:5px}.pro-embed .composer-heading span,.pro-embed .compose-meta{display:none}.pro-embed .message-form textarea{font-size:14px;line-height:1.5;min-height:48px;max-height:85px;padding:8px 10px 3px}.pro-embed .composer-tools{padding:3px 7px 6px}.pro-embed .message-form .send-button{font-size:11px;padding:7px 10px}.pro-embed .conversation-locked{flex-shrink:0;font-size:12px;padding:10px 12px}.pro-embed .new-message-jump{font-size:10px;padding:5px 10px;margin:3px}
.pro-embed .app .right-panel{display:none}.pro-embed .app.details-open .right-panel{display:block;position:fixed;top:32px;right:0;bottom:0;width:min(280px,88vw);max-height:calc(100dvh - 32px);padding:18px;overflow:auto;z-index:51;background:#fff;box-shadow:-10px 0 45px #17254220}.pro-embed .panel-close{display:flex}.pro-embed .app.details-open .sheet-backdrop{display:block;position:fixed;inset:32px 0 0;z-index:50;background:#17254244}
.pro-auth-panel{display:flex;flex:1;min-height:0;overflow:auto;align-items:center;justify-content:center;padding:16px;background:#f5f7fd}.pro-auth-card{width:100%;max-width:420px;padding:23px;border:1px solid #e1e7f3;border-radius:14px;background:#fff;text-align:center}.pro-auth-mark{color:var(--accent);font-size:11px;font-weight:800;letter-spacing:.12em}.pro-auth-card h1{font-size:19px;line-height:1.5;margin:10px 0}.pro-auth-card p{font-size:13px;color:#64738c;line-height:1.8;overflow-wrap:anywhere}.pro-auth-card button{margin:14px 0 0;padding:10px 15px;font-size:12px;border-radius:8px}.pro-auth-card small{display:block;font-size:11px;color:#8591a6;line-height:1.8;margin-top:14px}
.pro-embed .pro-auth-pending .workspace,.pro-embed .pro-auth-stopped .workspace{display:none}
@media(max-width:640px){.pro-embed .workspace .app{display:flex;grid-template-columns:1fr}.pro-embed .app .sidebar{width:100%;display:flex}.pro-embed .app .chat{display:none;width:100%}.pro-embed .app.chat-open .sidebar{display:none}.pro-embed .app.chat-open .chat{display:flex}.pro-embed .conversation-scopes{grid-template-columns:repeat(4,minmax(0,1fr))}.pro-embed .conversation-scopes button{padding:5px 3px;font-size:10px}.pro-embed .sidebar-head{padding:13px}.pro-embed .sidebar-title h2{font-size:19px}.pro-embed .chat-header{min-height:54px;padding:8px 9px}.pro-embed .chat-title-row h2{font-size:15px;max-width:180px}.pro-embed .visibility-note{padding:5px 10px;max-height:36px}.pro-embed .composer-heading{display:none}.pro-embed .message-form textarea{min-height:45px}.pro-embed .chat-scroll{padding:9px}.pro-embed .header-buttons .icon-button{width:26px;height:27px}.pro-embed .composer-area{padding:7px 9px}.pro-embed .pro-auth-card{padding:17px}.pro-embed .pro-auth-card h1{font-size:17px}}
@media(max-height:430px){.pro-embed .chat-header{min-height:47px;padding-top:6px;padding-bottom:6px}.pro-embed .chat-subtitle{display:none}.pro-embed .visibility-note{max-height:28px;font-size:9px;padding:4px 9px}.pro-embed .category-bar{padding:5px 9px}.pro-embed .question-category-picker{padding:3px 9px}.pro-embed .composer-heading{display:none}.pro-embed .message-form textarea{min-height:37px;max-height:65px}.pro-embed .composer-area{padding:5px 9px}.pro-embed .composer-tools{padding:2px 6px 4px}.pro-embed .message-form .send-button{padding:5px 9px}.pro-embed .reply-context{padding:4px 9px}.pro-embed .new-message-jump{padding:3px 8px}.pro-embed .pro-auth-panel{padding:9px}.pro-embed .pro-auth-card{padding:14px}.pro-embed .pro-auth-card h1{font-size:16px;margin:6px 0}.pro-embed .pro-auth-card small{margin-top:8px;font-size:10px}}
