.ct-page{max-width:1280px;margin:auto;color:#282238}.ct-breadcrumb{display:flex;gap:12px;color:#8d78a9;font-size:14px;margin-bottom:24px}.ct-hero{display:grid;grid-template-columns:1.1fr 1fr;gap:40px;align-items:center;border:1px solid #d6c8fa;border-radius:28px;padding:42px;background:linear-gradient(120deg,#f5efff,#fff 65%,#edfad7);margin-bottom:32px;overflow:hidden}.ct-eyebrow{font-size:12px;letter-spacing:1.5px;color:#7437c1;font-weight:700}.ct-hero h1{font-size:clamp(32px,4vw,52px);line-height:1.12;letter-spacing:-1.5px;margin:20px 0}.ct-hero h1 em{font-style:normal;color:#733bc7}.ct-hero p{font-size:18px;line-height:1.6;margin:0;max-width:520px;color:#625874}.ct-hero img{display:block;width:100%;height:auto;filter:drop-shadow(0 20px 24px #6238891a)}.ct-badges{display:flex;gap:8px;flex-wrap:wrap;margin-top:24px}.ct-badges span{border-radius:20px;padding:8px 12px;background:#fff;border:1px solid #e4d8f6;font-size:12px}.ct-workspace{display:grid;grid-template-columns:260px minmax(0,1fr);gap:24px;align-items:start}.ct-sidebar{display:flex;flex-direction:column;gap:18px;min-width:0}.ct-package{background:#f0e9fd;border:1px solid #d6c5f9;border-radius:20px;padding:22px}.ct-package>span{font-size:11px;color:#785c9e;font-weight:700;letter-spacing:1.2px}.ct-package>strong{display:block;font-size:24px;line-height:1.3;margin-top:12px}.ct-package>p{font-size:16px;margin:12px 0 16px}.ct-package small{display:block;color:#675577;font-size:12px;line-height:1.6;margin-top:14px}.ct-history{border:1px solid #ded6eb;background:#fff;border-radius:16px;padding:18px}.ct-history summary{font-weight:600;color:#64408d;cursor:pointer}.ct-history a{display:block;padding:12px 8px;border-bottom:1px solid #eee6f6;border-radius:8px;overflow-wrap:anywhere}.ct-history a.is-current{background:#f1eafb}.ct-history a strong{font-size:14px;line-height:1.5}.ct-history a small{display:block;margin-top:4px;font-size:11px;color:#837291}.ct-history p{font-size:13px;color:#897493}.ct-chat{background:#fff;border:1px solid #dfd2f2;border-radius:22px;padding:26px;min-width:0}.ct-chat-heading{display:flex;justify-content:space-between;gap:18px;align-items:start;padding-bottom:18px;border-bottom:1px solid #eee4f8}.ct-chat-heading span{font-size:12px;color:#7e649a}.ct-chat-heading h2{font-size:24px;margin:8px 0 0;line-height:1.35;overflow-wrap:anywhere}.ct-chat-actions{display:flex;flex-direction:column;align-items:end;gap:8px}.ct-chat-actions button{font-size:12px}.ct-modes{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0 24px}.ct-modes button{padding:18px;border:1px solid #e0d2f3;border-radius:14px;background:#faf7ff;color:#352545;text-align:left;cursor:pointer}.ct-modes button:hover,.ct-modes button[aria-pressed=true]{border-color:#7e42d1;background:#f0e6fe}.ct-modes strong{font-size:15px;display:block;line-height:1.4}.ct-modes span{display:block;font-size:12px;line-height:1.55;color:#826994;margin-top:8px}.ct-messages{display:flex;flex-direction:column;gap:24px;padding-top:16px}.ct-turn{min-width:0}.ct-user{background:#f0e9fc;border:1px solid #e4d5f8;border-radius:18px;padding:18px;margin-left:10%;overflow-wrap:anywhere}.ct-user>strong,.ct-answer>strong{font-size:12px;color:#775196}.ct-user>p{line-height:1.6;font-size:15px;white-space:normal;margin:10px 0 0}.ct-answer{padding:22px 0 0;min-width:0}.ct-prose{font-size:16px;line-height:1.7;overflow-wrap:anywhere}.ct-prose p{margin:12px 0}.ct-prose ul{padding-left:22px}.ct-prose li+li{margin-top:8px}.ct-prose code{background:#f2edf7;border-radius:4px;padding:2px 4px}.ct-prose pre{max-width:100%;overflow-x:auto;background:#f7f3fc;border:1px solid #e8dcf4;border-radius:12px;padding:14px;font-size:13px}.ct-prose pre code{padding:0;background:none;white-space:pre}.ct-prose a,.ct-sources a{color:#6e37bb;text-decoration:underline}.ct-sources{padding:14px 18px;border:1px solid #e7def0;background:#faf8fd;border-radius:12px;font-size:13px;overflow-wrap:anywhere;margin:14px 0}.ct-sources summary{cursor:pointer;color:#5b3a7d;font-weight:600}.ct-sources li{margin:8px 0}.ct-answer-foot{display:flex;gap:15px;justify-content:space-between;align-items:center;margin:14px 0}.ct-answer-foot span{font-size:11px;color:#477d52}.ct-refine{display:flex;gap:8px;flex-wrap:wrap}.ct-refine button,.ct-file-chips button{border:1px solid #dfcff4;background:#fbf8ff;color:#6b4292;border-radius:10px;padding:8px 10px;cursor:pointer;font-size:12px}.ct-turn-files{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px;font-size:12px}.ct-turn-files a{background:#fff;border-radius:8px;padding:6px 8px;max-width:100%;overflow-wrap:anywhere}.ct-stream{padding:18px;background:#fbf9ff;border:1px dashed #d0b8f2;border-radius:14px;margin-top:18px}.ct-stream>span{font-size:11px;color:#8c739d}.ct-stream>div{white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.6;margin-top:10px}.ct-stream[hidden]{display:none}.ct-chat form{border-top:1px solid #e6ddef;margin-top:22px;padding-top:22px}.ct-chat label[for=ct-question]{display:block;font-size:16px;font-weight:600;margin-bottom:10px}.ct-chat textarea{width:100%;min-height:120px;border:1px solid #d9c9f2;background:#fff;border-radius:14px;padding:16px;font:inherit;resize:vertical;color:#30213f;box-sizing:border-box}.ct-chat textarea:focus{outline:2px solid #b998ee;outline-offset:2px}.ct-composer-meta{display:flex;gap:10px;justify-content:space-between;font-size:10px;color:#8d76a3;margin:8px 0 14px}.ct-compose-tools{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.ct-file-button{border:1px solid #cfb8f4;padding:10px 14px;border-radius:12px;color:#6d38ac;font-size:13px;font-weight:600;cursor:pointer}.ct-search{display:flex;align-items:center;gap:8px;font-size:12px;color:#78608c}.ct-search input{accent-color:#6b35bd}.ct-file-note,.ct-privacy{font-size:11px;line-height:1.6;color:#8b729d}.ct-chat #ct-materials-wrap{font-size:12px;color:#725184;margin:15px 0}.ct-chat #ct-materials{display:flex;flex-direction:column;align-items:start;gap:8px;margin-top:12px;overflow-wrap:anywhere}.ct-file-chips{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.ct-file-chips button{max-width:100%;overflow-wrap:anywhere}.ct-send-row{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:18px}.ct-send-row>p{max-width:330px;font-size:12px;line-height:1.6;color:#81668f}.ct-send-row button{flex-shrink:0;white-space:normal;max-width:100%}.ct-error{color:#a7334e;background:#fff2f5;border-radius:10px;padding:12px;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.ct-error[hidden]{display:none}.ct-privacy{border-top:1px solid #eee4f7;padding-top:16px;margin:24px 0 0}#ct-status{color:#73528d;font-size:12px;line-height:1.5;min-height:18px}.ct-page button:focus-visible,.ct-page a:focus-visible{outline:3px solid #8c64d8;outline-offset:3px}.ct-page [hidden]{display:none!important}
@media(max-width:1000px){.ct-workspace{grid-template-columns:220px minmax(0,1fr)}.ct-hero{gap:20px;padding:28px}.ct-chat{padding:20px}.ct-chat-heading{flex-direction:column}.ct-chat-actions{flex-direction:row;align-items:start}.ct-send-row{flex-direction:column;align-items:stretch}.ct-send-row>p{max-width:none;margin:0}}
@media(max-width:700px){.ct-hero{grid-template-columns:1fr;padding:24px;gap:24px}.ct-hero img{max-width:400px;margin:auto}.ct-hero h1{font-size:34px;letter-spacing:-1px}.ct-hero p{font-size:16px}.ct-workspace{grid-template-columns:1fr}.ct-sidebar{gap:12px}.ct-package{padding:18px;display:grid;grid-template-columns:1fr auto;gap:8px 14px}.ct-package>span,.ct-package small{grid-column:1/-1}.ct-package>strong{font-size:20px;margin:0;grid-column:1/-1}.ct-package>p{margin:0;align-self:center}.ct-package .btn{font-size:12px;padding:10px 12px;width:auto}.ct-package small{font-size:11px;margin:4px 0 0}.ct-chat{padding:18px;border-radius:18px}.ct-modes{grid-template-columns:1fr}.ct-user{margin-left:0}.ct-compose-tools{align-items:start;flex-direction:column}.ct-chat-heading h2{font-size:20px}.ct-prose{font-size:15px}.ct-composer-meta{flex-wrap:wrap}.ct-hero .ct-badges{gap:6px}.ct-badges span{font-size:10px;padding:7px 9px}}
.ct-package>p{white-space:nowrap}.ct-prose ol{padding-left:26px}.ct-prose h3{font-size:18px;line-height:1.4;margin:24px 0 12px}.ct-prose .katex-display{max-width:100%;overflow-x:auto;overflow-y:hidden;padding:4px 0}.ct-table{overflow-x:auto;max-width:100%;margin:16px 0}.ct-table table{border-collapse:collapse;min-width:360px;width:100%;font-size:14px}.ct-table th,.ct-table td{border:1px solid #e2d6f2;text-align:left;padding:10px 12px}.ct-table th{background:#f3edfc}
@media(max-width:360px){.ct-package{grid-template-columns:1fr}.ct-package>p{margin:4px 0}.ct-package .btn{width:100%}}
.ct-budget{margin:16px 0;grid-column:1/-1}.ct-budget>label{font-size:12px;font-weight:600;display:block;margin-bottom:10px}.ct-budget>input[type=range]{width:100%;accent-color:#733bc7;cursor:pointer;margin:6px 0 14px}.ct-budget-number{display:flex;gap:10px;align-items:center}.ct-budget-number>input{min-width:0;width:100%;box-sizing:border-box;font:inherit;padding:10px 12px;border-radius:10px;border:1px solid #c9b4ea;background:#fff}.ct-budget-number>span{white-space:nowrap;font-size:13px}.ct-budget #ct-budget-summary{display:block;margin-top:10px;color:#624078;font-size:13px}.ct-package>p{white-space:normal}
.ct-budget>.ct-budget-number{display:flex;font-weight:400}

.ct-file-note a{color:#6e37bb;text-decoration:underline}

.ct-study-workspace{border:1px solid #dbc8f3;border-radius:16px;padding:18px;background:#faf7ff;margin:18px 0}.ct-study-workspace>p{font-size:14px;line-height:1.6;margin:0 0 14px;color:#645376}.ct-study-workspace summary{font-weight:600;color:#65339c;cursor:pointer;line-height:1.5}.ct-study-workspace .study-embedded .wd-form{padding:0;border:0;background:transparent;margin-top:20px}.ct-study-workspace .study-embedded h2{font-size:20px}.ct-study-workspace select{width:100%;min-width:0;max-width:100%;border:1px solid #cfb8e4;border-radius:12px;padding:12px;font:inherit;background:white;color:#30243e;box-sizing:border-box}.ct-study-workspace .study-details{gap:10px}.ct-study-workspace #study-continue{justify-self:start;white-space:normal}.ct-study-workspace input[type=file]{max-width:100%}@media(max-width:550px){.ct-study-workspace{padding:14px}.ct-study-workspace #study-continue{width:100%}}
/* Approved ChatGPT PixAI layout. Scoped to this section. */
body.pixai-chat-active #content{padding:16px clamp(8px,2.5vw,36px) 12px!important;max-width:none!important}
body.pixai-chat-active .mk-footer{margin-top:24px}
body .ct-page.ct-compact{max-width:1320px;height:var(--ct-height,calc(100dvh - 118px));min-height:460px;display:flex;flex-direction:column;gap:12px;color:#243d40}
body .ct-compact .ct-page-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none}
body .ct-compact .ct-page-heading h1{font-size:26px;line-height:1.3;letter-spacing:-.5px;margin:0}
body .ct-compact .ct-workspace{position:relative;display:grid;grid-template-columns:242px minmax(0,1fr);gap:22px;align-items:stretch;flex:1;min-height:0}
body .ct-compact .ct-sidebar{display:flex;flex-direction:column;gap:16px;padding:18px;border:1px solid #d7e4df;border-radius:20px;background:#f8fbf9;min-height:0;overflow:auto;overscroll-behavior:contain}
body .ct-compact .ct-history{padding:0;border:0;border-radius:0;background:transparent;min-height:80px;display:flex;flex-direction:column;flex:1}
body .ct-compact .ct-history h2{font-size:15px;margin:0 0 8px;line-height:1.4}
body .ct-compact .ct-history-search{margin:0;font-size:13px}
body .ct-compact .ct-history-search input{margin:0;min-height:42px}
body .ct-compact #ct-threads{min-height:0;flex:1;overflow:auto;max-height:none;margin-top:10px;overscroll-behavior:contain}
body .ct-compact #ct-threads a{padding:10px;border:0;border-radius:10px;margin-bottom:3px}
body .ct-compact #ct-threads a.is-current{background:#e8f1ed}
body .ct-compact #ct-threads a small{color:#647a79}
body .ct-compact .ct-package{padding:16px 0 0;border:0;border-top:1px solid #d7e4df;border-radius:0;background:transparent;display:block;margin-top:auto;flex:none}
body .ct-compact .ct-package>span{font-size:13px;text-transform:none;letter-spacing:0;font-weight:400;color:#647a79}
body .ct-compact .ct-package>strong{font-size:27px;margin:2px 0 14px;line-height:1.3}
body .ct-compact #ct-package-options>summary{padding:10px 14px;border:1px solid #c9dad5;border-radius:11px;text-align:center;cursor:pointer;list-style:none;background:white;font-size:14px;font-weight:600;min-height:44px;box-sizing:border-box}
body .ct-compact #ct-package-options>summary::-webkit-details-marker{display:none}
body .ct-compact #ct-package-price{font-size:13px;color:#52676a;margin:12px 0}
body .ct-compact .ct-budget{margin:12px 0}
body .ct-compact .ct-budget #ct-budget-summary{font-size:12px;color:#52676a}
body .ct-compact .ct-chat{padding:0;border-radius:20px;background:white;border:1px solid #d7e4df;box-shadow:none;display:flex;flex-direction:column;min-height:0;min-width:0;overflow:hidden}
body .ct-compact .ct-chat-heading{padding:14px 24px;display:flex;flex-direction:row;align-items:center;gap:12px;border-bottom:1px solid #d7e4df;flex:none}
body .ct-compact .ct-chat-heading>div{min-width:0;flex:1}
body .ct-compact .ct-chat-heading h2{font-size:20px;margin:0 0 3px;line-height:1.4;max-height:2.8em;overflow:auto;overflow-wrap:anywhere}
body .ct-compact .ct-mode-label{display:block}
body .ct-compact #ct-mode-select{font:inherit;font-size:13px;color:#647a79;border:0;border-radius:6px;background:white;max-width:100%;padding:4px 20px 4px 0;min-height:32px}
body .ct-compact .ct-chat-actions{position:relative;display:block;flex:none}
body .ct-compact .ct-chat-actions>summary{list-style:none;cursor:pointer;min-height:44px;min-width:44px;display:grid;place-items:center;border-radius:10px;color:#52676a;font-size:18px}
body .ct-compact .ct-chat-actions>summary::-webkit-details-marker{display:none}
body .ct-compact .ct-chat-actions>div{position:absolute;z-index:4;right:0;top:100%;background:white;border:1px solid #d7e4df;border-radius:12px;box-shadow:0 8px 24px #243d4020;padding:8px;min-width:195px;display:flex;flex-direction:column;align-items:stretch;gap:4px}
body .ct-compact .ct-chat-actions a{font-size:13px;padding:10px;color:#52676a}
body .ct-compact .ct-scroll{overflow:auto;overscroll-behavior:contain;overflow-anchor:none;min-height:80px;flex:1;padding:22px 28px;scrollbar-gutter:stable;outline-offset:-3px}
body .ct-compact #ct-starters{height:100%;min-height:75px;display:grid;place-items:center;color:#647a79;font-size:22px;text-align:center}
body .ct-compact .ct-messages{padding:0;gap:26px}
body .ct-compact .ct-user{max-width:82%;margin-left:auto;padding:14px 18px;background:#e8f1ed;border:0;border-radius:16px;width:fit-content;box-sizing:border-box}
body .ct-compact .ct-user>strong{display:none}
body .ct-compact .ct-user>p{font-size:17px;margin:0}
body .ct-compact .ct-answer{padding:24px 0 0}
body .ct-compact .ct-answer>strong{color:#1f6665;font-size:14px}
body .ct-compact .ct-prose{font-size:18px;line-height:1.65;color:#243d40}
body .ct-compact .ct-prose p{margin:12px 0}
body .ct-compact .ct-answer-foot{margin:8px 0;display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:10px}
body .ct-compact .ct-answer-foot>span{display:none}
body .ct-compact .ct-refine-options{font-size:12px;color:#647a79}
body .ct-compact .ct-refine-options>summary{cursor:pointer;padding:6px 0;width:fit-content}
body .ct-compact .ct-refine{margin-top:6px}
body .ct-compact #ct-form{margin:0;padding:16px 28px 20px;border:0;flex:none;min-width:0;background:white}
body .ct-compact #ct-question{display:block;width:100%;height:130px;min-height:110px;max-height:220px;padding:14px 18px;resize:vertical;border:2px solid #aac9bd;border-radius:16px;background:#fcfefd;color:#243d40;font-size:18px;line-height:1.55;box-shadow:none;box-sizing:border-box;scroll-margin-bottom:12px}
body .ct-compact #ct-question:focus{outline:2px solid #1f6665;outline-offset:2px}
body .ct-compact #ct-question::placeholder{color:#83958f}
body .ct-compact .ct-send-row{display:flex;flex-direction:row;align-items:center;gap:12px;margin-top:12px}
body .ct-compact .ct-file-button{position:relative;padding:10px 14px;border:1px solid #c9dad5;border-radius:11px;font-size:14px;font-weight:500;color:#243d40;cursor:pointer;background:#fff;min-height:44px;box-sizing:border-box;display:flex;align-items:center}
body .ct-compact #ct-send-hint{margin:0 0 0 auto;font-size:12px;line-height:1.4;max-width:110px;color:#647a79}
body .ct-compact #ct-send{min-height:44px;min-width:150px;padding:10px 16px;font-size:15px;border-radius:11px}
body .ct-compact #ct-status{min-height:0;margin:8px 0 0;color:#52676a;font-size:12px}
body .ct-compact #ct-status:empty,body .ct-compact #ct-selected:empty{display:none}
body .ct-compact .ct-file-chips{margin:8px 0 0;max-height:72px;overflow:auto}
body .ct-compact #ct-error{margin-top:8px;padding:8px 12px;max-height:100px;overflow:auto}
body .ct-compact .ct-composer-meta{margin:4px 0 0;min-height:0}
body .ct-compact .ct-composer-meta:has(#ct-length[hidden]){margin:0}
body .ct-compact #ct-materials-wrap{margin:8px 0 0;max-height:90px;overflow:auto;font-size:12px;color:#52676a}
body .ct-compact #ct-study-note{margin:8px 0 0}
body .ct-compact .ct-study-workspace{margin:0 0 16px;padding:12px;background:#f5faf7;border-color:#d7e4df}
body .ct-compact .ct-guidance{padding-left:266px;color:#647a79;font-size:13px;flex:none}
body .ct-compact .ct-guidance>summary{padding:2px 24px;cursor:pointer;min-height:28px;box-sizing:border-box}
body .ct-compact .ct-guidance [data-input-guidance]{margin:6px 24px 0;padding:10px 14px;max-height:20vh;overflow:auto;background:#f8fbf9;color:#52676a;font-size:13px;line-height:1.6;border:1px solid #d7e4df;border-radius:10px}
body .ct-compact .ct-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
body.pixai-slate #content .ct-compact :is(.text-btn,.ct-refine button,.ct-file-chips button){background:transparent!important;color:#52676a!important;border:1px solid transparent!important;box-shadow:none!important;transform:none!important;font:inherit;font-size:12px;min-height:36px;padding:6px 8px;text-align:left}
body.pixai-slate #content .ct-compact .ct-file-chips button{border-color:#d7e4df!important;background:#f5faf7!important;border-radius:8px}
body.pixai-slate #content .ct-compact :is(.text-btn,.ct-refine button,.ct-file-chips button):hover{background:#bc2b38!important;color:white!important}
body .ct-compact :is(button,a,select,summary):focus-visible,body .ct-compact .ct-file-button:focus-within{outline:2px solid #bc2b38;outline-offset:2px}
body .ct-compact .ct-mobile-tools,body .ct-compact #ct-mobile-credit,body .ct-compact #ct-sidebar-close,body .ct-compact .ct-sidebar-backdrop{display:none}
@media(max-width:760px){
 body.pixai-chat-active #content{padding:12px 8px 8px!important}
 body .ct-page.ct-compact{min-height:440px;gap:10px}
 body .ct-compact .ct-page-heading{padding:0 10px}
 body .ct-compact .ct-page-heading h1{font-size:24px}
 body .ct-compact #ct-mobile-credit{display:block;font-size:13px!important;white-space:nowrap;max-width:125px;text-align:right!important}
 body .ct-compact .ct-mobile-tools{display:flex;gap:12px;padding:0 8px;flex:none}
 body .ct-compact .ct-mobile-tools button{flex:1;min-height:42px;padding:8px 14px;font-size:14px}
 body .ct-compact .ct-workspace{grid-template-columns:minmax(0,1fr);gap:0}
 body .ct-compact .ct-sidebar{display:none}
 body .ct-compact.ct-sidebar-open .ct-sidebar{display:flex;position:absolute;left:0;top:0;bottom:0;z-index:7;width:min(310px,calc(100% - 20px));box-sizing:border-box;box-shadow:0 10px 40px #243d4033}
 body .ct-compact #ct-sidebar-close{display:block;align-self:end}
 body.pixai-slate #content .ct-compact .ct-sidebar-backdrop:not([hidden]){display:block;position:absolute;inset:0;z-index:6;border:0;border-radius:18px;background:#243d4060!important;box-shadow:none!important;transform:none!important}
 body .ct-compact .ct-chat{border-radius:18px}
 body .ct-compact .ct-chat-heading{padding:8px 16px;gap:8px}
 body .ct-compact .ct-chat-heading h2{font-size:14px;font-weight:500;color:#647a79;max-height:2.8em}
 body .ct-compact #ct-mode-select{font-size:12px;max-width:220px}
 body .ct-compact .ct-scroll{padding:18px 16px;scrollbar-gutter:auto}
 body .ct-compact .ct-user{max-width:94%;padding:12px 14px}
 body .ct-compact .ct-user>p{font-size:16px}
 body .ct-compact .ct-prose{font-size:17px}
 body .ct-compact .ct-answer{padding-top:22px}
 body .ct-compact #ct-form{padding:12px 16px 16px}
 body .ct-compact #ct-question{height:112px;min-height:90px;max-height:160px;font-size:17px;padding:12px 14px;border-radius:14px}
 body .ct-compact .ct-send-row{gap:8px;margin-top:10px}
 body .ct-compact .ct-file-button{font-size:13px;padding:9px 10px}
 body .ct-compact #ct-send{font-size:14px;min-width:130px;padding:10px 12px}
 body .ct-compact #ct-send-hint{font-size:11px;max-width:65px}
 body .ct-compact .ct-guidance{padding-left:0}
 body .ct-compact .ct-guidance>summary{padding-left:16px}
 body .ct-compact .ct-guidance [data-input-guidance]{margin:6px 8px 0}
}
@media(max-width:380px){body .ct-compact #ct-form{padding:12px}body .ct-compact #ct-send{min-width:116px}body .ct-compact .ct-page-heading h1{font-size:22px}body .ct-compact #ct-mode-select{max-width:190px}}
@media(max-height:650px){body .ct-page.ct-compact{min-height:460px}body .ct-compact #ct-question{height:90px;min-height:72px;max-height:130px}body .ct-compact #ct-form{padding-top:10px;padding-bottom:12px}}


/* Short visible prompt guidance, approved 17 October 2026. */
body .ct-compact .ct-guidance-area{flex:none;min-width:0}
body .ct-compact .ct-guidance-brief{margin:0 24px 4px 290px;font-size:13px;line-height:1.5;color:#647a79}
@media(max-width:760px){body .ct-compact .ct-guidance-brief{margin:0 16px 4px;font-size:12px}}

/* Mobile chat follows the page: no nested vertical conversation viewport. */
@media(max-width:760px){
 body.pixai-chat-active .ct-page.ct-compact{height:auto;min-height:0;max-height:none}
 body.pixai-chat-active .ct-compact .ct-workspace{flex:none;min-height:0}
 body.pixai-chat-active .ct-compact .ct-chat{padding:0;overflow:visible}
 body.pixai-chat-active .ct-compact .ct-chat-heading h2{max-height:none;overflow:visible}
 body.pixai-chat-active .ct-compact .ct-scroll{flex:none;min-height:80px;overflow:visible;overscroll-behavior:auto;overflow-anchor:auto;scrollbar-gutter:auto}
 body.pixai-chat-active .ct-compact #ct-starters{height:auto;min-height:80px}
 body.pixai-chat-active .ct-compact #ct-form{position:static}
 body.pixai-chat-active .ct-compact :is(#ct-selected,#ct-error,#ct-materials-wrap){max-height:none;overflow:visible}
 body.pixai-chat-active .ct-compact .ct-guidance [data-input-guidance]{max-height:none;overflow:visible}
 /* Short histories must pass a vertical swipe to the page; long lists retain their own scrolling. */
 body.pixai-chat-active .ct-compact .ct-sidebar,
 body.pixai-chat-active .ct-compact #ct-threads{overscroll-behavior:auto;touch-action:auto}
 body.pixai-chat-active .ct-compact.ct-sidebar-open .ct-sidebar{position:fixed;top:12px;bottom:12px;left:12px;max-height:calc(100dvh - 24px);z-index:71}
 body.pixai-slate #content .ct-compact .ct-sidebar-backdrop:not([hidden]){position:fixed;inset:0;z-index:70}
}
