:root{--ink:#222522;--muted:#8a8e85;--line:#e7e9e1;--green:#576d37;--paper:#fbfcf8}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:14px -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif}button,a,input,textarea,select{font:inherit}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.5}a{color:inherit;text-decoration:none}button{border:1px solid var(--line);border-radius:9px;background:white;padding:10px 15px}button:hover{background:#f1f4eb}button:focus-visible,a:focus-visible{outline:2px solid var(--green);outline-offset:3px}aside{width:244px;height:100dvh;position:fixed;inset:0 auto 0 0;padding:30px 20px;background:#f2f4ed;border-right:1px solid var(--line);display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:10px;font-size:25px;font-weight:650;letter-spacing:1px;margin:0 10px 30px}.logo{display:grid;place-items:center;background:#566d38;color:#fff;width:36px;height:36px;border-radius:11px;font-size:36px;line-height:1;font-family:Georgia}.brand-ai{font-size:11px;background:#e3e8d8;color:#66734e;padding:3px 6px;letter-spacing:0}.new{background:#e4ead9;border-color:#dbe2cd;color:#465b2d;text-align:left;margin-bottom:26px}nav a{display:flex;align-items:center;gap:13px;padding:13px 14px;margin-bottom:5px;color:#72776b;border-radius:9px}nav a.active{background:#e4e9db;color:#41572b;font-weight:600}nav i{font-style:normal;font-size:18px;width:20px}.side-label{font-size:11px;color:#999f90;letter-spacing:1px;margin:30px 14px 12px}#history{overflow:auto;flex:1}#history button{display:block;border:0;background:none;text-align:left;font-size:12px;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#7e8576}.side-bottom{margin-top:auto}.upgrade{padding:16px;background:#e9eddf;border-radius:12px;font-size:12px}.upgrade p{color:#8a927d}.upgrade button{border:0;background:#f9fbf4;font-size:11px;width:100%}.account{display:flex;align-items:center;gap:10px;background:none;border:0;padding:22px 0 0;width:100%;text-align:left;font-size:12px}.account small{display:block;color:#969d8d;font-size:10px;margin-top:4px}.account>span:last-child{margin-left:auto;color:#969d8d}.avatar{background:#dbe3cc;color:#637747;display:grid;place-items:center;width:33px;height:33px;border-radius:50%}.shell{margin-left:244px}header{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 42px;border-bottom:1px solid var(--line);font-size:12px;color:#858b7d}header>div{display:flex;align-items:center;gap:20px}.demo{font-size:10px;background:#edf1e5;border:1px solid #e0e6d4;border-radius:30px;padding:6px 10px;color:#7b8867}.help{border:0;background:none;color:#8d9386;font-size:11px;padding:0}main{max-width:1120px;margin:auto;padding:48px 54px;min-height:calc(100dvh - 128px)}footer{padding:16px 45px;border-top:1px solid var(--line);font-size:10px;color:#a2a899;display:flex;justify-content:space-between}h1{font-weight:550;font-size:34px;letter-spacing:-1px;margin:13px 0}h2{font-weight:550;font-size:17px}p{line-height:1.8;color:#858b7d}.eyebrow{font-size:10px;letter-spacing:2px;color:#899477}.welcome{position:relative;padding:6px 0 24px}.welcome p{font-size:13px;margin:13px 0 24px}.spark{position:absolute;right:38px;top:4px;font-size:86px;color:#dce5cd;transform:rotate(12deg)}.composer{border:1px solid #dce3d1;background:#fff;border-radius:15px;padding:18px;box-shadow:0 5px 20px #415c2410}.composer textarea{width:100%;height:58px;border:0;outline:none;resize:vertical;background:none;color:var(--ink);line-height:1.8}.composer-bottom{display:flex;align-items:center;justify-content:space-between;color:#9da591;font-size:11px}.primary{background:var(--green);color:white;border-color:var(--green)}.primary:hover{background:#465d2c}.chips{display:flex;gap:9px;flex-wrap:wrap;margin:13px 0 30px}.chips button{font-size:11px;color:#858d7b;background:transparent;border-radius:25px;padding:7px 12px}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.feature{padding:22px;background:white;border:1px solid var(--line);border-radius:13px;position:relative;transition:.2s}.feature:hover{border-color:#bac8a7;transform:translateY(-2px)}.feature h3{font-size:16px;font-weight:550;margin:17px 0 8px}.feature p{font-size:11px;margin-bottom:18px}.icon{width:37px;height:37px;background:#eff2e8;border-radius:10px;display:grid;place-items:center;color:#758257;font-size:20px}.feature:nth-child(2) .icon{background:#f1ede5;color:#a28f6d}.feature:nth-child(3) .icon{background:#e9edf3;color:#7c8ca6}.feature .link{font-size:11px;color:#72835c}.section-head{display:flex;align-items:center;justify-content:space-between;margin:30px 0 15px}.section-head h2{margin:0}.section-head span{font-size:11px;color:#a0a695}.industry{display:flex;gap:13px;align-items:center;padding:20px;background:#f4f5ef;border:1px solid var(--line);border-radius:12px}.industry h3{font-size:13px;margin:0 0 6px}.industry p{font-size:10px;margin:0}.industry .icon{background:#e9e7e0;color:#928c7e;flex-shrink:0}.industry small{font-size:9px;color:#9aa18f}.industry .arrow{margin-left:auto;color:#9ba88b}.recent-row{display:flex;align-items:center;border-bottom:1px solid var(--line);padding:15px 0;gap:12px}.recent-row button{border:0;background:none;padding:0;text-align:left;flex:1}.recent-row small{font-size:10px;color:#a4aa9b}.recent-row .delete{flex:0;color:#a4aa9b;font-size:11px}.tag{font-size:10px;color:#8f9b7d;background:#eef1e7;padding:4px 7px;border-radius:5px}.page-lead{margin-bottom:28px}.page-lead h1{font-size:28px}.page-lead p{font-size:12px}.agent-card{min-height:260px}.agent-card button{margin-top:15px;width:100%}.form-layout{display:grid;grid-template-columns:320px 1fr;gap:25px}.panel{background:#fff;border:1px solid var(--line);border-radius:14px;padding:23px}label{display:block;font-size:12px;margin-bottom:18px}input,textarea,select{width:100%;margin-top:8px;border:1px solid #dfe4d7;border-radius:8px;padding:12px;background:#fafbf7;color:#4f5845;outline-color:#899d6a}textarea{min-height:100px;resize:vertical}.panel .primary{width:100%}.hint{font-size:10px;color:#a1a894;line-height:1.8}.empty{min-height:300px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#a2aa96}.empty .icon{width:58px;height:58px;font-size:27px}.empty h3{font-size:15px;font-weight:500;color:#858e77}.empty p{font-size:11px}.message{padding:20px 23px;border:1px solid var(--line);border-radius:13px;white-space:pre-wrap;line-height:1.9;font-size:13px;background:white;margin-bottom:14px}.message.user{background:#edf1e5;margin-left:14%;border:0}.message .meta{font-size:10px;color:#8e9b7a;display:block;margin-bottom:10px;letter-spacing:1px}.message button{font-size:10px;padding:5px 9px;margin:14px 6px 0 0}.chat-area{min-height:280px;max-height:52dvh;overflow:auto;margin-bottom:25px}.chat-page{max-width:780px;margin:auto}.ratio{display:flex;gap:9px;margin:12px 0 25px}.ratio button{flex:1;font-size:11px}.ratio button.selected{background:#e8eedc;border-color:#99aa80;color:#596f3c}.image-result img{display:block;max-width:100%;max-height:420px;margin:auto;border-radius:10px}.image-result .actions{display:flex;justify-content:center;gap:10px;margin-top:18px}.image-result .actions button{font-size:11px}dialog{border:1px solid var(--line);border-radius:18px;padding:30px;width:410px;max-width:92vw;box-shadow:0 25px 100px #27351f25}dialog::backdrop{background:#222b203b;backdrop-filter:blur(3px)}dialog h2{font-size:21px;margin-top:0}dialog .close{position:absolute;right:13px;top:13px;border:0;padding:4px 8px}dialog p{font-size:12px}dialog .primary{width:100%;margin-top:12px}.mobile{display:none}#toast{position:fixed;bottom:35px;left:50%;transform:translateX(-50%);padding:12px 22px;border-radius:10px;background:#334426;color:white;box-shadow:0 5px 25px #0002;opacity:0;pointer-events:none;transition:.2s;font-size:12px}#toast.show{opacity:1}.busy{animation:pulse 1s infinite}@keyframes pulse{50%{opacity:.4}}@media(min-width:1450px){main{padding-top:65px}}@media(max-width:1000px){aside{width:210px}.shell{margin-left:210px}main{padding:35px 28px}.grid3{gap:10px}.industry{padding:13px}.form-layout{grid-template-columns:280px 1fr}}@media(max-width:720px){aside{transform:translateX(-100%);z-index:5;width:244px;transition:.2s;box-shadow:8px 0 60px #0002}.menu-open aside{transform:none}.shell{margin-left:0}.mobile{display:inline-block;border:0;background:none;padding:4px 10px 4px 0}header{height:62px;padding:0 20px}header>div{margin-left:auto;gap:8px}.help{display:none}main{padding:30px 20px}.spark{font-size:55px;right:0;top:10px}h1{font-size:26px}.welcome p{max-width:80%}.grid3{grid-template-columns:1fr}.feature{padding:20px}.feature h3{margin-top:12px}.feature p{margin-bottom:12px}.industry{padding:20px}.form-layout{grid-template-columns:1fr}.chat-area{max-height:45dvh}.demo{font-size:9px}footer{padding:16px 20px;font-size:9px}.recent-row small{display:none}}

/* Design tokens aligned with the Duomi Bridal workspace. */
:root{--color-bg:#fff;--color-surface:#f5f5f7;--color-text:#1d1d1f;--color-muted:#6e6e73;--color-primary:#0071e3;--color-primary-hover:#0066cc;--color-primary-soft:#eaf3ff;--color-border:#d2d2d7;--sidebar-width:226px;--radius-control:12px;--radius-card:24px;--ink:var(--color-text);--muted:var(--color-muted);--line:#e5e5e9;--green:var(--color-primary);--paper:var(--color-surface)}
body{font-size:14px;line-height:1.6;color:var(--ink);background:var(--paper)}
button{min-height:44px;padding:10px 20px;border-radius:999px;border-color:var(--color-border);transition:background .16s,color .16s,border-color .16s}
button:hover{background:var(--color-primary-soft);border-color:var(--color-primary)}
button:focus-visible,a:focus-visible{outline:3px solid var(--color-primary);outline-offset:3px}
.primary{background:var(--color-primary);border-color:var(--color-primary);color:#fff}.primary:hover{background:var(--color-primary-hover);border-color:var(--color-primary-hover)}
aside{width:var(--sidebar-width);padding:28px 20px;background:#fff;border:0}
.brand{gap:6px;margin:0 0 32px;min-height:52px;letter-spacing:0}.brand-logo{width:23px;height:28px;object-fit:contain;flex-shrink:0}.brand-name{font-size:16px;font-weight:650;letter-spacing:-.5px;white-space:nowrap}.brand-industry{font-size:12px;font-weight:600;border-left:1px solid #d9d9dd;padding-left:7px;margin-left:1px;white-space:nowrap}
.new{background:#f5f5f7;border:0;color:#1d1d1f;margin-bottom:20px;text-align:center;font-size:13px;min-height:44px;border-radius:12px}.new:hover{background:#eaeaf0}
nav a{padding:12px 16px;gap:12px;margin:0 0 8px;border-radius:999px;color:#6e6e73;font-size:14px}nav a.active{background:#f5f5f7;color:#1d1d1f;font-weight:600}nav a:hover{background:#f5f5f7}nav i{display:grid;place-items:center;width:19px;height:19px}.ui-icon{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.side-label{color:#86868b;font-size:11px;letter-spacing:0;margin:28px 15px 10px}#history button{color:#6e6e73;border-radius:8px;font-size:12px;min-height:38px;padding:8px 14px}#history button:hover{background:#f5f5f7}
.upgrade{background:#f5f5f7;border-radius:20px;padding:18px;font-size:12px}.upgrade p{color:#86868b}.upgrade button{color:#0071e3;background:#fff;border:0;min-height:36px;font-size:11px}.avatar{background:#f6bd66;color:#fff}.account{border-radius:12px;padding:20px 0 0;font-size:12px}.account:hover{background:none}.account small,.account>span:last-child{color:#86868b}
.shell{margin-left:var(--sidebar-width)}header{background:#fff;border:0;min-height:80px;padding:16px 48px;color:#6e6e73;font-size:14px}.demo{background:#f5f5f7;color:#86868b;border:0;font-size:11px}.help{font-size:12px;color:#6e6e73;min-height:auto}.help:hover{background:none;color:#0071e3}
main{max-width:1280px;padding:36px 48px 48px;min-height:calc(100dvh - 132px)}footer{border:0;color:#86868b;padding:16px 48px;font-size:11px}p{color:var(--color-muted)}h1{font-size:32px;font-weight:600;letter-spacing:-.7px;line-height:1.3}h2{font-size:20px;font-weight:600;letter-spacing:-.3px}.eyebrow{color:#86868b;font-size:11px;letter-spacing:1.5px}.welcome{padding:0 0 16px}.welcome h1{margin:10px 0 12px}.welcome p{font-size:14px;margin:0 0 24px}.spark{display:none}
.composer{border:1px solid #e5e5e9;border-radius:26px;box-shadow:none;background:#fff;padding:20px 22px 16px}.composer:focus-within{border-color:#b5b5bd}.composer textarea{font-size:15px;height:62px;line-height:1.7;color:#1d1d1f}.composer textarea::placeholder{color:#86868b}.composer-bottom{font-size:11px;color:#86868b}.composer-bottom .primary{min-height:40px;padding:8px 18px;font-size:12px}.chips{margin:16px 0 16px;gap:8px}.chips button{border:0;background:#fff;color:#6e6e73;font-size:12px;min-height:36px;padding:7px 14px}.chips button:hover{color:#0071e3;background:#eaf3ff}
.grid3{gap:20px}.feature{border:0;border-radius:24px;padding:28px;box-shadow:0 4px 20px #00000008}.feature:hover{transform:none;box-shadow:0 5px 24px #0000000d}.feature .icon,.feature:nth-child(2) .icon,.feature:nth-child(3) .icon{background:#f5f5f7;color:#1d1d1f;width:44px;height:44px;border-radius:12px}.feature h3{font-size:18px;font-weight:600;margin:20px 0 8px}.feature p{font-size:13px;margin:0 0 20px;line-height:1.7}.feature .link{font-size:13px;color:#0071e3}.section-head{margin:32px 0 18px}.section-head span{font-size:12px;color:#86868b}
.industry{padding:24px;background:#fff;border:0;border-radius:24px;gap:12px;box-shadow:0 4px 20px #00000006}.industry .icon{background:#f5f5f7;color:#6e6e73;width:40px;height:40px}.industry h3{font-size:15px;font-weight:600;margin-bottom:5px}.industry p{font-size:11px;color:#6e6e73}.industry small{font-size:10px;color:#86868b}.industry .arrow{color:#0071e3}.industry:hover{box-shadow:0 5px 24px #0000000c}.tag{font-size:11px;border-radius:999px;background:#eaeaf0;color:#6e6e73;padding:4px 10px}.recent-row{padding:17px 0;border-color:#e2e2e7}.recent-row button{font-size:13px;min-height:24px}.recent-row small,.recent-row .delete{color:#86868b}
.page-lead{margin-bottom:28px}.page-lead h1{font-size:32px;font-weight:600}.page-lead p{font-size:14px}.form-layout{grid-template-columns:minmax(300px,.85fr) minmax(0,1.4fr);gap:24px}.panel{border:0;border-radius:24px;padding:28px;box-shadow:0 4px 20px #0000000a}.panel .primary{min-height:48px}label{font-size:14px;margin-bottom:20px}input,textarea,select{background:#f5f5f7;border-color:transparent;border-radius:12px;font-size:14px;padding:13px 15px;color:#1d1d1f}input:focus,textarea:focus,select:focus{outline:2px solid #0071e3;outline-offset:1px}.hint{font-size:12px;color:#86868b}.empty{min-height:310px}.empty .icon{background:#f5f5f7;color:#86868b;border-radius:16px}.empty h3{font-size:17px;font-weight:500;color:#1d1d1f}.empty p{font-size:13px}.agent-card{min-height:290px}.agent-card button{color:#0071e3;border-color:#0071e3;margin-top:24px}.agent-card .tag{background:#f5f5f7}
.chat-page{max-width:800px}.chat-page .section-head h2{font-size:16px;font-weight:550}.chat-area{max-height:54dvh}.chat-page .composer{background:#f7f7f8;border-radius:26px}.chat-page .composer .primary{background:#1d1d1f;border-color:#1d1d1f}.chat-page .empty{min-height:330px}.chat-page .empty .icon{background:none;color:#1d1d1f}.chat-page .empty h3{font-size:26px;font-weight:500}.message{border:0;background:transparent;font-size:16px;line-height:1.85;padding:20px 6px;border-radius:22px}.message.user{background:#eeeef1;padding:14px 20px}.message .meta{color:#86868b;font-size:11px}.message button{background:#fff;font-size:11px;min-height:30px}.ratio button{font-size:13px;min-height:44px;border-radius:12px}.ratio button.selected{background:#eaf3ff;border-color:#0071e3;color:#0071e3}.image-result img{border-radius:16px}.image-result .actions button{font-size:12px}dialog{border:0;border-radius:24px;padding:32px;box-shadow:0 16px 60px #0002}dialog::backdrop{background:#1d1d1f66}dialog h2{font-size:24px}dialog p{font-size:14px}dialog .close{min-height:28px}#toast{background:#1d1d1f;font-size:13px;border-radius:12px}
@media(min-width:1450px){main{padding-top:48px}}@media(max-width:1100px){main{padding:32px}.grid3{gap:16px}.feature{padding:24px}.industry{padding:20px}.industry .icon{display:none}.form-layout{grid-template-columns:minmax(260px,.9fr) minmax(0,1.1fr)}}@media(max-width:720px){aside{width:226px}.shell{margin-left:0}header{padding:12px 20px;min-height:64px;height:64px}.mobile{min-height:40px}main{padding:28px 20px}.grid3{gap:16px}.welcome h1{font-size:27px}.welcome p{font-size:13px;max-width:100%}.composer{padding:17px;border-radius:24px}.composer-bottom{font-size:10px}.chips button{font-size:11px}.feature{padding:26px}.feature h3{margin-top:18px}.section-head{gap:15px}.section-head h2{font-size:18px}.section-head>span{font-size:10px}.industry{padding:24px}.industry .icon{display:grid}.form-layout{grid-template-columns:1fr}.panel{padding:24px}.page-lead h1{font-size:28px}.chat-page .empty h3{font-size:23px}.chat-area{max-height:48dvh}footer{padding:16px 20px;font-size:9px}.demo{font-size:10px}.recent-row button{font-size:12px}}
/* Minimal navigation: only the three core tools. */
#history{display:none}aside .side-bottom{margin-top:auto}.brand{margin-bottom:32px}nav a{margin-bottom:8px}header .demo,header .help{display:none}header{background:transparent}footer{display:none}main{min-height:calc(100dvh - 80px)}
/* Chat workspace follows Duomi Bridal's quiet, centered conversation layout. */
[hidden]{display:none!important}body.chat-route{background:#fff;overflow:hidden}.chat-route .shell>header,.chat-route footer{display:none}.chat-route main{padding:0;max-width:none;min-height:0;height:100dvh}.chat-page{max-width:none;height:100%;display:flex;flex-direction:column;background:#fff}.chat-toolbar{display:flex;align-items:center;justify-content:space-between;padding:16px 32px;min-height:80px;flex-shrink:0}.chat-toolbar h2{font-size:16px;font-weight:550;margin:0}.chat-toolbar>div{display:flex;gap:4px}.chat-toolbar button{font-size:13px;border:0;background:transparent;color:#55555b;padding:10px 12px;border-radius:10px;min-height:44px}.chat-toolbar button:hover{background:#f5f5f7}.chat-route .chat-area{flex:1;min-height:0;max-height:none;width:100%;overflow:auto;margin:0;padding:24px max(24px,calc((100% - 760px)/2)) 16px;scrollbar-gutter:stable}.chat-page.is-empty .chat-area{display:none}.chat-dock{flex-shrink:0;padding:12px 24px 24px;background:#fff}.is-empty .chat-dock{margin-top:auto;margin-bottom:auto;padding-bottom:10vh}.chat-greeting{font-size:28px!important;font-weight:500!important;text-align:center;line-height:1.35;margin:0 auto 24px;letter-spacing:-.5px}.chat-page .composer{width:min(760px,100%);margin:auto;background:#f7f7f8;padding:17px 17px 13px;border:1px solid #e5e5e9;border-radius:26px}.chat-page .composer textarea{display:block;min-height:28px;height:28px;max-height:180px;resize:none;padding:0 3px;margin:0;font-size:16px;line-height:26px;overflow-y:auto;outline:none;box-shadow:none}.chat-page .composer-bottom{margin-top:10px;justify-content:flex-end}.chat-page #sendBtn,.chat-page #stopBtn{display:grid;place-items:center;width:36px;height:36px;min-height:36px;border-radius:50%;padding:0;background:#1d1d1f;border:0;color:white;font-size:21px}.chat-page #sendBtn:disabled{background:#e7e7ea;color:#b1b1b8;opacity:1}.chat-page #stopBtn{font-size:14px}.chat-note{text-align:center;font-size:11px;color:#86868b;margin:10px auto 0}.chat-suggestions{display:flex;justify-content:center;gap:8px;margin-top:12px;flex-wrap:wrap}.chat-suggestions button{font-size:12px;min-height:32px;padding:5px 13px;border-color:#e5e5e9;color:#6e6e73}.chat-page .message{margin:0 0 28px;padding:0 6px;white-space:pre-wrap}.chat-page .message.user{margin-left:auto;width:fit-content;max-width:80%;background:#f5f5f7;padding:12px 20px;border-radius:22px}.chat-page .message .meta{display:none}.chat-page .message button{border:0;padding:5px 8px;color:#86868b;border-radius:8px;margin-top:12px}.chat-page .message.user .meta{display:none}@media(max-width:720px){.chat-route aside{height:100dvh}.chat-route .shell>header{display:flex;min-height:58px;height:58px;padding:8px 20px}.chat-route main{height:calc(100dvh - 58px)}.chat-toolbar{min-height:58px;padding:6px 16px 6px 24px}.chat-toolbar button{font-size:12px;padding:8px}.chat-dock{padding:10px 16px 20px}.chat-route .chat-area{padding:16px 20px}.chat-greeting{font-size:24px!important}.chat-page .composer{padding:14px 14px 11px;border-radius:24px}.chat-note{font-size:10px}.chat-page .message{font-size:15px}}
/* ChatGPT-style persistent conversation list below primary navigation. */
.history-heading{font-size:11px;font-weight:500;color:#86868b;padding:0 14px;margin:32px 0 10px}#history{display:block;flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-bottom:12px}.history-item{display:flex;align-items:center;border-radius:9px;min-width:0;margin-bottom:3px}.history-item:hover,.history-item.current{background:#f5f5f7}#history .history-item>button:first-child{flex:1;min-width:0;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;padding:10px 12px;color:#49494f;min-height:38px;font-size:12px}#history .history-delete{width:26px;flex:0 0 26px;min-height:28px;padding:3px 6px;text-align:center;font-size:17px;color:#86868b;opacity:0}.history-item:hover .history-delete,.history-item:focus-within .history-delete{opacity:1}#history .history-delete:hover{color:#b42318;background:#fef3f2}.history-empty{font-size:11px;color:#98989e;padding:8px 14px;line-height:1.7}.side-bottom{padding-top:12px;background:#fff}@media(pointer:coarse){#history .history-delete{opacity:1}}
.image-workspace{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:24px;align-items:start}.image-workspace fieldset{padding:0;margin:0;border:0;min-width:0}.image-workspace .panel{margin-bottom:16px;padding:22px}.image-workspace h2{font-size:18px;margin:0 0 16px}.image-workspace textarea{height:145px;margin:0;min-height:130px;border:1px solid #dedee7;border-radius:15px}.image-help{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:#83838b;margin-top:10px}.image-help span:last-child{white-space:nowrap}.image-title{display:flex;justify-content:space-between;align-items:baseline;gap:10px}.image-title small,.image-title>span{font-size:12px;color:#81818b;font-weight:400}.reference-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.reference{border:1px solid #e4e4ed;border-radius:13px;padding:8px;min-width:0;background:#fafafa}.reference .reference-preview{width:100%;height:110px;position:relative;padding:0;border:0;background:none;border-radius:8px;overflow:hidden}.reference img{height:100%;width:100%;object-fit:contain}.reference-preview span{position:absolute;top:5px;left:5px;background:#0009;color:white;border-radius:6px;font-size:10px;padding:3px 6px}.reference p{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:6px 0}.reference>div{display:flex;justify-content:space-between}.reference>div button{min-height:30px;font-size:11px;border:0;padding:3px 7px;background:none;color:#6e6e73}.reference-upload{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;min-height:90px;border:1px dashed #d1d1df;border-radius:16px;background:#fafafe;padding:16px}.reference-upload b{font-size:14px;font-weight:500}.reference-upload span{font-size:11px;color:#86868b}.reference-upload.drag-over{background:#eaf3ff;border-color:#0071e3}.image-error{font-size:12px;color:#b42318;margin:8px 0 0}.image-error:empty{display:none}.image-ratios{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}.image-ratios button{padding:10px 2px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;background:#fafafa;border:1px solid #e4e4ec;border-radius:10px;font-size:12px;min-height:74px}.ratio-shape{display:block;border:1.5px solid currentColor;border-radius:2px;color:#86868b}.image-ratios .selected{background:#edf3ff;border-color:#9bbaf6;color:#3566bf}.image-ratios .selected .ratio-shape{color:#3566bf}#imageBtn{width:100%;margin-top:18px}.image-output{position:sticky;top:24px;min-width:0}.image-output .empty{min-height:330px}.image-result img{max-height:550px}.image-workspace fieldset:disabled button{pointer-events:none}@media(max-width:720px){.image-workspace{grid-template-columns:1fr;gap:0}.image-output{position:static}.image-ratios{grid-template-columns:repeat(3,minmax(0,1fr))}.image-workspace .panel{padding:20px}.image-help{font-size:10px}.reference-upload span{flex-basis:100%}}
/* Contextual second-level navigation for chat and conversational agents. */
#chatSubnav{margin-top:20px;padding-top:12px;border-top:1px solid #eeeef1;display:flex;flex-direction:column;gap:4px}#chatSubnav>a,#chatSubnav>button{display:flex;align-items:center;gap:10px;text-align:left;min-height:40px;padding:9px 14px;border:0;border-radius:9px;background:none;font-size:13px;color:#55555b}#chatSubnav>a:hover,#chatSubnav>button:hover,#chatSubnav>a.active{background:#f5f5f7;color:#1d1d1f}#chatSubnav .icon{display:grid;place-items:center;background:none;width:18px;height:18px;color:inherit}#chatSubnav .ui-icon{width:18px;height:18px}.history-heading{margin-top:22px}.history-item small{display:block;color:#96969c;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400;margin-top:2px}.agent-intro{max-width:650px;margin:-8px auto 20px;text-align:center;font-size:13px;color:#86868b;line-height:1.9}.agent-examples{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin:0 auto 20px;max-width:760px}.agent-examples button{font-size:12px;min-height:36px;color:#6e6e73;border-color:#e5e5e9;padding:8px 14px;white-space:normal;text-align:left}.chat-toolbar a{display:flex;align-items:center;color:#86868b;font-size:12px;padding:10px}.chat-toolbar a:hover{color:#0071e3}.is-empty .chat-dock:has(.agent-intro){padding-bottom:5vh}@media(max-width:720px){.agent-examples{justify-content:stretch}.agent-examples button{width:100%}.agent-intro{font-size:12px}.chat-toolbar h2{font-size:14px}.chat-toolbar a{font-size:11px;padding:6px}#chatSubnav{margin-top:14px}}
/* Two physical columns, following the supplied ChatGPT sidebar reference. */
:root{--rail-width:68px;--detail-width:232px;--sidebar-width:300px}aside#sidebar{width:var(--sidebar-width);padding:18px 14px 18px calc(var(--rail-width) + 14px);background:#fbfbfc;border-right:1px solid #e8e8eb;z-index:30}aside#sidebar:before{content:"";position:absolute;left:0;top:0;bottom:0;width:var(--rail-width);background:#f6f6f7;border-right:1px solid #ededf0;z-index:-1}#sidebar>.brand{position:absolute;top:22px;left:14px;width:40px;height:40px;min-height:40px;margin:0;display:grid;place-items:center;gap:0;border-radius:12px}#sidebar>.brand:hover{background:#eaeaec}.brand-logo{width:23px;height:28px}#sidebar>.brand .brand-name{display:none}#sidebar>#nav{position:absolute;top:100px;left:10px;width:48px;display:flex;flex-direction:column;gap:12px}#sidebar>#nav a{width:48px;min-height:48px;height:48px;padding:0;display:flex;align-items:center;justify-content:center;margin:0;border-radius:13px;color:#8b8b90}#sidebar>#nav a.active{background:#e9e9ec;color:#1d1d1f}#sidebar>#nav a:hover{background:#ededf0;color:#1d1d1f}#sidebar>#nav i,#sidebar>#nav .ui-icon{width:23px;height:23px}#sidebar .nav-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.sidebar-detail-heading{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 4px 20px 10px}.sidebar-detail-heading strong{font-size:18px;font-weight:600;white-space:nowrap;letter-spacing:-.4px}.collapse-detail{display:grid;place-items:center;padding:3px;width:32px;height:32px;min-height:32px;border:0;background:none;border-radius:9px;color:#929297;font-size:21px}.collapse-detail:hover{background:#eeeef1}#chatSubnav{border:0;padding:0;margin:0 0 8px;gap:5px}#chatSubnav>a,#chatSubnav>button{font-size:13px;padding:10px 12px;min-height:42px;gap:10px;color:#333338}#chatSubnav>a.active{background:#efeff2}#chatSubnav .icon{width:20px;height:20px}.history-heading{border-top:1px solid #e8e8eb;padding:20px 12px 0;margin:14px -14px 12px;font-size:12px;padding-left:26px}#history{margin:0 -3px;max-width:100%}#history .history-item>button:first-child{padding:11px 13px;font-size:12px}.history-item.current{background:#ededf1}.history-item small{margin-top:2px}#sidebar>.side-bottom{position:absolute;left:13px;bottom:20px;padding:0;background:none;width:42px}#sidebar .account{padding:0;margin:0;min-height:40px;justify-content:center;width:42px}#sidebar .account #accountLabel,#sidebar .account>span:last-child{display:none}#sidebar .avatar{width:32px;height:32px;font-size:12px}.detail-description{font-size:12px;line-height:1.9;color:#909097;padding:4px 12px 14px}.detail-label{font-size:11px;color:#909097;margin:20px 12px 5px}#chatSubnav .detail-record{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;text-align:left;width:100%}.detail-unavailable{padding:12px;font-size:13px;color:#909097;display:flex;align-items:center;justify-content:space-between}.detail-unavailable small{font-size:10px;color:#a0a0a6}.external{margin-left:auto;color:#909097}.detail-collapsed{--sidebar-width:68px}.detail-collapsed #sidebar{padding:0}.detail-collapsed #sidebar>.sidebar-detail-heading,.detail-collapsed #sidebar>#chatSubnav,.detail-collapsed #sidebar>.history-heading,.detail-collapsed #sidebar>#history{display:none!important}.detail-collapsed #sidebar>.brand{background:#e9e9ec}.detail-collapsed #sidebar>.brand:after{content:"›";position:absolute;right:-8px;bottom:-1px;font-size:16px;color:#86868b}.shell{margin-left:var(--sidebar-width)}
@media(min-width:721px){.chat-route main{height:100dvh}.chat-route .chat-toolbar{padding-left:32px}}@media(max-width:1100px) and (min-width:721px){:root{--detail-width:212px;--sidebar-width:280px}.detail-collapsed{--sidebar-width:68px}.grid3{grid-template-columns:repeat(3,minmax(0,1fr))}.feature{padding:20px}}@media(max-width:720px){:root{--rail-width:60px;--detail-width:226px;--sidebar-width:286px}aside#sidebar{width:286px;transform:translateX(-100%);box-shadow:none;max-width:88vw}.menu-open aside#sidebar{transform:none;box-shadow:12px 0 50px #0002}.shell{margin-left:0}#sidebar>#nav{left:6px}#sidebar>.brand{left:10px}#sidebar>.side-bottom{left:9px}.sidebar-detail-heading strong{font-size:17px}.collapse-detail{display:none}.detail-collapsed #sidebar{padding:18px 14px 18px 74px}.detail-collapsed #sidebar>.sidebar-detail-heading{display:flex!important}.detail-collapsed #sidebar>#chatSubnav{display:flex!important}.detail-collapsed[data-section=chat] #sidebar>.history-heading,.detail-collapsed[data-section=chat] #sidebar>#history{display:block!important}}
/* Image and industry use only the primary icon rail. */
body:is([data-section="image"],[data-section="industry"]){--sidebar-width:var(--rail-width)}body:is([data-section="image"],[data-section="industry"]) #sidebar{width:var(--rail-width);padding:0}body:is([data-section="image"],[data-section="industry"]) #sidebar>:is(.sidebar-detail-heading,#chatSubnav,.history-heading,#history){display:none!important}
@media(max-width:720px){body:is([data-section="image"],[data-section="industry"]) #sidebar{width:var(--rail-width)}body:is([data-section="image"],[data-section="industry"]) .shell{margin-left:var(--rail-width)}body:is([data-section="image"],[data-section="industry"]) aside#sidebar{transform:none;box-shadow:none}body:is([data-section="image"],[data-section="industry"]) header .mobile{display:none}}
/* Image retains its own secondary menu; industry remains rail-only. */
body[data-section="image"]{--sidebar-width:300px}body[data-section="image"] #sidebar{width:var(--sidebar-width);padding:18px 14px 18px calc(var(--rail-width) + 14px)}body[data-section="image"] #sidebar>.sidebar-detail-heading{display:flex!important}body[data-section="image"] #sidebar>#chatSubnav{display:flex!important}body[data-section="image"].detail-collapsed{--sidebar-width:68px}body[data-section="image"].detail-collapsed #sidebar{padding:0}body[data-section="image"].detail-collapsed #sidebar>:is(.sidebar-detail-heading,#chatSubnav){display:none!important}@media(min-width:721px) and (max-width:1100px){body[data-section="image"]{--sidebar-width:280px}body[data-section="image"].detail-collapsed{--sidebar-width:68px}}@media(max-width:720px){body[data-section="image"]{--sidebar-width:286px}body[data-section="image"] .shell{margin-left:0}body[data-section="image"] aside#sidebar{width:286px;padding:18px 14px 18px 74px;transform:translateX(-100%)}body[data-section="image"].menu-open aside#sidebar{transform:none;box-shadow:12px 0 50px #0002}body[data-section="image"] header .mobile{display:inline-block}body[data-section="image"].detail-collapsed #sidebar>.sidebar-detail-heading,body[data-section="image"].detail-collapsed #sidebar>#chatSubnav{display:flex!important}}
.code-input{display:flex;gap:8px;align-items:center}.code-input input{min-width:0}.code-input button{white-space:nowrap;font-size:12px;flex-shrink:0}.form-error{color:#b42318;font-size:13px}.order-row{padding:15px 0;border-bottom:1px solid #eee}.order-row p{font-size:12px}.order-row button{font-size:12px;padding:7px 12px;min-height:36px;margin-right:6px}.consent{display:flex;gap:9px;align-items:flex-start;line-height:1.8}.consent input{width:18px;height:18px;flex-shrink:0;padding:0}.image-output .hint{overflow-wrap:anywhere}
