:root{color:#182130;background:#eef2f5;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Microsoft YaHei,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.7}.login-shell{display:grid;min-height:100vh;place-items:center;padding:32px;background:linear-gradient(135deg,#0d2742eb,#126f72d1),url(https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1800&q=80) center / cover}.login-panel{display:grid;gap:22px;width:min(440px,100%);padding:34px;border:1px solid rgba(255,255,255,.32);border-radius:8px;background:#fffffff2;box-shadow:0 24px 80px #0b1c3047}.login-panel h1{margin:0;font-size:34px;letter-spacing:0}.muted,.service-hint{margin:8px 0 0;color:#667387;line-height:1.6}.service-hint{margin:0;font-size:13px}.login-form{display:grid;gap:14px}label span,.login-form span{display:block;margin-bottom:7px;color:#526173;font-size:13px;font-weight:800}input,textarea{width:100%;border:1px solid #cad3df;border-radius:6px;padding:12px 13px;color:#172033;background:#fff;outline:none}input:focus,textarea:focus{border-color:#177e89;box-shadow:0 0 0 3px #177e8924}.alert{border-radius:6px;padding:11px 13px;font-weight:800}.alert.error{color:#8f1d1d;background:#fdecec}.alert.success{color:#16653c;background:#e8f7ee}.toast{position:fixed;z-index:20;top:22px;right:24px;max-width:min(360px,calc(100vw - 32px));border-radius:6px;padding:12px 14px;font-weight:800;box-shadow:0 18px 46px #10213438}.toast.success{color:#16653c;background:#e8f7ee;border:1px solid rgba(35,126,78,.2)}.modal-overlay{position:fixed;inset:0;z-index:50;background:#08111c8c;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;padding:24px;animation:modal-fade-in .16s ease-out}.modal-box{width:min(440px,100%);background:#fff;border-radius:16px;padding:28px 28px 22px;box-shadow:0 30px 80px #08111c52,0 4px 12px #08111c1f,inset 0 1px #fff9;display:flex;flex-direction:column;gap:14px;animation:modal-pop-in .2s cubic-bezier(.34,1.56,.64,1)}.modal-header{display:flex;align-items:center;gap:12px}.modal-icon{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;font-size:18px;font-weight:700;line-height:1;color:#fff}.modal-icon-danger{background:linear-gradient(135deg,#ef4444,#c0392b);box-shadow:0 4px 12px #c0392b52}.modal-icon-edit{background:linear-gradient(135deg,#3b82f6,#176b87);box-shadow:0 4px 12px #176b8752}.modal-icon-info{background:linear-gradient(135deg,#6b7c93,#4b5563);box-shadow:0 4px 12px #4b556347}.modal-title{margin:0;font-size:18px;font-weight:700;color:#0f172a;letter-spacing:-.01em}.modal-message{margin:0;font-size:14px;line-height:1.65;color:#475569}.modal-input{width:100%;box-sizing:border-box;padding:11px 14px;border:1.5px solid #e2e8f0;border-radius:10px;font-size:14px;color:#0f172a;background:#f8fafc;outline:none;transition:all .18s}.modal-input:hover{border-color:#cbd5e1}.modal-input:focus{border-color:#176b87;background:#fff;box-shadow:0 0 0 4px #176b871f}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:6px}.modal-button{min-width:84px;padding:9px 18px;border-radius:10px;font-size:14px;font-weight:600;letter-spacing:.02em;cursor:pointer;border:1.5px solid transparent;transition:transform .12s ease,box-shadow .18s,background .18s,filter .18s}.modal-button:active{transform:scale(.97)}.modal-cancel{background:#f1f5f9;border-color:transparent;color:#475569}.modal-cancel:hover{background:#e2e8f0;color:#1e293b}.modal-confirm{background:linear-gradient(135deg,#2196b3,#176b87);color:#fff;box-shadow:0 4px 14px #176b8747}.modal-confirm:hover{filter:brightness(1.08);box-shadow:0 6px 18px #176b875c}.modal-confirm-danger{background:linear-gradient(135deg,#ef4444,#c0392b);color:#fff;box-shadow:0 4px 14px #c0392b52}.modal-confirm-danger:hover{filter:brightness(1.08);box-shadow:0 6px 18px #c0392b66}@keyframes modal-fade-in{0%{opacity:0}to{opacity:1}}@keyframes modal-pop-in{0%{transform:translateY(12px) scale(.94);opacity:0}to{transform:translateY(0) scale(1);opacity:1}}.portal-shell{display:flex;min-height:100vh}.sidebar{display:flex;position:sticky;top:0;flex:0 0 268px;width:268px;flex-direction:column;height:100vh;padding:28px 22px;color:#fff;background:#16283b;overflow:hidden;transition:flex-basis .24s cubic-bezier(.4,0,.2,1),width .24s cubic-bezier(.4,0,.2,1),padding .24s cubic-bezier(.4,0,.2,1)}.portal-shell.sidebar-collapsed .sidebar{flex:0 0 42px;width:42px;padding-left:0;padding-right:0}.sidebar-full{display:flex;flex:1 1 auto;flex-direction:column;min-height:0;opacity:1;transition:opacity .18s ease;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.2) transparent}.sidebar-full::-webkit-scrollbar{width:4px}.sidebar-full::-webkit-scrollbar-track{background:transparent}.sidebar-full::-webkit-scrollbar-thumb{background:#fff3;border-radius:4px}.portal-shell.sidebar-collapsed .sidebar-full{opacity:0;pointer-events:none}.sidebar-collapse-button,.sidebar-collapse-floating{position:absolute;display:grid;place-items:center;width:28px;height:28px;padding:0;border:1px solid rgba(255,255,255,.18);border-radius:6px;background:#ffffff0f;color:#c9d7e3;font-size:13px;line-height:1;cursor:pointer;z-index:4}.sidebar-collapse-button{top:14px;right:8px;transition:opacity .18s ease,visibility 0s 0s,border-color .15s,background .15s,color .15s}.portal-shell.sidebar-collapsed .sidebar-collapse-button{opacity:0;visibility:hidden;transition:opacity .12s ease,visibility 0s .12s}.sidebar-collapse-floating{top:14px;left:7px;opacity:0;visibility:hidden;transform:scale(.92);transition:opacity .18s ease 0s,transform .2s ease,visibility 0s .18s,border-color .15s,background .15s,color .15s}.portal-shell.sidebar-collapsed .sidebar-collapse-floating{opacity:1;visibility:visible;transform:scale(1);transition:opacity .22s ease .08s,transform .22s ease .08s,visibility 0s,border-color .15s,background .15s,color .15s}.sidebar-collapse-button:hover,.sidebar-collapse-floating:hover{border-color:#8ed8d0;background:#8ed8d02e;color:#fff}.eyebrow{margin:0 0 8px;color:#237d81;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.sidebar .eyebrow{color:#8ed8d0}.sidebar h1,.hero h2,.panel h3{margin:0;letter-spacing:0}.sidebar h1{font-size:28px}.sidebar nav{display:grid;gap:8px;margin-top:34px}.nav-link{display:flex;align-items:center;gap:8px;padding:11px 12px;border-radius:6px;color:#c9d7e3;text-decoration:none}.nav-link.active,.nav-link:hover{color:#fff;background:#ffffff1f}.sidebar-apps{display:flex;flex:1 1 auto;flex-direction:column;min-height:0;margin-top:24px}.sidebar-apps.collapsed{flex:0 0 auto}.sidebar-apps-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;margin:0 0 8px;padding:4px 12px;border:0;background:transparent;color:#8ed8d0;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;cursor:pointer}.sidebar-apps-caret{display:inline-flex;font-size:14px;line-height:1;transition:transform .18s ease}.sidebar-apps.collapsed .sidebar-apps-caret{transform:rotate(-90deg)}.sidebar-apps-list{display:flex;flex:1 1 auto;flex-direction:column;gap:4px;min-height:0;padding-right:2px;overflow-y:auto}.sidebar-apps.collapsed .sidebar-apps-list{display:none}.sidebar-app-link{display:flex;flex:0 0 auto;align-items:center;gap:10px;width:100%;padding:8px 12px;border:0;border-radius:6px;background:transparent;color:#c9d7e3;font-size:14px;text-align:left;cursor:pointer;transition:background .15s,color .15s}.sidebar-app-link:hover{color:#fff;background:#ffffff1a}.sidebar-app-link.active{color:#fff;background:#8ed8d029;box-shadow:inset 2px 0 #8ed8d0}.sidebar-app-link.disabled{opacity:.5}.sidebar-apps-group-label{display:flex;align-items:center;justify-content:space-between;width:100%;margin:8px 0 2px;padding:2px 12px;border:0;background:transparent;color:#7d93a4;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;cursor:pointer}.sidebar-apps-group-label:hover{color:#c9d7e3}.sidebar-apps-list>.sidebar-apps-group-label:first-child{margin-top:0}.sidebar-apps-group-caret{display:inline-flex;font-size:13px;line-height:1;transition:transform .18s ease}.sidebar-apps-group-label.collapsed .sidebar-apps-group-caret{transform:rotate(-90deg)}.sidebar-app-icon{display:grid;flex:0 0 24px;place-items:center;width:24px;height:24px;border-radius:6px;color:#fff;background:var(--accent, #8ed8d0);font-size:13px;font-weight:900}.sidebar-app-name{flex:1 1 auto;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.sidebar-app-dot{flex:0 0 8px;width:8px;height:8px;border-radius:50%}.sidebar-app-dot.answering{background:#17a2a4;box-shadow:0 0 #17a2a473;animation:conv-streaming-pulse 1.2s ease-in-out infinite}.sidebar-app-dot.done{background:#2ecc71;box-shadow:0 0 0 3px #2ecc712e}.identity-panel{display:grid;gap:10px;margin-top:auto;padding-top:24px;border-top:1px solid rgba(255,255,255,.14)}.identity-panel span{color:#a9bac9;font-size:13px}.identity-panel strong{font-size:20px}.identity-panel small{color:#a9bac9;line-height:1.5}.role-switcher{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.role-switcher button{min-height:34px;border:0;border-radius:6px;color:#d9e7f2;background:#ffffff1a;font-weight:800}.role-switcher button.active{color:#143045;background:#8ed8d0}.workspace{display:grid;flex:1 1 auto;min-width:0;gap:22px;align-content:start;padding:28px}.hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:center;min-height:120px;overflow:hidden;border-radius:8px;padding:24px 32px;color:#fff;background:linear-gradient(90deg,#0c2336ed,#166065bd),url(https://images.unsplash.com/photo-1524995997946-a1c2e315a42f?auto=format&fit=crop&w=1800&q=80) center / cover}.hero .eyebrow{color:#9de2da}.hero h2{max-width:820px;font-size:42px;line-height:1.12;margin:0}.hero p{max-width:760px;margin:16px 0 0;color:#dcecf0;font-size:16px;line-height:1.7}.hero-panel{display:grid;gap:10px;padding:18px;border:1px solid rgba(255,255,255,.24);border-radius:8px;background:#ffffff21;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.hero-panel div{display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid rgba(255,255,255,.14);padding-bottom:10px}.hero-panel div:last-child{border-bottom:0;padding-bottom:0}.hero-panel span{color:#c4dce3}.hero-panel strong{overflow:hidden;max-width:180px;text-overflow:ellipsis;white-space:nowrap}.quick-grid,.assistant-grid{display:grid;gap:18px}.quick-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.quick-grid article,.panel{border:1px solid #dbe3ea;border-radius:8px;background:#fff;box-shadow:0 10px 28px #2132460f}.quick-grid article{display:grid;gap:6px;padding:18px}.quick-grid span,.quick-grid small,.panel-header p,.app-card small,.citation-list span,.workflow-card span{color:#6b7789}.quick-grid strong{font-size:28px}.assistant-grid{grid-template-columns:minmax(340px,.82fr) minmax(0,1.18fr)}.app-workspace{display:flex;flex-direction:column;height:100vh;min-height:0;overflow:hidden}.app-workspace .chat-layout{flex:1;min-height:0;align-items:stretch}.app-topbar{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:16px;align-items:center;border:1px solid #dbe3ea;border-radius:8px;padding:18px 20px;background:#fff;box-shadow:0 10px 28px #2132460f}.app-topbar h2{margin:0;font-size:28px;letter-spacing:0}.app-topbar .eyebrow{margin-bottom:4px}.back-button{display:inline-grid;place-items:center;width:42px;height:42px;padding:0;border:1px solid #cad3df;border-radius:6px;color:#176b87;background:#f7fafc;font-size:22px;font-weight:900}.back-button:hover{border-color:#176b87;background:#eef8fa}.single-app-chat{align-items:start}.reading-layout{display:grid;grid-template-columns:minmax(330px,.88fr) minmax(0,1.18fr) minmax(230px,.56fr);gap:18px;align-items:start}.reading-result{min-height:420px}.panel-header.compact{margin-bottom:12px}.reading-outputs{display:grid;gap:10px}.reading-outputs article{display:grid;gap:5px;border:1px solid #e1e8ef;border-radius:8px;padding:12px;background:#fbfcfd}.reading-outputs span{color:#6b7789;font-size:13px;line-height:1.5}.panel{padding:20px}.panel-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.panel-header p{margin:7px 0 0}.app-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.app-group-label{margin:18px 0 10px;color:#237d81;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.app-group-label:first-child{margin-top:0}.app-card{display:grid;grid-template-columns:48px minmax(0,1fr);gap:12px;min-height:166px;border:1px solid #dce4ec;border-radius:8px;padding:14px;color:inherit;background:#fbfcfd;text-align:left}.app-card:hover,.app-card:focus-visible{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 16%,transparent)}.app-card.disabled{opacity:.72}.app-card.disabled:hover,.app-card.disabled:focus-visible{border-color:#dce4ec;box-shadow:none}.app-icon{display:inline-grid;place-items:center;border-radius:8px;color:#fff;background:var(--accent);font-weight:900}.app-icon{width:48px;height:48px;font-size:18px}.app-meta{display:grid;gap:7px;min-width:0}.app-meta strong{font-size:17px}.app-meta small{line-height:1.55}.app-foot{display:flex;grid-column:1 / -1;align-items:center;justify-content:space-between;gap:12px;margin-top:auto}.app-foot em{color:#687589;font-style:normal}.app-foot b,.agent-badge{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;color:var(--accent);background:color-mix(in srgb,var(--accent) 12%,white);font-size:12px}.agent-form{display:grid;gap:14px}.agent-form span{display:block;margin-bottom:8px;color:#526173;font-size:13px;font-weight:800}textarea{resize:vertical}.primary-button,.ghost-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border:0;border-radius:6px;padding:12px 16px;font-weight:900}.primary-button{color:#fff;background:#176b87}.ghost-button{color:#d9e7f2;background:#ffffff1f}.ghost-button:hover{color:#143045;background:#8ed8d0}.prompt-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.prompt-list button{border:1px solid #dce4ec;border-radius:999px;padding:8px 11px;color:#2d6175;background:#f3f8f9;font-weight:800}.answer-card{border-left:4px solid #176b87;border-radius:8px;padding:14px 16px;background:#f3f8f9}.answer-card p,.markdown-answer{margin:0;min-height:28px;line-height:1.75}.markdown-answer{overflow-wrap:anywhere}.markdown-answer .markdown-image{display:block;max-width:100%;max-height:240px;width:auto;height:auto;margin:12px 0;border-radius:8px;box-shadow:0 2px 8px #0000001a;cursor:zoom-in}.image-lightbox{position:fixed;inset:0;z-index:60;background:#08111cd1;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;padding:32px;cursor:zoom-out;animation:modal-fade-in .16s ease-out}.image-lightbox-img{max-width:100%;max-height:100%;border-radius:8px;box-shadow:0 30px 80px #00000080;animation:modal-pop-in .2s cubic-bezier(.34,1.56,.64,1)}.media-lightbox{position:fixed;inset:0;z-index:60;background:#08111cd1;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;padding:32px;animation:modal-fade-in .16s ease-out}.media-lightbox-stage{position:relative;display:flex;align-items:center;justify-content:center;max-width:92vw;max-height:88vh;animation:modal-pop-in .2s cubic-bezier(.34,1.56,.64,1)}.media-lightbox-frame{width:min(960px,92vw);height:88vh;border:0;border-radius:8px;box-shadow:0 30px 80px #00000080;background:#fff}.media-lightbox-close{position:absolute;top:-14px;right:-14px;width:32px;height:32px;border:0;border-radius:50%;background:#141e2ceb;color:#fff;font-size:15px;line-height:1;cursor:pointer;box-shadow:0 4px 14px #0006}.media-lightbox-close:hover{background:#28364afa}.markdown-answer>*:first-child{margin-top:0}.markdown-answer>*:last-child{margin-bottom:0}.markdown-answer h3,.markdown-answer h4,.markdown-answer h5{margin:16px 0 8px;color:#172033;line-height:1.35}.markdown-answer h3{font-size:18px}.markdown-answer h4,.markdown-answer h5{font-size:16px}.markdown-answer p,.markdown-answer ul,.markdown-answer ol,.markdown-answer blockquote,.markdown-answer pre,.markdown-answer table{margin:10px 0}.markdown-answer ul,.markdown-answer ol{padding-left:22px}.markdown-answer li+li{margin-top:6px}.markdown-answer code{border-radius:4px;padding:2px 5px;background:#e8eef4;color:#1a4054;font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:.92em}.markdown-answer pre{overflow-x:auto;border-radius:6px;padding:12px;background:#172033}.markdown-answer pre code{display:block;padding:0;color:#f7fafc;background:transparent}.mermaid-block{overflow-x:auto;border:1px solid #dce4ec;border-radius:8px;padding:14px;background:#fbfcfd}.mermaid-block .mermaid{display:grid;min-width:280px;place-items:center}.mermaid-block svg{max-width:100%;height:auto}.mermaid-error{color:#8f1d1d;white-space:pre-wrap}.markdown-answer blockquote{border-left:3px solid #9bb8c5;padding-left:12px;color:#526173}.markdown-answer table{width:100%;border-collapse:collapse;font-size:14px}.markdown-answer th,.markdown-answer td{border:1px solid #dce4ec;padding:8px 10px;text-align:left;vertical-align:top}.markdown-answer th{background:#eef4f6}.markdown-answer a{color:#176b87;font-weight:800}.streaming-placeholder{color:#6b7789}.rich-html-block{--rich-border: #dce4ec;--rich-border-strong: #c8d5df;--rich-soft-bg: #f2f7f8;--rich-card-bg: rgba(255, 255, 255, .72);--rich-accent: #176b87;--rich-text: #172033;--rich-muted: #637184;width:100%;max-width:100%;margin:8px 0;overflow-x:auto;color:var(--rich-text);font-size:14px;line-height:1.7;scrollbar-width:thin}.rich-html-block *{max-width:100%}.rich-html-block>*:first-child{margin-top:0}.rich-html-block>*:last-child{margin-bottom:0}.rich-html-block h1,.rich-html-block h2,.rich-html-block h3,.rich-html-block h4,.rich-html-block h5,.rich-html-block h6{margin:14px 0 7px;color:var(--rich-text);font-weight:800;letter-spacing:0;line-height:1.35}.rich-html-block h1,.rich-html-block h2{font-size:18px}.rich-html-block h3,.rich-html-block h4{font-size:15.5px}.rich-html-block h5,.rich-html-block h6{font-size:14px}.rich-html-block p{margin:8px 0}.rich-html-block ul,.rich-html-block ol{margin:8px 0;padding-left:22px}.rich-html-block li+li{margin-top:4px}.rich-html-block section,.rich-html-block article,.rich-html-block header,.rich-html-block footer,.rich-html-block main,.rich-html-block aside,.rich-html-block .section,.rich-html-block .content,.rich-html-block .container,.rich-html-block .panel{margin:10px 0;padding:0;background:transparent}.rich-html-block hr{height:1px;margin:14px 0;border:0;background:var(--rich-border)}.rich-html-block small,.rich-html-block .muted,.rich-html-block .secondary,.rich-html-block .card-subtitle{color:var(--rich-muted)}.rich-html-block .text-primary,.rich-html-block .text-secondary,.rich-html-block .text-success,.rich-html-block .text-danger,.rich-html-block .text-warning,.rich-html-block .text-info,.rich-html-block .text-dark,.rich-html-block .text-body{color:inherit!important}.rich-html-block .text-muted{color:var(--rich-muted)!important}.rich-html-block .fw-bold,.rich-html-block .font-bold,.rich-html-block .font-semibold{font-weight:800}.rich-html-block .m-0{margin:0!important}.rich-html-block .mt-0{margin-top:0!important}.rich-html-block .mb-0{margin-bottom:0!important}.rich-html-block .mt-1,.rich-html-block .my-1{margin-top:4px!important}.rich-html-block .mb-1,.rich-html-block .my-1{margin-bottom:4px!important}.rich-html-block .mt-2,.rich-html-block .my-2{margin-top:6px!important}.rich-html-block .mb-2,.rich-html-block .my-2{margin-bottom:6px!important}.rich-html-block .mt-3,.rich-html-block .my-3{margin-top:8px!important}.rich-html-block .mb-3,.rich-html-block .my-3{margin-bottom:8px!important}.rich-html-block .mt-4,.rich-html-block .mt-5,.rich-html-block .my-4,.rich-html-block .my-5{margin-top:10px!important}.rich-html-block .mb-4,.rich-html-block .mb-5,.rich-html-block .my-4,.rich-html-block .my-5{margin-bottom:10px!important}.rich-html-block .card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:10px;margin:10px 0}.rich-html-block .course-card,.rich-html-block .classroom-card,.rich-html-block .info-card,.rich-html-block .card{display:flex;flex-direction:column;gap:6px;min-width:0;padding:12px;border:1px solid var(--rich-border);border-radius:8px;background:var(--rich-card-bg);box-shadow:inset 0 1px #ffffffad;transition:background .15s ease,border-color .15s ease}.rich-html-block .course-card:hover,.rich-html-block .classroom-card:hover,.rich-html-block .info-card:hover,.rich-html-block .card:hover{border-color:var(--rich-border-strong);background:#fff}.rich-html-block .course-card .card-title,.rich-html-block .classroom-card .card-title,.rich-html-block .info-card .card-title,.rich-html-block .card .card-title{margin:0;font-size:15px;font-weight:800;color:var(--rich-text)}.rich-html-block .course-card .card-subtitle,.rich-html-block .classroom-card .card-subtitle,.rich-html-block .info-card .card-subtitle,.rich-html-block .card .card-subtitle{margin:0;font-size:12px}.rich-html-block .course-card .card-meta,.rich-html-block .classroom-card .card-meta,.rich-html-block .info-card .card-meta,.rich-html-block .card .card-meta{display:flex;flex-wrap:wrap;gap:6px 12px;margin:4px 0 0;font-size:12.5px;color:#526173}.rich-html-block .course-card .card-meta span,.rich-html-block .classroom-card .card-meta span,.rich-html-block .info-card .card-meta span,.rich-html-block .card .card-meta span{display:inline-flex;align-items:center;gap:4px;min-width:0}.rich-html-block .course-card .card-content,.rich-html-block .classroom-card .card-content,.rich-html-block .info-card .card-content,.rich-html-block .card .card-content{margin:4px 0 0;font-size:13px;color:#334155;line-height:1.6}.rich-html-block .btn-link,.rich-html-block .btn-option,.rich-html-block .btn,.rich-html-block [class^=btn-],.rich-html-block [class*=" btn-"],.rich-html-block button,.rich-html-block .card-cta a,.rich-html-block .card-cta button{display:inline-flex;align-items:center;justify-content:center;gap:6px;margin:8px 6px 0 0;min-height:32px;padding:6px 12px;border:1px solid var(--rich-border-strong);border-radius:7px;background:#fff;color:var(--rich-accent);font-size:13px;font-weight:800;line-height:1.35;text-decoration:none;cursor:pointer;transition:background .15s ease,color .15s ease,border-color .15s ease}.rich-html-block .btn-link:hover,.rich-html-block .btn-option:hover,.rich-html-block .btn:hover,.rich-html-block [class^=btn-]:hover,.rich-html-block [class*=" btn-"]:hover,.rich-html-block button:hover,.rich-html-block .card-cta a:hover,.rich-html-block .card-cta button:hover{background:var(--rich-soft-bg);color:#0f5573;border-color:#9bb8c5}.rich-html-block a[role=button]{display:inline-flex;align-items:center;justify-content:center;min-height:32px;margin:8px 6px 0 0;padding:6px 12px;border:1px solid var(--rich-border-strong);border-radius:7px;background:#fff;color:var(--rich-accent);font-size:13px;font-weight:800;text-decoration:none}.rich-html-block a[role=button]:hover{background:var(--rich-soft-bg);border-color:#9bb8c5}.rich-html-block .btn-link.btn-primary,.rich-html-block .btn-option.btn-primary,.rich-html-block .btn-primary,.rich-html-block .btn-danger,.rich-html-block .btn-success,.rich-html-block .btn-outline-primary,.rich-html-block .btn-outline-danger,.rich-html-block .btn-outline-success,.rich-html-block .card-cta a.btn-primary,.rich-html-block .card-cta button.btn-primary{border-color:var(--rich-border-strong);background:#fff;color:var(--rich-accent)}.rich-html-block .btn-link.btn-primary:hover,.rich-html-block .btn-option.btn-primary:hover,.rich-html-block .btn-primary:hover,.rich-html-block .btn-danger:hover,.rich-html-block .btn-success:hover,.rich-html-block .btn-outline-primary:hover,.rich-html-block .btn-outline-danger:hover,.rich-html-block .btn-outline-success:hover,.rich-html-block .card-cta a.btn-primary:hover,.rich-html-block .card-cta button.btn-primary:hover{background:var(--rich-soft-bg);color:#0f5573;border-color:#9bb8c5}.rich-html-block .px-0{padding-right:0!important;padding-left:0!important}.rich-html-block .py-0{padding-top:0!important;padding-bottom:0!important}.rich-html-block .px-1,.rich-html-block .px-2{padding-right:10px!important;padding-left:10px!important}.rich-html-block .py-1,.rich-html-block .py-2{padding-top:6px!important;padding-bottom:6px!important}.rich-html-block .px-3,.rich-html-block .px-4,.rich-html-block .px-5{padding-right:12px!important;padding-left:12px!important}.rich-html-block .py-3,.rich-html-block .py-4,.rich-html-block .py-5{padding-top:6px!important;padding-bottom:6px!important}.rich-html-block .badge,.rich-html-block .tag,.rich-html-block .label,.rich-html-block .pill{display:inline-flex;align-items:center;min-height:22px;max-width:100%;padding:2px 8px;border:1px solid #cfe1e4;border-radius:999px;background:var(--rich-soft-bg);color:#2d6175;font-size:12px;font-weight:800;vertical-align:middle}.rich-html-block .card-cta,.rich-html-block .card-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.rich-html-block .card-cta a,.rich-html-block .card-cta button,.rich-html-block .card-actions a,.rich-html-block .card-actions button{margin:0}.rich-html-block table{width:100%;border-collapse:collapse;margin:10px 0;font-size:13.5px;background:#ffffffa8}.rich-html-block th,.rich-html-block td{border:1px solid var(--rich-border);padding:7px 9px;text-align:left;vertical-align:top}.rich-html-block th{background:#eef4f6;color:var(--rich-text);font-weight:800}.rich-html-block img{display:block;max-width:100%;height:auto;border-radius:8px;margin:8px 0}.rich-html-block a{color:var(--rich-accent);font-weight:800;text-decoration-thickness:1px;text-underline-offset:3px}@media(max-width:720px){.rich-html-block{font-size:13.5px}.rich-html-block h1,.rich-html-block h2{font-size:16px}.rich-html-block .card-grid{grid-template-columns:1fr}.rich-html-block .course-card,.rich-html-block .classroom-card,.rich-html-block .info-card,.rich-html-block .card{padding:10px}.rich-html-block .btn-link,.rich-html-block .btn-option,.rich-html-block .btn,.rich-html-block [class^=btn-],.rich-html-block [class*=" btn-"],.rich-html-block .card-cta a,.rich-html-block .card-cta button,.rich-html-block button,.rich-html-block a[role=button]{width:100%;margin-right:0}}.thinking-block{margin:0 0 10px;border-left:3px solid #c3d0dd;background:#eef2f6;border-radius:6px;overflow:hidden}.thinking-toggle{display:flex;align-items:center;gap:6px;width:100%;padding:6px 10px;background:transparent;border:none;color:#5a6b80;font-size:13px;text-align:left}.thinking-toggle:hover{color:#334155}.thinking-caret{font-size:11px;line-height:1}.thinking-content{padding:0 12px 10px;color:#5a6b80;font-size:13px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;max-height:320px;overflow-y:auto}.thinking-block.collapsed .thinking-content{display:none}.imagegen-progress{display:flex;flex-direction:column;align-items:stretch;gap:14px;padding:18px 20px 20px;background:linear-gradient(135deg,#f5f3ff,#fdf2f8,#fef3c7);border:1px solid rgba(139,92,246,.18);border-radius:14px;max-width:320px}.imagegen-grid{display:grid;grid-template-columns:repeat(8,1fr);grid-template-rows:repeat(8,1fr);gap:3px;width:100%;aspect-ratio:1 / 1;padding:6px;background:#fff9;border-radius:10px;box-shadow:0 2px 10px #0f172a0d inset}.imagegen-cell{width:100%;height:100%;border-radius:2px;background:hsl(var(--cell-hue, 280deg),78%,62%);opacity:0;transform:scale(.5);animation:imagegen-cell-light 3.4s ease-in-out infinite;will-change:opacity,transform}@keyframes imagegen-cell-light{0%,70%,to{opacity:0;transform:scale(.55)}40%{opacity:.95;transform:scale(1)}50%{opacity:.6;transform:scale(.92)}}.imagegen-progress-stage{font-size:14px;font-weight:600;color:#4c1d95;text-align:center;min-height:20px}.imagegen-progress-hint{font-size:12px;color:#7c3aed;text-align:center;opacity:.8}.imagegen-progress-hint span{font-variant-numeric:tabular-nums;font-weight:700}.render-blocks,.citation-list{display:grid;gap:10px;margin-top:14px}.workflow-card,.task-card,.course-card,.citation-list article{border:1px solid #e1e8ef;border-radius:8px;padding:13px;background:#fff}.workflow-card{display:flex;align-items:center;justify-content:space-between;gap:14px}.workflow-card strong,.workflow-card span,.citation-list strong,.citation-list span{display:block}.workflow-card span{margin-top:5px}.workflow-card a{flex:0 0 auto;border-radius:6px;padding:9px 12px;color:#fff;background:#176b87;font-weight:900;text-decoration:none}.task-card ul{display:grid;gap:8px;margin:10px 0 0;padding-left:18px}.course-card dl{display:grid;gap:8px;margin:12px 0 0}.course-card div{display:flex;justify-content:space-between;gap:14px;border-bottom:1px solid #edf1f5;padding-bottom:8px}.course-card div:last-child{border-bottom:0;padding-bottom:0}.course-card dt{color:#657287;font-weight:800}.course-card dd{margin:0}.citation-list h4{margin:6px 0 0}.citation-list span{margin-top:4px}.chat-layout{display:flex;gap:18px;align-items:stretch}.conv-panel{display:flex;position:relative;flex:0 0 var(--conv-width, 288px);flex-direction:column;gap:14px;min-height:0;width:var(--conv-width, 288px);height:100%;transition:flex-basis .24s cubic-bezier(.4,0,.2,1),width .24s cubic-bezier(.4,0,.2,1),padding .24s cubic-bezier(.4,0,.2,1),background .24s ease,border-color .24s ease,box-shadow .24s ease}.chat-layout.history-collapsed .conv-panel{flex:0 0 36px;width:36px;padding:0;background:transparent;border-color:transparent;box-shadow:none}.chat-layout.dragging .conv-panel{transition:none}.app-workspace .chat-layout>.chat-panel,.app-workspace .chat-layout>.panel.chat-panel{flex:1 1 auto;min-width:0}.conv-full{display:flex;flex-direction:column;gap:14px;min-height:0;height:100%;overflow:hidden;opacity:1;transition:opacity .18s ease}.chat-layout.history-collapsed .conv-full{opacity:0;pointer-events:none}.conv-header-row{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.conv-collapse-button,.conv-collapse-floating{position:absolute;top:4px;display:grid;place-items:center;width:32px;height:32px;padding:0;border:1px solid #cad3df;border-radius:6px;background:#fff;color:#6b7789;font-size:14px;line-height:1;cursor:pointer}.conv-collapse-button{right:4px;z-index:4;transition:border-color .15s,color .15s}.conv-collapse-button:hover{border-color:#176b87;color:#176b87}.conv-collapse-floating{left:2px;opacity:0;visibility:hidden;transform:scale(.9);transition:opacity .18s ease 0s,transform .2s ease,visibility 0s .18s,border-color .15s,color .15s}.chat-layout.history-collapsed .conv-collapse-floating{opacity:1;visibility:visible;transform:scale(1);transition:opacity .2s ease .08s,transform .2s ease .08s,visibility 0s,border-color .15s,color .15s}.conv-collapse-floating:hover{border-color:#176b87;color:#176b87}.conv-splitter{position:absolute;top:0;right:-13px;width:10px;height:100%;cursor:col-resize;z-index:5;opacity:1;transition:opacity .18s ease}.chat-layout.history-collapsed .conv-splitter{opacity:0;pointer-events:none}.conv-splitter:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:2px;height:36px;border-radius:2px;background:#cad3df;transition:background .15s,height .15s}.conv-splitter:hover:after,.conv-splitter.dragging:after{background:#176b87;height:56px}.conv-new{min-height:40px;padding:9px 12px}.conv-list{display:grid;gap:8px;overflow-y:auto;margin:0 -6px;padding:2px 6px}.conv-empty{margin:4px 2px;color:#6b7789;font-size:13px;line-height:1.6}.conv-item{display:flex;align-items:stretch;border:1px solid #dce4ec;border-radius:8px;background:#fbfcfd}.conv-item.active{border-color:#176b87;background:#eef8fa}.conv-open{display:grid;flex:1;gap:4px;min-width:0;border:0;border-radius:7px 0 0 7px;padding:10px 14px;background:transparent;text-align:left;cursor:pointer}.conv-open strong{display:flex;align-items:center;gap:6px;overflow:hidden;font-size:14px;font-weight:600}.conv-title-text{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conv-open small{color:#6b7789;font-size:12px}.conv-actions{position:relative;display:flex;align-items:stretch}.conv-more{width:32px;border:0;border-left:1px solid #e1e8ef;border-radius:0 7px 7px 0;background:transparent;cursor:grab;font-size:16px;line-height:1;color:#6b7789;letter-spacing:1px;-webkit-user-select:none;user-select:none}.conv-more:active,.conv-item.dragging .conv-more{cursor:grabbing}.conv-item.active .conv-more{border-left-color:#b6d8df}.conv-more:hover,.conv-item.menu-open .conv-more{background:#eef3f7;color:#182130}.conv-item.dragging{opacity:.45;outline:1px dashed #176b87}.conv-item{transition:transform .18s ease}.conv-menu{position:fixed;z-index:1000;min-width:108px;padding:4px;border:1px solid #dce4ec;border-radius:8px;background:#fff;box-shadow:0 8px 24px #14243c1f;display:flex;flex-direction:column;gap:2px}.conv-menu-item{border:0;border-radius:6px;padding:6px 10px;background:transparent;cursor:pointer;font-size:13px;color:#182130;text-align:left}.conv-menu-item:hover{background:#f0f4f8}.conv-menu-item.danger{color:#c0392b}.conv-menu-item.danger:hover{background:#fdecea}.conv-streaming-dot{flex:0 0 8px;width:8px;height:8px;border-radius:50%;background:#17a2a4;box-shadow:0 0 #17a2a473;animation:conv-streaming-pulse 1.2s ease-in-out infinite}@keyframes conv-streaming-pulse{0%,to{opacity:.45;box-shadow:0 0 #17a2a473}50%{opacity:1;box-shadow:0 0 0 4px #17a2a400}}.conv-done-dot{display:inline-block;flex:0 0 8px;width:8px;height:8px;border-radius:50%;background:#2ecc71;box-shadow:0 0 0 3px #2ecc712e}.generation-form{display:grid;gap:12px;padding:16px;border-top:1px solid #e1e8ef;background:#fafbfc}.generation-form label{display:grid;gap:6px}.generation-form span{font-size:13px;font-weight:500;color:#182130}.generation-form textarea{padding:10px 12px;border:1px solid #d0d7e0;border-radius:6px;font-size:13px;resize:vertical;background:#fff}.generation-form textarea:focus{outline:none;border-color:#176b87;box-shadow:0 0 0 2px #176b871a}.generation-form textarea:disabled{background:#f0f2f5;color:#9ca3af;cursor:not-allowed}.generation-buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px}.generation-buttons button{padding:10px 14px;font-size:13px;font-weight:500;transition:all .2s}.generation-buttons button:disabled{opacity:.6}.generation-results{display:grid;gap:12px;padding:16px;height:100%;overflow-y:auto}.results-header{display:flex;justify-content:space-between;align-items:center;padding-bottom:8px;border-bottom:1px solid #e1e8ef}.results-header h3{margin:0;font-size:14px;font-weight:600;color:#182130}.results-header .ghost-button{padding:4px 12px;font-size:12px;background:transparent;border:1px solid #d0d7e0;border-radius:4px;color:#6b7789;cursor:pointer;transition:all .2s}.results-header .ghost-button:hover{background:#f6f8fa;border-color:#176b87;color:#176b87}.results-list{display:grid;gap:12px}.result-item{display:grid;gap:8px;padding:12px;border:1px solid #d0d7e0;border-radius:6px;background:#fff;overflow:hidden}.result-item.success{border-color:#4ade80;background:#f0fdf4}.result-item.processing{border-color:#facc15;background:#fffbeb}.result-item.failed{border-color:#ef4444;background:#fef2f2}.result-item.image-result{grid-template-columns:1fr auto;gap:12px}.result-preview{overflow:hidden;border-radius:4px;background:#f0f2f5}.result-preview img{display:block;width:100%;height:auto;max-width:200px;max-height:200px;object-fit:cover}.result-info{display:flex;flex-direction:column;gap:8px;font-size:12px}.result-status{font-weight:600;color:#182130}.result-item.success .result-status{color:#16a34a}.result-item.processing .result-status{color:#ca8a04}.result-item.failed .result-status{color:#dc2626}.result-link{color:#176b87;text-decoration:none;font-weight:500;transition:color .2s}.result-link:hover{color:#0d4a66;text-decoration:underline}.result-item small{color:#6b7789}.result-item p{margin:0;color:#6b7789;font-size:12px}.result-item .error-text{color:#dc2626;font-weight:500}@media(max-width:768px){.generation-buttons,.result-item.image-result{grid-template-columns:1fr}}.chat-panel{display:flex;flex-direction:column;gap:14px;min-height:0;height:100%;overflow:hidden}.chat-thread{display:flex;flex:1;flex-direction:column;gap:14px;overflow-y:auto;min-height:0;padding-right:4px}.chat-empty{display:grid;place-items:center;height:100%;min-height:240px;color:#6b7789;text-align:center;line-height:1.7}.chat-bubble{display:grid;gap:6px;max-width:88%}.chat-bubble.user{align-self:flex-end;justify-items:end}.chat-bubble.assistant{align-self:flex-start}.bubble-role{color:#6b7789;font-size:12px;font-weight:800}.bubble-body{border:1px solid #dce4ec;border-radius:10px;padding:12px 14px;line-height:1.75}.chat-bubble.user .bubble-body{border-color:#176b87;background:#176b87;color:#fff;width:fit-content;max-width:100%;margin-left:auto}.chat-bubble.assistant .bubble-body{background:#f7fafc}.chat-bubble.failed .bubble-body{border-color:#e7b6b6;background:#fdecec;color:#8f1d1d}.bubble-text{overflow-wrap:anywhere}.bubble-attachments{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}.bubble-cancel-hint{margin-top:8px;font-size:12px;color:#8a96a3}.exported-files{margin-top:8px}.exported-files .bubble-attachments{margin-top:0;margin-bottom:0}.export-pending{display:inline-flex;align-items:center;gap:8px;margin-top:8px;padding:5px 12px;font-size:13px;color:#4a5568;background:#eef3fb;border:1px solid #d6e0f0;border-radius:14px}.export-spinner{width:13px;height:13px;border:2px solid #c7d2e0;border-top-color:#3b6fb0;border-radius:50%;animation:export-spin .7s linear infinite}@keyframes export-spin{to{transform:rotate(360deg)}}.bubble-attachment-chip{display:inline-flex;align-items:center;gap:4px;padding:3px 10px;border-radius:999px;background:#ffffff2e;color:#fff;font-size:12px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}button.bubble-attachment-chip{border:none;cursor:pointer;font:inherit}button.bubble-attachment-chip:hover{background:#ffffff4d}.bubble-attachment-thumb{display:inline-flex;align-items:center;gap:4px;max-width:160px}.bubble-attachment-thumb[data-thumb-pending]{padding:3px 10px;border-radius:999px;background:#ffffff2e;color:#fff;font-size:12px}.bubble-attachment-thumb-img{display:block;max-width:160px;max-height:160px;border-radius:10px;object-fit:cover;cursor:pointer}.bubble-attachment-media{display:block;max-width:260px}.bubble-attachment-media[data-media-pending]{display:inline-flex;align-items:center;gap:4px;padding:3px 10px;border-radius:999px;background:#ffffff2e;color:#fff;font-size:12px}.bubble-attachment-video{display:block;max-width:100%;max-height:320px;border-radius:10px;background:#000}.bubble-attachment-audio{display:block;width:100%}.bubble-attachment-mediacard{display:inline-flex;align-items:center;gap:4px;padding:4px 12px;border:none;border-radius:999px;background:#ffffff2e;color:#fff;font-size:12px;cursor:pointer;font:inherit;max-width:100%}.bubble-attachment-mediacard:hover{background:#ffffff4d}.chat-form{border-top:1px solid #e1e8ef;padding-top:14px;position:relative;transition:background .15s,box-shadow .15s}.agent-form.drag-over{outline:2px dashed #176b87;outline-offset:-4px;background:#176b870f;border-radius:10px}.agent-form.drag-over:before{content:"释放即上传文件";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:4;pointer-events:none;padding:10px 18px;background:#176b87;color:#fff;font-weight:700;font-size:14px;border-radius:999px;box-shadow:0 8px 24px #176b875c}.reading-attachment-field{background:#fbfcfd;border:1px solid #e1e8ef;border-radius:8px;padding:12px 14px}.attachment-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.reading-attachment-field .attachment-pick span,.reading-attachment-field .attachment-name,.reading-attachment-field .attachment-hint{display:inline;margin:0;font-weight:600;font-size:13px}.attachment-pick{display:inline-flex;align-items:center;min-height:36px;padding:6px 14px;border:1px dashed #b9c6d4;border-radius:6px;color:#176b87;background:#fff;cursor:pointer}.attachment-pick:hover{border-color:#176b87}.attachment-pick input{display:none}.attachment-pick.disabled{opacity:.55;cursor:not-allowed}.reading-attachment-field .attachment-chip{display:inline-flex;align-items:center;gap:8px;padding:5px 6px 5px 12px;border-radius:999px;background:color-mix(in srgb,#176b87 14%,white);color:#143045}.reading-attachment-field .attachment-name{display:inline-block;max-width:240px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.attachment-remove{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border:0;border-radius:50%;background:#1430451f;color:#143045;font-size:14px;line-height:1;cursor:pointer}.attachment-remove:hover{background:#1430453d}.attachment-remove:disabled{opacity:.5;cursor:not-allowed}.reading-attachment-field .attachment-hint{color:#8a98a8;font-size:12px}.attachment-status,.attachment-error{margin:8px 0 0;font-size:12px}.attachment-status{color:#176b87}.attachment-error{color:#c0392b}.composer-box{display:flex;flex-direction:column;gap:4px;padding:10px 12px 8px;border:1px solid #d0d7e0;border-radius:14px;background:#fff;transition:border-color .15s,box-shadow .15s}.composer-box:focus-within{border-color:#176b87;box-shadow:0 0 0 3px #176b871f}.composer-box textarea,.composer-box textarea:focus{width:100%;min-height:44px;max-height:200px;padding:6px 4px;border:0;outline:0;box-shadow:none;background:transparent;color:inherit;font:inherit;line-height:1.6;resize:none}.composer-actions{display:flex;align-items:center;gap:4px}.composer-spacer{flex:1}.composer-icon{display:inline-grid;place-items:center;width:32px;height:32px;padding:0;border:0;border-radius:999px;background:transparent;color:#6b7789;font-size:16px;cursor:pointer;transition:background .15s,color .15s}.composer-icon:hover:not(:disabled):not(.disabled){background:#176b871a;color:#176b87}.composer-icon:disabled,.composer-icon.disabled{opacity:.45;cursor:not-allowed}.composer-icon input{display:none}.composer-icon.composer-icon-labeled{display:inline-flex;align-items:center;justify-content:center;width:auto;height:32px;gap:5px;padding:0 12px;box-sizing:border-box;border:1px solid rgba(23,107,135,.35);color:#176b87}.composer-icon.composer-icon-labeled svg{display:block;flex:none}.composer-attach-text{font-size:13px;line-height:1;transform:translateY(3px)}.composer-send{display:inline-grid;place-items:center;width:32px;height:32px;padding:0;border:0;border-radius:999px;background:#176b87;color:#fff;font-size:16px;font-weight:700;line-height:1;cursor:pointer;transition:background .15s,opacity .15s,transform .1s}.composer-send:hover:not(:disabled){background:#0d4a66}.composer-send:active:not(:disabled){transform:scale(.92)}.composer-send:disabled{opacity:.4;cursor:not-allowed}.composer-send.stop{background:#c0392b}.composer-send.stop:hover{background:#a02718}.attachment-chip-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:4px}.attachment-chip-row .attachment-chip{display:inline-flex;align-items:center;gap:6px;padding:4px 6px 4px 12px;border-radius:999px;background:color-mix(in srgb,#176b87 12%,white);color:#143045;font-size:13px;max-width:100%}.attachment-chip-row .attachment-name{display:inline-block;max-width:240px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.attachment-chip-row .attachment-status,.attachment-chip-row .attachment-error{margin:0;font-size:12px}@media(max-width:1180px){.hero,.assistant-grid,.reading-layout{grid-template-columns:1fr}.quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:800px){.chat-layout{flex-direction:column}.chat-layout .conv-splitter{display:none}.conv-panel{position:static;max-height:none;width:auto!important;flex:0 0 auto!important}.chat-layout.history-collapsed .conv-panel{flex:0 0 36px!important;width:auto!important;height:36px;padding:0}.conv-list{max-height:320px}.chat-panel{min-height:0}.chat-thread{max-height:480px}}@media(max-width:720px){.toast{right:16px;left:16px;max-width:none}.workspace,.sidebar,.hero{padding:18px}.hero h2{font-size:32px}.quick-grid,.app-grid{grid-template-columns:1fr}.panel-header,.workflow-card{align-items:stretch;flex-direction:column}.app-topbar{grid-template-columns:auto minmax(0,1fr)}.app-topbar .agent-badge{grid-column:1 / -1;width:fit-content}}.bubble-tts{margin-top:8px;display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-end}.citations-block{margin-top:10px;padding-top:8px;border-top:1px dashed rgba(127,127,127,.3)}.citations-toggle{display:flex;align-items:center;gap:6px;background:none;border:none;padding:0;cursor:pointer;font-size:12px;font-weight:600;opacity:.65;color:inherit}.citations-toggle:hover{opacity:.9}.citations-caret{font-size:10px}.citations-label{font-size:12px;font-weight:600}.citations-block.collapsed .citations-list{display:none}.citations-list{list-style:none;margin:6px 0 0;padding:0;display:flex;flex-direction:column;gap:4px}.citation-item{font-size:12px;line-height:1.5;display:flex;flex-wrap:wrap;align-items:baseline;gap:6px}.citation-favorite{border:1px solid #c9d7df;border-radius:999px;background:#fff;color:#176b87;cursor:pointer;font-size:12px;padding:2px 8px}.citation-favorite.active,.citation-favorite:disabled{cursor:default;opacity:.7}.citation-favorite.active{background:#e7f4ef;border-color:#9bd0bc;color:#18735a}.citation-link{color:#16727a;text-decoration:none;font-weight:500}.citation-link:hover{text-decoration:underline}.citation-title{font-weight:500}.citation-page{opacity:.6}.citation-snippet{opacity:.7;flex-basis:100%;min-width:0;font-style:italic;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.bubble-tts button{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:6px 12px;border:1px solid #c9d5e0;border-radius:6px;background:#fff;color:#176b87;font-size:13px;font-weight:700;cursor:pointer;transition:background .15s,color .15s}.bubble-tts button:hover:not([disabled]){background:#176b87;color:#fff}.bubble-tts button[disabled]{opacity:.55;cursor:not-allowed}.bubble-tts audio{width:100%;max-width:360px}.answer-feedback{margin-top:10px;padding-top:8px;border-top:1px dashed rgba(127,127,127,.3);display:flex;flex-wrap:wrap;gap:8px;align-items:center}.answer-feedback>button{border:1px solid #d6e0e7;background:#fff;color:#415466;border-radius:999px;padding:4px 10px;font-size:12px;cursor:pointer}.answer-feedback>button.active{border-color:#176b87;color:#176b87;background:#176b8714}.answer-feedback-state,.answer-feedback-error{font-size:12px}.answer-feedback-state{color:#607080}.answer-feedback-error{color:#b42318}.answer-feedback-form{flex-basis:100%;display:grid;gap:8px}.answer-feedback-form textarea{width:100%;border:1px solid #cbd8e3;border-radius:6px;padding:8px;font:inherit;resize:vertical}.answer-feedback-form-actions{display:flex;gap:8px}.answer-feedback-form-actions .ghost-button{color:#607080;background:#e2e8f0;font-weight:600}.answer-feedback-form-actions .ghost-button:hover{color:#143045;background:#cbd5e0}.voice-recorder{display:flex;flex-direction:column;align-items:center;gap:12px;padding:18px 12px}.voice-record-button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;width:96px;height:96px;border:0;border-radius:50%;background:#176b87;color:#fff;cursor:pointer;transition:transform .12s ease,background .15s;box-shadow:0 4px 14px #176b8759}.voice-record-button:hover:not([disabled]){background:#1f86a8;transform:scale(1.04)}.voice-record-button[disabled]{opacity:.55;cursor:not-allowed}.voice-mic-icon{font-size:32px;line-height:1}.voice-record-label{font-size:13px;font-weight:700}.voice-hint{margin:0;font-size:12px;color:#94a3b8}.voice-error{margin:0;font-size:13px;color:#b91c1c;text-align:center}.voice-recording-row{display:flex;align-items:center;gap:12px}.voice-pulse{width:14px;height:14px;border-radius:50%;background:#ef4444;animation:voice-pulse 1.2s ease-in-out infinite}@keyframes voice-pulse{0%,to{transform:scale(1);opacity:1}50%{transform:scale(1.4);opacity:.6}}.voice-elapsed{font-variant-numeric:tabular-nums;font-weight:700;font-size:16px;color:#176b87;min-width:40px;text-align:center}.voice-stop-button{min-height:40px;padding:8px 18px;border:0;border-radius:6px;background:#b91c1c;color:#fff;font-weight:700;cursor:pointer}.voice-stop-button:hover{background:#dc2626}.voice-preview{width:100%;max-width:360px}.voice-preview-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.voice-preview-actions .ghost-button,.voice-preview-actions .primary-button{min-height:38px;padding:8px 14px}.chat-form-actions{display:flex;gap:8px;align-items:stretch}.chat-form-actions .primary-button{flex:1}.stop-stream-button{flex:1;min-height:38px;padding:8px 14px;border:1px solid #c0392b;border-radius:6px;background:#fff;color:#c0392b;font-weight:600;cursor:pointer}.stop-stream-button:hover{background:#c0392b;color:#fff}.voice-inline-button{min-width:48px;border:1px solid #c9d5e0;border-radius:6px;background:#fff;color:#176b87;font-size:20px;cursor:pointer;transition:background .15s,color .15s}.voice-inline-button:hover:not([disabled]){background:#176b87;color:#fff}.voice-inline-button[disabled]{opacity:.55;cursor:not-allowed}.apikeys-section{--bg: #eef2f5;--panel: #ffffff;--panel-hover: #fbfcfd;--panel-border: #dce4ec;--panel-border-focus: #176b87;--text: #182130;--text-muted: #6b7789;--primary: #176b87;--primary-glow: rgba(23, 107, 135, .15);--accent: #1f86a8;--accent-glow: rgba(31, 134, 168, .15);--success: #2ecc71;--success-glow: rgba(46, 204, 113, .15);--danger: #c0392b;--danger-glow: rgba(192, 57, 43, .15);--warning: #f59e0b;--warning-glow: rgba(245, 158, 11, .15);--shadow: 0 4px 20px rgba(20, 36, 60, .08)}.apikeys-section .stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin-bottom:8px;margin-top:0}.apikeys-section .stat{background:var(--panel);border:1px solid var(--panel-border);border-radius:12px;padding:20px;box-shadow:var(--shadow);position:relative;overflow:hidden;transition:border-color .3s ease,transform .3s ease}.apikeys-section .stat:hover{border-color:#176b874d;transform:translateY(-2px)}.apikeys-section .stat:before{content:"";position:absolute;top:0;left:0;width:4px;height:100%;background:var(--primary)}.apikeys-section .stat:nth-child(2):before{background:var(--accent)}.apikeys-section .stat:nth-child(3):before{background:var(--danger)}.apikeys-section .stat:nth-child(4):before{background:var(--warning)}.apikeys-section .stat .value{font-size:32px;font-weight:800;line-height:1.1;color:var(--text)}.apikeys-section .stat .label{font-size:13px;font-weight:500;color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em;margin-top:8px}.apikeys-section .grid{display:grid;grid-template-columns:1fr 1.2fr;gap:24px;align-items:start}.apikeys-section .stack{display:grid;gap:24px}.apikeys-section .card{background:var(--panel);border:1px solid var(--panel-border);border-radius:16px;padding:24px;box-shadow:var(--shadow)}.apikeys-section .card h3{font-size:18px;font-weight:700;margin-bottom:12px;color:var(--text)}.apikeys-section .section-title{display:flex;justify-content:space-between;align-items:center}.apikeys-section .muted-desc{font-size:13px;color:var(--text-muted);line-height:1.5;margin-bottom:20px}.apikeys-section .form-grid{display:grid;gap:16px}.apikeys-section .field{display:grid;gap:8px}.apikeys-section .field label{font-size:13px;font-weight:600;color:var(--text-muted)}.apikeys-section .field input,.apikeys-section .search-bar input,.apikeys-section .search-bar select{width:100%;border-radius:8px;border:1px solid var(--panel-border);background:#fff;color:var(--text);padding:10px 14px;font-size:14px;outline:none;transition:all .2s ease}.apikeys-section .field input:focus,.apikeys-section .search-bar input:focus,.apikeys-section .search-bar select:focus{border-color:var(--panel-border-focus);box-shadow:0 0 0 3px var(--primary-glow)}.apikeys-section .profile{display:grid;gap:12px}.apikeys-section .profile-header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--panel-border);padding-bottom:12px}.apikeys-section .profile-detail-row{display:flex;justify-content:space-between;font-size:13px;padding:6px 0;border-bottom:1px dashed rgba(0,0,0,.05)}.apikeys-section .profile-detail-row span:first-child{color:var(--text-muted)}.apikeys-section .profile-detail-row span:last-child{font-weight:500}.apikeys-section .chips{display:flex;gap:6px;flex-wrap:wrap}.apikeys-section .chip{font-size:11px;font-weight:600;padding:3px 8px;border-radius:6px;background:#f1f5f9;color:var(--text-muted);border:1px solid var(--panel-border)}.apikeys-section .chip.role-badge{background:#176b8714;color:#176b87;border-color:#176b8733}.apikeys-section .chip.active{background:#2ecc7114;color:#2ecc71;border-color:#2ecc7133}.apikeys-section .chip.revoked{background:#c0392b14;color:#c0392b;border-color:#c0392b33}.apikeys-section .chip.scope-badge{font-family:monospace;background:#1f86a80d;color:#1f86a8;border-color:#1f86a826}.apikeys-section .list{display:grid;gap:16px}.apikeys-section .key-card{background:#fafbfc;border:1px solid var(--panel-border);border-radius:12px;padding:16px;transition:all .2s ease;display:flex;flex-direction:column;gap:12px}.apikeys-section .key-card:hover{transform:translateY(-1px);background:#f1f5f9;box-shadow:0 4px 12px #00000005}.apikeys-section .key-head{display:flex;justify-content:space-between;align-items:center;gap:16px}.apikeys-section .key-info{display:flex;flex-direction:column;gap:4px}.apikeys-section .key-name{font-size:15px;font-weight:700;color:var(--text)}.apikeys-section .key-meta{display:flex;align-items:center;gap:10px}.apikeys-section .key-prefix{font-family:monospace;font-size:12px;color:var(--accent);background:#1f86a814;padding:2px 6px;border-radius:4px;cursor:pointer}.apikeys-section .key-owner{font-size:13px;color:var(--text-muted);display:flex;align-items:center;gap:6px}.apikeys-section .key-dates{font-size:12px;color:var(--text-muted);display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:6px;border-top:1px dashed var(--panel-border);padding-top:10px}.apikeys-section .secret-box{background:#f59e0b0a;border:1px solid rgba(245,158,11,.2);border-radius:12px;padding:16px;margin-top:16px;display:flex;flex-direction:column;gap:12px;animation:apikeyPulseGlow 2s infinite alternate}@keyframes apikeyPulseGlow{0%{box-shadow:0 0 8px #f59e0b08}to{box-shadow:0 0 16px #f59e0b1a}}.apikeys-section .secret-value{font-family:monospace;background:#fff;border:1px solid rgba(245,158,11,.15);padding:10px;border-radius:6px;font-size:13px;color:#b45309;word-break:break-all;text-align:center;-webkit-user-select:all;user-select:all}.apikeys-section .search-bar{display:grid;grid-template-columns:2fr 1fr;gap:14px;margin-bottom:20px}.apikeys-section .notice,.apikeys-section .error,.apikeys-section .success{border-radius:8px;padding:12px 16px;font-size:13px;font-weight:500;display:flex;align-items:center;gap:10px;line-height:1.5;margin-bottom:16px}.apikeys-section .notice{background:#1f86a814;border:1px solid rgba(31,134,168,.2);color:#143045}.apikeys-section .success{background:#2ecc7114;border:1px solid rgba(46,204,113,.2);color:#1e7e34}.apikeys-section .error{background:#c0392b14;border:1px solid rgba(192,57,43,.2);color:#c0392b}.apikeys-section .button{background:var(--primary);color:#fff;border:none;font-weight:700;border-radius:8px;padding:10px 18px;font-size:14px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:background .15s}.apikeys-section .button:hover{background:#1f86a8}.apikeys-section .button:disabled{opacity:.6;cursor:not-allowed}.apikeys-section .tabs-container{display:flex;background:#e2e8f0;padding:4px;border-radius:8px;margin-bottom:24px;width:max-content}.apikeys-section .tab-btn{padding:6px 16px;border-radius:6px;background:transparent;color:var(--text-muted);border:none;font-weight:500;cursor:pointer;font-size:13px;transition:all .15s}.apikeys-section .tab-btn:hover{color:var(--text);background:#ffffff80}.apikeys-section .tab-btn.active{background:#fff;color:var(--text);box-shadow:0 1px 3px #0000001a;font-weight:600}.apikeys-section .scopes-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;margin-top:8px;margin-bottom:8px}.apikeys-section .scope-checkbox-card{display:flex;align-items:flex-start;gap:10px;background:#fff;border:1px solid var(--panel-border);padding:10px;border-radius:8px;cursor:pointer;transition:all .2s ease;-webkit-user-select:none;user-select:none}.apikeys-section .scope-checkbox-card:hover{background:#f8fafc;border-color:#176b874d}.apikeys-section .scope-checkbox-card input[type=checkbox]{width:15px;height:15px;margin-top:2px;accent-color:var(--primary);cursor:pointer}.apikeys-section .scope-checkbox-info{display:flex;flex-direction:column;gap:2px}.apikeys-section .scope-checkbox-label{font-size:12px;font-weight:600;color:var(--text)}.apikeys-section .scope-checkbox-desc{font-size:11px;color:var(--text-muted);line-height:1.3}.apikeys-section .audits-trigger-btn{background:none;border:none;color:var(--primary);font-size:12px;font-weight:600;cursor:pointer;display:inline-flex;align-items:center;gap:6px;padding:0;margin-top:10px;transition:color .15s;align-self:flex-start}.apikeys-section .audits-trigger-btn:hover{color:#1f86a8;text-decoration:underline}.apikeys-section .audits-panel{margin-top:12px;border-top:1px dashed var(--panel-border);padding-top:12px;display:none}.apikeys-section .audits-panel.expanded{display:block}.apikeys-section .audits-table-container{width:100%;overflow-x:auto;background:#fff;border-radius:8px;border:1px solid var(--panel-border)}.apikeys-section .audits-table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}.apikeys-section .audits-table th,.apikeys-section .audits-table td{padding:8px 12px;border-bottom:1px solid var(--panel-border)}.apikeys-section .audits-table th{background:#f8fafc;font-weight:600;color:var(--text)}.apikeys-section .audits-table tr:last-child td{border-bottom:none}.apikeys-section .audit-status-badge{font-size:10px;font-weight:600;padding:2px 6px;border-radius:4px}.apikeys-section .audit-status-badge.succeeded{background:#2ecc711a;color:#2ecc71}.apikeys-section .audit-status-badge.failed{background:#c0392b1a;color:#c0392b}.apikeys-section .audit-latency{font-family:monospace;color:var(--text-muted)}.apikeys-section .audit-loading{display:flex;align-items:center;gap:8px;color:var(--text-muted);font-size:12px;padding:8px 0}.apikeys-section .audit-empty{color:var(--text-muted);font-size:12px;padding:8px 0;text-align:center}.apikeys-section .toolbar{display:flex;justify-content:flex-end;align-items:center;gap:12px;width:100%}.copywriting-workspace-layout{display:grid;grid-template-columns:380px 1fr;height:100%;overflow:hidden;background:#f7f9fb}.copywriting-left-pane{background:#fff;border-right:1px solid #e1e8ed;display:flex;flex-direction:column;height:100%;overflow-y:auto;padding:1.5rem;box-shadow:2px 0 8px #00000005}.copywriting-left-pane h3{margin-top:0;margin-bottom:1.5rem;font-size:1.1rem;font-weight:700;color:#1a202c;border-bottom:2px solid #f0f2f5;padding-bottom:.75rem}.form-group{margin-bottom:1.25rem;display:flex;flex-direction:column;gap:.5rem}.form-group label{font-size:.85rem;font-weight:600;color:#4a5568}.form-group select,.form-group input,.form-group textarea{padding:.65rem .8rem;border:1px solid #cbd5e0;border-radius:6px;font-size:.9rem;background:#fff;transition:all .2s ease}.form-group select:focus,.form-group input:focus,.form-group textarea:focus{border-color:#e27b22;box-shadow:0 0 0 3px #e27b2226;outline:none}.option-group-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.5rem}.btn-option{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:.6rem;background:#f7fafc;border:1px solid #e2e8f0;border-radius:6px;font-size:.85rem;font-weight:550;color:#4a5568;text-align:center;transition:all .2s}.btn-option:hover{background:#edf2f7;border-color:#cbd5e0}.btn-option.active{background:#e27b2214;border-color:#e27b22;color:#e27b22;font-weight:600}.copywriting-right-pane{display:flex;flex-direction:column;height:100%;overflow:hidden;background:#f8fafc}.copywriting-cards-container{display:flex;flex-direction:column;gap:1.5rem;padding:.5rem 0}.copywriting-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 4px 12px #00000008;overflow:hidden;transition:transform .2s,box-shadow .2s}.copywriting-card:hover{transform:translateY(-2px);box-shadow:0 8px 18px #0000000f}.copywriting-card .card-header{display:flex;justify-content:space-between;align-items:center;padding:.8rem 1.2rem;background:#f8fafc;border-bottom:1px solid #edf2f7}.copywriting-card .card-body{padding:1.2rem}.copywriting-card .card-title{margin:0 0 .5rem;font-size:1.05rem;font-weight:700;color:#1e293b}.copywriting-card .card-subtitle{margin:0 0 1rem;font-size:.9rem;color:#64748b}.copywriting-card .card-content{font-size:.95rem;line-height:1.6;color:#334155;background:#fafbfd;padding:1rem;border-radius:8px;border:1px solid #f1f5f9}.copywriting-card .card-cta{margin-top:1rem;font-size:.9rem;color:#475569;display:flex;align-items:center;gap:.5rem}.copywriting-card .card-actions{display:flex;gap:.5rem;padding:.8rem 1.2rem;background:#f8fafc;border-top:1px solid #edf2f7}.copywriting-card .shortcut-btn{flex:1;padding:.5rem;border:1px solid #e2e8f0;background:#fff;border-radius:6px;font-size:.8rem;font-weight:550;color:#475569;transition:all .2s;display:flex;align-items:center;justify-content:center;gap:4px}.copywriting-card .shortcut-btn:hover{background:#f1f5f9;border-color:#cbd5e1;color:#0f172a}.writing-phase-stepper{display:flex;align-items:center;gap:0;margin-bottom:1.25rem;padding:.75rem .5rem;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0}.phase-step{display:flex;flex-direction:column;align-items:center;gap:4px;flex:1;font-size:.72rem;font-weight:600;color:#94a3b8;transition:color .25s}.phase-step .phase-num{width:24px;height:24px;border-radius:50%;border:2px solid #cbd5e1;background:#fff;display:flex;align-items:center;justify-content:center;font-size:.7rem;font-weight:700;transition:all .25s}.phase-step.active{color:#e27b22}.phase-step.active .phase-num{border-color:#e27b22;background:#e27b22;color:#fff}.phase-step.done{color:#22c55e}.phase-step.done .phase-num{border-color:#22c55e;background:#22c55e;color:#fff;font-size:.65rem}.phase-connector{flex:0 0 24px;height:2px;background:#e2e8f0;margin-top:-12px}.writing-generate-btn{width:100%;margin-top:1rem;padding:.8rem;background:#e27b22;color:#fff;border:none;border-radius:6px;font-weight:700;font-size:.95rem;cursor:pointer;transition:background .2s,opacity .2s}.writing-generate-btn:hover:not(:disabled){background:#c96e1a}.writing-generate-btn:disabled{opacity:.6;cursor:not-allowed}.writing-regen-btn{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;margin-top:.5rem;padding:.6rem;background:transparent;color:#64748b;border:1px solid #cbd5e1;border-radius:6px;font-size:.85rem;cursor:pointer;transition:all .2s}.writing-regen-btn:hover:not(:disabled){background:#f1f5f9;border-color:#94a3b8;color:#334155}.writing-doc-pane{display:flex;flex-direction:column;height:100%;overflow:hidden;background:#fafbfc}.outline-editor-header{display:flex;align-items:center;justify-content:space-between;padding:.75rem 1.25rem;background:#fff;border-bottom:1px solid #e2e8f0;gap:1rem;flex-shrink:0}.outline-editor-title{display:flex;align-items:center;gap:.75rem;flex:1;min-width:0}.outline-badge{display:inline-flex;align-items:center;padding:.25rem .6rem;background:#e27b221a;color:#e27b22;font-size:.8rem;font-weight:700;border-radius:4px;white-space:nowrap}.fulltext-badge{background:#22c55e1a;color:#16a34a}.outline-hint{font-size:.8rem;color:#94a3b8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.writing-nav-btn{display:inline-flex;align-items:center;gap:6px;padding:.35rem .75rem;font-size:.8rem;border:1px solid #e2e8f0;background:#fff;border-radius:5px;color:#64748b;cursor:pointer;white-space:nowrap;transition:all .15s;flex-shrink:0}.writing-nav-btn:hover{background:#f1f5f9;border-color:#94a3b8;color:#334155}.outline-editor-body{flex:1;overflow-y:auto;padding:1.5rem 2rem;outline:none;font-size:.95rem;line-height:1.75;color:#1e293b;caret-color:#e27b22;background:#fff;border:none;min-height:0}.outline-editor-body:focus{box-shadow:inset 0 0 0 2px #e27b2226}.outline-editor-body h2{font-size:1.2rem;font-weight:700;color:#0f172a;margin:1.25rem 0 .5rem;padding-bottom:.3rem;border-bottom:2px solid #f1f5f9}.outline-editor-body h3{font-size:1rem;font-weight:600;color:#1e293b;margin:1rem 0 .4rem}.outline-editor-body ul,.outline-editor-body ol{margin:.4rem 0;padding-left:1.5rem}.outline-editor-body li{margin:.25rem 0}.outline-editor-body p{margin:.5rem 0}.outline-editor-body strong{color:#e27b22}.outline-placeholder{color:#94a3b8;font-style:italic}.outline-editor-footer{padding:.75rem 1.25rem;background:#fff;border-top:1px solid #e2e8f0;display:flex;justify-content:flex-end;flex-shrink:0}.writing-fulltext-btn{padding:.7rem 1.5rem;background:#e27b22;color:#fff;border:none;border-radius:6px;font-weight:700;font-size:.95rem;cursor:pointer;transition:background .2s}.writing-fulltext-btn:hover:not(:disabled){background:#c96e1a}.writing-fulltext-btn:disabled{opacity:.6;cursor:not-allowed}.fulltext-viewer-header{display:flex;align-items:center;justify-content:space-between;padding:.75rem 1.25rem;background:#fff;border-bottom:1px solid #e2e8f0;gap:.75rem;flex-shrink:0}.fulltext-header-left{display:flex;align-items:center;gap:.5rem}.fulltext-header-actions{display:flex;align-items:center;gap:.5rem;flex-shrink:0}.writing-copy-btn{display:inline-flex;align-items:center;gap:6px;padding:.35rem .75rem;font-size:.8rem;border:1px solid #e2e8f0;background:#fff;border-radius:5px;color:#64748b;cursor:pointer;transition:all .15s}.writing-copy-btn:hover{background:#f0fdf4;border-color:#86efac;color:#16a34a}.streaming-dot{color:#e27b22;font-size:.7rem;animation:blink 1s step-start infinite}@keyframes blink{50%{opacity:0}}.fulltext-viewer-body{flex:1;overflow-y:auto;min-height:0}.fulltext-loading{display:flex;align-items:center;justify-content:center;height:100%;color:#94a3b8}.writing-html-output{padding:2rem 2.5rem;max-width:860px;margin:0 auto;font-size:.95rem;line-height:1.8;color:#1e293b}.writing-html-output h1{font-size:1.6rem;font-weight:800;color:#0f172a;margin:0 0 1.5rem;padding-bottom:.75rem;border-bottom:3px solid #e27b22}.writing-html-output h2{font-size:1.2rem;font-weight:700;color:#0f172a;margin:2rem 0 .75rem;padding-left:.75rem;border-left:4px solid #e27b22}.writing-html-output h3{font-size:1.05rem;font-weight:600;color:#334155;margin:1.5rem 0 .5rem}.writing-html-output p{margin:.75rem 0;text-align:justify;text-justify:inter-ideograph}.writing-html-output ul,.writing-html-output ol{padding-left:1.75rem;margin:.75rem 0}.writing-html-output li{margin:.4rem 0}.writing-html-output strong{color:#e27b22;font-weight:700}.writing-html-output em{color:#475569;font-style:italic}.writing-html-output table{width:100%;border-collapse:collapse;margin:1rem 0;font-size:.9rem}.writing-html-output th,.writing-html-output td{border:1px solid #e2e8f0;padding:.6rem .9rem;text-align:left;vertical-align:top}.writing-html-output th{background:#f8fafc;font-weight:600;color:#334155}.writing-html-output tr:nth-child(2n) td{background:#fafbfc}.research-workspace-layout{display:grid;grid-template-columns:55% 45%;height:100%;overflow:hidden;background:#f8fafc}.research-left-pane{background:#fff;border-right:1px solid #edf2f7;display:flex;flex-direction:column;height:100%;overflow:hidden;position:relative;transition:background-color .2s ease}.research-left-pane.drag-over{background:#f7fafc;border-right-color:#3182ce}.research-pane-header{padding:1.25rem 1.5rem 0;display:flex;flex-direction:column;gap:.75rem;border-bottom:1px solid #edf2f7;background:#fff;z-index:10}.research-pane-title{display:flex;justify-content:space-between;align-items:center}.research-pane-title h3{margin:0;font-size:1.1rem;font-weight:700;color:#1a202c}.research-doc-count{font-size:.8rem;color:#718096;background:#edf2f7;padding:.2rem .6rem;border-radius:99px;font-weight:500}.research-tabs-container{display:flex;gap:.5rem;overflow-x:auto;padding-bottom:.5rem;scrollbar-width:thin}.research-tab{background:#f7fafc;border:1px solid #e2e8f0;border-bottom:none;border-radius:6px 6px 0 0;padding:.5rem .85rem;font-size:.85rem;color:#4a5568;cursor:pointer;white-space:nowrap;transition:all .15s ease;font-weight:500;display:flex;align-items:center;gap:.35rem}.research-tab:hover{background:#edf2f7;color:#2d3748}.research-tab.active{background:#fff;border-color:#cbd5e0;border-bottom:2px solid #3182ce;color:#2b6cb0;font-weight:600}.research-pane-body{flex:1;overflow:hidden;display:flex;flex-direction:column;position:relative}.research-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:3rem 2rem;height:100%;color:#718096}.research-empty-icon{font-size:3.5rem;margin-bottom:1.25rem;opacity:.7}.research-empty-state h4{margin:0 0 .5rem;font-size:1.1rem;color:#2d3748;font-weight:600}.research-empty-state p{margin:0 0 1.5rem;font-size:.9rem;line-height:1.5;max-width:320px}.research-upload-hint{display:flex;justify-content:center}.research-upload-btn{background:#2b6cb0;color:#fff;border:none;padding:.65rem 1.25rem;border-radius:6px;font-size:.9rem;font-weight:600;cursor:pointer;transition:background-color .2s ease}.research-upload-btn:hover{background:#2c5282}.research-loading-state{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;gap:1rem;color:#718096;font-size:.9rem}.research-spinner{width:2.25rem;height:2.25rem;border:3px solid #edf2f7;border-top-color:#3182ce;border-radius:50%;animation:spinner .8s linear infinite}@keyframes spinner{to{transform:rotate(360deg)}}.research-error-state{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;gap:1rem;padding:2rem;text-align:center;color:#e53e3e}.research-error-icon{font-size:2.5rem}.research-retry-btn{background:#edf2f7;border:1px solid #cbd5e0;color:#4a5568;padding:.5rem 1rem;border-radius:6px;cursor:pointer;font-size:.85rem;font-weight:600;transition:all .2s ease}.research-retry-btn:hover{background:#e2e8f0;color:#2d3748}.research-reader-wrapper{flex:1;overflow-y:auto;padding:1.75rem 2rem;background:#fff}.research-reader-content{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-size:1rem;line-height:1.8;color:#2d3748;max-width:800px;margin:0 auto;-webkit-user-select:text;user-select:text}.research-text-line{margin-top:0;margin-bottom:1rem;text-align:justify}.research-right-pane{background:#fff;display:flex;flex-direction:column;height:100%;overflow:hidden;border-left:1px solid #edf2f7}.research-bottom-composer{padding:1rem 1.5rem;border-top:1px solid #edf2f7;background:#fff}.research-tooltip{display:flex;background:#0f172af2;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.15);border-radius:8px;padding:3px;box-shadow:0 10px 25px -5px #0000004d,0 8px 10px -6px #0000004d;pointer-events:auto;gap:2px}.research-tooltip:after{content:"";position:absolute;bottom:-6px;left:50%;transform:translate(-50%);border-width:6px 6px 0;border-style:solid;border-color:rgba(15,23,42,.95) transparent transparent;display:block;width:0}.research-tooltip .tooltip-btn{background:transparent;border:none;color:#f1f5f9;padding:6px 10px;font-size:.8rem;font-weight:600;border-radius:5px;cursor:pointer;display:flex;align-items:center;gap:4px;transition:all .15s ease;white-space:nowrap}.research-tooltip .tooltip-btn:hover{background:#ffffff26;color:#fff}.research-tooltip .tooltip-btn:active{background:#ffffff40}.research-main-tab-btn{font-family:inherit;font-size:.9rem;font-weight:600;color:#4a5568;border:none;background:none;padding:.5rem .25rem;cursor:pointer;position:relative;transition:all .2s ease}.research-main-tab-btn:hover{color:#2b6cb0}.research-main-tab-btn.active{color:#3182ce}.subscription-sub-tabs{display:flex;gap:.5rem;border-bottom:1px solid #edf2f7;padding-bottom:.5rem;margin-top:.25rem;overflow-x:auto}.sub-tab-btn{background:#f7fafc;border:1px solid #e2e8f0;border-radius:6px;padding:.35rem .75rem;font-size:.8rem;color:#4a5568;cursor:pointer;transition:all .15s ease;font-weight:500;white-space:nowrap}.sub-tab-btn:hover{background:#edf2f7;color:#2d3748}.sub-tab-btn.active{background:#ebf8ff;border-color:#bee3f8;color:#2b6cb0;font-weight:600}.sub-paper-card{background:#fff;border:1px solid #edf2f7;border-radius:8px;padding:1rem;margin-bottom:1rem;box-shadow:0 1px 3px #00000005;transition:all .2s ease}.sub-paper-card:hover{box-shadow:0 4px 6px -1px #0000000d,0 2px 4px -1px #00000008;border-color:#e2e8f0}.sub-paper-card.inner-card{margin-left:0!important;box-shadow:none;background:#f7fafc}.sub-report-accordion-item{margin-bottom:.75rem;border-radius:8px;overflow:hidden;transition:all .2s ease}.sub-report-accordion-item.expanded{box-shadow:0 4px 6px -1px #0000000d}.accordion-header:hover{background:#f7fafc!important}.kw-tag{background:#edf2f7;color:#2d3748;font-size:.8rem;font-weight:500;padding:.25rem .5rem;border-radius:4px;display:inline-flex;align-items:center;gap:.25rem;transition:background .15s ease}.kw-tag:hover{background:#e2e8f0}.checkbox-label input[type=checkbox],.radio-label input[type=radio]{accent-color:#3182ce;width:14px;height:14px;cursor:pointer}.checkbox-label:hover,.radio-label:hover{color:#2b6cb0}.save-settings-btn{background:#3182ce;color:#fff;border:none;transition:all .2s ease}.save-settings-btn:hover{background:#2b6cb0;transform:translateY(-1px)}.save-settings-btn:active{background:#2c5282;transform:translateY(0)}.poster-workspace-layout{width:100%;display:grid;grid-template-columns:380px 1fr;height:100%;overflow:hidden}.poster-left-pane{padding:1.5rem;border-right:1px solid #e1e8ed;overflow-y:auto;display:flex;flex-direction:column;gap:1.25rem;background:#fafbfe}.poster-right-pane{display:flex;flex-direction:column;height:100%;overflow:hidden}.vi-custom-section{border:1px solid #e2e8f0;border-radius:8px;background:#fff;padding:.75rem;transition:all .2s ease}.vi-custom-section:hover{box-shadow:0 2px 4px #00000005}.btn-option.highlight{transition:background-color .2s ease,border-color .2s ease}.btn-option.highlight:hover{background-color:#b14f3a2e!important}.inpaint-modal-content{background:#fff;border-radius:12px;max-width:900px;width:100%;max-height:90vh;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 20px 25px -5px #0000001a}.inpaint-modal-content button.btn-close-inpaint{transition:color .15s ease}.inpaint-modal-content button.btn-close-inpaint:hover{color:#2d3748!important}#tool-brush,#tool-eraser{background:#f7fafc;border:1px solid #cbd5e0;color:#4a5568;cursor:pointer;transition:all .15s ease}#tool-brush.active,#tool-eraser.active{background:#b14f3a!important;color:#fff!important;border-color:#b14f3a!important}#tool-brush:hover:not(.active),#tool-eraser:hover:not(.active){background:#edf2f7}.poster-actions-bar .btn-option{border:1px solid #cbd5e0;background:#fff;color:#4a5568;font-size:.85rem;padding:.4rem .8rem;border-radius:6px;cursor:pointer;transition:all .15s ease}.poster-actions-bar .btn-option:hover{background:#f7fafc;border-color:#a0aec0}.poster-actions-bar .btn-option.highlight:hover{background:#b14f3a26!important}.writing-workspace-layout{display:grid;grid-template-columns:55% 45%;height:100%;overflow:hidden;background:#f8fafc}.writing-left-pane{background:#fff;border-right:1px solid #edf2f7;display:flex;flex-direction:column;height:100%;overflow:hidden;position:relative;transition:background-color .2s ease}.writing-left-pane.drag-over{background:#f7fafc;border-right-color:#176b87}.writing-pane-header{padding:1.25rem 1.5rem;border-bottom:1px solid #edf2f7;background:#fff;z-index:10}.writing-pane-title{display:flex;justify-content:space-between;align-items:center}.writing-pane-title h3{margin:0;font-size:1.15rem;font-weight:600;color:#1a202c}.writing-doc-count{font-size:.8rem;color:#718096}.writing-pane-body{flex:1;overflow:hidden;position:relative}.writing-empty-state,.writing-loading-state,.writing-error-state,.writing-unsegmented-state{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;padding:2.5rem;text-align:center}.writing-empty-icon,.writing-error-icon{font-size:3rem;margin-bottom:1rem}.writing-empty-state h4{margin:0 0 .5rem;font-size:1.1rem;color:#2d3748}.writing-empty-state p{margin:0 0 1.5rem;font-size:.875rem;color:#718096;max-width:320px;line-height:1.5}.writing-upload-btn,.writing-segment-btn,.writing-retry-btn{background:#176b87;color:#fff;padding:.6rem 1.2rem;border-radius:8px;font-size:.9rem;font-weight:500;cursor:pointer;border:none;transition:all .2s ease;display:inline-flex;align-items:center;gap:.5rem;box-shadow:0 4px 6px -1px #176b8726,0 2px 4px -1px #176b871a}.writing-upload-btn:hover,.writing-segment-btn:hover,.writing-retry-btn:hover{background:#125269;transform:translateY(-1px);box-shadow:0 10px 15px -3px #176b8740,0 4px 6px -2px #176b872e}.writing-spinner{width:40px;height:40px;border:3px solid rgba(23,107,135,.1);border-top-color:#176b87;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:1rem}.writing-spinner.mini{width:16px;height:16px;border-width:2px;margin:0;display:inline-block;vertical-align:middle}.writing-file-info-card{display:flex;align-items:center;gap:1rem;padding:1rem 1.5rem;background:#f7fafc;border:1px solid #e2e8f0;border-radius:10px;width:100%;max-width:400px;margin-bottom:1.5rem}.writing-file-info-card .file-icon{font-size:2rem}.writing-file-info-card .file-details{display:flex;flex-direction:column;align-items:flex-start}.writing-file-info-card .file-name{font-weight:600;font-size:.95rem;color:#2d3748}.writing-file-info-card .file-type{font-size:.75rem;color:#718096;margin-top:.25rem}.writing-reader-wrapper{display:flex;flex-direction:column;height:100%;overflow:hidden}.writing-media-player-container{padding:1rem 1.5rem;background:#fafafb;border-bottom:1px solid #edf2f7}.writing-media-loading{padding:1rem 1.5rem;background:#fafafb;border-bottom:1px solid #edf2f7;color:#718096;font-size:.85rem;display:flex;align-items:center;gap:.5rem}.writing-segments-container{flex:1;overflow-y:auto;padding:1.25rem 1.5rem;display:flex;flex-direction:column;gap:1rem}.writing-segment-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:1rem;transition:all .2s ease;position:relative;display:flex;flex-direction:column;gap:.5rem}.writing-segment-card.media{cursor:pointer}.writing-segment-card.media:hover{border-color:#cbd5e0;background:#fcfcfd}.writing-segment-card.playing{border-color:#176b87;box-shadow:0 0 0 3px #176b8726;background:#176b8705}.writing-segment-card-header{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.writing-segment-title{font-weight:600;font-size:.9rem;color:#1a202c}.writing-segment-time-badge{font-size:.75rem;background:#f7fafc;border:1px solid #e2e8f0;color:#4a5568;padding:.15rem .4rem;border-radius:4px;font-family:monospace}.writing-segment-card.playing .writing-segment-time-badge{background:#176b871a;border-color:#176b8733;color:#176b87}.writing-segment-actions{display:flex;align-items:center;gap:.4rem}.writing-segment-action-btn{display:inline-flex;align-items:center;gap:4px;background:#fff;border:1px solid #cbd5e0;color:#4a5568;font-size:.75rem;padding:.25rem .5rem;border-radius:4px;cursor:pointer;transition:all .15s ease;font-weight:500}.writing-segment-action-btn:hover{background:#f7fafc;border-color:#a0aec0}.writing-segment-action-btn.import{background:#176b870d;border-color:#176b8733;color:#176b87}.writing-segment-action-btn.import:hover{background:#176b87;color:#fff;border-color:#176b87}.writing-segment-card-body{font-size:.85rem;line-height:1.6;color:#4a5568;margin:0}.writing-right-pane{display:flex;flex-direction:column;height:100%;background:#fff}.writing-bottom-composer{padding:1rem 1.5rem;border-top:1px solid #edf2f7;background:#fff}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.messages-section{--panel: #ffffff;--panel-border: #dce4ec;--text: #182130;--text-muted: #6b7789;--primary: #176b87;--primary-glow: rgba(23, 107, 135, .15);--success: #2ecc71;--danger: #c0392b;--warning: #eab308;--shadow: 0 4px 20px rgba(20, 36, 60, .08)}.messages-section .error,.messages-section .success{border-radius:8px;padding:12px 16px;font-size:13px;font-weight:600;display:flex;align-items:center;gap:10px;margin-bottom:16px}.messages-section .error{background:#c0392b14;border:1px solid rgba(192,57,43,.2);color:#c0392b}.messages-section .success{background:#2ecc7114;border:1px solid rgba(46,204,113,.2);color:#1e7e34}.messages-section .toolbar{display:flex;justify-content:flex-end;align-items:center}.messages-section .msg-board-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);gap:24px;align-items:start}@media(max-width:900px){.messages-section .msg-board-grid{grid-template-columns:1fr}}.messages-section .msg-list{display:flex;flex-direction:column;gap:16px}.messages-section .msg-list-header{padding:0 0 8px;border-bottom:1px solid rgba(0,0,0,.06)}.messages-section .msg-list-header h3{font-size:16px;margin:0;color:#172033;font-weight:700}.messages-section .msg-card{background:var(--panel);border:1px solid var(--panel-border);border-radius:12px;padding:16px;display:flex;flex-direction:column;gap:12px;box-shadow:var(--shadow);transition:border-color .2s ease,transform .2s ease}.messages-section .msg-card:hover{border-color:#176b8740;transform:translateY(-1px)}.messages-section .msg-content{font-weight:600;font-size:15px;color:#1f2937;margin-bottom:4px;line-height:1.5}.messages-section .msg-time{font-size:11px;color:#9ca3af}.messages-section .msg-reply{background:#f0fdf4;border:1px solid #bfe3c6;border-radius:8px;padding:12px;font-size:13px;color:#1e3a20}.messages-section .msg-reply-header{font-weight:700;margin-bottom:4px;display:flex;align-items:center;gap:6px}.messages-section .msg-reply-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--success)}.messages-section .msg-reply-time{font-size:10px;color:#8fa391;display:block;margin-top:6px;text-align:right}.messages-section .msg-pending{background:#fef9c3;border:1px solid #fef08a;border-radius:8px;padding:12px;font-size:13px;color:#713f12;display:flex;align-items:center;gap:8px}.messages-section .msg-pending-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--warning);animation:pulse 2s infinite}.messages-section .msg-empty{text-align:center;padding:40px;border:2px dashed rgba(0,0,0,.06);border-radius:12px;color:#9ca3af;background:#00000003}.messages-section .msg-empty p{margin:0;font-size:14px}.messages-section .msg-form-panel{background:var(--panel);border:1px solid var(--panel-border);border-radius:12px;padding:20px;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:16px;position:sticky;top:28px}.messages-section .msg-form-panel h3{font-size:16px;margin:0;color:#172033;font-weight:700}.messages-section .msg-form{display:flex;flex-direction:column;gap:14px}.messages-section .msg-form label{display:flex;flex-direction:column;gap:6px}.messages-section .msg-form label span{font-size:13px;color:#4b5563;font-weight:500}.messages-section .msg-form input,.messages-section .msg-form textarea{border:1px solid var(--panel-border);border-radius:8px;padding:10px;font-size:14px;transition:border-color .2s ease,box-shadow .2s ease}.messages-section .msg-form input:focus,.messages-section .msg-form textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-glow)}.messages-section .msg-form .primary-button{padding:12px;border-radius:8px;width:100%}.lucide-icon{display:inline-block;vertical-align:-.15em;width:1.1em!important;height:1.1em!important;stroke-width:2.2;stroke:currentColor;fill:none;margin-right:.3em}.nav-link .lucide-icon,button .lucide-icon,.ghost-button .lucide-icon,.sidebar-collapse-button .lucide-icon,.sidebar-collapse-floating .lucide-icon,.conv-collapse-button .lucide-icon,.conv-collapse-floating .lucide-icon,.back-button .lucide-icon,.writing-segment-action-btn .lucide-icon,.tooltip-btn .lucide-icon,.shortcut-btn .lucide-icon,.file-icon .lucide-icon,.sidebar-apps-caret .lucide-icon,.sidebar-apps-group-caret .lucide-icon,.bubble-tts button .lucide-icon,.writing-regen-btn .lucide-icon,.writing-copy-btn .lucide-icon,.writing-nav-btn .lucide-icon,.btn-option .lucide-icon,.research-empty-icon .lucide-icon,.writing-empty-icon .lucide-icon,.writing-error-icon .lucide-icon,.research-error-icon .lucide-icon,.voice-mic-icon .lucide-icon{margin-right:0}.profile-section{--bg: #eef2f5;--panel: #ffffff;--panel-border: #e2e8f0;--text: #1e293b;--text-muted: #64748b;--primary: #176b87;--primary-glow: rgba(23, 107, 135, .15);--success: #10b981;--error: #ef4444;--shadow: 0 4px 20px rgba(20, 36, 60, .04);--shadow-hover: 0 10px 30px rgba(20, 36, 60, .08)}.profile-section .error,.profile-section .success{border-radius:8px;padding:14px 18px;font-size:14px;font-weight:600;display:flex;align-items:center;gap:10px;margin-bottom:24px;box-shadow:0 2px 8px #00000005;animation:profileSlideIn .3s cubic-bezier(.16,1,.3,1)}@keyframes profileSlideIn{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.profile-section .error{background:#fef2f2;border:1px solid #fca5a5;color:#b91c1c}.profile-section .success{background:#ecfdf5;border:1px solid #6ee7b7;color:#047857}.profile-section .profile-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:32px;align-items:start}@media(max-width:900px){.profile-section .profile-grid{grid-template-columns:1fr;gap:24px}}.profile-card{background:var(--panel);border:1px solid var(--panel-border);border-radius:16px;padding:32px;box-shadow:var(--shadow);transition:all .3s cubic-bezier(.16,1,.3,1)}.profile-card:hover{border-color:#cbd5e1;box-shadow:var(--shadow-hover);transform:translateY(-2px)}.profile-card h3{font-size:18px;font-weight:700;margin:0 0 24px;color:var(--text);letter-spacing:-.01em;display:flex;align-items:center;gap:8px}.profile-avatar-wrapper{text-align:center;margin-bottom:28px}.profile-avatar-circle{width:88px;height:88px;border-radius:50%;background:linear-gradient(135deg,#176b87,#1fa8c4);color:#fff;display:flex;align-items:center;justify-content:center;font-size:32px;font-weight:800;margin:0 auto 12px;box-shadow:0 8px 24px #176b8740;border:4px solid #ffffff;transition:transform .3s ease}.profile-card:hover .profile-avatar-circle{transform:scale(1.05)}.profile-user-name{font-size:20px;font-weight:700;color:var(--text);margin:0 0 4px}.profile-user-role{display:inline-block;font-size:12px;font-weight:600;color:#176b87;background:#176b8714;padding:4px 12px;border-radius:9999px;margin-top:4px}.profile-info-list{display:flex;flex-direction:column;gap:12px}.profile-info-item{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;background:#f8fafc;border:1px solid #f1f5f9;border-radius:12px;transition:all .2s ease}.profile-info-item:hover{background:#f1f5f9;border-color:#e2e8f0;transform:translate(4px)}.profile-info-label{font-size:13px;font-weight:600;color:var(--text-muted)}.profile-info-value{font-size:14px;font-weight:700;color:var(--text)}.profile-info-value.mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:13px;color:#475569}.profile-form{display:flex;flex-direction:column;gap:20px}.profile-form-group{display:flex;flex-direction:column;gap:8px}.profile-form-group label{font-size:13px;font-weight:700;color:#475569}.profile-form-group input{width:100%;border:1px solid #cbd5e1;border-radius:10px;padding:12px 16px;font-size:14px;font-weight:500;color:var(--text);background:#fff;transition:all .2s cubic-bezier(.16,1,.3,1);box-sizing:border-box}.profile-form-group input:focus{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-glow);outline:none}.profile-form-group input:disabled{background:#f8fafc;color:#94a3b8;border-color:#e2e8f0;cursor:not-allowed}.profile-section .primary-button{background:linear-gradient(135deg,#176b87,#115065);color:#fff;border:none;border-radius:10px;padding:14px 24px;font-weight:700;font-size:14px;cursor:pointer;box-shadow:0 4px 12px #176b8726;transition:all .2s ease;margin-top:8px}.profile-section .primary-button:hover:not(:disabled){background:linear-gradient(135deg,#1f86a8,#176b87);transform:translateY(-1px);box-shadow:0 6px 18px #176b8740}.profile-section .primary-button:active:not(:disabled){transform:translateY(0)}.profile-section .primary-button:disabled{background:#cbd5e1;color:#94a3b8;cursor:not-allowed;box-shadow:none}
