:root{--ink:#171714;--ink-soft:#3f3d37;--obsidian:#11110f;--obsidian-2:#191914;--paper:#f3efe5;--paper-deep:#e8e1d3;--white:#fffdf8;--champagne:#d8bd7c;--champagne-soft:#f0dfb4;--sage:#aab5a0;--coral:#c9785d;--line:#17171424;--line-dark:#fffdf829;--success:#315f48;--warning:#8b5a22;--danger:#8d3e35;--shadow:0 24px 70px #11110f1f}*{box-sizing:border-box}html{scroll-behavior:smooth}body{background:var(--paper);min-width:320px;color:var(--ink);-webkit-font-smoothing:antialiased;margin:0;font-family:DM Sans,system-ui,sans-serif}button,input,textarea,select{font:inherit}button{color:inherit}a{color:inherit;text-decoration:none}::selection{background:var(--champagne-soft);color:var(--ink)}.brand-mark{color:var(--white);align-items:center;gap:13px;display:inline-flex}.brand-mark__glyph{gap:3px;width:32px;height:32px;display:grid;transform:rotate(-8deg)}.brand-mark__glyph span{background:var(--champagne);transform-origin:0;border-radius:999px;height:6px;display:block}.brand-mark__glyph span:first-child{width:28px}.brand-mark__glyph span:nth-child(2){width:22px;margin-left:5px}.brand-mark__glyph span:nth-child(3){width:15px;margin-left:10px}.brand-mark__copy{line-height:1;display:grid}.brand-mark__copy strong{letter-spacing:-.04em;font-family:Manrope,sans-serif;font-size:17px}.brand-mark__copy small{color:#ffffff85;letter-spacing:.32em;margin-top:6px;font-size:8px}.brand-mark--compact .brand-mark__copy strong{font-size:16px}.brand-mark--compact .brand-mark__glyph{width:28px;height:28px}.button{cursor:pointer;border:0;border-radius:999px;justify-content:center;align-items:center;gap:10px;min-height:48px;padding:0 22px;font-weight:700;transition:transform .2s,box-shadow .2s,background .2s,opacity .2s;display:inline-flex}.button svg{width:18px;height:18px}.button:hover:not(:disabled){transform:translateY(-2px)}.button:disabled{cursor:not-allowed;opacity:.55}.button--small{min-height:40px;padding:0 17px;font-size:13px}.button--light{background:var(--white);color:var(--ink)}.button--champagne{background:var(--champagne);color:var(--ink);box-shadow:0 12px 28px #d8bd7c2e}.button--champagne:hover:not(:disabled){background:#e3c987;box-shadow:0 16px 36px #d8bd7c3d}.button--dark{background:var(--ink);color:var(--white)}.button--outline{border:1px solid var(--line);color:var(--ink);background:0 0}.eyebrow{color:#ffffff9e;letter-spacing:.18em;text-transform:uppercase;align-items:center;gap:10px;margin:0 0 22px;font-size:11px;font-weight:700;display:flex}.eyebrow>span{background:var(--champagne);width:26px;height:1px}.eyebrow--dark{color:#1717148c}.app-shell{background:var(--paper);min-height:100vh}.app-header{z-index:50;height:76px;color:var(--white);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#11110ff7;border-bottom:1px solid #ffffff14;grid-template-columns:1fr auto 1fr;align-items:center;padding:0 34px;display:grid;position:sticky;top:0}.brand-button{cursor:pointer;background:0 0;border:0;justify-self:start;padding:0}.app-nav{align-items:center;gap:4px;display:flex}.app-nav button{color:#ffffff85;cursor:pointer;background:0 0;border:0;border-radius:999px;padding:10px 16px;font-size:13px;transition:all .2s}.app-nav button:hover,.app-nav button.is-active{color:var(--white);background:#ffffff14}.app-header__status{color:#ffffff80;justify-self:end;align-items:center;gap:9px;font-size:11px;display:flex}.connection-light{background:#77766e;border-radius:50%;width:7px;height:7px}.connection-light--on{background:#8fb596;box-shadow:0 0 0 4px #8fb5961f}.toast{z-index:100;border:1px solid var(--line);width:min(620px,100% - 32px);box-shadow:var(--shadow);background:var(--white);border-radius:12px;justify-content:space-between;align-items:flex-start;gap:16px;padding:14px 16px;font-size:13px;display:flex;position:fixed;top:92px;left:50%;transform:translate(-50%)}.toast button{cursor:pointer;background:0 0;border:0;padding:0;font-size:20px}.toast--success{border-color:#315f4847}.toast--warning{border-color:#8b5a2252}.toast--error{border-color:#8d3e3557}.studio-page,.secondary-page{width:min(1510px,100% - 48px);margin:0 auto;padding:54px 0 118px}.studio-heading,.secondary-heading{justify-content:space-between;align-items:flex-end;gap:30px;margin-bottom:34px;display:flex}.studio-heading>div,.secondary-heading>div{max-width:850px}.studio-heading h1,.secondary-heading h1{letter-spacing:-.045em;margin:0;font-family:Playfair Display,serif;font-size:clamp(42px,4.6vw,68px);font-weight:500;line-height:1}.studio-heading p:last-child,.secondary-heading p:last-child{color:#17171494;max-width:700px;margin:18px 0 0;line-height:1.65}.studio-grid{grid-template-columns:minmax(0,1.04fr) minmax(430px,.96fr);align-items:start;gap:18px;display:grid}.panel{border:1px solid var(--line);background:#fffdf8b8;border-radius:24px;min-width:0;box-shadow:0 18px 48px #11110f0e}.composer-panel,.output-panel{padding:28px}.panel-kicker{color:#17171480;letter-spacing:.17em;text-transform:uppercase;align-items:center;gap:10px;margin-bottom:26px;font-size:10px;font-weight:700;display:flex}.panel-kicker>span{border:1px solid var(--line);width:28px;height:28px;color:var(--coral);border-radius:50%;place-items:center;font-family:Playfair Display,serif;font-size:13px;font-style:italic;display:grid}.field{gap:9px;margin-bottom:18px;display:grid}.field>span{font-size:12px;font-weight:700}.field input,.field textarea,.field select,.settings-form input{border:1px solid var(--line);width:100%;color:var(--ink);background:#ffffffb3;border-radius:13px;outline:0;padding:14px 15px;transition:border .2s,box-shadow .2s,background .2s}.field input:focus,.field textarea:focus,.field select:focus,.settings-form input:focus{background:var(--white);border-color:#c9785d94;box-shadow:0 0 0 4px #c9785d14}.field textarea{resize:vertical;min-height:190px;line-height:1.6}.field .compact-textarea{min-height:93px}.field small{color:#17171466;justify-self:end;font-size:10px}.source-grid{grid-template-columns:1fr 1fr;gap:14px;display:grid}.upload-zone{cursor:pointer;background:#ffffff57;border:1px dashed #1717143d;border-radius:15px;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;min-height:88px;padding:16px;transition:all .2s;display:grid}.upload-zone:hover{border-color:var(--coral);background:#ffffffa8}.upload-zone__icon{background:var(--ink);width:42px;height:42px;color:var(--white);border-radius:50%;place-items:center;font-size:20px;display:grid}.upload-zone strong,.upload-zone span{display:block}.upload-zone strong{font-size:13px}.upload-zone span{color:#17171473;margin-top:4px;font-size:11px}.text-button{color:var(--coral);cursor:pointer;background:0 0;border:0;font-size:12px;font-weight:700}.file-list{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.file-chip{border:1px solid var(--line);background:var(--white);border-radius:999px;align-items:center;gap:8px;max-width:100%;padding:8px 10px;font-size:11px;display:flex}.file-chip span{text-overflow:ellipsis;white-space:nowrap;max-width:210px;overflow:hidden}.file-chip small{color:#17171461}.file-chip button{cursor:pointer;background:0 0;border:0;padding:0}.advanced-toggle{border:0;border-top:1px solid var(--line);cursor:pointer;background:0 0;justify-content:space-between;width:100%;margin-top:22px;padding:16px 0 4px;font-size:12px;font-weight:700;display:flex}.advanced-panel{background:#e8e1d394;border-radius:16px;margin-top:14px;padding:18px}.channel-picker{grid-template-columns:1fr 1fr;gap:10px;display:grid}.channel-option{border:1px solid var(--line);text-align:left;cursor:pointer;background:#ffffff80;border-radius:15px;grid-template-columns:auto 1fr auto;align-items:center;gap:11px;min-height:78px;padding:12px;transition:all .2s;display:grid}.channel-option:hover{border-color:#17171447;transform:translateY(-1px)}.channel-option.is-selected{border-color:var(--ink);background:var(--ink);color:var(--white)}.channel-option__mark{border:1px solid;border-radius:50%;place-items:center;width:36px;height:36px;font-size:11px;font-weight:800;display:grid}.channel-option strong,.channel-option small{display:block}.channel-option strong{font-size:12px}.channel-option small{color:#1717146b;margin-top:4px;font-size:9px}.channel-option.is-selected small{color:#ffffff6b}.channel-option i{font-style:normal}.output-empty{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:395px;padding:35px 16px 4px;display:flex}.output-empty__art{width:270px;height:190px;margin-bottom:22px;position:relative}.ghost-post{border:1px solid var(--line);background:var(--white);border-radius:15px;gap:9px;width:185px;height:122px;padding:18px;display:grid;position:absolute;box-shadow:0 16px 35px #11110f17}.ghost-post span{background:var(--paper-deep);border-radius:50%;width:31px;height:31px}.ghost-post i{background:var(--paper-deep);border-radius:999px;height:7px}.ghost-post i:nth-child(3){width:76%}.ghost-post i:nth-child(4){width:55%}.ghost-post--one{z-index:3;top:26px;left:42px}.ghost-post--two{opacity:.68;top:56px;left:0;transform:rotate(-8deg)}.ghost-post--three{opacity:.68;top:58px;right:0;transform:rotate(8deg)}.output-empty h3{margin:0;font-family:Playfair Display,serif;font-size:28px;font-weight:500}.output-empty p{color:#17171485;max-width:430px;margin:11px 0 0;font-size:13px;line-height:1.65}.review-workspace{margin-top:24px}.review-tabs{gap:7px;padding-bottom:10px;display:flex;overflow-x:auto}.review-tabs button{border:1px solid var(--line);cursor:pointer;background:0 0;border-radius:999px;flex:none;align-items:center;gap:7px;padding:9px 12px;font-size:11px;font-weight:700;display:flex}.review-tabs button.is-active{background:var(--ink);color:var(--white);border-color:var(--ink)}.review-tabs button span{border:1px solid;border-radius:50%;place-items:center;width:21px;height:21px;font-size:8px;display:grid}.native-preview{border:1px solid var(--line);background:var(--white);border-radius:18px;margin-top:8px;overflow:hidden}.native-preview header{border-bottom:1px solid var(--line);grid-template-columns:auto 1fr auto;align-items:center;gap:11px;padding:16px;display:grid}.preview-avatar{background:var(--ink);width:40px;height:40px;color:var(--champagne);border-radius:50%;place-items:center;font-family:Playfair Display,serif;font-size:13px;display:grid}.native-preview header strong,.native-preview header span{display:block}.native-preview header strong{font-size:12px}.native-preview header div:nth-child(2) span{color:#1717146b;margin-top:3px;font-size:9px}.connection-badge{background:var(--paper);color:#17171485;letter-spacing:.08em;text-transform:uppercase;border-radius:999px;padding:7px 9px;font-size:8px;font-weight:800}.connection-badge--ready{color:var(--success);background:#315f481a}.native-preview textarea{resize:vertical;width:100%;min-height:300px;color:var(--ink);background:var(--white);border:0;outline:0;padding:22px;font-size:14px;line-height:1.75}.native-preview footer{border-top:1px solid var(--line);color:#17171461;justify-content:space-between;gap:12px;padding:12px 16px;font-size:9px;display:flex}.review-actions{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.review-actions .button{min-height:42px;padding:0 15px;font-size:11px}.review-actions .button--dark{margin-left:auto}.route-note{background:#d8bd7c17;border:1px solid #8b5a2238;border-radius:13px;margin-top:14px}.route-note summary{cursor:pointer;color:var(--warning);padding:13px 14px;font-size:11px;font-weight:700}.route-note ul{color:#17171494;margin:0;padding:0 28px 15px 34px;font-size:11px;line-height:1.6}.export-row{background:var(--paper-deep);border-radius:14px;grid-template-columns:1fr auto auto;align-items:center;gap:9px;margin-top:14px;padding:16px;display:grid}.export-row strong,.export-row span{display:block}.export-row strong{font-size:11px}.export-row span{color:#17171475;margin-top:3px;font-size:9px}.export-row button{border:1px solid var(--line);background:var(--white);cursor:pointer;border-radius:999px;padding:9px 11px;font-size:9px;font-weight:700}.studio-actionbar{z-index:40;width:min(930px,100% - 32px);min-height:72px;color:var(--white);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#11110ff2;border:1px solid #ffffff1f;border-radius:999px;justify-content:space-between;align-items:center;gap:18px;padding:11px 12px 11px 20px;display:flex;position:fixed;bottom:18px;left:50%;transform:translate(-50%);box-shadow:0 24px 60px #11110f47}.studio-actionbar>div{color:#ffffff85;align-items:center;gap:12px;font-size:10px;display:flex}.studio-actionbar i{background:#ffffff47;border-radius:50%;width:3px;height:3px}.studio-actionbar .button{min-height:49px}.studio-actionbar .button svg{width:19px;height:19px}.secondary-page{min-height:calc(100vh - 76px)}.empty-library{border:1px dashed var(--line);text-align:center;border-radius:24px;align-content:center;place-items:center;min-height:430px;display:grid}.empty-library>span{color:var(--coral);font-size:42px}.empty-library h2{margin:18px 0 0;font-family:Playfair Display,serif;font-size:34px;font-weight:500}.empty-library p{color:#17171480;margin:10px 0 0}.library-grid{grid-template-columns:repeat(3,1fr);gap:16px;display:grid}.library-card{border:1px solid var(--line);background:#fffdf8b3;border-radius:22px;flex-direction:column;min-height:330px;padding:24px;display:flex;box-shadow:0 18px 42px #11110f0d}.library-card__top{color:#1717146b;text-transform:uppercase;letter-spacing:.1em;justify-content:space-between;font-size:9px;display:flex}.library-card h2{margin:34px 0 18px;font-family:Playfair Display,serif;font-size:31px;font-weight:500;line-height:1.08}.library-card__channels{gap:7px;display:flex}.library-card__channels span{border:1px solid var(--line);border-radius:50%;place-items:center;width:29px;height:29px;font-size:9px;font-weight:700;display:grid}.library-card p{color:#17171485;margin:22px 0;font-size:12px;line-height:1.65}.library-card footer{border-top:1px solid var(--line);justify-content:space-between;margin-top:auto;padding-top:16px;display:flex}.library-card footer button,.settings-actions button{cursor:pointer;background:0 0;border:0;padding:0;font-size:11px;font-weight:700}.danger-link{color:var(--danger)!important}.connections-grid{grid-template-columns:repeat(2,1fr);gap:12px;display:grid}.connection-card{border:1px solid var(--line);background:#fffdf8b3;border-radius:20px;grid-template-columns:auto 1fr auto;align-items:center;gap:18px;min-height:140px;padding:22px;display:grid}.connection-card__mark{border:1px solid var(--line);border-radius:50%;place-items:center;width:48px;height:48px;font-weight:800;display:grid}.connection-card h2{margin:0;font-family:Playfair Display,serif;font-size:24px;font-weight:500}.connection-card p{color:#17171480;margin:7px 0 0;font-size:11px;line-height:1.55}.status-tag{background:var(--paper-deep);color:#17171480;letter-spacing:.08em;text-transform:uppercase;border-radius:999px;padding:8px 10px;font-size:8px;font-weight:800}.status-tag--ready{color:var(--success);background:#315f481c}.truth-panel{background:var(--ink);color:var(--white);border-radius:22px;grid-template-columns:1fr 1fr;gap:40px;margin-top:18px;padding:34px;display:grid}.truth-panel span{color:var(--champagne);letter-spacing:.16em;text-transform:uppercase;font-size:9px}.truth-panel h2{margin:10px 0 0;font-family:Playfair Display,serif;font-size:34px;font-weight:500;line-height:1.1}.truth-panel p{color:#ffffff94;margin:0;line-height:1.75}.settings-grid{grid-template-columns:repeat(2,1fr);gap:14px;display:grid}.settings-card{border:1px solid var(--line);background:#fffdf8b8;border-radius:22px;min-height:280px;padding:28px}.settings-card--wide{grid-column:1/-1;min-height:180px}.settings-card__number{color:var(--coral);font-family:Playfair Display,serif;font-style:italic}.settings-card h2{margin:34px 0 12px;font-family:Playfair Display,serif;font-size:31px;font-weight:500}.settings-card p{color:#17171485;max-width:680px;line-height:1.7}.settings-form{grid-template-columns:1fr auto;gap:9px;margin-top:24px;display:grid}.settings-success{color:var(--success);background:#315f4814;border-radius:13px;align-items:center;gap:10px;margin-top:25px;padding:14px;font-size:12px;display:flex}.settings-success>span{background:var(--success);border-radius:50%;width:8px;height:8px}.settings-success button{color:var(--success);cursor:pointer;background:0 0;border:0;margin-left:auto;font-weight:700}.settings-actions{gap:22px;margin-top:28px;display:flex}@media (max-width:1120px){.studio-grid{grid-template-columns:1fr}.output-panel{min-height:auto}.library-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:760px){.app-header{grid-template-columns:1fr auto;height:auto;min-height:72px;padding:12px 16px}.app-nav{grid-column:1/-1;justify-content:space-between;width:100%;margin-top:9px}.app-nav button{padding:8px 10px;font-size:11px}.app-header__status{display:none}.studio-page,.secondary-page{width:min(100% - 24px,1510px);padding-top:34px}.studio-heading,.secondary-heading{flex-direction:column;align-items:flex-start}.composer-panel,.output-panel{border-radius:18px;padding:20px}.source-grid,.channel-picker,.connections-grid,.settings-grid,.library-grid{grid-template-columns:1fr}.settings-card--wide{grid-column:auto}.upload-zone{grid-template-columns:auto 1fr}.upload-zone .text-button{display:none}.review-actions .button{width:100%}.review-actions .button--dark{margin-left:0}.export-row{grid-template-columns:1fr 1fr}.export-row>div{grid-column:1/-1}.studio-actionbar{border-radius:20px;min-height:64px;padding-left:12px}.studio-actionbar>div{display:none}.studio-actionbar .button{width:100%}.connection-card{grid-template-columns:auto 1fr}.connection-card .status-tag{grid-column:1/-1;justify-self:start}.truth-panel,.settings-form{grid-template-columns:1fr}}
.skip-link{z-index:1000;background:var(--champagne);color:var(--ink);border-radius:999px;padding:.625rem .875rem;font-size:.75rem;font-weight:800;transition:transform .2s;position:fixed;top:.75rem;left:.75rem;transform:translateY(-180%)}.skip-link:focus{transform:translateY(0)}.legal-shell{--public-ease:cubic-bezier(.22, 1, .36, 1);--public-shadow:0 18px 50px #11110f14;background:var(--paper);min-height:100dvh;color:var(--ink)}.legal-shell .brand-mark--dark{color:var(--ink)}.legal-shell .brand-mark--dark .brand-mark__copy small{color:#17171473}.legal-nav{border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(1.125rem);backdrop-filter:blur(1.125rem);background:#f3efe5e6;justify-content:space-between;align-items:center;gap:2rem;min-height:5rem;padding-inline:max(1.5rem,50vw - 35rem);display:flex}.legal-nav>a:last-child{font-size:.6875rem;font-weight:800}.legal-nav a:focus-visible,.legal-content a:focus-visible{outline:3px solid var(--champagne);outline-offset:4px}.legal-content{width:min(52.5rem,100% - 2.5rem);margin:0 auto;padding:5.5rem 0 7.5rem}.legal-content h1{letter-spacing:-.05em;text-wrap:balance;margin:0;font-family:Playfair Display,Georgia,serif;font-size:clamp(3.125rem,7vw,5.25rem);font-weight:500;line-height:.98}.legal-content>p:first-of-type{color:#17171480;margin:1.5rem 0 4.125rem;font-size:.8125rem}.legal-content section{border-top:1px solid var(--line);padding:2rem 0}.legal-content h2{letter-spacing:-.025em;margin:0 0 .875rem;font-family:Manrope,system-ui,sans-serif;font-size:1.3125rem}.legal-content p,.legal-content li{overflow-wrap:anywhere;color:#171714a8;font-size:.875rem;line-height:1.85}.legal-content ul,.legal-content ol{padding-left:1.25rem}.legal-content a{text-underline-offset:.2em;font-weight:700;text-decoration:underline}@media (max-width:47.5rem){.legal-nav{padding-inline:1.125rem}.legal-content{padding-top:3.875rem}}@media (prefers-reduced-motion:reduce){.skip-link{transition:none}}
.connection-card__actions{flex-direction:column;align-items:flex-end;gap:10px;display:flex}.connector-action{border:1px solid var(--ink);background:var(--ink);min-width:92px;color:var(--white);letter-spacing:.05em;text-transform:uppercase;cursor:pointer;border-radius:999px;padding:9px 13px;font-size:9px;font-weight:800;transition:transform .2s,opacity .2s,background .2s}.connector-action:hover:not(:disabled){transform:translateY(-1px)}.connector-action:disabled{cursor:not-allowed;opacity:.5}.connector-action--quiet{border-color:var(--line);color:#1717149e;background:0 0}@media (max-width:760px){.connection-card__actions{flex-direction:row;grid-column:1/-1;justify-content:space-between;align-items:center;width:100%}}
:root{--sf-page-max:88rem;--sf-page-gutter:max(clamp(1.5rem, 5vw, 5rem), calc((100vw - var(--sf-page-max)) / 2))}html{scrollbar-gutter:auto;scrollbar-width:thin;scrollbar-color:#9b8248b8 transparent;width:100%;max-width:100%;overflow-x:hidden}body{width:100%;max-width:100%;overflow-x:hidden}html::-webkit-scrollbar{width:.375rem;height:0}body::-webkit-scrollbar{width:.375rem;height:0}html::-webkit-scrollbar-track{background:0 0}body::-webkit-scrollbar-track{background:0 0}html::-webkit-scrollbar-thumb{background:#9b8248b8;border:0;border-radius:999rem;min-height:3rem}body::-webkit-scrollbar-thumb{background:#9b8248b8;border:0;border-radius:999rem;min-height:3rem}html::-webkit-scrollbar-thumb:hover{background:#9b8248eb}body::-webkit-scrollbar-thumb:hover{background:#9b8248eb}@media (max-width:52rem){:root{--sf-page-gutter:clamp(1rem, 5vw, 2rem)}}
.app-shell{--app-bg:#f5f5f2;--app-surface:#fff;--app-surface-subtle:#fafaf8;--app-ink:#1d1d1a;--app-muted:#686761;--app-faint:#8d8b84;--app-line:#deddd7;--app-line-strong:#c9c7be;--app-accent:#9b8248;--app-accent-soft:#f2eee3;--app-success:#456650;--app-success-soft:#edf4ef;--app-warning:#765a27;--app-warning-soft:#f8f2e7;--app-danger:#8d3e35;--app-radius:.625rem;--app-control:2.875rem;--app-shell-max:88rem;--app-header-desktop:4.5rem;--app-header-mobile:7.25rem;--app-header:var(--app-header-desktop);background:var(--app-bg);min-height:100dvh;color:var(--app-ink);overflow-x:clip}.app-shell *,.app-shell :before,.app-shell :after{animation-duration:0s;animation-delay:0s}.app-shell .brand-mark__glyph span,.app-shell .connection-light--on,.app-shell .studio-grid>*,.app-shell .library-grid>*,.app-shell .connections-grid>*,.app-shell .settings-grid>*{animation:none}.app-shell .button,.app-shell .panel,.app-shell .library-card,.app-shell .connection-card,.app-shell .settings-card,.app-shell .truth-panel,.app-shell .channel-option,.app-shell .channel-option__mark,.app-shell .connection-card__mark,.app-shell .library-card__channels span{transform:none}.app-shell .button:after{display:none}.app-shell .button:hover:not(:disabled),.app-shell .panel:hover,.app-shell .library-card:hover,.app-shell .connection-card:hover,.app-shell .settings-card:hover,.app-shell .channel-option:hover,.app-shell .channel-option:hover .channel-option__mark,.app-shell .connection-card:hover .connection-card__mark,.app-shell .library-card:hover .library-card__channels span{transform:none}.app-shell .app-header{z-index:50;width:100%;height:var(--app-header);min-width:0;padding-inline:max(1.25rem, calc((100vw - var(--app-shell-max)) / 2));border:0;border-bottom:.0625rem solid var(--app-line);color:var(--app-ink);-webkit-backdrop-filter:blur(1rem);backdrop-filter:blur(1rem);background:#fffffff5;grid-template-columns:minmax(11rem,1fr) minmax(22rem,auto) minmax(11rem,1fr);align-items:center;gap:clamp(1rem,2vw,2rem);display:grid;position:sticky;top:0;box-shadow:0 .5rem 1.5rem #18181406}.app-shell .brand-button{cursor:pointer;background:0 0;border:0;border-radius:.45rem;justify-self:start;min-width:0;padding:.35rem .45rem .35rem 0}.app-shell .brand-button:hover{background:0 0}.app-shell .brand-button:focus-visible,.app-shell .app-nav button:focus-visible{outline:.125rem solid var(--app-accent);outline-offset:.1875rem}.app-shell .brand-mark,.app-shell .brand-mark--compact,.app-shell .brand-mark--dark{color:var(--app-ink)}.app-shell .brand-mark__glyph{width:1.55rem;height:1.55rem}.app-shell .brand-mark__glyph span{background:var(--app-accent)}.app-shell .brand-mark__copy strong{letter-spacing:-.035em;font-size:.9375rem}.app-shell .brand-mark__copy small{color:var(--app-faint);letter-spacing:.22em;margin-top:.25rem;font-size:.625rem}.app-shell .app-nav{border:.0625rem solid var(--app-line);background:var(--app-surface-subtle);border-radius:.625rem;justify-content:center;align-items:center;gap:.25rem;min-width:0;max-width:100%;padding:.25rem;display:flex;overflow:visible}.app-shell .app-nav button{min-width:0;min-height:2.25rem;color:var(--app-muted);white-space:nowrap;box-shadow:none;cursor:pointer;background:0 0;border:.0625rem solid #0000;border-radius:.4rem;padding:.45rem .8rem;font-size:.8125rem;font-weight:650;transition:background .16s,border-color .16s,color .16s;position:relative}.app-shell .app-nav button:after{display:none}.app-shell .app-nav button:hover{border-color:var(--app-line);color:var(--app-ink);background:#ffffffb8}.app-shell .app-nav button.is-active{border-color:var(--app-line-strong);background:var(--app-surface);color:var(--app-ink);box-shadow:0 .2rem .65rem #1818140f}.app-shell .app-header__status{border:.0625rem solid var(--app-line);background:var(--app-surface-subtle);min-width:0;max-width:15rem;color:var(--app-muted);border-radius:999rem;justify-self:end;align-items:center;gap:.5rem;padding:.45rem .65rem;font-size:.75rem;display:flex}.app-shell .app-header__status>span:last-child{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.app-shell .connection-light{background:#aaa89f;border-radius:50%;flex:none;width:.4rem;height:.4rem}.app-shell .connection-light--on{background:#61816b;box-shadow:0 0 0 .2rem #61816b1a}.app-shell .toast{top:calc(var(--app-header) + 1rem);border:.0625rem solid var(--app-line);border-radius:var(--app-radius);background:var(--app-surface);width:min(38rem,100% - 2rem);color:var(--app-ink);padding:.85rem 1rem;font-size:.8125rem;box-shadow:0 1rem 3rem #1818141a}.app-shell .studio-page,.app-shell .secondary-page{width:min(76rem,88vw);scroll-margin-top:calc(var(--app-header) + 1.5rem);margin-inline:auto;padding:clamp(2.75rem,4vw,4rem) 0 6rem}.app-shell .studio-page[data-stage=review]{width:min(86rem,90vw)}.app-shell .secondary-page{min-height:calc(100dvh - var(--app-header))}.app-shell .studio-heading,.app-shell .secondary-heading{justify-content:space-between;align-items:flex-end;gap:3rem;margin-bottom:2.75rem;padding:0;display:flex}.app-shell .studio-heading>div,.app-shell .secondary-heading>div{max-width:44rem}.app-shell .studio-heading .eyebrow,.app-shell .secondary-heading .eyebrow{color:var(--app-accent);letter-spacing:.13em;margin:0 0 1rem;font-size:.6875rem}.app-shell .studio-heading h1,.app-shell .secondary-heading h1{max-width:42rem;color:var(--app-ink);letter-spacing:-.045em;text-wrap:balance;margin:0;font-size:clamp(2rem,3vw,2.875rem);font-weight:500;line-height:1.04}.app-shell .studio-heading p:last-child,.app-shell .secondary-heading p:last-child{max-width:39rem;color:var(--app-muted);margin:1rem 0 0;font-size:.9375rem;line-height:1.7}.app-shell .studio-flow{border:0;border-bottom:.0625rem solid var(--app-line);box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border-radius:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:2rem;margin:0 0 1.75rem;padding:0;display:grid}.app-shell .studio-flow button{text-align:left;min-width:0;min-height:4.5rem;color:var(--app-muted);box-shadow:none;cursor:pointer;background:0 0;border:0;border-radius:0;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.75rem;padding:0 0 1rem;display:grid;position:relative}.app-shell .studio-flow button:after{content:"";background:var(--app-accent);height:.125rem;transition:right .18s;display:block;position:absolute;bottom:-.0625rem;left:0;right:100%}.app-shell .studio-flow button:hover,.app-shell .studio-flow button.is-active{color:var(--app-ink);box-shadow:none;background:0 0}.app-shell .studio-flow button.is-active:after{right:0}.app-shell .studio-flow__index{border:.0625rem solid var(--app-line-strong);background:var(--app-surface);width:1.9rem;height:1.9rem;color:var(--app-accent);border-radius:50%;place-items:center;font-family:Playfair Display,serif;font-size:.75rem;font-style:italic;display:grid}.app-shell .studio-flow button.is-active .studio-flow__index{background:var(--app-accent-soft);border-color:#d2c49f}.app-shell .studio-flow strong,.app-shell .studio-flow small{display:block}.app-shell .studio-flow strong{font-size:.8125rem;font-weight:700}.app-shell .studio-flow small{color:var(--app-faint);margin-top:.18rem;font-size:.75rem;line-height:1.35}.app-shell .studio-grid{border:.0625rem solid var(--app-line);border-radius:var(--app-radius) var(--app-radius) 0 0;background:var(--app-surface);border-bottom:0;grid-template-columns:minmax(0,1fr);gap:0;min-width:0;display:grid;overflow:hidden;box-shadow:0 .75rem 2rem #18181409}.app-shell .panel{min-width:0;box-shadow:none;background:0 0;border:0;border-radius:0;transition:none;overflow:visible}.app-shell .panel:hover{box-shadow:none;border-color:#0000}.app-shell .composer-panel,.app-shell .output-panel,.app-shell .studio-grid--review .output-panel{padding:clamp(1.5rem,2.5vw,2.25rem)}.app-shell .output-panel{border-top:.0625rem solid var(--app-line)}.app-shell .panel-kicker{color:var(--app-muted);letter-spacing:.11em;text-transform:uppercase;align-items:center;gap:.75rem;margin:0 0 1.75rem;font-size:.6875rem;font-weight:750;display:flex}.app-shell .panel-kicker>span{border:.0625rem solid var(--app-line-strong);width:1.75rem;height:1.75rem;color:var(--app-accent);border-radius:50%;place-items:center;font-size:.75rem;display:grid}.app-shell .panel-kicker b{color:var(--app-muted);font-family:Manrope,sans-serif;font-size:.6875rem;font-weight:750}.app-shell .panel-kicker--with-actions{flex-wrap:wrap;justify-content:space-between}.app-shell .panel-kicker--with-actions>div{gap:.75rem;margin-left:auto;display:flex}.app-shell .panel-kicker--with-actions button{color:var(--app-muted);text-underline-offset:.2rem;cursor:pointer;background:0 0;border:0;border-radius:0;padding:.25rem 0;font-size:.75rem;font-weight:700;-webkit-text-decoration:underline #0000;text-decoration:underline #0000}.app-shell .panel-kicker--with-actions button:hover{color:var(--app-ink);-webkit-text-decoration-color:var(--app-accent);text-decoration-color:var(--app-accent);background:0 0;border-color:#0000}.app-shell .field{gap:.55rem;margin-bottom:1.35rem;display:grid}.app-shell .field>span{color:var(--app-ink);font-size:.8125rem;font-weight:650;line-height:1.4}.app-shell .field input,.app-shell .field textarea,.app-shell .field select,.app-shell .settings-form input,.app-shell .review-publish-fields input{width:100%;min-height:var(--app-control);border:.0625rem solid var(--app-line);background:var(--app-surface);color:var(--app-ink);box-shadow:none;border-radius:.5rem;outline:0;padding:.78rem .9rem;font-size:.9375rem;line-height:1.5;transition:border-color .16s,box-shadow .16s}.app-shell .field input:hover,.app-shell .field textarea:hover,.app-shell .field select:hover,.app-shell .settings-form input:hover,.app-shell .review-publish-fields input:hover{border-color:var(--app-line-strong)}.app-shell .field input:focus,.app-shell .field textarea:focus,.app-shell .field select:focus,.app-shell .settings-form input:focus,.app-shell .review-publish-fields input:focus{background:var(--app-surface);border-color:#b8a779;box-shadow:0 0 0 .2rem #9b82481a}.app-shell .field textarea{resize:vertical;min-height:10rem;line-height:1.65}.app-shell .field .compact-textarea{min-height:5.5rem}.app-shell .field small{color:var(--app-faint);justify-self:end;font-size:.75rem}.app-shell .source-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.app-shell .upload-zone{border:.0625rem dashed var(--app-line-strong);background:var(--app-surface-subtle);cursor:pointer;border-radius:.5rem;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.9rem;min-height:5.25rem;padding:1rem;transition:border-color .16s,background .16s;display:grid}.app-shell .upload-zone:hover{background:#fdfcf9;border-color:#b8a779}.app-shell .upload-zone__icon{border:.0625rem solid var(--app-line);background:var(--app-surface);width:2.35rem;height:2.35rem;color:var(--app-accent);border-radius:50%;place-items:center;font-size:1rem;display:grid}.app-shell .upload-zone strong,.app-shell .upload-zone span{display:block}.app-shell .upload-zone strong{font-size:.8125rem}.app-shell .upload-zone span{color:var(--app-muted);margin-top:.25rem;font-size:.75rem;line-height:1.4}.app-shell .text-button{color:var(--app-accent);cursor:pointer;background:0 0;border:0;font-size:.75rem;font-weight:700}.app-shell .text-button:hover{opacity:1;transform:none}.app-shell .file-list{flex-wrap:wrap;gap:.5rem;margin-top:.85rem;display:flex}.app-shell .file-chip{border:.0625rem solid var(--app-line);background:var(--app-surface);max-width:100%;color:var(--app-muted);border-radius:.4rem;align-items:center;gap:.5rem;padding:.45rem .65rem;font-size:.75rem;display:flex}.app-shell .file-chip span{text-overflow:ellipsis;white-space:nowrap;max-width:13rem;overflow:hidden}.app-shell .file-chip small{color:var(--app-faint)}.app-shell .file-chip button{cursor:pointer;background:0 0;border:0;padding:0}.app-shell .advanced-toggle{border:0;border-top:.0625rem solid var(--app-line);width:100%;color:var(--app-ink);cursor:pointer;background:0 0;justify-content:space-between;margin-top:1.6rem;padding:1rem 0 .25rem;font-size:.8125rem;font-weight:700;display:flex}.app-shell .advanced-panel{border:.0625rem solid var(--app-line);background:var(--app-surface-subtle);border-radius:.5rem;margin-top:.9rem;padding:1.15rem;animation:none;transform:none}.app-shell .channel-groups{gap:1.75rem;display:grid}.app-shell .channel-group{border-top:.0625rem solid var(--app-line);padding-top:1.5rem}.app-shell .channel-group:first-child{border-top:0;padding-top:0}.app-shell .channel-group__header{justify-content:space-between;align-items:flex-end;gap:1rem;margin-bottom:.8rem;display:flex}.app-shell .channel-group__header strong,.app-shell .channel-group__header small{display:block}.app-shell .channel-group__header strong{color:var(--app-ink);font-size:.8125rem}.app-shell .channel-group__header small,.app-shell .channel-group__header>span{color:var(--app-faint);margin-top:.2rem;font-size:.75rem}.app-shell .channel-picker{grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;max-height:none;padding:0;display:grid;overflow:visible}.app-shell .channel-option{border:.0625rem solid var(--app-line);text-align:left;background:var(--app-surface);min-height:4.35rem;color:var(--app-ink);box-shadow:none;cursor:pointer;border-radius:.5rem;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.7rem;padding:.75rem;transition:border-color .16s,background .16s;display:grid;position:relative;overflow:hidden}.app-shell .channel-option:before{content:"";opacity:1;background:0 0;border-radius:0;width:.1875rem;height:auto;display:block;position:absolute;inset:0 auto 0 0;transform:none}.app-shell .channel-option:hover{border-color:var(--app-line-strong);background:var(--app-surface-subtle);box-shadow:none}.app-shell .channel-option.is-selected{color:var(--app-ink);box-shadow:none;background:#fcfaf5;border-color:#d2c49f}.app-shell .channel-option.is-selected:before{background:var(--app-accent)}.app-shell .channel-option__mark{border:.0625rem solid var(--app-line);background:var(--app-surface);width:2.2rem;height:2.2rem;color:var(--app-ink);border-radius:50%;place-items:center;display:grid}.app-shell .channel-option strong,.app-shell .channel-option small{display:block}.app-shell .channel-option strong{color:var(--app-ink);font-size:.8125rem}.app-shell .channel-option small,.app-shell .channel-option.is-selected small{color:var(--app-muted);margin-top:.18rem;font-size:.75rem;line-height:1.35}.app-shell .channel-option i{border:.0625rem solid var(--app-line);background:var(--app-surface);width:1.35rem;height:1.35rem;color:var(--app-faint);border-radius:50%;place-items:center;font-size:.7rem;font-style:normal;display:grid}.app-shell .channel-option.is-selected i{background:var(--app-accent-soft);color:var(--app-accent);border-color:#c9b57d}.app-shell .output-empty{text-align:left;align-items:stretch;min-height:auto;padding:1.25rem 0 0}.app-shell .compose-readiness{border:0;border-top:.0625rem solid var(--app-line);background:0 0;border-radius:0;padding:1.25rem 0 0}.app-shell .compose-readiness__top{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.app-shell .compose-readiness__top span{color:var(--app-accent);letter-spacing:.1em;text-transform:uppercase;font-size:.6875rem;font-weight:800}.app-shell .compose-readiness__top b{background:var(--app-warning-soft);color:var(--app-warning);border:.0625rem solid #e3d7bc;border-radius:999rem;padding:.3rem .5rem;font-size:.6875rem}.app-shell .compose-readiness__top b.is-ready{background:var(--app-success-soft);color:var(--app-success);border-color:#d4e0d6}.app-shell .compose-readiness h3{color:var(--app-ink);letter-spacing:-.025em;margin:.65rem 0 0;font-family:Playfair Display,serif;font-size:1.45rem;font-weight:500}.app-shell .compose-readiness>p{color:var(--app-muted);margin:.5rem 0 0;font-size:.8125rem;line-height:1.65}.app-shell .compose-readiness__metrics{border-top:.0625rem solid var(--app-line);grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-top:1rem;padding-top:1rem;display:grid}.app-shell .compose-readiness__metrics div{background:0 0;border-radius:0;min-width:0;padding:0}.app-shell .compose-readiness__metrics strong,.app-shell .compose-readiness__metrics span{display:block}.app-shell .compose-readiness__metrics strong{color:var(--app-ink);font-family:Playfair Display,serif;font-size:1rem;font-weight:500}.app-shell .compose-readiness__metrics span{color:var(--app-faint);margin-top:.18rem;font-size:.75rem}.app-shell .studio-actionbar{z-index:auto;border:.0625rem solid var(--app-line);border-top-color:var(--app-line-strong);border-radius:0 0 var(--app-radius) var(--app-radius);background:var(--app-surface-subtle);width:100%;min-height:0;color:var(--app-ink);-webkit-backdrop-filter:none;backdrop-filter:none;justify-content:space-between;align-items:center;gap:1.5rem;margin:0;padding:1rem clamp(1.5rem,2.5vw,2.25rem);display:flex;position:static;bottom:auto;left:auto;transform:none;box-shadow:0 .75rem 2rem #18181409}.app-shell .studio-actionbar>div{color:var(--app-muted);flex-wrap:wrap;align-items:center;gap:.65rem;font-size:.75rem;display:flex}.app-shell .studio-actionbar i{background:var(--app-line-strong);border-radius:50%;width:.2rem;height:.2rem}.app-shell .studio-actionbar .button{min-height:2.75rem;box-shadow:none;border-radius:.45rem;padding-inline:1.15rem;font-size:.8125rem}.app-shell .studio-actionbar .button--champagne{background:var(--app-ink);color:#fff}.app-shell .studio-actionbar .button--champagne:hover:not(:disabled){box-shadow:none;background:#33332f}.app-shell .studio-grid--review{grid-template-columns:minmax(0,1fr)}.app-shell .studio-grid--review .composer-panel,.app-shell .studio-grid--review .channel-groups,.app-shell .studio-grid--review>.output-panel>.panel-kicker{display:none}.app-shell .studio-grid--review .output-panel{border-top:0}.app-shell .review-workspace{grid-template-columns:10.75rem minmax(0,1fr);grid-template-areas:"status status""stale stale""tabs nav""tabs editor""tabs inspector""tabs actions""tabs route""tabs notes""tabs export";align-items:start;gap:1rem 1.5rem;min-width:0;margin-top:0;display:grid}.app-shell .campaign-status-strip{grid-area:status;min-width:0}.app-shell .campaign-stale-banner{grid-area:stale;min-width:0}.app-shell .review-tabs{flex-direction:column;grid-area:tabs;gap:.2rem;min-width:0;padding:0;display:flex;overflow:visible}.app-shell .review-tabs button{text-align:left;width:100%;min-width:0;min-height:2.85rem;color:var(--app-muted);box-shadow:none;cursor:pointer;background:0 0;border:0;border-left:.15rem solid #0000;border-radius:0;justify-content:flex-start;align-items:flex-start;gap:.55rem;padding:.55rem .65rem;font-size:.8125rem;font-weight:650;display:flex}.app-shell .review-tabs button:hover{background:var(--app-surface-subtle);color:var(--app-ink)}.app-shell .review-tabs button.is-active{border-color:var(--app-accent);background:var(--app-accent-soft);color:var(--app-ink)}.app-shell .review-tabs button:focus-visible,.app-shell .review-nav button:focus-visible,.app-shell .review-actions button:focus-visible,.app-shell .publishing-route-link:focus-visible,.app-shell .route-note summary:focus-visible,.app-shell .export-row button:focus-visible{outline:.125rem solid var(--app-accent);outline-offset:.1875rem}.app-shell .review-tabs button>span:first-child{border:.0625rem solid var(--app-line);background:var(--app-surface);border-radius:50%;flex:none;place-items:center;width:1.65rem;height:1.65rem;display:grid}.app-shell .review-nav{grid-area:nav;justify-content:space-between;gap:.75rem;min-width:0;display:flex}.app-shell .review-nav button{min-height:2.35rem;color:var(--app-muted);cursor:pointer;background:0 0;border:0;border-radius:0;padding:0;font-size:.75rem;font-weight:750}.app-shell .review-nav button:hover{color:var(--app-ink);text-decoration:underline;-webkit-text-decoration-color:var(--app-accent);text-decoration-color:var(--app-accent);text-underline-offset:.2rem}.app-shell .native-preview{border:.0625rem solid var(--app-line);border-radius:var(--app-radius);background:var(--app-surface);min-width:0;box-shadow:none;grid-area:editor;margin-top:0;overflow:hidden}.app-shell .native-preview header{border-bottom:.0625rem solid var(--app-line);min-width:0;padding:1rem 1.1rem}.app-shell .preview-avatar{border:.0625rem solid var(--app-line);background:var(--app-surface-subtle);width:2.2rem;height:2.2rem;color:var(--app-accent);border-radius:50%;flex:none}.app-shell .native-preview header strong{color:var(--app-ink);font-size:.8125rem}.app-shell .native-preview header div:nth-child(2){min-width:0}.app-shell .native-preview header div:nth-child(2) span,.app-shell .connection-badge,.app-shell .native-preview footer,.app-shell .character-guide{color:var(--app-faint);font-size:.75rem}.app-shell .connection-badge{border:.0625rem solid var(--app-line);background:var(--app-surface-subtle);letter-spacing:0;text-overflow:ellipsis;text-transform:none;white-space:nowrap;border-radius:999rem;max-width:min(13rem,40%);padding:.3rem .5rem;overflow:hidden}.app-shell .connection-badge--ready{background:var(--app-success-soft);color:var(--app-success);border-color:#d4e0d6}.app-shell .native-preview textarea{resize:vertical;background:var(--app-surface);width:100%;min-height:clamp(32rem,56vh,48rem);color:var(--app-ink);border:0;padding:1.5rem;font-size:.9375rem;line-height:1.75}.app-shell .native-preview textarea:focus-visible{outline:.125rem solid var(--app-accent);outline-offset:-.125rem}.app-shell .native-preview footer{border-top:.0625rem solid var(--app-line);flex-wrap:wrap;gap:.4rem 1rem;min-width:0;padding:.8rem 1.1rem}.app-shell .review-inspector{border:.0625rem solid var(--app-line);background:var(--app-surface-subtle);border-radius:.5rem;grid-area:inspector;min-width:0;padding:1rem;position:static}.app-shell .review-inspector__eyebrow{color:var(--app-accent);letter-spacing:.1em;text-transform:uppercase;font-size:.6875rem;font-weight:800}.app-shell .review-inspector h3{color:var(--app-ink);margin:.5rem 0 .85rem;font-family:Playfair Display,serif;font-size:1.35rem;font-weight:500}.app-shell .review-inspector dl{border-top:.0625rem solid var(--app-line);border-left:.0625rem solid var(--app-line);grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin:0;display:grid}.app-shell .review-inspector dl div{border-right:.0625rem solid var(--app-line);border-bottom:.0625rem solid var(--app-line);min-width:0;padding:.7rem}.app-shell .review-inspector dt,.app-shell .review-inspector dd{margin:0}.app-shell .review-inspector dt{color:var(--app-faint);font-size:.6875rem}.app-shell .review-inspector dd{color:var(--app-ink);overflow-wrap:anywhere;margin-top:.25rem;font-size:.8125rem;line-height:1.45}.app-shell .review-actions{grid-area:actions;grid-template-columns:auto minmax(0,1fr) minmax(12rem,auto);align-items:start;gap:.5rem;min-width:0;margin-top:0;display:grid}.app-shell .review-actions .button{min-height:2.65rem;box-shadow:none;border-radius:.4rem;padding-inline:.95rem;font-size:.8125rem}.app-shell .review-actions .save-action-group{justify-self:start;min-width:0}.app-shell .review-actions .button--dark{justify-self:end;min-width:12rem;margin-left:0}.app-shell .review-action-reason{overflow-wrap:anywhere;grid-column:1/-1;min-width:0;margin:0}.app-shell .review-workspace>.publishing-route-link{grid-area:route;justify-self:start}.app-shell .review-workspace>.route-note{grid-area:notes}.app-shell .review-workspace>.export-row{grid-area:export}.app-shell .publishing-route-link{max-width:100%;color:var(--app-muted);overflow-wrap:anywhere;align-items:center;gap:.35rem;font-size:.75rem;line-height:1.5;display:inline-flex}.app-shell .route-note{background:var(--app-warning-soft);border:.0625rem solid #e5d8bd;border-radius:.5rem;min-width:0;margin-top:0}.app-shell .route-note summary{color:var(--app-warning);cursor:pointer;overflow-wrap:anywhere;padding:.8rem .9rem;font-size:.8125rem;font-weight:700}.app-shell .route-note ul{color:var(--app-muted);overflow-wrap:anywhere;margin:0;padding:0 1.5rem .9rem 2rem;font-size:.8125rem;line-height:1.6}.app-shell .export-row{border:.0625rem solid var(--app-line);background:var(--app-surface-subtle);border-radius:.5rem;grid-template-columns:minmax(0,1fr) repeat(3,auto);align-items:center;gap:.65rem;min-width:0;margin-top:0;padding:.95rem;display:grid}.app-shell .export-row strong,.app-shell .export-row span{display:block}.app-shell .export-row strong{color:var(--app-ink);font-size:.8125rem}.app-shell .export-row span{color:var(--app-muted);overflow-wrap:anywhere;margin-top:.2rem;font-size:.75rem}.app-shell .export-row button{border:.0625rem solid var(--app-line);background:var(--app-surface);min-height:2.35rem;color:var(--app-ink);cursor:pointer;border-radius:.4rem;padding:.5rem .65rem;font-size:.75rem;font-weight:700}.app-shell .review-publish-fields{border-top:.0625rem solid var(--app-line);gap:.7rem;margin-top:1rem;padding-top:1rem;display:grid}.app-shell .review-publish-fields label{gap:.35rem;display:grid}.app-shell .review-publish-fields label>span,.app-shell .review-publish-fields small{color:var(--app-muted);font-size:.75rem}.app-shell .button{min-height:2.75rem;box-shadow:none;border-radius:.45rem;padding:0 1.05rem;font-size:.8125rem;transition:background .16s,border-color .16s,color .16s,opacity .16s}.app-shell .button:hover:not(:disabled){box-shadow:none}.app-shell .button--outline{border:.0625rem solid var(--app-line);background:var(--app-surface);color:var(--app-ink)}.app-shell .button--outline:hover:not(:disabled){border-color:var(--app-line-strong);background:var(--app-surface-subtle)}.app-shell .button--dark{background:var(--app-ink);color:#fff}.app-shell .button--dark:hover:not(:disabled){box-shadow:none;background:#33332f}.app-shell .connection-summary{border-top:.0625rem solid var(--app-line);border-bottom:.0625rem solid var(--app-line);background:0 0;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;min-width:0;margin-bottom:1.25rem;padding:1rem 0;display:grid}.app-shell .connection-summary>div{border-right:.0625rem solid var(--app-line);min-width:0;padding:0 1rem}.app-shell .connection-summary>div:first-child{padding-left:0}.app-shell .connection-summary>div:last-child{border-right:0}.app-shell .connection-summary strong,.app-shell .connection-summary span{display:block}.app-shell .connection-summary strong{color:var(--app-ink);font-family:Playfair Display,serif;font-size:1.25rem;font-weight:500}.app-shell .connection-summary span{color:var(--app-muted);overflow-wrap:anywhere;margin-top:.2rem;font-size:.75rem;line-height:1.45}.app-shell .connector-readiness{border:.0625rem solid var(--app-line);border-radius:var(--app-radius);background:var(--app-surface);min-width:0;box-shadow:none;margin:0 0 1.25rem;padding:1.15rem}.app-shell .connector-readiness__heading{justify-content:space-between;align-items:flex-end;gap:1.5rem;margin-bottom:1rem;display:flex}.app-shell .connector-readiness__heading h2{color:var(--app-ink);margin:0;font-family:Playfair Display,serif;font-size:1.35rem;font-weight:500}.app-shell .connector-readiness__heading p{max-width:42rem;color:var(--app-muted);margin:.35rem 0 0;font-size:.8125rem;line-height:1.55}.app-shell .connector-readiness__grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.55rem;display:grid}.app-shell .connector-readiness__card{border:.0625rem solid var(--app-line);background:var(--app-surface-subtle);border-radius:.45rem;min-width:0;padding:.8rem}.app-shell .connector-readiness__card header{justify-content:space-between;align-items:center;gap:.65rem;min-width:0;display:flex}.app-shell .connector-readiness__card h3{min-width:0;color:var(--app-ink);text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:.8125rem;overflow:hidden}.app-shell .readiness-state,.app-shell .status-tag{background:var(--app-warning-soft);max-width:100%;color:var(--app-warning);letter-spacing:0;text-transform:none;white-space:nowrap;border:.0625rem solid #e3d7bc;border-radius:999rem;flex:none;padding:.28rem .48rem;font-size:.6875rem;font-weight:750}.app-shell .readiness-state.is-ready,.app-shell .status-tag--ready{background:var(--app-success-soft);color:var(--app-success);border-color:#d4e0d6}.app-shell .connector-readiness__card ul{gap:.32rem;margin:.7rem 0 0;padding:0;list-style:none;display:grid}.app-shell .connector-readiness__card li,.app-shell .connector-readiness__card code{color:var(--app-muted);overflow-wrap:anywhere;word-break:break-word;font-size:.72rem;line-height:1.45}.app-shell .library-grid,.app-shell .connections-grid{grid-template-columns:minmax(0,1fr);gap:.65rem;min-width:0;display:grid}.app-shell .settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;min-width:0;display:grid}.app-shell .library-card,.app-shell .connection-card,.app-shell .settings-card,.app-shell .empty-library,.app-shell .truth-panel{border:.0625rem solid var(--app-line);border-radius:var(--app-radius);background:var(--app-surface);min-width:0;box-shadow:none;transition:border-color .16s}.app-shell .library-card:hover,.app-shell .connection-card:hover,.app-shell .settings-card:hover{border-color:var(--app-line-strong);box-shadow:none}.app-shell .library-card{grid-template-columns:minmax(0,1fr) minmax(9rem,auto);grid-template-areas:"meta actions""title actions""channels actions""preview actions";align-items:start;gap:.4rem 1.25rem;min-height:0;padding:1rem 1.1rem;display:grid}.app-shell .library-card__top{min-width:0;color:var(--app-faint);letter-spacing:.02em;grid-area:meta;justify-content:space-between;align-items:center;gap:.75rem;font-size:.72rem;display:flex}.app-shell .library-card__top span,.app-shell .library-card__top small{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.app-shell .library-card h2{min-width:0;color:var(--app-ink);text-overflow:ellipsis;white-space:nowrap;grid-area:title;margin:.2rem 0 0;font-size:1.05rem;line-height:1.35;overflow:hidden}.app-shell .library-card__channels{flex-wrap:wrap;grid-area:channels;gap:.3rem;min-width:0;display:flex}.app-shell .library-card__channels span{border-color:var(--app-line);background:var(--app-surface-subtle);width:1.7rem;height:1.7rem;font-size:.72rem}.app-shell .library-card p{min-width:0;color:var(--app-muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;grid-area:preview;margin:.2rem 0 0;font-size:.78rem;line-height:1.55;display:-webkit-box;overflow:hidden}.app-shell .library-card footer{border-top:0;border-left:.0625rem solid var(--app-line);flex-direction:column;grid-area:actions;justify-content:center;align-items:flex-end;gap:.4rem;min-width:9rem;height:100%;padding-left:1rem;display:flex}.app-shell .library-card footer button,.app-shell .settings-actions button,.app-shell .settings-links a{color:var(--app-muted);font-size:.78rem}.app-shell .library-card footer button:focus-visible,.app-shell .connector-action:focus-visible,.app-shell .settings-actions button:focus-visible,.app-shell .settings-form button:focus-visible,.app-shell .settings-links a:focus-visible{outline:.125rem solid var(--app-accent);outline-offset:.1875rem}.app-shell .empty-library{border-style:dashed;min-height:16rem;padding:2rem}.app-shell .empty-library>span{color:var(--app-accent)}.app-shell .empty-library h2{color:var(--app-ink);font-size:1.4rem}.app-shell .empty-library p{color:var(--app-muted);font-size:.875rem}.app-shell .connection-card{grid-template-columns:auto minmax(0,1fr) minmax(10rem,auto);align-items:center;gap:.8rem;min-height:0;padding:.9rem 1rem;display:grid}.app-shell .connection-card__mark{border-color:var(--app-line);background:var(--app-surface-subtle);flex:none;width:2.45rem;height:2.45rem}.app-shell .connection-card__body,.app-shell .connection-card__title{min-width:0}.app-shell .connection-card__title{flex-wrap:wrap;align-items:center;gap:.35rem .6rem;display:flex}.app-shell .connection-card h2{min-width:0;color:var(--app-ink);text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:1rem;overflow:hidden}.app-shell .connection-card p{min-width:0;color:var(--app-muted);overflow-wrap:anywhere;margin:.25rem 0 0;font-size:.78rem;line-height:1.5}.app-shell .connection-card__actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.4rem;min-width:0;display:flex}.app-shell .connector-action{min-height:2.2rem;padding:.45rem .65rem}.app-shell .truth-panel{background:var(--app-surface);color:var(--app-ink);grid-template-columns:minmax(14rem,.75fr) minmax(0,1.25fr);gap:2rem;margin-top:1rem;padding:1.15rem}.app-shell .truth-panel span{color:var(--app-accent);font-size:.6875rem}.app-shell .truth-panel h2{color:var(--app-ink);margin:.4rem 0 0;font-size:1.35rem}.app-shell .truth-panel p{color:var(--app-muted);margin:0;font-size:.875rem;line-height:1.65}.app-shell .settings-card{min-height:0;padding:1.1rem}.app-shell .settings-card--wide{grid-column:1/-1;min-height:0}.app-shell .settings-card__number{color:var(--app-accent);letter-spacing:.08em;font-size:.6875rem;font-weight:800}.app-shell .settings-card h2{color:var(--app-ink);margin:.5rem 0;font-size:1.15rem}.app-shell .settings-card p{color:var(--app-muted);overflow-wrap:anywhere;margin:0;font-size:.8125rem;line-height:1.6}.app-shell .settings-form{grid-template-columns:minmax(0,1fr) auto;gap:.5rem;min-width:0;margin-top:.9rem;display:grid}.app-shell .settings-form input{min-width:0}.app-shell .settings-actions,.app-shell .settings-links{flex-wrap:wrap;align-items:center;gap:.55rem 1rem;margin-top:.9rem;display:flex}.app-shell .settings-success{background:var(--app-success-soft);color:var(--app-success);border-radius:.4rem;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;margin-top:.9rem;padding:.7rem;font-size:.78rem;display:flex}@media (min-width:96rem){.app-shell .studio-page:not([data-stage=review]){width:min(86rem,90vw)}.app-shell .studio-grid:not(.studio-grid--review){grid-template-columns:minmax(0,1.08fr) minmax(25rem,.92fr)}.app-shell .studio-grid:not(.studio-grid--review) .output-panel{border-top:0;border-left:.0625rem solid var(--app-line)}.app-shell .review-workspace{grid-template-columns:10.75rem minmax(0,1fr) minmax(17rem,18.5rem);grid-template-areas:"status status status""stale stale stale""tabs nav inspector""tabs editor inspector""tabs actions inspector""tabs route inspector""tabs notes inspector""tabs export inspector"}.app-shell .review-tabs,.app-shell .review-inspector{top:calc(var(--app-header) + 1.25rem);align-self:start;position:sticky}.app-shell .review-inspector dl{grid-template-columns:minmax(0,1fr)}}@media (max-width:68rem){.app-shell .studio-page,.app-shell .secondary-page,.app-shell .studio-page[data-stage=review]{width:min(100% - 3rem,76rem)}.app-shell .studio-heading,.app-shell .secondary-heading{flex-direction:column;align-items:flex-start;gap:1.25rem}.app-shell .connector-readiness__grid{grid-template-columns:1fr}.app-shell .review-workspace{grid-template-columns:minmax(0,1fr);grid-template-areas:"status""stale""tabs""nav""editor""inspector""actions""route""notes""export";gap:1rem}.app-shell .review-tabs{overscroll-behavior-inline:contain;scroll-snap-type:inline proximity;scrollbar-width:none;flex-direction:row;min-width:0;padding-bottom:.5rem;overflow-x:auto}.app-shell .review-tabs::-webkit-scrollbar{display:none}.app-shell .review-tabs button{scroll-snap-align:start;border-bottom:.15rem solid #0000;border-left:0;flex:none;width:auto;min-width:9.5rem}.app-shell .review-tabs button.is-active{border-bottom-color:var(--app-accent)}.app-shell .review-inspector dl,.app-shell .review-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell .review-actions .save-action-group{grid-area:1/1/auto/-1}.app-shell .review-actions>.button--outline:not(.button--dark),.app-shell .review-actions .button--dark{width:100%}.app-shell .review-actions .button--dark{justify-self:stretch;min-width:0}}@media (max-width:52rem){.app-shell{--app-header:var(--app-header-mobile)}.app-shell .app-header{height:var(--app-header);min-height:var(--app-header);grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr) auto;align-content:center;gap:.55rem .75rem;padding:.65rem 1rem .7rem}.app-shell .app-nav{overscroll-behavior-inline:contain;scroll-snap-type:inline proximity;scrollbar-width:none;grid-column:1/-1;justify-content:flex-start;gap:.2rem;width:100%;overflow-x:auto}.app-shell .app-nav::-webkit-scrollbar{display:none}.app-shell .app-nav button{scroll-snap-align:start;flex:none}.app-shell .app-header__status{display:none}.app-shell .studio-page,.app-shell .secondary-page,.app-shell .studio-page[data-stage=review]{width:min(100% - 2rem,76rem);padding-top:2rem}.app-shell .studio-heading,.app-shell .secondary-heading{margin-bottom:1.75rem}.app-shell .studio-heading h1,.app-shell .secondary-heading h1{font-size:clamp(1.9rem,8vw,2.5rem)}.app-shell .studio-flow{grid-template-columns:1fr;gap:0}.app-shell .studio-flow button{border-bottom:.0625rem solid var(--app-line);min-height:3.5rem;padding:.6rem 0}.app-shell .studio-flow button:last-child{border-bottom:0}.app-shell .studio-flow button:after{width:.125rem;height:auto;inset:.5rem auto .5rem -.0625rem}.app-shell .source-grid,.app-shell .channel-picker,.app-shell .compose-readiness__metrics,.app-shell .connections-grid,.app-shell .settings-grid,.app-shell .library-grid,.app-shell .connection-summary{grid-template-columns:1fr}.app-shell .connection-summary>div{border-right:0;border-bottom:.0625rem solid var(--app-line);padding:.75rem 0}.app-shell .connection-summary>div:last-child{border-bottom:0}.app-shell .studio-actionbar{flex-direction:column;align-items:stretch}.app-shell .studio-actionbar>div{justify-content:center}.app-shell .studio-actionbar .button{width:100%}.app-shell .truth-panel{grid-template-columns:1fr;gap:1.25rem}.app-shell .settings-grid{grid-template-columns:minmax(0,1fr)}.app-shell .settings-card--wide{grid-column:1}.app-shell .library-card{grid-template-columns:minmax(0,1fr);grid-template-areas:"meta""title""channels""preview""actions"}.app-shell .library-card footer{border-top:.0625rem solid var(--app-line);border-left:0;flex-flow:wrap;justify-content:flex-start;align-items:center;min-width:0;height:auto;padding:.75rem 0 0}.app-shell .connection-card{grid-template-columns:auto minmax(0,1fr)}.app-shell .connection-card__actions{grid-column:1/-1;justify-content:flex-start}.app-shell .connection-card .status-tag{grid-column:auto;justify-self:auto}.app-shell .settings-form{grid-template-columns:minmax(0,1fr)}.app-shell .settings-form .button{width:100%}}@media (max-width:36rem){.app-shell .studio-page,.app-shell .secondary-page,.app-shell .studio-page[data-stage=review]{width:min(100% - 1.5rem,76rem)}.app-shell .composer-panel,.app-shell .output-panel,.app-shell .studio-grid--review .output-panel,.app-shell .connector-readiness,.app-shell .library-card,.app-shell .settings-card{padding:1.1rem}.app-shell .upload-zone{grid-template-columns:auto minmax(0,1fr)}.app-shell .upload-zone .text-button{display:none}.app-shell .review-inspector dl,.app-shell .review-actions,.app-shell .export-row{grid-template-columns:minmax(0,1fr)}.app-shell .review-actions .save-action-group,.app-shell .review-action-reason,.app-shell .export-row>div{grid-column:1}.app-shell .review-actions .save-action-group,.app-shell .review-actions .save-action-group .button,.app-shell .review-actions>.button,.app-shell .export-row button{width:100%}.app-shell .native-preview textarea{min-height:24rem;padding:1.1rem}}@media (max-height:50rem) and (min-width:52.01rem){.app-shell .studio-page,.app-shell .secondary-page{padding-top:2.25rem}.app-shell .studio-heading,.app-shell .secondary-heading{margin-bottom:1.75rem}.app-shell .studio-heading h1,.app-shell .secondary-heading h1{font-size:clamp(1.9rem,3vw,2.5rem)}.app-shell .field textarea{min-height:8rem}}
.app-shell .studio-grid>.is-step-hidden,.app-shell .studio-grid--review .model-route-panel{display:none}.app-shell .studio-page[data-stage=source],.app-shell .studio-page[data-stage=destinations]{width:min(88rem,100% - clamp(2rem,7vw,7rem))}.app-shell .studio-page[data-stage=source] .composer-panel{grid-template-columns:minmax(32rem,1.25fr) minmax(20rem,.75fr);grid-template-areas:"header header""identity evidence""brief evidence""brief upload""brief files";align-items:start;gap:.9rem clamp(2rem,4vw,4.25rem);display:grid}.app-shell .studio-page[data-stage=source] .composer-panel>.panel-kicker{grid-area:header;margin-bottom:.85rem}.app-shell .studio-page[data-stage=source] .composer-panel>.field:not(.field--large){grid-area:identity;min-width:0;margin-bottom:0}.app-shell .studio-page[data-stage=source] .composer-panel>.field--large{grid-area:brief;grid-template-rows:auto minmax(20rem,1fr) auto;min-width:0;min-height:100%;margin-bottom:0;display:grid}.app-shell .studio-page[data-stage=source] .field--large textarea{height:100%;min-height:clamp(20rem,38vh,29rem)}.app-shell .studio-page[data-stage=source] .source-grid{border:.0625rem solid var(--app-line);background:var(--app-surface-subtle);border-radius:.75rem;grid-area:evidence;grid-template-columns:minmax(0,1fr);align-content:start;gap:.9rem;min-width:0;padding:1.25rem}.app-shell .studio-page[data-stage=source] .source-grid:before{content:"Supporting evidence";color:var(--app-accent);letter-spacing:.11em;text-transform:uppercase;margin-bottom:.1rem;font-size:.6875rem;font-weight:750}.app-shell .studio-page[data-stage=source] .source-grid .field{min-width:0;margin-bottom:0}.app-shell .studio-page[data-stage=source] .source-grid input,.app-shell .studio-page[data-stage=source] .source-grid textarea{min-width:0}.app-shell .studio-page[data-stage=source] .upload-zone{background:var(--app-surface-subtle);border-radius:.75rem;grid-area:upload;min-width:0;min-height:7rem;margin-top:0;padding:1.1rem 1.25rem}.app-shell .studio-page[data-stage=source] .upload-zone:focus-visible{outline:.125rem solid var(--app-accent);outline-offset:.1875rem}.app-shell .studio-page[data-stage=source] .upload-zone__icon{background:var(--app-accent-soft);color:var(--app-accent)}.app-shell .studio-page[data-stage=source] .file-list{grid-area:files;grid-template-columns:minmax(0,1fr);gap:.5rem;min-width:0;margin-top:0;display:grid}.app-shell .studio-page[data-stage=source] .file-chip{grid-template-columns:minmax(0,1fr) auto auto;align-items:center;width:100%;min-width:0;padding:.55rem .65rem .55rem .8rem;display:grid}.app-shell .studio-page[data-stage=source] .file-chip span{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:none;overflow:hidden}.app-shell .studio-page[data-stage=source] .file-chip small{white-space:nowrap}.app-shell .studio-page[data-stage=source] .file-chip button{border-radius:.35rem;place-items:center;width:2rem;height:2rem;display:grid}.app-shell .studio-page[data-stage=source] .file-chip button:hover{background:var(--app-accent-soft);color:var(--app-danger)}.app-shell .studio-page[data-stage=source] .file-chip button:focus-visible{outline:.125rem solid var(--app-accent);outline-offset:.125rem}.app-shell .studio-page[data-stage=destinations] .output-panel{grid-template-columns:minmax(0,1.45fr) minmax(21rem,.72fr);align-items:start;gap:1.75rem 2.25rem;display:grid}.app-shell .studio-page[data-stage=destinations] .output-panel>.panel-kicker{grid-column:1/-1;margin-bottom:.25rem}.app-shell .studio-page[data-stage=destinations] .channel-groups{grid-area:2/1/span 2;min-width:0}.app-shell .studio-page[data-stage=destinations] .channel-group{border-top:.0625rem solid var(--app-line);padding:1.15rem 0}.app-shell .studio-page[data-stage=destinations] .channel-group:first-child{border-top:0;padding-top:0}.app-shell .studio-page[data-stage=destinations] .channel-picker{grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell .model-route-panel{top:calc(var(--app-header) + 1.25rem);border:.0625rem solid var(--app-line);background:var(--app-surface-subtle);border-radius:.75rem;grid-area:2/2;min-width:0;padding:1.25rem;position:sticky}.app-shell .model-route-panel__header{justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1rem;display:flex}.app-shell .model-route-panel__eyebrow{color:var(--app-accent);letter-spacing:.11em;text-transform:uppercase;font-size:.6875rem;font-weight:750}.app-shell .model-route-panel h3{margin:.35rem 0 0;font-family:Playfair Display,serif;font-size:1.4rem;font-weight:500}.app-shell .model-route-current{border:.0625rem solid var(--app-line);background:var(--app-surface);border-radius:.6rem;gap:.4rem;min-width:0;margin-bottom:1rem;padding:.9rem;display:grid}.app-shell .model-route-current>div{justify-content:space-between;align-items:baseline;gap:.75rem;min-width:0;display:flex}.app-shell .model-route-current span{color:var(--app-faint);text-transform:uppercase;letter-spacing:.08em;font-size:.6875rem;font-weight:700}.app-shell .model-route-current strong{min-width:0;color:var(--app-ink);text-overflow:ellipsis;white-space:nowrap;font-size:.8125rem;overflow:hidden}.app-shell .model-route-current small{color:var(--app-muted);overflow-wrap:anywhere;font-size:.72rem;line-height:1.5}.app-shell .model-route-core{margin-bottom:1rem}.app-shell .model-route-core .field{margin-bottom:0}.app-shell .model-route-primary-key{border:.0625rem solid var(--app-line-strong);background:var(--app-accent-soft);border-radius:.6rem;margin-top:.9rem;padding:.9rem}.app-shell .model-route-primary-key small{color:var(--app-muted);overflow-wrap:anywhere;margin-top:.45rem;font-size:.68rem;line-height:1.5;display:block}.app-shell .model-route-advanced{border-top:.0625rem solid var(--app-line);border-bottom:.0625rem solid var(--app-line);margin-bottom:1rem}.app-shell .model-route-advanced summary{cursor:pointer;min-height:3rem;color:var(--app-ink);justify-content:space-between;align-items:center;gap:.75rem;padding:.75rem 2rem .75rem 0;font-size:.78rem;font-weight:750;list-style:none;display:flex;position:relative}.app-shell .model-route-advanced summary::-webkit-details-marker{display:none}.app-shell .model-route-advanced summary:after{content:"+";border:.0625rem solid var(--app-line);width:1.4rem;height:1.4rem;color:var(--app-accent);border-radius:50%;place-items:center;font-size:.85rem;display:grid;position:absolute;right:.2rem}.app-shell .model-route-advanced[open] summary:after{content:"−"}.app-shell .model-route-advanced summary small{min-width:0;color:var(--app-faint);text-overflow:ellipsis;white-space:nowrap;font-size:.68rem;font-weight:600;overflow:hidden}.app-shell .model-route-advanced summary:focus-visible{outline:.125rem solid var(--app-accent);outline-offset:.1875rem}.app-shell .model-route-advanced__content{padding:.25rem 0 1rem}.app-shell .model-route-status{background:var(--app-warning-soft);color:var(--app-warning);border-radius:999px;flex:none;padding:.35rem .55rem;font-size:.625rem;font-weight:750}.app-shell .model-route-status.is-ready{background:var(--app-success-soft);color:var(--app-success)}.app-shell .model-provider-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;margin-bottom:1.1rem;display:grid}.app-shell .model-provider-option{border:.0625rem solid var(--app-line);text-align:left;background:var(--app-surface);min-height:3.25rem;color:var(--app-muted);cursor:pointer;border-radius:.55rem;justify-content:space-between;align-items:center;gap:.5rem;padding:.65rem .75rem;font-size:.75rem;font-weight:700;display:flex}.app-shell .model-provider-option:hover{border-color:var(--app-line-strong);color:var(--app-ink)}.app-shell .model-provider-option.is-selected{border-color:var(--app-accent);background:var(--app-accent-soft);color:var(--app-ink)}.app-shell .model-provider-option small{background:var(--app-line-strong);border-radius:50%;width:.45rem;height:.45rem}.app-shell .model-provider-option small.is-configured{background:var(--app-success)}.app-shell .model-route-fields{border-top:.0625rem solid var(--app-line);padding-top:.9rem}.app-shell .model-route-fields .field{margin-bottom:1rem}.app-shell .model-route-actions{align-items:center;gap:.75rem;margin-top:.25rem;display:flex}.app-shell .model-route-actions .button{min-height:2.5rem;padding-inline:1rem;font-size:.75rem}.app-shell .model-route-message{color:var(--app-muted);overflow-wrap:anywhere;margin:.8rem 0 0;font-size:.75rem;line-height:1.55}.app-shell .model-route-message.is-error{color:var(--app-danger)}.app-shell .model-route-note{border-top:.0625rem solid var(--app-line);color:var(--app-faint);margin:1rem 0 0;padding-top:1rem;font-size:.6875rem;line-height:1.55}.app-shell .studio-page[data-stage=destinations] .output-empty{text-align:left;grid-area:3/2;justify-content:flex-start;align-items:stretch;min-height:0;padding:0}.app-shell .compose-readiness{border:.0625rem solid var(--app-line);background:var(--app-surface);border-radius:.75rem;width:100%;padding:1.1rem}.app-shell .studio-actionbar{border:.0625rem solid var(--app-line);border-radius:0 0 var(--app-radius) var(--app-radius);background:var(--app-surface);max-width:none;color:var(--app-ink);border-top:0;margin-top:0;padding:.9rem 1.1rem;box-shadow:0 .75rem 2rem #18181409}.app-shell .studio-actionbar__summary{color:var(--app-muted)}.app-shell .studio-actionbar .button--outline{background:var(--app-surface)}@media (max-width:68rem){.app-shell .studio-page[data-stage=source],.app-shell .studio-page[data-stage=destinations]{width:min(100% - 2rem,76rem)}.app-shell .studio-page[data-stage=source] .composer-panel{grid-template-columns:minmax(0,1fr);grid-template-areas:"header""identity""brief""evidence""upload""files";row-gap:1rem}.app-shell .studio-page[data-stage=destinations] .output-panel{grid-template-columns:minmax(0,1fr)}.app-shell .studio-page[data-stage=destinations] .output-panel>*{grid-area:auto/1}.app-shell .studio-page[data-stage=source] .source-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.app-shell .studio-page[data-stage=source] .source-grid:before{grid-column:1/-1}.app-shell .model-route-panel{position:static}}@media (max-width:44rem){.app-shell .studio-page[data-stage=source] .source-grid,.app-shell .studio-page[data-stage=destinations] .channel-picker,.app-shell .model-provider-grid{grid-template-columns:minmax(0,1fr)}.app-shell .studio-actionbar{flex-direction:column;align-items:stretch}.app-shell .studio-actionbar__summary{flex-wrap:wrap;display:flex}}
.app-shell .campaign-stale-banner{border-radius:var(--app-radius);background:var(--app-warning-soft);color:var(--app-ink);border:.0625rem solid #e2d2ad;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.55rem 1.25rem;padding:1rem 1.1rem;display:grid}.app-shell .campaign-stale-banner__copy{min-width:0}.app-shell .campaign-stale-banner__label{color:var(--app-warning);letter-spacing:.1em;text-transform:uppercase;margin-bottom:.25rem;font-size:.6875rem;font-weight:800;display:block}.app-shell .campaign-stale-banner strong{font-size:.9375rem;line-height:1.4;display:block}.app-shell .campaign-stale-banner p,.app-shell .campaign-stale-banner small{color:var(--app-muted);grid-column:1;margin:0;font-size:.8125rem;line-height:1.55}.app-shell .campaign-stale-banner small{color:var(--app-warning);font-weight:650}.app-shell .campaign-stale-banner button{min-height:2.5rem;color:var(--app-ink);cursor:pointer;background:#fffdf7;border:.0625rem solid #cfbb8d;border-radius:.45rem;grid-area:1/2/span 3;padding:.6rem .85rem;font-size:.75rem;font-weight:750}.app-shell .campaign-stale-banner button:hover{border-color:var(--app-warning);background:#fff}.app-shell .connection-badge--stale{background:var(--app-warning-soft);color:var(--app-warning);border-color:#e2d2ad}.app-shell .export-row button:disabled,.app-shell .review-actions button:disabled{cursor:not-allowed;opacity:.5}@media (max-width:48rem){.app-shell .campaign-stale-banner{grid-template-columns:minmax(0,1fr)}.app-shell .campaign-stale-banner p,.app-shell .campaign-stale-banner small,.app-shell .campaign-stale-banner button{grid-column:1}.app-shell .campaign-stale-banner button{grid-row:auto;justify-self:start}}
.app-shell .campaign-status-strip{border:.0625rem solid var(--app-line);background:var(--app-surface-subtle);border-radius:.55rem;justify-content:space-between;align-items:center;gap:1rem;padding:.85rem 1rem;display:flex}.app-shell .campaign-status-strip__primary,.app-shell .campaign-status-strip__meta{flex-wrap:wrap;align-items:center;gap:.55rem;display:flex}.app-shell .campaign-status-strip strong{color:var(--app-ink);font-size:.8125rem}.app-shell .campaign-status-strip small{color:var(--app-muted);font-size:.75rem}.app-shell .campaign-state-badge,.app-shell .draft-state-badge{border:.0625rem solid var(--app-line);background:var(--app-surface);min-height:1.65rem;color:var(--app-muted);white-space:nowrap;border-radius:999rem;align-items:center;padding:.22rem .48rem;font-size:.6875rem;font-weight:750;line-height:1;display:inline-flex}.app-shell .campaign-state-badge.is-saved,.app-shell .draft-state-badge.is-approved{background:var(--app-success-soft);color:var(--app-success);border-color:#cdddcf}.app-shell .campaign-state-badge.is-unsaved,.app-shell .draft-state-badge.is-edited,.app-shell .draft-state-badge.is-needs_review{background:var(--app-warning-soft);color:var(--app-warning);border-color:#e2d2ad}.app-shell .campaign-state-badge.is-stale,.app-shell .draft-state-badge.is-stale,.app-shell .draft-state-badge.is-failed,.app-shell .draft-state-badge.is-empty{color:#9b463d;background:#fff4f1;border-color:#e5c5c0}.app-shell .draft-state-badge.is-generated,.app-shell .draft-state-badge.is-regenerated{border-color:var(--app-line);background:var(--app-surface);color:var(--app-muted)}.app-shell .review-tabs button{align-items:flex-start}.app-shell .review-tabs button .review-tab__copy{place-items:initial;background:0 0;border:0;border-radius:0;flex:1;gap:.18rem;width:auto;min-width:0;height:auto;display:grid}.app-shell .review-tab__copy>strong{color:inherit;text-overflow:ellipsis;white-space:nowrap;font-size:.8125rem;overflow:hidden}.app-shell .review-tab__status{color:var(--app-faint);letter-spacing:.045em;text-transform:uppercase;font-size:.625rem;font-weight:750}.app-shell .review-tabs button.is-active .review-tab__status{color:var(--app-accent)}.app-shell .draft-state-actions{border-top:.0625rem solid var(--app-line);flex-wrap:wrap;gap:.5rem;margin-top:1rem;padding-top:.9rem;display:flex}.app-shell .draft-state-actions button,.app-shell .version-history-toggle,.app-shell .version-history-list button,.app-shell .regeneration-dialog button{border:.0625rem solid var(--app-line-strong);background:var(--app-surface);min-height:2.35rem;color:var(--app-ink);cursor:pointer;border-radius:.45rem;padding:.55rem .75rem;font-size:.75rem;font-weight:750}.app-shell .draft-state-actions button:hover,.app-shell .version-history-toggle:hover,.app-shell .version-history-list button:hover,.app-shell .regeneration-dialog button:hover{background:#fffdf8;border-color:#b8a779}.app-shell .draft-state-actions button.is-approved{background:var(--app-success-soft);color:var(--app-success);border-color:#cdddcf}.app-shell .version-history{border-top:.0625rem solid var(--app-line);margin-top:1rem;padding-top:1rem}.app-shell .version-history-toggle{justify-content:space-between;align-items:center;width:100%;display:flex}.app-shell .version-history-list{gap:.55rem;margin-top:.65rem;display:grid}.app-shell .version-history-item{border:.0625rem solid var(--app-line);background:var(--app-surface);border-radius:.45rem;padding:.75rem}.app-shell .version-history-item header{justify-content:space-between;gap:.75rem;display:flex}.app-shell .version-history-item strong,.app-shell .version-history-item small{display:block}.app-shell .version-history-item strong{color:var(--app-ink);font-size:.75rem}.app-shell .version-history-item small{color:var(--app-faint);margin-top:.2rem;font-size:.6875rem}.app-shell .version-history-item__actions{gap:.45rem;margin-top:.6rem;display:flex}.app-shell .version-history-item__actions button{min-height:2rem;padding:.4rem .6rem}.app-shell .version-history-item__actions button:last-child{color:#9b463d}.app-shell .review-action-reason{color:var(--app-warning);grid-column:1/-1;margin:0;font-size:.75rem;line-height:1.5}.app-shell .save-action-group{flex-wrap:wrap;gap:.45rem;display:inline-flex}.app-shell .regeneration-dialog-backdrop{z-index:1000;background:#18181475;place-items:center;padding:1.25rem;display:grid;position:fixed;inset:0}.app-shell .regeneration-dialog{border:.0625rem solid var(--app-line-strong);background:var(--app-surface);width:min(34rem,100%);max-height:min(42rem,100vh - 2.5rem);color:var(--app-ink);border-radius:.75rem;padding:1.35rem;overflow:auto;box-shadow:0 1.5rem 4rem #1818142e}.app-shell .regeneration-dialog__eyebrow{color:var(--app-accent);letter-spacing:.1em;text-transform:uppercase;font-size:.6875rem;font-weight:800}.app-shell .regeneration-dialog h2{letter-spacing:-.025em;margin:.5rem 0 0;font-family:Playfair Display,serif;font-size:1.6rem;font-weight:500}.app-shell .regeneration-dialog>p{color:var(--app-muted);margin:.65rem 0 0;font-size:.8125rem;line-height:1.65}.app-shell .regeneration-dialog__options{gap:.65rem;margin-top:1rem;display:grid}.app-shell .regeneration-option{text-align:left;gap:.25rem;width:100%;min-height:0;padding:.9rem;display:grid}.app-shell .regeneration-option strong,.app-shell .regeneration-option span{display:block}.app-shell .regeneration-option span{color:var(--app-muted);font-size:.75rem;font-weight:500;line-height:1.5}.app-shell .regeneration-option:disabled{cursor:not-allowed;opacity:.5}.app-shell .regeneration-dialog__footer{justify-content:flex-end;margin-top:1rem;display:flex}@media (max-width:48rem){.app-shell .campaign-status-strip{flex-direction:column;align-items:flex-start}.app-shell .campaign-status-strip__meta,.app-shell .save-action-group{width:100%}.app-shell .save-action-group .button{flex:1}}@media (prefers-reduced-motion:reduce){.app-shell .regeneration-dialog-backdrop,.app-shell .regeneration-dialog{animation:none}}.app-shell .file-chip--canonical{grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:.5rem;min-width:0;display:grid}.app-shell .file-chip__identity{gap:.18rem;min-width:0;display:grid}.app-shell .file-chip__identity>span,.app-shell .file-chip__identity>small{overflow-wrap:anywhere;min-width:0}.app-shell .file-chip__identity>small{color:#161b1f94;line-height:1.35}.app-shell .source-state-badge{color:#465058;letter-spacing:.035em;text-align:center;text-transform:uppercase;background:#eff1eee6;border:1px solid #222b311f;border-radius:999px;justify-self:end;max-width:13rem;padding:.3rem .48rem;font-size:.67rem;font-weight:760;line-height:1.2}.app-shell .source-state-badge.is-usable_evidence{color:#245f47;background:#e3f3eaeb;border-color:#246c4c38}.app-shell .source-state-badge.is-reference_only,.app-shell .source-state-badge.is-unsupported{color:#765217;background:#faf2daeb;border-color:#8b611633}.app-shell .source-state-badge.is-processing{color:#2f547f;background:#e4ecf8eb;border-color:#2f547f2e}.app-shell .source-state-badge.is-failed{color:#7d2929;background:#fae6e6eb;border-color:#91313133}.app-shell .source-contract-summary{color:#161b1fad;background:#f7f8f5db;border:1px solid #222b311a;border-radius:.82rem;flex-wrap:wrap;align-items:center;gap:.45rem;margin-top:.75rem;padding:.75rem .85rem;font-size:.76rem;line-height:1.45;display:flex}.app-shell .source-contract-summary strong{color:#22292e}.app-shell .source-contract-summary i{background:#161b1f47;border-radius:50%;width:.2rem;height:.2rem}@media (max-width:48rem){.app-shell .file-chip--canonical{grid-template-columns:minmax(0,1fr) auto}.app-shell .source-state-badge{grid-column:1/-1;justify-self:start}}@media (max-width:30rem){.app-shell .file-chip--canonical{grid-template-columns:minmax(0,1fr)}.app-shell .file-chip--canonical>button,.app-shell .source-state-badge{justify-self:start}}@media (prefers-reduced-motion:reduce){.app-shell .file-chip--canonical,.app-shell .source-state-badge{transition-duration:.01ms!important;animation-duration:.01ms!important}}
.app-shell,.app-shell main,.app-shell section,.app-shell article,.app-shell aside,.app-shell header,.app-shell nav,.app-shell form,.app-shell fieldset,.app-shell .studio-page,.app-shell .secondary-page,.app-shell .studio-grid,.app-shell .panel,.app-shell .composer-panel,.app-shell .output-panel,.app-shell .review-workspace,.app-shell .source-truth-grid,.app-shell .recent-card,.app-shell .settings-grid,.app-shell .settings-card{min-width:0}.app-shell{width:100%;max-width:100%;overflow-x:clip}.app-shell img,.app-shell svg,.app-shell video,.app-shell canvas,.app-shell input,.app-shell textarea,.app-shell select,.app-shell button{max-width:100%}.app-shell .app-header{isolation:isolate}.app-shell .app-nav{scrollbar-width:thin;scrollbar-color:var(--app-line-strong) transparent}.app-shell .studio-page,.app-shell .secondary-page{max-width:calc(100vw - 2rem)}.app-shell .studio-heading,.app-shell .secondary-heading,.app-shell .studio-main,.app-shell .studio-grid,.app-shell .composer-panel,.app-shell .output-panel,.app-shell .review-workspace,.app-shell .recent-card,.app-shell .truth-panel,.app-shell .connection-card,.app-shell .settings-card{overflow-wrap:anywhere}.app-shell .studio-main{min-width:0;max-width:100%;overflow:hidden}.app-shell .studio-flow,.app-shell .studio-flow button,.app-shell .studio-flow button>span:last-child,.app-shell .studio-flow strong,.app-shell .studio-flow small{min-width:0}.app-shell .studio-flow strong,.app-shell .studio-flow small,.app-shell .recent-card h2,.app-shell .recent-card p,.app-shell .recent-card code,.app-shell .file-chip span,.app-shell .connection-card h2,.app-shell .connection-card p,.app-shell .settings-card h2,.app-shell .settings-card p{overflow-wrap:anywhere;word-break:break-word}.app-shell .source-truth-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.875rem;min-width:0;display:grid}.app-shell .source-truth-grid>*{min-width:0}.app-shell .review-tabs,.app-shell .destination-tabs,.app-shell .channel-tabs,.app-shell .control-strip,.app-shell .studio-controls{overscroll-behavior-inline:contain;scrollbar-width:thin;-webkit-overflow-scrolling:touch;max-width:100%;overflow:auto hidden}.app-shell .review-tabs>*,.app-shell .destination-tabs>*,.app-shell .channel-tabs>*,.app-shell .control-strip>*,.app-shell .studio-controls>*{flex:none}.app-shell .review-actions,.app-shell .export-row,.app-shell .studio-actionbar,.app-shell .panel-kicker--with-actions,.app-shell .settings-actions,.app-shell .recent-card footer{flex-wrap:wrap;min-width:0;max-width:100%}.app-shell .review-actions>*,.app-shell .export-row>*,.app-shell .studio-actionbar>*,.app-shell .panel-kicker--with-actions>*,.app-shell .settings-actions>*,.app-shell .recent-card footer>*{min-width:0}.app-shell .recent-card,.app-shell .library-card,.app-shell .connection-card,.app-shell .settings-card,.app-shell .truth-panel{max-width:100%}.app-shell .recent-card pre,.app-shell .recent-card code,.app-shell .review-workspace pre,.app-shell .review-workspace code,.app-shell .output-panel pre,.app-shell .output-panel code{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;max-width:100%}.app-shell .modal,.app-shell .modal-card,.app-shell .dialog,.app-shell [role=dialog]{max-width:min(42rem,100vw - 2rem);max-height:calc(100dvh - 2rem)}@media (max-width:72rem){.app-shell .app-header{grid-template-columns:minmax(9.5rem,1fr) minmax(0,auto);gap:.75rem}.app-shell .app-header__status{display:none}.app-shell .app-nav{justify-content:flex-start;justify-self:end;max-width:min(100%,100vw - 13rem);overflow:auto hidden}.app-shell .studio-page,.app-shell .secondary-page,.app-shell .studio-page[data-stage=review]{width:min(100% - 2rem,76rem);max-width:calc(100vw - 2rem)}.app-shell .studio-heading,.app-shell .secondary-heading{flex-direction:column;align-items:flex-start;gap:1.25rem}.app-shell .library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell .connections-grid,.app-shell .settings-grid{grid-template-columns:minmax(0,1fr)}.app-shell .settings-card--wide{grid-column:auto}}@media (max-width:52rem){.app-shell{--app-header:auto}.app-shell .app-header{grid-template-columns:minmax(0,1fr);align-items:stretch;gap:.625rem;height:auto;min-height:0;padding:.75rem 1rem;position:sticky;top:0}.app-shell .brand-button{justify-self:start}.app-shell .app-nav{justify-content:flex-start;justify-self:stretch;width:100%;max-width:100%;overflow-x:auto}.app-shell .app-nav button{flex:none;min-height:2.5rem}.app-shell .toast{top:7.5rem}.app-shell .studio-page,.app-shell .secondary-page,.app-shell .studio-page[data-stage=review]{width:min(100% - 1.5rem,76rem);max-width:calc(100vw - 1.5rem);padding-top:2rem;padding-bottom:5rem}.app-shell .studio-heading,.app-shell .secondary-heading{margin-bottom:1.75rem}.app-shell .studio-heading h1,.app-shell .secondary-heading h1{max-width:100%;font-size:clamp(2rem,10vw,2.75rem)}.app-shell .studio-flow{border:.0625rem solid var(--app-line);border-radius:var(--app-radius);background:var(--app-surface);grid-template-columns:minmax(0,1fr);gap:0;overflow:hidden}.app-shell .studio-flow button{border-bottom:.0625rem solid var(--app-line);min-height:3.75rem;padding:.75rem 1rem}.app-shell .studio-flow button:last-child{border-bottom:0}.app-shell .studio-flow button:after{opacity:0;width:.1875rem;height:auto;inset:0 auto 0 0}.app-shell .studio-flow button.is-active:after{opacity:1;right:auto}.app-shell .studio-grid,.app-shell .studio-grid--review{border-radius:var(--app-radius) var(--app-radius) 0 0}.app-shell .composer-panel,.app-shell .output-panel,.app-shell .studio-grid--review .output-panel{padding:1.25rem}.app-shell .source-grid,.app-shell .source-truth-grid,.app-shell .channel-picker,.app-shell .library-grid,.app-shell .connections-grid,.app-shell .settings-grid{grid-template-columns:minmax(0,1fr)}.app-shell .upload-zone,.app-shell .connection-card{grid-template-columns:auto minmax(0,1fr)}.app-shell .upload-zone .text-button,.app-shell .connection-card .status-tag{grid-column:1/-1;justify-self:start}.app-shell .review-actions,.app-shell .export-row,.app-shell .studio-actionbar,.app-shell .settings-form{grid-template-columns:minmax(0,1fr);gap:.75rem;display:grid}.app-shell .review-actions .button,.app-shell .export-row .button,.app-shell .studio-actionbar .button,.app-shell .settings-form .button,.app-shell .settings-form button{width:100%;margin-left:0}.app-shell .panel-kicker--with-actions{flex-direction:column;align-items:flex-start}.app-shell .panel-kicker--with-actions>div{flex-wrap:wrap;justify-content:flex-start;width:100%;margin-left:0}.app-shell .truth-panel{grid-template-columns:minmax(0,1fr);gap:1.5rem}}@media (max-width:37rem){.app-shell .app-header{padding-inline:.75rem}.app-shell .brand-mark__copy small{display:none}.app-shell .app-nav button{padding-inline:.75rem;font-size:.75rem}.app-shell .studio-page,.app-shell .secondary-page,.app-shell .studio-page[data-stage=review]{width:min(100% - 1rem,76rem);max-width:calc(100vw - 1rem);padding-top:1.5rem}.app-shell .studio-heading h1,.app-shell .secondary-heading h1{font-size:clamp(1.875rem,11vw,2.4rem)}.app-shell .studio-heading p:last-child,.app-shell .secondary-heading p:last-child{font-size:.875rem}.app-shell .composer-panel,.app-shell .output-panel,.app-shell .studio-grid--review .output-panel{padding:1rem}.app-shell .panel-kicker{margin-bottom:1.25rem}.app-shell .field textarea{min-height:10rem}.app-shell .modal,.app-shell .modal-card,.app-shell .dialog,.app-shell [role=dialog]{max-width:calc(100vw - 1rem);max-height:calc(100dvh - 1rem)}}@media (prefers-reduced-motion:reduce){.app-shell,.app-shell *,.app-shell :before,.app-shell :after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
