.content-workspace{color:var(--foreground);background:var(--card);font-family:Inter,ui-sans-serif,system-ui,sans-serif}.content-workspace h1,.content-workspace h2,.content-workspace h3,.content-workspace h4{font-family:inherit}.content-workspace button:focus-visible,.content-workspace a:focus-visible,.content-workspace textarea:focus-visible,.content-workspace input:focus-visible{outline-offset:3px;outline:2px solid #737373}.content-rail{border-right:1px solid var(--border);background:color-mix(in oklab, var(--card), var(--muted) 20%);padding:16px 8px;overflow-y:auto}.content-rail button{text-align:left}.content-rail .content-nav{color:#525252;border-radius:8px;width:100%;padding:6px 14px;font-size:13px}.content-rail .content-nav:hover,.content-rail .content-nav[aria-current=page]{background:var(--muted);color:var(--foreground)}.content-document-toolbar{color:#737373;align-items:center;gap:8px;min-height:32px;margin-bottom:20px;font-size:12px;display:flex}.content-document-toolbar button{border-radius:6px;padding:5px 9px}.content-document-toolbar button:hover{background:var(--muted);color:var(--foreground)}.content-document-toolbar button:disabled{opacity:.4}.content-document-input{resize:vertical;width:100%;min-height:220px;font:inherit;background:0 0;border:0;outline:none;padding:0;font-size:15px;line-height:1.85}.content-document-input::placeholder{color:#8a8a8a}.content-prose{overflow-wrap:anywhere;font-size:15px;line-height:1.8}.content-prose>div,.content-prose>p,.content-prose>ul,.content-prose>ol{margin-bottom:20px}.content-prose p{white-space:pre-wrap}.content-prose h2{margin:20px 0 12px;font-size:22px;font-weight:650}.content-prose h3{margin:24px 0 12px;font-size:18px;font-weight:650}.content-prose h4{margin:16px 0 8px;font-size:16px;font-weight:650}.content-prose ul,.content-prose ol{padding-left:24px}.content-prose ul{list-style:outside}.content-prose ol{list-style:decimal}.content-prose li{margin:6px 0;padding-left:3px}.content-prose a{color:#2768b4;text-underline-offset:3px;text-decoration:underline}.content-prose pre{background:var(--muted);border-radius:8px;margin:16px 0;padding:16px;overflow-x:auto}.content-prose code{background:var(--muted);border-radius:4px;padding:2px 4px;font-family:ui-monospace,monospace;font-size:.9em}.content-prose pre code{padding:0}.content-action{background:var(--muted);border-radius:8px;justify-content:center;align-items:center;gap:6px;padding:8px 12px;font-size:13px;font-weight:500;display:inline-flex}.content-action:hover{background:var(--accent)}.content-action:disabled{opacity:.45;cursor:not-allowed}.content-action-primary{color:var(--background);background:var(--foreground)}.content-action-primary:hover{background:#363739}.content-field{border:1px solid var(--border);background:var(--card);border-radius:8px;width:100%;padding:10px 12px;font-size:14px}@media (width<=767px){.content-rail{border-right:0;border-bottom:1px solid var(--border);padding:8px}}.content-prose>p{margin-bottom:20px}.content-workspace textarea[aria-label=Message\ Agent]{field-sizing:content}.content-document-editor{cursor:text;overflow-wrap:anywhere;min-height:80px;padding:4px 0;position:relative}.content-document-editor[data-empty=true]:before{content:attr(data-placeholder);color:#737373;pointer-events:none;font-size:15px;line-height:1.8;position:absolute}.content-document-editor:focus{outline:none}.content-document:focus-within .content-document-toolbar{color:var(--foreground)}.content-document-editor>.content-prose>:first-child{margin-top:0}.app-agent-viewport>.app-setup-guide{max-height:32dvh;overflow-y:auto}.agent-route,.agent-route-body{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex;overflow:hidden}.agent-shell{flex:1;grid-template-columns:256px minmax(0,1fr);min-height:0;display:grid;overflow:hidden}.agent-shell.agent-collapsed{grid-template-columns:64px minmax(0,1fr)}.agent-desktop-sidebar{background:color-mix(in oklab, var(--muted), var(--card) 55%);border-right:1px solid var(--border);flex-direction:column;min-height:0;padding:12px 10px;display:flex}.agent-collapse,.agent-settings-button,.agent-mobile-trigger{width:36px;height:36px;color:var(--muted-foreground);border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.agent-collapse{margin:0 4px 12px}.agent-collapse:hover,.agent-settings-button:hover,.agent-mobile-trigger:hover{background:var(--muted);color:var(--foreground)}.agent-navigation{flex-direction:column;flex:1;gap:4px;min-height:0;display:flex}.agent-nav-row{text-align:left;width:100%;min-width:0;min-height:42px;color:var(--foreground);border-radius:10px;align-items:center;gap:10px;padding:9px 12px;font-size:13px;line-height:20px;display:flex}.agent-nav-row:hover,.agent-nav-row[aria-current=page]{background:var(--muted)}.agent-nav-row:disabled{opacity:.55}.agent-named-row{font-weight:600;position:relative}.agent-avatar{flex-shrink:0;justify-content:center;align-items:center;width:24px;height:24px;display:flex}.agent-unread{background:var(--foreground);min-width:20px;height:20px;color:var(--background);border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;padding:0 5px;font-size:10px;font-weight:600;display:inline-flex}.agent-collapsed .agent-named-row .agent-unread{position:absolute;top:0;right:-3px}.agent-collapsed .agent-nav-row{justify-content:center;padding-inline:0}.agent-search{color:var(--muted-foreground);align-items:center;gap:8px;margin:16px 8px 4px;display:flex}.agent-search input{width:100%;min-width:0;color:var(--foreground);background:0 0;outline:none;padding:6px 0;font-size:12px}.agent-search input::placeholder{color:var(--muted-foreground)}.agent-chat-list{scrollbar-width:thin;flex:1;min-height:0;padding:0 2px 16px;overflow-y:auto}.agent-group-label{color:var(--muted-foreground);margin:20px 12px 6px;font-size:11px;font-weight:500}.agent-chat-row{align-items:center;display:flex;position:relative}.agent-chat-row>.agent-nav-row{padding-right:64px}.agent-pin{width:28px;height:32px;color:var(--muted-foreground);opacity:0;border-radius:8px;justify-content:center;align-items:center;display:inline-flex;position:absolute;right:31px}.agent-chat-row:hover .agent-pin,.agent-chat-row:focus-within .agent-pin,.agent-chat-row:hover .agent-thread-more,.agent-chat-row:focus-within .agent-thread-more{opacity:1}.agent-pin:hover,.agent-thread-more:hover{background:var(--accent);color:var(--foreground)}.agent-thread-more{width:28px;height:32px;color:var(--muted-foreground);opacity:0;border-radius:8px;justify-content:center;align-items:center;display:inline-flex;position:absolute;right:3px}@media (hover:none){.agent-pin,.agent-thread-more{opacity:1}}.agent-nav-empty{color:var(--muted-foreground);padding:12px;font-size:12px;line-height:1.7}.agent-load-more{width:100%;color:var(--muted-foreground);border-radius:8px;margin-top:12px;padding:10px;font-size:12px}.agent-load-more:hover{background:var(--muted)}.agent-load-more:disabled{opacity:.5}.agent-conversation{background:var(--card);flex-direction:column;min-width:0;min-height:0;display:flex;overflow:hidden}.agent-toolbar{min-height:60px;color:var(--muted-foreground);border-bottom:1px solid var(--border);background:var(--card);flex-shrink:0;align-items:center;gap:8px;padding:10px 24px;display:flex}.agent-message-heading{align-items:center;gap:10px;margin-bottom:12px;display:flex}.agent-speaker{color:var(--muted-foreground);font-size:12px;font-weight:600;line-height:1.5;display:block}.agent-message-assistant{min-width:0;max-width:100%;padding:4px 0 12px}.agent-message-user{min-width:0;max-width:85%;margin-left:auto}.agent-message-user>.agent-speaker{text-align:right;margin:0 6px 6px}.agent-user-bubble{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--muted);color:var(--foreground);border-radius:20px 20px 5px;padding:12px 18px;font-size:15px;line-height:1.7}.agent-draft-artifact{border:1px solid var(--border);background:var(--card);border-radius:18px;min-width:0;padding:16px}.agent-draft-artifact .content-action{gap:6px;min-height:36px}.agent-draft-notes{color:var(--muted-foreground);margin-top:12px;font-size:12px;line-height:1.6}.agent-draft-notes>summary{cursor:pointer;width:fit-content;padding:4px 0;font-weight:500}.agent-draft-notes>summary:focus-visible,.agent-rejected-draft>summary:focus-visible{outline:2px solid var(--ring);outline-offset:4px;border-radius:3px}.agent-rejected-draft{border:1px dashed var(--border);color:var(--muted-foreground);border-radius:12px;padding:12px 16px;font-size:13px}.agent-rejected-draft>summary{cursor:pointer}.agent-reject-action{color:var(--muted-foreground)}.agent-reject-action:hover{color:var(--destructive)}@media (width<=640px){.agent-draft-artifact{border-radius:14px;padding:12px}.agent-message-user{max-width:92%}.agent-draft-artifact .content-action{min-height:40px}}.agent-mobile-trigger{display:none}.agent-messages{scrollbar-width:thin;overscroll-behavior-y:contain;flex-direction:column;flex:1;min-height:0;padding:8px 28px 24px;display:flex;overflow:hidden auto}.agent-brain-hint{max-width:768px;color:var(--muted-foreground);margin:0 auto;padding:12px 24px;font-size:12px}.agent-brain-hint p{color:inherit}.agent-brain-hint button{margin-top:8px}.agent-composer-area{background:var(--card);flex-shrink:0;padding:8px 28px 24px}.agent-composer-field{border:1px solid var(--border);background:var(--muted);border-radius:26px;align-items:flex-end;gap:8px;padding:10px 10px 10px 20px;display:flex}.agent-composer-field:focus-within{border-color:var(--muted-foreground)}.agent-send{background:var(--foreground);width:42px;height:42px;color:var(--background);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.agent-send:disabled{opacity:.35;cursor:not-allowed}.agent-settings-dialog{border-radius:20px}.agent-setting-option{cursor:pointer;align-items:flex-start;gap:12px;display:flex}.agent-setting-option input{width:16px;height:16px;accent-color:var(--foreground);flex-shrink:0;margin-top:2px}.agent-setting-option:has(input:disabled){opacity:.6;cursor:default}.agent-setting-label{font-size:13px;font-weight:500;display:block}.agent-setting-description{color:var(--muted-foreground);margin-top:4px;font-size:12px;line-height:1.7;display:block}.agent-settings-section{border-top:1px solid var(--border);padding-top:20px}@media (width<=767px){.agent-shell,.agent-shell.agent-collapsed{grid-template-columns:minmax(0,1fr)}.agent-desktop-sidebar{display:none}.agent-toolbar{min-height:52px;padding:8px 12px}.agent-mobile-trigger{display:inline-flex}.agent-messages{padding:8px 16px 20px}.agent-composer-area{padding:8px 12px max(12px, env(safe-area-inset-bottom))}.agent-mobile-drawer{background:var(--card);border-radius:0;flex-direction:column;width:min(320px,100vw - 40px);height:100dvh;max-height:100dvh;padding:60px 16px 20px;display:flex;top:0;left:0;transform:translate(0,0)}.agent-mobile-drawer .agent-navigation{overflow:hidden}.agent-pin{opacity:1}}@media (prefers-reduced-motion:reduce){.agent-mobile-drawer{animation:none}}.content-workspace.studio-workspace{background:color-mix(in oklab, var(--background), var(--muted) 55%)}.studio-shell{--studio-line:var(--border);gap:clamp(1rem,2vw,1.75rem);width:min(100%,78rem);min-width:0;margin-inline:auto;padding:clamp(1.125rem,3vw,2.75rem) clamp(1rem,3vw,2.5rem) 3.5rem;display:grid}.studio-shell h2,.studio-shell h3{margin:0;font-size:1rem;font-weight:650}.studio-shell h2{font-size:1.15rem;line-height:1.4}.studio-surface{border:1px solid var(--studio-line);background:var(--card);border-radius:1rem;min-width:0;padding:clamp(1rem,2vw,1.5rem)}.studio-welcome,.studio-library-heading,.studio-toolbar,.studio-actions{flex-wrap:wrap;align-items:center;gap:.625rem;display:flex}.studio-welcome,.studio-library-heading,.studio-toolbar{justify-content:space-between}.studio-welcome{gap:1rem 1.5rem;padding:clamp(1.25rem,3vw,2rem)}.studio-welcome h2{letter-spacing:-.035em;font-size:clamp(1.5rem,2.9vw,2rem)}.studio-welcome p,.studio-export p{max-width:47ch;margin-top:.375rem}.studio-toolbar .content-action,.studio-actions .content-action{align-items:center;gap:.42rem;min-height:2.25rem;display:inline-flex}.studio-library{grid-template-columns:minmax(0,1fr) minmax(14rem,17rem);align-items:start;gap:clamp(1rem,2vw,1.75rem);display:grid}.studio-library-main,.studio-library-side{align-content:start;gap:1rem;min-width:0;display:grid}.studio-library-heading{gap:.75rem}.studio-switch{border:1px solid var(--studio-line);background:var(--card);border-radius:.75rem;gap:.25rem;padding:.25rem;display:flex}.studio-switch button{min-height:2.25rem;color:var(--muted-foreground);border-radius:.5rem;justify-content:center;align-items:center;gap:.4rem;padding:.35rem .75rem;font-size:.875rem;font-weight:600;display:inline-flex}.studio-switch button:hover{background:var(--muted);color:var(--foreground)}.studio-switch button[aria-pressed=true]{color:var(--primary-foreground);background:var(--primary)}.studio-starters{grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr));gap:clamp(.75rem,1.6vw,1.25rem);display:grid}.studio-starter{border:1px solid var(--studio-line);background:var(--card);text-align:left;border-radius:1rem;align-content:start;gap:.9rem;min-width:0;padding:.75rem;transition:border-color .15s,box-shadow .15s;display:grid}.studio-starter:hover{border-color:var(--primary);box-shadow:0 8px 22px color-mix(in oklab, var(--foreground) 7%, transparent)}.studio-starter-copy{gap:.3rem;padding:0 .25rem .25rem;display:grid}.studio-starter strong{font-size:.9rem;line-height:1.4}.studio-muted{color:var(--muted-foreground);font-size:.875rem;line-height:1.5}.studio-starter-art{background:color-mix(in oklab, var(--primary) 8%, var(--muted));border-radius:.6rem;justify-content:center;align-items:center;height:6rem;padding-inline:.65rem;display:flex;overflow:hidden}.studio-starter-art i{aspect-ratio:4/5;background:color-mix(in oklab, var(--primary) 20%, var(--card));border:1px solid color-mix(in oklab, var(--primary) 32%, var(--border));width:min(22%,3.2rem);box-shadow:0 3px 8px color-mix(in oklab, var(--primary) 15%, transparent);border-radius:.28rem;transform:rotate(-12deg)translate(.2rem)}.studio-starter-art i:nth-child(2){z-index:1;background:color-mix(in oklab, var(--primary) 45%, var(--card));transform:translateY(-.25rem)}.studio-starter-art i:last-child{transform:rotate(12deg)translate(-.2rem)}.studio-starter-art[data-style="1"] i:nth-child(2){transform:scale(1.18)translateY(.15rem)}.studio-starter-art[data-style="2"] i:first-child{transform:rotate(-8deg)translate(-.12rem)}.studio-starter-art[data-format=reel] i{aspect-ratio:3/5;width:min(18%,2.6rem)}.studio-saved{gap:.8rem;scroll-margin-top:7rem;display:grid}.studio-saved ul{margin:0;padding:0;list-style:none}.studio-saved li{justify-content:space-between;gap:.55rem;padding-block:.45rem;display:flex}.studio-saved li+li{border-top:1px solid var(--studio-line)}.studio-saved-empty{border:1px dashed var(--studio-line);border-radius:.75rem;justify-items:start;gap:.625rem;padding:.875rem;display:grid}.studio-saved-empty svg{color:var(--primary)}.studio-project-title{text-align:left;justify-content:space-between;align-items:center;gap:.5rem;width:100%;min-width:0;min-height:2.25rem;padding:.25rem 0;font-size:.875rem;display:flex}.studio-project-title span{overflow-wrap:anywhere}.studio-project-title svg{flex-shrink:0}.studio-project-title:hover,.studio-source:hover{text-decoration:underline}.studio-editor{border:0;min-width:0;padding:0}.studio-editor-grid{grid-template-columns:minmax(0,1.15fr) minmax(16.5rem,1fr);align-items:start;gap:clamp(1rem,3vw,1.75rem);display:grid}.studio-preview-column,.studio-inspector,.studio-avatar{gap:.75rem;min-width:0;display:grid}.studio-inspector,.studio-avatar,.studio-brand,.studio-preset-form{border:1px solid var(--studio-line);background:var(--card);border-radius:.9rem;padding:clamp(.875rem,2vw,1.25rem)}.studio-brand{gap:.75rem;display:grid}.studio-brand-colors{flex-wrap:wrap;align-items:end;gap:.75rem;display:flex}.studio-preview{border:1px solid var(--studio-line);background-color:var(--muted);border-radius:.9rem;place-items:center;width:100%;min-height:19rem;padding:.9rem;display:grid;overflow:hidden}.studio-preview p{text-align:center;max-width:19rem;color:var(--muted-foreground);padding:.75rem}.studio-preview img,.studio-preview canvas{max-width:100%;height:auto;display:block;box-shadow:0 6px 28px #0d10202c}.studio-carousel-preview img{aspect-ratio:4/5;width:min(100%,275px)}.studio-reel-preview canvas{aspect-ratio:9/16;width:min(100%,224px)}.studio-timeline{align-items:center;gap:.48rem;padding:0 0 .46rem;display:flex;overflow-x:auto}.studio-timeline>*{flex:none}.studio-timeline-card{text-align:left;border:1px solid var(--studio-line);border-radius:.55rem;gap:.18rem;width:7rem;padding:.48rem;display:grid}.studio-timeline-card span{color:var(--muted-foreground);font-size:.72rem}.studio-timeline-card strong{white-space:nowrap;text-overflow:ellipsis;font-size:.79rem;overflow:hidden}.studio-timeline-card[aria-pressed=true]{border-color:var(--primary);background-color:var(--accent)}.studio-timeline>.content-action{white-space:nowrap;align-items:center;gap:.25rem;display:inline-flex}.studio-label{gap:.28rem;min-width:0;display:grid}.studio-label span,.studio-check{font-size:.79rem;font-weight:600}.studio-field{width:100%;min-width:0}.studio-label input[type=color]{width:4rem;min-height:2.3rem;padding:.22rem}.studio-dual{grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem;display:grid}.studio-check{align-items:center;gap:.35rem;display:flex}.studio-upload{cursor:pointer;position:relative}.studio-upload input{opacity:0;cursor:pointer;width:100%;position:absolute;inset:0}.studio-upload:focus-within{outline:2px solid var(--primary);outline-offset:2px}.studio-order .content-action{padding-inline:.55rem}.studio-avatar .studio-actions{align-items:end}.studio-segment{border-top:1px solid var(--studio-line);gap:.4rem;padding-top:.7rem;display:grid}.studio-source{align-items:center;gap:.3rem;width:fit-content;font-size:.8rem;display:inline-flex}.studio-message{border:1px solid var(--studio-line);border-radius:.5rem;margin:0;padding:.65rem .8rem;font-size:.87rem}.studio-error,.studio-delete{color:var(--destructive)}.studio-export{justify-content:flex-start;align-items:start;gap:1rem}.studio-export-intro{flex-basis:100%}@media (width<=900px){.studio-library{grid-template-columns:minmax(0,1fr)}}@media (width<=700px){.studio-editor-grid{grid-template-columns:1fr}.studio-starters{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-top{align-items:start}}@media (width<=330px){.studio-starters{grid-template-columns:1fr}}.studio-generation{margin-bottom:1rem}
