:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:#242824;background:#e4e8e5;font-size:14px;--green:#07a85a;--muted:#929793;--line:#e1e4e1}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:inherit;text-decoration:none}button{border:0}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid #07a85a;outline-offset:3px}[hidden]{display:none!important}.svg-defs{position:absolute;width:0;height:0;overflow:hidden}svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.app{height:100dvh;max-height:100dvh;max-width:1600px;margin:auto;display:flex;overflow:hidden;background:#ededed}.rail{width:68px;background:#27352e;color:#abb9b0;display:flex;align-items:center;flex-direction:column;padding:30px 0 17px;gap:14px;flex-shrink:0}.brand-avatar{width:40px;height:40px;margin-bottom:22px;background:#b4cbbc;color:#344b3b;border-radius:9px;font:21px Georgia,serif;box-shadow:inset 0 0 0 1px #fff4}.rail-button{width:48px;height:48px;display:flex;align-items:center;justify-content:center;border-radius:8px;background:transparent;color:inherit}.rail-button:hover{background:#ffffff09}.rail-button.active{color:#56dc8a}.rail-button span{display:none}.rail-spacer{flex:1}.sidebar{width:294px;flex-shrink:0;background:#f7f8f6;border-right:1px solid #dce0dc;display:flex;flex-direction:column}.side-header{display:flex;justify-content:space-between;align-items:center;padding:29px 23px 20px}.eyebrow{font-size:11px;color:#8b978f;letter-spacing:2px}.side-header h1{font-size:23px;margin:8px 0 0;font-weight:600;letter-spacing:1px}.icon-button{width:35px;height:35px;display:inline-flex;align-items:center;justify-content:center;color:#525c55;background:transparent;border-radius:7px;flex-shrink:0}.icon-button:hover{background:#00000008}.add-button{background:#e7eae6}.search{display:flex;align-items:center;background:#e9ece7;margin:0 18px 17px;padding:7px 10px;gap:8px;border-radius:5px;color:#9b9f99}.search svg{width:16px;height:16px}.search input{background:transparent;border:0;outline:none;min-width:0;width:100%;font-size:12px;color:#3e463f}.sidebar-body{overflow:auto;flex:1}.side-footer{font-size:10px;color:#9aa49b;display:flex;gap:7px;align-items:center;padding:16px 20px;border-top:1px solid #e9ece7;white-space:nowrap}.status-dot{display:inline-block;width:5px;height:5px;background:#6caf81;border-radius:50%}.conversation-item{width:100%;display:flex;align-items:center;gap:12px;text-align:left;padding:17px 18px;background:transparent;border-bottom:1px solid #edf0eb;position:relative;color:inherit}.conversation-item:hover{background:#ecf0e9}.conversation-item.selected{background:#dce5d8}.avatar{height:45px;width:45px;flex-shrink:0;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:25px;user-select:none}.avatar-moon{background:#dfe7d5;color:#557449}.avatar-book{background:#e5e1ef;color:#81769a}.avatar-leaf{background:#d7e4db;color:#427d60}.avatar-cat{background:#f0dfd1}.avatar-star{background:#e1e5f2}.avatar-coffee{background:#e7d9cd}.avatar-flower{background:#f2dfe5}.avatar-cloud{background:#dbe8ee}.avatar-self{background:#c0d4bf;color:#497451;font-size:18px}.item-copy{min-width:0;flex:1}.item-title{display:flex;align-items:center;justify-content:space-between;gap:4px;margin-bottom:7px}.item-title strong{font-weight:500;font-size:14px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.item-title time{font-size:10px;color:#969c95;white-space:nowrap}.item-copy p{font-size:12px;line-height:1.4;color:#8a9289;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.list-label{font-size:11px;letter-spacing:1px;color:#9ba398;padding:17px 22px 10px}.empty-list{text-align:center;color:#939b92;font-size:12px;line-height:1.9;padding:25px 18px}.workspace{min-width:0;flex:1;position:relative}.welcome{height:100%;overflow:auto;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:38px;background:radial-gradient(ellipse at 50% 40%,#f7f8f3,transparent 65%),#edf0e9}.welcome-orbit{width:107px;height:107px;border:1px solid #cdd8c7;border-radius:50%;display:flex;align-items:center;justify-content:center;margin-bottom:29px;position:relative}.welcome-orbit span{font:73px Georgia,serif;color:#739570;transform:rotate(-20deg)}.welcome-orbit i{position:absolute;right:4px;top:4px;font:24px Georgia,serif;color:#9eb092;background:#edf1e9}.welcome h2{font-family:"Songti SC","Noto Serif CJK SC",SimSun,serif;font-size:37px;letter-spacing:7px;font-weight:500;margin:19px 0}.welcome>p{color:#8d998d;line-height:2.1;font-size:13px;margin:0 0 33px}.welcome-cards{display:flex;max-width:640px;width:100%;gap:13px}.welcome-card{flex:1;min-width:0;text-align:left;padding:19px 17px;background:#ffffffa3;border:1px solid #e0e6da;border-radius:10px;color:#394539;transition:transform .18s,box-shadow .18s}.welcome-card:hover{transform:translateY(-3px);box-shadow:0 7px 20px #395d3910}.welcome-card .avatar{width:39px;height:39px;font-size:23px;margin-bottom:14px}.welcome-card strong{display:block;font-size:14px;font-weight:500;margin-bottom:8px}.welcome-card p{font-size:11px;line-height:1.8;color:#99a192;margin:0;min-height:40px}.welcome-card small{display:block;font-size:11px;margin-top:13px;color:#699665}.welcome-note{font-size:11px;color:#a4ada0;letter-spacing:1px;margin:30px 0 20px}.conversation{height:100%;display:flex;flex-direction:column;background:#ededed}.chat-header{height:82px;flex-shrink:0;display:flex;align-items:center;padding:0 29px;border-bottom:1px solid #dedfde;gap:14px;background:#f3f3f3}.chat-heading{flex:1;min-width:0}.chat-heading h2{font-size:18px;font-weight:500;margin:0 0 6px}.chat-heading p{font-size:11px;color:#929991;margin:0}.header-usage{font-size:11px;color:#8c978d}.mobile-back{display:none}.messages{flex:1;overflow:auto;padding:20px 30px 28px;scroll-behavior:smooth;min-height:0}.message-time{text-align:center;font-size:10px;color:#a2a6a0;margin:11px 0 27px}.message-row{display:flex;align-items:flex-start;gap:11px;margin:0 0 24px}.message-row.user{flex-direction:row-reverse}.message-row .avatar{width:38px;height:38px;font-size:21px;border-radius:5px}.message-row .avatar-self{font-size:15px}.message-content{max-width:75%;min-width:0}.message-name{font-size:10px;color:#a0a69d;margin:0 0 6px}.bubble{position:relative;background:white;padding:11px 14px;border-radius:4px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;box-shadow:0 1px 1px #00000003}.bubble:before{content:"";position:absolute;left:-5px;top:14px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-right:6px solid #fff}.user .bubble{background:#95ec69}.user .bubble:before{left:auto;right:-5px;border-right:0;border-left:6px solid #95ec69}.message-usage{font-size:10px;color:#999f97;margin-top:5px}.typing:after{content:"▋";animation:blink 1s steps(2) infinite;color:#69a569}@keyframes blink{50%{opacity:0}}.composer-wrap{background:#f8f8f8;border-top:1px solid #dfdfdf;flex-shrink:0;padding:10px 24px 9px}.composer-tools{display:flex;align-items:center;gap:8px;margin-bottom:4px}.text-button{background:transparent;color:#7b877a;font-size:12px;padding:8px}.tool-spacer{flex:1}.model-label{font-size:11px;color:#90998e;display:flex;align-items:center;gap:7px}.model-label select{border:1px solid #e1e5de;background:#f4f6f0;color:#6b7a66;border-radius:4px;padding:5px;font-size:11px;max-width:200px}.composer textarea{width:100%;background:transparent;resize:none;border:0;outline:none;line-height:1.8;padding:7px 4px;max-height:180px;min-height:69px;color:#2c392b}.composer textarea::placeholder{color:#b2b8ae}.composer-bottom{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding-top:4px}.send-hint{font-size:10px;color:#b0b5ab;margin-right:auto}.send-button{display:flex;align-items:center;justify-content:center;gap:10px;background:#e5ecde;color:#398a34;padding:8px 21px;border-radius:4px;font-size:13px}.send-button:hover{background:#dceacf}.send-button svg{width:15px;height:15px}.ai-note{margin:9px 0 0;font-size:9px;letter-spacing:.5px;color:#b3b8ae;text-align:center}.chat-error{padding:9px 10px;background:#fff1e9;border-radius:5px;margin-bottom:8px;color:#b06b46;font-size:12px}.primary-button,.secondary-button,.danger-button{display:inline-flex;justify-content:center;align-items:center;min-height:37px;padding:10px 19px;border-radius:6px;font-size:13px}.primary-button{background:#07a85a;color:#fff}.primary-button:hover{background:#09944f}.secondary-button{background:#edf0ea;color:#606c5d}.danger-button{background:#fff0ed;color:#cc655c}.loading-text{text-align:center;color:#97a091;font-size:12px;padding:30px}dialog{border:1px solid #e0e5da;border-radius:15px;background:#fafcf8;padding:0;width:560px;max-width:calc(100vw - 24px);max-height:90dvh;color:#334032;box-shadow:0 25px 80px #11221325}dialog::backdrop{background:#13211666;backdrop-filter:blur(2px)}.dialog-header{display:flex;align-items:center;justify-content:space-between;padding:24px 26px 17px;border-bottom:1px solid #e6ebe0}.dialog-header h2{font-size:19px;font-weight:500;margin:7px 0 0}.dialog-scroll{padding:22px 26px;overflow:auto;max-height:63dvh}.dialog-footer{display:flex;gap:10px;justify-content:flex-end;padding:17px 26px;border-top:1px solid #e6ebe0}.card-dialog label{display:block;font-size:12px;margin-bottom:19px}.card-dialog label>span{color:#a2ad9a;font-size:10px;margin-left:6px}.card-dialog input:not([type=radio]),.card-dialog textarea{width:100%;background:#fff;border:1px solid #dfe5da;border-radius:6px;padding:10px 12px;display:block;margin-top:9px;line-height:1.7;color:#334032;resize:vertical}.card-dialog input::placeholder,.card-dialog textarea::placeholder{color:#b0b6ab}.avatar-picker{display:flex;gap:9px;margin-bottom:24px;flex-wrap:wrap}.avatar-picker button{background:transparent;padding:3px;border:2px solid transparent;border-radius:10px}.avatar-picker button.selected{border-color:#69ad79}.avatar-picker .avatar{width:38px;height:38px;font-size:23px}.mode-select{display:flex;gap:25px;padding:2px 0 5px}.mode-select label{display:flex;gap:7px;align-items:center}.mode-select input{accent-color:#07a85a}details summary{font-size:12px;color:#809178;cursor:pointer;margin-bottom:13px}.field-note{font-size:11px;color:#a0ab98;line-height:1.7}.card-actions{display:flex;gap:8px;margin:12px 0 0;flex-wrap:wrap}.detail-dialog{width:440px}.detail-dialog .avatar{width:65px;height:65px;font-size:37px;margin-bottom:14px}.detail-dialog h3{font-size:19px;font-weight:500;margin:0 0 10px}.detail-dialog p{white-space:pre-wrap;line-height:1.8;color:#8b9684;font-size:12px}.detail-actions{display:flex;flex-wrap:wrap;gap:9px;margin:22px 0 5px}.confirm-dialog{padding:25px;width:370px}.confirm-dialog h2{font-size:18px;font-weight:500}.confirm-dialog p{color:#8d9787;line-height:1.8;font-size:13px}.confirm-dialog .dialog-footer{border:0;padding:17px 0 0}.toast{position:fixed;bottom:34px;left:50%;transform:translateX(-50%);z-index:100;background:#2d3f32ef;color:#fff;box-shadow:0 5px 20px #0002;padding:12px 20px;border-radius:8px;max-width:90vw;font-size:13px;text-align:center}.profile-view{height:100%;overflow:auto;padding:48px;max-width:1000px;margin:auto;background:#f3f5f0}.profile-view h2{font-size:27px;font-weight:500;margin:14px 0}.profile-view>p{font-size:12px;color:#95a08c;line-height:1.8}.profile-top{display:flex;align-items:center;gap:18px;margin-bottom:30px}.profile-top .avatar{width:65px;height:65px;font-size:28px}.usage-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0}.stat-box{padding:20px 16px;background:#fff;border:1px solid #e1e7db;border-radius:9px}.stat-box span{font-size:11px;color:#929e87}.stat-box strong{display:block;font-weight:500;font-size:26px;color:#536f49;margin-top:10px}.usage-model{padding:17px;background:#fff;border-bottom:1px solid #eef1e9;display:flex;justify-content:space-between;gap:10px;font-size:12px}.usage-model span{color:#95a089}.card-small-actions{display:flex;gap:7px;margin-top:10px}.card-small-actions button{font-size:10px;background:#e7eee1;padding:4px 8px;border-radius:3px;color:#6e8964}.card-row{padding:16px 20px;border-bottom:1px solid #e8ece3}.card-row-main{display:flex;gap:12px;align-items:center}.card-row h3{font-size:14px;font-weight:500;margin:0 0 7px}.card-row p{font-size:11px;color:#919c89;line-height:1.7;margin:0}.history-button{display:block;margin:0 auto 22px;background:transparent;color:#8c9d83;font-size:11px}.me-menu{margin:14px 16px;padding:19px;background:#edf2e7;border-radius:7px;color:#829373;font-size:12px;line-height:1.9}
@media(min-width:1450px){body{padding:35px}.app{height:calc(100dvh - 70px);border-radius:10px;box-shadow:0 16px 65px #32453220;border:1px solid #d8ded4}}
@media(max-width:1000px){.sidebar{width:260px}.welcome{padding:24px}.welcome-cards{gap:8px}.welcome-card{padding:16px 12px}.header-usage{display:none}.messages{padding:20px}.profile-view{padding:32px 25px}}
@media(max-width:700px){body{background:#ededed}.app{height:100dvh;max-height:100dvh;position:relative}.rail{position:absolute;bottom:0;left:0;right:0;width:100%;height:calc(61px + env(safe-area-inset-bottom));padding:4px 16px calc(4px + env(safe-area-inset-bottom));flex-direction:row;justify-content:space-around;background:#f8faf6;color:#8b9685;border-top:1px solid #e3e8df;gap:0;z-index:5}.rail-button{height:50px;width:60px;flex-direction:column;gap:3px}.rail-button svg{width:23px;height:23px}.rail-button span{display:block;font-size:10px}.rail-button.active{color:#07a85a}.brand-avatar,.rail-spacer,.rail #adminLink{display:none!important}.sidebar{width:100%;padding-bottom:calc(61px + env(safe-area-inset-bottom));border:0}.side-header{padding:calc(20px + env(safe-area-inset-top)) 21px 17px}.side-header h1{font-size:24px}.side-footer{display:none}.workspace{display:none;position:absolute;inset:0}.app.mobile-chat .workspace{display:block;z-index:10}.app.mobile-chat .rail,.app.mobile-chat .sidebar{display:none}.app.mobile-profile .workspace{display:block;bottom:calc(61px + env(safe-area-inset-bottom))}.app.mobile-profile .sidebar{display:none}.mobile-back{display:flex}.chat-header{height:calc(64px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 12px 0;gap:9px}.chat-heading h2{font-size:16px;margin-bottom:5px}.chat-heading p{font-size:10px}.messages{padding:18px 14px 8px}.message-content{max-width:calc(100% - 72px)}.message-row{gap:10px;margin-bottom:22px}.bubble{font-size:15px;padding:10px 13px}.composer-wrap{padding:6px 12px calc(8px + env(safe-area-inset-bottom))}.composer-tools{gap:1px;margin:0}.composer textarea{min-height:44px;height:52px;font-size:16px;padding:8px;background:#fff;border-radius:5px}.composer-bottom{padding-top:7px}.send-hint{font-size:9px}.send-button{padding:9px 19px;background:#07a85a;color:#fff}.send-button svg{display:none}.ai-note{margin-top:6px;font-size:9px}.model-label select{max-width:170px}.welcome{padding:23px}.welcome-cards{flex-direction:column}.welcome-card{display:none}.welcome h2{font-size:31px}.welcome-orbit{width:85px;height:85px}.profile-view{padding:27px 20px}.usage-grid{gap:8px}.stat-box{padding:17px 10px}.stat-box strong{font-size:21px}.usage-model{font-size:11px}.toast{bottom:90px}.dialog-scroll{padding:20px;max-height:60dvh}.dialog-header{padding:19px 20px}.dialog-footer{padding:15px 20px}.card-dialog{max-height:92dvh}.conversation-item{padding:19px 21px}.avatar{height:46px;width:46px}.empty-list{padding:20px}.me-menu{padding:24px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
.login-sidebar{margin:22px;max-width:calc(100% - 44px)}

.me-menu,.empty-list{white-space:pre-line}

.card-scopes{display:flex;gap:5px;margin:0 18px 10px;background:#e9eee6;border-radius:6px;padding:4px}.card-scopes button{flex:1;padding:8px;background:transparent;color:#7c8b76;border-radius:4px}.card-scopes button.active{background:#fff;color:#388657}.card-meta{margin-top:8px;font-size:10px;color:#8c9b84}.card-dialog .share-check{display:flex;gap:9px;align-items:center}.card-dialog input[type=checkbox]{width:16px;display:inline-block;margin:0;accent-color:#07a85a}.story-dock{flex-shrink:0;padding:8px 24px 12px;background:#f0f3ed;border-top:1px solid #e0e5dc;max-height:32vh;overflow:auto}.story-dock-head{display:flex;align-items:center;justify-content:space-between;min-height:30px;color:#8a9680;font-size:11px}.story-choices{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.story-choice{display:flex;align-items:flex-start;gap:8px;text-align:left;background:#f9fbf6;border:1px solid #dce5d4;border-radius:7px;padding:10px;font-size:12px;line-height:1.6;color:#617b53;overflow-wrap:anywhere}.story-choice:hover{background:#e5eedf}.choice-number{background:#e2ebdb;color:#6d895c;border-radius:50%;width:20px;height:20px;flex-shrink:0;text-align:center;line-height:20px;font-size:10px}.story-status-link{display:block;padding:6px 0;background:transparent;font-size:10px;color:#8d9e80}.story-panel{border-bottom:1px solid #e2e8db;padding-bottom:12px;margin-bottom:16px}.story-panel dl{display:grid;grid-template-columns:70px 1fr;font-size:12px;line-height:1.8;gap:7px;color:#63765a}.story-panel dt{color:#98a38f}.story-panel dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.context-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#99a38f;font-size:10px}.context-toolbar .text-button{font-size:10px;padding:4px}.story-dock~.composer-wrap .composer textarea{height:50px;min-height:45px}.story-dock~.composer-wrap #continueButton{display:none}@media(max-width:700px){.story-dock{padding:5px 12px 9px;max-height:30vh}.story-choices{grid-template-columns:1fr;gap:5px}.story-choice{padding:7px 9px;font-size:11px}.story-dock-head{font-size:10px;min-height:26px}.context-toolbar{font-size:9px}.context-toolbar .text-button{font-size:9px}.story-dock~.composer-wrap .composer textarea{height:42px;min-height:40px}.card-meta{font-size:11px}}

.messages{scroll-behavior:auto;overflow-anchor:none}.latest-reply{white-space:nowrap;color:#438552}.input-toggle{display:block;background:transparent;color:#66825c;font-size:12px;padding:10px;width:100%}.input-folded .composer,.input-folded .composer-tools,.input-folded .context-toolbar,.input-folded .ai-note{display:none}.input-folded .composer-wrap{padding-top:0;padding-bottom:0}.start-dialog h3{font-size:14px;font-weight:500;margin:18px 0 10px}.start-dialog .dialog-scroll{max-height:65dvh}.start-models{display:grid;grid-template-columns:1fr 1fr;gap:10px}.start-model{display:flex;gap:10px;align-items:center;background:#fff;border:1px solid #e0e7da;border-radius:8px;padding:14px 10px;cursor:pointer}.start-model:has(input:checked){border-color:#07a85a;background:#f1faf1}.start-model input{accent-color:#07a85a}.start-model-copy{min-width:0}.start-model strong{display:block;font-size:13px;font-weight:500;overflow-wrap:anywhere}.start-model small{display:block;font-size:11px;color:#87967e;margin-top:7px}.existing-chat-list{max-height:160px;overflow:auto;border:1px solid #dfe8d7;border-radius:8px}.existing-chat{display:block;width:100%;padding:12px;text-align:left;background:#f1f7ec;border-bottom:1px solid #e4ebdd}.existing-chat strong{color:#46814c;font-size:12px}.existing-chat span{display:block;font-size:11px;color:#8c9b84;margin-top:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:700px){.app{height:var(--chat-height,100dvh);max-height:var(--chat-height,100dvh)}.composer-wrap{padding:5px 10px max(5px,env(safe-area-inset-bottom))}.ai-note,.send-hint{display:none}.composer{display:flex;align-items:flex-end;gap:8px}.composer textarea,.story-dock~.composer-wrap .composer textarea{flex:1;width:0;min-height:40px;height:42px;max-height:110px;display:block}.composer-bottom{padding:0;flex-shrink:0}.send-button{height:42px;padding:8px 15px}.composer-tools{min-height:34px;margin-bottom:4px}.context-toolbar{display:none}.input-folded .composer-wrap{padding-bottom:env(safe-area-inset-bottom)}.story-dock{max-height:36%;}.input-toggle{padding:9px}.latest-reply{font-size:10px;padding:5px}.start-models{gap:8px}.start-model{padding:12px 8px;gap:5px}.model-label select{max-width:150px}.composer #stopButton{padding:8px 12px;height:42px}}

.avatar img{width:100%;height:100%;object-fit:cover;border-radius:inherit}.uploaded-avatar{display:flex;align-items:center;gap:12px;margin-bottom:15px}.ai-card-builder{padding:16px;background:#edf4e9;border:1px solid #dce6d5;border-radius:10px;margin-bottom:22px}.ai-card-builder h3{margin:0 0 15px;font-size:14px;font-weight:500}.draft-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.draft-actions select{padding:8px;border:1px solid #dbe3d5;border-radius:5px;background:#fff;max-width:150px}.draft-actions button{padding:8px 12px;font-size:12px}.ai-card-builder .field-note{margin-bottom:0}.card-dialog input[type=file]{font-size:12px;overflow:hidden}

.market-card-open{width:100%;background:transparent;padding:0;text-align:left;color:inherit}.market-card-open .item-copy p{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.card-small-actions{flex-wrap:wrap}.card-small-actions .market-like[aria-pressed=true]{color:#b5676c;background:#f8e9e9}.personal-cards-section{margin-bottom:34px}.personal-cards-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.personal-cards-header h3{font-size:17px;font-weight:500}.personal-cards-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.personal-card{background:#fff;border:1px solid #dfe7d9;border-radius:10px;padding:17px}.personal-card h3{font-size:14px;font-weight:500;margin:0 0 8px}.personal-card .item-copy p{font-size:11px}.personal-card .card-small-actions button{font-size:11px;padding:6px 9px}.market-detail-dialog{width:620px}.market-detail-dialog .dialog-scroll{max-height:65dvh}.market-detail-top{display:flex;gap:15px;align-items:center;margin-bottom:22px}.market-detail-top p{font-size:13px;line-height:1.8;margin:0 0 9px}.market-detail-top .avatar{width:58px;height:58px}.setting-block{border-bottom:1px solid #e2e8dc;padding:13px 0}.setting-block summary{color:#527748;font-size:13px;margin:0}.setting-block p{white-space:pre-wrap;overflow-wrap:anywhere;color:#788771;font-size:12px;line-height:1.9;margin:14px 0 4px}.market-community-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:22px 0 15px}.market-community-head h3{font-size:15px;font-weight:500}.market-community-head button[aria-pressed=true]{color:#a46467;background:#f7ebea}#marketCommentForm textarea{display:block;width:100%;padding:11px;border:1px solid #dce6d5;border-radius:7px;background:#fff;color:#42563b;resize:vertical;line-height:1.7}#marketCommentForm>button{display:flex;margin:10px 0 15px auto}.market-comment{border-top:1px solid #e3e9df;padding:15px 0}.comment-head{display:flex;align-items:center;gap:10px;font-size:11px}.comment-head strong{font-weight:500;color:#5d7751}.comment-head time{font-size:10px;color:#97a18f}.comment-head button{margin-left:auto;padding:2px 6px;font-size:10px}.market-comment p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;color:#73846a;line-height:1.8;margin:10px 0 0}.account-usage-section>h3{font-size:17px;font-weight:500}@media(max-width:700px){.personal-cards-grid{grid-template-columns:1fr}.personal-cards-header h3{font-size:16px}.personal-cards-header .primary-button{font-size:12px;padding:9px 13px}.market-detail-dialog .dialog-scroll{max-height:62dvh}.market-detail-dialog .dialog-footer{padding:13px 16px}.market-detail-dialog .dialog-footer button{font-size:12px;padding:10px 14px}.card-scopes button{font-size:12px}.market-detail-top{gap:12px}.market-detail-top p{font-size:12px}}

.market-row-top{display:flex;align-items:center;gap:10px}.market-row-top .market-card-open{flex:1;min-width:0;gap:9px}.market-row-actions{display:flex;flex-direction:column;gap:7px;flex-shrink:0;width:68px}.market-row-actions button{font-size:10px;white-space:nowrap;padding:8px 7px;border-radius:5px}.market-start{background:#07a85a;color:#fff}.market-settings{background:#e8eee3;color:#67885b}.market-row-top .avatar{width:38px;height:38px;font-size:22px}.market-row-top .item-copy h3{line-height:1.5;font-size:13px;margin-bottom:5px}.app:has(.rail-button[data-tab=cards].active) .sidebar{width:350px}@media(max-width:1000px) and (min-width:701px){.app:has(.rail-button[data-tab=cards].active) .sidebar{width:320px}}@media(max-width:700px){.app:has(.rail-button[data-tab=cards].active) .sidebar{width:100%}.market-row-actions{width:76px}.market-row-actions button{font-size:11px}.market-row-top .avatar{width:43px;height:43px}.market-row-top .item-copy h3{font-size:14px}.market-row-top{gap:13px}}

#shareProgress{display:block;width:100%;height:10px;margin:18px 0;accent-color:#07a85a}#shareChapter{width:100%;margin:10px 0}

.share-dialog{width:760px;max-width:calc(100vw - 40px);max-height:calc(100dvh - 64px);background:#fff;color:#26362d;overflow:hidden;border-radius:16px}
.share-dialog[open]{display:flex}.share-dialog>form{display:flex;flex-direction:column;min-width:0;width:100%;max-height:calc(100dvh - 64px);margin:0}
.share-header{flex:none;padding:20px 26px;gap:16px;background:#fff}.share-header h2{margin:0;font-size:20px;font-weight:600}.share-header p{margin:6px 0 0;font-size:12px;color:#738079}.share-header .icon-button{flex:none}
.share-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:20px 26px 24px;scrollbar-gutter:stable}
.share-destination{display:flex;align-items:center;gap:12px;margin-bottom:18px}.share-board-icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:10px;color:#07864b;background:#eaf7ef;flex:none}.share-board-icon svg{width:23px;height:23px}.share-destination>div{flex:1;min-width:0}.share-destination strong,.share-destination span:not(.share-board-icon){display:block;font-size:13px}.share-destination strong{font-weight:500}.share-destination div span{font-size:11px;color:#78837c;margin-top:4px}.share-destination>a{font-size:12px;color:#468363;white-space:nowrap}
.share-job-panel{padding:14px 16px;background:#f3f8f4;border:1px solid #e1ece4;border-radius:9px;margin-bottom:18px}#shareStatus{font-size:14px;line-height:1.7;color:#30513e;margin:0;overflow-wrap:anywhere}#shareStatus a{margin-top:8px}.share-help{font-size:12px;color:#738078;line-height:1.7;margin:8px 0 0}.share-job-panel .share-help{margin-top:5px}.share-dialog #shareProgress{height:7px;margin:12px 0}
.share-settings{border:1px solid #e3e9e4;border-radius:9px;padding:13px 16px;margin:0 0 20px}.share-settings summary{font-size:13px;color:#596d60;margin:0}.share-settings[open] summary{margin-bottom:14px}.share-dialog label{display:block;font-size:13px;font-weight:500;margin:0 0 8px}.share-dialog input,.share-dialog textarea,.share-dialog select{display:block;width:100%;min-width:0;box-sizing:border-box;border:1px solid #d9e2dc;border-radius:7px;color:#2b3e31;background:#fff;font:inherit;font-size:14px;line-height:1.6;padding:10px 12px;outline:none}.share-dialog :is(input,textarea,select):focus{border-color:#07a85a;box-shadow:0 0 0 3px #07a85a12}.share-dialog select{height:43px}.share-dialog input{margin:0 0 17px}.share-dialog textarea{min-height:260px;resize:vertical;line-height:1.9}.share-review-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}.share-review-heading h3{margin:0;font-size:16px;font-weight:600}.share-review-heading .text-button{color:#357854;padding:6px 0}.share-body-heading{display:flex;justify-content:space-between;gap:12px}.share-body-heading span{font-size:12px;color:#7b877f}.share-chapter-field{margin-bottom:16px}.share-dialog #shareChapter{margin:0}.share-review>.share-help{margin-top:12px}
.share-footer{flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 26px;border-top:1px solid #e4eae6;background:#fff}.share-footer>p{font-size:12px;color:#78857c;line-height:1.6;margin:0}.share-footer-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-shrink:0}.share-footer button{min-height:42px;white-space:nowrap}.share-dialog[data-phase=done] .share-settings{margin-bottom:16px;padding:10px 14px}.share-dialog[data-phase=done] .share-job-panel{margin-bottom:12px;padding:10px 14px}.share-dialog[data-phase=failed] .share-job-panel{background:#fff8ef;border-color:#f2e3ce}.share-dialog[data-phase=failed] #shareStatus{color:#8c592a}
@media(max-width:700px){.share-dialog{width:100%;max-width:100%;height:var(--chat-height,100dvh);max-height:var(--chat-height,100dvh);margin:0;border:0;border-radius:0}.share-dialog>form{height:100%;max-height:100%}.share-header{padding:calc(14px + env(safe-area-inset-top)) 18px 14px}.share-header h2{font-size:18px}.share-header p{font-size:11px;margin-top:4px}.share-scroll{padding:16px 18px 22px;scrollbar-gutter:auto}.share-destination{margin-bottom:14px}.share-dialog input,.share-dialog textarea,.share-dialog select{font-size:16px}.share-dialog textarea{min-height:240px}.share-footer{padding:12px 18px max(12px,env(safe-area-inset-bottom));flex-wrap:wrap;gap:8px}.share-footer>p{width:100%;font-size:11px}.share-footer-actions{width:100%;gap:10px}.share-footer button{min-height:44px;flex:1}.share-footer button.secondary-button{flex:0 0 auto;padding:10px 18px}.share-dialog[data-phase=done] #shareBackgroundNote{display:none}.share-dialog[data-phase=done] .share-settings{margin-bottom:14px}.share-review-heading{margin-bottom:12px}}

.share-dialog[data-phase=done] .share-settings{margin-top:20px;margin-bottom:0}

/* Chat information and every detail page share the same vertical list layout. */
.conversation-settings-dialog{width:420px;height:min(780px,calc(100dvh - 64px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 64px);padding:0;background:#ededed;border:1px solid #dedede;border-radius:9px;overflow:hidden;color:#191919;box-shadow:0 18px 60px #0002}
.conversation-settings-dialog::backdrop{background:#0005;backdrop-filter:none}
.conversation-settings-dialog[open]{display:flex;flex-direction:column}
.conversation-settings-header{height:55px;flex:none;display:grid;grid-template-columns:44px 1fr 44px;align-items:center;padding:0 8px;border-bottom:1px solid #dedede;background:#ededed}
.conversation-settings-header h2{text-align:center;font-size:17px;font-weight:500;margin:0;outline:none}.conversation-settings-header .icon-button{color:#191919;width:40px;height:44px}
.conversation-settings-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 0 24px;scrollbar-width:thin;scrollbar-color:#c7c7c7 transparent}
.wx-settings-group{background:#fff;margin:8px 0 0;padding:0;overflow:hidden}
.wx-settings-group:first-child{margin-top:0}
.wx-settings-row{position:relative;display:flex;align-items:center;justify-content:space-between;gap:16px;box-sizing:border-box;width:100%;min-height:56px;padding:16px 20px;margin:0;border:0;background:#fff;color:#191919;text-align:left;font-size:16px;line-height:1.5}
.wx-settings-group>.wx-settings-row+.wx-settings-row:before{content:"";position:absolute;left:20px;right:0;top:0;border-top:1px solid #ededed}
.wx-settings-label{flex-shrink:0;font-weight:400}
.wx-settings-value{min-width:0;color:#888;font-size:14px;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wx-settings-trailing{min-width:0;display:flex;align-items:center;justify-content:flex-end;gap:13px}
.wx-settings-arrow{display:block;flex:none;width:7px;height:7px;border-right:1.5px solid #b2b2b2;border-top:1.5px solid #b2b2b2;transform:rotate(45deg);margin-right:3px}
.wx-settings-link:hover,.wx-settings-person:hover{background:#fafafa}.wx-settings-link:active,.wx-settings-center:active{background:#e7e7e7}
.wx-settings-row:disabled,.wx-settings-center:disabled{color:#b4b4b4;cursor:default}.wx-settings-row:disabled .wx-settings-value{color:#b4b4b4}
.wx-settings-person{display:flex;align-items:center;gap:14px;width:100%;padding:22px 20px;background:#fff;color:#191919;text-align:left;border:0}
.wx-settings-person .avatar{width:52px;height:52px;border-radius:6px;flex:none}.wx-settings-person-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:7px}.wx-settings-person-copy strong{font-size:16px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wx-settings-person-copy>span{font-size:12px;color:#999}
.wx-settings-switch{appearance:none;-webkit-appearance:none;width:48px;height:28px;min-width:48px;border:1px solid #dfdfdf;background:#e4e4e4;border-radius:20px;margin:0;position:relative;cursor:pointer;transition:background .15s}
.wx-settings-switch:before{content:"";position:absolute;left:1px;top:1px;width:24px;height:24px;border-radius:50%;background:white;box-shadow:0 1px 2px #0002;transition:transform .15s}.wx-settings-switch:checked{background:#07c160;border-color:#07c160}.wx-settings-switch:checked:before{transform:translateX(20px)}.wx-settings-switch:focus-visible{outline:2px solid #576b95;outline-offset:3px}
.wx-settings-note{margin:9px 20px 17px;color:#999;font-size:12px;line-height:1.8;overflow-wrap:anywhere}
.wx-settings-center{display:block;width:100%;min-height:56px;background:#fff;padding:16px 20px;font-size:16px;line-height:1.5;color:#191919;border:0}.wx-settings-danger{color:#e64340}.wx-settings-accent{color:#576b95}
.wx-model-row{min-height:70px}.wx-model-copy{display:flex;flex-direction:column;gap:4px;min-width:0}.wx-model-copy small{font-size:12px;color:#999}.wx-settings-check{display:block;width:8px;height:15px;border-bottom:2px solid #07c160;border-right:2px solid #07c160;transform:rotate(45deg);margin-right:6px;flex:none}
.wx-settings-article{background:#fff;min-height:100%;padding:21px 20px 28px;box-sizing:border-box}.wx-settings-article p{margin:0;color:#333;font-size:15px;line-height:1.95;white-space:pre-wrap;overflow-wrap:anywhere}
.conversation-settings-scroll[data-page=main] .wx-settings-group{margin-top:8px}.conversation-settings-scroll[data-page=main] .wx-settings-group:first-child{margin-top:0}.conversation-settings-scroll[data-page=main]{padding-bottom:16px}
@media(max-width:700px){.conversation-settings-dialog{width:100%;max-width:100%;height:var(--chat-height,100dvh);max-height:var(--chat-height,100dvh);margin:0;border:0;border-radius:0}.conversation-settings-header{height:calc(55px + env(safe-area-inset-top));padding-top:env(safe-area-inset-top)}.conversation-settings-scroll{padding-bottom:calc(24px + env(safe-area-inset-bottom))}.conversation-settings-scroll[data-page=main]{padding-bottom:calc(16px + env(safe-area-inset-bottom))}.wx-settings-row,.wx-settings-center{min-height:55px}.wx-settings-person{padding:20px}.wx-settings-article{padding-bottom:calc(28px + env(safe-area-inset-bottom))}}

.confirm-dialog.wx-confirm{width:320px;max-width:calc(100vw - 64px);padding:0;border:0;border-radius:12px;background:#fff;color:#191919;text-align:center;overflow:hidden}.wx-confirm h2{font-size:17px;font-weight:600;line-height:1.6;margin:0;padding:28px 24px 9px;overflow-wrap:anywhere}.wx-confirm p{font-size:14px;line-height:1.7;color:#888;margin:0;padding:0 24px 26px}.wx-confirm .dialog-footer{display:grid;grid-template-columns:1fr 1fr;gap:0;padding:0;border-top:1px solid #ededed}.wx-confirm .dialog-footer button{border-radius:0;background:#fff;min-height:56px;font-size:16px;padding:15px;color:#576b95}.wx-confirm .dialog-footer .danger-button{border-left:1px solid #ededed;color:#e64340}.wx-confirm::backdrop{background:#0005;backdrop-filter:none}

/* Personal cards must shrink inside narrow profile grids. */
.profile-view{width:100%;min-width:0}.profile-top>div,.personal-cards-section,.personal-cards-grid,.personal-card,.personal-card .card-row-main{min-width:0;max-width:100%}.personal-card h3{overflow-wrap:anywhere;white-space:normal}.personal-card .item-copy p{white-space:normal;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.profile-top h2,.usage-model strong{overflow-wrap:anywhere;min-width:0}.usage-model{flex-wrap:wrap}.personal-cards-header{flex-wrap:wrap}.personal-cards-header .primary-button{flex-shrink:0}

.node-profile>.secondary-button{margin:0 8px 8px 0}.node-dialog{width:600px}.node-dialog .dialog-scroll{max-height:65dvh}.node-field{display:block;margin:0 0 16px;font-size:13px;min-width:0}.node-field input,.node-field select{display:block;width:100%;min-width:0;max-width:100%;padding:11px;margin-top:8px;border:1px solid #dde2db;border-radius:6px;background:white;color:inherit}.node-check{display:flex;gap:10px;align-items:center;margin:14px 0;font-size:13px;min-width:0}.node-check input{accent-color:#07a85a;flex-shrink:0}.node-check span{min-width:0;overflow-wrap:anywhere}.node-model-list{border-top:1px solid #e1e5dd}.node-model{display:grid;grid-template-columns:18px minmax(0,1fr);gap:5px 9px;margin:0;padding:13px 0;border-bottom:1px solid #e6e9e2}.node-model small{grid-column:2;color:#87917f;overflow-wrap:anywhere}.node-card{border-bottom:1px solid #dfe5da;padding:10px 0 20px;min-width:0}.node-card h3,.node-url{overflow-wrap:anywhere}.node-url{font-size:12px;color:#8d9787}.node-settings{margin-top:20px}.start-model-copy,.wx-model-copy{min-width:0}.start-model-copy strong,.wx-model-copy .wx-settings-label{overflow-wrap:anywhere}.node-dialog .dialog-header{gap:12px}.node-dialog .dialog-header h2{font-size:18px;min-width:0}.node-dialog .dialog-header button{flex-shrink:0}

.node-guide-steps{padding-left:23px;margin:18px 0}.node-guide-steps li{padding:0 0 13px 3px;line-height:1.8}.node-guide-steps p{font-size:13px;color:#71816b;margin:5px 0 0}.node-guide-link{display:inline-block;color:#248652;overflow-wrap:anywhere;font-size:13px;line-height:1.6;padding:8px 0}.node-guide-models{margin-top:25px}.node-guide-group{border-bottom:1px solid #dfe5da;padding:12px 0}.node-guide-group summary{font-size:14px;color:#3f533d;margin:0}.node-guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 15px}.node-guide-group>a{font-size:12px}@media(max-width:420px){.node-guide-grid{grid-template-columns:minmax(0,1fr)}}

.node-guide-model{padding:7px 0;min-width:0}.node-guide-model small{display:block;color:#83907d;font-size:11px;line-height:1.7}.node-guide-model>a:last-child:not(.node-price-link){font-size:11px;padding:4px 0}
.personal-card .item-copy h3{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.node-dialog[open]{display:flex;flex-direction:column;height:min(800px,90dvh)}.node-dialog .dialog-header,.node-dialog .dialog-footer{flex-shrink:0}.node-dialog .dialog-scroll{flex:1;min-height:0;max-height:none;overflow:auto}
.node-cost-notice{padding:13px 14px;margin:8px 0 18px;background:#fff6e6;border:1px solid #f1dfb9;border-radius:8px;color:#80551e;font-size:12px;line-height:1.8}.node-cost-notice strong{font-size:13px}.node-cost-notice p{margin:4px 0 0}.node-status{display:inline-flex;align-items:center;gap:5px;padding:3px 8px;border-radius:4px;font-size:11px;line-height:1.6;white-space:nowrap;font-weight:500}.node-status:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor;flex-shrink:0}.node-status-ok{background:#e5f5eb;color:#127a42}.node-status-offline{background:#fff0ee;color:#c33333}.node-status-pending,.node-status-paused{background:#eef0ed;color:#6a7368}.node-status-queued{background:#fff5df;color:#976714}.node-status-checking{background:#e9f1ff;color:#285eac}.node-status-checking:before{animation:blink 1.2s steps(2) infinite}.node-status-line,.node-detection-counts{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.node-model>.node-status-line,.node-model>.node-status{grid-column:2;justify-self:start}.node-speed{color:#73806b;font-size:11px}.node-detection{min-width:0;margin:16px 0}.node-detection-title{font-size:13px;font-weight:500;color:#374333;margin:0 0 9px}.node-detection-progress{display:block;width:100%;height:7px;margin:0 0 12px;border:0;border-radius:5px;overflow:hidden;accent-color:#07a85a;background:#e5eae2}.node-detection-progress::-webkit-progress-bar{background:#e5eae2;border-radius:5px}.node-detection-progress::-webkit-progress-value{background:#07a85a;border-radius:5px}.node-detection-progress::-moz-progress-bar{background:#07a85a}.node-detection>.field-note{overflow-wrap:anywhere;margin:10px 0}.node-result-filters{display:flex;gap:5px;flex-wrap:wrap;margin:14px 0 5px}.node-result-filters button{padding:7px 12px;background:#edf0ea;color:#687762;border-radius:4px;font-size:12px}.node-result-filters button.active{background:#dff2e5;color:#168047}.node-result-row{display:flex;flex-wrap:wrap;gap:7px 10px;align-items:center;padding:12px 0;border-bottom:1px solid #e5e9e0;min-width:0}.node-result-row>strong{flex:1 1 170px;min-width:0;overflow-wrap:anywhere;font-size:12px;font-weight:500}.node-result-note{flex-basis:100%;font-size:11px;color:#88937f;line-height:1.6;overflow-wrap:anywhere}.node-result-row>.node-status-line{flex-shrink:0}.node-result-list>.field-note{margin:15px 0}@media(prefers-reduced-motion:reduce){.node-status-checking:before{animation:none}}
.node-selection-summary{font-size:13px;line-height:1.8;margin:0 0 14px;color:#445a40;font-weight:500}.node-selection-mark{font-size:11px;color:#8c9587;background:#f0f2ed;padding:3px 7px;border-radius:4px;white-space:nowrap}.node-selection-mark.is-selected{color:#157b43;background:#e5f4e9}.node-result-row>strong{flex-basis:100%;font-size:13px}.node-result-row>.node-status-line{margin-left:auto}

/* Story actions belong to the reply they continue and scroll with its text. */
.message-story{margin-top:12px;max-width:100%;min-width:0;color:#60705f}
.message-story .story-choices{grid-template-columns:1fr;gap:8px}
.message-story .story-choice{width:100%;font-size:13px;line-height:1.65;padding:11px 12px;background:#f6faf5;border-color:#d7e3d5}
.message-story .story-choice:disabled{cursor:default;opacity:.68}
.message-story .story-choice.is-chosen{opacity:1;background:#e3f1df;border-color:#b9d5b0;color:#36613c}
.message-choice-hint{font-size:12px;margin:12px 0 8px;color:#7f8c7b}
.message-status{border:1px solid #dce4d8;border-radius:8px;background:#f5f8f2;font-size:12px;overflow:hidden}
.message-status>summary{padding:10px 12px;cursor:pointer;color:#708268}
.message-status .story-panel{margin:0;padding:0 12px 12px;border:0}
.message-status .story-panel h3{font-size:12px;margin:6px 0}
.message-status .story-panel dl{grid-template-columns:minmax(52px,85px) minmax(0,1fr);margin:8px 0 0}
.message-status .story-panel p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}
.story-composer-actions{display:flex;gap:8px;align-items:center;justify-content:flex-end}
.story-composer-actions .input-toggle{width:auto;margin:0 auto 0 0;flex:1;text-align:left;padding:8px 0}
.story-composer-actions .text-button{font-size:12px;white-space:nowrap;padding:8px}
@media(max-width:700px){.message-story{margin-top:10px}.message-story .story-choice{font-size:13px;padding:10px}.message-status .story-panel dl{grid-template-columns:65px minmax(0,1fr)}.story-composer-actions .text-button{padding:7px 4px}}

/* Compact WeChat-style title and a single always-visible message input. */
.conversation .chat-header{height:54px;min-height:54px;padding:0 18px;gap:10px}
.conversation .chat-heading h2{font-size:17px;line-height:24px;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.conversation .composer-wrap{padding:8px 14px;background:#f7f7f7}
.conversation .composer{display:flex;align-items:flex-end;gap:9px}
.conversation .composer textarea{display:block;flex:1;width:0;min-width:0;min-height:42px;height:42px;max-height:130px;padding:10px 11px;background:#fff;border:0;border-radius:5px;font-size:16px;line-height:22px;resize:none;overflow-y:hidden}
.conversation .composer .send-button,.conversation .composer #stopButton{flex-shrink:0;height:40px;min-width:62px;padding:8px 13px;margin-bottom:1px;border-radius:5px;font-size:14px;line-height:24px}
.conversation .composer .send-button{background:#07b75c;color:#fff}
.conversation .composer #stopButton{background:#e9e9e9;color:#555}
@media(max-width:700px){.conversation .chat-header{height:calc(50px + env(safe-area-inset-top));min-height:calc(50px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 10px 0;gap:7px}.conversation .chat-heading h2{font-size:16px}.conversation .composer-wrap{padding:7px 10px max(7px,env(safe-area-inset-bottom))}.conversation .composer{gap:8px}}

/* Personal tools are a compact menu; detail pages open only when selected. */
.profile-view{max-width:800px;padding:0 0 28px;background:#ededed}
.profile-page-header{display:flex;align-items:center;gap:12px;height:54px;padding:0 20px;background:#f7f7f7;border-bottom:1px solid #e4e4e4}
.profile-page-header h2{margin:0;font-size:17px;font-weight:500;line-height:24px}
.profile-back{background:transparent;font-size:30px;line-height:34px;width:30px;color:#333;padding:0;text-align:left}
.profile-view .profile-top{padding:25px 22px;margin:0 0 8px;background:#fff;gap:16px}
.profile-top>.avatar{width:56px;height:56px;flex-shrink:0;font-size:25px;border-radius:8px}
.profile-person-copy{min-width:0;flex:1}.profile-person-copy h2{margin:0 0 6px;font-size:21px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-person-copy p{margin:0;color:#999;font-size:12px}
.profile-view .wx-settings-group{margin:8px 0 0}
.profile-menu-row{min-height:55px;padding:14px 20px;gap:13px;cursor:pointer}
.profile-menu-row .wx-settings-label{flex:1;min-width:0;font-size:15px}
.profile-menu-icon{color:#618270;width:23px;flex-shrink:0;display:flex;align-items:center}.profile-menu-icon svg{width:22px;height:22px}
.profile-menu-row .wx-settings-value{font-size:13px}
.profile-view>.personal-cards-section,.profile-view>.account-usage-section{margin:0;padding:18px}
.profile-view .account-usage-section{overflow-wrap:anywhere}
@media(max-width:700px){.profile-view{max-width:none;padding:0 0 18px}.profile-page-header{height:calc(50px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 16px 0}.profile-menu-row{padding:14px 18px}.profile-view .profile-top{padding:22px 20px}}

.node-dialog .dialog-header h2{flex:1;margin:0}
.node-dialog .dialog-header .node-back{font-size:30px;background:transparent;color:#444;padding:0;width:25px;line-height:34px;text-align:left}
.node-home-dialog .dialog-scroll{padding:0}
.node-summary-row{display:flex;align-items:center;gap:12px;width:100%;padding:17px 20px;border-bottom:1px solid #eee;background:#fff;text-align:left;min-width:0}
.node-summary-row:hover{background:#f7faf6}
.node-summary-copy{flex:1;min-width:0;display:grid;gap:6px}
.node-summary-copy strong{font-size:15px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.node-summary-copy>span{font-size:12px;color:#888;overflow-wrap:anywhere}
.node-summary-row>.node-status{flex-shrink:0;font-size:11px}
.node-home-dialog .dialog-scroll>.field-note{margin:12px 20px}
.node-detail-name{font-size:18px;margin:0 0 6px;overflow-wrap:anywhere}
.node-detail-dialog .node-url{font-size:12px;color:#999;margin:0 0 7px}
.node-delete{display:block;width:100%;padding:13px;margin-top:22px;border-top:1px solid #eee;background:transparent;color:#c34b43;font-size:13px}
.node-detail-dialog .dialog-footer button{flex:1}
@media(max-width:700px){.node-summary-row{padding:16px;gap:9px}.node-summary-row .wx-settings-arrow{width:7px;height:7px}}
.node-home-dialog[open]{height:fit-content;min-height:230px;max-height:80dvh}
.node-home-dialog .dialog-scroll{flex:0 1 auto;min-height:85px;max-height:55dvh}
.node-home-dialog .dialog-header{padding:17px 20px}
.node-home-dialog .dialog-footer{padding:13px 20px}

.contribution-intro{padding:20px;background:#fff;margin-bottom:8px}.contribution-intro h3{font-size:18px;font-weight:500;margin:0 0 8px}.contribution-intro p,.contribution-note{font-size:12px;color:#888;line-height:1.8;margin:0}.contribution-note{padding:15px 20px}.contribution-list{background:#fff}.contribution-row{display:flex;gap:16px;padding:18px 20px;border-bottom:1px solid #eee;min-width:0}.contribution-rank{font-size:18px;font-weight:600;color:#999;min-width:28px;line-height:28px;text-align:center}.contribution-rank.is-top{color:#b48640}.contribution-copy{flex:1;min-width:0}.contribution-name{display:block;font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#303c32}.contribution-total{display:block;font-size:19px;font-weight:500;color:#32995a;margin:6px 0}.contribution-copy p{font-size:12px;color:#8b938a;margin:4px 0;line-height:1.5;overflow-wrap:anywhere}.contribution-copy small{font-size:11px;color:#aaa}
