:root{--radius:22px;--gradient:linear-gradient(110deg,#7761de,#a76ede 65%,#d386bb);--shadow:0 9px 40px #49346e06;--bg:#f8f7fb;--ink:#2c2640;--text:#514b62;--muted:#8c849b;--soft:#f0edf8;--line:#eae5f0;--accent:#8162c5}
:root[data-theme=dark]{--bg:#15131d;--panel:#201d2a;--ink:#f2edf9;--text:#d6cfe2;--muted:#9d93ae;--soft:#302939;--line:#393140;--accent:#bc9df5}
*{box-sizing:border-box}body{background:var(--bg)}.app-shell{display:block}.app-main{margin-left:0;width:100%;min-width:0}.sidebar,.hero,.breadcrumb{display:none}.topbar{height:82px;position:relative;max-width:1080px;margin:0 auto;padding:0 36px;background:none;border:none;backdrop-filter:none;display:flex;gap:32px}.brand{display:flex;align-items:center;gap:9px;flex-shrink:0}.brand img{width:30px;height:30px}.logo,.logo-display{font-family:Palatino,'Palatino Linotype','Book Antiqua',Georgia,serif;font-weight:500;font-style:normal;letter-spacing:-1.5px;color:var(--ink);font-size:35px;line-height:1.2}.logo:after,.logo-display:after{display:none}.desktop-nav{display:flex;gap:5px}.desktop-nav button{border:0;color:var(--muted);background:transparent;font-size:13px;padding:8px 15px;border-radius:12px}.desktop-nav button.active{color:var(--ink);background:var(--soft)}.top-actions{margin-left:auto;gap:8px}.top-actions .icon-button{border:none;background:transparent;width:34px;height:34px;min-width:34px;--icon-size:19px}.top-actions .account-button{width:34px;height:34px;min-width:34px;background:var(--soft);color:var(--accent);border:1px solid var(--line);font-size:13px}.credit-pill{height:33px;display:flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:12px;background:var(--panel);color:var(--ink);padding:0 10px;font-size:12px;--icon-size:19px}.credit-clock{font-size:10px;color:var(--muted);font-variant-numeric:tabular-nums}.content{max-width:826px;padding:34px 24px 70px;margin:auto}.tool-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:22px}.tool-heading h1{font-size:27px;letter-spacing:-.9px;font-weight:600;line-height:1.2;margin:0;color:var(--ink)}.tool-heading-actions{display:flex;align-items:center;gap:6px}.tiny-icon{display:inline-grid;place-items:center;width:34px;height:34px;min-width:34px;border-radius:10px;--icon-size:19px;background:transparent;border:0}.tiny-icon:hover{background:var(--soft)}.quick-card{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.recipient-band{width:100%;display:flex;align-items:center;gap:12px;padding:18px 24px;text-align:left;background:none;border:0;color:var(--ink);border-radius:22px;transition:background .18s}.recipient-band:hover{background:color-mix(in srgb,var(--soft) 40%,transparent)}.recipient-band:active{transform:none}.recipient-avatar,.saved-space-avatar{width:44px;height:44px;flex-shrink:0;border-radius:15px;overflow:hidden;background:var(--soft);display:block}.space-photo{width:100%;height:100%;display:block;object-fit:cover}.recipient-copy{display:flex;flex-direction:column;gap:3px;min-width:0}.recipient-copy strong{font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.recipient-copy small{font-size:11px;color:var(--muted)}.recipient-chevron{margin-left:auto;display:flex;--icon-size:18px;transition:transform .28s}.recipient-band[aria-expanded=true] .recipient-chevron{transform:rotate(180deg)}.context-collapse{display:grid;grid-template-rows:0fr;transition:grid-template-rows .28s cubic-bezier(.2,.7,.2,1);visibility:hidden;transition-property:grid-template-rows,visibility;transition-behavior:allow-discrete}.context-collapse.is-open{grid-template-rows:1fr;visibility:visible}.context-inner{overflow:hidden;min-height:0}.recipient-options{padding:3px 24px 18px;border-bottom:1px solid var(--line)}.category-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin:0 0 17px}.category-chip{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:1px solid transparent;border-radius:13px;background:var(--bg);color:var(--text);padding:12px 4px;font-size:11px;--icon-size:25px}.category-chip[aria-pressed=true]{border-color:color-mix(in srgb,var(--accent) 55%,transparent);background:var(--soft)}.recipient-footer{display:flex;justify-content:space-between;gap:12px;margin-top:13px}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;background:none;border:none;color:var(--accent);font-size:12px;padding:6px 0;--icon-size:18px}.quick-editor{padding:3px 24px 24px;border-top:1px solid var(--line)}.editor-topline{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px 0 21px}.switcher{display:inline-flex;gap:2px;padding:3px;border-radius:10px}.switcher button{min-width:68px;padding:7px 12px;border-radius:8px;font-size:12px;flex:none}.goal-chip{display:flex;gap:6px;align-items:center;border:none;background:none;color:var(--muted);font-size:11px;min-width:0;max-width:60%;--icon-size:17px}.goal-chip span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.goal-chip.has-goal{color:var(--text)}.composer-label{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:var(--text);margin-bottom:9px}.mini-link{display:flex;align-items:center;gap:4px;font-size:10px;border:0;background:none;color:var(--muted);--icon-size:13px}.message-field{background:var(--bg);border:1px solid var(--line);border-radius:14px;overflow:hidden}.message-field textarea{display:block;min-height:112px;resize:vertical;padding:16px 18px;width:100%;font-size:15px;line-height:1.65;border:0;color:var(--ink);outline:0;max-height:450px}.message-field textarea::placeholder{color:var(--muted);opacity:.8}.thoughts{margin:14px 0 0}.thoughts>summary{font-size:11px;color:var(--muted);cursor:pointer;display:flex;align-items:center;gap:6px;list-style:none}.thoughts summary span{opacity:.65}.thoughts summary svg{margin-left:auto;--icon-size:15px}.thoughts[open] summary{margin-bottom:10px}.thoughts .message-field textarea{min-height:76px}.quick-controls{display:flex;gap:8px;margin:18px 0}.quick-select{background:none;border:1px solid var(--line);border-radius:10px}.quick-select summary{min-height:34px;padding:6px 10px;font-size:11px;gap:9px;--icon-size:13px}.quick-select .select-options{font-size:12px}.writing-options{position:relative;margin-left:auto}.writing-options>summary{width:35px;height:35px;display:grid;place-items:center;border:1px solid var(--line);border-radius:10px;cursor:pointer;--icon-size:18px;list-style:none}.writing-options-panel{position:absolute;right:0;top:44px;width:235px;z-index:20;padding:18px;display:grid;gap:14px;border:1px solid var(--line);border-radius:16px;background:var(--panel);box-shadow:0 12px 32px #35234418}.voice-option{font-size:12px;display:flex;align-items:center;gap:9px}.generate{min-height:49px;border-radius:13px;display:flex;justify-content:center;align-items:center;gap:10px;font-weight:600;font-size:13px;box-shadow:0 5px 17px #8862c920}.request-cost{position:absolute;right:17px;display:flex;align-items:center;gap:5px;--icon-size:19px;color:#fff3d2;font-size:12px;padding-left:13px;border-left:1px solid #ffffff45}.thinking-orb{font-size:17px;animation:thinking 1s infinite}.quick-results{padding:0 24px 20px;display:grid;gap:12px}.reply-card{border:1px solid var(--line);border-radius:15px;padding:12px 17px;background:var(--bg)}.reply-card-top{display:flex;justify-content:space-between;align-items:center}.reply-card-top>span{font-size:10px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}.reply-card p{font-size:14px;line-height:1.75;white-space:pre-wrap;color:var(--ink);margin:5px 0 7px}.another-reply{justify-self:center;margin-top:4px}.inline-cost{display:inline-flex;align-items:center;gap:3px;margin-left:6px;--icon-size:16px;color:var(--muted)}.recent-exchange{margin:0 24px 24px;border-top:1px solid var(--line);padding-top:14px}.recent-exchange>summary{display:flex;gap:8px;color:var(--muted);font-size:11px;list-style:none;cursor:pointer;--icon-size:15px}.recent-exchange summary svg{margin-left:auto}.recent-exchange .chat-body{max-height:300px;overflow:auto;padding:15px 0 0;min-height:0}.credit-empty{text-align:center;padding:18px 0 0;display:grid;gap:6px;font-size:12px}.credit-empty span{color:var(--muted)}[data-reset-clock]{font-variant-numeric:tabular-nums}.credits-illustration{--icon-size:48px;margin:0 0 18px}.credit-reset{display:grid;gap:7px;background:var(--soft);border-radius:16px;padding:20px;text-align:center;color:var(--text);font-size:12px}.credit-reset b{font-size:26px;color:var(--ink)}.credit-reset small{color:var(--muted)}.space-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:22px}.saved-space{position:relative;background:var(--panel);border:1px solid var(--line);border-radius:19px;overflow:hidden}.saved-space-open{display:flex;align-items:flex-start;flex-direction:column;text-align:left;width:100%;height:100%;padding:22px 18px;background:none;border:0;color:var(--text)}.saved-space-avatar{width:55px;height:55px;border-radius:18px;margin-bottom:18px}.saved-space strong{font-size:13px;overflow-wrap:anywhere;color:var(--ink)}.saved-space p{font-size:11px;line-height:1.6;color:var(--muted);height:35px;overflow:hidden;margin:8px 0 16px}.saved-space small{font-size:10px;color:var(--muted);margin-top:auto}.edit-space{position:absolute;right:7px;top:7px}.spaces-empty{grid-column:1/-1;text-align:center;padding:60px 20px;border:1px dashed var(--line);border-radius:20px}.spaces-empty h2{font-size:20px;color:var(--ink)}.spaces-empty p{font-size:13px;color:var(--muted)}.spaces-bottom{text-align:center;margin-top:24px}.space-photo-editor{display:flex;align-items:center;gap:18px;margin:24px 0 15px}.space-photo-editor #spacePhotoPreview{display:block;width:72px;height:72px;border-radius:22px;overflow:hidden;background:var(--soft)}.space-photo-editor label{display:flex;align-items:center;gap:8px;cursor:pointer}.avatar-gallery{display:grid;grid-template-columns:repeat(8,1fr);gap:5px;margin-bottom:22px}.avatar-gallery button{padding:1px;border:2px solid transparent;border-radius:12px;background:var(--soft);overflow:hidden}.avatar-gallery img{width:100%;display:block}.avatar-gallery button[aria-pressed=true]{border-color:var(--accent)}.intent-presets{display:flex;flex-wrap:wrap;gap:7px;margin:22px 0}.modal .field+.field{margin-top:17px}.delete-space-link{margin:16px auto 0;display:block;color:var(--muted)}.upload-label{display:grid;justify-items:center;gap:15px;border:1px dashed var(--line);border-radius:16px;padding:24px;margin:22px 0;color:var(--accent);font-size:13px;--icon-size:30px}.upload-label input{width:100%;font-size:11px;color:var(--muted)}.backup-summary{display:grid;gap:5px;font-size:13px;color:var(--text)}.backup-summary span{font-size:11px;color:var(--muted);overflow-wrap:anywhere}.form-error{color:#d86576;font-size:12px}.setting-row{padding:20px 24px;display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid var(--line);font-size:13px}.setting-row:last-child{border-bottom:0}.setting-row>span{display:flex;align-items:center;gap:11px;min-width:0}.setting-row strong{font-size:12px;overflow-wrap:anywhere}.asset-note{text-align:center;color:var(--muted);font-size:10px;margin:25px 0}.asset-note a{color:inherit;margin-left:12px}.outline{min-height:34px;border-radius:10px;font-size:11px;padding:7px 12px;--icon-size:16px}.field label{font-size:11px}.field input,.field select,.field textarea{font-size:13px}.splash{background:var(--bg)}.splash-ambient,.splash-footer{display:none}.splash-center{visibility:visible}.logo-display{font-size:70px}.splash:after{display:none}.splash-dots i{background:var(--accent)}.bottom-nav{display:none}.lehja-icon{width:var(--icon-size,21px);height:var(--icon-size,21px);flex-shrink:0}.filled-icon{filter:drop-shadow(0 1px 1px #5d305814)}summary::-webkit-details-marker{display:none}button:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.page-head .subtext{max-width:460px}.two-col{gap:18px}
@media(min-width:1100px){.quick-tool{max-width:680px;margin:auto}.content{padding-top:46px}.tool-heading h1{font-size:30px}.recipient-band{padding-top:20px;padding-bottom:20px}.quick-editor{padding:3px 28px 27px}.quick-results{padding-left:28px;padding-right:28px}.message-field textarea{min-height:132px}}
@media(max-width:700px){.topbar{height:72px;padding:0 17px;gap:8px}.brand{gap:6px}.brand img{width:24px;height:24px}.brand .logo{font-size:29px}.desktop-nav{display:none}.top-actions{gap:3px}.top-actions .icon-button{width:30px;height:34px;min-width:30px;--icon-size:18px}.top-actions .account-button{width:30px;height:30px;min-width:30px}.credit-pill{height:30px;padding:0 7px;gap:4px;--icon-size:17px}.credit-clock{display:none}.content{padding:19px 16px 100px}.tool-heading{margin-bottom:18px}.tool-heading h1{font-size:24px}.recipient-band{padding:16px}.recipient-options{padding:2px 16px 16px}.recipient-avatar{width:39px;height:39px;border-radius:13px}.recipient-copy strong{font-size:13px}.quick-editor{padding:0 16px 18px}.quick-results{padding:0 16px 18px}.category-row{gap:4px}.category-chip{font-size:10px;padding:10px 3px;--icon-size:24px}.editor-topline{padding:16px 0 18px;gap:8px}.switcher button{min-width:57px;padding:6px 10px;font-size:11px}.goal-chip{font-size:10px;max-width:52%;gap:4px}.message-field textarea{font-size:16px;min-height:104px;padding:13px 14px}.quick-controls{gap:6px}.quick-select summary{padding:6px 8px;font-size:10px;gap:5px}.quick-select summary .lehja-icon{--icon-size:11px}.quick-select .select-options{min-width:145px}.quick-select:nth-child(3) .select-options{left:auto;right:0}.writing-options-panel{width:220px}.generate{min-height:48px;font-size:12px;padding-right:45px}.request-cost{right:12px;padding-left:9px;--icon-size:18px}.space-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.saved-space-open{padding:18px 14px}.saved-space-avatar{margin-bottom:13px}.space-gallery .saved-space strong{font-size:12px}.tool-heading-actions{gap:2px}.tool-heading-actions .outline{font-size:10px;padding:6px 8px}.tool-heading-actions .tiny-icon{width:30px;min-width:30px}.bottom-nav{display:flex;left:0;right:0;width:100%;bottom:0;position:fixed;border-radius:19px 19px 0 0;padding-bottom:env(safe-area-inset-bottom);height:calc(67px + env(safe-area-inset-bottom));z-index:40;box-shadow:0 -5px 30px #49346e05}.bottom-item{font-size:10px;gap:5px;--icon-size:23px}.bottom-item>span:first-child{display:flex;align-items:center;justify-content:center;min-height:25px}.setting-row{padding:17px 16px;font-size:12px}.setting-row>span{gap:8px}.setting-row .quick-tags{gap:4px}.setting-row .outline{font-size:10px;padding:6px 9px}.field input,.field select,.field textarea{font-size:16px}.modal{max-height:calc(100dvh - 30px);overflow-y:auto}.recent-exchange{margin:0 16px 18px}.credit-pill strong{font-size:11px}}
@media(max-width:370px){.brand img{display:none}.topbar{padding:0 12px}.top-actions{gap:1px}.content{padding-left:12px;padding-right:12px}.quick-select summary{padding:6px}.goal-chip{max-width:47%}}
.topbar{width:100%}.generate{width:100%;flex:none}.recipient-options .field-row{margin:0}.writing-options summary .lehja-icon{display:block}.setting-row .quick-tags{display:flex}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
/* Choices use a top-layer dialog so cards, tool icons and mobile navigation cannot cover them. */
.preference-trigger{display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid var(--line);border-radius:12px;background:var(--bg);color:var(--text);cursor:pointer;text-align:left;min-width:0}
button.quick-select{padding:9px 12px;font-size:12px;min-height:42px;--icon-size:14px}
.preference-trigger>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.preference-trigger>.lehja-icon{flex-shrink:0}
.connection-trigger,.field>.preference-trigger{width:100%;min-height:44px;padding:10px 12px;font-size:14px;--icon-size:16px}
.preference-dialog{position:fixed;inset:0;margin:auto;border-radius:24px;padding:26px;width:min(420px,calc(100vw - 32px));max-width:420px;max-height:calc(100dvh - 48px);overflow-y:auto;overscroll-behavior:contain;color:var(--text)}
.preference-dialog::backdrop{background:#140d2e66;backdrop-filter:blur(5px)}
.preference-dialog h2{font-size:21px;margin:0 44px 22px 0;color:var(--ink)}
.preference-choices{display:grid;gap:7px}.preference-choices button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:48px;text-align:left;padding:12px 15px;border:1px solid var(--line);border-radius:13px;background:var(--bg);color:var(--text);font-size:14px;--icon-size:20px}
.preference-choices button[aria-pressed=true]{border-color:var(--accent);background:var(--soft);color:var(--ink)}
.preference-trigger:focus-visible,.preference-choices button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:700px){button.quick-select{font-size:12px;padding:8px 10px;min-height:42px}.preference-dialog{inset:auto 0 0;margin:0 auto;width:100%;max-width:520px;max-height:85dvh;border-radius:24px 24px 0 0;padding:24px 20px calc(24px + env(safe-area-inset-bottom))}.connection-trigger{font-size:16px}}
.quick-controls{flex-wrap:wrap}.quick-controls>button.quick-select{flex-shrink:0}.quick-controls>button.quick-select>span{overflow:visible;text-overflow:clip}
@media(max-width:700px){.quick-controls>button.quick-select{font-size:11.5px;padding:8px 7px;gap:4px;--icon-size:12px}.recipient-avatar{width:44px;height:44px}}
.category-row{grid-template-columns:repeat(6,minmax(0,1fr))}
.top-actions .account-button{width:36px;height:36px;min-width:36px;padding:2px;overflow:hidden;border:1px solid var(--line);border-radius:50%;background:var(--soft)}
#avatarText{width:100%;height:100%;display:block}#avatarText img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}
.intention-hint,.intention-example{color:var(--muted);font-size:12px;line-height:1.6}.intention-example{margin:9px 0 0;font-size:11px}
.roast-control{padding:13px;margin:0 0 18px;border:1px solid var(--line);border-radius:15px;background:var(--bg)}
.roast-heading{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--ink);--icon-size:20px}.roast-heading>span{margin-left:auto;color:var(--muted);font-size:11px}
.roast-meter{margin-top:15px;padding:0 4px}.roast-meter input[type=range]{appearance:none;-webkit-appearance:none;width:100%;height:14px;margin:14px 0 12px;padding:0;border:0;border-radius:99px;background:linear-gradient(90deg,#f4ce45 0%,#ffad36 33%,#fa6939 66%,#ed2943 100%);cursor:pointer;box-shadow:0 3px 12px #f0762825;touch-action:pan-y}.roast-meter input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:24px;height:28px;border:3px solid var(--panel);border-radius:8px 8px 12px 12px;background:var(--ink);box-shadow:0 2px 8px #351d3545;cursor:grab}.roast-meter input[type=range]::-moz-range-thumb{width:18px;height:22px;border:3px solid var(--panel);border-radius:8px 8px 12px 12px;background:var(--ink);box-shadow:0 2px 8px #351d3545;cursor:grab}.roast-meter input[type=range]:active{cursor:grabbing}.roast-meter input[type=range]:focus-visible{outline:2px solid var(--accent);outline-offset:7px}.roast-levels{display:flex;justify-content:space-between;gap:4px}.roast-levels button{min-height:36px;padding:6px 3px;border:0;border-radius:8px;font-size:11px;background:transparent;color:var(--muted);transition:color .18s,background .18s}.roast-levels button[aria-pressed=true]{color:var(--ink);background:var(--soft);font-weight:700}.roast-heading>span{color:var(--ink);font-weight:650}.roast-control>p{margin:9px 0 0;font-size:11px;color:var(--muted)}
@media(max-width:700px){.category-row{grid-template-columns:repeat(3,minmax(0,1fr))}.top-actions .account-button{width:34px;height:34px;min-width:34px}.category-chip{min-height:58px}.roast-levels button{font-size:10px}}
.onboard-choice-group{padding:0;margin:20px 0;border:0;min-width:0}.onboard-choice-group legend{font-size:12px;font-weight:600;color:var(--ink);margin-bottom:10px}.onboard-choices{display:flex;flex-wrap:wrap;gap:7px}.onboard-choices button{min-height:43px;padding:10px 14px;border:1px solid var(--line);border-radius:12px;background:var(--bg);color:var(--text);font-size:12px}.onboard-choices button[aria-pressed=true]{border-color:var(--accent);background:var(--soft);color:var(--ink)}.onboard-caption{font-size:12px;line-height:1.6;color:var(--muted)}.onboard-actions{display:flex;align-items:center;gap:10px;margin-top:22px}.onboard-actions>.primary{margin:0;flex:1}.onboard-actions>.outline{min-height:44px;padding:10px 18px}

.conversation-feed.chat-body{min-height:180px;max-height:420px;margin:0 0 18px;border:1px solid var(--line);border-radius:16px;background:#f0eee7;gap:14px;padding:20px;overscroll-behavior:contain;scroll-behavior:smooth}.conversation-feed .bubble-row{max-width:88%;flex-shrink:0}.conversation-feed .bubble{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55;font-size:14px;padding:12px 14px;border-radius:12px;box-shadow:0 1px 2px #15251b12}.conversation-feed .them .bubble{background:#fff;color:#1b2723;border-radius:2px 12px 12px}.conversation-feed .me .bubble{background:#d9fdd3;color:#10261b;border-radius:12px 2px 12px 12px}.conversation-feed .bubble-copy{opacity:1;color:#5b7466;background:transparent;min-width:32px;min-height:32px;display:grid;place-items:center}.conversation-feed .bubble-copy svg{width:17px;height:17px}.conversation-feed .chat-empty{padding:20px 0;color:var(--muted)}[data-theme=dark] .conversation-feed.chat-body{background:#172321}.attachment-bar{display:flex;align-items:center;gap:10px;margin:10px 0;min-height:38px}.attach-trigger{display:grid;place-items:center;cursor:pointer;flex-shrink:0;width:38px;height:38px;border:1px solid var(--line);border-radius:12px}.attach-trigger svg{width:21px;height:21px}.attachment-previews{display:flex;gap:8px;flex-wrap:wrap}.attachment-thumb{position:relative;width:48px;height:58px}.attachment-thumb img{width:100%;height:100%;object-fit:cover;border-radius:8px}.attachment-thumb button{position:absolute;right:-5px;top:-6px;width:22px;height:22px;display:grid;place-items:center;border-radius:50%;background:var(--panel);border:1px solid var(--line)}.attachment-thumb button svg{width:13px;height:13px}.chat-thinking{align-self:flex-end;display:flex;gap:5px;background:#d9fdd3;border-radius:12px;padding:16px}.chat-thinking i{width:6px;height:6px;border-radius:50%;background:#52795c;animation:typingPulse 1.2s infinite}.chat-thinking i:nth-child(2){animation-delay:.15s}.chat-thinking i:nth-child(3){animation-delay:.3s}@keyframes typingPulse{0%,80%,100%{opacity:.35;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}.import-pickers{display:flex;gap:10px;flex-wrap:wrap}.import-pickers .upload-label{flex:1;min-width:130px;margin:0;padding:18px}.style-image-grid{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.style-image-grid img{width:55px;height:78px;object-fit:cover;border-radius:8px}.voice-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:16px}.import-card .notice{white-space:pre-wrap;line-height:1.6}.task-models{margin:12px 0;border:1px solid var(--line);padding:12px;border-radius:12px}.task-models summary{cursor:pointer;font-size:12px;font-weight:600}.task-model-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:15px}.task-model-grid .field{margin:0}.task-model-grid input{min-width:0;width:100%}.task-models .micro{font-size:11px;color:var(--muted);line-height:1.5}.conversation-feed .chat-empty .empty-icon{display:none}@media(max-width:600px){.conversation-feed.chat-body{min-height:155px;max-height:360px;padding:14px}.conversation-feed .bubble-row{max-width:94%}.conversation-feed .bubble{font-size:13px}.task-model-grid{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.chat-thinking i{animation:none}.conversation-feed.chat-body{scroll-behavior:auto}}

.style-learning{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted);padding:14px 0}.style-learning .thinking-orb{width:26px;height:26px;font-size:16px}

@media(max-width:700px){
 .bottom-nav{--nav-index:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;isolation:isolate;padding:6px 6px calc(7px + env(safe-area-inset-bottom));align-items:start}
 .bottom-nav::before{content:'';position:absolute;left:6px;top:6px;width:calc((100% - 12px)/4);height:54px;border-radius:15px;background:linear-gradient(125deg,color-mix(in srgb,var(--accent) 23%,var(--panel)),color-mix(in srgb,#d386bb 15%,var(--panel)));border:1px solid color-mix(in srgb,var(--accent) 27%,transparent);box-shadow:0 3px 13px color-mix(in srgb,var(--accent) 13%,transparent),inset 0 -2px 0 color-mix(in srgb,var(--accent) 27%,transparent);transform:translateX(calc(var(--nav-index)*100%));transition:transform .32s cubic-bezier(.22,1,.36,1),opacity .18s ease;pointer-events:none;z-index:0}
 .bottom-nav[data-selected=false]::before{opacity:0}
 .bottom-nav .bottom-item{position:relative;z-index:1;width:100%;min-width:0;min-height:54px;height:54px;padding:5px 3px;border-radius:15px;transition:color .2s ease;font-weight:600}
 .bottom-nav .bottom-item>span:first-child{transition:transform .28s cubic-bezier(.22,1,.36,1),filter .2s ease}
 .bottom-nav .bottom-item.active{color:var(--ink);font-weight:800}
 .bottom-nav .bottom-item.active>span:first-child{transform:translateY(-1px) scale(1.08);filter:saturate(1.25)}
 .bottom-nav .bottom-item.active::after{content:none}
 .bottom-nav .bottom-item:focus-visible{outline:2px solid var(--accent);outline-offset:-3px}
}

.starting-mood{padding:0;margin:22px 0;border:0}.starting-mood legend,.intent-section-label{font-size:12px;font-weight:650;color:var(--ink);margin-bottom:10px}.mood-presets{display:flex;gap:7px;flex-wrap:wrap}.mood-presets .pill-choice{min-height:36px;padding:8px 12px;font-size:11px;border-radius:11px}.mood-presets [aria-pressed=true]{background:var(--soft);border-color:var(--accent);color:var(--ink);box-shadow:0 2px 10px #8162c51a}.intent-section-label span{font-size:10px;font-weight:400;color:var(--muted);margin-left:5px}.starting-mood+.intent-section-label{margin-top:2px}

.editor-topline .switcher{flex:0 0 auto;min-width:max-content}.editor-topline .switcher button{flex:0 0 auto;min-width:max-content;white-space:nowrap;line-height:1.25}.editor-topline .goal-chip{flex:1 1 0;width:0;min-width:0;max-width:none}.editor-topline .goal-chip span{min-width:0}.space-gallery .saved-space strong{overflow-wrap:anywhere}@media(max-width:700px){.editor-topline{gap:8px}.editor-topline .switcher button{padding:8px 10px}}

.conversation-actions{display:grid;gap:10px;margin-top:20px}.conversation-actions button{display:flex;align-items:center;justify-content:center;gap:9px;min-height:46px}.conversation-actions svg{width:20px;height:20px}.modal.small h2{overflow-wrap:anywhere}
.conversation-feed .delivery-ticks{display:block;margin-top:5px;color:#35a9e8;font-size:13px;font-weight:800;line-height:1;letter-spacing:-4px;text-align:right;padding-right:3px;font-family:Arial,sans-serif}
.professional-card{padding:18px}.professional-category-row{display:flex;gap:7px;overflow:auto;padding-bottom:6px;margin:-2px 0 18px}.professional-category-row .category-chip{flex:0 0 auto;min-width:82px}.professional-heading{display:flex;gap:11px;align-items:flex-start;padding:13px;border-radius:14px;background:linear-gradient(135deg,var(--soft),transparent);margin-bottom:16px}.professional-heading>svg{width:25px;height:25px;flex:none}.professional-heading strong,.professional-heading small{display:block}.professional-heading small{font-size:12px;line-height:1.45;color:var(--muted);margin-top:3px}.professional-raw textarea{min-height:150px;resize:vertical}.professional-moods{border:0;margin:17px 0 13px;padding:0}.professional-moods legend{font-size:12px;font-weight:650;color:var(--ink);margin-bottom:9px}.professional-output{margin:16px 0;border:1px solid var(--line);border-radius:14px;background:var(--panel);overflow:hidden}.professional-output-head{display:flex;align-items:center;justify-content:space-between;padding:10px 11px;border-bottom:1px solid var(--line);font-size:12px;font-weight:700}.professional-output-head>span{display:flex;align-items:center;gap:6px}.professional-output-head svg{width:18px;height:18px}.professional-result{white-space:pre-wrap;overflow-wrap:anywhere;padding:15px;line-height:1.65;font-size:14px;color:var(--text)}
