@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-outline-style:solid}}}@layer theme{:root,:host{--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-font-family:"Inter", "PingFang SC", "Microsoft YaHei", sans-serif;--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.block{display:block}.hidden{display:none}.table{display:table}.outline{outline-style:var(--tw-outline-style);outline-width:1px}}:root{--background:#fcfbf9;--foreground:#292a30;--primary:#80684e;--border:#e9e7e2;--muted:#8e8c89;--radius:.75rem}*{box-sizing:border-box}body{background:var(--background);color:var(--foreground);margin:0;font-family:Arial,PingFang SC,Microsoft YaHei,sans-serif;font-size:14px;line-height:1.6}button,input,textarea{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button,a{transition:background .15s,color .15s,border-color .15s}button{color:inherit;background:0 0;border:0}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline-offset:3px;outline:2px solid #b49573}input,textarea{border:1px solid var(--border);width:100%;color:var(--foreground);background:#fff;border-radius:9px;padding:11px 13px}input::placeholder,textarea::placeholder{color:#aaa6a0}textarea{resize:vertical}label{font-size:13px;font-weight:500;display:block}label input,label textarea{margin-top:7px}h1,h2,h3,p{margin-top:0}.button{white-space:nowrap;border:1px solid #0000;border-radius:9px;justify-content:center;align-items:center;gap:8px;min-height:41px;padding:10px 16px;font-weight:500;display:inline-flex}.button-primary{color:#fff;background:#836c53}.button-primary:hover:not(:disabled){background:#705a43}.button-outline{border-color:var(--border);background:#fff}.button-outline:hover{background:#f4f1ed}.button-ghost{color:#76716b}.button-ghost:hover{background:#f0ede8}.button-danger{color:#fff;background:#ad4b46}.button-sm{min-height:32px;padding:5px 10px;font-size:12px}.button-icon{width:37px;height:37px;min-height:37px;padding:0}.brand{align-items:center;gap:11px;display:flex}.brand-icon{color:#fff;background:#806b52;border-radius:10px;place-items:center;width:40px;height:40px;display:grid}.brand strong{letter-spacing:3px;font-size:22px;line-height:1.2}.brand strong>span{letter-spacing:1.7px;color:#9a9288;margin-top:6px;font-size:8px;font-weight:500;display:block}.app-shell{height:100dvh;display:flex;overflow:hidden}.sidebar{border-right:1px solid var(--border);background:#f5f3ee;flex-direction:column;flex-shrink:0;width:258px;padding:30px 18px 14px;display:flex}.sidebar .brand{margin-left:9px}.new-chat{justify-content:flex-start;width:100%;margin:34px 0 30px;padding-left:15px;font-size:13px}.new-chat>span{color:#aba59c;margin-left:auto;font-size:16px}.sidebar-label{letter-spacing:1px;color:#a39d94;justify-content:space-between;padding:0 12px 12px;font-size:11px;display:flex}.sidebar-label span{font-size:10px}.conversation-list{flex:1;min-height:40px;overflow:auto}.conversation-item{text-align:left;color:#7c7872;border-radius:8px;align-items:center;gap:10px;width:100%;margin-bottom:4px;padding:11px 12px;font-size:12px;display:flex}.conversation-item span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.conversation-item svg{flex-shrink:0}.conversation-item:hover{background:#ece8e1}.conversation-item.selected{color:#695640;background:#e9e3d9;font-weight:600}.history-empty{color:#b2aba0;padding:22px 14px;font-size:12px;line-height:2}.sidebar-tip{color:#8c806e;border:1px solid #e5e0d6;border-radius:10px;margin:20px 4px;padding:16px 15px}.tiny-star{color:#aa8b61;margin-right:7px}.sidebar-tip strong{font-size:12px;font-weight:500}.sidebar-tip p{color:#a39a8c;margin:7px 0 0;font-size:11px;line-height:1.9}.account{border-top:1px solid #e5e1da;align-items:center;gap:10px;padding:18px 7px 4px;display:flex}.avatar{color:#8c785f;background:#e6e0d6;border-radius:50%;place-items:center;width:33px;height:33px;font-size:12px;display:grid}.account strong{text-overflow:ellipsis;max-width:100px;font-size:12px;font-weight:600;display:block;overflow:hidden}.account small{color:#aaa195;margin-top:2px;font-size:10px;display:block}.account-actions{color:#9a9287;gap:7px;margin-left:auto;display:flex}.workspace{flex-direction:column;flex:1;min-width:0;display:flex}.workspace-header{border-bottom:1px solid #f0eeea;flex-shrink:0;justify-content:space-between;align-items:center;height:76px;padding:0 35px;display:flex}.workspace-header>div{align-items:center;gap:15px;display:flex}.workspace-name{font-size:13px;font-weight:600}.header-divider{background:#dfdcd7;width:1px;height:13px}.header-subtitle{color:#a7a198;font-size:11px}.workspace-status{color:#8d897f;align-items:center;gap:7px;font-size:10px;display:flex}.status-dot{background:#859b7b;border-radius:50%;width:6px;height:6px;margin-right:5px;display:inline-block}.status-dot.off{background:#b3aaa0}.header-right>button{color:#a09a90;padding:5px}.chat-scroll{scroll-behavior:smooth;flex:1;min-height:0;overflow:auto}.welcome{max-width:850px;margin:0 auto;padding:74px 40px 30px}.welcome-pill{color:#9b8260;align-items:center;gap:8px;margin-bottom:20px;font-size:11px;display:flex}.welcome-pill span{font-size:20px}.welcome h1{letter-spacing:1px;margin:0 0 14px;font-size:34px;font-weight:500;line-height:1.5}.welcome>p{color:#9a958e;letter-spacing:.3px;margin-bottom:33px;font-size:12px}.quick-grid{grid-template-columns:repeat(4,1fr);gap:12px;display:grid}.quick-card{text-align:left;background:#fff;border:1px solid #e9e5de;border-radius:12px;min-height:144px;padding:19px 15px 16px;box-shadow:0 3px 10px #88745703}.quick-card:hover{border-color:#c6b49a;transform:translateY(-2px);box-shadow:0 6px 16px #806a5110}.quick-icon{border-radius:9px;justify-content:center;align-items:center;width:37px;height:37px;margin-bottom:17px;display:flex}.tone-0{color:#a98b60;background:#f6eee3}.tone-1{color:#8b8caa;background:#edeef5}.tone-2{color:#8b9a7c;background:#edf0e9}.tone-3{color:#b98c88;background:#f5ebeb}.quick-card strong{justify-content:space-between;align-items:center;gap:4px;font-size:12px;font-weight:600;display:flex}.quick-card strong>span{color:#b5ada3;font-weight:400}.quick-card small{white-space:nowrap;color:#aaa197;margin-top:7px;font-size:10px;display:block}.inspiration{flex-direction:column;align-items:flex-start;gap:6px;margin-top:33px;display:flex}.inspiration>span{color:#b4ada2;margin-bottom:4px;font-size:10px}.inspiration button{color:#9a9185;gap:26px;padding:6px 0;font-size:11px;display:flex}.inspiration button:hover{color:#715c43}.inspiration button span{color:#b6aea2;font-size:12px}.welcome-caption{color:#c8c1b7;letter-spacing:2px;justify-content:center;align-items:center;gap:14px;margin-top:35px;font-size:8px;display:flex}.welcome-caption span{background:#e8e3db;width:34px;height:1px}.composer-area{width:min(850px,100%);margin:auto auto 0;padding:12px 40px 20px;position:relative}.composer{background:#fff;border:1px solid #e1dbd1;border-radius:14px;overflow:hidden;box-shadow:0 6px 22px #69553905}.composer:focus-within{border-color:#bca586;box-shadow:0 0 0 3px #bfa5810b}.composer textarea{resize:none;background:0 0;border:0;border-radius:0;outline:none;height:77px;max-height:180px;padding:17px 19px 7px;font-size:12px;line-height:1.8}.composer textarea:focus-visible{outline:none}.composer-toolbar{justify-content:space-between;align-items:center;padding:0 13px 12px 17px;display:flex}.composer-toolbar>div{align-items:center;gap:12px;display:flex}.upload-button{color:#908779;align-items:center;gap:6px;font-size:11px;display:flex}.composer-divider{background:#e8e3db;width:1px;height:12px}.composer-model{color:#a2988b;align-items:center;gap:5px;font-size:10px;display:flex}.composer-note{color:#b0a79b;justify-content:space-between;gap:10px;margin:10px 2px 0;font-size:9px;display:flex}.pending-files{flex-wrap:wrap;gap:6px;padding:0 12px;display:flex}.pending-files:not(:empty){padding-top:12px}.pending-files>span{color:#897863;word-break:break-all;background:#f3f0eb;border-radius:6px;align-items:center;gap:5px;max-width:100%;padding:5px 8px;font-size:10px;display:flex}.messages{max-width:850px;margin:auto;padding:32px 40px}.message{margin-bottom:33px}.message-label{align-items:center;gap:9px;margin-bottom:14px;font-size:12px;font-weight:600;display:flex}.assistant-mark,.user-mark{color:#957d5b;background:#eee7dd;border-radius:7px;place-items:center;width:26px;height:26px;font-size:17px;display:grid}.user-mark{color:#84817b;background:#ebebe9;border-radius:50%;font-size:11px}.message-role{color:#aea394;font-size:9px;font-weight:400}.message-content{color:#555049;overflow-wrap:anywhere;padding-left:35px;font-size:13px;line-height:1.95}.message.user .message-content{background:#f1ede6;border-radius:0 12px 12px;margin-left:35px;padding:14px 18px}.message-content>p:last-child{margin-bottom:0}.message-content h1,.message-content h2,.message-content h3{color:#3c3935;margin:18px 0 10px;font-weight:600}.message-content h2{font-size:17px}.message-content h3{font-size:15px}.message-content ul,.message-content ol{list-style:revert;margin:12px 0;padding-left:22px}.message-content pre{background:#f1eee8;border-radius:8px;padding:13px;font-size:11px;overflow:auto}.message-content table{margin:15px 0;display:block;overflow:auto}.message-content th,.message-content td{border:1px solid #e6e1d9;min-width:80px;padding:9px 12px;font-size:12px}.message-content th{background:#f4f0e9}.message-content a{color:#9c7542;text-decoration:underline}.message-content blockquote{color:#958875;border-left:3px solid #c7b08c;margin:12px 0;padding:4px 15px}.message-tools{color:#aba092;align-items:center;gap:14px;margin-top:12px;padding-left:35px;font-size:10px;display:flex}.message-tools button{align-items:center;gap:4px;display:flex}.message-tools>span{margin-left:auto}.message-files{flex-wrap:wrap;gap:8px;margin-top:10px;padding-left:35px;display:flex}.message-files a{color:#9b8567;background:#f2ede5;border-radius:5px;align-items:center;gap:4px;padding:4px 7px;font-size:10px;display:flex}.thinking{align-items:center;gap:5px;min-height:30px;display:flex}.thinking>span{background:#b7a184;border-radius:50%;width:4px;height:4px;animation:1.2s infinite pulse}.thinking>span:nth-child(2){animation-delay:.2s}.thinking>span:nth-child(3){animation-delay:.4s}.thinking small{color:#a39785;margin-left:8px;font-size:11px}.error-box{color:#a55347;background:#f9eee9;border:1px solid #efdad1;border-radius:8px;justify-content:space-between;gap:10px;margin-bottom:12px;padding:10px 13px;font-size:12px;display:flex}.run-error{color:#b57764;margin:8px 0 0 35px;font-size:11px}.toast,.notice{color:#7c8e65;background:#eef2e9;border-radius:8px;align-items:center;gap:7px;margin-bottom:10px;padding:8px 12px;font-size:11px;display:flex}.modal-backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);z-index:30;background:#26211966;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal{background:#fcfbf9;border:1px solid #eee7dc;border-radius:16px;width:min(440px,100%);padding:28px;box-shadow:0 20px 80px #241a1a33}.modal h2{margin-bottom:20px;font-size:20px;font-weight:500}.modal>p{color:#948575;font-size:13px}.modal label{margin-bottom:16px}.modal-actions{justify-content:flex-end;gap:10px;margin-top:24px;display:flex}.loading-screen{color:#9c876b;place-content:center;justify-items:center;gap:18px;min-height:100vh;display:grid}.mobile-menu{display:none}.auth-layout{grid-template-columns:1fr 1fr;min-height:100dvh;display:grid}.auth-art{background:#eeeae2;flex-direction:column;padding:48px 60px;display:flex;position:relative;overflow:hidden}.auth-art:after{content:"";pointer-events:none;border:1px solid #d9cbb755;border-radius:50%;width:500px;height:500px;position:absolute;bottom:-280px;left:-110px;box-shadow:0 0 0 65px #ded4c31c,0 0 0 130px #ded4c313}.auth-story{z-index:1;margin:auto 0;padding:70px 0}.eyebrow{letter-spacing:2px;color:#a18b6e;font-size:10px}.auth-story h1{letter-spacing:2px;margin:23px 0;font-size:clamp(32px,4vw,58px);font-weight:400;line-height:1.45}.auth-story em{color:#9c8667;font-style:normal}.auth-story p{color:#a09687;font-size:13px;line-height:2.2}.story-frames{align-items:center;gap:20px;margin-top:45px;display:flex}.story-frames>span{color:#b29d81;letter-spacing:1px;font-size:10px}.story-frames>span span{color:#8f816e;margin-top:7px;font-size:12px;display:block}.story-frames i{background:#cbbb9f66;width:45px;height:1px}.auth-foot{color:#b3a691;z-index:1;font-size:10px}.auth-form-panel{justify-content:center;align-items:center;padding:40px;display:flex}.auth-form{width:min(350px,100%)}.auth-form h2{margin:13px 0 9px;font-size:26px;font-weight:500}.auth-form>p{color:#a29788;margin-bottom:33px;font-size:12px}.auth-form label{color:#817361;margin:20px 0}.auth-form>.button{width:100%;margin-top:9px;padding:12px}.auth-form>.form-note{color:#b2a798;text-align:center;margin:20px 0;font-size:10px;line-height:1.8}.admin-page{max-width:1160px;margin:auto;padding:32px}.admin-heading{justify-content:space-between;align-items:center;margin-bottom:28px;display:flex}.admin-heading h1{margin:20px 0 5px;font-size:28px;font-weight:500}.admin-heading p{color:#998f80;font-size:12px}.admin-heading .button-ghost{padding-left:0}.stat-grid{grid-template-columns:repeat(3,1fr);gap:16px;margin:24px 0;display:grid}.stat-grid>div{border:1px solid var(--border);background:#fff;border-radius:12px;padding:22px;position:relative}.stat-grid svg{color:#a99880;position:absolute;right:20px}.stat-grid span{color:#a59681;font-size:12px}.stat-grid strong{margin-top:8px;font-size:30px;font-weight:500;display:block}.stat-grid small{color:#b1a696;font-size:10px}.admin-card{border:1px solid var(--border);background:#fff;border-radius:12px;margin:22px 0;overflow:hidden}.section-heading{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:18px 22px;display:flex}.section-heading h2{margin:0;font-size:14px}.muted{color:#aaa195;font-size:11px}.table-wrap{overflow:auto}.table-wrap table{border-collapse:collapse;text-align:left;white-space:nowrap;width:100%}.table-wrap th{color:#a39581;background:#faf8f4;font-size:11px;font-weight:500}.table-wrap th,.table-wrap td{border-bottom:1px solid #f1ede7;padding:13px 22px}.table-wrap td{color:#756a5c;font-size:12px}.tag{color:#a38b68;background:#f6f1e8;border-radius:4px;margin-left:7px;padding:3px 5px;font-size:9px}.empty-note{color:#b0a491;text-align:center;padding:24px;font-size:12px}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}@media (min-width:1500px){.welcome{padding-top:110px}.quick-card{min-height:155px}.welcome h1{font-size:38px}}@media (max-width:1100px){.sidebar{width:225px}.welcome{padding:50px 30px 25px}.quick-grid{grid-template-columns:repeat(2,1fr)}.quick-card{min-height:122px}.quick-icon{margin-bottom:10px}.quick-card small{white-space:normal}.welcome-caption{margin-top:20px}.composer-area{padding:12px 30px 20px}.auth-art{padding:40px}.messages{padding:28px 30px}}@media (max-width:760px){.sidebar{z-index:20;width:258px;transition:left .2s;position:fixed;top:0;bottom:0;left:-260px}.sidebar.open{left:0}.sidebar-overlay{z-index:19;background:#29221844;position:fixed;inset:0}.mobile-menu{display:inline-flex}.workspace-header{height:62px;padding:0 18px}.workspace-header>div{gap:9px}.header-subtitle,.header-divider,.workspace-status{display:none}.welcome{padding:35px 21px 20px}.welcome h1{font-size:25px}.welcome>p{margin-bottom:24px;font-size:11px;line-height:1.9}.quick-grid{gap:10px}.quick-card{min-height:126px;padding:16px}.quick-card small{font-size:9px}.inspiration{margin-top:23px}.composer-area{padding:8px 15px 14px}.composer-note{font-size:8px}.composer-note>span{display:none}.messages{padding:25px 20px}.message-content{padding-left:0}.message.user .message-content{margin-left:0}.message-tools,.message-files{padding-left:0}.auth-layout{grid-template-columns:1fr}.auth-art{padding:25px 28px}.auth-story,.auth-foot{display:none}.auth-form-panel{padding:38px 30px 60px}.admin-page{padding:20px 16px}.stat-grid{gap:8px}.stat-grid>div{padding:13px}.stat-grid strong{font-size:23px}.stat-grid svg{display:none}.section-heading{gap:12px;padding:14px}.section-heading .muted{font-size:9px}.table-wrap td,.table-wrap th{padding:12px 14px}.admin-heading h1{font-size:24px}.modal{padding:24px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}
