
:root{color-scheme:dark;--bg:#131313;--panel:#1b1b1b;--line:#343434;--muted:#979797;--text:#eeeeee;--accent:#cccccc;font-family:Inter,Segoe UI,Arial,sans-serif;font-size:15px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}button,input,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;background:none;border:0}a{color:inherit}button:focus-visible,a:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:4px}button:hover{filter:brightness(1.15)}button:disabled{cursor:wait;opacity:.5}.app{min-height:100dvh;display:grid;grid-template-columns:250px minmax(0,1fr)}aside{background:#191919;border-right:1px solid #292929;padding:30px 20px 18px;display:flex;flex-direction:column;height:100dvh;position:sticky;top:0}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-size:23px;letter-spacing:-1px;font-weight:650}.soft{font-weight:350;color:#c7c7c7}.new-chat{margin:39px 0 35px;padding:12px 13px;border:1px solid #414141;border-radius:10px;display:flex;gap:12px;align-items:center;text-align:left;background:#262626;font-size:13px}.new-chat span{font-size:20px;line-height:15px;color:var(--accent)}kbd{margin-left:auto;color:#969696;font:inherit}.nav-label{font-size:10px;letter-spacing:1.5px;color:#909090}.nav-item{display:flex;align-items:center;gap:12px;text-align:left;padding:16px 0 30px;font-size:13px}.nav-item span{color:var(--accent);font-size:20px}.nav-item i{font-size:10px;font-style:normal;margin-left:auto;color:#909090}.history-heading{display:flex;align-items:center;justify-content:space-between}.history-heading button{color:#939393;font-size:20px}#history{overflow:auto;margin-top:10px;flex:1}#history button{display:block;width:100%;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:11px 8px;font-size:12px;color:#bebebe;border-radius:7px}#history button.active{background:#313131;color:#efefef}#history .empty{font-size:12px;color:#898989;line-height:1.8}.side-bottom{border-top:1px solid #363636;padding-top:16px}.side-bottom>button{display:flex;gap:10px;text-align:left;align-items:center;width:100%;font-size:12px}.side-bottom small{display:block;color:#9b9b9b;margin-top:5px;font-size:10px}.side-bottom>button>span:last-child{margin-left:auto}.avatar{background:#353535;color:var(--accent);border:1px solid #505050;width:33px;height:33px;border-radius:50%;display:grid;place-items:center}.side-bottom>a{display:block;margin-top:18px;color:#909090;text-decoration:none;font-size:10px}main{min-width:0;display:flex;flex-direction:column;min-height:100dvh}header{height:82px;padding:0 40px;display:flex;align-items:center;gap:20px}.header-brand{font-weight:550;font-size:14px}.beta{font-size:10px;color:#d9d9d9;background:#2a2a2a;border:1px solid #454545;border-radius:5px;padding:3px 6px;margin-left:6px}.header-note{font-size:11px;color:#8d8d8d;margin-left:auto}.icon-button{font-size:20px;color:#bbbbbb}#menu{display:none}.workspace{width:min(850px,100%);padding:0 36px;margin:auto;flex:1;display:flex;flex-direction:column;justify-content:center;padding-bottom:55px}.welcome{text-align:center;padding-top:42px}.spark{color:var(--accent);font-size:60px;font-weight:200;line-height:1;margin-bottom:27px}.eyebrow{font-size:10px;letter-spacing:2.3px;color:#969696;margin-bottom:20px}h1{font-size:clamp(30px,3.3vw,44px);letter-spacing:-1.8px;font-weight:500;margin:0 0 19px}.intro{color:#a9a9a9;font-size:15px;line-height:1.7;margin-bottom:34px}#composer{border:1px solid #484848;background:#222222;border-radius:19px;padding:19px 20px 12px;box-shadow:0 8px 35px #00000022}textarea{color:var(--text);width:100%;border:0;outline:none!important;resize:none;background:transparent;min-height:48px;max-height:180px;line-height:1.6}textarea::placeholder{color:#737373}.composer-bottom{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#cdcdcd}.small-spark{color:var(--accent);margin-right:6px}.catalogue-label{color:#939393;font-size:11px}#send{width:35px;height:35px;border-radius:10px;background:var(--accent);color:#2d2d2d;font-size:25px}.suggestions{display:flex;gap:10px;margin:17px 0 0}.suggestions button{flex:1;display:flex;align-items:center;gap:9px;padding:12px;border:1px solid #3a3a3a;border-radius:10px;color:#b5b5b5;text-align:left;font-size:11px}.suggestions button>span:first-child{font-size:18px;color:#d6d6d6}.suggestions button>span:last-child{margin-left:auto;color:#7f7f7f}.composer-note{text-align:center;font-size:10px;color:#898989;line-height:1.6;margin:16px 0 0}#status{font-size:12px;text-align:center;color:var(--accent);min-height:16px}footer{display:flex;justify-content:space-between;gap:15px;color:#848484;padding:0 40px 22px;font-size:10px}footer span{color:#6a6a6a}footer a{text-decoration:none}.has-chat{justify-content:flex-start;padding-top:25px;padding-bottom:0}.has-chat .compose-area{position:sticky;bottom:0;background:linear-gradient(transparent,var(--bg) 15px);padding-top:26px;padding-bottom:12px;margin-top:auto}.has-chat .composer-note{margin-top:9px}.has-chat #status{margin:3px}.has-chat #composer{padding-top:13px}.has-chat textarea{min-height:30px}.has-chat .suggestions{display:none}#conversation{padding-bottom:8px}.message{line-height:1.7;font-size:14px;margin-bottom:28px;white-space:pre-wrap;overflow-wrap:anywhere}.message.user{margin-left:auto;width:fit-content;max-width:88%;background:#2d2d2d;border:1px solid #454545;padding:12px 18px;border-radius:18px 18px 4px 18px}.reply-heading{display:flex;align-items:center;gap:10px;font-size:12px;color:#b1b1b1;margin-bottom:13px}.reply-heading img{width:22px;height:22px}.product{border:1px solid #494949;border-radius:16px;overflow:hidden;margin:16px 0 27px;background:#212121}.product-banner{padding:26px;background:radial-gradient(ellipse at 92% 8%,#474747 0,transparent 65%),#292929;display:flex;justify-content:space-between;align-items:center}.product-banner small{font-size:9px;letter-spacing:1.8px;color:#c7c7c7}.product h2{font-weight:450;letter-spacing:-.9px;font-size:28px;margin:12px 0 9px}.product-banner p{margin:0;color:#c0c0c0;font-size:11px}.orb{width:70px;height:70px;border-radius:50%;background:radial-gradient(circle at 30% 30%,#efefef,#b7b7b7 30%,#363636 75%);box-shadow:0 0 50px #bababa22;margin-left:20px;flex-shrink:0}.product-body{padding:23px 26px;color:#bababa;line-height:1.65;font-size:13px}.product-body p{margin:0 0 15px}.product-body .limits{font-size:11px;color:#9f9f9f;border-top:1px solid #474747;padding-top:15px}.actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:20px}.primary,.secondary{padding:10px 15px;border-radius:8px;text-decoration:none;font-size:12px;display:inline-block}.primary{background:var(--accent);color:#303030;border:1px solid var(--accent)}.secondary{border:1px solid #595959;color:#d8d8d8}.brief{border-left:2px solid #9d9d9d;padding-left:17px;font-size:13px;line-height:1.7;color:#cdcdcd;margin:20px 0}.brief small{color:#a1a1a1}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}dialog{background:#262626;color:var(--text);border:1px solid #505050;border-radius:18px;width:min(440px,calc(100% - 32px));padding:32px}dialog::backdrop{background:#000000aa;backdrop-filter:blur(4px)}dialog h2{font-size:25px;font-weight:500;margin:10px 0 18px}dialog p{line-height:1.7;color:#bababa;font-size:13px}.dialog-close{position:absolute;right:14px;top:10px;font-size:26px}.plan-card{padding:18px;border:1px solid #5f5f5f;border-radius:12px;margin:22px 0}.plan-card strong{font-size:21px;display:block;margin-bottom:8px}.plan-card span{color:#b8b8b8;font-size:12px}.shade{display:none}[hidden]{display:none!important}@media(min-width:1600px){.workspace{width:900px}h1{font-size:46px}}@media(max-width:900px){.app{grid-template-columns:210px minmax(0,1fr)}aside{padding:25px 15px}.workspace{padding-left:24px;padding-right:24px}header{padding:0 24px}.header-note{display:none}.icon-button{margin-left:auto}.suggestions{flex-direction:column}}@media(max-width:640px){.app{display:block}aside{position:fixed;left:0;top:0;width:255px;z-index:5;transform:translateX(-100%);transition:transform .2s}body.menu-open aside{transform:translateX(0)}body.menu-open .shade{display:block;position:fixed;inset:0;background:#00000099;z-index:4}header{height:65px;padding:0 20px;gap:16px}#menu{display:block;font-size:19px}.workspace{padding:0 20px 25px;min-height:calc(100dvh - 110px)}.welcome{padding-top:20px}.spark{font-size:46px;margin-bottom:23px}.eyebrow{font-size:8px;letter-spacing:1.8px}h1{font-size:30px;letter-spacing:-1px}.intro{font-size:13px}.suggestions button{padding:10px}footer{padding:0 20px 16px;font-size:9px}footer span{display:none}.has-chat{padding-top:20px}.product-banner{padding:20px}.product h2{font-size:23px}.product-body{padding:20px}.orb{width:45px;height:45px}.message{font-size:13px}.catalogue-label{display:none}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* Background #131313 and sidebar #191919 intentionally preserved per owner. */
.prompt-wrap{position:relative;isolation:isolate}.prompt-wrap textarea{position:relative;z-index:1;display:block;padding:0;margin:0;font:inherit;line-height:1.6;caret-color:#e1e1e1}.completion{position:absolute;inset:0;z-index:0;pointer-events:none;white-space:pre-wrap;overflow-wrap:break-word;font:inherit;line-height:1.6;overflow:hidden;color:#6f6f6f}.completion #completion-prefix{color:transparent}textarea::placeholder{color:#6f6f6f}.prompt-wrap textarea:focus-visible{outline:none}#composer:focus-within{border-color:#7c7c7c;box-shadow:0 0 0 2px #aeaeae0a}.spark img{display:block;margin:auto}.spark{margin-bottom:24px}.completion-muted{color:#6f6f6f}

:root{--bg:#111312;--panel:#202020;--line:transparent;--text:#eeeeee;--muted:#929292;--accent:#dedede}
aside{background:#181818;border:0}.new-chat,#history button.active,.avatar,.beta,.message.user{background:#262626;border:0}#composer{background:#242424;border:0;box-shadow:none}#composer:focus-within{border:0;box-shadow:none}.suggestions button{border:0;background:#1b1b1b}.side-bottom{border:0}.product,.nr-app{border:0!important;background:#1c1c1c}.primary,#send{background:#dedede;color:#191919;border:0}.secondary,.plan-card,dialog{border:0;background:#292929}.completion,textarea::placeholder{color:#777}.brief{border:0}.product-body .limits{border:0}
.nr-app .nr-bar{background:#262626}.nr-app .nr-screen{background:#101010}.nr-app .nr-controls{background:#1c1c1c}.nr-app button,.nr-app select,.nr-code-dialog input{border:0;background:#303030;color:#ddd}.nr-app .primary{background:#dedede;color:#191919}.nr-upload input::file-selector-button{border:0;background:#303030;color:#ddd}.nr-app input{accent-color:#c8c8c8}.nr-code-dialog input{background:#1d1d1d}

#composer{background:#303030;border-radius:23px;padding:16px 16px 10px}.has-chat #composer{padding-top:16px}.composer-bottom{gap:12px}.composer-bottom>span{font-size:11px;color:#999}.composer-bottom #send{margin-left:auto;width:30px;height:30px;border-radius:50%;font-size:21px}.attach-button{font-size:25px;line-height:1;width:26px;height:30px;padding:0;color:#d0d0d0}.attachment-tray{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}.attachment-chip{max-width:220px;background:#414141;border-radius:9px;padding:7px 9px;display:flex;gap:8px;font-size:11px}.attachment-chip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attachment-tray small{flex-basis:100%;font-size:10px;color:#aaa}.message-files{display:flex;flex-wrap:wrap;gap:10px;margin:-12px 0 25px}.message-file{background:#252525;padding:12px;border-radius:12px;display:flex;flex-direction:column;gap:8px;max-width:230px;font-size:11px;overflow-wrap:anywhere}.message-file img{max-height:130px;max-width:200px;object-fit:contain}.message-file a,.message-file button{color:#ddd;text-align:left;font-size:11px}.message-file small{font-size:10px;color:#999}#composer.dragging{background:#383838}

/* Owner: triple the visual separation between conversation and composer (26 -> 78px). */
.has-chat .compose-area{padding-top:78px;background:linear-gradient(transparent,var(--bg) 45px)}

/* Native scrolling, discreet dark thumb; no custom wheel interception. */
html,#history,textarea{scrollbar-width:thin;scrollbar-color:#484848 transparent}
::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:#484848;border-radius:8px}::-webkit-scrollbar-thumb:hover{background:#676767}::-webkit-scrollbar-button{display:none}
#conversation{text-align:left}.message.assistant,.reply-heading{margin-left:0;margin-right:auto;text-align:left}.message.user{margin-left:auto;margin-right:0;text-align:left}.message.user+.message-files{justify-content:flex-end}
.product{margin:16px 0 8px;border:0;border-radius:22px;overflow:hidden;width:100%}.product>.nr-app{margin:0;border-radius:22px;overflow:hidden;max-width:100%}
.answer-actions{display:flex;align-items:center;gap:3px;margin:7px 0 30px;justify-content:flex-start}.answer-actions button{width:29px;height:30px;padding:5px;display:grid;place-items:center;color:#969696;border-radius:7px}.answer-actions button:hover{background:#262626;color:#eee}.answer-actions button[aria-pressed=true]{color:#eee;background:#303030}.answer-actions button:disabled{cursor:default;opacity:.3}.message.assistant{margin-bottom:8px}
.effort-control{position:relative;margin-left:auto}.effort-toggle{font-size:11px;color:#bbb;padding:7px 6px;white-space:nowrap}.effort-panel{position:absolute;right:0;bottom:calc(100% + 14px);width:255px;padding:16px;background:#303030;border-radius:17px;box-shadow:0 8px 30px #0006;z-index:8}.effort-panel label{display:block;color:#ddd;font-size:12px;margin-bottom:14px}.effort-panel input{width:100%;accent-color:#c5b0ef;cursor:pointer}.effort-panel p{font-size:12px;color:#ddd}.effort-panel small{font-size:10px;line-height:1.5;color:#aaa;display:block}.composer-bottom #send{margin-left:0}@media(max-width:640px){.composer-bottom>span{display:none}.effort-toggle{font-size:10px}}

/* Compact reasoning picker, separate from the NR application. */
.effort-toggle{font-size:13px;padding:7px 9px;color:#bcbcbc}.effort-panel{width:254px;padding:12px 12px 10px;border-radius:20px;background:#303030;box-shadow:0 6px 22px #0003;bottom:calc(100% + 12px);right:0}.effort-panel .effort-mode{text-align:center;font-size:14px;font-weight:600;color:#c88aff;margin:0 0 14px}.effort-panel input[type=range]{display:block;appearance:none;-webkit-appearance:none;height:25px;border-radius:20px;margin:0;background:radial-gradient(circle at 12% 35%,#fff9 0 1px,transparent 2px),radial-gradient(circle at 31% 70%,#fff8 0 1px,transparent 2px),radial-gradient(circle at 47% 30%,#fff9 0 1px,transparent 2px),radial-gradient(circle at 68% 65%,#fff8 0 1px,transparent 2px),linear-gradient(100deg,#444cd4,#8a5ae7 52%,#c284ed);border:0;outline-offset:5px}.effort-panel input::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:28px;height:28px;border:0;border-radius:50%;background:#fff;box-shadow:0 1px 5px #0002}.effort-panel input::-moz-range-thumb{width:28px;height:28px;border:0;border-radius:50%;background:white}.effort-caption{font-size:11px;text-align:center;color:#a8a8a8;margin-top:12px;line-height:1.3}
.workspace.has-chat{width:min(1160px,100%)}.has-chat .product,.agent-product{width:min(620px,72%);margin-left:0;margin-right:auto}.has-chat .message.assistant{max-width:760px}.agent-product{border-radius:22px;overflow:hidden;background:#202020;margin-top:16px}.agent-product iframe{display:block;width:100%;height:460px;border:0}.effort-panel .effort-mode{color:#4c9bff}.effort-mode::after{content:attr(data-model);display:block;font-size:11px;font-weight:400;color:#aaa;margin-top:4px}.effort-panel input[type=range]{height:24px;background:radial-gradient(circle at 7% 50%,#aaa 0 2px,transparent 2.5px),radial-gradient(circle at 36% 50%,#aaa 0 2px,transparent 2.5px),radial-gradient(circle at 65% 50%,#aaa 0 2px,transparent 2.5px),radial-gradient(circle at 94% 50%,#aaa 0 2px,transparent 2.5px),linear-gradient(90deg,#347eea,#464646)}@media(max-width:700px){.has-chat .product,.agent-product{width:100%}.agent-product iframe{height:400px}}
/* Suggested requests are quiet text rows, not cards. */
.suggestions{flex-direction:column;gap:4px;margin-top:25px;align-items:stretch}.suggestions button{flex:none;min-width:0;display:flex;align-items:center;gap:14px;padding:11px 12px;background:transparent;border:0;border-radius:8px;font-size:13px;color:#bcbcbc;line-height:1.5}.suggestions button:hover{background:#ffffff05;color:#eee}.suggestions button>span:first-child{font-size:17px;flex-shrink:0}.suggestions button>.suggestion-arrow{display:none}@media(max-width:640px){.suggestions button{font-size:12px;padding:10px 3px}}

.composer-bottom{margin-top:12px}

.account-dialog{width:min(440px,calc(100vw - 32px));padding:28px;background:#282828;color:#eee;border:0;border-radius:22px}.account-dialog label{display:block;margin:18px 0}.account-dialog input{display:block;width:100%;box-sizing:border-box;background:#1d1d1d;color:#eee;padding:13px;border:1px solid #555;border-radius:9px;margin-top:8px}.account-dialog small{display:block;margin-top:18px;color:#aaa}.account-dialog .actions{display:flex;gap:12px;flex-wrap:wrap}.ready-product{width:min(620px,100%);box-sizing:border-box;background:#222;border-radius:20px;overflow:hidden;margin:18px 0}.ready-product h3,.ready-product p{margin:18px}.ready-product iframe{display:block;width:100%;height:420px;border:0;background:#111}.ready-product>button,.ready-product>a{display:inline-block;margin:12px 18px;text-decoration:none}.ready-product:fullscreen{width:100%;height:100%;border-radius:0;margin:0;display:flex;flex-direction:column}.ready-product:fullscreen iframe{flex:1;min-height:0}.support-links{padding:14px 4px}.support-links a{color:#aaa;font-size:12px}.account-dialog [hidden]{display:none}@media(max-width:600px){.ready-product iframe{height:340px}}

.ready-product.is-expanded{position:fixed;inset:0;z-index:1000;width:100vw;height:100dvh;margin:0;border-radius:0;display:flex;flex-direction:column}.ready-product.is-expanded iframe{flex:1;min-height:0;height:auto}.app-expanded{overflow:hidden}

/* Privacy choices: equal-weight controls, optional settings unchecked by default. */
.privacy-notice{position:fixed;bottom:18px;right:18px;z-index:1200;width:min(460px,calc(100vw - 36px));padding:20px;box-sizing:border-box;background:#282828;color:#eee;border-radius:18px;box-shadow:0 8px 32px #0006;font-size:13px;line-height:1.55}.privacy-notice p{margin:8px 0}.privacy-notice a,.privacy-form~a,#dialog-content>a{color:#c5c5c5;text-decoration:underline}.privacy-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.privacy-actions button{background:#414141;color:#eee;border-radius:9px;padding:10px 14px;font-size:13px}.privacy-actions button:hover{background:#515151}.privacy-option{display:flex;align-items:flex-start;gap:12px;margin:20px 0}.privacy-option input{flex:0 0 auto;appearance:auto;width:18px;height:18px;margin:3px 0;accent-color:#ddd}.privacy-option strong,.privacy-option small{display:block}.privacy-option small,.privacy-details{font-size:12px;line-height:1.6;color:#bbb}.privacy-option small{margin-top:5px}.privacy-form{margin-top:20px}.privacy-link{font-size:12px;color:#bbb;padding:6px}.recommendations-note{color:#999;font-size:12px;margin-top:18px}.next-steps{display:flex;flex-wrap:wrap;gap:8px;padding-top:14px}.next-steps small{width:100%;color:#999}.next-steps button{padding:7px 10px;background:#222;color:#bbb;border-radius:8px;font-size:12px;text-align:left}.privacy-notice[hidden],.recommendations-note[hidden],.next-steps[hidden]{display:none}#dialog{max-height:calc(100dvh - 32px);overflow:auto}#dialog-content>button{margin:14px 8px 0 0}@media(max-width:640px){.privacy-notice{bottom:10px;right:10px;width:calc(100vw - 20px);padding:16px}.privacy-actions button{flex:1}footer{flex-wrap:wrap;gap:12px}.privacy-option{gap:10px}}

.suggestions .suggestion-icon{display:block;flex:0 0 18px;width:18px;height:18px;margin:0;color:#c7c7c7}.account-dialog{position:relative;padding:32px;width:min(420px,calc(100vw - 32px));border:0;background:#282828}.account-dialog h2{font-size:26px;margin:0 0 26px}.account-close{position:absolute;right:14px;top:10px;font-size:26px;color:#aaa}.account-trap{position:absolute!important;left:-10000px!important}.account-dialog .account-consent{display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.5}.account-dialog .account-consent input{appearance:auto;width:16px;height:16px;flex:0 0 16px;margin:2px 0 0;padding:0;accent-color:#ddd}.account-consent a{color:inherit;text-decoration:underline}.account-dialog .account-submit{display:block;width:100%;padding:13px;font-size:14px;margin-top:20px}.account-dialog .account-switch{display:flex;justify-content:center;align-items:center;gap:7px;margin-top:22px;font-size:13px;color:#aaa}.account-switch button{font-size:13px;padding:5px 0;text-decoration:underline;color:#eee}.account-dialog [data-resend]{display:block;margin:14px auto 0;font-size:12px;color:#bbb}.account-dialog [data-feedback]:empty{display:none}.account-dialog [data-feedback]{color:#e0b1a7;font-size:12px}.account-dialog .account-policy{display:block;margin-top:20px;text-align:center;font-size:11px;color:#999}.side-bottom>.account-signup-link{display:block;width:auto;margin:10px 0 0 43px;padding:0;font-size:12px;color:#bdbdbd;text-decoration:underline}.account-dialog input{background:#1d1d1d;color:#eee;border:0;border-radius:10px;box-shadow:none}.account-dialog input:focus-visible{outline:2px solid #888;outline-offset:2px}.account-dialog input:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px #1d1d1d inset;-webkit-text-fill-color:#eee;caret-color:#eee}.account-dialog [hidden]{display:none!important}

/* Keep account dialogs centered independently of page scroll. */
.account-dialog{position:fixed;inset:0;margin:auto;max-height:calc(100dvh - 32px);overflow:auto}

/* v24: fixed icon rail, independently scrolling panel, bounded splitter. */
:root{--sidebar-panel-width:280px;--sidebar-rail-width:52px}
.app{grid-template-columns:calc(var(--sidebar-rail-width) + var(--sidebar-panel-width)) minmax(0,1fr)}
#sidebar{display:flex;flex-direction:row;gap:0;padding:0;width:100%;height:100dvh;position:sticky;top:0;background:#101010;border-right:1px solid #303030;z-index:6;min-width:0}
.icon-rail{width:var(--sidebar-rail-width);flex:none;display:flex;flex-direction:column;align-items:center;gap:9px;padding:10px 7px 14px;background:#090909;z-index:2}
.rail-button,.sidebar-icon{display:grid;place-items:center;padding:0;flex:none;color:#b9b9b9;border-radius:9px}
.rail-button{width:36px;height:36px}.rail-button:hover,.sidebar-icon:hover{background:#272727;color:#fff;filter:none}
.rail-button[aria-current="page"],.rail-button[aria-expanded="true"]{background:#242424;color:#eee}
.rail-divider{width:24px;border-top:1px solid #292929;margin:1px 0 3px}
.rail-account{margin-top:auto}.rail-profile{display:grid;place-items:center;width:36px;height:40px;padding:0}.rail-profile .avatar{width:28px;height:28px;font-size:12px;background:#4b454d;color:#fff;border:0}
.sidebar-panel{width:var(--sidebar-panel-width);min-width:0;display:flex;flex-direction:column;padding:0 10px 14px;overflow:hidden}
.sidebar-header{display:flex;align-items:center;gap:5px;flex:none;height:57px;padding:0 4px 0 8px}
.sidebar-header .brand{font-size:17px;font-weight:550;letter-spacing:-.3px;white-space:nowrap;margin-right:auto;color:#e7e7e7}
.sidebar-icon{width:30px;height:32px}.sidebar-icon svg{width:18px;height:18px}
#new-chat{margin:0 0 22px;gap:12px;width:100%;padding:9px 10px;height:40px;background:transparent;border:0;border-radius:8px;color:#dedede;font-size:14px;font-weight:400}
#new-chat:hover,.sidebar-project:hover{background:#252525}#new-chat span{font-size:14px;color:inherit;line-height:normal}
.sidebar-scroll{overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;min-height:0;flex:1;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#454545 transparent;padding:0 2px 12px 0}
.sidebar-scroll::-webkit-scrollbar{width:6px}.sidebar-scroll::-webkit-scrollbar-track{background:transparent}.sidebar-scroll::-webkit-scrollbar-thumb{background:#3d3d3d;border-radius:8px}.sidebar-scroll::-webkit-scrollbar-thumb:hover{background:#666}
.projects-label{font-size:13px;font-weight:550;color:#a0a0a0;padding:9px 10px 10px;letter-spacing:0}
.sidebar-project{display:flex;gap:11px;align-items:center;width:100%;padding:9px 10px;border-radius:8px;text-align:left;font-size:13px;color:#d0d0d0;line-height:20px}
.sidebar-project svg{flex:none;width:18px;height:18px}.sidebar-project span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.history-heading{margin-top:18px}.history-heading #clear-history{font-size:17px;width:28px;opacity:0}.history-heading:hover #clear-history,#clear-history:focus-visible{opacity:1}
#history{overflow:visible;margin:0;flex:none}#history button{font-size:13px;font-weight:400;padding:10px;border-radius:8px;color:#c7c7c7;line-height:18px}#history button:hover{background:#222}#history button.active{background:#282828;color:#eee}#history .empty{padding:0 10px;font-size:12px}
.side-bottom{padding:10px 9px 0;flex:none;background:#101010}.side-bottom>a{margin:0;font-size:10px}.side-bottom .support-links{margin:9px 0 0}.side-bottom .support-links a{font-size:10px}.side-bottom .account-signup-link{font-size:12px;padding:8px 0;margin:0 0 8px;width:auto}
#chat-search{position:sticky;top:0;background:#101010;display:flex;align-items:center;padding:2px 0 8px;gap:3px;z-index:1}#chat-search-input{min-width:0;width:100%;height:35px;border:1px solid #444;background:#1d1d1d;color:#eee;border-radius:8px;padding:0 9px;font-size:13px}
#sidebar-resize{position:absolute;right:-4px;top:0;bottom:0;width:8px;cursor:col-resize;touch-action:none;z-index:3}#sidebar-resize:after{content:'';position:absolute;left:3px;top:0;bottom:0;width:2px;background:transparent}#sidebar-resize:hover:after,#sidebar-resize:focus-visible:after,.sidebar-resizing #sidebar-resize:after{background:#757575}.sidebar-resizing{cursor:col-resize;user-select:none}.sidebar-resizing iframe{pointer-events:none}
.sidebar-expand{display:none;position:static}
body.sidebar-collapsed .app{grid-template-columns:var(--sidebar-rail-width) minmax(0,1fr)}body.sidebar-collapsed .sidebar-panel,body.sidebar-collapsed #sidebar-resize{display:none}body.sidebar-collapsed .sidebar-expand{display:grid}
.navigation-more{position:absolute;left:calc(var(--sidebar-rail-width) - 3px);top:182px;width:248px;padding:9px;background:#232323;border:1px solid #333;border-radius:16px;box-shadow:0 12px 35px #0007;z-index:5}
.navigation-more button{display:flex;align-items:center;gap:12px;width:100%;padding:11px;border-radius:9px;text-align:left;font-size:14px;color:#e0e0e0}.navigation-more button:hover,.navigation-more button:focus-visible{background:#333;filter:none}.navigation-more svg{width:19px;height:19px;flex:none}.more-divider{border-top:1px solid #3a3a3a;margin:5px 8px}
@media(max-width:900px) and (min-width:641px){.app{grid-template-columns:calc(var(--sidebar-rail-width) + var(--sidebar-panel-width)) minmax(0,1fr)}}
@media(max-width:640px){.app,body.sidebar-collapsed .app{display:block}#sidebar{position:fixed;left:0;top:0;width:min(332px,90vw);height:100dvh;transform:translateX(-100%);z-index:8}body.menu-open #sidebar{transform:translateX(0)}.sidebar-panel,body.sidebar-collapsed .sidebar-panel{display:flex;width:calc(100% - var(--sidebar-rail-width))}body.sidebar-collapsed .sidebar-expand,#sidebar-resize,#collapse-sidebar{display:none}body.menu-open .shade{z-index:7}.sidebar-header{padding-left:7px}.sidebar-header .brand{font-size:16px}.navigation-more{width:min(248px,calc(90vw - 56px))}.side-bottom{padding-top:8px}}

.message.user{margin-bottom:4px}.question-actions{display:flex;justify-content:flex-end;gap:3px;margin:0 0 27px auto;width:fit-content;opacity:0;transition:opacity .12s}.message.user:hover+.question-actions,.question-actions:hover,.question-actions:focus-within{opacity:1}.question-actions button{display:grid;place-items:center;width:30px;height:30px;padding:0;border-radius:7px;color:#a8a8a8}.question-actions button:hover{background:#303030;color:#eee}.message-edit-bar{display:flex;justify-content:space-between;align-items:center;background:#242424;padding:10px 16px;border-radius:12px 12px 0 0;font-size:12px;color:#bbb}.message-edit-bar button{padding:4px 8px;border-radius:6px}.message-edit-bar button:hover{background:#3a3a3a}.safety-response{border:1px solid #3d3d3d;border-radius:16px;padding:20px 22px;max-width:760px;background:transparent}.safety-response strong{display:block;font-size:14px;margin-bottom:7px}.safety-response strong:before{content:'ⓘ';margin-right:10px;color:#bbb}@media(hover:none){.question-actions{opacity:1}}
.sidebar-expand{z-index:4}

@media(max-width:640px){body.menu-open .shade{left:min(332px,90vw)}}

/* Quick replies live inside the composer and never replace the placeholder. */
.composer-choices{display:flex;gap:8px;padding:0 16px 12px;overflow-x:auto;scrollbar-width:thin;max-width:100%;box-sizing:border-box}.composer-choices[hidden]{display:none!important}.composer-choice{flex:0 0 auto;padding:7px 11px;border:1px solid #505050;border-radius:18px;background:transparent;color:#dedede;font:inherit;font-size:12px;line-height:18px;min-height:34px;white-space:nowrap;text-align:left}.composer-choice:hover{background:#414141;border-color:#777;color:#fff}.composer-choice:focus-visible{outline:2px solid #d0d0d0;outline-offset:2px}.compose-area .next-steps{display:none!important}@media(max-width:640px){.composer-choices{padding:0 12px 10px;gap:7px}.composer-choice{min-height:40px;font-size:12px}}@media(prefers-reduced-motion:reduce){.composer-choice{transition:none}}

.composer-choices{display:block;overflow:hidden}.composer-choice-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:6px;color:#a6a6a6;font-size:11px;line-height:18px}.composer-more{padding:3px 1px;color:#bdbdbd;background:transparent;font:inherit;font-size:11px;border-radius:4px;flex:0 0 auto;min-height:26px}.composer-more:hover{color:#fff;text-decoration:underline}.composer-more:focus-visible{outline:2px solid #ccc;outline-offset:2px}.composer-choice-list{display:flex;gap:8px;max-width:100%;overflow-x:auto;scrollbar-width:thin;padding:2px 0 4px}.composer-choice-list .composer-choice{margin:0}@media(max-width:640px){.composer-choice-list{gap:7px}.composer-more{min-height:32px}}

/* Observed ChatGPT interaction metrics; Miraclesoft branding and safety remain. */
#conversation{font-size:16px;line-height:26px}.message.user{background:rgba(50,50,50,.85);border-radius:22px;padding:10px 16px;max-width:75%;white-space:pre-wrap}.message.assistant{padding:0;white-space:normal;line-height:26px}.rich-message p{margin:0 0 16px}.rich-message p:last-child{margin-bottom:0}.rich-message ul,.rich-message ol{padding-left:24px;margin:12px 0}.rich-message h2,.rich-message h3,.rich-message h4{margin:20px 0 12px;line-height:1.4}.rich-message pre{background:#181818;border:1px solid #333;border-radius:12px;padding:16px;overflow:auto;white-space:pre;font-size:14px;line-height:1.6}.rich-message code{font-family:ui-monospace,Consolas,monospace;background:#292929;border-radius:4px;padding:1px 4px}.rich-message pre code{background:none;padding:0}.rich-message a{color:inherit;text-underline-offset:3px}.reply-duration{font-size:14px;color:#999;margin:0 0 12px}.message.reply-pending{min-height:28px;padding:8px 0}.reply-shimmer{color:#b0b0b0;background:linear-gradient(100deg,#888 25%,#f4f4f4 48%,#888 70%);background-size:240% 100%;background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;animation:reply-shimmer 1s steps(48) infinite}.reply-stopped{color:#aaa}.reply-arriving{animation:reply-arrive .7s cubic-bezier(.37,.55,.86,.88)}@keyframes reply-shimmer{from{background-position:150% 0}to{background-position:-100% 0}}@keyframes reply-arrive{from{opacity:0;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}
#stop-answer{border:0;background:#ececec;color:#171717;border-radius:50%;width:38px;height:38px;flex:0 0 38px;font-size:16px;cursor:pointer}#stop-answer:disabled{opacity:.5}.chat-groups{padding:8px 0 12px}.organization-heading{display:flex;align-items:center;justify-content:space-between;font-size:13px;color:#aaa;padding:5px 8px}.group-row,.chat-row{display:flex;align-items:center;gap:2px;min-width:0}.group-row>button:first-child,#history .chat-row>button:first-child{flex:1;min-width:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:left;padding:10px 8px;border:0;border-radius:9px;background:transparent;color:#ddd;font-size:14px}.group-row>button.active,#history .chat-row>button.active{background:#292929}.group-row:hover,.chat-row:hover{background:#202020;border-radius:9px}.group-more,#history .chat-more{flex:0 0 30px;width:30px;height:32px;border:0;border-radius:8px;background:transparent;color:#aaa;padding:0;text-align:center;font-size:20px;cursor:pointer}.chat-more:hover,.group-more:hover{color:white;background:#333}#history .history-filters{display:flex;gap:3px;padding:0 0 8px}#history .history-filters button{flex:1;width:auto;min-width:0;padding:6px 2px;font-size:11px;text-align:center;border-radius:7px;color:#aaa}#history .history-filters button.active{background:#292929;color:#fff}.chat-popup{position:fixed;z-index:500;width:220px;padding:6px;background:#242424;border:1px solid #3b3b3b;border-radius:14px;box-shadow:0 10px 35px #0008}.chat-popup button{display:block;width:100%;border:0;background:transparent;color:#eee;text-align:left;font-size:14px;padding:10px 12px;border-radius:8px;cursor:pointer}.chat-popup button:hover,.chat-popup button:focus-visible{background:#383838;outline:none}.organization-name,.organization-color{display:block;width:100%;box-sizing:border-box;border:1px solid #555;background:#1d1d1d;color:#eee;border-radius:10px;padding:12px;margin:12px 0;font:inherit}#dialog-content>.secondary{margin:8px 8px 0 0}.organization-error{color:#ffaf8f}.merge-list{max-height:42vh;overflow:auto;margin:14px 0}.merge-choice{display:flex;align-items:center;gap:10px;padding:9px 0}.merge-choice input{width:16px;height:16px}.organization-banner{display:flex;gap:16px;align-items:center;padding:10px;border:1px solid #444;border-radius:10px;margin-bottom:20px;color:#bbb;font-size:14px}.organization-banner button{padding:6px 10px}.reply-heading{display:none}
@media(max-width:640px){.message.user{max-width:90%}#conversation{font-size:16px;line-height:26px}.chat-more,.group-more{opacity:1}.chat-popup{max-height:80vh;overflow:auto}}
@media(prefers-reduced-motion:reduce){.reply-shimmer,.reply-arriving{animation:none}.reply-shimmer{background:none;-webkit-text-fill-color:currentColor}}

/* Owner: remove composer choices and catalogue badge; keep only message controls. */
#workspace.has-chat{width:min(872px,100%)}#conversation .message{font-size:16px;line-height:26px}
#composer{display:grid;grid-template-columns:32px minmax(0,1fr) auto 38px;align-items:center;gap:8px;padding:10px 12px;min-height:56px;border-radius:28px}.has-chat #composer{padding-top:10px}#composer .prompt-wrap{grid-column:2;grid-row:1;min-width:0;margin:3px 0}#composer textarea{font-size:16px;line-height:26px;min-height:26px;max-height:200px;resize:none}#composer .composer-bottom{display:contents}#composer .attach-button{grid-column:1;grid-row:1;margin:0}#composer .effort-control{grid-column:3;grid-row:1;margin:0}#composer #send,#composer #stop-answer{grid-column:4;grid-row:1;width:36px;height:36px;margin:0}#composer .attachment-tray{grid-column:1/-1;grid-row:2}.compose-area{position:relative}.jump-latest{position:absolute;left:50%;top:28px;transform:translateX(-50%);z-index:5;width:34px;height:34px;border:1px solid #454545;border-radius:50%;background:#252525;color:#eee;font-size:19px;cursor:pointer}.jump-latest:hover{background:#353535}.has-chat .composer-note{display:none}.reply-code-header{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:12px;color:#bbb;background:#242424;border:1px solid #333;border-radius:12px 12px 0 0;padding:8px 12px;margin:14px 0 0}.reply-code-header button{border:0;background:transparent;color:inherit;font:inherit;padding:4px 6px;cursor:pointer}.rich-message .reply-code-header+pre{margin-top:0;border-radius:0 0 12px 12px}.reply-token{animation:reply-token .7s cubic-bezier(.37,.55,.86,.88) both}@keyframes reply-token{from{opacity:0}to{opacity:1}}.message.reply-arriving{animation:none}.answer-arriving{animation:reply-token .5s ease both;animation-delay:.45s}.rich-message blockquote{border-left:3px solid #555;margin:16px 0;padding:0 0 0 16px;color:#ccc}.rich-message hr{border:0;border-top:1px solid #444;margin:24px 0}@media(max-width:640px){#composer{gap:4px;padding:9px 10px;grid-template-columns:30px minmax(0,1fr) auto 34px}#composer .effort-toggle{font-size:11px}#composer #send,#composer #stop-answer{width:32px;height:32px}}@media(prefers-reduced-motion:reduce){.reply-token,.answer-arriving{animation:none}}
.jump-latest{position:fixed;top:auto}
@media(max-width:640px){#composer .effort-toggle{max-width:60px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}}

.image-reply{max-width:512px}.image-pending{width:min(376px,100%);aspect-ratio:1;border-radius:16px;background:linear-gradient(110deg,#252525,#373737,#252525);background-size:220% 100%;animation:image-wait 2.4s linear infinite;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px}.image-pending progress{width:65%;accent-color:#aaa}.image-open{display:block;border:0;padding:0;background:none;cursor:zoom-in;max-width:100%}.image-open img{display:block;max-width:100%;max-height:512px;border-radius:16px}.image-download{display:inline-block;margin-top:10px;font-size:13px;color:#d3d3d3}@keyframes image-wait{to{background-position:-220% 0}}@media(prefers-reduced-motion:reduce){.image-pending{animation:none}}

.ready-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px}.ready-product .ready-card-head h3{margin:0;min-width:0;overflow-wrap:anywhere}.ready-product .ready-fullscreen{flex:0 0 36px;width:36px;height:36px;display:grid;place-items:center;padding:0;margin:0;border:0;border-radius:8px;background:transparent;color:#bdbdbd;cursor:pointer}.ready-product .ready-fullscreen:hover{background:#353535;color:#fff}.ready-product .ready-fullscreen:focus-visible{outline:2px solid #aaa;outline-offset:2px}.ready-fullscreen svg{display:block}.ready-fullscreen .collapse-corners,.ready-fullscreen[aria-expanded="true"] .expand-corners{display:none}.ready-fullscreen[aria-expanded="true"] .collapse-corners{display:block}

/* Inline preview is not a submitted message. */
#composer .prompt-wrap{overflow:visible}#completion{font:inherit;font-size:16px;line-height:26px;color:#999;pointer-events:none;white-space:pre-wrap;overflow:hidden;max-height:200px}#completion-prefix{color:transparent}.completion-tip{position:absolute;bottom:calc(100% + 12px);left:0;z-index:6;padding:7px 10px;border:1px solid #454545;border-radius:5px;background:#161616;color:#bbb;font-size:11px;line-height:16px;white-space:nowrap;max-width:90vw}.completion-tip[hidden]{display:none}.completion-tip:focus-visible{outline:2px solid #ddd}@media(hover:hover){.completion-tip{visibility:hidden}.prompt-wrap:hover .completion-tip,.prompt-wrap:focus-within .completion-tip{visibility:visible}}@media(max-width:640px){.completion-tip{font-size:10px;padding:5px 7px;white-space:normal}}

@media(max-width:640px){#composer .prompt-wrap.has-completion textarea{min-height:78px}}

.image-create-mode{display:flex;align-items:center;gap:5px;font-size:12px;cursor:pointer}.image-license-label{display:flex;gap:10px;margin:20px 0}.composer-bottom{flex-wrap:wrap}
