:root{font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI','PingFang SC','Microsoft YaHei',sans-serif;font-size:16px;color:#2c4037;background:#fff;--ink:#2c4037;--muted:#8e9d94;--line:#e9efea;--accent:#278b76;--light:#edf6ef;--sidebar:#f6f8f6}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{color:inherit;background:none;border:0;cursor:pointer}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible{outline:3px solid #a2d6bd;outline-offset:3px}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}h1,h2,h3,p{margin:0}h1{font-size:1.8rem;line-height:1.5;font-weight:600;letter-spacing:-.7px}h2{font-size:1.3rem;font-weight:600}h3{font-size:1rem;font-weight:550}p{line-height:1.75}small{font-size:.75rem;color:var(--muted)}a{color:var(--accent)}.muted{color:var(--muted)}.shell{display:grid;grid-template-columns:244px minmax(0,1fr);height:100dvh}.sidebar{display:flex;flex-direction:column;min-width:0;background:var(--sidebar);border-right:1px solid #edf1ed;padding:30px 18px 17px;z-index:30}.brand{display:inline-flex;align-items:center;gap:10px;font-size:1.4rem;letter-spacing:-.7px;font-weight:700;color:#314c3b}.mark{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;color:var(--accent);flex-shrink:0}.mark svg{width:100%;height:100%;stroke-width:2.8}.brand .mark{width:31px;height:31px}.new-btn{display:flex;gap:11px;align-items:center;width:100%;background:#e3f0e8;border:1px solid #dbe9df;color:#39765b;border-radius:10px;margin:31px 0 15px;padding:13px 15px;font-size:.875rem;font-weight:550}.key{margin-left:auto;font-size:.75rem;opacity:.45}.nav-btn{display:flex;align-items:center;gap:11px;padding:12px 15px;width:100%;border-radius:9px;text-align:left;font-size:.875rem;color:#748577;min-height:44px}.nav-btn svg{width:19px;height:19px}.nav-btn:hover,.nav-btn.active{background:#eaf0e9;color:#456d4e}.nav-btn.active{font-weight:550}.nav-section{display:flex;justify-content:space-between;align-items:center;font-size:.75rem;color:#a1aea0;margin:27px 14px 10px}.side-history{flex:1;min-height:100px;overflow:auto}.history-link{display:flex;align-items:center;gap:9px;width:100%;padding:11px 14px;font-size:.8125rem;color:#7c8d78;border-radius:9px;text-align:left}.history-link span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.history-link svg{width:15px;height:15px;color:#a8b5a2}.history-link:hover,.history-link.active{background:#fff;color:#57784f}.sidebar-bottom{padding-top:12px;border-top:1px solid #e4ebe1}.side-user{display:flex;align-items:center;gap:10px;width:100%;padding:14px 12px 0;text-align:left}.avatar{background:#e1e9da;color:#6e8761;display:inline-flex;width:32px;height:32px;border-radius:50%;align-items:center;justify-content:center;font-size:.75rem;flex-shrink:0}.side-user strong{font-size:.8125rem;font-weight:550}.side-user small{display:block;margin-top:3px}.side-user>svg{margin-left:auto;width:16px;color:#a2b096}.workspace{display:flex;flex-direction:column;min-width:0;min-height:0}.topbar{height:74px;flex-shrink:0;padding:0 31px;display:flex;align-items:center;justify-content:space-between}.top-left{display:flex;align-items:center;gap:12px;font-size:.8125rem;color:#8fa086}.wordmark{font-weight:550;color:#6c8360}.divider{width:1px;height:15px;background:#e7ede0;margin:0 3px}.top-actions{display:flex;align-items:center;gap:14px}.iconbtn{width:36px;height:36px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;color:#8d9f80;flex-shrink:0}.iconbtn:hover{background:#f0f5e9;color:#6b9259}.iconbtn svg{width:18px;height:18px}.small-label{font-size:.75rem;color:#91a084;background:#fcfdf9;border:1px solid #e7eddf;padding:5px 8px;border-radius:6px}.lang-btn{display:flex;align-items:center;gap:5px;font-size:.75rem;color:#84997a;padding:6px}.lang-btn svg{width:15px;height:15px}.main{position:relative;overflow-y:auto;flex:1;min-height:0;scroll-behavior:smooth}.home{max-width:800px;min-height:100%;margin:0 auto;padding:65px 28px 32px}.welcome{text-align:center;margin-bottom:29px}.home-mark{width:49px;height:49px;border-radius:16px;display:inline-flex;align-items:center;justify-content:center;background:#f0f7ec}.home-mark .mark{width:37px;height:37px}.welcome .hello{font-size:.8125rem;color:#94a38c;margin:14px 0 7px}.welcome h1{font-size:1.8rem;color:#3c5535}.welcome .sub{font-size:.875rem;color:#8f9e86;margin-top:11px}.composer{border:1px solid #dfe9d9;border-radius:20px;background:#fff;padding:18px 18px 13px;box-shadow:0 5px 24px #34594607}.composer:focus-within{border-color:#a9c49a;box-shadow:0 5px 24px #3459460c}.composer textarea{resize:none;border:0;outline:0;background:none;width:100%;color:#435d39;font-size:1rem;line-height:1.7;padding:2px 3px;min-height:90px;max-height:190px}.composer textarea::placeholder{color:#a7b19f}.compose-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:5px}.compose-left,.compose-right{display:flex;align-items:center;gap:7px}.compose-left .iconbtn{border:1px solid #edf1e7;border-radius:50%;width:30px;height:30px}.compose-left .iconbtn svg{width:18px}.compose-divider{width:1px;height:17px;background:#ecf0e5;margin:0 3px}.tool-pill{display:inline-flex;gap:6px;align-items:center;font-size:.75rem;border:1px solid #e8eee0;border-radius:7px;padding:6px 9px;color:#86997a;white-space:nowrap}.tool-pill svg{width:14px;height:14px}.tool-pill.on{background:#eef7e8;color:#5d8750;border-color:#d4e5c8}.send-btn{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:var(--accent);color:white}.send-btn svg{width:18px;height:18px}.send-btn:disabled{background:#dfebdf;opacity:1}.composer-hint{text-align:center;font-size:.75rem;color:#a9b39f;margin-top:11px;line-height:1.5}.recommendations{margin-top:33px}.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.section-head h2{font-size:.8125rem;color:#889b7a;font-weight:400;display:flex;gap:7px;align-items:center}.section-head h2 svg{width:15px;height:15px}.text-btn{display:inline-flex;align-items:center;gap:5px;font-size:.75rem;color:#9dac90;padding:5px}.text-btn svg{width:13px;height:13px}.recommend-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.recommend{display:flex;align-items:center;gap:11px;text-align:left;padding:15px 16px;min-height:67px;border:1px solid #ecf0e6;border-radius:12px;background:#fcfdf9}.recommend:hover{background:#f7faf3;border-color:#d1e0c6}.rec-icon{width:31px;height:31px;border-radius:9px;display:flex;align-items:center;justify-content:center;background:var(--tint,#eef5e9);color:var(--tone,#7f9e6a);flex-shrink:0}.rec-icon svg{width:17px;height:17px}.recommend strong{display:block;font-size:.8125rem;font-weight:500;color:#718364;line-height:1.5}.recommend p{font-size:.75rem;color:#a2b094;margin-top:3px;line-height:1.5}.home-bottom{margin-top:39px;display:flex;justify-content:center;gap:16px;font-size:.75rem;color:#b1bba5}.home-bottom span{display:flex;gap:5px;align-items:center}.home-bottom svg{width:12px;height:12px}.page{max-width:1080px;margin:0 auto;padding:28px 45px 48px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:5px 0 28px}.page-heading h1{font-size:1.6rem}.page-heading p{font-size:.875rem;color:#919f85;margin-top:8px}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:11px 17px;border-radius:9px;font-size:.875rem;min-height:42px}.primary{background:var(--accent);color:white}.primary:hover{background:#237c68}.secondary{background:white;color:#7a8d6c;border:1px solid #e2e9db}.primary svg,.secondary svg{width:17px;height:17px}.full{width:100%}.row{display:flex;align-items:center;justify-content:space-between;gap:12px}.card{padding:23px;border:1px solid var(--line);border-radius:16px;background:#fff}.page-note{font-size:.75rem;line-height:1.7;color:#95a589}.kb-banner{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#f2f7ec;border:1px solid #e5eddb;border-radius:14px;padding:22px 25px;margin-bottom:30px}.kb-banner h3{font-size:.9375rem;color:#73875c;margin-bottom:7px}.kb-banner p{font-size:.8125rem;color:#9aa987}.stack-icon{width:52px;height:52px;color:#a3b891;flex-shrink:0}.stack-icon svg{width:100%;height:100%;stroke-width:1}.filterbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:15px;border-bottom:1px solid var(--line);margin-bottom:4px}.filter-tabs{display:flex;gap:7px}.filter-tabs button{font-size:.8125rem;white-space:nowrap;padding:7px 12px;border-radius:7px;color:#95a286}.filter-tabs button.active{background:#f0f5e9;color:#7b915f}.search-field{display:flex;gap:8px;align-items:center;border:1px solid #e5ecdb;border-radius:8px;background:white;padding:8px 10px;max-width:240px}.search-field svg{width:15px;height:15px;color:#a3b091}.search-field input{border:0;outline:0;width:100%;min-width:0;background:transparent;color:#647b4d;font-size:.8125rem}.search-field input::placeholder{color:#a8b39c}.doc-list-header,.doc-row{display:grid;grid-template-columns:minmax(0,1fr) 95px 100px 96px;align-items:center;gap:15px}.doc-list-header{font-size:.75rem;color:#a5b296;padding:15px 13px}.doc-row{padding:19px 13px;border-bottom:1px solid #edf1e5}.doc-row:hover{background:#fcfdf9}.doc-main{display:flex;gap:13px;align-items:center;text-align:left;min-width:0;padding:0}.doc-icon{width:36px;height:43px;border-radius:7px;background:#eef5e9;color:#8ba379;display:flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:550;flex-shrink:0}.doc-icon.pdf{background:#fff2ea;color:#c09e7f}.doc-icon.docx,.doc-icon.doc{background:#edf4fa;color:#8ba4bd}.doc-main strong{font-size:.875rem;font-weight:500;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.doc-main span:last-child{min-width:0}.doc-main small{display:block;margin-top:5px;font-size:.75rem}.doc-status{display:flex;gap:5px;align-items:center;font-size:.75rem;color:#8fa178}.doc-status:before{content:'';width:5px;height:5px;border-radius:50%;background:#a5b98f}.doc-status.pending{color:#b6a477}.doc-status.pending:before{background:#cebc90}.doc-date{font-size:.75rem;color:#a0af8e}.doc-actions{display:flex;justify-content:flex-end;gap:1px}.doc-actions button{width:30px;height:30px}.doc-actions svg{width:15px;height:15px}.quota{display:flex;align-items:center;gap:8px;font-size:.75rem;color:#a5b495;margin-top:22px}.quota svg{width:14px;height:14px}.chat-view{display:flex;flex-direction:column;height:100%}.chat-scroll{overflow:auto;min-height:0;flex:1;scroll-behavior:smooth}.chat-inner{max-width:828px;margin:0 auto;padding:22px 34px 10px}.message{margin-bottom:28px;scroll-margin:18px}.message.user{display:flex;justify-content:flex-end}.user-bubble{background:#f3f6ef;color:#536b44;border-radius:17px 17px 4px 17px;padding:13px 18px;max-width:85%;font-size:.9375rem;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.user-attachment{display:flex;align-items:center;gap:9px;font-size:.8125rem;background:#ffffffac;padding:9px 11px;border-radius:9px;margin-bottom:10px}.assistant-head{display:flex;align-items:center;gap:8px;margin-bottom:10px;font-size:.8125rem;font-weight:550;color:#728866}.assistant-head .mark{width:25px;height:25px}.answer{font-size:1rem;line-height:1.9;color:#536449;overflow-wrap:anywhere}.answer h3{font-size:1rem;font-weight:600;margin:19px 0 8px;color:#566f43}.answer p{margin:8px 0}.answer strong{font-weight:600;color:#5a7649}.answer blockquote{margin:13px 0;background:#f7faf1;border-left:3px solid #d0dfbd;padding:13px 17px;border-radius:0 9px 9px 0}.answer ol,.answer ul{padding-left:23px;margin:10px 0}.answer li{padding-left:4px;margin:7px 0}.answer-note{font-size:.75rem;color:#a1b18e;margin-top:12px}.answer-actions{display:flex;align-items:center;gap:2px;margin-top:13px}.answer-actions .iconbtn{width:31px;height:31px;color:#a0b090}.answer-actions .iconbtn svg{width:15px;height:15px}.answer-actions .selected{background:#eef6e4;color:#839f61}.answer-actions .separator{height:13px;width:1px;background:#e7eddd;margin:0 8px}.followups{display:flex;flex-direction:column;align-items:flex-start;gap:7px;margin-top:19px}.followup{background:#f8faf3;border:1px solid #edf1e4;border-radius:9px;padding:9px 12px;font-size:.8125rem;color:#8c9e7a;text-align:left;max-width:100%}.followup svg{width:13px;height:13px;margin-left:8px;vertical-align:middle}.chat-footer{flex-shrink:0;background:#fff;padding:10px 34px 16px;width:100%;max-width:828px;margin:0 auto}.chat-footer textarea{min-height:47px}.chat-footer .composer{border-radius:18px;padding:12px 15px}.chat-footer .composer-hint{font-size:.75rem;margin-top:8px}.citations{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.citation{display:inline-flex;align-items:center;gap:6px;text-align:left;text-decoration:none;background:#fafbf6;border:1px solid #e9efdf;border-radius:7px;padding:7px 10px;font-size:.75rem;color:#8e9f7a}.citation svg{width:13px;height:13px}.attach-row{display:flex;align-items:center;gap:10px;margin-bottom:12px;background:#f6f9f0;border:1px solid #eaf0e0;padding:9px 11px;border-radius:11px;font-size:.8125rem;color:#829571}.attach-row>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attach-row img{width:38px;height:38px;object-fit:cover;border-radius:6px}.context-chip{display:flex;align-items:center;gap:7px;font-size:.75rem;color:#8c9f76;margin-bottom:9px}.context-chip button{display:flex;font-size:.75rem;color:#a3b191}.context-chip svg{width:13px;height:13px}.history-row{display:flex;align-items:center;gap:12px;padding:18px 13px;border-bottom:1px solid var(--line)}.history-row:hover{background:#fbfcf6}.history-open{flex:1;min-width:0;text-align:left}.history-open h3{font-size:.9375rem;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.history-open p{font-size:.8125rem;color:#a4b095;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.history-row>svg{width:19px;color:#a1b18c}.history-row small{font-size:.75rem;white-space:nowrap}.settings-layout{display:grid;grid-template-columns:172px minmax(0,1fr);gap:30px}.settings-tabs{display:flex;flex-direction:column;gap:6px}.settings-tabs button{display:flex;align-items:center;gap:10px;text-align:left;padding:12px 14px;border-radius:9px;font-size:.875rem;color:#94a780}.settings-tabs button.active{background:#f0f6e7;color:#7e985d}.settings-tabs svg{width:17px;height:17px}.settings-title{font-size:1rem;margin:3px 0 7px}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:21px 0;border-bottom:1px solid var(--line)}.setting-row strong{display:block;font-size:.875rem;font-weight:500}.setting-row p{font-size:.75rem;color:#a4b391;margin-top:5px}.setting-row .secondary{font-size:.8125rem;white-space:nowrap;padding:8px 12px;min-height:35px}.toggle{width:37px;height:22px;border-radius:20px;background:#dfe8d3;position:relative;flex-shrink:0}.toggle:after{content:'';width:16px;height:16px;border-radius:50%;background:white;position:absolute;left:3px;top:3px}.toggle.on{background:#88a966}.toggle.on:after{left:18px}.empty{text-align:center;padding:65px 15px;color:#9aaa88}.empty svg{width:35px;height:35px;margin-bottom:14px}.empty h3{font-size:1rem;font-weight:500}.empty p{font-size:.875rem;margin:10px 0 20px}.setting-product{display:flex;align-items:center;gap:15px;margin:10px 0 26px}.setting-product .home-mark{width:59px;height:59px;border-radius:19px}.setting-product strong{font-size:1.3rem;font-weight:600}.setting-product p{font-size:.8125rem;color:#a5b391}.help-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-bottom:28px}.help-card{text-align:left;padding:26px;border:1px solid var(--line);border-radius:14px}.help-card:hover{border-color:#d3e1bf;background:#fcfdf8}.help-card>svg{color:#97ae7b;width:25px;height:25px;margin-bottom:17px}.help-card h3{margin-bottom:9px}.help-card p{font-size:.8125rem;color:#a1b18d}.faq{border-bottom:1px solid var(--line);padding:18px 0}.faq summary{cursor:pointer;font-size:.875rem;color:#82966c}.faq p{font-size:.875rem;color:#9aaa89;margin-top:12px;line-height:1.8}.field{width:100%;border:1px solid #e1e9d7;border-radius:10px;padding:12px;background:#fcfdf9;outline:0;color:#5d704d;font-size:.9375rem}.field:focus{border-color:#a1b78b}textarea.field{min-height:140px;resize:vertical;line-height:1.7}.label{display:block;font-size:.8125rem;color:#92a380;margin:18px 0 9px}.helper{font-size:.75rem;color:#a4b395;line-height:1.7;margin:12px 0}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:19px}.dialog-head h2{font-size:1.2rem}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:23px}.dialog-actions .primary,.dialog-actions .secondary{min-width:86px}dialog{border:1px solid #e8eede;border-radius:18px;padding:25px;width:490px;max-width:calc(100vw - 28px);max-height:86dvh;overflow:auto;background:white;color:var(--ink);box-shadow:0 24px 90px #2b46202b}dialog::backdrop{background:#1d352f33;backdrop-filter:blur(4px)}dialog p{font-size:.875rem;color:#90a187;line-height:1.8}.choice{display:flex;align-items:center;gap:12px;width:100%;border:1px solid #e9efdf;border-radius:11px;padding:15px;margin-bottom:9px;text-align:left}.choice:hover{background:#f9fcf4;border-color:#d1e0c1}.choice>svg{color:#8fa379;width:22px;height:22px}.choice span{flex:1}.choice strong{display:block;font-size:.875rem;font-weight:500}.choice small{display:block;margin-top:4px;color:#a7b498}.choice.selected{background:#f3f8ec;border-color:#cddfba}.notice{padding:12px 15px;background:#f7faf2;border-radius:9px;font-size:.75rem;color:#97a783;line-height:1.8;margin:15px 0}.source-content{padding:17px;background:#fafcf6;border:1px solid #edf2e4;border-radius:11px;white-space:pre-wrap;font-size:.9375rem;line-height:1.9;max-height:45dvh;overflow:auto;color:#738564}.source-page{font-size:.75rem;color:#a7b598;margin-bottom:12px}.danger{color:#bc8776}.link-danger{font-size:.8125rem;color:#bc8776}.list-note{font-size:.75rem;color:#a4b395;line-height:1.7;margin-top:22px}.form-error{font-size:.8125rem;color:#bb806f;margin:9px 0}.loading{display:flex;align-items:center;gap:5px;padding:15px 0}.loading i{width:5px;height:5px;border-radius:50%;background:#a6b98b;animation:pulse 1.2s infinite}.loading i:nth-child(2){animation-delay:.2s}.loading i:nth-child(3){animation-delay:.4s}@keyframes pulse{50%{opacity:.25;transform:translateY(-3px)}}.mobile-overlay{display:none}#toast{position:fixed;bottom:32px;left:50%;transform:translate(-50%,15px);background:#375846;color:white;font-size:.8125rem;line-height:1.5;padding:12px 20px;border-radius:10px;z-index:200;opacity:0;pointer-events:none;transition:.2s;max-width:90vw;text-align:center}#toast.show{opacity:1;transform:translate(-50%,0)}.language-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.language-grid .choice{margin:0;font-size:.875rem;padding:12px}.kbd{font-size:.75rem;color:#a7b598;border:1px solid #e6edde;border-radius:5px;padding:3px 6px}.search-large{max-width:none;padding:12px 15px;margin-bottom:17px}.search-large input{font-size:.875rem}.attachment-preview{max-width:100%;max-height:220px;border-radius:11px;display:block;margin:0 auto 15px}.review-section{margin-top:22px;padding-top:20px;border-top:1px solid var(--line)}.review-section h3{font-size:.875rem;margin-bottom:12px}.op-row{display:flex;gap:7px;align-items:center;margin:10px 0}.op-row input{font-size:.8125rem;padding:10px;min-width:0}.op-row .iconbtn{width:30px;height:30px}.offline{background:#fff7ea;color:#b79e75;padding:9px;text-align:center;font-size:.75rem}.hidden{display:none!important}.folded .shell{grid-template-columns:0 minmax(0,1fr)}.folded .sidebar{transform:translateX(-100%);width:244px}.help-contact{display:flex;align-items:center;gap:12px;background:#f6f9ef;border-radius:12px;padding:20px;margin:20px 0}.help-contact svg{width:25px;height:25px;color:#9cb180}.success-circle{display:flex;align-items:center;justify-content:center;width:57px;height:57px;border-radius:50%;background:#f0f7e7;color:#88a76d;margin:12px auto 20px}.success-circle svg{width:28px;height:28px}
@media(min-width:1500px){.home{padding-top:105px;max-width:830px}.topbar{height:82px}.recommendations{margin-top:37px}}
@media(max-width:1050px){.shell{grid-template-columns:218px minmax(0,1fr)}.sidebar{padding-left:14px;padding-right:14px}.home{padding:60px 28px 30px}.page{padding:24px 28px 40px}.topbar{padding:0 24px}.settings-layout{grid-template-columns:140px minmax(0,1fr);gap:21px}.doc-list-header,.doc-row{grid-template-columns:minmax(0,1fr) 85px 76px;gap:10px}.doc-date,.date-head{display:none}}
@media(max-width:760px){.shell{display:block;height:100dvh}.sidebar{position:fixed;left:0;top:0;bottom:0;width:262px;transform:translateX(-100%);transition:transform .2s;padding:28px 18px 18px}.drawer-open .sidebar{transform:translateX(0)}.drawer-open .mobile-overlay{display:block;position:fixed;inset:0;background:#223a2d33;z-index:29;backdrop-filter:blur(2px)}.workspace{height:100dvh}.topbar{height:66px;padding:0 17px}.top-left{gap:5px}.top-left .divider,.top-left .page-crumb{display:none}.wordmark{font-size:.9375rem}.top-actions{gap:9px}.small-label{padding:4px 7px}.lang-btn{padding:4px}.lang-btn svg{display:none}.home{padding:36px 19px 30px;max-width:560px}.welcome{margin-bottom:25px}.welcome .home-mark{width:44px;height:44px;border-radius:15px}.welcome .hello{font-size:.75rem;margin:15px 0 7px}.welcome h1{font-size:1.5rem;letter-spacing:-.5px}.welcome .sub{font-size:.8125rem;margin-top:9px}.composer{padding:16px 13px 12px;border-radius:18px}.composer textarea{min-height:96px;font-size:1rem}.compose-bar{gap:5px}.compose-left,.compose-right{gap:5px}.tool-pill{padding:6px 7px;gap:4px}.compose-divider{margin:0 1px}.compose-right .iconbtn{width:29px;height:32px}.send-btn{width:32px;height:32px}.composer-hint{margin-top:10px}.recommendations{margin-top:28px}.recommend-grid{gap:9px}.recommend{padding:13px 11px;align-items:flex-start;gap:9px;min-height:83px}.recommend p{margin-top:5px}.rec-icon{width:26px;height:28px;border-radius:8px}.rec-icon svg{width:15px;height:15px}.home-bottom{margin-top:27px;gap:13px}.page{padding:16px 20px 35px}.page-heading{margin:9px 0 22px;gap:13px;align-items:flex-start}.page-heading h1{font-size:1.4rem}.page-heading p{font-size:.8125rem;max-width:250px;margin-top:7px}.page-heading .primary{font-size:.8125rem;white-space:nowrap;padding:10px 12px}.kb-banner{padding:18px;gap:10px;margin-bottom:25px;align-items:flex-start}.kb-banner h3{font-size:.875rem}.kb-banner p{font-size:.75rem}.stack-icon{width:38px;height:38px}.filterbar{flex-direction:column;align-items:stretch;gap:12px}.search-field{max-width:none}.filter-tabs button{padding:7px 10px}.doc-list-header{display:none}.doc-row{grid-template-columns:minmax(0,1fr) 65px;padding:18px 0;gap:6px}.doc-status{display:none}.doc-actions button:first-child{display:none}.doc-main strong{font-size:.8125rem}.doc-main{gap:11px}.doc-icon{width:32px;height:39px}.doc-actions{gap:0}.doc-actions button{width:31px;height:34px}.chat-inner{padding:13px 20px 10px}.chat-footer{padding:9px 15px calc(12px + env(safe-area-inset-bottom))}.chat-footer .composer{padding:11px 12px;border-radius:17px}.chat-footer textarea{min-height:42px}.user-bubble{font-size:.9375rem;max-width:93%;padding:11px 14px}.answer,.answer h3{font-size:.9375rem}.message{margin-bottom:26px}.history-row{padding:17px 0;gap:9px}.history-row small{display:none}.history-open h3{font-size:.875rem}.history-open p{font-size:.75rem}.history-row .iconbtn{width:29px}.settings-layout{display:block}.settings-tabs{flex-direction:row;gap:5px;overflow:auto;border-bottom:1px solid var(--line);padding-bottom:14px;margin-bottom:23px}.settings-tabs button{white-space:nowrap;padding:9px 12px;font-size:.8125rem;gap:6px}.settings-tabs svg{display:none}.settings-title{font-size:.9375rem}.setting-row{padding:20px 0;gap:13px}.setting-row p{max-width:230px}.help-grid{gap:11px}.help-card{padding:20px 16px}.help-card h3{font-size:.9375rem}.help-card>svg{margin-bottom:14px}.dialog-head h2{font-size:1.1rem}dialog{padding:22px;max-height:88dvh}.folded .sidebar{width:262px}.folded.drawer-open .sidebar{transform:translateX(0)}}
@media(max-width:360px){.home{padding:30px 15px 25px}.welcome h1{font-size:1.35rem}.recommend-grid{grid-template-columns:1fr}.recommend{min-height:65px;align-items:center}.compose-left .tool-pill{padding:6px}.tool-pill span{max-width:60px;overflow:hidden;text-overflow:ellipsis}.compose-divider{display:none}.composer .compose-left{gap:4px}.topbar{padding:0 12px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Legible muted text and balanced first-screen spacing. */
:root{--muted:#738578}.nav-btn,.history-link{color:#667963}.recommend strong{color:#536e4c}.recommend p,.welcome .sub{color:#76886d}.tool-pill{color:#67855c}.section-head h2,.text-btn{color:#708963}.composer textarea::placeholder{color:#829279}.page-heading p,.kb-banner p,.setting-row p,.help-card p,.faq p{color:#77876f}.answer-note,.composer-hint{color:#84917a}.followup{color:#6a8359}.citation{color:#637e55}.doc-status,.doc-date,.doc-list-header{color:#778b66}.settings-tabs button{color:#6c825b}.history-open p{color:#819176}.source-text{color:#576e49}
@media(min-width:761px) and (max-height:820px){.home{padding-top:31px}.welcome{margin-bottom:23px}.home .composer textarea{min-height:77px}.recommendations{margin-top:25px}.home-bottom{margin-top:25px}}

/* Account and email sign-in. */
.guest-user .avatar svg{width:17px;height:17px}.guest-user strong{color:#287d65}.guest-user small{font-size:11px;line-height:1.6}.guest-note{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap;font-size:12px;color:#7b8d75;margin:25px 0}.guest-note svg{width:14px;height:14px}.guest-note button{padding:0;color:#278b76;text-decoration:underline;text-underline-offset:3px}.account-card{padding:32px 24px;border:1px solid var(--line);border-radius:16px;text-align:center;background:#fbfdf9}.account-card h2{margin:20px 0 12px;font-size:20px}.account-card p{font-size:14px;color:#7a8970;margin:0 auto 24px;max-width:360px}.account-profile{display:flex;align-items:center;gap:16px;padding:6px 0 26px;border-bottom:1px solid var(--line)}.account-profile .avatar{width:58px;height:58px;font-size:22px}.account-profile h2{font-size:20px;overflow-wrap:anywhere}.account-profile p{font-size:12px;color:#6d8c61;margin-top:6px;display:flex;align-items:center;gap:6px}.status-dot{display:inline-block;width:6px;height:6px;background:#459a79;border-radius:50%}.account-email{overflow-wrap:anywhere}.setting-row>div{min-width:0}.account-profile+ .setting-row{padding-top:25px}.auth-screen{min-height:100dvh;background:#fff;display:flex;flex-direction:column;color:#304837}.auth-top{height:92px;padding:0 5%;display:flex;align-items:center;justify-content:space-between}.auth-top .brand{font-size:23px}.auth-top .lang-btn{font-size:13px}.auth-layout{display:grid;grid-template-columns:minmax(0,1fr) 410px;gap:7%;max-width:1120px;width:100%;margin:auto;padding:30px 44px 55px;align-items:center}.auth-story{position:relative;padding:20px 0}.auth-eyebrow{font-size:11px;letter-spacing:1.6px;color:#748d76}.auth-story h1{font-size:36px;line-height:1.6;letter-spacing:-1.5px;margin-top:25px;color:#344e39;font-weight:600}.auth-story>p{font-size:14px;line-height:2;color:#819078;margin-top:20px}.auth-points{display:grid;gap:13px;margin-top:26px;font-size:13px;color:#61816b}.auth-points>div{display:flex;align-items:center;gap:11px}.auth-points svg{width:17px;height:17px}.auth-art{height:160px;position:relative;margin-top:35px;max-width:355px}.auth-orbit{width:255px;height:155px;border:1px solid #e0ece2;position:absolute;left:20px;top:0;border-radius:50%;transform:rotate(-18deg);background:radial-gradient(ellipse at center,#f4f9ee 0,transparent 68%)}.auth-art>.mark{position:absolute;top:37px;left:124px;width:58px;height:58px;color:#418b6d;transform:rotate(-5deg)}.auth-note{position:absolute;display:flex;align-items:center;gap:10px;padding:14px 18px;font-size:12px;background:white;border:1px solid #e7eee0;box-shadow:0 7px 25px #3b604407;border-radius:13px;color:#698664;white-space:nowrap}.auth-note svg{width:16px;height:16px}.auth-note.one{top:0;left:78px;transform:rotate(3deg)}.auth-note.two{top:98px;left:4px;transform:rotate(-5deg)}.auth-card{border:1px solid #e6ede2;border-radius:24px;box-shadow:0 12px 60px #47643806;padding:30px 35px;background:#fff;min-height:455px}.auth-back{display:flex;align-items:center;gap:6px;font-size:12px;color:#859780;padding:0;margin-bottom:21px}.auth-back svg{width:13px;height:13px;transform:rotate(180deg)}.auth-card-mark{display:flex;align-items:center;justify-content:center;background:#f0f7ed;border-radius:15px;width:48px;height:48px;margin-bottom:19px}.auth-card-mark .mark{width:35px;height:35px}.auth-card h2{font-size:23px;letter-spacing:-.4px;font-weight:600}.auth-sub{font-size:13px;color:#829078;line-height:1.8;margin-top:12px}.auth-card .label{color:#5f7855;margin-top:27px;margin-bottom:10px}.auth-card .field{height:48px;background:#fcfdfb;border-color:#dfe9d9}.input-help{font-size:11px;color:#8c9c83;margin-top:10px;line-height:1.8}.auth-submit{margin-top:20px;height:46px;border-radius:10px;font-size:14px}.auth-guest{width:100%;display:flex;align-items:center;justify-content:center;gap:7px;margin:17px 0 0;color:#778e6c;font-size:12px;padding:6px}.auth-guest svg{width:12px;height:12px}.auth-demo-note{display:flex;align-items:flex-start;gap:7px;padding-top:22px;margin-top:17px;border-top:1px solid #edf2e8;font-size:11px;color:#83937a;line-height:1.8}.auth-demo-note svg{width:13px;height:13px;margin-top:3px}.auth-phone-summary{display:flex;align-items:center;gap:9px;font-size:13px;background:#f4f8f0;border-radius:9px;padding:12px 13px;margin-top:22px;overflow-wrap:anywhere}.auth-phone-summary span{min-width:0}.auth-phone-summary svg{width:17px;height:17px;color:#7e9b6c}.auth-card .otp-input{letter-spacing:9px;font-size:21px;padding-left:18px}.code-resend{display:flex;justify-content:space-between;gap:9px;align-items:center;font-size:11px;margin-top:12px;color:#8c9a81}.code-resend button{font-size:12px;color:#2a8a70;padding:0}.code-resend button:disabled{color:#8fa087;opacity:1}.auth-expired{display:flex;align-items:flex-start;gap:8px;background:#fff8ed;border:1px solid #f1e8d5;color:#9a8153;font-size:12px;line-height:1.8;border-radius:9px;padding:12px;margin-top:17px}.auth-expired svg{width:15px;height:15px;margin-top:3px}.auth-footer{text-align:center;font-size:11px;color:#a0ae95;padding:15px 20px 24px}.auth-state-list{display:grid;gap:0}.auth-state-list>div{display:flex;gap:14px;padding:15px 0;border-bottom:1px solid var(--line)}.auth-state-list>div>span{width:25px;height:25px;flex-shrink:0;display:flex;align-items:center;justify-content:center;border-radius:8px;background:#f0f6e9;font-size:12px;color:#759764}.auth-state-list strong{font-size:13px;font-weight:550}.auth-state-list p{font-size:12px;color:#829475;margin-top:5px;line-height:1.8}.auth-state-list section{min-width:0}.auth-card .form-error{line-height:1.6;font-size:12px;color:#ae6857;margin-bottom:0}
@media(max-width:960px){.auth-layout{gap:35px;padding:20px 32px 40px;grid-template-columns:minmax(0,1fr) 370px}.auth-card{padding:27px}.auth-story h1{font-size:29px}.auth-eyebrow{letter-spacing:.6px}.auth-story>p{font-size:13px}.auth-art{transform:scale(.85);transform-origin:left top;margin-bottom:-25px}}
@media(max-width:760px){.auth-top{height:75px;padding:0 23px}.auth-top .brand{font-size:21px}.auth-layout{display:block;padding:15px 23px 30px;max-width:465px;margin:auto}.auth-story{display:none}.auth-card{padding:28px 24px;border-radius:21px;box-shadow:0 8px 35px #47643804;min-height:440px}.auth-card h2{font-size:23px}.auth-card .field{font-size:16px}.auth-sub{font-size:13px}.auth-card .otp-input{font-size:22px}.auth-top .lang-btn{font-size:12px}.auth-footer{font-size:11px;padding-bottom:25px}.account-card{padding:27px 20px}.account-card h2{font-size:18px}.account-card p{font-size:13px}.account-profile{padding-top:0}.account-profile .avatar{width:50px;height:50px}.guest-note{font-size:11px;line-height:1.8}.auth-card .form-error{font-size:12px}}

.header-signin{background:#edf6e9;border:1px solid #dfeada;color:#347957;border-radius:7px;font-size:12px;padding:6px 12px;white-space:nowrap}
.auth-methods{display:flex;gap:0;border-bottom:1px solid #e7eee2;margin-top:22px}.auth-methods button{display:flex;align-items:center;justify-content:center;gap:7px;flex:1;font-size:13px;color:#8b9b82;padding:12px 5px;border-bottom:2px solid transparent;margin-bottom:-1px}.auth-methods button.active{color:#27836b;border-bottom-color:#27836b;font-weight:550}.auth-methods svg{width:15px;height:15px}.auth-methods+form .label{margin-top:22px}.phone-field{display:flex;align-items:stretch;border:1px solid #dfe9d9;border-radius:10px;overflow:hidden;background:#fcfdfb;height:48px}.phone-field:focus-within{border-color:#a1b78b}.phone-field select{width:109px;flex-shrink:0;border:0;outline:0;background:#f6f9f2;border-right:1px solid #e5eddd;color:#667d58;font-size:12px;padding:0 8px;cursor:pointer}.phone-field input{min-width:0;width:100%;border:0;outline:0;background:transparent;color:#5d704d;padding:12px 11px;font-size:15px}.phone-field input::placeholder{color:#97a48b}.phone-field select:focus-visible{outline:2px solid #96bea7;outline-offset:-2px}@media(max-width:760px){.phone-field select{width:100px;font-size:12px}.phone-field input{font-size:16px;padding:12px 9px}.auth-methods button{font-size:13px}}

.auth-header-actions{display:flex;align-items:center;gap:20px}.login-home-link{display:inline-flex;align-items:center;gap:4px;font-size:13px;text-decoration:none;color:#668568;min-height:44px;padding:8px}.login-home-link svg{width:14px;height:14px;transform:rotate(180deg)}.demo-access{margin-top:12px;min-height:44px;background:#f1f7ed;color:#39836a;border-color:#dce9d4}.demo-access svg{width:15px;height:15px}.auth-back{min-height:36px;margin-bottom:12px}.auth-guest{margin-top:10px;min-height:40px}.auth-demo-note{margin-top:10px;padding-top:15px}@media(max-width:760px){.auth-top{padding:0 18px}.auth-header-actions{gap:4px}.login-home-link{font-size:12px;padding:6px}.auth-header-actions .lang-btn{font-size:11px}.auth-layout{padding-top:8px;padding-bottom:15px}.auth-card{padding-top:20px;padding-bottom:20px}.auth-card-mark{margin-bottom:12px}.auth-top .brand{font-size:19px}.demo-access{font-size:13px}.auth-card .label{margin-top:18px}.auth-footer{padding-bottom:17px}}
.auth-top{position:sticky;top:0;z-index:10;flex-shrink:0;background:#fffffff2;backdrop-filter:blur(10px)}

/* Quick tools belong to the composer; recommendation cards remain a separate home section. */
.compose-left{min-width:0;flex:1;gap:8px}.compose-basics{display:flex;align-items:center;gap:7px;flex-shrink:0}.compose-right{flex-shrink:0}.compose-shortcuts{display:flex;align-items:center;gap:2px;min-width:0;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;border-left:1px solid #e7ede1;padding:2px 0 2px 7px}.compose-shortcuts::-webkit-scrollbar{display:none}.feature-shortcut{display:inline-flex;align-items:center;justify-content:center;gap:5px;flex-shrink:0;white-space:nowrap;border:1px solid transparent;border-radius:7px;padding:7px 6px;min-height:31px;font-size:12px;color:#69825e;background:transparent;cursor:default}.feature-shortcut svg{width:14px;height:14px;stroke-width:1.6;color:#8b9f7e}.feature-shortcut:hover{background:#f4f8ef;border-color:#e7efdf}.feature-shortcut:focus-visible{outline:2px solid #a7c7b0;outline-offset:-2px}
@media(max-width:1050px) and (min-width:761px){.compose-left{gap:5px}.feature-shortcut{padding:7px 5px}.compose-shortcuts{padding-left:5px}}
@media(max-width:760px){.compose-bar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px 5px}.compose-left{display:contents}.compose-basics{grid-column:1;grid-row:1;gap:5px}.compose-right{grid-column:2;grid-row:1}.compose-shortcuts{grid-column:1/-1;grid-row:2;width:100%;border-left:0;border-top:1px solid #edf2e7;padding:8px 0 0;gap:6px}.feature-shortcut{border-color:#e8efdf;background:#fcfdf9;padding:7px 9px;min-height:34px;font-size:12px;gap:5px}.feature-shortcut svg{width:14px;height:14px}.compose-basics .iconbtn{border:1px solid #edf1e7;border-radius:50%;width:30px;height:30px}.compose-basics .iconbtn svg{width:18px}}

/* Account actions and current browser session. */
.session-device{display:flex;align-items:center;gap:13px;padding:18px 0;border-bottom:1px solid var(--line)}.session-device>div{min-width:0;flex:1}.session-device strong{font-size:14px;font-weight:550}.session-device p{font-size:12px;margin-top:5px}.session-device-icon{width:42px;height:42px;border-radius:12px;background:#f0f6eb;display:flex;align-items:center;justify-content:center;color:#739b68;flex-shrink:0}.session-device-status{font-size:12px;color:#3e9475;white-space:nowrap}
.invite-field-label{display:flex;align-items:center;justify-content:space-between;gap:10px}.invite-field-label small{font-size:11px;font-weight:400;color:#8b9983}.invite-input{text-transform:uppercase;letter-spacing:1px}.invite-input::placeholder{text-transform:none;letter-spacing:0}.invite-landing-note{display:flex;gap:8px;align-items:flex-start;padding:12px;margin-top:18px;background:#f0f7ee;border-radius:10px;color:#528364;font-size:12px;line-height:1.7}.invite-landing-note svg{width:16px;height:16px;flex-shrink:0;margin-top:2px}.invite-landing-note.has-error{background:#fff7ee;color:#9d7650}.invitations-page{max-width:850px}.invitations-page>.auth-back{margin-bottom:20px}.invitations-page .page-heading{align-items:center}.invite-badge,.invite-status{font-size:12px;color:#49876c;background:#edf6ee;border-radius:30px;padding:6px 11px;white-space:nowrap}.invite-status.muted{color:#89917f;background:#f1f3ed}.invite-quota{display:flex;align-items:center;justify-content:space-between;padding:28px 32px;background:linear-gradient(115deg,#edf5e9,#f5f9f0);border:1px solid #e0ebda;border-radius:18px;margin-bottom:20px;overflow:hidden}.invite-quota>div>span{font-size:13px;color:#64805b}.quota-number{font-size:54px;letter-spacing:-2px;line-height:1.3;font-weight:600;color:#385f48;margin:8px 0}.quota-number small{font-size:19px;color:#91a487;font-weight:400;letter-spacing:0;margin-left:10px}.invite-quota p{font-size:12px;color:#7d9173;line-height:1.8}.quota-art{display:grid;place-items:center;width:92px;height:92px;background:#ffffff8f;border-radius:50%;transform:rotate(10deg);margin-left:20px;flex-shrink:0}.quota-art svg{width:43px;height:43px;color:#72a080;stroke-width:1.1}.invite-code-card{padding:25px 30px;border:1px solid #e3ebde;border-radius:18px;background:#fff}.invite-code-card h2,.invite-rules h2,.invite-records h2{font-size:15px;font-weight:550}.invite-code-value{font-size:31px;font-weight:550;color:#476c50;letter-spacing:5px;margin:22px 0 8px;overflow-wrap:anywhere}.invite-share{display:flex;gap:12px;margin-top:23px}.invite-share>button{min-height:44px;flex:1}.invite-share svg{width:15px;height:15px}.invite-share button:disabled{opacity:.45;cursor:not-allowed}.invite-warning{font-size:12px;line-height:1.8;color:#9a7652;margin-top:14px}.invite-rules{padding:28px 4px;border-bottom:1px solid #e4ebdf}.invite-rules ol{padding-left:18px;margin-top:12px;font-size:13px;line-height:2.2;color:#809176}.invite-records{padding:28px 4px}.invite-records .section-head>span{font-size:12px;color:#8d9a83}.invite-empty{display:flex;align-items:center;flex-direction:column;text-align:center;padding:30px 10px 10px;color:#96a38b}.invite-empty svg{width:26px;height:26px;color:#b2c2a8;margin-bottom:12px}.invite-empty p{font-size:13px;color:#7d9174;line-height:1.8}.invite-empty span{font-size:12px;margin-top:6px;line-height:1.8}.invite-record{display:flex;align-items:center;gap:12px;padding:18px 0;border-bottom:1px solid #edf1e9}.invite-record>div{flex:1;min-width:0}.invite-record strong{font-size:14px;overflow-wrap:anywhere}.invite-record p{font-size:12px;color:#8c9c81;margin-top:6px}.invite-review-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.invite-check{display:flex;align-items:center;gap:8px;font-size:13px;color:#6b805f;margin-top:16px}.invite-seed-row{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid #e9eee4}.invite-seed-row code{flex:1;color:#5d7d59}.invite-seed-row small{color:#8b9981;font-size:11px}.invite-seed-row:last-of-type{margin-bottom:15px}@media(max-width:760px){.invitations-page .page-heading{gap:10px}.invite-badge{font-size:11px;padding:6px 9px}.invite-quota{padding:23px}.quota-art{width:62px;height:62px}.quota-art svg{width:32px;height:32px}.quota-number{font-size:45px}.invite-code-card{padding:22px}.invite-code-value{font-size:27px;letter-spacing:3px}.invite-share{flex-direction:column;gap:9px}.invite-rules ol{font-size:12px}.invite-review-grid{gap:10px}.invitations-page>.auth-back{margin-bottom:16px}}

/* Social sign-in, invitation-aware demo. */
.social-separator{display:flex;align-items:center;gap:12px;color:var(--muted,#7d8d80);font-size:12px;margin:22px 0 14px}.social-separator:before,.social-separator:after{content:"";height:1px;background:#e4eae3;flex:1}.social-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.social-button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px;border:1px solid #dfe6dc;border-radius:12px;background:#fff;color:#33473c;font-size:13px;font-weight:500;cursor:pointer;padding:10px 6px}.social-button:hover{background:#f5f9f3;border-color:#8dbca6}.social-button:focus-visible{outline:2px solid #258c77;outline-offset:3px}.social-button:disabled{opacity:.5;cursor:wait}.provider-icon{width:20px;height:20px;flex-shrink:0}.social-verified{display:flex;align-items:center;gap:12px;background:#f3f8f1;border:1px solid #e1ebdc;border-radius:14px;padding:16px;margin-bottom:22px}.social-verified>div{flex:1;min-width:0}.social-verified strong,.social-verified span{display:block}.social-verified strong{font-size:14px}.social-verified span{font-size:12px;color:#7c8d77;margin-top:5px}.social-demo-brand{display:flex;align-items:center;gap:10px;font-weight:600;margin:4px 0 18px}.social-demo-brand>svg{width:24px;height:24px}.social-demo-arrow{color:#9aa894;margin:0 6px}.social-confirm{margin-top:14px}.social-demo-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:12px}.social-demo-actions .text-btn{font-size:12px;color:#768773}.auth-card .auth-demo-note{margin-top:18px}@media(max-width:480px){.social-buttons{gap:7px}.social-button{font-size:12px;gap:6px}.social-separator{margin-top:18px}}
@media(min-width:761px) and (max-height:800px){.auth-top{height:64px;flex-shrink:0}.auth-layout{padding-top:10px;padding-bottom:12px}.auth-card{padding:18px 30px}.auth-back{margin-bottom:5px;min-height:28px}.auth-card-mark{width:36px;height:36px;margin-bottom:10px}.auth-card-mark .mark{width:28px;height:28px}.auth-sub{margin-top:7px}.auth-card .label{margin-top:16px;margin-bottom:7px}.auth-submit{margin-top:14px}.social-separator{margin:15px 0 10px}.auth-card .auth-demo-note{margin-top:13px;padding-top:10px}.auth-footer{padding:8px 20px 12px}}

/* Translation: reference-inspired composer in One AI's softer visual language. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.feature-shortcut-live{cursor:pointer;color:#287b67}.feature-shortcut-live svg{color:#278b76}.feature-shortcut-live:hover{background:#edf7f0;border-color:#d6e9dd}
.translation-page{max-width:1060px;margin:0 auto;padding:38px 45px 60px}.translation-intro{display:flex;align-items:flex-end;justify-content:space-between;margin:0 0 25px}.translation-eyebrow{display:block;color:#6b9b80;font-size:11px;font-weight:650;letter-spacing:2px;margin-bottom:9px}.translation-intro h1{font-size:31px;color:#294c3e;line-height:1.25}.translation-intro p{margin-top:9px;font-size:13px;color:#8b9d90}.translation-panel{border:1.5px solid #9fcbb5;border-radius:22px;background:#fff;box-shadow:0 18px 42px #315a4510;overflow:hidden}.translation-panel-top{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:20px 24px 8px}.translation-panel-title{display:flex;align-items:center;gap:11px;color:#284d3e;font-size:17px}.translation-panel-title svg{color:#258c77;width:22px;height:22px}.translation-panel-actions{display:flex;align-items:center;gap:11px}.translation-pdf{display:flex;align-items:center;gap:7px;border:1px solid #e1ebe4;padding:8px 11px;border-radius:9px;font-size:12px;color:#607b69;background:#fbfdfb}.translation-pdf svg{width:16px;height:16px}.translation-pdf:hover,.translation-pdf.active{background:#e9f5ec;color:#2c816b;border-color:#b7d7c1}.translation-close{display:grid;place-items:center;width:33px;height:33px;border-radius:9px;color:#84998b}.translation-close:hover{background:#f0f5f0;color:#3d6654}.translation-close svg{width:19px;height:19px}.translation-languages{display:flex;align-items:center;gap:15px;padding:10px 24px 20px}.translation-select{display:block;position:relative}.translation-select:after{content:'⌄';position:absolute;right:14px;top:50%;transform:translateY(-55%);color:#809287;pointer-events:none;font-size:17px}.translation-select select{appearance:none;-webkit-appearance:none;min-width:194px;max-width:245px;height:47px;padding:0 36px 0 16px;border:1px solid #e0eae4;border-radius:12px;background:#fbfdfb;color:#405b4b;font-size:14px;font-weight:550;cursor:pointer}.translation-select select:focus{outline:2px solid #a8d6ba;outline-offset:1px}.translation-swap{font-size:24px;color:#6c8677;width:32px;height:42px;line-height:1}.translation-swap:hover{color:#258c77}.translation-input-wrap{border-top:1px solid #edf1ed}.translation-input-wrap textarea{width:100%;min-height:190px;resize:vertical;border:0;background:#fff;outline:0;padding:26px 26px 8px;font-size:18px;line-height:1.75;color:#304c3e}.translation-input-wrap textarea::placeholder{color:#a8b4ac}.translation-panel-bottom{display:flex;align-items:center;justify-content:space-between;gap:14px;border-top:1px solid #edf1ed;padding:13px 20px 13px 24px;background:#fcfefc}.translation-panel-bottom>div{display:flex;align-items:center;gap:11px}.translation-count{font-size:11px;color:#a1afa4}.translation-clear{font-size:12px;color:#788c7c;padding:7px 10px}.translation-clear:hover{color:#286f5e}.translation-submit{display:flex;align-items:center;gap:8px;background:#258c77;color:white;border-radius:10px;padding:10px 14px;font-size:13px;font-weight:550}.translation-submit:hover{background:#18765f}.translation-submit:disabled{background:#d5e7da;opacity:1}.translation-submit svg{width:15px;height:15px;transform:rotate(90deg)}.translation-examples{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin:18px 2px 0}.translation-examples span{font-size:12px;color:#92a194;margin-right:3px}.translation-examples button{font-size:12px;border:1px solid #e4ece5;border-radius:20px;padding:7px 11px;background:#fbfdfb;color:#64866e}.translation-examples button:hover{border-color:#a4ceb0;background:#eff7ef}.translation-notice{margin-top:18px;border:1px solid #e9dfc8;background:#fffaf0;border-radius:11px;color:#8e764d;font-size:12px;padding:11px 14px;line-height:1.7}.translation-result{border:1px solid #dbeadd;border-radius:17px;background:#fbfefc;margin-top:25px;overflow:hidden}.translation-result-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 22px;border-bottom:1px solid #e5eee6}.translation-result-head>div>span{font-size:11px;color:#8da492}.translation-result-head h2{font-size:15px;margin-top:5px;color:#3d5c4a}.translation-result-head h2 span{color:#9aae9f;margin:0 7px}.translation-result-head .secondary{min-height:34px;padding:7px 10px;font-size:12px}.translation-result-columns{display:grid;grid-template-columns:1fr 1fr}.translation-result-columns>div{padding:21px 23px;min-height:130px}.translation-result-columns>div+div{border-left:1px solid #e5eee6;background:#f7fbf8}.translation-result-columns small{font-size:11px;color:#94a79a}.translation-result-columns p{font-size:15px;line-height:1.8;color:#3a5545;margin-top:12px;white-space:pre-wrap;overflow-wrap:anywhere}.translation-demo-note{font-size:11px;color:#a0aea2;margin-top:20px;line-height:1.7}.translation-file-zone{display:flex;flex-direction:column;align-items:center;text-align:center;min-height:265px;border-top:1px solid #edf1ed;padding:36px 20px}.translation-file-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:15px;background:#edf7ef;color:#4b9975;margin-bottom:15px}.translation-file-icon svg{width:27px;height:27px}.translation-file-zone strong{font-size:16px;font-weight:550;overflow-wrap:anywhere;max-width:100%}.translation-file-zone p{font-size:12px;color:#96a599;margin:8px 0 16px}.translation-file-zone .secondary{min-height:36px;font-size:12px;padding:8px 14px}.translation-remove-file{font-size:12px;color:#9b8076;margin-top:11px}
@media(max-width:760px){.translation-page{padding:18px 18px 48px}.translation-intro{margin-bottom:19px}.translation-intro h1{font-size:26px}.translation-intro p{font-size:12px}.translation-panel{border-radius:17px}.translation-panel-top{padding:15px 14px 8px}.translation-panel-title{font-size:15px}.translation-panel-actions{gap:4px}.translation-pdf{font-size:11px;padding:7px}.translation-pdf svg{width:14px;height:14px}.translation-languages{padding:8px 14px 15px;gap:5px}.translation-select{min-width:0;flex:1}.translation-select select{min-width:0;max-width:none;width:100%;height:43px;font-size:12px;padding-left:10px;padding-right:23px}.translation-select:after{right:7px}.translation-swap{width:24px;flex-shrink:0;font-size:19px}.translation-input-wrap textarea{padding:18px 16px 8px;min-height:190px;font-size:16px}.translation-panel-bottom{padding:10px 12px}.translation-submit{padding:9px 10px;font-size:12px}.translation-result-head{padding:15px;align-items:flex-start}.translation-result-head h2{font-size:13px}.translation-result-columns{display:block}.translation-result-columns>div{min-height:0;padding:17px}.translation-result-columns>div+div{border-left:0;border-top:1px solid #e5eee6}.translation-result-columns p{font-size:14px}}

/* Translation mode lives in the ordinary composer, including in the chat footer. */
.translation-composer{border:1.5px solid #a6cfb7;border-radius:19px;background:#fff;box-shadow:0 8px 25px #315a450b;overflow:hidden}.translation-compact-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 16px 2px}.translation-composer .translation-panel-title{font-size:14px}.translation-composer .translation-panel-title svg{width:18px;height:18px}.translation-composer .translation-pdf{font-size:11px;padding:6px 8px}.translation-composer .translation-close{width:29px;height:29px}.translation-composer .translation-languages{gap:10px;padding:9px 16px 12px}.translation-composer .translation-select select{min-width:155px;max-width:220px;height:38px;border-radius:9px;font-size:12px}.translation-composer .translation-swap{font-size:20px;height:34px;width:25px}.translation-composer .translation-input-wrap textarea{min-height:100px;max-height:175px;padding:15px 17px 8px;font-size:14px;line-height:1.6}.translation-composer .translation-panel-bottom{padding:9px 12px 9px 16px}.translation-composer .translation-submit{padding:8px 11px;font-size:12px}.translation-composer .translation-examples{margin:0;padding:10px 16px;border-top:1px solid #edf1ed;gap:7px}.translation-composer .translation-examples button{padding:5px 9px;font-size:11px}.translation-composer .translation-demo-note{margin:0;padding:0 16px 11px;font-size:10px}.translation-composer .translation-notice{margin:9px 14px 10px;font-size:11px}.translation-composer .translation-file-zone{min-height:155px;padding:15px}.translation-composer .translation-file-icon{width:39px;height:39px;border-radius:11px;margin-bottom:8px}.translation-composer .translation-file-icon svg{width:21px;height:21px}.translation-composer .translation-file-zone strong{font-size:13px}.translation-composer .translation-file-zone p{font-size:11px;margin:5px 0 9px}.chat-footer .translation-composer{max-width:100%}.message.user.translation-message [data-action^="edit-message-"],.message.assistant.translation-message [data-action^="regenerate-"]{display:none}
@media(max-width:760px){.translation-compact-head{padding:10px 10px 1px}.translation-composer .translation-languages{gap:4px;padding:7px 10px 10px}.translation-composer .translation-select select{min-width:0;max-width:none;width:100%;height:37px;padding-left:8px;padding-right:22px;font-size:11px}.translation-composer .translation-swap{width:21px;font-size:18px}.translation-composer .translation-input-wrap textarea{min-height:95px;padding:12px;font-size:14px}.translation-composer .translation-panel-bottom{padding:7px 9px}.translation-composer .translation-examples{padding:8px 10px}.translation-composer .translation-demo-note{padding:0 10px 9px}.chat-footer{padding:8px 12px 12px}}

/* A small encyclopedia mode inside the existing conversation. */
.encyclopedia-composer{border:1px solid #b8d8c2;border-radius:18px;background:#fff;box-shadow:0 7px 22px #315a4509;padding:13px 15px 10px}.encyclopedia-head,.encyclopedia-head>div,.encyclopedia-bottom,.encyclopedia-examples{display:flex;align-items:center}.encyclopedia-head{justify-content:space-between;gap:10px}.encyclopedia-head>div{gap:8px;color:#3d765e;font-size:14px}.encyclopedia-head svg{width:18px;height:18px}.encyclopedia-head .iconbtn{width:28px;height:28px}.encyclopedia-composer textarea{display:block;width:100%;min-height:76px;max-height:180px;resize:vertical;outline:0;border:0;background:transparent;padding:13px 2px 4px;color:#3a5548;line-height:1.6;font-size:14px}.encyclopedia-composer textarea::placeholder{color:#a1afa4}.encyclopedia-bottom{justify-content:space-between;gap:10px}.encyclopedia-examples{flex-wrap:wrap;gap:7px}.encyclopedia-examples button{border:1px solid #e3ece4;border-radius:8px;padding:6px 9px;color:#708976;font-size:11px;text-align:left}.encyclopedia-examples button:hover{background:#f2f8f1;border-color:#c8dfce}.encyclopedia-demo-note{margin-top:10px;color:#a2b0a3;font-size:10px;line-height:1.5}.message.user.encyclopedia-message [data-action^="edit-message-"],.message.assistant.encyclopedia-message [data-action^="regenerate-"]{display:none}
@media(max-width:760px){.encyclopedia-composer{padding:10px}.encyclopedia-composer textarea{min-height:70px}.encyclopedia-demo-note{font-size:10px}}

.encyclopedia-search-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:11px;padding:9px 0 0;border-top:1px solid #edf2ea}
.encyclopedia-search-row>span{display:flex;align-items:center;gap:7px;color:#577765;font-size:12px}
.encyclopedia-search-row>span svg{width:15px;height:15px}
.encyclopedia-search-row small{color:#9aaa9d;font-size:11px}
.encyclopedia-sources{margin-top:18px;padding-top:14px;border-top:1px solid #edf1e8}
.encyclopedia-sources h3{margin:0 0 9px!important;color:#657e6c;font-size:12px!important;font-weight:600}
.encyclopedia-source-list{display:flex;flex-wrap:wrap;gap:8px}
.encyclopedia-source{display:flex;align-items:center;gap:9px;min-width:220px;max-width:100%;padding:10px 11px;border:1px solid #e0eae0;border-radius:10px;background:#f9fcf8;text-decoration:none;color:#506b59}
.encyclopedia-source:hover{border-color:#b7d4bf;background:#f3faf3}
.encyclopedia-source-number{display:grid;place-items:center;width:21px;height:21px;flex:none;border-radius:6px;background:#e5f2e9;color:#4c8462;font-size:11px;font-weight:600}
.encyclopedia-source span:nth-child(2){min-width:0}
.encyclopedia-source strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600}
.encyclopedia-source small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:3px;color:#97a89b;font-size:10px}
.encyclopedia-source svg{width:13px;height:13px;flex:none;margin-left:auto;color:#89a792}

/* Writing stays in the main conversation, with a compact type and style picker. */
.writing-composer{border:1px solid #b8d8c2;border-radius:18px;background:#fff;box-shadow:0 7px 22px #315a4509;overflow:hidden}.writing-head,.writing-head>div,.writing-options-toggle,.writing-bottom{display:flex;align-items:center}.writing-head{justify-content:space-between;gap:10px;padding:11px 14px}.writing-head>div{gap:8px;color:#3d765e;font-size:14px}.writing-head>div:last-child{gap:4px}.writing-head svg{width:17px;height:17px}.writing-head .iconbtn{width:28px;height:28px}.writing-options-toggle{gap:5px;padding:6px 9px;border:1px solid #e4ece5;border-radius:8px;color:#748a78;font-size:11px}.writing-options-toggle svg{width:15px;height:15px}.writing-categories{display:flex;gap:6px;overflow-x:auto;padding:0 14px 10px;scrollbar-width:thin}.writing-categories button{white-space:nowrap;padding:7px 11px;border:1px solid #e1e9e2;border-radius:9px;font-size:11px;color:#6f8272;flex-shrink:0}.writing-categories button.active{background:#258c77;border-color:#258c77;color:#fff}.writing-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:0 14px 12px}.writing-select{display:flex;align-items:center;gap:6px;min-width:0;height:38px;padding:0 9px;border:1px solid #e4ece5;border-radius:9px;color:#8a9b8f;font-size:11px}.writing-select span{white-space:nowrap}.writing-select select{min-width:0;width:100%;border:0;outline:0;background:transparent;color:#3c5949;font-size:11px;cursor:pointer}.writing-composer textarea{display:block;width:100%;min-height:96px;max-height:200px;resize:vertical;border:0;border-top:1px solid #edf1ed;outline:0;padding:14px 16px 5px;background:transparent;color:#3a5548;line-height:1.6;font-size:14px}.writing-composer textarea::placeholder{color:#a1afa4}.writing-bottom{justify-content:space-between;gap:10px;padding:6px 13px}.writing-example{padding:6px 9px;border:1px solid #e3ece4;border-radius:8px;color:#708976;font-size:11px;text-align:left}.writing-example:hover{background:#f2f8f1;border-color:#c8dfce}.writing-demo-note{padding:0 14px 10px;color:#a2b0a3;font-size:10px;line-height:1.5}.message.user.writing-message [data-action^="edit-message-"],.message.assistant.writing-message [data-action^="regenerate-"]{display:none}
@media(max-width:760px){.writing-head{padding:9px 10px}.writing-categories{padding:0 10px 9px}.writing-options{grid-template-columns:1fr 1fr;gap:6px;padding:0 10px 10px}.writing-select:last-child{grid-column:1/-1}.writing-composer textarea{min-height:85px;padding:12px}.writing-bottom{padding:6px 10px}.writing-demo-note{padding:0 10px 9px}}

/* Photo homework help uses the camera on mobile and file upload on desktop. */
.study-composer{border:1px solid #b8d8c2;border-radius:18px;background:#fff;box-shadow:0 7px 22px #315a4509;overflow:hidden}.study-head,.study-head>div,.study-pickers,.study-bottom,.study-preview{display:flex;align-items:center}.study-head{justify-content:space-between;padding:12px 14px}.study-head>div{gap:8px;color:#3d765e;font-size:14px}.study-head svg{width:18px;height:18px}.study-head .iconbtn{width:28px;height:28px}.study-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:138px;margin:0 14px;border:1px dashed #c9ddce;border-radius:12px;background:#f9fcf9;text-align:center}.study-empty svg{width:25px;height:25px;color:#6a9a7d}.study-empty strong{font-size:13px;font-weight:550}.study-empty span{color:#8ea396;font-size:11px}.study-preview{gap:10px;margin:0 14px;padding:8px;border:1px solid #e4ede5;border-radius:12px;min-width:0}.study-preview img{width:82px;height:66px;object-fit:cover;border-radius:8px;background:#f7f9f5}.study-preview span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#647e6c}.study-pickers{flex-wrap:wrap;gap:7px;padding:11px 14px}.study-pickers button{display:inline-flex;align-items:center;justify-content:center;gap:6px;border-radius:9px;padding:8px 11px;min-height:35px;font-size:11px}.study-pickers svg{width:15px;height:15px}.study-primary{background:#258c77;color:#fff}.study-secondary{background:#f5f9f5;border:1px solid #e0ebe2;color:#54765f}.study-composer textarea{display:block;width:100%;min-height:60px;max-height:150px;resize:vertical;border:0;border-top:1px solid #edf1ed;outline:0;padding:11px 15px 4px;background:transparent;color:#3a5548;line-height:1.6;font-size:13px}.study-composer textarea::placeholder{color:#a1afa4}.study-bottom{justify-content:space-between;gap:10px;padding:5px 13px 9px}.study-bottom span{color:#9bad9e;font-size:10px}.study-send{display:inline-flex;align-items:center;gap:6px;border-radius:8px;padding:7px 11px;background:#258c77;color:#fff;font-size:11px;white-space:nowrap}.study-send svg{width:15px;height:15px}.study-send:disabled{background:#deebe1;color:#8dac95;opacity:1}.study-demo-note,.study-notice{padding:0 14px 10px;color:#a2b0a3;font-size:10px;line-height:1.5}.study-notice{color:#af776b;padding-bottom:3px}.user-attachment-thumb{width:58px;height:48px;object-fit:cover;border-radius:6px;flex-shrink:0}.message.user.study-message [data-action^="edit-message-"],.message.assistant.study-message [data-action^="regenerate-"]{display:none}
@media(max-width:760px){.study-head{padding:10px}.study-empty{margin:0 10px}.study-preview{margin:0 10px}.study-pickers{padding:10px}.study-pickers button{flex:1}.study-composer textarea{padding:11px}.study-bottom{padding:5px 10px 9px}.study-demo-note,.study-notice{padding-left:10px;padding-right:10px}}

/* Photo editing: a dedicated, lightweight canvas outside the chat shell. */
.photo-page{min-height:100dvh;background:#f8faf8;color:#25382e}.photo-header{height:76px;padding:0 clamp(20px,4vw,62px);display:grid;grid-template-columns:1fr auto 1fr;align-items:center;background:#fff;border-bottom:1px solid #e9eeea;position:relative;z-index:2}.photo-back{width:42px;height:42px;display:flex;align-items:center;justify-content:center;border:1px solid #e8eeea;border-radius:50%;background:#fff;color:#506357}.photo-back:hover{background:#f3f8f4}.photo-brand{display:flex;align-items:center;gap:9px;white-space:nowrap;font-size:19px;letter-spacing:-.5px}.photo-brand strong{font-weight:700}.photo-brand strong span{font-weight:550}.photo-brand-mark{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;background:#e6f4ec;border-radius:10px;color:#238c6d}.photo-brand-mark svg{width:18px;height:18px}.photo-header-right{justify-self:end;display:flex;align-items:center;gap:9px}.photo-header-upload,.photo-save{display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:12px;padding:10px 18px;min-height:41px;background:#24896c;color:#fff;font-size:13px;font-weight:600;white-space:nowrap}.photo-header-upload svg{width:15px;height:15px}.photo-save:disabled{background:#e7efe9;color:#a7b9ac;opacity:1}.photo-reset{padding:10px 12px;color:#6f8375;font-size:13px}.photo-reset:hover{color:#24896c}.photo-explore{max-width:1290px;margin:auto;padding:44px clamp(20px,4vw,62px) 70px}.photo-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.86fr);align-items:center;gap:55px;min-height:400px;background:linear-gradient(115deg,#e7f4eb 0%,#f6f9ef 56%,#f5f5ef 100%);border:1px solid #e3eee7;border-radius:28px;overflow:hidden;padding:35px 56px}.photo-kicker{display:inline-flex;color:#2b9273;background:#fff9;border:1px solid #cfe8d8;border-radius:99px;padding:7px 12px;font-size:12px;font-weight:600;letter-spacing:.4px}.photo-hero-copy h1{font-size:clamp(30px,3.3vw,46px);line-height:1.25;letter-spacing:-1.8px;color:#284d3c;margin:20px 0 14px;font-weight:700}.photo-hero-copy p{max-width:410px;font-size:15px;color:#718678;line-height:1.9}.photo-hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin:29px 0 13px}.photo-hero-primary,.photo-hero-secondary{display:inline-flex;gap:8px;align-items:center;justify-content:center;border-radius:12px;padding:12px 18px;min-height:46px;font-size:13px;font-weight:600}.photo-hero-primary{background:#24896c;color:#fff;box-shadow:0 9px 17px #24896c22}.photo-hero-secondary{background:#fff;color:#3a6853;border:1px solid #dcebe0}.photo-hero-actions svg{width:17px;height:17px}.photo-hero-copy small{font-size:11px;color:#99ab9d}.photo-hero-art{height:330px;width:100%;max-width:445px;justify-self:center;position:relative;border-radius:23px;overflow:hidden;border:7px solid #fff;box-shadow:0 20px 45px #3a65432c;transform:rotate(2deg);background:#d8e3d7}.photo-hero-original,.photo-hero-after{position:absolute;inset:0;background-size:cover;background-position:center 39%}.photo-hero-original{filter:grayscale(1) contrast(.9)}.photo-hero-after{clip-path:inset(0 0 0 48%);filter:brightness(1.07) contrast(1.06) saturate(1.12)}.photo-art-divider{position:absolute;left:48%;top:0;bottom:0;width:3px;background:white;box-shadow:0 0 10px #2225}.photo-art-tag{position:absolute;bottom:13px;padding:5px 10px;background:#fffef6d9;border-radius:99px;font-size:11px;color:#314f3b}.photo-art-tag.before{left:13px}.photo-art-tag.after{right:13px}.photo-discover{margin-top:54px}.photo-section-title{display:flex;justify-content:space-between;align-items:end;margin-bottom:22px}.photo-section-title span{color:#318a70;font-size:12px;font-weight:600;letter-spacing:.4px}.photo-section-title h2{font-size:25px;color:#2b4134;margin-top:5px}.photo-section-title p{font-size:12px;color:#8da094}.photo-feature-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.photo-feature{height:263px;overflow:hidden;position:relative;border-radius:18px;background:var(--photo-tone);text-align:left;border:1px solid #e5ece6;box-shadow:0 9px 24px #3658450c;transition:transform .18s,box-shadow .18s}.photo-feature:hover{transform:translateY(-4px);box-shadow:0 16px 30px #3658451c}.photo-feature-image{position:absolute;inset:0;background-position:center 39%;background-size:cover}.photo-feature:after{content:'';position:absolute;inset:40% 0 0;background:linear-gradient(transparent,#14211dd9)}.photo-feature-copy{position:absolute;bottom:17px;left:18px;right:14px;color:#fff;z-index:1}.photo-feature-copy strong{font-size:18px;display:block}.photo-feature-copy small{font-size:12px;color:#fffddd;display:block;margin-top:5px}.photo-explore-note{display:flex;align-items:flex-start;gap:8px;color:#8ca094;margin-top:22px;font-size:12px;line-height:1.7}.photo-explore-note svg{width:15px;height:15px;margin-top:2px}.photo-editor{display:flex;flex-direction:column;height:calc(100dvh - 76px);min-height:620px}.photo-stage{flex:1;min-height:0;display:flex;flex-direction:column;align-items:center;padding:12px 30px 8px;background:radial-gradient(circle at 50% 40%,#fff 0%,#f5f8f5 76%)}.photo-stage-top,.photo-stage-foot{width:min(740px,100%);display:flex;justify-content:space-between;align-items:center;color:#87998b;font-size:12px;min-height:35px}.photo-stage-top>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:60%}.photo-stage-top button,.photo-stage-foot button{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;color:#588069;border-radius:9px;font-size:12px}.photo-stage-top button:hover,.photo-stage-foot button:hover{background:#eaf3ec}.photo-stage-top svg,.photo-stage-foot svg{width:14px;height:14px}.photo-image-frame{flex:1;min-height:0;width:min(740px,100%);display:flex;align-items:center;justify-content:center;padding:8px 0}.photo-canvas-image{display:block;max-width:100%;max-height:100%;object-fit:contain;border-radius:12px;box-shadow:0 12px 28px #1e3f3120;transition:filter .2s,transform .2s}.photo-stage-foot{min-height:37px}.photo-compare{touch-action:none;user-select:none}.photo-compare.pressed{background:#e1eee6!important;color:#24896c!important}.photo-controls{flex-shrink:0;background:#fff;border-top:1px solid #e5eee7;padding:17px clamp(22px,4vw,70px) calc(16px + env(safe-area-inset-bottom));box-shadow:0 -12px 35px #1a412708}.photo-controls-top{display:flex;align-items:end;justify-content:space-between;margin-bottom:13px;gap:10px}.photo-controls-top strong{font-size:15px}.photo-controls-top p{font-size:12px;color:#92a397;margin-top:3px}.photo-controls-top>span{font-size:11px;color:#a1afa4}.photo-options,.photo-groups{display:flex;align-items:center;gap:10px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}.photo-options::-webkit-scrollbar,.photo-groups::-webkit-scrollbar{display:none}.photo-options{min-height:110px;padding-bottom:9px}.photo-option{width:92px;flex:0 0 92px;text-align:center;position:relative;font-size:12px;color:#536a58}.photo-option-thumb{height:75px;width:75px;display:block;margin:0 auto 5px;background-size:cover;background-position:center 35%;border-radius:12px;border:3px solid transparent}.photo-option.active .photo-option-thumb{border-color:#258a6d;box-shadow:0 0 0 2px #dcefe2}.photo-option small{position:absolute;right:0;top:2px;background:#e7f1e9;padding:2px 5px;border-radius:5px;color:#498464;font-size:9px}.photo-groups{border-top:1px solid #edf1ed;padding:12px 0 10px;gap:6px}.photo-groups button{white-space:nowrap;border:1px solid #e3eae4;border-radius:9px;padding:9px 13px;font-size:12px;color:#6b7d70}.photo-groups button.active{color:#237b64;border-color:#bcdac6;background:#eaf5ee;font-weight:600}.photo-prompt{display:flex;align-items:center;border:1px solid #dfe9e1;border-radius:15px;padding:6px 8px 6px 16px;margin-top:3px;max-width:950px}.photo-prompt:focus-within{border-color:#85bca0}.photo-prompt input{flex:1;min-width:0;border:0;outline:0;background:none;color:#354e3e;font-size:14px}.photo-prompt input::placeholder{color:#a1ada4}.photo-prompt button{display:flex;align-items:center;gap:5px;background:#23896b;color:#fff;border-radius:10px;padding:9px 13px;font-size:12px;white-space:nowrap}.photo-prompt button:disabled{background:#e3eee7;color:#a7baa9;opacity:1}.photo-prompt svg{width:15px;height:15px}.photo-note{font-size:12px;color:#677f6d;background:#edf6ee;border-radius:8px;padding:8px 11px;margin-top:9px;max-width:950px}.photo-controls-disclaimer{font-size:11px;color:#a2afa4;margin-top:8px;line-height:1.5}
@media(max-width:900px){.photo-hero{gap:28px;padding:34px}.photo-feature-grid{gap:10px}.photo-feature{height:220px}.photo-feature-copy{left:12px}.photo-feature-copy strong{font-size:15px}}
@media(max-width:680px){.photo-header{height:65px;padding:0 16px}.photo-back{width:36px;height:36px}.photo-brand{font-size:16px;gap:5px}.photo-brand-mark{width:25px;height:25px}.photo-header-upload,.photo-save{padding:8px 12px;min-height:36px;font-size:12px}.photo-header-upload svg{display:none}.photo-reset{padding:8px 5px;font-size:12px}.photo-explore{padding:19px 16px 45px}.photo-hero{display:flex;flex-direction:column;gap:24px;padding:26px 21px;min-height:0;border-radius:21px}.photo-hero-copy{width:100%}.photo-hero-copy h1{font-size:29px;margin:14px 0 7px;letter-spacing:-1px}.photo-hero-copy p{font-size:13px}.photo-hero-actions{margin:19px 0 11px;gap:8px}.photo-hero-primary,.photo-hero-secondary{padding:10px 12px;font-size:12px}.photo-hero-art{height:220px;max-width:100%;border-width:5px;transform:none}.photo-discover{margin-top:30px}.photo-section-title{margin-bottom:15px}.photo-section-title h2{font-size:20px}.photo-section-title p{display:none}.photo-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.photo-feature{height:178px;border-radius:14px}.photo-feature-copy{bottom:12px;left:12px}.photo-feature-copy strong{font-size:14px}.photo-feature-copy small{font-size:10px}.photo-editor{height:calc(100dvh - 65px);min-height:0}.photo-stage{padding:5px 15px 2px}.photo-stage-top,.photo-stage-foot{min-height:32px}.photo-image-frame{padding:4px 0}.photo-canvas-image{border-radius:8px}.photo-controls{padding:11px 13px calc(11px + env(safe-area-inset-bottom))}.photo-controls-top{margin-bottom:7px}.photo-controls-top strong{font-size:13px}.photo-controls-top p,.photo-controls-top>span{font-size:10px}.photo-controls-top>span{display:none}.photo-options{min-height:88px;gap:5px;padding-bottom:4px}.photo-option{width:77px;flex-basis:77px;font-size:11px}.photo-option-thumb{width:61px;height:61px;border-radius:10px}.photo-groups{gap:5px;padding:8px 0}.photo-groups button{font-size:11px;padding:7px 10px}.photo-prompt{border-radius:12px;padding:4px 5px 4px 12px}.photo-prompt input{font-size:12px}.photo-prompt button{padding:7px 9px}.photo-controls-disclaimer{font-size:10px;margin-top:6px}.photo-note{font-size:10px;padding:6px 8px;margin-top:6px}}
@media(max-width:380px){.photo-brand-mark{display:none}.photo-brand{font-size:14px}.photo-header-right{gap:3px}.photo-reset{font-size:11px}.photo-save{font-size:11px;padding:7px 9px}.photo-hero-primary,.photo-hero-secondary{width:100%}.photo-controls-top p{display:none}.photo-controls-disclaimer{display:none}}
/* Photo editor inside the existing One AI workspace. */
.photo-page{min-height:100%;max-width:1180px;margin:0 auto;padding:28px 34px 52px;background:#fff}
.photo-content-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:27px}
.photo-content-head h1{font-size:27px;line-height:1.3;color:#314b3b}
.photo-content-head p{font-size:13px;color:#91a092;margin-top:5px}
.photo-inline-back{display:inline-flex;align-items:center;gap:1px;color:#819783;font-size:12px;padding:0;margin-bottom:8px}
.photo-inline-back svg{width:13px;height:13px;transform:rotate(180deg)}
.photo-explore{max-width:none;padding:0}
.photo-section-title{align-items:end;margin-bottom:14px}
.photo-section-title h2{font-size:19px;margin:0}
.photo-section-title p{font-size:12px;color:#98a899;margin-top:5px}
.photo-try-sample{display:inline-flex;gap:2px;align-items:center;color:#2f8a70;font-size:12px;white-space:nowrap}
.photo-try-sample svg{width:13px;height:13px}
.photo-feature-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:11px}
.photo-feature{height:202px;border-radius:15px;box-shadow:none}
.photo-feature-image{background-position:center 38%}
.photo-feature-copy{left:13px;right:10px;bottom:13px}
.photo-feature-copy strong{font-size:15px}
.photo-feature-copy small{font-size:11px;color:#f0f7ed}
.photo-feature-badge{position:absolute;z-index:1;top:9px;left:9px;background:#fffdf0d9;color:#3b7860;border-radius:6px;padding:3px 6px;font-size:10px;font-weight:700}
.photo-showcase-section{margin-top:30px}
.photo-showcase-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:83px;gap:11px}
.photo-showcase-card{position:relative;overflow:hidden;border-radius:14px;background:#e4eee5;text-align:left;min-width:0;box-shadow:0 3px 13px #3658450c}
.photo-showcase-card.tall{grid-row:span 3}
.photo-showcase-card.short{grid-row:span 2}
.photo-showcase-image{position:absolute;inset:0;background-size:cover;background-position:center 42%;transition:transform .22s}
.photo-showcase-card:hover .photo-showcase-image{transform:scale(1.035)}
.photo-showcase-card:after{content:'';position:absolute;inset:55% 0 0;background:linear-gradient(transparent,#14221dc9)}
.photo-showcase-label{position:absolute;z-index:1;bottom:13px;left:14px;right:12px;color:white;font-size:13px;font-weight:600;display:flex;justify-content:space-between;align-items:center}
.photo-showcase-label svg{width:15px;height:15px}
.photo-explore-note{margin-top:19px}
.photo-editor{height:calc(100dvh - 225px);min-height:575px;border:1px solid #e7eee8;border-radius:18px;overflow:hidden}
.photo-stage{background:#f6f9f6}
.photo-controls{box-shadow:none;padding:14px 26px 14px}
.photo-options{min-height:95px}
.photo-option-thumb{width:68px;height:68px}
@media(max-width:1100px){.photo-page{padding:24px 24px 45px}.photo-feature-grid{overflow-x:auto;grid-auto-flow:column;grid-auto-columns:minmax(165px,1fr);grid-template-columns:none;scrollbar-width:none}.photo-feature-grid::-webkit-scrollbar{display:none}.photo-feature{height:190px}}
@media(max-width:680px){.photo-page{padding:18px 15px 36px}.photo-content-head{margin-bottom:19px;align-items:center}.photo-content-head h1{font-size:22px}.photo-content-head p{font-size:11px;line-height:1.5}.photo-content-head .photo-header-right{flex-shrink:0}.photo-header-upload{padding:8px 10px}.photo-section-title h2{font-size:17px}.photo-section-title p{font-size:11px}.photo-try-sample{font-size:11px}.photo-feature-grid{gap:9px;grid-auto-columns:145px}.photo-feature{height:168px}.photo-feature-copy strong{font-size:13px}.photo-feature-copy small{font-size:10px}.photo-showcase-section{margin-top:27px}.photo-showcase-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:67px;gap:8px}.photo-showcase-card{border-radius:11px}.photo-showcase-card.tall{grid-row:span 3}.photo-showcase-card.short{grid-row:span 2}.photo-showcase-label{font-size:11px;left:10px;bottom:10px}.photo-editor{height:auto;min-height:0;display:block;border-radius:14px}.photo-stage{height:min(51dvh,455px);min-height:330px}.photo-controls{padding:13px 12px 14px}.photo-options{min-height:87px}.photo-option-thumb{width:61px;height:61px}.photo-explore-note{font-size:11px}}
@media(max-width:380px){.photo-try-sample{max-width:104px;white-space:normal;line-height:1.3}.photo-content-head h1{font-size:20px}.photo-content-head p{max-width:180px}}
.photo-editor{height:auto;min-height:0;display:block}
.photo-stage{height:min(60dvh,500px);min-height:350px;flex:none}
.photo-image-frame{height:calc(100% - 72px);flex:none}
@media(max-width:680px){.photo-stage{height:min(51dvh,455px);min-height:330px}.photo-image-frame{height:calc(100% - 64px)}}
.photo-upload-notice{display:flex;align-items:center;gap:8px;margin:0 0 18px;padding:10px 13px;border:1px solid #dcebdc;border-radius:11px;background:#f3faf4;color:#54765c;font-size:12px}
.photo-upload-notice svg{width:15px;height:15px;flex:none}
.photo-feature{height:180px}
.photo-showcase-grid{grid-template-columns:repeat(5,minmax(0,1fr));grid-auto-rows:160px}
.photo-showcase-card.tall,.photo-showcase-card.short{grid-row:auto}
.photo-showcase-card{cursor:default}
.photo-showcase-card:hover .photo-showcase-image{transform:none}
.photo-showcase-card:after{pointer-events:none}
.photo-showcase-label{bottom:54px;white-space:normal}
.photo-showcase-try{position:absolute;z-index:2;bottom:12px;left:12px;padding:7px 12px;border-radius:8px;background:#fff;color:#2f785a;font-size:12px;font-weight:700;box-shadow:0 2px 10px #172d1e2b}
.photo-showcase-try:hover{background:#e7f4ea}
@media(max-width:1100px){.photo-showcase-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:195px}}
@media(max-width:680px){.photo-feature{height:168px}.photo-showcase-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:185px}.photo-showcase-label{bottom:48px}.photo-showcase-try{font-size:11px;bottom:9px;left:9px}}
@media(max-width:680px){.photo-upload-notice{font-size:11px;line-height:1.4}}
.photo-composer{max-width:720px;margin:0 auto;padding:18px;border:1px solid #e5ece5;border-radius:18px;background:#fff;box-shadow:0 18px 48px #2946310b}
.photo-composer-intro{margin-bottom:12px}
.photo-composer-tag{display:inline-block;padding:4px 8px;border-radius:6px;background:#eaf5ec;color:#3e8664;font-size:11px;font-weight:700}
.photo-composer-intro h2{margin:8px 0 3px;color:#2f4838;font-size:21px}
.photo-composer-intro p{color:#84958a;font-size:12px}
.photo-composer-images{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px}
.photo-composer-reference,.photo-composer-upload{position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;height:148px;border-radius:13px}
.photo-composer-reference{background:#edf3ee}
.photo-composer-reference img,.photo-composer-upload img{width:100%;height:100%;object-fit:cover}
.photo-composer-reference img{object-fit:contain}
.photo-composer-reference span{position:absolute;left:10px;bottom:10px;padding:5px 8px;border-radius:6px;background:#fffdf0e8;color:#355e43;font-size:11px;font-weight:700}
.photo-composer-upload{flex-direction:column;gap:8px;border:1px dashed #9dc7a7;background:#f5faf6;color:#428365;font-size:12px}
.photo-composer-upload strong{font-size:35px;font-weight:400;line-height:1}
.photo-composer-upload img+span{position:absolute;bottom:10px;left:10px;right:10px;overflow:hidden;padding:5px 8px;border-radius:6px;background:#fffef2eb;text-overflow:ellipsis;white-space:nowrap}
.photo-composer-label{display:block;margin-bottom:8px;color:#3d5546;font-size:13px;font-weight:700}
#photo-composer-prompt{display:block;width:100%;min-height:100px;resize:vertical;padding:13px 14px;border:1px solid #dfe8df;border-radius:11px;background:#fbfdfb;color:#314338;font:inherit;font-size:13px;line-height:1.7}
#photo-composer-prompt:focus{outline:2px solid #a5d3b3;outline-offset:1px}
.photo-composer-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}
.photo-composer-footer>span{color:#93a197;font-size:11px}
.photo-composer-generate{display:inline-flex;align-items:center;gap:7px;padding:10px 15px;border-radius:9px;background:#3e9870;color:#fff;font-size:13px;font-weight:700;white-space:nowrap}
.photo-composer-generate:disabled{opacity:.45}
.photo-composer-generate svg{width:15px;height:15px}
.photo-processing{display:grid;place-items:center;min-height:min(60dvh,500px);border:1px solid #e7eee8;border-radius:18px;background:#f7faf7}
.photo-processing-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;width:min(265px,65vw);aspect-ratio:3/4;border-radius:17px;background:linear-gradient(135deg,#e6a6c8 0%,#bd8de4 38%,#8fc3ef 75%,#eac7dd 100%);color:white;box-shadow:0 22px 55px #957eb22e}
.photo-processing-symbol svg{width:40px;height:40px;stroke-width:1.8}
.photo-processing-card strong{font-size:26px;font-weight:650}
.photo-processing-card>span:not(.photo-processing-symbol){font-size:15px;font-weight:600}
.photo-processing-card small{font-size:11px;color:#fffc}
@media(max-width:680px){.photo-composer{padding:15px;border-radius:14px}.photo-composer-images{gap:8px}.photo-composer-reference,.photo-composer-upload{height:145px}.photo-composer-footer>span{max-width:140px;line-height:1.4}.photo-processing{min-height:55dvh}.photo-processing-card{width:min(235px,68vw)}}
.photo-conversation{display:flex;flex-direction:column;gap:26px;width:min(760px,100%);margin:6px auto 40px}
.photo-conversation-user{align-self:flex-end;max-width:82%;padding:13px 17px;border-radius:17px 17px 5px 17px;background:#e8f4eb;color:#2d4a36;word-break:break-word}
.photo-conversation-user>span{display:block;margin-bottom:5px;color:#6a9878;font-size:11px;font-weight:700}
.photo-conversation-user p{font-size:14px;line-height:1.7}
.photo-conversation-user img{display:block;max-width:108px;max-height:92px;object-fit:cover;margin-top:10px;border-radius:9px}
.photo-conversation-ai{display:flex;align-items:flex-start;gap:11px}
.photo-conversation-avatar{display:grid;place-items:center;flex:none;width:31px;height:31px;border-radius:10px;background:#e5f3e9;color:#278b70;font-size:18px}
.photo-conversation-answer{min-width:0;flex:1}
.photo-conversation-answer>strong{display:block;margin:3px 0 9px;color:#41614a;font-size:13px}
.photo-response-card{padding:16px;border:1px solid #e3ece5;border-radius:17px;background:#fbfdfb;box-shadow:0 8px 26px #2e4b3610}
.photo-response-card h2{margin-bottom:13px;color:#344a3a;font-size:16px}
.photo-conversation-media{display:flex;align-items:center;min-height:300px}
.photo-conversation-media .photo-processing-card{width:min(320px,100%);aspect-ratio:1/1;box-shadow:none}
.photo-conversation-media .photo-canvas-image{width:auto;max-width:100%;max-height:360px;object-fit:contain}
.photo-response-card>.photo-compare{display:inline-flex;align-items:center;gap:5px;margin-top:12px;padding:7px 9px;border-radius:8px;color:#477c61;font-size:12px}
.photo-response-card>.photo-compare svg{width:15px;height:15px}
.photo-response-card>p{margin-top:12px;color:#90a195;font-size:11px;line-height:1.5}
.photo-unavailable{display:flex;align-items:center;gap:16px;padding:13px;border:1px dashed #cfdfd2;border-radius:12px;background:#fff}
.photo-unavailable img{max-width:115px;max-height:150px;object-fit:contain;border-radius:8px}
.photo-unavailable p{color:#758f7d;font-size:12px}
@media(max-width:680px){.photo-conversation{gap:20px}.photo-conversation-user{max-width:88%;padding:11px 13px}.photo-conversation-user p{font-size:13px}.photo-response-card{padding:12px}.photo-response-card h2{font-size:14px}.photo-conversation-media{min-height:230px}.photo-conversation-media .photo-processing-card{width:min(245px,100%)}.photo-conversation-media .photo-canvas-image{max-height:300px}.photo-unavailable{flex-direction:column;align-items:flex-start}.photo-unavailable img{max-height:140px}}
.photo-chat-composer{border-color:#b9dbc6}
.photo-chat-mode{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:-4px 0 10px;color:#318264;font-size:12px;font-weight:700}
.photo-chat-mode>span{display:inline-flex;align-items:center;gap:5px}
.photo-chat-mode svg{width:15px;height:15px}
.photo-chat-mode button{display:grid;place-items:center;width:26px;height:26px;border-radius:7px;color:#819b88}
.photo-chat-mode button:hover{background:#edf6ee}
.photo-chat-attachments{display:flex;gap:9px;margin-bottom:9px}
.photo-chat-reference{position:relative;flex:0 0 74px;height:65px;overflow:hidden;border-radius:10px;background:#eaf1eb}
.photo-chat-reference img{width:100%;height:100%;object-fit:cover}
.photo-chat-reference span{position:absolute;left:0;right:0;bottom:0;padding:3px;background:#163b2aba;color:white;text-align:center;font-size:10px}
.photo-chat-upload-wrap{display:flex;align-items:center;gap:7px;min-width:0}
.photo-chat-upload{display:flex;align-items:center;gap:8px;min-height:65px;padding:7px 11px;border:1px dashed #a7cdb3;border-radius:10px;background:#f7fbf7;color:#438067;text-align:left;font-size:12px}
.photo-chat-upload svg{width:18px;height:18px}
.photo-chat-upload img{width:50px;height:49px;object-fit:cover;border-radius:7px}
.photo-chat-upload span{min-width:0;max-width:165px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.photo-chat-remove{color:#879a88;font-size:11px}
.photo-chat-composer textarea{display:block;width:100%;min-height:75px;max-height:150px;resize:vertical;border:0;border-top:1px solid #edf1ed;outline:0;padding:10px 2px 2px;background:transparent;color:#3a5548;line-height:1.6;font-size:13px}
.photo-chat-composer textarea::placeholder{color:#a1afa4}
.photo-chat-tip{color:#96a89b;font-size:11px}
.photo-chat-result{max-width:600px;padding:15px;border:1px solid #e2ece5;border-radius:15px;background:#fbfdfb}
.photo-chat-result h3{margin-bottom:11px;color:#38513e;font-size:15px}
.photo-chat-result-media{display:flex;align-items:center;min-height:220px}
.photo-chat-result-media .photo-processing-card{width:min(250px,100%);aspect-ratio:1/1;box-shadow:none}
.photo-chat-result-image{display:block;max-width:100%;max-height:390px;object-fit:contain;border-radius:11px}
.photo-chat-result>p{margin-top:10px;color:#92a298;font-size:11px;line-height:1.5}
.message.user.photo-message [data-action^="edit-message-"]{display:none}
@media(max-width:680px){.photo-chat-mode{font-size:11px}.photo-chat-reference{flex-basis:61px;height:61px}.photo-chat-upload{min-height:61px;font-size:11px}.photo-chat-upload span{max-width:150px}.photo-chat-composer textarea{min-height:69px;font-size:12px}.photo-chat-result{padding:11px}.photo-chat-result-media{min-height:190px}.photo-chat-result-media .photo-processing-card{width:min(215px,100%)}.photo-chat-result-image{max-height:320px}}
/* Keep task controls available throughout the conversation. */
.photo-chat-tools{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 12px}
.photo-chat-tools button{padding:6px 10px;border:1px solid #dce8df;border-radius:8px;color:#698370;font-size:12px;background:#fff}
.photo-chat-tools button.selected{border-color:#8bbfa4;background:#eaf5ee;color:#28775b;font-weight:600}
.photo-chat-tools button:hover{background:#f1f8f2}
.photo-chat-sample{font-size:12px;color:#538a6c;padding:8px;white-space:nowrap}
.photo-chat-composer .compose-bar{gap:12px}
.photo-chat-composer .photo-chat-tip{line-height:1.5}
.photo-chat-composer button:disabled{cursor:default;opacity:.5}
.photo-result-actions{display:flex;gap:14px;align-items:center;margin-top:12px}
.photo-result-actions button{display:inline-flex;align-items:center;gap:5px;font-size:12px;color:#44816a;padding:5px 0}
.photo-result-actions svg{width:15px;height:15px}
.writing-attachment{margin:12px 16px 0}
.writing-file-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;min-width:0}
.writing-add-file{display:inline-flex;align-items:center;gap:5px;padding:5px 0;font-size:12px;color:#4b8466;white-space:nowrap}
.writing-add-file svg{width:16px;height:16px}
@media(max-width:680px){.photo-chat-tools{gap:5px}.photo-chat-tools button{font-size:11px;padding:6px 8px}.photo-chat-upload-wrap{flex-wrap:wrap}.photo-chat-sample{font-size:11px}.photo-chat-composer .compose-bar{align-items:flex-end}.writing-file-actions{gap:6px 12px}.writing-file-actions .writing-example{font-size:10px}.writing-add-file{font-size:11px}}
.translation-pdf-reference{display:flex;align-items:center;gap:10px;padding:12px 16px;border-top:1px solid #edf1ed;background:#f9fcf9}
.translation-pdf-reference>svg{color:#5b9879;width:22px;height:22px}
.translation-pdf-reference>div{min-width:0;flex:1}
.translation-pdf-reference strong{display:block;color:#506d5b;font-size:12px;font-weight:500;overflow-wrap:anywhere}
.translation-pdf-reference small{display:block;margin-top:4px;color:#93a295;font-size:10px}
.translation-pdf-reference>button{flex-shrink:0;color:#658972;font-size:11px}
.translation-composer .translation-pdf-prompt textarea{display:block;min-height:80px;max-height:150px}
.translation-composer .translation-pdf-prompt+.translation-panel-bottom{border-top:0}
@media(max-width:760px){.translation-pdf-reference{padding:10px;gap:7px}.translation-pdf-reference strong{font-size:11px}.translation-composer .translation-pdf-prompt textarea{min-height:76px}}
/* Shared composer; task entrances stay above the input frame. */
.home{max-width:1020px;padding-top:56px}
.conversation-task-entry{display:flex;align-items:center;margin:0 0 9px;min-height:32px}
.conversation-task-entry>button{display:inline-flex;align-items:center;gap:7px;padding:6px 10px 6px 1px;color:#78916a;font-size:12px;border-radius:8px}
.conversation-task-entry>button:hover,.conversation-task-entry>button[aria-expanded=true]{background:#f0f5e9;color:#278b76}
.conversation-task-entry svg{width:16px;height:16px}.conversation-task-entry svg:last-child{width:11px;height:11px}
.home-task-tools{display:flex;justify-content:flex-start;flex-wrap:wrap;gap:10px;margin:0 0 17px}.home-task-tools button{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border:1px solid #e2e9db;border-radius:12px;background:#fff;color:#657e59;font-size:13px;transition:background .15s,border-color .15s}.home-task-tools svg{width:18px;height:18px}.home-task-tools button:hover,.home-task-tools button[aria-pressed=true]{color:#278b76;background:#f2f7ee;border-color:#c8dfcf}
.recommendations{margin-top:23px}.section-head h2{font-size:13px;font-weight:550;color:#4d6844}.section-head .text-btn{color:#9dac90}.recommend{background:#fcfdf9;border-color:#ecf0e6;min-height:79px}.recommend:hover{border-color:#d1e0c6;background:#f0f5e9}.recommend strong{color:#435d39}.recommend p{color:#a2b094}.rec-icon{background:#eef5e9!important;color:#7f9e6a!important}.guest-note{color:#a2b094}.guest-note button{color:#278b76}
.unified-shell{position:relative;min-width:0;width:100%}
.unified-composer{width:100%;padding:15px 16px 12px;border:1px solid #dfe9d9;border-radius:22px;background:#fff;box-shadow:0 9px 32px #34594608;transition:border-color .15s,box-shadow .15s}
.unified-composer:focus-within{border-color:#a9c49a;box-shadow:0 8px 30px #34594609}
.unified-composer textarea{display:block;box-sizing:border-box;width:100%;min-height:80px;max-height:180px;border:0;outline:0;resize:vertical;background:transparent;padding:4px 0 12px;color:#435d39;font-size:15px;line-height:1.7}.unified-composer textarea::placeholder{color:#a7b19f}.unified-composer textarea:read-only{color:#a2b094;resize:none}
.active-task-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 12px;min-width:0}
.active-task-badge{display:inline-flex;align-items:center;max-width:calc(100% - 63px);min-width:0;border:1px solid #d4e5d8;border-radius:9px;background:#edf6ef;color:#39765b}
.active-task-badge>button:first-child{display:flex;align-items:center;gap:6px;min-width:0;padding:7px 7px 7px 9px;font-size:12px;text-align:left}.active-task-badge>button:first-child>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.active-task-badge svg{width:14px;height:14px}.active-task-badge>button:first-child>svg:last-child{width:11px;height:11px}
.task-exit{display:grid;place-items:center;width:27px;height:28px;flex-shrink:0;color:#92a486}.task-exit:hover{color:#278b76}.task-exit svg{width:12px;height:12px}
.task-settings-trigger{display:inline-flex;align-items:center;gap:4px;padding:5px 2px;color:#95a589;font-size:11px;white-space:nowrap}.task-settings-trigger svg{width:14px;height:14px}
.input-reference-row{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 8px}
.input-file-chip{display:inline-flex;align-items:center;gap:8px;max-width:310px;min-width:0;padding:7px 8px;border:1px solid #e6eddf;border-radius:10px;background:#fafcf7;color:#7a8d6c;font-size:11px}.input-file-chip>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.input-file-chip>svg{width:17px;height:17px;color:#8ba379}.input-file-chip img{width:31px;height:33px;object-fit:cover;border-radius:5px}.input-file-chip button{display:grid;place-items:center;width:22px;height:22px;color:#a2b094}.input-file-chip button svg{width:12px;height:12px}.template-chip{background:#f0f6ec}
.input-toolbar,.input-toolbar-left,.input-toolbar-right{display:flex;align-items:center;gap:6px}.input-toolbar{justify-content:space-between;margin-top:4px}.input-toolbar-left{min-width:0;gap:8px}.input-toolbar-right{flex-shrink:0;gap:10px}
.input-icon{display:grid;place-items:center;width:31px;height:31px;flex-shrink:0;border-radius:8px;color:#78916a}.input-icon:hover{background:#f0f5e9;color:#278b76}.input-icon svg{width:18px;height:18px}
.input-tool{display:inline-flex;align-items:center;gap:6px;padding:6px 8px;border-radius:8px;color:#78916a;font-size:12px;white-space:nowrap}.input-tool>svg{width:16px;height:16px}.input-tool>svg:last-child:not(:first-child){width:10px;height:10px}.input-tool.on,.input-tool:hover{color:#278b76;background:#f0f5e9}.input-search-locked{display:inline-flex;gap:5px;align-items:center;color:#52856b;font-size:11px}.input-search-locked svg{width:14px;height:14px}.input-search-locked svg:last-child{width:12px;height:12px}
.unified-send{background:#278b76;width:35px;height:35px}.unified-send:hover{background:#237c68}.unified-send:disabled{background:#dfebdf}.unified-send svg{width:17px;height:17px}
.unified-disclaimer{margin:10px 2px 0;color:#a9b39f;font-size:10px;line-height:1.5}.chat-footer .unified-disclaimer{margin-top:8px}.chat-footer{max-width:960px;padding-top:6px}.chat-inner{max-width:960px}.user-bubble{background:#f3f6ef;color:#536b44}.assistant-head{color:#728866}.answer,.answer h3{color:#536449}.answer-note{color:#a1b18e}.answer-actions .iconbtn{color:#a0b090}
.task-starters{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:0 2px 9px}.task-starters:empty{display:none}.task-starters button{display:inline-flex;align-items:center;gap:5px;border:1px solid #e9efdf;border-radius:18px;padding:6px 10px;background:#fff;color:#9dac90;font-size:11px}.task-starters button:hover{background:#f7faf3;border-color:#c8dfcf;color:#39765b}.task-starters svg{width:13px;height:13px}
.input-popover{position:absolute;z-index:40;left:0;bottom:calc(100% + 12px);width:min(420px,100%);max-height:min(480px,65dvh);overflow-y:auto;padding:9px;border:1px solid #e5eddf;border-radius:17px;background:white;box-shadow:0 14px 48px #3459461c}
.popover-heading{display:flex;align-items:center;justify-content:space-between;padding:8px 10px 10px;color:#6c8360;font-size:12px;font-weight:550}.popover-heading button{display:inline-flex;align-items:center;justify-content:center;min-width:26px;min-height:24px;color:#9dac90;font-size:11px}.popover-heading svg{width:14px;height:14px}
.task-menu-row{display:flex;align-items:center;gap:12px;width:100%;padding:10px 11px;border-radius:10px;text-align:left;color:#829571}.task-menu-row>svg{width:20px;height:20px}.task-menu-row>svg:last-child:not(:first-child){margin-left:auto;width:16px;height:16px}.task-menu-row span{display:block}.task-menu-row strong{display:block;font-size:13px;font-weight:500;color:#4d6844}.task-menu-row small{display:block;font-size:10px;color:#a2b094;margin-top:4px}.task-menu-row:hover,.task-menu-row.selected{background:#f0f5e9;color:#278b76}.task-menu-row.selected strong{color:#278b76}
.add-menu{width:min(320px,100%)}.add-menu>button{display:flex;align-items:center;gap:10px;width:100%;padding:12px;border-radius:9px;text-align:left;font-size:12px;color:#647b59}.add-menu>button:hover{background:#f0f5e9}.add-menu>button>svg{width:18px;height:18px}.add-menu small{display:block;margin-top:4px;font-size:10px;color:#a2b094}
.task-settings{width:min(520px,100%);padding:12px}.task-settings-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:8px}.task-settings-fields label{display:flex;flex-direction:column;align-items:stretch;gap:7px;font-size:11px;color:#95a589;min-width:0;height:auto;padding:0;border:0}.task-settings-fields select{appearance:auto;width:100%;height:38px;padding:0 9px;border:1px solid #e2e9db;border-radius:9px;color:#536b44;font-size:12px;background:#fff;outline-color:#a9c49a}.task-mode-tabs{display:flex;gap:6px;padding:0 8px 8px}.task-mode-tabs button{padding:7px 11px;border-radius:8px;font-size:12px;color:#95a589}.task-mode-tabs button[aria-pressed=true]{background:#edf6ef;color:#278b76}
.task-photo-effects{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;padding:4px}.task-photo-effects button{padding:5px;border:1px solid #e7eddf;border-radius:11px;color:#829571}.task-photo-effects button[aria-pressed=true]{background:#edf6ef;border-color:#a9c49a;color:#278b76}.task-photo-effects img{display:block;width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:7px}.task-photo-effects span{display:block;font-size:10px;line-height:1.5;margin-top:6px}.task-gallery-link{display:flex;align-items:center;gap:5px;padding:14px 5px 3px;color:#52856b;font-size:11px}.task-gallery-link svg{width:13px;height:13px}.task-settings-note{font-size:12px;color:#95a589;padding:8px;line-height:1.8}.task-settings-actions{display:flex;flex-wrap:wrap;gap:8px;padding:8px}.task-settings-actions button{display:flex;align-items:center;gap:6px;font-size:12px;padding:9px;border:1px solid #e5eddf;border-radius:9px;color:#39765b}.task-settings-actions svg{width:16px;height:16px}
.photo-feature-copy strong,.photo-section-title h2,.photo-content-head h1{color:#435d39}.photo-feature-image{filter:saturate(.93)}.photo-chat-result{border-color:#e4ebdf;background:#fcfdf9}.photo-chat-result h3{color:#536b44}.photo-result-actions button{color:#52856b}.photo-explore-note{color:#a2b094}.photo-showcase-try{background:#ffffffea;color:#39765b}
@media(max-width:760px){.home{padding:35px 18px 28px}.welcome{margin-bottom:25px}.welcome h1{font-size:24px}.welcome .home-mark{width:55px;height:59px}.welcome .home-mark .mark{width:53px;height:56px}.welcome .hello{font-size:12px}.welcome .sub{font-size:12px}.home-task-tools{gap:7px;margin-bottom:14px;justify-content:flex-start}.home-task-tools button{font-size:11px;gap:5px;padding:8px 10px;border-radius:10px}.home-task-tools svg{width:15px;height:15px}.unified-composer{padding:12px 11px 10px;border-radius:19px}.unified-composer textarea{font-size:14px;min-height:75px;padding-bottom:9px}.chat-footer .unified-composer textarea{min-height:67px}.input-toolbar-left{gap:3px}.input-toolbar-right{gap:4px}.input-tool{font-size:11px;gap:4px;padding:6px}.input-tool svg{width:14px;height:14px}.input-icon{width:28px;height:30px}.unified-send{width:32px;height:32px}.input-search-locked{font-size:10px;gap:3px}.active-task-badge>button:first-child{font-size:11px}.input-file-chip{max-width:100%;font-size:10px}.task-settings-trigger{font-size:10px}.input-popover{bottom:calc(100% + 9px);max-height:60dvh}.task-photo-effects{grid-template-columns:repeat(3,minmax(0,1fr))}.task-photo-effects span{font-size:10px}.task-settings-fields{gap:10px}.unified-disclaimer{font-size:9px}.recommend strong{font-size:12px}.recommend p{font-size:10px}}
.message.task-discussion-message [data-action^="edit-message-"],.message.task-discussion-message [data-action^="regenerate-"]{display:none}
/* Task options stay expanded in the composer. */
.active-task-badge{max-width:100%}.active-task-label{display:flex;align-items:center;gap:6px;min-width:0;padding:7px 9px;font-size:12px}.active-task-label>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.task-options{margin:0 0 11px;padding:0 0 12px;border-bottom:1px solid #e9efea}.task-option-fields{border:0;padding:0;margin:0;min-width:0}
.task-options .writing-categories{padding:0 0 10px;overflow:visible;flex-wrap:wrap;gap:6px}.task-options .writing-categories button{padding:6px 10px;font-size:11px}
.task-options .task-settings-fields{padding:0;gap:10px}.task-options .writing-option-fields{grid-template-columns:repeat(3,minmax(0,1fr))}.task-options .translation-option-fields{grid-template-columns:minmax(0,1fr) 28px minmax(0,1fr);align-items:end}
.task-options .task-settings-fields label{font-size:11px;gap:5px}.task-options .task-settings-fields select{height:35px;font-size:12px}.task-options .task-settings-fields .writing-select:last-child{grid-column:auto}
.task-options .task-mode-tabs{padding:0 0 10px}.task-options .task-mode-tabs button{border:1px solid #e4ece5}.task-options .task-mode-tabs button[aria-pressed=true]{border-color:#b8d8c2}.task-language-swap{height:35px;color:#78916a;font-size:20px}
.task-options .task-settings-actions{padding:10px 0 0;align-items:center;gap:8px}.task-options .task-settings-actions button{padding:6px 9px;font-size:11px}.task-options .task-settings-actions small{font-size:10px;color:#a2b094}
.task-options .task-photo-effects{padding:10px 0 0;gap:8px;max-width:620px}.task-options .task-photo-effects img{height:auto;aspect-ratio:4/5;object-fit:contain;background:#f6f8f3}.task-options .task-photo-effects span{font-size:11px;margin-top:5px}.task-options .task-gallery-link{padding:10px 0 0}.task-option-notice{color:#a68c62;font-size:11px;margin:8px 0 0}
.task-option-fields:disabled{opacity:.6}.task-option-fields:disabled button,.task-option-fields:disabled select{cursor:default}
@media(max-width:760px){.task-options .writing-option-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.task-options .writing-option-fields .writing-select:last-child{grid-column:1/-1}.task-options .writing-categories button{padding:5px 8px;font-size:10px}.task-options .task-photo-effects{grid-template-columns:repeat(3,minmax(0,1fr))}.task-options .task-photo-effects img{height:auto;aspect-ratio:4/5}.task-options .task-photo-effects span{font-size:10px}.task-options .task-settings-fields{gap:8px}.task-options .task-settings-fields select{height:32px;font-size:11px}.task-options{padding-bottom:10px;margin-bottom:8px}.chat-footer .unified-composer textarea{min-height:48px}}
