.image-app{height:100dvh;overflow:hidden;background:#fafbf7;font-family:Arial,Helvetica,sans-serif;color:#19352c}
.image-app button,.image-app input,.image-app textarea,.image-app select{font:inherit}.asset-entry{min-width:0}.asset-card{width:100%}.asset-actions{display:flex;align-items:center;justify-content:space-between;gap:4px;flex-wrap:wrap;padding-bottom:8px}.asset-details{border:0;background:transparent;color:#526c3f;font-size:10px!important;padding:6px 2px;min-height:34px}.asset-details:hover{text-decoration:underline}.asset-delete{display:inline-flex;align-items:center;justify-content:center;gap:3px;border:0;border-radius:6px;background:transparent;color:#9c493b;font-size:10px!important;padding:6px 3px;min-height:34px}.asset-delete:hover{background:#f8e8e2}.asset-delete .icon{width:13px;height:13px}
.image-app button,.image-app select{cursor:pointer}.image-app button:disabled,.image-app select:disabled{cursor:default;opacity:.5}
.image-app button{transition:background .16s,border-color .16s,box-shadow .16s}.image-app button:focus-visible,.image-app textarea:focus-visible,.image-app input:focus-visible,.image-app select:focus-visible{outline:3px solid #749c46;outline-offset:3px}
.image-app [hidden]{display:none!important}.icon-definitions{position:absolute;width:0;height:0;overflow:hidden}.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.image-header{height:80px;display:flex;gap:23px;align-items:center;padding:0 32px;background:#fff;border-bottom:1px solid #e1e7df}.header-divider{width:1px;height:24px;background:#e1e7df}.app-label{font-size:14px;font-weight:600;letter-spacing:-.2px;color:#5c6b61}.image-header .site-nav{margin-left:auto;box-shadow:none}
.studio{height:calc(100dvh - 80px);display:grid;grid-template-columns:280px minmax(0,1fr)}.studio-sidebar{display:flex;flex-direction:column;min-height:0;background:#f4f6ef;border-right:1px solid #e1e7df;padding:25px 18px 14px}.sidebar-heading{display:flex;align-items:center;justify-content:space-between;padding:0 4px 18px;font-size:12px;font-weight:600;color:#687668}.mobile-close{display:none!important}
.new-chat{border:0;background:#193b2d;color:#fff;border-radius:11px;min-height:45px;display:flex;align-items:center;justify-content:center;gap:9px;font-size:13px!important;font-weight:600!important}.new-chat:hover{background:#2d513c}.sidebar-tabs{display:flex;border-bottom:1px solid #dce3d7;margin:22px 0 18px;gap:7px}.sidebar-tabs button{border:0;background:transparent;color:#788274;padding:0 7px 13px;display:flex;align-items:center;gap:7px;font-size:12px;font-weight:600;border-bottom:2px solid transparent;flex:1;justify-content:center}.sidebar-tabs .icon{width:16px;height:16px}.sidebar-tabs [aria-selected=true]{color:#244531;border-bottom-color:#244531}
.sidebar-panel{overflow:auto;flex:1;min-height:0;scrollbar-width:thin}.library-search{display:flex;align-items:center;gap:8px;border:1px solid #dfe5d9;background:#fff;border-radius:9px;padding:10px;color:#899581}.library-search .icon{width:16px;height:16px}.library-search input{width:100%;min-width:0;border:0;background:transparent;font-size:12px;color:#263e2c;outline:none}.library-search input::placeholder{color:#8a9484}
.upload-library{display:flex;align-items:center;justify-content:center;gap:9px;border:1px dashed #b7c6a9;border-radius:9px;background:transparent;width:100%;padding:15px 8px;margin-top:12px;color:#425d37;font-size:12px!important}.upload-library:hover{background:#e9efdf}.upload-library .icon{width:17px;height:17px}.sidebar-help{font-size:10px;line-height:1.65;color:#85917d;text-align:center;margin:8px 0 20px}.library-label{display:flex;align-items:center;justify-content:space-between;color:#7d8975;font-size:9px;letter-spacing:1.1px;font-weight:700;margin:24px 1px 13px}.library-label span:last-child{letter-spacing:0;border-radius:6px;background:#e6ebde;min-width:20px;padding:3px 5px;text-align:center}
.image-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:3px}.asset-card{border:0;background:transparent;padding:0;text-align:left;min-width:0;color:inherit}.asset-visual{display:block;position:relative;aspect-ratio:1;background:#e7ecdf;border:2px solid transparent;border-radius:11px;overflow:hidden}.asset-visual img{width:100%;height:100%;object-fit:cover;display:block}.asset-card.selected .asset-visual{border-color:#3c6035;box-shadow:0 0 0 2px #f4f6ef,0 0 0 3px #8fac73}.asset-check{position:absolute;top:6px;right:6px;width:20px;height:20px;border-radius:6px;background:#fff;border:1px solid #ccd5c6;display:grid;place-items:center;color:transparent}.asset-check .icon{width:13px;height:13px}.selected .asset-check{background:#244b31;border-color:#244b31;color:white}.asset-name{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px;font-weight:600;margin:8px 2px 3px}.asset-source{display:block;font-size:9px;color:#85917b;margin:0 2px 7px}
.library-empty{text-align:center;margin:42px 9px;color:#8c9984}.library-empty>.icon{width:31px;height:31px;margin-bottom:15px;stroke-width:1.2}.library-empty strong{display:block;color:#68795e;font-size:12px;font-weight:500}.library-empty p{font-size:11px;line-height:1.7;margin:8px 0}.sidebar-bottom{display:flex;align-items:center;gap:5px;border-top:1px solid #dfe5d8;margin-top:15px;padding-top:15px;font-size:9px;color:#8a9681;flex-wrap:wrap}.privacy-dot{width:5px;height:5px;background:#849f62;border-radius:50%}.sidebar-bottom .text-button{margin-left:auto;font-size:9px}.text-button{border:0;background:transparent;color:#527041;padding:5px;font-size:12px}.text-button:hover{text-decoration:underline}.more-button{display:block;margin:12px auto}.chat-list{display:grid;gap:8px}.chat-row{display:flex;gap:6px;align-items:center;padding:5px;border-radius:10px}.chat-row.active{background:#e6eddd}.chat-row>button:first-child{border:0;min-width:0;background:transparent;text-align:left;flex:1;padding:8px;color:#2d4735}.chat-row strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:500}.chat-row small{display:block;color:#8a967f;font-size:10px;margin-top:6px}.chat-row>.icon-button{width:27px;height:27px;opacity:.55}.chat-row>.icon-button:hover{opacity:1}
.chat-workspace{position:relative;min-width:0;min-height:0;display:flex;flex-direction:column;background:radial-gradient(ellipse at 50% 45%,#f0f4e73d,transparent 70%),#fcfdf9}.chat-toolbar{min-height:85px;display:flex;align-items:center;justify-content:space-between;padding:20px 36px;gap:12px}.workspace-eyebrow{display:block;font-size:8px;letter-spacing:1.6px;font-weight:600;color:#8c987e;margin-bottom:8px}.chat-toolbar h1{font-size:17px;letter-spacing:-.5px;font-weight:500;line-height:1.2;margin:0;max-width:550px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.library-toggle{display:none;align-items:center;gap:7px;padding:10px;border:1px solid #dfe5d8;border-radius:9px;background:#fff;font-size:12px!important;color:#43613a}.library-toggle .icon{width:17px;height:17px}
.studio-notice{margin:0 36px 12px;padding:11px 14px;border:1px solid #e3e8d5;border-radius:10px;background:#f4f7e9;color:#6a7954;font-size:12px;line-height:1.6}.chat-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:0 36px 20px}.welcome{max-width:730px;margin:auto;padding:clamp(24px,7vh,90px) 0 30px;text-align:center}.welcome-mark{display:grid;place-items:center;width:53px;height:53px;background:#ebf0de;border:1px solid #e0e8ce;border-radius:17px;margin:0 auto 24px;color:#6c8744;transform:rotate(-5deg)}.welcome-mark .icon{width:27px;height:27px;transform:rotate(5deg);stroke-width:1.3}.welcome-eyebrow{font-size:9px;letter-spacing:1.7px;font-weight:600;color:#84936e;margin:0 0 20px}.welcome h2{font-size:clamp(32px,3.1vw,47px);font-weight:500;letter-spacing:-1.9px;line-height:1.14;margin:0 0 20px}.welcome h2 span{color:#7b9357}.welcome-description{font-size:14px;line-height:1.8;color:#84907a;max-width:420px;margin:0 auto 36px}.suggestion-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;text-align:left}.suggestion{display:flex;flex-direction:column;align-items:flex-start;text-align:left;padding:18px 16px 20px;border:1px solid #e0e7d8;border-radius:13px;background:#ffffffc7;color:#364d32}.suggestion:hover{background:#f2f7e8;border-color:#bbcda6;box-shadow:0 5px 14px #27422708}.suggestion-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:#f0f4e8;color:#778d59;margin-bottom:17px}.suggestion-icon .icon{width:17px;height:17px}.suggestion strong{font-size:12px;font-weight:600;margin-bottom:8px}.suggestion>span:last-child{font-size:11px;line-height:1.7;color:#8b967f}
.messages{max-width:760px;margin:auto;display:flex;flex-direction:column;gap:26px;padding-top:15px}.message{max-width:100%;align-self:flex-start;min-width:0}.message.user{align-self:flex-end;max-width:85%;background:#edf2e5;border-radius:16px 16px 4px 16px;padding:16px 20px}.message-role{font-size:9px;letter-spacing:1px;font-weight:700;color:#82956e;margin:0 0 9px}.message-content{font-size:14px;line-height:1.75;color:#354b32;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.message-images{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 0}.message-image{display:block;border:1px solid #e0e5d9;border-radius:12px;padding:0;overflow:hidden;background:#f0f3e8;max-width:400px}.message-image img{display:block;width:100%;max-height:420px;object-fit:contain;min-height:70px}.user .message-image{width:100px;height:84px}.user .message-image img{height:100%;min-height:0;object-fit:cover}.message-image-actions{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}.message-image-actions button{font-size:11px;display:flex;gap:5px;align-items:center}.message-image-actions .icon{width:14px;height:14px}.generation-state{font-size:11px;color:#80916b;line-height:1.7;display:flex;align-items:center;gap:8px;margin:12px 0 0}.generation-state.error{color:#a24d3f}.busy-dot{width:7px;height:7px;border-radius:50%;background:#97ad71;animation:breathe 1.4s ease-in-out infinite}.missing-image{font-size:11px;color:#8d9686}.recover-generation{margin-top:5px}.chat-loading{padding:28px;text-align:center;font-size:13px;color:#8c987f}
.composer-area{flex-shrink:0;padding:12px 36px 14px}.composer{max-width:780px;margin:auto;background:#fff;border:1px solid #dce4d3;border-radius:17px;padding:14px 16px 12px;box-shadow:0 6px 23px #304c2f06}.composer:focus-within{border-color:#abbf91;box-shadow:0 0 0 3px #a9bd8a14}.composer textarea{display:block;width:100%;min-height:54px;max-height:150px;resize:vertical;border:0;background:transparent;font-size:14px;line-height:1.6;color:#30462d;padding:0 3px 5px;outline:none!important}.composer textarea::placeholder{color:#9ca690}.composer-actions{display:flex;align-items:center;gap:6px;margin-top:7px}.attach-button{display:flex;gap:6px;align-items:center;background:#f6f8f1;border:1px solid #e7ecdf;border-radius:8px;padding:8px 10px;font-size:11px!important;color:#70875a}.attach-button:hover{background:#eaf1df}.attach-button .icon{width:15px;height:15px}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border:0;border-radius:8px;background:transparent;color:#859574;flex-shrink:0}.icon-button:hover{background:#eaf0e0}.format-control{margin-left:auto}.format-control select{color:#7c8e69;font-size:11px;border:0;background:#f8faf4;border-radius:7px;padding:9px 6px;max-width:130px}.send-button{border:0;border-radius:9px;background:#274a33;color:#fff;display:flex;align-items:center;gap:7px;padding:9px 12px;margin-left:5px;font-size:12px!important;min-height:35px}.send-button:hover{background:#42613d}.send-button .icon{width:17px;height:17px}.reference-list{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:12px;padding-bottom:12px;border-bottom:1px solid #eef1e7}.reference-chip{display:flex;align-items:center;gap:7px;background:#f5f8ee;border:1px solid #e4ebd8;padding:4px 5px 4px 4px;border-radius:9px;max-width:170px}.reference-chip img{width:32px;height:32px;border-radius:6px;object-fit:cover}.reference-chip span{font-size:10px;color:#6e805c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.reference-chip .icon-button{width:23px;height:23px}.reference-chip .icon{width:13px;height:13px}.composer-help{font-size:10px;color:#96a18a;text-align:center;margin:12px 0 0}.studio-message{max-width:780px;margin:7px auto 0;font-size:12px;color:#587441;min-height:15px;line-height:1.5}.studio-message.error{color:#a14e3d}
.login-gate{max-width:780px;margin:0 auto 12px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 20px;border:1px solid #e0e7d5;border-radius:13px;background:#f0f5e7}.login-gate strong{font-size:13px;font-weight:600}.login-gate p{font-size:12px;line-height:1.6;color:#80906e;margin:6px 0 0}.primary-action,.secondary-action{border:0;border-radius:9px;background:#274a33;color:#fff;padding:12px 15px;text-decoration:none;font-size:12px!important;font-weight:600;white-space:nowrap;display:inline-flex;align-items:center;gap:6px}.secondary-action{background:#edf2e4;color:#4e6b3b;border:1px solid #dce6cf}.primary-action:hover{background:#41613c}
.image-dialog{width:min(850px,calc(100% - 30px));max-height:90dvh;border:1px solid #dfe6d5;border-radius:18px;padding:20px;background:#fcfdf9;box-shadow:0 25px 90px #142c2629}.image-dialog::backdrop{background:#172b21a3;backdrop-filter:blur(4px)}.preview-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.preview-heading h2{font-size:16px;letter-spacing:-.3px;font-weight:500;margin:0}.image-dialog>img{width:100%;max-height:65dvh;min-height:60px;object-fit:contain;border-radius:10px;background:#f0f3e8;margin-top:16px}.preview-actions{display:flex;align-items:center;gap:10px;padding-top:15px}.delete-image{margin-left:auto;color:#9d6554}.no-script{position:absolute;bottom:20px;left:20px;background:#fff;padding:20px;border:1px solid #ddd}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.sidebar-scrim{display:none}
.welcome-description,.suggestion>span:last-child,.composer-help,.sidebar-help,.sidebar-bottom,.asset-source{color:#64755a}.welcome-eyebrow,.workspace-eyebrow,.library-label{color:#647855}.library-search input::placeholder,.composer textarea::placeholder{color:#76876b}
@keyframes breathe{50%{opacity:.3}}@media(prefers-reduced-motion:reduce){.busy-dot{animation:none}.image-app button{transition:none}}
@media(min-width:1450px){.studio{grid-template-columns:310px minmax(0,1fr)}.studio-sidebar{padding-left:25px;padding-right:25px}.chat-toolbar{padding-left:50px;padding-right:50px}}
@media(max-height:800px) and (min-width:851px){.welcome{padding-top:20px}.welcome-mark{margin-bottom:17px;width:42px;height:42px}.welcome h2{font-size:36px}.welcome-description{margin-bottom:23px}.welcome-eyebrow{margin-bottom:15px}.suggestion{padding:15px}.suggestion-icon{margin-bottom:12px}.chat-toolbar{min-height:75px}}
@media(max-width:1050px){.studio{grid-template-columns:250px minmax(0,1fr)}.studio-sidebar{padding:22px 13px 13px}.chat-toolbar{padding:20px 24px}.chat-scroll{padding:0 24px 20px}.composer-area{padding:10px 24px 12px}.suggestion-grid{gap:8px}.suggestion{padding:16px 12px}.suggestion strong{font-size:11px}.suggestion>span:last-child{font-size:10px}.studio-notice{margin-left:24px;margin-right:24px}}
@media(max-width:850px){.image-header{height:68px;padding:0 21px;gap:15px}.studio{height:calc(100dvh - 68px);grid-template-columns:minmax(0,1fr)}.studio-sidebar{position:fixed;inset:68px auto 0 0;width:300px;max-width:88vw;z-index:5;transform:translateX(-100%);transition:transform .2s;box-shadow:10px 0 40px #152c211a}.image-app.sidebar-open .studio-sidebar{transform:translateX(0)}.mobile-close{display:inline-flex!important}.sidebar-scrim{position:fixed;inset:68px 0 0;background:#1833204a;z-index:4;display:block}.library-toggle{display:inline-flex}.chat-toolbar{min-height:78px}.welcome{padding-top:clamp(15px,6vh,65px)}.welcome h2{font-size:42px}.chat-toolbar h1{font-size:15px}.app-label{font-size:12px}.image-dialog>img{max-height:60dvh}}
@media(max-width:540px){.image-header{padding:0 16px;height:62px;gap:12px}.image-header .brand{font-size:22px}.image-header .brand-icon{width:27px;height:31px;font-size:22px}.header-divider,.app-label{display:none}.image-header .site-nav a{font-size:10px;padding:8px 9px}.studio{height:calc(100dvh - 62px)}.studio-sidebar,.sidebar-scrim{top:62px}.chat-toolbar{padding:15px 18px;min-height:76px}.workspace-eyebrow{font-size:7px;letter-spacing:1.3px;margin-bottom:7px}.chat-toolbar h1{font-size:13px;max-width:195px;letter-spacing:-.3px}.library-toggle{font-size:11px!important;padding:9px 8px}.library-toggle .icon{width:15px;height:15px}.chat-scroll{padding:0 18px 15px}.welcome{padding-top:22px}.welcome-mark{width:45px;height:45px;margin-bottom:22px}.welcome-eyebrow{font-size:8px;letter-spacing:1.2px}.welcome h2{font-size:35px;letter-spacing:-1.5px}.welcome-description{font-size:12px;max-width:300px;margin-bottom:24px}.suggestion-grid{grid-template-columns:1fr;gap:8px}.suggestion{display:grid;grid-template-columns:29px 1fr;column-gap:11px;padding:13px;text-align:left}.suggestion-icon{grid-row:span 2;margin:0;align-self:center;width:29px;height:29px}.suggestion strong{font-size:11px;margin-bottom:4px}.suggestion>span:last-child{font-size:10px}.composer-area{padding:9px 12px 10px}.composer{padding:12px;border-radius:14px}.composer textarea{font-size:13px;min-height:48px}.attach-button{padding:8px;font-size:10px!important}.format-control select{font-size:10px;max-width:110px}.send-button{padding:9px;min-width:34px}.send-button span{display:none}.composer-help{font-size:8px;line-height:1.6;margin-top:9px}.studio-message{font-size:11px}.studio-notice{font-size:11px;margin:0 16px 8px;padding:9px 11px}.login-gate{flex-direction:column;align-items:flex-start;gap:12px;padding:15px}.login-gate p{font-size:11px}.login-gate .primary-action{width:100%;justify-content:center}.message.user{max-width:92%;padding:13px 16px}.message-content{font-size:13px}.message-image{max-width:100%}.preview-actions{gap:7px;flex-wrap:wrap}.preview-actions .primary-action,.preview-actions .secondary-action{font-size:10px!important;padding:11px}.image-dialog{padding:15px}.welcome:has(+.messages:not(:empty)){display:none}}
