@font-face{font-family:Pretendard;src:url('./assets/PretendardVariable.woff2') format('woff2');font-weight:100 900;font-display:swap}
@font-face{font-family:Archivo Black;src:url('./assets/ArchivoBlack-Regular.woff2') format('woff2');font-weight:400;font-display:swap}
:root{color-scheme:dark;--bg:#0b0b0d;--sidebar:#111113;--surface:#171719;--field:#202024;--line:#303036;--text:#fafafa;--muted:#b4b4bf;--soft:#92929e;--accent:#6e60ee;--accent-text:#b9b1ff;--active:#211d37;--danger:#f2a4ad;--radius:12px;--font:Pretendard,'Noto Sans KR',sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:14px/1.5 var(--font);font-synthesis:none}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{color:inherit;cursor:pointer}a{color:inherit;text-underline-offset:4px}button{border:0;background:none}button:disabled{cursor:not-allowed;opacity:.45}button,select,a{touch-action:manipulation}button:not(:disabled),a{transition:background-color .16s,color .16s,border-color .16s}input,select,textarea{color:var(--text);background:var(--field);border:1px solid var(--line);border-radius:8px;width:100%;outline:none;caret-color:var(--accent-text)}input,select{height:44px;padding:0 12px}textarea{padding:12px 14px;resize:vertical;line-height:1.7;min-height:90px}input::placeholder,textarea::placeholder{color:var(--soft);opacity:1}input:focus,select:focus,textarea:focus{border-color:var(--accent-text)}:focus-visible{outline:2px solid var(--accent-text);outline-offset:4px}::selection{background:#504393;color:white}::-webkit-scrollbar{width:7px;height:7px}::-webkit-scrollbar-thumb{background:#3c3c44;border-radius:8px}::-webkit-scrollbar-track{background:transparent}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.3;letter-spacing:-.025em}svg{flex-shrink:0}img{display:block;max-width:100%}strong{font-weight:600}p{word-break:keep-all}button span{pointer-events:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;z-index:100;top:-60px;left:16px;background:var(--accent);padding:12px 18px;border-radius:8px}.skip-link:focus{top:12px}.boot-state{min-height:100vh;display:grid;place-items:center;color:var(--muted)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:10px 16px;border:1px solid var(--line);background:#252528;border-radius:8px;font-size:13px;font-weight:600;line-height:1.4;white-space:nowrap}.btn:hover:not(:disabled){background:#323238;border-color:#45454f}.btn-primary{background:var(--accent);border-color:var(--accent);color:white}.btn-primary:hover:not(:disabled){background:#6252df;border-color:#6252df}.btn-quiet{background:transparent}.btn-small{min-height:36px;padding:8px 12px}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:12px;color:var(--muted);padding:5px 0;white-space:nowrap}.text-button:hover{color:var(--text)}.icon-button{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:7px;color:var(--muted);flex-shrink:0}.icon-button:hover{background:#29292f;color:var(--text)}.badge{display:inline-flex;align-items:center;justify-content:center;background:#25252b;color:#c7c7d0;border:1px solid #38383f;border-radius:5px;padding:3px 7px;line-height:1.4;font-size:12px;font-weight:500;white-space:nowrap}.badge.available{color:#b6d8c7;background:#1b2a24;border-color:#33463d}.required{color:var(--accent-text)}
.sidebar{position:fixed;inset:0 auto 0 0;width:224px;background:var(--sidebar);border-right:1px solid #252529;display:flex;flex-direction:column;padding:28px 16px 16px;z-index:30}.wordmark{display:flex;align-items:center;gap:10px;text-decoration:none;font-size:23px;font-weight:750;letter-spacing:-.04em;padding:0 8px;margin-bottom:31px}.wordmark-ai{font-size:12px;font-weight:500;letter-spacing:.03em;margin-left:6px;color:#aaa6bb;vertical-align:middle}.logo-mark{color:var(--accent-text);display:flex}.brand-select-box{display:flex;align-items:center;position:relative;gap:8px;border:1px solid var(--line);border-radius:9px;padding:8px 9px;background:#1a1a1e}.brand-select-box select{appearance:none;border:0;background:transparent;font-size:12px;font-weight:650;padding:0 20px 0 0;height:28px;min-width:0}.brand-select-box>svg{position:absolute;right:11px;pointer-events:none;color:var(--muted)}.brand-avatar{width:36px;height:36px;display:grid;place-items:center;background:#29243f;color:#d0c8ff;border:1px solid #443968;border-radius:9px;font-size:12px;font-weight:650;flex-shrink:0}.brand-avatar.small{width:26px;height:26px;font-size:12px;border-radius:6px}.brand-avatar.large{width:52px;height:52px;border-radius:12px;font-size:17px}.add-brand-link{display:flex;align-items:center;gap:6px;margin:8px 4px 28px;color:#aaa8b9;font-size:12px;padding:3px}.add-brand-link:hover{color:var(--accent-text)}.nav-list{display:flex;flex-direction:column;gap:6px}.nav-item{display:flex;align-items:center;gap:11px;padding:12px 11px;border-radius:7px;width:100%;color:#aaaab4;text-align:left;font-size:12px;font-weight:500;min-height:43px}.nav-item:hover{background:#1c1c21;color:white}.nav-item.active{color:#c5bdff;background:var(--active)}.nav-mini{margin-left:auto;font-size:12px;border:1px solid #46424f;color:#bbb5d6;border-radius:4px;padding:1px 4px;line-height:1.35}.nav-divider{height:1px;background:#29292e;margin:15px 8px}.sidebar-bottom{margin-top:auto;padding-top:40px}.workspace-status{display:flex;gap:9px;align-items:flex-start;padding:10px 8px 21px}.status-dot{width:5px;height:5px;border-radius:50%;background:#b9b1ff;margin-top:6px;flex-shrink:0}.workspace-status strong{display:block;color:#cbcbd4;font-size:12px;font-weight:500}.workspace-status span:not(.status-dot){display:block;color:#9696a4;font-size:12px;margin-top:3px}.storage-note{border-top:1px solid #28282e;border-bottom:1px solid #28282e;display:flex;gap:7px;width:100%;align-items:center;padding:14px 8px;font-size:12px;color:#a2a2af}.storage-note>svg:last-child{margin-left:auto}.storage-note:hover{color:white}.profile-button{display:flex;gap:9px;align-items:center;width:100%;padding:16px 5px 0;text-align:left}.profile-avatar{width:30px;height:30px;display:grid;place-items:center;background:#303038;color:#dad9e4;font-size:12px;border-radius:50%}.profile-button strong{font-size:12px;display:block;font-weight:500}.profile-button small{font-size:12px;color:var(--soft);display:block;margin-top:2px}.profile-button>svg{margin-left:auto;color:var(--soft)}.app-body{margin-left:224px;min-height:100vh}.topbar{height:68px;border-bottom:1px solid #242428;display:flex;justify-content:space-between;align-items:center;padding:0 36px}.breadcrumb{display:flex;align-items:center;gap:13px;font-size:12px}.breadcrumb>span{color:#92929f}.breadcrumb>svg{color:#686875}.breadcrumb strong{font-weight:500;color:#d6d6e0}.topbar-actions{display:flex;align-items:center;gap:20px}.connection-badge{display:flex;align-items:center;gap:7px;font-size:12px;color:#c4c0d1;border:1px solid #35313f;padding:6px 10px;border-radius:6px}.connection-badge>span{width:4px;height:4px;background:#ba9e73;border-radius:50%}.connection-badge:hover{background:var(--surface)}.mobile-toggle{display:none}main{outline:none}.home-content,.page-content,.brand-content,.workspace-content{max-width:1510px;margin:auto;padding:38px 36px 48px}.home-intro{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px}.home-intro h1{font-family:'Archivo Black',Pretendard,sans-serif;font-size:41px;font-weight:400;letter-spacing:-.03em;line-height:1.2}.home-intro p{color:#b5b4c2;font-size:13px;margin-top:11px}.workspace-pill{display:flex;align-items:center;gap:7px;color:#bebacb;border:1px solid var(--line);border-radius:6px;padding:6px 9px;font-size:12px;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.home-composer{background:#171719;border:1px solid #3d374b;border-radius:12px;overflow:hidden;margin-bottom:28px}.home-composer textarea{background:transparent;border:0;resize:vertical;min-height:80px;height:82px;padding:20px 20px 6px;font-size:13px}.home-composer:focus-within{border-color:#8f80d7}.home-composer textarea:focus{outline:none}.composer-bottom{display:flex;align-items:center;justify-content:space-between;padding:0 15px 14px;gap:12px}.composer-bottom>span{display:flex;align-items:center;gap:7px;color:#a6a0b5;font-size:12px;padding-left:4px}.composer-bottom .btn{font-size:12px;min-height:36px;padding:8px 12px}.creation-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.creation-card{text-align:left;display:block;padding:0;min-width:0}.creation-visual{aspect-ratio:1.32;position:relative;background:#25252c;overflow:hidden;border-radius:11px}.creation-visual img{width:100%;height:100%;object-fit:cover;transition:transform .4s cubic-bezier(.16,1,.3,1)}.creation-card:hover img{transform:scale(1.04)}.sample-label{position:absolute;left:10px;bottom:9px;font-size:12px;color:white;background:#0009;border-radius:4px;padding:3px 6px}.creation-open{position:absolute;top:10px;right:10px;width:28px;height:28px;display:grid;place-items:center;background:#09090b85;color:white;border:1px solid #ffffff2a;border-radius:50%;transition:background-color .16s}.creation-card:hover .creation-open{background:var(--accent);border-color:var(--accent)}.creation-copy{padding:13px 1px 0}.creation-copy h2{font-size:13px;display:flex;gap:7px;align-items:center;font-weight:650;letter-spacing:-.02em}.creation-copy h2 svg{color:#c0b9d7}.creation-copy p{font-size:12px;color:#9e9eac;margin-top:6px;line-height:1.5}.brand-nudge{display:flex;align-items:center;gap:14px;border:1px solid #302b3f;background:#18151f;border-radius:10px;padding:17px 18px;margin-top:32px}.brand-nudge-icon{color:var(--accent-text);display:flex}.brand-nudge h2{font-size:12px;font-weight:600}.brand-nudge p{font-size:12px;color:#a9a4b7;margin-top:4px}.brand-nudge .text-button{margin-left:auto;color:#c4baf6;font-size:12px}.templates-section,.recent-section{margin-top:32px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.section-heading h2{font-size:15px;font-weight:650}.section-heading>span{font-size:12px;color:#9999a7}.section-heading .text-button{font-size:12px}.template-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.template-button{display:flex;align-items:center;gap:9px;padding:14px 13px;border:1px solid #2b2b32;border-radius:8px;font-size:12px;color:#cac8d3;text-align:left;background:#141416}.template-button>svg:first-child{color:#aaa1c4}.template-button>svg:last-child{margin-left:auto;color:#86808f}.template-button:hover{background:#232029;border-color:#4c415c}.recent-empty{display:flex;align-items:center;gap:14px;padding:24px 20px;border:1px dashed #32323a;border-radius:10px;color:#a8a5b6}.recent-empty>svg{color:#888293}.recent-empty strong{font-size:12px;font-weight:500;color:#c8c5d4}.recent-empty p{font-size:12px;margin-top:4px;color:#9996a6}.recent-empty .text-button{margin-left:auto;font-size:12px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.page-heading h1{font-size:28px;font-weight:700}.page-heading p{font-size:12px;color:var(--muted);margin-top:8px;line-height:1.6}.page-heading .btn{font-size:12px}.empty-state{min-height:320px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:36px 24px}.empty-icon{width:74px;height:74px;background:#1d1b24;border:1px solid #302b3c;display:grid;place-items:center;border-radius:18px;color:#9c90bd;margin-bottom:20px}.empty-state h3{font-size:16px;font-weight:550;color:#d8d4e1}.empty-state p{font-size:12px;color:#9692a4;margin:10px 0 0;max-width:400px;line-height:1.75}.empty-state>.btn{margin-top:22px}.editor-layout{display:grid;grid-template-columns:248px minmax(0,1fr);border:1px solid #2a2a31;border-radius:12px;overflow:hidden;min-height:640px}.editor-settings{padding:22px 20px;background:#151517;border-right:1px solid #2a2a31}.settings-title{display:flex;justify-content:space-between;align-items:center;color:#aaa5b7;margin-bottom:24px}.settings-title h2{font-size:12px;color:#e8e5ee;font-weight:600}.field{margin-bottom:20px}.field>label{display:block;font-size:12px;font-weight:550;color:#d3d0de;margin-bottom:8px}.field select,.field input{font-size:12px;background:#202024}.field textarea{font-size:12px}.upload-zone{border:1px dashed #45404e;background:#1a191f;border-radius:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:118px;width:100%;padding:18px 10px;color:#aaa2b9}.upload-zone strong{font-size:12px;color:#ccc6d8;margin:8px 0 3px}.upload-zone span{font-size:12px;color:#9790a4}.upload-zone:hover{background:#25212f;border-color:#8d7eb1}.brand-context{border-top:1px solid #2b2933;padding-top:18px;margin-top:24px}.brand-context>div{display:flex;gap:7px;align-items:center;color:#bbb2d0;font-size:12px}.brand-context p{font-size:12px;color:#9791a3;margin:8px 0 4px}.brand-context .text-button{font-size:12px;color:#b9aadb}.model-connection{display:flex;align-items:center;justify-content:space-between;width:100%;padding:17px 0 0;margin-top:18px;border-top:1px solid #2b2933;font-size:12px;color:#aaa3b8}.model-connection span{display:flex;gap:5px;align-items:center}.editor-main{min-width:0;display:flex;flex-direction:column}.stage-toolbar{display:flex;align-items:center;gap:10px;padding:16px 20px;border-bottom:1px solid #25252b;font-size:12px;color:#a5a1b2}.stage-toolbar .text-button{margin-left:auto;font-size:12px}.result-stage{min-height:370px;display:grid;place-items:center;background:#101012;flex:1}.result-stage .empty-state{min-height:340px}.stage-aspect{margin-top:18px;color:#aca4bb;font-size:12px;padding:4px 8px;border:1px solid #36303e;border-radius:5px}.work-composer{background:#19181e;border-top:1px solid #302b38;padding:18px 20px}.composer-label{display:flex;justify-content:space-between;gap:10px;margin-bottom:11px}.composer-label label{font-size:12px;font-weight:550}.composer-label>span{font-size:12px;color:#918b9d}.work-composer textarea{background:#201e26;border-color:#37313f;min-height:102px;font-size:12px}.work-composer-footer{display:flex;align-items:center;justify-content:space-between;margin-top:12px;gap:12px}.work-composer-footer .text-button{font-size:12px}.work-composer-footer .btn{font-size:12px;min-width:110px}.reference-list{margin-top:8px;display:flex;flex-direction:column;gap:5px}.reference-item{display:flex;align-items:center;gap:7px;min-width:0;font-size:12px;color:#b8b2c6;border:1px solid #332d3c;background:#211d28;border-radius:5px;padding:4px}.reference-item img{width:25px;height:25px;object-fit:cover;border-radius:3px}.reference-item>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.reference-item .icon-button{width:22px;height:25px}.library-toolbar{display:flex;align-items:center;gap:12px;margin-bottom:24px;padding-bottom:24px;border-bottom:1px solid #28282e}.search-field{display:flex;align-items:center;position:relative;width:320px}.search-field>svg{position:absolute;left:12px;color:#9992a8}.search-field input{padding-left:38px;background:#19191e;font-size:12px}.library-toolbar>select{width:140px;background:#19191e;font-size:12px}.result-count{font-size:12px;color:#9993a6;margin-left:auto;white-space:nowrap}.draft-list{border-top:1px solid #303038}.draft-row{display:flex;align-items:center;gap:15px;padding:18px 12px;border-bottom:1px solid #28282f;min-width:0}.draft-type-icon{width:44px;height:44px;display:grid;place-items:center;background:#262131;color:#bbaed5;border-radius:8px;flex-shrink:0}.draft-open{min-width:0;flex:1;text-align:left;padding:0}.draft-open strong{font-size:12px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.draft-open>span{display:block;color:#9992a8;font-size:12px;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.draft-open:hover strong{color:#c9bcfa}.draft-meta{font-size:12px;color:#bbb3cc;text-align:right}.draft-meta small{display:block;color:#9b93a9;font-size:12px;margin-top:4px}.draft-row .badge{font-size:12px}.page-footnote{display:flex;align-items:center;justify-content:center;gap:7px;border-top:1px solid #25252d;padding-top:22px;margin-top:32px;font-size:12px;color:#948d9f;line-height:1.7}.brand-workspace{display:grid;grid-template-columns:200px minmax(0,1fr);gap:28px}.brand-list{padding-top:6px}.brand-list h2{font-size:12px;font-weight:500;color:#a8a1b5;padding:0 10px;margin-bottom:15px}.brand-list h2>span{color:#d3c6e8;margin-left:5px}.brand-list-item{display:flex;align-items:center;gap:9px;width:100%;padding:10px;text-align:left;border:1px solid transparent;border-radius:9px;margin-bottom:6px}.brand-list-item>span:nth-child(2){min-width:0;flex:1}.brand-list-item strong{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.brand-list-item small{display:block;font-size:12px;color:#9e96ac;margin-top:3px}.brand-list-item>svg{color:var(--accent-text)}.brand-list-item.selected{background:#201b2c;border-color:#3d3154}.brand-list-item:hover{background:#211d29}.brand-list-add{display:flex;align-items:center;gap:7px;padding:15px 12px;font-size:12px;color:#b7a7ce}.brand-list-add:hover{color:white}.archived-brands{border-top:1px solid #302936;padding:15px 10px;margin-top:18px;font-size:12px;color:#b2a8c1}.archived-brands summary{cursor:pointer}.archived-brands>div{display:flex;align-items:center;justify-content:space-between;margin-top:7px}.brand-detail{border:1px solid #2f2b36;border-radius:12px;background:#141316;overflow:hidden;min-width:0}.brand-detail-header{display:flex;gap:14px;align-items:center;padding:26px}.brand-detail-header h2{font-size:22px;font-weight:650;overflow-wrap:anywhere}.brand-detail-header p{font-size:12px;color:#a49bab;margin-top:6px;display:flex;align-items:center;gap:8px}.brand-detail-header p>span{color:#665e72}.brand-tabs{display:flex;align-items:center;gap:21px;padding:0 26px;border-bottom:1px solid #302a38;overflow-x:auto;scrollbar-width:thin}.brand-tabs>button{font-size:12px;font-weight:550;color:#a59aad;padding:0 0 15px;white-space:nowrap;border-bottom:2px solid transparent}.brand-tabs>button.active{border-color:var(--accent-text);color:#d2c4f5}.brand-tabs>button:hover{color:white}.brand-tab-content{padding:27px;min-height:480px}.tab-heading{margin-bottom:25px}.tab-heading h3{font-size:16px;font-weight:600}.tab-heading p{font-size:12px;color:#a79aaf;line-height:1.8;margin-top:7px}.tab-heading.split{display:flex;align-items:center;justify-content:space-between;gap:18px}.brand-form{max-width:650px}.form-columns{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-top:8px}.form-footer>span{font-size:12px;color:#a59aac}.form-footer>.btn{font-size:12px}.section-rule{height:1px;background:#302936;margin:30px 0 25px}.brand-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.brand-summary>div{display:flex;flex-direction:column;gap:8px}.brand-summary span{font-size:12px;color:#a79bad}.brand-summary strong{font-size:19px;font-weight:600;font-variant-numeric:tabular-nums}.brand-summary small{font-size:12px;font-weight:400;color:#aa9fb2;margin-left:4px}.brand-summary .text-small{font-size:12px;line-height:26px;font-weight:500;color:#c1b3cc}.archive-section{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid #302936;margin-top:28px;padding-top:25px}.archive-section h3{font-size:12px;font-weight:550}.archive-section p{font-size:12px;color:#a397ab;margin-top:5px;line-height:1.7}.archive-section .btn{font-size:12px;min-height:32px;padding:7px 12px}.data-upload-zone{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;min-height:175px;border:1px dashed #51415d;border-radius:10px;background:#1c1723;color:#bdacd1;padding:24px}.data-upload-zone strong{font-size:13px;font-weight:550;color:#dfd2ec;margin:10px 0 5px}.data-upload-zone>span{font-size:12px;color:#b19ebf}.data-upload-zone>small{font-size:12px;color:#9e8eac;margin-top:11px}.data-upload-zone:hover{background:#282030;border-color:#9c7fc1}.learning-status{display:flex;align-items:center;justify-content:center;gap:16px;padding:23px 0;color:#7c708a;font-size:12px}.learning-step{display:flex;align-items:center;gap:6px;color:#a096aa}.learning-step.active{color:#cebbec}.inline-note{display:flex;align-items:flex-start;gap:8px;background:#201c27;padding:13px;border-radius:7px;color:#b5a7c5}.inline-note>svg{margin-top:2px}.inline-note p{font-size:12px;line-height:1.8;flex:1}.inline-note .text-button{font-size:12px;color:#c7b6e0;padding-top:1px}.resource-heading{display:flex;align-items:center;justify-content:space-between;margin:28px 0 11px}.resource-heading h3{font-size:12px;font-weight:550}.resource-heading h3>span{color:#bfabda;margin-left:5px}.resource-heading>span{font-size:12px;color:#a192b0}.resource-row{display:flex;gap:10px;align-items:center;padding:15px 0;border-top:1px solid #332939;min-width:0}.resource-icon{width:33px;height:33px;display:grid;place-items:center;background:#271e31;border-radius:6px;color:#bca7d1;flex-shrink:0}.resource-copy{min-width:0;flex:1}.resource-copy strong{display:block;font-size:12px;overflow-wrap:anywhere}.resource-copy>span{font-size:12px;color:#a28db3;display:block;margin-top:4px}.resource-copy details{font-size:12px;color:#c0a9d2;margin-top:6px}.resource-copy summary{cursor:pointer}.resource-copy details p{font-size:12px;line-height:1.8;white-space:pre-wrap;margin-top:8px;overflow-wrap:anywhere;word-break:break-word}.resource-row>.badge{font-size:12px}.resource-row>.icon-button{width:26px;height:28px}.no-resources{font-size:12px;color:#a091ab;padding:28px 0 4px;text-align:center}.persona-form{max-width:660px}.persona-form .field{margin-bottom:22px}.activity-list{list-style:none;padding:0;margin:0}.activity-list li{display:flex;gap:13px;padding:17px 0;border-bottom:1px solid #2f2736}.activity-dot{width:6px;height:6px;border-radius:50%;background:#b4a0cc;margin-top:6px}.activity-list strong{font-size:12px;font-weight:500}.activity-list time{display:block;font-size:12px;color:#9f8ead;margin-top:6px}.nav-backdrop{display:none}dialog{background:#18151e;color:var(--text);width:min(530px,calc(100% - 32px));padding:28px;border:1px solid #44354e;border-radius:14px;max-height:calc(100dvh - 48px);box-shadow:none}dialog::backdrop{background:#000b}.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:26px}.dialog-heading h2{font-size:21px;font-weight:650}.dialog-heading p{font-size:12px;color:#b7a6c6;line-height:1.7;margin-top:8px}.dialog-heading .icon-button{margin-top:-5px;margin-right:-7px}.dialog-footer{display:flex;align-items:center;justify-content:flex-end;gap:9px;margin-top:26px}.dialog-footer .btn{font-size:12px}.dialog-note{font-size:12px;color:#ad9abb;line-height:1.7}.connection-list>div{display:flex;align-items:center;gap:12px;padding:15px 0;border-top:1px solid #352b3d}.connection-list>div>svg{color:#b6a2ce}.connection-list>div>span:nth-child(2){flex:1}.connection-list strong{display:block;font-size:12px;font-weight:550}.connection-list small{display:block;font-size:12px;color:#a895b7;margin-top:5px}.connection-list .badge{font-size:12px}.connection-note{background:#241e2c;border-radius:8px;padding:15px;display:flex;align-items:flex-start;gap:9px;color:#c1accf;margin-top:18px}.connection-note svg{margin-top:2px}.connection-note p{font-size:12px;line-height:1.9}.form-error{margin:10px 0;font-size:12px;color:#f0a7b5;line-height:1.7}#toast{position:fixed;bottom:25px;left:calc(50% + 112px);transform:translateX(-50%);padding:0;max-width:min(90vw,480px);background:#30283c;color:#f4ecff;border-radius:9px;box-shadow:0 8px 30px #0006;font-size:12px;z-index:100;pointer-events:none;line-height:1.7}#toast:not(:empty){padding:12px 20px}.storage-error{padding:16px;color:#ffd6dd;background:#422633;font-size:12px;line-height:1.7}
@media(min-width:1600px){.home-content,.page-content,.brand-content,.workspace-content{padding-left:48px;padding-right:48px}.home-intro h1{font-size:47px}.creation-visual{aspect-ratio:1.45}.creation-copy h2{font-size:15px}.creation-copy p{font-size:12px}.topbar{padding-left:48px;padding-right:48px}}
@media(max-width:1150px){.sidebar{width:204px;padding-left:13px;padding-right:13px}.app-body{margin-left:204px}.home-content,.page-content,.brand-content,.workspace-content{padding:28px 25px 40px}.topbar{padding:0 25px}.creation-grid{gap:11px}.creation-copy p{font-size:12px}.creation-copy h2{font-size:12px}.creation-copy h2 svg{width:16px}.brand-workspace{grid-template-columns:165px minmax(0,1fr);gap:18px}.brand-tab-content{padding:23px}.brand-tabs{gap:17px;padding:0 23px}.editor-layout{grid-template-columns:220px minmax(0,1fr)}.editor-settings{padding:20px 16px}.home-intro h1{font-size:35px}.template-button{font-size:12px;padding:12px 10px;gap:6px}#toast{left:calc(50% + 102px)}}
@media(max-width:950px){.creation-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 14px}.creation-visual{aspect-ratio:1.8}.creation-copy p{font-size:12px}.creation-copy h2{font-size:13px}.template-row{grid-template-columns:repeat(2,minmax(0,1fr))}.brand-nudge{gap:12px}.brand-nudge .text-button{font-size:12px}.brand-nudge p{max-width:310px}.brand-workspace{display:block}.brand-list{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin-bottom:20px}.brand-list>h2{width:100%;margin:0 0 4px;padding-left:0}.brand-list-item{width:auto;min-width:120px;max-width:220px;margin-bottom:0;padding:8px 10px}.brand-list-item .brand-avatar{width:29px;height:29px}.brand-list-item small{display:none}.brand-list-item strong{font-size:12px}.brand-list-add{padding:10px;font-size:12px}.archived-brands{width:100%;padding:10px 0;margin-top:6px}.brand-detail-header{padding:23px}.brand-tab-content{padding:23px}.editor-layout{grid-template-columns:190px minmax(0,1fr)}.editor-settings{padding:18px 13px}.page-heading h1{font-size:24px}.page-heading p{font-size:12px}.work-composer{padding:16px}.stage-toolbar{padding:15px}.result-stage .empty-state{padding:30px 16px}.empty-state h3{font-size:14px}.empty-state p{font-size:12px}.work-composer-footer{align-items:flex-start;flex-direction:column}.work-composer-footer .btn{align-self:flex-end}.home-intro h1{font-size:31px}.workspace-pill{display:none}.page-heading .btn{font-size:12px;padding:9px 12px}.section-heading>span{display:none}}
@media(max-width:760px){.sidebar{transform:translateX(-100%);width:224px;transition:transform .22s cubic-bezier(.16,1,.3,1)}.sidebar.is-open{transform:translateX(0)}.nav-backdrop{display:block;position:fixed;inset:0;background:#0009;z-index:25}.app-body{margin-left:0}.mobile-toggle{display:inline-flex}.topbar{height:60px;padding:0 18px}.breadcrumb{gap:9px}.topbar-actions{gap:8px}.home-content,.page-content,.brand-content,.workspace-content{padding:28px 20px 36px}.home-intro h1{font-size:34px}.home-intro p{font-size:12px}.home-composer{margin-bottom:23px}.creation-grid{gap:20px 13px}.creation-visual{aspect-ratio:1.55}.creation-copy p{font-size:12px}.home-intro{margin-bottom:22px}.brand-nudge{padding:15px;margin-top:27px;flex-wrap:wrap}.brand-nudge>div{flex:1;min-width:180px}.brand-nudge p{max-width:none}.brand-nudge .text-button{margin-left:35px;padding:0}.templates-section,.recent-section{margin-top:27px}.recent-empty{padding:20px 15px;gap:12px;flex-wrap:wrap}.recent-empty>div{flex:1}.recent-empty .text-button{width:100%;margin:2px 0 0;justify-content:flex-start;padding-left:37px}.editor-layout{grid-template-columns:200px minmax(0,1fr)}.page-heading{gap:10px;align-items:flex-start;margin-bottom:23px}.page-heading h1{font-size:25px}.page-heading p{max-width:410px}.page-heading .btn{flex-shrink:0;margin-top:2px}.brand-workspace{gap:0}#toast{left:50%}.library-toolbar{flex-wrap:wrap}.search-field{flex:1;min-width:200px}.library-toolbar>select{width:120px}.result-count{width:100%;margin:0}.draft-row{gap:10px;padding:16px 0}.draft-meta{display:none}.draft-open>span{font-size:12px}.page-footnote{align-items:flex-start;font-size:12px;text-align:left;justify-content:flex-start}.page-footnote svg{margin-top:2px}.brand-detail-header h2{font-size:21px}.brand-detail-header p{font-size:12px}.brand-tab-content{padding:21px}.tab-heading h3{font-size:15px}.tab-heading p{font-size:12px}.tab-heading.split{flex-wrap:wrap}.tab-heading.split>.btn{font-size:12px}}
@media(max-width:540px){.home-content,.page-content,.brand-content,.workspace-content{padding:25px 16px 32px}.home-intro h1{font-size:29px;letter-spacing:-.035em}.home-intro p{font-size:12px;margin-top:9px}.home-composer textarea{padding:16px 14px 6px;font-size:12px;height:88px}.composer-bottom{padding:0 10px 11px;gap:8px}.composer-bottom>span{font-size:12px;gap:5px}.composer-bottom>span svg{width:13px}.composer-bottom .btn{font-size:12px;min-height:33px;padding:8px 9px;gap:5px}.composer-bottom .btn svg{width:14px}.creation-grid{gap:17px 11px}.creation-copy{padding-top:10px}.creation-copy h2{font-size:12px;gap:5px}.creation-copy h2 svg{width:14px;height:14px}.creation-copy p{font-size:12px;line-height:1.6;word-break:keep-all;margin-top:5px}.creation-visual{aspect-ratio:1.25;border-radius:9px}.creation-open{width:24px;height:24px;right:8px;top:8px}.sample-label{font-size:12px;left:7px;bottom:7px}.brand-nudge{padding:14px 12px;gap:10px}.brand-nudge h2{font-size:12px}.brand-nudge p{font-size:12px}.brand-nudge-icon svg{width:20px}.brand-nudge .text-button{margin-left:30px;font-size:12px}.section-heading h2{font-size:14px}.template-row{gap:8px}.template-button{padding:12px 10px;font-size:12px;gap:7px}.template-button>svg:first-child{width:14px}.template-button>svg:last-child{width:13px}.recent-empty strong{font-size:12px}.recent-empty p{font-size:12px}.page-heading{flex-wrap:wrap}.page-heading h1{font-size:23px}.page-heading p{font-size:12px}.page-heading>.btn{font-size:12px;min-height:35px}.editor-layout{display:flex;flex-direction:column}.editor-settings{border-right:0;border-bottom:1px solid #302b36;display:grid;grid-template-columns:1fr 1fr;gap:0 14px;padding:20px 16px}.settings-title{grid-column:1/-1;margin-bottom:18px}.editor-settings>.field{margin-bottom:16px}.editor-settings>.field:nth-of-type(3){grid-column:1/-1}.editor-settings .upload-zone{min-height:93px;padding:12px}.editor-settings .field>label{font-size:12px}.editor-settings .field select{height:39px;font-size:12px}.brand-context{grid-column:1/-1;margin-top:0;padding-top:14px;display:flex;align-items:center;flex-wrap:wrap;gap:5px 12px}.brand-context p{margin:0;font-size:12px;flex:1}.brand-context .text-button{font-size:12px}.model-connection{grid-column:1/-1;margin-top:12px;padding-top:12px}.result-stage{min-height:290px}.result-stage .empty-state{min-height:290px}.empty-icon{width:60px;height:60px;border-radius:15px;margin-bottom:16px}.empty-icon svg{width:27px;height:27px}.empty-state h3{font-size:14px}.empty-state p{font-size:12px;max-width:250px}.work-composer-footer{flex-direction:row;align-items:center}.work-composer-footer .text-button{font-size:12px;gap:4px}.work-composer-footer .text-button svg{width:13px}.work-composer-footer .btn{font-size:12px;min-width:90px;padding:9px 10px}.composer-label label{font-size:12px}.composer-label>span{font-size:12px}.work-composer textarea{font-size:12px}.draft-row>.badge{display:none}.draft-type-icon{width:36px;height:36px}.draft-type-icon svg{width:19px}.brand-detail-header{padding:21px 18px;gap:12px}.brand-detail-header .brand-avatar{width:45px;height:45px;font-size:14px}.brand-tabs{padding:0 18px;gap:21px}.brand-tabs>button{font-size:12px}.brand-tab-content{padding:21px 17px}.form-columns{gap:12px}.brand-form .field>label,.persona-form .field>label{font-size:12px}.brand-form .field input,.brand-form .field select,.brand-form .field textarea,.persona-form .field textarea{font-size:12px}.form-footer{flex-wrap:wrap}.form-footer>span{font-size:12px}.form-footer .btn{font-size:12px;min-height:36px;margin-left:auto}.brand-summary{gap:10px}.brand-summary strong{font-size:17px}.brand-summary span{font-size:12px}.brand-summary .text-small{font-size:12px}.archive-section{align-items:flex-start;gap:13px}.archive-section p{font-size:12px}.archive-section h3{font-size:12px}.learning-status{gap:8px;font-size:12px;white-space:nowrap}.learning-step{gap:4px}.learning-step svg{width:14px}.learning-status>svg{width:12px}.inline-note{flex-wrap:wrap;gap:7px}.inline-note p{font-size:12px}.inline-note .text-button{margin-left:23px;padding-top:0}.resource-row{gap:7px;flex-wrap:wrap}.resource-copy{min-width:140px}.resource-row>.badge{margin-left:40px}.resource-row>.icon-button:first-of-type{margin-left:auto}.resource-heading>span{font-size:12px}.resource-copy strong{font-size:12px}.resource-copy>span{font-size:12px}.resource-copy details{font-size:12px}.brand-list-item{min-width:110px;padding:8px}.brand-list-item strong{font-size:12px}.brand-list-item .brand-avatar{width:27px;height:27px;font-size:12px}dialog{padding:23px 20px}.dialog-heading h2{font-size:19px}.dialog-heading p{font-size:12px}.connection-list strong{font-size:12px}.connection-list small{font-size:12px}.connection-list .badge{font-size:12px}.connection-list>div{gap:9px}.connection-list>div>svg{width:17px}.dialog-footer{gap:8px}.dialog-footer .btn{font-size:12px;padding:9px 11px}.connection-note p{font-size:12px}.topbar-actions .icon-button{display:none}.topbar-actions{gap:0}.connection-badge{font-size:12px;padding:5px 8px}.breadcrumb{font-size:12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Scoped integration states. */
.creation-retouch .creation-visual img{width:200%;max-width:none;object-fit:cover;object-position:left center}.brand-avatar[data-tone="blue"]{background:#1f303b;border-color:#3c596a;color:#badbec}.brand-avatar[data-tone="brown"]{background:#352921;border-color:#65503f;color:#ddc3aa}.brand-avatar[data-tone="green"]{background:#20342a;border-color:#3e5c4b;color:#b9d9c6}#toast{opacity:0;transition:opacity .18s}#toast.visible{opacity:1}#toast.error{background:#442a36;color:#ffe2e9}.startup-error{max-width:620px;margin:15vh auto;padding:30px;line-height:1.8}.startup-error h1{font-size:25px;margin-bottom:20px}.startup-error p{color:var(--muted);margin:10px 0}.startup-error button{margin-top:20px;background:var(--accent);padding:10px 18px;border-radius:8px}

/* Readable operating controls across viewports. */
.btn,.nav-item,.template-button,.brand-tabs>button,.dialog-footer .btn,.text-button{font-size:13px}
.field>label,.composer-label label,.brand-form .field>label,.persona-form .field>label{font-size:13px}
.field input,.field textarea,.field select,.brand-form .field input,.brand-form .field select,.brand-form .field textarea,.persona-form .field textarea,.work-composer textarea,.home-composer textarea{font-size:14px}
.btn-primary,.creation-card:hover .creation-open,.startup-error button{color:#fff}
.sample-label{font-size:12px;line-height:1.4;white-space:normal}
.section-heading h2,.creation-copy h2{font-size:15px}
@media(max-width:760px){
 .btn,.nav-item,.template-button,.brand-tabs>button,.dialog-footer .btn,.text-button,.page-heading>.btn,.form-footer .btn{font-size:14px}
 .field input,.field textarea,.field select,.brand-form .field input,.brand-form .field select,.brand-form .field textarea,.persona-form .field textarea,.work-composer textarea,.home-composer textarea,.editor-settings .field select{font-size:16px}
 .brand-tabs{gap:22px;overflow-x:auto}.brand-tabs>button{flex-shrink:0}
 .template-button{flex-wrap:wrap}.form-footer>span{font-size:12px}
 .work-composer-footer{flex-wrap:wrap;gap:12px}.work-composer-footer .btn{font-size:14px}
 .work-composer-footer .text-button{font-size:12px}.creation-copy p{font-size:12px;line-height:1.6}
}
