.site-registration-links{display:inline-flex;flex-wrap:wrap;align-items:center;gap:4px 20px;font-size:12px;line-height:20px}.site-registration-links a{display:inline-flex;align-items:center;gap:6px;min-height:28px;color:inherit;text-decoration:none;white-space:nowrap}.site-registration-links img{flex:none;object-fit:contain}.site-registration-links a:hover{text-decoration:underline;text-underline-offset:3px}.site-registration-links a:focus-visible{outline:2px solid var(--accent, #d97757);outline-offset:3px;border-radius:2px}.cat-paw-link{--cat-flap: 0;position:relative;isolation:isolate;width:min(340px,100%);aspect-ratio:340 / 150;margin-bottom:-65px}.cat-paw-link__back,.cat-paw-link__button{position:absolute;top:8%;left:20.588%;width:58.824%;height:32%;border-radius:999px}.cat-paw-link__back{background:var(--landing-accent-dark);box-shadow:0 4px #0000001f}.cat-paw-link__scene{position:absolute;inset:0;z-index:1;width:100%;height:100%;overflow:visible;pointer-events:none}.cat-paw-link__scene--front{z-index:3}.cat-paw-link__button{z-index:2;display:flex;align-items:center;justify-content:center;gap:12px;border:1px solid white;background:#fff;color:var(--landing-accent-dark)!important;font-size:15px;font-weight:700;text-decoration:none;transform-origin:center top;transform:perspective(400px) rotateX(calc(var(--cat-flap) * -32deg));transition:background .16s,box-shadow .16s}.cat-paw-link__button svg{width:18px;height:18px}.cat-paw-link__button:hover{background:#fff8f3}.cat-paw-link__button:active{box-shadow:inset 0 2px 5px #00000024}.cat-paw-link__button:focus-visible{outline:2px solid white;outline-offset:5px}.cat-paw-link[data-zone=bottom] .cat-paw-link__pads{display:none}.cat-paw-link:not([data-zone=bottom]) .cat-paw-link__claws{display:none}@media(prefers-reduced-motion:reduce){.cat-paw-link__scene{display:none}.cat-paw-link__button{transform:none;transition:none}}.landing-page,.legal-page{--landing-ink: #24211e;--landing-paper: #f6f5ef;--landing-surface: #fffdf8;--landing-accent: #d97757;--landing-accent-dark: #a94f35;--landing-serif: "Iowan Old Style", "Songti SC", STSong, Georgia, serif;min-height:100vh;color:var(--landing-ink)}.landing-page{overflow-x:clip;background:var(--landing-paper)}.landing-page *{box-sizing:border-box}.landing-page a,.legal-page a{color:inherit;text-decoration:none}.landing-header{position:relative;z-index:5;display:grid;grid-template-columns:auto 1fr auto;align-items:center;width:min(1440px,calc(100% - 64px));min-height:92px;margin:0 auto;border-bottom:1px solid rgba(41,39,36,.12)}.landing-brand{display:inline-flex;align-items:center;gap:11px}.landing-brand img{width:48px;height:48px;aspect-ratio:1 / 1;flex:none;border-radius:14px;object-fit:contain;object-position:center}.landing-brand>span{display:grid;gap:1px;min-width:0}.landing-brand strong{color:var(--landing-ink);font-size:18px;font-weight:750;line-height:1.1;letter-spacing:.04em;white-space:nowrap}.landing-brand small{color:#776f67;font-size:9px;font-weight:650;line-height:1.1;letter-spacing:.08em;text-transform:uppercase}.landing-header nav{display:flex;align-items:center;justify-self:center;gap:30px;color:#5e5852;font-size:13px;font-weight:650}.landing-header nav a:hover{color:var(--landing-accent-dark)}.landing-header>a:first-child{justify-self:start;min-width:0}.landing-auth-link{justify-self:end;max-width:min(220px,28vw);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.landing-hero{display:grid;grid-template-columns:minmax(400px,.86fr) minmax(560px,1.14fr);align-items:center;gap:clamp(36px,5vw,84px);width:min(1440px,calc(100% - 64px));min-height:720px;margin:0 auto;padding:82px 0 104px}.landing-hero-copy{position:relative;z-index:2}.landing-hero h1{max-width:17ch;margin:0;font-family:var(--landing-serif);font-size:clamp(44px,4.6vw,72px);font-weight:600;letter-spacing:-.042em;line-height:1.08}.landing-lead{max-width:62ch;margin:28px 0 0;color:#5e5852;font-size:clamp(15px,1.25vw,18px);line-height:1.82}.landing-hero-actions{display:flex;align-items:center;gap:22px;margin-top:32px}.landing-text-link{display:inline-flex;align-items:center;gap:8px;color:#4d4842!important;font-size:13px;font-weight:750}.landing-text-link svg{width:17px;color:var(--landing-accent)}.landing-proof{display:grid;gap:10px;margin:32px 0 0;padding:0;list-style:none;color:#6e675f;font-size:12px}.landing-proof li{display:flex;align-items:center;gap:8px}.landing-proof svg{width:15px;height:15px;flex:none;color:#4d7c5d}.landing-hero-visual{position:relative;min-width:0}.landing-hero-visual picture{position:relative;display:block;overflow:hidden;aspect-ratio:16 / 9;border:1px solid rgba(41,39,36,.16);border-radius:20px;background:#e9e2d8;box-shadow:0 34px 78px #382b222b,0 3px 12px #382b2214}.landing-hero-visual img{display:block;width:100%;height:100%;object-fit:cover}.landing-mission{display:grid;gap:22px;padding:128px max(32px,calc((100vw - 1280px)/2));background:var(--landing-surface);color:var(--landing-ink)}.landing-mission h2{max-width:24ch;margin:0;padding-left:24px;border-left:2px solid var(--landing-accent);font-family:var(--landing-serif);font-size:clamp(34px,3.8vw,56px);font-weight:560;letter-spacing:-.035em;line-height:1.2}.landing-mission p{max-width:76ch;margin:0;padding-left:26px;color:#56514b;font-size:16px;line-height:1.9}.landing-heading{max-width:66ch}.landing-heading h2{margin:0;font-family:var(--landing-serif);font-size:clamp(34px,3.9vw,54px);font-weight:580;letter-spacing:-.035em;line-height:1.16}.landing-heading>p{margin:22px 0 0;color:#68615a;font-size:16px;line-height:1.78}.landing-why{padding:124px max(32px,calc((100vw - 1280px)/2)) 110px}.landing-scale-note{margin:62px 0 0;padding-bottom:12px;border-bottom:1px solid var(--landing-ink);color:#56514b;font-size:12px;font-weight:650}.landing-modes{display:grid;grid-template-columns:repeat(4,1fr);border-bottom:1px solid #ddd7cd}.landing-modes article{display:grid;align-content:start;gap:22px;padding:30px 30px 36px 0;border-right:1px solid #e2ddd4}.landing-modes article+article{padding-left:30px}.landing-modes article:last-child{border-right:0;padding-right:0}.landing-modes header{display:grid;gap:12px}.landing-modes h3{margin:0;font-family:var(--landing-serif);font-size:clamp(20px,1.7vw,25px);font-weight:600;letter-spacing:-.02em;line-height:1.25}.landing-cost-label{margin:0;color:var(--landing-accent-dark);font-size:12px;font-weight:700}.landing-cost-ladder{display:flex;gap:5px}.landing-cost-ladder i{width:24px;height:3px;background:#dcd6cb}.landing-cost-ladder i[data-on]{background:var(--landing-accent)}.landing-modes dl{display:grid;gap:7px;margin:0}.landing-modes dt{margin-top:12px;color:#4d7c5d;font-size:11px;font-weight:750;letter-spacing:.02em}.landing-modes dt:first-child{margin-top:0}.landing-modes dt.landing-gap-term{color:var(--landing-accent-dark)}.landing-modes dd{margin:0;color:#6a635c;font-size:13px;line-height:1.76}.landing-modes dd.landing-gap{color:#56514b}.landing-balance{max-width:70ch;margin:46px 0 0;padding-left:22px;border-left:2px solid var(--landing-accent);color:#3d3833;font-family:var(--landing-serif);font-size:clamp(17px,1.5vw,21px);line-height:1.68}.landing-section{padding:124px max(32px,calc((100vw - 1280px)/2))}.landing-steps{display:grid;grid-template-columns:repeat(4,1fr);margin-top:68px;border-top:1px solid #cdc7bd}.landing-steps article{position:relative;padding:30px 26px 12px 0;border-right:1px solid #ddd7cd}.landing-steps article+article{padding-left:26px}.landing-steps article:last-child{border-right:0}.landing-steps span{color:var(--landing-accent);font-family:SFMono-Regular,Consolas,monospace;font-size:12px;font-weight:800}.landing-steps h3{margin:38px 0 12px;font-size:18px}.landing-steps p{margin:0;color:#6a635c;font-size:13px;line-height:1.75}.landing-control-panel{display:grid;grid-template-columns:.7fr 1.3fr;gap:56px;margin-top:84px;padding-top:46px;border-top:1px solid #cdc7bd}.landing-control-panel>h3{margin:0;font-family:var(--landing-serif);font-size:clamp(24px,2.2vw,32px);font-weight:600;letter-spacing:-.028em;line-height:1.34}.landing-control-panel>div{display:grid;gap:24px}.landing-control-panel article{display:flex;gap:14px}.landing-control-panel article>svg{flex:none;width:19px;color:#4d7c5d}.landing-control-panel article span{display:grid;gap:5px}.landing-control-panel article strong{font-size:14px}.landing-control-panel article p{margin:0;color:#6a635c;font-size:13px;line-height:1.6}.landing-care{padding:118px max(32px,calc((100vw - 1280px)/2));background:#ebe8df}.landing-care-list{display:grid;grid-template-columns:repeat(4,1fr);margin-top:62px;border-top:1px solid #cdc7bd}.landing-care-list article{padding:26px 24px 34px 0;border-right:1px solid #d6cfc1}.landing-care-list article+article{padding-left:24px}.landing-care-list article:last-child{border-right:0;padding-right:0}.landing-care-list svg{width:21px;color:var(--landing-accent-dark)}.landing-care-list h3{margin:26px 0 10px;font-size:15px}.landing-care-list p{margin:0;color:#6a635c;font-size:13px;line-height:1.72}.landing-region{display:grid;grid-template-columns:auto 1fr;gap:22px;margin-top:46px;padding:34px;border-radius:16px;background:#2c2926;color:#fff}.landing-region>span{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:#433d38;color:#e79474}.landing-region>span svg{width:22px}.landing-region h3{margin:3px 0 8px;font-size:18px}.landing-region p{max-width:90ch;margin:0;color:#c8c1ba;font-size:14px;line-height:1.7;white-space:pre-line}.landing-region ul{display:flex;flex-wrap:wrap;gap:8px 28px;margin:20px 0 0;padding:0;color:#ded8d1;font-size:12px;list-style:none}.landing-region li:before{content:"·";margin-right:7px;color:#e79474}.landing-closing{display:grid;justify-items:center;padding:118px 32px;background:var(--landing-accent);color:#fff;text-align:center}.landing-closing h2{max-width:20ch;margin:0;font-family:var(--landing-serif);font-size:clamp(36px,4.6vw,62px);font-weight:580;letter-spacing:-.04em;line-height:1.16}.landing-closing>p{max-width:56ch;margin:22px 0 34px;color:#ffffffd6;font-size:15px;line-height:1.72}.landing-footer{display:grid;grid-template-columns:1fr auto;gap:34px;align-items:center;padding:54px max(32px,calc((100vw - 1280px)/2));background:var(--landing-surface)}.landing-footer>div{display:flex;gap:24px;align-items:center;color:#5e5852;font-size:12px;font-weight:680}.landing-footer>div>span{color:#a09890;font-size:10px;font-weight:700;letter-spacing:.14em}.landing-footer>p{display:flex;flex-direction:column;align-items:flex-start;gap:8px;grid-column:1 / -1;margin:0;padding-top:22px;border-top:1px solid #e2ddd4;color:#857e76;font-size:12px;line-height:1.7}.legal-registration-footer{margin-top:32px;padding-top:20px;border-top:1px solid #e2ddd4;color:#857e76}.legal-page{min-height:100vh}.legal-page>header{display:flex;align-items:center;justify-content:space-between;width:min(1040px,calc(100% - 48px));min-height:90px;margin:0 auto;border-bottom:1px solid rgba(41,39,36,.12);color:#655e57;font-size:12px;font-weight:700}.legal-page main{width:min(800px,calc(100% - 48px));margin:0 auto;padding:90px 0 130px}.legal-page h1{margin:0;font-family:var(--landing-serif);font-size:clamp(42px,6.4vw,70px);font-weight:590;letter-spacing:-.04em}.legal-intro{margin:26px 0 70px;padding-bottom:40px;border-bottom:1px solid #d7d1c7;color:#625b54;font-size:16px;line-height:1.85}.legal-page section{display:grid;grid-template-columns:190px 1fr;gap:34px;padding:28px 0;border-bottom:1px solid #e0dbd2}.legal-page section h2{margin:0;font-size:16px}.legal-page section p{margin:0;color:#625b54;font-size:14px;line-height:1.9}@media(max-width:1180px){.landing-modes{grid-template-columns:1fr}.landing-modes article,.landing-modes article+article{padding:28px 0;border-right:0;border-bottom:1px solid #e2ddd4}.landing-modes article:last-child{border-bottom:0}}@media(max-width:1100px){.landing-header{grid-template-columns:auto auto;gap:12px;justify-content:space-between}.landing-header nav{display:none}.landing-hero{grid-template-columns:1fr;padding-top:68px}.landing-hero-copy{max-width:760px}.landing-hero h1{max-width:20ch}.landing-care-list{grid-template-columns:repeat(2,1fr)}.landing-care-list article:nth-child(2n){border-right:0;padding-right:0}.landing-care-list article:nth-child(odd){padding-left:0}}@media(max-width:760px){.landing-header,.landing-hero{width:min(100% - 32px,1440px)}.landing-header{grid-template-columns:minmax(0,1fr) auto;min-height:74px}.landing-auth-link{max-width:40vw}.landing-brand small{display:none}.landing-hero{grid-template-columns:minmax(0,1fr);min-height:auto;padding:58px 0 76px}.landing-hero h1{font-size:clamp(38px,11vw,52px)}.landing-lead{font-size:15px}.landing-hero-actions{align-items:flex-start;flex-direction:column}.landing-hero-visual{margin-top:18px}.landing-hero-visual picture{border-radius:16px}.landing-mission,.landing-why,.landing-section,.landing-care{padding:82px 20px}.landing-steps{grid-template-columns:1fr}.landing-steps article,.landing-steps article+article{padding:24px 0;border-right:0;border-bottom:1px solid #ddd7cd}.landing-steps h3{margin-top:14px}.landing-control-panel{grid-template-columns:1fr;gap:32px;margin-top:56px;padding-top:34px}.landing-care-list{grid-template-columns:1fr;margin-top:44px}.landing-care-list article,.landing-care-list article:nth-child(n){padding:22px 0;border-right:0;border-bottom:1px solid #d6cfc1}.landing-region{grid-template-columns:1fr;padding:26px}.landing-region ul{display:grid}.landing-footer{grid-template-columns:1fr}.landing-footer>div{flex-wrap:wrap}.legal-page section{grid-template-columns:1fr;gap:8px}}@media(prefers-reduced-motion:reduce){.landing-page *,.landing-page *:before,.landing-page *:after{scroll-behavior:auto!important;transition:none!important}}.landing-thread{padding:124px max(32px,calc((100vw - 1280px)/2)) 118px;background:#24211e;color:#f2ede6}.landing-thread-head{max-width:66ch}.landing-thread-head h2{margin:0;font-family:Iowan Old Style,Songti SC,STSong,Georgia,serif;font-size:clamp(34px,3.9vw,54px);font-weight:580;letter-spacing:-.035em;line-height:1.16}.landing-thread-lead{margin:22px 0 0;color:#a89f96;font-size:16px;line-height:1.78}.landing-thread-source{margin:46px 0 0;padding:26px 32px;border-left:2px solid #d97757;background:#fffdf80a}.landing-thread-source figcaption{color:#8d857c;font-size:12px;font-weight:700;letter-spacing:.06em}.landing-thread-source blockquote{display:grid;gap:6px;margin:14px 0 0}.landing-thread-source blockquote p{margin:0;color:#f2ede6;font-family:Iowan Old Style,Songti SC,STSong,Georgia,serif;font-size:clamp(15px,1.25vw,19px);font-weight:500;letter-spacing:-.008em;line-height:1.62}.landing-thread-source blockquote p:last-child{color:#f0d6c6;font-weight:650}.landing-thread-modes{display:grid;grid-template-columns:repeat(4,1fr);grid-template-rows:auto auto auto auto auto;align-items:start;gap:clamp(14px,1.8vw,26px);margin:clamp(46px,5vh,66px) 0 0;padding:0;list-style:none}.landing-thread-mode{display:grid;grid-row:span 5;grid-template-rows:subgrid;gap:0 clamp(14px,1.8vw,26px);align-content:start;min-width:0}.landing-thread-mode>.landing-thread-stage{margin-bottom:16px}.landing-thread-stage{position:relative;aspect-ratio:9 / 16;overflow:hidden;border:1px solid rgba(242,237,230,.14);border-radius:6px;background:#171514;transition:border-color .32s ease,box-shadow .32s ease}.landing-thread-mode[data-active=true] .landing-thread-stage{border-color:#d97757b3;box-shadow:0 0 0 1px #d9775747,0 18px 44px #0000006b}.landing-thread-stage>img,.landing-thread-stage>video{display:block;width:100%;height:100%;object-fit:cover}.landing-thread-motion{display:block;width:100%;height:100%}.landing-thread-meme{display:grid;place-items:center;width:100%;height:100%;padding:18% 12%;background:#000}.landing-thread-meme img{display:block;width:100%;height:auto}.landing-thread-board{position:relative;width:100%;height:100%}.landing-thread-board img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0}.landing-thread-board img[data-on=true]{opacity:1}.landing-thread-caption{pointer-events:none;position:absolute;inset:auto 0 0;display:grid;padding:52px 12px 16px;background:linear-gradient(180deg,#100e0d00,#100e0dd6 48%,#100e0df2)}.landing-thread-caption p{margin:0;color:#f6f2ec;font-family:Iowan Old Style,Songti SC,STSong,Georgia,serif;font-size:clamp(12px,.95vw,15px);font-weight:520;letter-spacing:-.004em;line-height:1.5;text-wrap:pretty}.landing-thread-toggle{position:absolute;inset:0;margin:0;padding:0;border:0;background:transparent;cursor:pointer}.landing-thread-toggle:focus-visible{outline:2px solid #d97757;outline-offset:-2px}.landing-thread-sound{pointer-events:none;position:absolute;top:10px;right:10px;width:7px;height:7px;border-radius:50%;background:#d97757;opacity:0;transition:opacity .24s ease}.landing-thread-sound[data-on=true]{opacity:1;animation:landing-thread-sound 1.1s ease-in-out infinite}@keyframes landing-thread-sound{50%{opacity:.35}}@media(prefers-reduced-motion:reduce){.landing-thread-sound[data-on]{animation:none}}.landing-thread-mode>h3{align-self:start;margin:0 0 9px;color:#f0d6c6;font-size:clamp(13px,1vw,15px);font-weight:700;letter-spacing:-.01em;line-height:1.4}.landing-thread-note{align-self:start;margin:0 0 12px;color:#b3aaa1;font-size:clamp(11px,.85vw,13px);line-height:1.66}.landing-thread-detail{display:grid;gap:5px;align-self:start;margin:0 0 12px;color:#8d857c;font-size:clamp(10px,.78vw,12px);line-height:1.6}.landing-thread-detail summary{cursor:pointer;list-style:none;width:fit-content;color:#8d857c}.landing-thread-detail summary::-webkit-details-marker{display:none}.landing-thread-detail summary:after{content:"+";display:inline-block;margin-left:6px;color:#d97757;font-size:13px;font-weight:700}.landing-thread-detail[open] summary:after{content:"−"}.landing-thread-detail summary:focus-visible{outline:2px solid #d97757;outline-offset:3px}.landing-thread-detail p{margin:0;color:#a89f96}.landing-thread-cost-row{display:flex;align-items:center;gap:8px;margin-bottom:0}.landing-thread-meta-label{color:#6f6862;font-size:10px;font-weight:800;letter-spacing:.1em}.landing-thread-price{padding:8px 0;border:0;border-bottom:1px dotted #a89f96;background:transparent;cursor:pointer;margin-left:auto;color:#f0d6c6;font-size:clamp(11px,.86vw,13px);font-variant-numeric:tabular-nums;font-weight:700;letter-spacing:-.01em;white-space:nowrap}.landing-thread-price-wrap{position:relative}.landing-thread-price:focus-visible{outline:2px solid #d97757;outline-offset:4px}.landing-thread-price:hover{color:#fffdf8}.landing-thread-price:active{transform:translateY(1px)}.landing-thread-price-detail{display:none;position:absolute;z-index:3;bottom:calc(100% + 8px);left:0;width:min(250px,38vw);padding:12px;border:1px solid #706358;border-radius:6px;background:#332d28;color:#f2ede6;font-size:12px;line-height:1.65;box-shadow:0 8px 24px #0005}.landing-thread-price-detail[data-open=true],.landing-thread-price-wrap:hover .landing-thread-price-detail,.landing-thread-price:focus-visible+.landing-thread-price-detail{display:block}.landing-thread-closing{max-width:46ch;margin:clamp(46px,5vh,66px) 0 0;color:#f0d6c6;font-family:Iowan Old Style,Songti SC,STSong,Georgia,serif;font-size:clamp(22px,2.3vw,34px);font-weight:600;letter-spacing:-.028em;line-height:1.34}.landing-thread-cost-block{max-width:74ch;margin:clamp(56px,6vh,78px) 0 0;padding-top:34px;border-top:1px solid rgba(242,237,230,.14)}.landing-thread-cost-block h3,.landing-thread-lingo h3{margin:0;font-family:Iowan Old Style,Songti SC,STSong,Georgia,serif;font-size:clamp(20px,1.9vw,27px);font-weight:600;letter-spacing:-.025em;line-height:1.34}.landing-thread-cost-block p{margin:16px 0 0;color:#a89f96;font-size:15px;line-height:1.82}.landing-thread-lingo{max-width:74ch;margin:40px 0 0}.landing-thread-lingo h3{color:#f0d6c6}.landing-thread-lingo>p{margin:16px 0 0;color:#a89f96;font-size:15px;line-height:1.82}.landing-thread-boundary{color:#7c746d;font-size:12px;line-height:1.8}.landing-thread-you-do{display:grid;grid-template-columns:.6fr 1.4fr;gap:40px;margin-top:44px;padding-top:30px;border-top:1px solid rgba(242,237,230,.14)}.landing-thread-you-do h4{margin:0;font-family:Iowan Old Style,Songti SC,STSong,Georgia,serif;font-size:clamp(18px,1.7vw,24px);font-weight:600;letter-spacing:-.025em;line-height:1.34}.landing-thread-you-do ol{display:grid;gap:14px;margin:0;padding:0;list-style:none;counter-reset:landing-thread-you-do}.landing-thread-you-do li{position:relative;padding-left:38px;color:#c8c1ba;font-size:14px;line-height:1.78;counter-increment:landing-thread-you-do}.landing-thread-you-do li:before{content:counter(landing-thread-you-do);position:absolute;top:2px;left:0;display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:#d97757;color:#24211e;font-size:11px;font-weight:800}@media(max-width:1100px){.landing-thread{padding-top:100px;padding-bottom:96px}.landing-thread-modes{grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(2,auto);gap:30px 22px}.landing-thread-caption p{font-size:13px}.landing-thread-you-do{grid-template-columns:1fr;gap:22px}}@media(max-width:860px){.landing-thread{padding:76px 20px 72px}.landing-thread-source{padding:22px 20px}.landing-thread-closing{max-width:none}}:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;color:#292724;background:#f6f5ef;font-synthesis:none;--canvas: #f6f5ef;--surface: #fffdf8;--surface-soft: #eeece4;--surface-hover: #e8e5dc;--ink: #292724;--ink-soft: #56514b;--muted: #79736b;--line: #ddd9cf;--line-strong: #cbc5b8;--accent: #d97757;--accent-dark: #bd5f43;--accent-soft: #f4e3dc;--success: #417657;--success-soft: #e5efe8;--danger: #a3473f;--danger-soft: #f7e9e6;--warning: #7d6126;--warning-soft: #f7eedb;--shadow-sm: 0 1px 2px rgba(55, 49, 39, .05), 0 8px 24px rgba(55, 49, 39, .04);--shadow-md: 0 18px 48px rgba(55, 49, 39, .08);--space-2: 8px;--space-3: 12px;--text-label: 11px;--radius-sm: 8px;--radius-md: 12px;--radius-lg: 18px;--sidebar: 244px;--brand-logo-size: 44px;--page-gutter-inline: 52px;--page-gutter-top: 52px;--reading-content-max: 1440px}html{scrollbar-gutter:stable}.app-loading,.auth-shell{min-height:100vh;display:grid;place-items:center;background:var(--canvas);color:var(--ink)}.app-error-boundary{min-height:100vh;display:grid;place-content:center;justify-items:center;gap:12px;padding:24px;background:var(--canvas);color:var(--ink);text-align:center}.app-error-boundary p{color:var(--muted)}.guest-auth-close{border:0;background:transparent;cursor:pointer}.guest-progress{display:grid;gap:12px;margin-top:20px}.guest-progress>div{display:flex;gap:8px;align-items:center;color:var(--muted)}.guest-progress .is-running{color:var(--accent-dark, #176b4b)}.guest-storyboard-preview{display:grid;gap:8px;margin:0;padding:0;list-style:none}.guest-storyboard-preview li{display:grid;grid-template-columns:64px 1fr;gap:10px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#f8faf8;font-size:13px}.guest-storyboard-preview span{color:var(--muted)}.guest-auth-backdrop{position:fixed;inset:0;z-index:30;display:grid;place-items:center;padding:18px;background:#221f1b80;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.guest-auth-dialog{position:relative;width:min(480px,100%);max-height:92vh;overflow:auto;border:1px solid rgba(255,255,255,.72);border-radius:22px;background:var(--surface);box-shadow:0 28px 90px #1b18143d}.guest-auth-close{position:absolute;z-index:2;top:14px;right:14px;display:grid;place-items:center;width:40px;height:40px;padding:0;border-radius:12px;color:var(--muted);transition:color .16s ease,background .16s ease}.guest-auth-close:hover,.guest-auth-close:focus-visible{color:var(--ink);background:var(--surface-soft);outline:none}.guest-auth-close svg{width:20px;height:20px}.auth-shell-embedded{display:block;min-height:0;background:transparent}.guest-auth-dialog .auth-card.auth-card-embedded{width:100%;padding:38px 40px 34px;border:0;border-radius:0;background:transparent;box-shadow:none}.auth-card-embedded .auth-heading{margin:0 44px 20px 0}.guest-auth-dialog:has(.auth-card-fixed-heading){overflow:hidden}.auth-card-embedded.auth-card-fixed-heading{display:flex;flex-direction:column;max-height:min(92dvh - 2px,100dvh - 22px)}.auth-card-fixed-heading>.auth-heading,.auth-card-fixed-heading>.auth-context-notice{flex-shrink:0}.auth-card-embedded>.auth-scroll-body{min-height:0;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-width:none;padding:3px;margin:-3px}.auth-card-embedded>.auth-scroll-body::-webkit-scrollbar{display:none}.auth-card-embedded .auth-heading>svg{box-sizing:content-box;width:21px;height:21px;padding:10px;border-radius:13px;color:var(--accent-dark);background:var(--accent-soft)}.auth-card-embedded .auth-heading h1{margin:4px 0 6px;font-size:25px;letter-spacing:-.02em}.auth-card-embedded .auth-heading span{font-size:13px;line-height:1.65}.auth-context-notice{margin:0 0 22px;padding:12px 14px;border-left:3px solid var(--accent);border-radius:4px 11px 11px 4px;color:var(--ink-soft);background:#f6f1e9;font-size:13px;font-weight:600;line-height:1.65}.auth-card-embedded .auth-form{gap:15px}.auth-card-embedded .auth-form input,.auth-card-embedded .auth-form select{min-height:48px;border-radius:12px;background:#fff}.auth-card-embedded .auth-form>.primary-button{min-height:48px;margin-top:2px;border-radius:12px}.auth-mode-switch{margin:1px 0 0;color:var(--muted);font-size:13px;text-align:center}.auth-mode-switch button{padding:3px 2px;border:0;color:var(--accent-dark);background:transparent;font:inherit;font-weight:700;cursor:pointer}.auth-mode-switch button:hover,.auth-mode-switch button:focus-visible{color:var(--ink);text-decoration:underline;text-underline-offset:3px}.auth-registration-blocked{display:grid;gap:1.25rem;padding:1.25rem;border:1px solid color-mix(in srgb,var(--accent) 28%,var(--line));border-radius:14px;background:color-mix(in srgb,var(--accent) 8%,var(--surface))}.auth-registration-blocked p{margin:0;color:var(--ink);font-size:1rem;line-height:1.65}.auth-registration-blocked .primary-button{width:100%}.auth-password-group{display:grid;gap:7px;min-width:0}.auth-password-help{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.auth-password-help small{min-width:0}.auth-form small.auth-submit-hint{display:block;color:var(--danger);font-size:12px;animation:auth-submit-hint-flash .22s ease-in-out 2}.auth-form>.primary-button[aria-disabled=true]{opacity:.55;cursor:pointer}@keyframes auth-submit-hint-flash{50%{opacity:.3}}@media(prefers-reduced-motion:reduce){.auth-form small.auth-submit-hint{animation:none}}.auth-more-button,.auth-back-button{border:0;padding:0;color:var(--muted);background:transparent;font:inherit;font-size:12px;cursor:pointer}.auth-more-button{flex:none;margin-left:auto;white-space:nowrap}.auth-more-button:hover,.auth-back-button:hover{color:var(--accent-dark)}.auth-more-button:focus-visible,.auth-back-button:focus-visible{outline:2px solid var(--accent);outline-offset:4px}.auth-more-button:disabled,.auth-back-button:disabled{opacity:.5;cursor:not-allowed}.auth-back-button{display:inline-flex;align-items:center;gap:6px;margin-bottom:24px}.auth-back-button svg{width:16px;height:16px}.auth-method-description{margin:0;color:var(--muted);font-size:12px;line-height:1.6}.auth-sms-code-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px}.auth-sms-code-row>button{min-height:44px;padding-inline:12px;font-size:12px}.auth-card-embedded .auth-sms-code-row>button{min-height:48px}.auth-wechat-placeholder{display:grid;justify-items:center;gap:16px;padding:28px 16px;border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface-soft);text-align:center}.auth-wechat-placeholder>svg{width:40px;height:40px;color:var(--muted)}.auth-wechat-placeholder p{margin:0;color:var(--muted);font-size:13px;line-height:1.6}.auth-wechat-card{display:grid;gap:14px;justify-self:center;width:min(100%,360px);margin-inline:auto;padding:16px;border:1px solid var(--line);border-radius:16px;background:color-mix(in srgb,var(--surface-soft) 32%,var(--surface));box-shadow:var(--shadow-sm)}.auth-wechat-card-heading{display:flex;align-items:center;gap:10px;min-width:0;padding-inline:2px}.auth-wechat-card-mark{display:grid;flex:none;width:32px;height:32px;place-items:center;border-radius:10px;color:var(--success);background:var(--success-soft)}.auth-wechat-card-mark>svg{width:17px;height:17px}.auth-wechat-card-copy{display:grid;gap:2px;min-width:0}.auth-wechat-card-copy strong{color:var(--ink);font-size:14px;line-height:1.35}.auth-wechat-card-copy span{color:var(--muted);font-size:11px;line-height:1.55}.auth-wechat-frame-shell{position:relative;justify-self:center;width:min(100%,320px);height:220px;overflow:hidden;border:1px solid var(--line);border-radius:12px;background:#fff;color-scheme:light}.auth-wechat-frame-shell iframe{display:block;width:100%;height:208px;margin-top:10px;border:0;background:#fff}.auth-wechat-frame-loading{position:absolute;inset:0;z-index:1;display:grid;place-content:center;justify-items:center;gap:10px;color:var(--muted);background:#fff;font-size:13px;pointer-events:none}.auth-wechat-frame-loading>svg{width:24px;height:24px}.auth-wechat-frame-error{display:flex;height:100%;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:16px;color:var(--muted);text-align:center}.auth-wechat-frame-error>svg{width:24px;height:24px}.auth-wechat-frame-error strong{color:var(--ink-soft);font-size:13px}.auth-wechat-frame-error p{max-width:260px;margin:0;font-size:11px;line-height:1.55}@media(max-width:520px){.guest-auth-backdrop{align-items:end;padding:10px}.guest-auth-dialog{max-height:calc(100vh - 20px);border-radius:20px}.guest-auth-dialog .auth-card.auth-card-embedded{padding:30px 22px 26px}.auth-card-embedded .auth-heading{margin-right:42px}.auth-card-embedded .auth-heading>svg{display:none}.auth-wechat-card{gap:12px;padding:14px}}.guest-resume-notice{display:flex;align-items:center;gap:10px;margin:0 0 18px;padding:12px 14px;border:1px solid #b9ddc9;border-radius:12px;background:#edf7f1;color:#245b43}.guest-resume-notice span{flex:1}.guest-resume-notice button{border:0;background:transparent;color:inherit;cursor:pointer}.guest-account-person .account-profile-link{width:100%;border:0;background:transparent;font:inherit;text-align:left;cursor:pointer}.auth-card{width:min(460px,calc(100vw - 36px));padding:34px;border:1px solid var(--line);border-radius:24px;background:var(--surface);box-shadow:0 24px 70px #2d26201a}.auth-heading,.section-heading{display:flex;align-items:center;gap:12px}.auth-heading div,.section-heading div,.user-row>span:not(.user-avatar,.user-row-actions){display:grid;gap:3px;min-width:0}.auth-heading span,.section-heading span,.user-row small{color:var(--muted);font-size:12px}.auth-heading{align-items:flex-start;margin:32px 0 24px}.auth-heading>svg,.section-heading>svg{width:22px;color:var(--accent)}.auth-heading h1{margin:3px 0 5px;font-size:28px}.auth-form,.user-create-card{display:grid;gap:16px}.auth-form label,.user-create-card label{display:grid;gap:7px;min-width:0;color:var(--ink);font-size:13px;font-weight:650}.auth-form input,.auth-form select,.user-create-card input,.user-create-card select,.user-row select{min-width:0;min-height:42px;padding:0 12px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink);font:inherit}.form-error{padding:10px 12px;border-radius:10px;background:color-mix(in srgb,var(--danger) 10%,transparent);color:var(--danger);font-size:13px}.account-logout{display:grid;flex:none;place-items:center;width:32px;height:32px;margin-left:auto;padding:0;border:0;border-radius:8px;background:transparent;color:var(--muted);cursor:pointer;transition:color .16s ease,background .16s ease,transform .16s ease}.account-logout:hover{background:var(--surface-soft);color:var(--ink)}.account-logout:active{transform:translateY(1px)}.account-logout svg{width:14px;height:14px}.user-create-card{margin-top:24px;padding:22px;border:1px solid var(--line);border-radius:18px;background:var(--surface)}.user-create-card{grid-template-columns:repeat(4,minmax(0,1fr)) auto;align-items:end}.user-create-card .section-heading{grid-column:1 / -1}.user-table{display:grid}.user-row{display:grid;grid-template-columns:42px minmax(180px,1fr) minmax(120px,.5fr) auto;align-items:center;gap:12px;min-height:72px;border-top:1px solid var(--line)}.user-avatar{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:color-mix(in srgb,var(--accent) 12%,var(--surface));color:var(--accent)}.user-avatar-admin{background:var(--accent-soft);color:var(--accent-dark)}.user-avatar-member{border:1px solid var(--line);background:var(--surface-soft);color:var(--ink-soft)}.user-avatar svg{width:17px}.user-row-actions{display:flex;align-items:center;gap:8px}.team-create-card{grid-template-columns:repeat(2,minmax(0,1fr)) auto}.team-list{display:grid;gap:12px;margin-top:28px}.team-list-heading{display:flex;align-items:center;justify-content:space-between;color:var(--ink)}.team-list-heading>div{display:flex;align-items:baseline;gap:10px}.team-list-heading span,.empty-admin-state{color:var(--muted);font-size:12px}.team-card{overflow:hidden;border:1px solid var(--line);border-radius:16px;background:var(--surface)}.team-card.expanded{border-color:color-mix(in srgb,var(--accent) 35%,var(--line));box-shadow:0 16px 42px #2d262012}.team-summary{width:100%;display:grid;grid-template-columns:42px minmax(220px,1fr) 72px minmax(120px,180px) 20px;align-items:center;gap:14px;padding:18px 20px;border:0;color:var(--ink);background:transparent;text-align:left;cursor:pointer}.team-summary:hover{background:var(--surface-soft)}.team-summary>span:not(.team-icon){display:grid;gap:3px}.team-summary small{color:var(--muted);font-size:11px}.team-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;color:var(--accent-dark);background:color-mix(in srgb,var(--accent) 11%,var(--surface))}.team-icon svg{width:18px}.team-detail{padding:20px;border-top:1px solid var(--line);background:color-mix(in srgb,var(--surface-soft) 60%,var(--surface))}.team-sharing-settings{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:12px;margin-bottom:18px;padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.team-sharing-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:10px;color:var(--accent-dark);background:var(--accent-soft)}.team-sharing-icon svg{width:17px}.team-sharing-settings>div{display:grid;gap:4px}.team-sharing-settings>div>span{color:var(--muted);font-size:11px}.team-sharing-toggle{display:flex;align-items:center;gap:8px;color:var(--ink);font-size:11px;font-weight:700;cursor:pointer}.team-sharing-toggle input{position:relative;width:34px;height:20px;margin:0;appearance:none;border:1px solid var(--line-strong);border-radius:999px;background:var(--surface-soft);cursor:pointer;transition:border-color .16s ease,background .16s ease}.team-sharing-toggle input:after{position:absolute;top:2px;left:2px;width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #29272433;content:"";transition:transform .16s ease}.team-sharing-toggle input:checked{border-color:var(--success);background:var(--success)}.team-sharing-toggle input:checked:after{transform:translate(14px)}.sharing-status{padding:6px 9px;border:1px solid var(--line);border-radius:999px;color:var(--muted);background:var(--surface-soft);font-size:10px}.sharing-status.active{border-color:#c9d9cc;color:var(--success);background:var(--success-soft)}.member-create-card{margin:0 0 18px}.empty-admin-state{padding:22px;text-align:center}@media(max-width:1180px){.user-create-card{grid-template-columns:repeat(2,minmax(0,1fr))}.user-row{grid-template-columns:42px 1fr;padding:12px 0}.user-row-actions{grid-column:2}.team-summary{grid-template-columns:42px 1fr 20px}.team-summary>span:nth-of-type(3),.team-summary>span:nth-of-type(4){display:none}}*{box-sizing:border-box}html{background:var(--canvas);scroll-behavior:smooth}body{margin:0;min-width:320px;min-height:100vh;background:var(--canvas)}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid rgba(217,119,87,.22);outline-offset:2px}::selection{color:var(--ink);background:#ecd0c4}.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:10px;left:10px;transform:translateY(-160%);border-radius:var(--radius-sm);background:var(--ink);color:#fff;padding:10px 14px;text-decoration:none;transition:transform .16s ease}.skip-link:focus{transform:translateY(0)}.app-shell{min-height:100vh}.side-nav{position:fixed;z-index:20;inset:0 auto 0 0;width:var(--sidebar);display:flex;flex-direction:column;padding:22px 14px 18px;border-right:1px solid var(--line);background:#f2f0e9f5;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.brand-mark{display:flex;align-items:center;gap:12px;min-height:48px;margin:0 4px 26px;padding:5px;color:var(--ink);text-decoration:none;border-radius:10px}.brand-icon{position:relative;display:block;flex:none;width:var(--brand-logo-size);height:var(--brand-logo-size);overflow:hidden;border-radius:13px}.brand-icon img{display:block;width:100%;height:100%;aspect-ratio:1 / 1;object-fit:contain;object-position:center}.brand-copy,.nav-copy{display:grid;min-width:0}.brand-copy{align-content:center;flex:1;width:auto;min-width:0;height:var(--brand-logo-size)}.brand-copy strong,.brand-copy small{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.brand-copy strong{font-size:18px;line-height:1;letter-spacing:.04em}.brand-copy small{margin-top:4px;color:var(--muted);font-size:9px;line-height:1.1;letter-spacing:.08em;text-transform:uppercase}.nav-label{margin:0 12px 8px;color:#969087;font-size:10px;font-weight:700;letter-spacing:.14em}.side-nav nav{display:grid;gap:4px}.side-nav nav a{position:relative;display:flex;align-items:center;gap:12px;min-height:52px;padding:8px 11px;border-radius:11px;color:var(--ink-soft);text-decoration:none;transition:color .16s ease,background .16s ease,transform .16s ease}.side-nav nav a:hover{color:var(--ink);background:#fffdf8b3}.side-nav nav a.active{color:var(--ink);background:var(--surface);box-shadow:var(--shadow-sm)}.side-nav nav a.active:before{content:"";position:absolute;left:0;width:3px;height:22px;border-radius:0 3px 3px 0;background:var(--accent)}.side-nav nav svg{flex:none;width:18px;height:18px;color:#777169;stroke-width:1.8}.side-nav nav a.active svg{color:var(--accent-dark)}.nav-copy strong{overflow:hidden;font-size:13px;font-weight:600;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.nav-copy small{margin-top:2px;color:var(--muted);font-size:10px;line-height:1.35}.main-area{width:calc(100% - var(--sidebar));min-height:100vh;margin-left:var(--sidebar)}.app-shell.mini-program-webview{min-height:100dvh;overscroll-behavior-y:contain}.mini-program-webview .page{min-height:100dvh;padding-top:max(var(--page-gutter-top),env(safe-area-inset-top));padding-bottom:max(52px,calc(32px + env(safe-area-inset-bottom)))}.mini-program-webview input,.mini-program-webview textarea,.mini-program-webview [contenteditable=true]{scroll-margin-bottom:45dvh}.mini-program-webview [data-timeline]{touch-action:pan-x}.main-area.mini-program-session-prompt{display:grid;min-height:100dvh;padding:24px;place-items:center}.mini-program-session-prompt section{width:min(100%,420px);padding:28px;border:1px solid var(--line);border-radius:18px;background:var(--paper)}.mini-program-session-prompt small{color:var(--accent);font-weight:700;letter-spacing:.18em}.mini-program-session-prompt h1{margin:14px 0 10px;color:var(--ink);font-size:28px}.mini-program-session-prompt p{color:var(--muted);line-height:1.7}.mini-program-session-prompt button{width:100%;margin-top:18px;padding:14px 18px;border:0;border-radius:12px;background:var(--ink);color:#fff;font:inherit;font-weight:650}.page{width:100%;max-width:none;margin:0;padding:var(--page-gutter-top) var(--page-gutter-inline) 84px}.page-header,.editor-page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px}.page-header{margin-bottom:30px}.page-header h1,.editor-page-heading h1{margin:7px 0;color:var(--ink);font-family:Iowan Old Style,Songti SC,STSong,Georgia,serif;font-size:clamp(30px,3vw,42px);font-weight:500;line-height:1.12;letter-spacing:-.035em}.page-header>div>span,.editor-page-heading>div>span{color:var(--muted);font-size:12px;line-height:1.6}.eyebrow{margin:0;color:var(--accent-dark);font-size:10px;font-weight:750;line-height:1.4;letter-spacing:.18em}.stepper{display:flex;margin-bottom:18px;padding:14px 20px;border:1px solid var(--line);border-radius:var(--radius-md);background:#fffdf8c7}.step{display:flex;flex:1;align-items:center;color:#9c968e;font-size:11px;white-space:nowrap}.step:last-child{flex:0 0 auto}.step b{display:grid;flex:none;place-items:center;width:24px;height:24px;margin-right:8px;border:1px solid var(--line-strong);border-radius:50%;font-size:10px;font-weight:700}.step i{flex:1;height:1px;margin:0 14px;background:var(--line)}.step.active{color:var(--ink)}.step.active b{border-color:var(--accent);color:#fff;background:var(--accent)}.creation-card,.prompt-list,.prompt-editor-panel,.execution-mode{border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow-sm)}.creation-card{padding:34px 36px 36px;border-radius:var(--radius-lg)}.model-row input,.model-row select,.prompt-runtime-row input,.prompt-runtime-row select,.debug-grid textarea,.debug-source select,.provider-fields input,.provider-fields select,.inspector input,.inspector textarea{width:100%;border:1px solid var(--line-strong);color:var(--ink);background:#fffefa;outline:none;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}.model-row input:hover,.model-row select:hover,.prompt-runtime-row input:hover,.prompt-runtime-row select:hover,.debug-grid textarea:hover,.debug-source select:hover,.provider-fields input:hover,.provider-fields select:hover{border-color:#b7afa2}.model-row input:focus,.model-row select:focus,.prompt-runtime-row input:focus,.prompt-runtime-row select:focus,.debug-grid textarea:focus,.debug-source select:focus,.provider-fields input:focus,.provider-fields select:focus{border-color:var(--accent);background:#fff;box-shadow:0 0 0 3px #d9775721}input::placeholder,textarea::placeholder{color:#aaa39a}.upload-card{display:flex;align-items:center;gap:12px;min-width:0;min-height:82px;padding:14px;border:1px dashed var(--line-strong);border-radius:var(--radius-md);color:var(--ink);background:#faf8f2;text-align:left;transition:border-color .16s ease,background .16s ease,transform .16s ease,box-shadow .16s ease}.upload-card:hover{border-color:var(--accent);background:#fffaf7;box-shadow:0 5px 18px #47362a0d;transform:translateY(-1px)}.upload-icon{display:grid;flex:none;place-items:center;width:42px;height:42px;border-radius:10px;color:var(--accent-dark);background:var(--accent-soft)}.upload-icon svg{width:18px;height:18px;stroke-width:1.8}.upload-card>span:not(.upload-icon){display:grid;min-width:0}.upload-card strong{overflow:hidden;font-size:12px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.upload-card small{margin-top:4px;color:var(--muted);font-size:9px;line-height:1.45}.creation-card>.property-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px}.creation-card>.property-grid label{display:grid;align-content:center;gap:6px;min-height:64px;padding:10px 12px;border:1px solid #e6e1d7;border-radius:10px;color:var(--ink-soft);background:#faf8f2;font-size:10px}.creation-card>.property-grid label:has(input[type=checkbox]){display:flex;align-items:center;cursor:pointer}.creation-card>.property-grid input:not([type=checkbox]),.creation-card>.property-grid select{width:100%;min-width:0;border:0;color:var(--ink);background:transparent;outline:none;font-size:12px}.creation-card>.property-grid input[type=checkbox]{width:16px;height:16px;margin:0 3px 0 0;accent-color:var(--accent)}.creation-card>.property-grid .voice-select{grid-column:1 / -1}.voice-select select{cursor:pointer}.voice-select small{display:block;color:var(--muted);font-size:9px;line-height:1.45}.primary-button,.secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;padding:9px 15px;border-radius:9px;font-size:11px;font-weight:650;transition:background .16s ease,border-color .16s ease,color .16s ease,transform .16s ease,box-shadow .16s ease}.primary-button{border:1px solid var(--ink);color:#fff;background:var(--ink);box-shadow:0 5px 14px #2927241f}.primary-button:hover:not(:disabled){border-color:#171613;background:#171613;box-shadow:0 7px 18px #29272429;transform:translateY(-1px)}.primary-button:active:not(:disabled),.secondary-button:active:not(:disabled){transform:translateY(1px)}.secondary-button{border:1px solid var(--line-strong);color:var(--ink);background:#fffefa}.secondary-button:hover:not(:disabled){border-color:#ada496;background:#fff}.primary-button svg,.secondary-button svg{width:15px;height:15px}.wide{width:100%;min-height:48px;margin-top:24px}.production-actions{display:grid;gap:10px;margin-top:24px}.production-settings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:18px;padding:14px;border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface-soft)}.production-settings label{color:var(--muted);font-size:10px}.production-settings label{display:grid;gap:5px;color:var(--ink-soft)}.production-settings input:not([type=checkbox]),.production-settings select{width:100%;min-width:0;padding:8px;border:1px solid var(--line);border-radius:7px;background:var(--surface)}.production-settings input[type=checkbox]{accent-color:var(--accent)}.voice-preview-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;margin-top:2px;padding:6px 8px;font-size:9px}.voice-preview-button svg{width:13px;height:13px}.production-actions .wide{margin-top:0}.production-actions>small{color:var(--warning);text-align:center}.error-banner{margin:13px 0 0;padding:10px 12px;border:1px solid #ebc9c2;border-radius:9px;color:var(--danger);background:var(--danger-soft);font-size:10px;line-height:1.5}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.recent-section{margin-top:34px}.section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.section-title h2{margin:0;font-family:Iowan Old Style,Songti SC,STSong,Georgia,serif;font-size:20px;font-weight:500}.section-title span{color:var(--muted);font-size:10px}.recent-list{overflow:hidden;border-top:1px solid var(--line)}.recent-list>button{display:flex;align-items:center;gap:12px;width:100%;padding:13px 5px;border:0;border-bottom:1px solid var(--line);color:var(--ink);background:transparent;text-align:left;transition:padding .16s ease,background .16s ease}.recent-list>button:hover{padding-right:10px;padding-left:10px;background:#fffdf8bf}.recent-thumb{display:grid;flex:none;place-items:center;width:38px;height:38px;border-radius:10px;color:var(--accent-dark);background:var(--accent-soft)}.recent-thumb svg{width:16px}.recent-list>button>span:nth-child(2){display:grid;min-width:0;flex:1}.recent-list strong{overflow:hidden;font-size:11px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.recent-list small{margin-top:3px;color:var(--muted);font-size:9px}.recent-list em{color:#948e86;font-size:9px;font-style:normal}.recent-list>button>svg{width:14px;color:#9c958c}.empty-hint{margin:0;padding:22px 4px;color:var(--muted);font-size:11px}.editor-title{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.editor-title h2{margin:5px 0 15px;font-family:Iowan Old Style,Songti SC,STSong,Georgia,serif;font-size:25px;font-weight:500}.editor-title>span{color:var(--muted);font-size:10px}.sentence-guidance{max-width:720px;margin:-4px 0 18px;color:var(--muted);font-size:11px;line-height:1.7}.production-sync{justify-content:flex-start!important;margin-top:9px;color:var(--muted)!important;font-size:8px!important}.production-sync i{width:6px;height:6px;border-radius:50%;background:var(--muted)}.production-sync.connected i{background:var(--success)}.production-sync.reconnecting i{background:var(--accent)}.task-state{display:grid;width:38px;height:38px;flex:0 0 auto;place-items:center;border-radius:50%;color:var(--accent-dark);background:var(--accent-soft)}.task-state svg{width:16px;height:16px}.production-estimates{margin:12px 0 0;padding:13px 15px;border:1px solid var(--line);border-radius:var(--radius-md);background:#faf8f2}.production-estimates-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.production-estimates-title,.production-estimate-summary{display:grid;gap:3px}.production-estimates-title{flex:0 0 auto}.production-estimate-summary{min-width:0;max-width:72%;text-align:right}.production-estimates-header strong{font-size:10px}.production-estimates-header small{color:var(--muted);font-size:8px;line-height:1.45}.production-estimate-summary>strong{color:var(--accent-dark)}.production-estimates ol{display:grid;grid-template-columns:var(--production-stage-columns, repeat(4, minmax(0, 1fr)));overflow:hidden;margin:10px 0 0;padding:0;border:1px solid var(--line);border-radius:9px;background:var(--surface);list-style:none}.production-estimates li{position:relative;display:grid;align-content:start;gap:4px;min-width:0;min-height:96px;overflow:hidden;padding:9px 10px;border-right:1px solid var(--line)}.production-estimates li:before{position:absolute;inset:0 auto 0 0;width:var(--estimated-stage-progress, 0%);background:color-mix(in srgb,var(--accent-soft) 72%,transparent);content:"";transition:width .5s linear}.production-estimates li>*{position:relative;z-index:1}.production-estimates li.ready:before,.production-estimates li.skipped:before{background:color-mix(in srgb,var(--success-soft) 82%,transparent)}.production-estimates li.failed:before{background:color-mix(in srgb,var(--danger-soft) 82%,transparent)}.production-estimates li.requesting.is-overdue:after{position:absolute;top:0;bottom:0;left:calc(var(--estimated-stage-progress, 97%) - 30px);width:30px;background:linear-gradient(90deg,transparent,rgba(217,119,87,.2),transparent);content:"";animation:production-estimate-overdue 1.15s ease-in-out infinite}.production-estimates li.requesting.is-indeterminate:before{width:34%;background:linear-gradient(90deg,transparent,var(--accent-soft),transparent);animation:production-estimate-indeterminate 1.4s ease-in-out infinite}@keyframes production-estimate-overdue{50%{opacity:.35;transform:translate(6px)}}@keyframes production-estimate-indeterminate{0%{transform:translate(-110%)}to{transform:translate(300%)}}.production-estimates li:last-child{border-right:0}.production-estimate-heading{display:flex;align-items:center;gap:5px;min-width:0}.production-estimate-heading svg{width:13px;height:13px;flex:0 0 auto}.production-estimate-heading strong{overflow:hidden;color:currentColor;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.production-estimates li.requesting{color:var(--accent-dark)}.production-estimates li.ready{color:var(--success)}.production-estimates li.failed{color:var(--danger)}.production-estimates li.skipped{opacity:.72}.production-estimates li>small{display:-webkit-box;overflow:hidden;color:var(--muted);font-size:8px;line-height:1.4;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:2}.production-estimates li>strong{color:var(--ink);font-size:9px;font-variant-numeric:tabular-nums}.production-estimates li>em{color:var(--muted);font-size:7px;font-style:normal;line-height:1.4}.sentence-list{display:grid;gap:10px}.sentence-item{display:grid;gap:6px}.sentence-insert-button{position:relative;display:grid;place-items:center;width:100%;height:12px;min-height:12px;padding:0;border:0;background:transparent;cursor:pointer}.sentence-insert-button:before{position:absolute;inset-inline:0;top:50%;border-top:1px dashed var(--line-strong);content:""}.sentence-insert-button svg{position:relative;z-index:1;width:13px;height:13px;padding:2px;border:1px solid var(--line-strong);border-radius:50%;color:var(--accent-dark);background:var(--canvas);opacity:0;transition:opacity .16s ease}.sentence-insert-button:hover:not(:disabled) svg,.sentence-insert-button:focus-visible svg{border-color:var(--accent);opacity:1}.sentence-insert-button:disabled{cursor:default}.sentence-card{display:grid;grid-template-columns:50px minmax(0,1fr) 480px;align-items:stretch;overflow:hidden;border:1px solid var(--line);border-radius:var(--radius-md);background:#fffefa;transition:border-color .16s ease,box-shadow .16s ease}.sentence-card:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px #d977571a}.sentence-number{position:relative;display:grid;align-content:center;justify-items:center;gap:2px;border-right:1px solid var(--line);color:var(--accent-dark);background:#f7f2ea}.sentence-number>span{font-family:Iowan Old Style,Songti SC,STSong,Georgia,serif;font-size:17px;font-variant-numeric:tabular-nums}.sentence-number small{color:var(--muted);font-size:8px}.sentence-number button{position:absolute;inset:0;z-index:1;display:grid;align-content:center;gap:4px;width:100%;height:100%;place-items:center;padding:0;border:0;color:var(--danger);background:var(--danger-soft);cursor:pointer;opacity:0;transition:opacity .16s ease}.sentence-number:hover button:not(:disabled),.sentence-number:focus-within button:not(:disabled){color:var(--danger);opacity:1}.sentence-number button:disabled{cursor:default;opacity:0}.sentence-number button svg{width:15px;height:15px}.sentence-number button .sentence-delete-label{font-family:inherit;font-size:9px;font-weight:700}.sentence-card>label{position:relative;display:block;min-width:0;padding:12px 14px}.sentence-card textarea{display:block;width:100%;height:36px;min-height:20px;padding:0 52px 0 0;border:0;border-radius:0;color:var(--ink);background:transparent;font-family:Iowan Old Style,Songti SC,STSong,Georgia,serif;font-size:12px;line-height:1.5;overflow:hidden;resize:none;white-space:pre-wrap;overflow-wrap:anywhere}.sentence-card textarea:focus-visible{outline:0}.sentence-card textarea:disabled{color:var(--ink-soft);opacity:1}.sentence-card textarea[aria-invalid=true]{color:var(--danger)}.sentence-card>label>small{position:absolute;right:14px;bottom:10px;color:var(--muted);font-size:8px}.sentence-card>label>small.sentence-count-invalid{color:var(--danger);font-weight:700}.sentence-list.has-shot-groups{gap:14px}.shot-group-frame{position:relative;display:grid;gap:8px;padding:12px;border:1px solid var(--line-strong);border-radius:var(--radius-md);background:color-mix(in srgb,var(--surface-soft) 48%,transparent)}.shot-group-frame.is-active{border-color:var(--accent);box-shadow:0 0 0 1px color-mix(in srgb,var(--accent) 55%,transparent)}.shot-group-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}.shot-group-title{display:flex;align-items:center;gap:8px;min-width:0;color:var(--accent-dark)}.shot-group-title>span{display:grid;gap:2px}.shot-group-title svg{width:17px;height:17px}.shot-group-title strong{color:var(--ink);font-size:11px}.shot-group-title small{color:var(--muted);font-size:10px}.shot-group-range{margin-left:6px;color:var(--muted);font-size:10px;font-style:normal;font-weight:400;white-space:nowrap}.shot-group-header .material-control{width:min(280px,42%)}.shot-group-sentences{display:grid;gap:8px}.shot-group-sentence-drop{min-width:0}.shot-group-edge{position:absolute;inset-inline:0;bottom:-6px;height:18px;padding:0;border:0;background:transparent;cursor:ns-resize;touch-action:none;-webkit-user-select:none;user-select:none}.shot-group-edge:focus-visible{outline:0}.shot-group-edge:active{cursor:grabbing}.shot-group-edge[aria-disabled=true]{cursor:default}.sentence-card-voice-only{grid-template-columns:50px minmax(0,1fr) 250px}.sentence-card-voice-only .material-states{grid-template-columns:1fr}.material-states{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;align-content:center;padding:10px;border-left:1px solid var(--line);background:#faf8f2}.material-control{min-width:0}.material-actions{display:flex;align-items:center;gap:4px}.material-actions>button{display:grid;width:30px;height:30px;min-height:30px;padding:0;border:0;border-radius:7px;color:inherit;background:transparent;cursor:pointer;place-items:center}.material-actions>button svg{width:13px;height:13px}.material-actions>button:hover:not(:disabled),.material-actions>button:focus-visible{background:#fffdf8e6;box-shadow:inset 0 0 0 1px var(--line);outline:0}.material-actions>button:disabled{cursor:default;opacity:.5}.material-actions>.material-preview-button[aria-pressed=true]{color:var(--accent-dark);background:var(--accent-soft)}.sentence-image-preview{position:fixed;z-index:90;right:24px;bottom:24px;width:min(420px,calc(100vw - 48px));overflow:hidden;margin:0;border:1px solid rgba(255,255,255,.3);border-radius:var(--radius-md);background:#25221e;box-shadow:0 18px 48px #1c19154d;pointer-events:none;animation:sentence-preview-in .16s ease-out}.sentence-image-preview img{display:block;width:100%;max-height:min(52vh,360px);object-fit:contain}.sentence-image-preview figcaption{padding:7px 10px;color:#fffc;font-size:9px;text-align:center}@keyframes sentence-preview-in{0%{opacity:0;transform:translateY(8px) scale(.98)}}.material-state{display:grid;grid-template-columns:auto minmax(48px,1fr) auto auto;align-items:center;gap:6px;min-width:0;min-height:42px;padding:7px 8px;border:1px solid var(--line);border-radius:var(--radius-sm);color:var(--muted);background:var(--surface)}.material-state>span{display:grid;min-width:0}.material-state strong{color:var(--ink-soft);font-size:9px}.material-state small{display:-webkit-box;overflow:hidden;margin-top:2px;font-size:8px;line-height:1.35;text-overflow:ellipsis;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}.material-state>svg{width:13px;height:13px;flex:none}.material-state .material-kind-icon{color:var(--muted)}.material-state.requesting{border-color:#e3c9bf;color:var(--accent-dark);background:var(--accent-soft)}.material-state.ready{border-color:#c9dacd;color:var(--success);background:var(--success-soft)}.material-state.failed{border-color:#ebc9c2;color:var(--danger);background:var(--danger-soft)}.material-state.requesting strong,.material-state.ready strong,.material-state.failed strong,.material-state.requesting .material-kind-icon,.material-state.ready .material-kind-icon,.material-state.failed .material-kind-icon{color:currentColor}.ready-panel{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:22px;padding:14px;border:1px solid #c9dacd;border-radius:var(--radius-md);background:var(--success-soft)}.ready-panel>div{display:flex;align-items:center;gap:10px}.ready-panel>div>svg{width:30px;height:30px;padding:6px;border-radius:50%;color:#fff;background:var(--success)}.ready-panel span{display:grid}.ready-panel small{margin-top:2px;color:#617d69;font-size:9px}.prompt-page{display:flex;flex-direction:column;height:100vh;min-height:680px;padding:var(--page-gutter-top) var(--page-gutter-inline) 28px;overflow:hidden}.prompt-header{margin:0 0 16px}.domain-manager{position:relative;z-index:10;display:grid;flex:none;gap:8px;margin-bottom:12px;padding:12px 14px;border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);box-shadow:var(--shadow-sm)}.domain-manager-current{display:grid;grid-template-columns:minmax(220px,290px) auto;align-items:center;justify-content:space-between;gap:12px}.domain-create-panel-head>div{min-width:0}.domain-manager span,.domain-manager label{color:var(--muted);font-size:11px}.domain-manager label{display:grid;gap:5px}.domain-manager select,.domain-create-row input{width:100%;min-height:36px;padding:8px 10px;border:1px solid var(--line-strong);border-radius:8px;color:var(--ink);background:#fffefa}.domain-manager-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}.domain-manager-actions>button{min-height:36px;white-space:nowrap}.domain-manager-toggle-chevron{margin-left:-4px;transition:transform .16s ease}.domain-manager-toggle.open .domain-manager-toggle-chevron{transform:rotate(180deg)}.domain-create-panel{position:absolute;z-index:20;top:calc(100% + 8px);right:0;left:0;display:grid;gap:14px;max-height:min(620px,calc(100vh - 190px));padding:18px;overflow-y:auto;border:1px solid var(--line-strong);border-radius:var(--radius-md);background:var(--surface);box-shadow:0 18px 46px #352f2a29}.domain-create-panel-head,.domain-create-footer{display:flex;align-items:center;justify-content:space-between;gap:16px}.domain-create-panel-head>div{display:grid;gap:3px}.domain-create-panel-head strong{color:var(--ink);font-size:14px}.domain-create-panel-head span{line-height:1.5}.domain-create-panel .text-button{flex:none;padding:6px 8px;border:0;color:var(--muted);background:transparent;font-size:11px}.domain-create-panel .text-button:hover{color:var(--accent-dark)}.domain-create-row{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(260px,1.2fr);gap:10px}.domain-create-row label>span,.domain-create-prompt-grid label>span{color:var(--ink-soft);font-size:11px;font-weight:650}.domain-create-row b,.domain-create-prompt-grid label b{margin-left:4px;color:var(--accent-dark);font-size:9px}.domain-create-prompts{display:grid;gap:10px;padding-top:14px;border-top:1px solid #eeeae1}.domain-create-prompts>div:first-child{display:grid;gap:3px}.domain-create-prompts strong{color:var(--ink-soft);font-size:12px}.domain-create-prompts>div:first-child span{color:var(--muted);font-size:11px;line-height:1.5}.domain-create-prompt-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.domain-create-prompt-grid label,.domain-create-prompt-editor{display:grid;gap:6px}.domain-create-prompt-grid textarea{width:100%;min-width:0;min-height:104px;padding:10px 11px;resize:vertical;border:1px solid var(--line-strong);border-radius:9px;color:var(--ink);background:#fffefa;font:inherit;font-size:11px;line-height:1.55}.domain-create-prompt-grid textarea:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px #d977571f}.domain-create-footer{position:sticky;bottom:-18px;margin:0 -18px -18px;padding:12px 18px;border-top:1px solid var(--line);background:#fffdf8f5;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.domain-create-footer>span{font-variant-numeric:tabular-nums}.prompt-layout{display:grid;grid-template-columns:264px minmax(0,1fr);flex:1;gap:14px;min-height:0}.prompt-list,.prompt-editor-panel{overflow:hidden;border-radius:var(--radius-md)}.prompt-list{display:flex;min-height:0;flex-direction:column}.prompt-list-controls{flex:none;border-bottom:1px solid #eeeae1;background:var(--surface)}.prompt-list-items{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.prompt-list-title{display:flex;justify-content:space-between;padding:17px 16px 12px;color:var(--muted);font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}.prompt-list-title b{padding:2px 7px;border-radius:999px;color:var(--ink-soft);background:var(--surface-soft)}.prompt-scope-filters{display:flex;flex-wrap:wrap;gap:6px;padding:0 12px 12px}.prompt-scope-filters button{min-height:32px;padding:5px 9px;border:1px solid var(--line);border-radius:999px;color:var(--muted);background:var(--surface-soft);font-size:10px;transition:border-color .16s ease,color .16s ease,background .16s ease}.prompt-scope-filters button:hover{border-color:var(--accent);color:var(--accent-dark)}.prompt-scope-filters button.active{border-color:var(--accent);color:var(--accent-dark);background:var(--accent-soft)}.prompt-list-items>button{display:flex;align-items:flex-start;gap:9px;width:100%;min-height:61px;padding:13px 12px;border:0;border-top:1px solid #eeeae1;color:var(--ink);background:transparent;text-align:left;transition:background .16s ease}.prompt-list-items>button:hover{background:#faf7f1}.prompt-list-items>button.active{background:var(--accent-soft);box-shadow:inset 3px 0 var(--accent)}.prompt-list-items>button i{margin-top:1px;color:#a29b92;font-size:10px;font-style:normal}.prompt-list-items>button span{display:grid;flex:1;gap:4px;min-width:0}.prompt-list-items>button strong{font-size:12px;font-weight:650}.prompt-list-items>button small{color:var(--muted);font-size:11px;line-height:1.45}.prompt-domain-tag{justify-self:start;padding:2px 7px;border-radius:999px;color:var(--muted);background:var(--surface-soft);font-size:9px;line-height:1.4}.prompt-list-items>button .prompt-domain-tag-row{display:flex;flex-wrap:wrap;gap:4px}.prompt-list-items>button .prompt-domain-tag{display:inline-flex;flex:0 0 auto}.prompt-domain-tag.domain{color:var(--accent-dark);background:var(--accent-soft)}.prompt-list-items>button svg{width:13px;color:#a69f96}.prompt-editor-panel{position:relative;overflow:auto;padding:22px 24px;overscroll-behavior:contain;scrollbar-gutter:stable}.prompt-meta{display:flex;justify-content:space-between;gap:20px;padding-bottom:18px;border-bottom:1px solid #ebe7de}.prompt-meta p{margin:0 0 4px;color:var(--accent-dark);font-size:10px;font-weight:700;letter-spacing:.08em}.prompt-meta h2{margin:0 0 4px;font-family:Iowan Old Style,Songti SC,STSong,Georgia,serif;font-size:22px;font-weight:500}.prompt-meta span{color:var(--muted);font-size:10px}.prompt-domain-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}.prompt-domain-tags b{padding:3px 9px;border-radius:999px;color:var(--muted);background:var(--surface-soft);font-size:10px;font-weight:650}.prompt-domain-tags b.domain{color:var(--accent-dark);background:var(--accent-soft)}.prompt-runtime-row{display:grid;gap:10px;margin:17px 0}.prompt-runtime-row{grid-template-columns:repeat(4,minmax(0,1fr))}.prompt-runtime-row label{display:grid;min-width:0;gap:6px;color:var(--muted);font-size:10px}.prompt-runtime-savebar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:38px;margin:-7px 0 15px;padding:7px 10px;border:1px solid var(--line);border-radius:8px;color:var(--muted);font-size:10px;background:var(--surface-soft)}.prompt-runtime-savebar.dirty{border-color:color-mix(in srgb,var(--accent) 40%,var(--line));color:var(--accent-dark);background:color-mix(in srgb,var(--accent-soft) 45%,var(--surface))}.prompt-runtime-savebar .primary-button{min-height:30px;padding:6px 10px;font-size:10px}.prompt-runtime-row input,.prompt-runtime-row select{width:100%;min-width:0;min-height:36px;padding:8px 10px;border-radius:8px}.code-field>small{color:#a9a29a;font-size:9px;line-height:1.5}.code-field.domain-prompt{margin-top:10px;background:#24201e;box-shadow:inset 3px 0 var(--accent)}.model-row{display:grid;grid-template-columns:minmax(0,1fr) 140px;gap:10px;margin:17px 0}.model-row label,.debug-grid label,.debug-column{display:grid;gap:6px;color:var(--muted);font-size:10px}.model-row label{min-width:0}.model-row input,.model-row select{width:100%;min-width:0;min-height:36px;padding:8px 10px;border-radius:8px}.model-row label>small{color:var(--muted);font-size:9px}.model-row input:disabled{color:#9b958c;background:#f1eee7}.code-field{display:grid;gap:7px;margin-bottom:13px}.prompt-content-editor-heading{display:flex;align-items:center}.prompt-content-editor-heading label,.prompt-content-editor-heading label>span{min-width:0}.code-field .prompt-content-editor-heading label>span{display:flex;align-items:center;gap:7px;color:var(--ink-soft);font-size:10px;font-weight:650}.prompt-content-editor-surface{position:relative;min-width:0}.prompt-content-editor-surface textarea,.prompt-highlight-scroll,.prompt-layered-editor textarea{scrollbar-width:none;scrollbar-color:transparent transparent}.prompt-content-editor-surface textarea::-webkit-scrollbar,.prompt-highlight-scroll::-webkit-scrollbar,.prompt-layered-editor textarea::-webkit-scrollbar{width:0;height:0}.prompt-content-editor-surface.is-scroll-active textarea,.prompt-highlight-scroll.is-scroll-active,.prompt-layered-editor.is-scroll-active textarea{scrollbar-width:thin;scrollbar-color:#686158 transparent}.prompt-content-editor-surface.is-scroll-active textarea::-webkit-scrollbar,.prompt-highlight-scroll.is-scroll-active::-webkit-scrollbar,.prompt-layered-editor.is-scroll-active textarea::-webkit-scrollbar{width:7px;height:7px}.prompt-content-editor-surface.is-scroll-active textarea::-webkit-scrollbar-thumb,.prompt-highlight-scroll.is-scroll-active::-webkit-scrollbar-thumb,.prompt-layered-editor.is-scroll-active textarea::-webkit-scrollbar-thumb{border-radius:999px;background:#686158}.prompt-fullscreen-trigger{position:absolute;z-index:2;top:10px;right:10px;display:grid;place-items:center;width:32px;height:32px;padding:0;align-items:center;border:1px solid rgba(226,219,207,.24);border-radius:8px;color:#eee8de;background:#24231fdb;box-shadow:0 8px 22px #0c0b0a3d;opacity:0;transform:translateY(-3px);cursor:pointer;transition:opacity .16s ease,transform .16s ease,border-color .16s ease,color .16s ease,background .16s ease}.prompt-content-editor-surface:hover .prompt-fullscreen-trigger,.prompt-fullscreen-trigger:focus-visible{opacity:1;transform:translateY(0)}.prompt-fullscreen-trigger:hover,.prompt-fullscreen-trigger:focus-visible{border-color:#de9072b3;color:#fff;background:#473c35f5;outline:none}.prompt-fullscreen-trigger svg{width:15px;height:15px}.code-field>span,.debug-head{display:flex;align-items:center;gap:7px;color:var(--ink-soft);font-size:10px;font-weight:650}.code-field textarea{width:100%;min-height:clamp(180px,24vh,245px);padding:17px;border:1px solid #373632;border-radius:10px;color:#e8e3d9;background:#24231f;font-family:SFMono-Regular,Consolas,monospace;font-size:11px;line-height:1.65;outline:none;resize:vertical}.code-field textarea:focus{border-color:#d69076;box-shadow:0 0 0 3px #d9775726}.code-field.user-prompt textarea{min-height:100px}.prompt-fullscreen-backdrop{position:fixed;z-index:1000;inset:0;padding:10px;background:#181614c2;-webkit-backdrop-filter:blur(10px) saturate(.8);backdrop-filter:blur(10px) saturate(.8)}.prompt-fullscreen-dialog{display:grid;grid-template-rows:auto minmax(0,1fr);width:100%;height:calc(100dvh - 20px);overflow:hidden;border:1px solid #4b4741;border-radius:18px;background:#1c1b18;box-shadow:0 28px 90px #0c0b0a80}.prompt-fullscreen-header{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:58px;padding:11px 16px 11px 19px;border-bottom:1px solid #3d3934;color:#f1ebe2;background:linear-gradient(115deg,#282621,#211f1c 68%,#27231f)}.prompt-fullscreen-title{display:flex;align-items:center;gap:11px;min-width:0}.prompt-fullscreen-version{max-width:min(60vw,760px);overflow:hidden;margin:3px 0 0;color:#9f988e;font-size:10px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.prompt-fullscreen-title>span{width:7px;height:24px;border-radius:999px;background:linear-gradient(#de8d6f,#a9503b);box-shadow:0 0 22px #d9775747}.prompt-fullscreen-header h2{overflow:hidden;margin:0;font-family:Iowan Old Style,Songti SC,STSong,Georgia,serif;font-size:18px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.prompt-fullscreen-close{display:grid;flex:none;place-items:center;width:34px;height:34px;padding:0;border:1px solid #5a554d;border-radius:9px;color:#e8e3d9;background:#34312cb8;cursor:pointer;transition:border-color .16s ease,color .16s ease,background .16s ease}.prompt-fullscreen-close:hover{border-color:#d69076;color:#fff;background:#644235a8}.prompt-fullscreen-close svg{width:15px;height:15px}.prompt-fullscreen-actions{display:flex;align-items:center;gap:8px;margin-left:auto}.prompt-fullscreen-version-select{display:flex;align-items:center;gap:6px;color:#9f988e;font-size:10px}.prompt-fullscreen-version-select select{min-height:34px;padding:0 26px 0 9px;border:1px solid #5a554d;border-radius:8px;color:#e8e3d9;background:#302d28;font:inherit;cursor:pointer}.prompt-fullscreen-save{min-height:34px;padding:0 12px;border:1px solid rgba(215,141,111,.7);border-radius:8px;color:#f7e0d5;background:#704233cc;font:inherit;font-size:10px;cursor:pointer}.prompt-fullscreen-save:hover{background:#8a4e3aeb}.prompt-fullscreen-save:disabled{cursor:wait;opacity:.62}.prompt-fullscreen-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1px;min-height:0;background:#4a453e}.prompt-compare-pane{display:grid;grid-template-rows:auto minmax(0,1fr);min-width:0;min-height:0;background:#1d1c19}.prompt-compare-pane.current{background:#211f1c}.prompt-compare-pane-header{display:flex;align-items:center;gap:8px;min-height:42px;padding:9px 18px;border-bottom:1px solid #393631;background:#25231ff0}.prompt-compare-pane-header strong{color:#d7d0c6;font-size:10px;font-weight:650;letter-spacing:.06em}.prompt-compare-pane-header>span,.prompt-compare-stats span{display:inline-flex;align-items:center;min-height:20px;padding:2px 7px;border-radius:999px;font-family:SFMono-Regular,Consolas,monospace;font-size:9px;font-weight:700}.prompt-compare-stats{display:flex;align-items:center;gap:5px;margin-left:auto}.prompt-compare-pane-header .added{color:#a8d7b9;background:#41765347}.prompt-compare-pane-header .removed{color:#e3aaa4;background:#97433947}.prompt-compare-pane-header .modified{color:#e3ca8e;background:#946e264d}.prompt-compare-pane-header .unchanged{color:#8f8a82;background:#6f6a622e}.prompt-highlight-scroll{min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.prompt-highlight-content,.prompt-layered-editor textarea{margin:0;padding:20px 22px 36px;border:0;font-family:SFMono-Regular,Consolas,monospace;font-size:12px;line-height:1.75;tab-size:2;white-space:pre-wrap;overflow-wrap:anywhere}.prompt-highlight-content{min-height:100%;color:#d9d2c8}.prompt-highlight-line{display:block;min-height:1.75em;margin-inline:-22px;padding-inline:22px}.prompt-highlight-line.equal:has(>.prompt-variable-token){background:#2a6f8f0f}.prompt-highlight-line.removed{color:#e7b7b1;background:linear-gradient(90deg,#97433957,#97433914);box-shadow:inset 3px 0 #a85247;text-decoration-color:#eeb3ac9e;text-decoration-line:line-through}.prompt-highlight-line.modified-before{color:#d9d2c8;background:#8f5a2e0b;box-shadow:inset 2px 0 #bd7652d1}.prompt-highlight-line.added{color:#c5e3d0;background:linear-gradient(90deg,#3b764f57,#3b764f14);box-shadow:inset 3px 0 #4d9567}.prompt-highlight-line.modified-after{color:#d9d2c8;background:#946e260b;box-shadow:inset 2px 0 #b48a3ddb}.prompt-layered-editor{position:relative;min-width:0;min-height:0;overflow:hidden}.prompt-current-highlight{position:absolute;z-index:0;inset:0;overflow:hidden;pointer-events:none}.prompt-current-highlight .prompt-highlight-content{color:transparent}.prompt-current-highlight .prompt-variable-token{color:transparent;font-weight:400}.prompt-current-highlight .prompt-inline-added,.prompt-current-highlight .prompt-inline-removed{color:transparent}.prompt-layered-editor textarea{position:relative;z-index:1;width:100%;height:100%;min-height:0;resize:none;color:#d9d2c8;caret-color:#f4eee5;background:transparent;outline:none;overflow-x:hidden;overflow-y:auto;scrollbar-gutter:stable}.prompt-layered-editor textarea::selection{background:#6c91a657}.prompt-layered-editor textarea::placeholder{color:#77726a;-webkit-text-fill-color:#77726a}.prompt-layered-editor textarea:focus{box-shadow:inset 0 0 0 1px #d977578c}.prompt-layered-editor textarea:disabled{cursor:not-allowed}.prompt-variable-token{border-bottom:1px solid rgba(111,177,209,.72);border-radius:2px;color:#9bd4ed;background:linear-gradient(180deg,transparent 36%,rgba(42,111,143,.28) 36%);font-weight:700}.prompt-inline-added{border-radius:3px;background:#3b915b6b;color:#d5f0dc}.prompt-inline-removed{border-radius:3px;background:#a4463b66;color:#f1c4bc;text-decoration:line-through}.prompt-note-dialog-backdrop{position:fixed;z-index:1100;inset:0;display:grid;place-items:center;padding:20px;background:#1e1b1885;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}.prompt-note-dialog{width:min(480px,100%);padding:24px;border:1px solid #e2d8cc;border-radius:16px;background:var(--surface);box-shadow:0 24px 70px #2c231c3d}.prompt-note-dialog-heading{display:grid;gap:5px;margin-bottom:19px}.prompt-note-dialog-heading>span{color:var(--accent-dark);font-size:9px;font-weight:700;letter-spacing:.12em}.prompt-note-dialog-heading h2{margin:0;color:var(--ink);font-family:Iowan Old Style,Songti SC,STSong,Georgia,serif;font-size:22px;font-weight:500}.prompt-note-dialog-heading p{margin:0;color:var(--muted);font-size:10px;line-height:1.55}.prompt-note-dialog>label{display:grid;gap:7px;color:var(--ink-soft);font-size:10px;font-weight:650}.prompt-note-dialog>label b{margin-left:4px;color:var(--accent-dark);font-size:9px}.prompt-note-dialog textarea{width:100%;min-height:116px;padding:11px 12px;resize:vertical;border:1px solid var(--line-strong);border-radius:10px;color:var(--ink);background:#fffefa;font:inherit;font-size:12px;line-height:1.65;outline:none}.prompt-note-dialog textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px #d9775721}.prompt-note-dialog-error{margin-top:var(--space-2);color:var(--danger);font-size:var(--text-label)}.prompt-note-dialog-actions{display:flex;align-items:center;justify-content:flex-end;gap:11px;margin-top:18px}@media(max-width:900px){.prompt-fullscreen-workspace{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) minmax(0,1fr)}}@media(max-width:600px){.prompt-fullscreen-backdrop{padding:0}.prompt-fullscreen-dialog{height:100dvh;border:0;border-radius:0}.prompt-fullscreen-header{min-height:52px;padding:9px 11px 9px 14px}.prompt-fullscreen-header h2{font-size:16px}.prompt-compare-pane-header{min-height:36px;padding:7px 12px}.prompt-highlight-content,.prompt-layered-editor textarea{padding:14px 15px 28px;font-size:11px}.prompt-highlight-line{margin-inline:-15px;padding-inline:15px}}.debug-console{padding:15px;border:1px solid var(--line);border-radius:var(--radius-md);background:#f7f4ee}.debug-head{justify-content:space-between;margin-bottom:11px}.debug-head small{color:var(--muted);font-size:10px;font-weight:400}.debug-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.debug-column{align-content:start}.debug-source{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px!important}.debug-source select{min-width:0;min-height:32px;padding:6px 8px;border-radius:8px;font-size:10px}.debug-result-status{display:flex;min-height:32px;align-items:center;justify-content:space-between;gap:8px}.debug-result-status>span{color:var(--muted);font-size:10px}.debug-result-status small{overflow:hidden;color:var(--muted);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.debug-result-status.running small{color:var(--warning)}.debug-result-status.success small{color:var(--success)}.debug-result-status.failed small,.debug-error{color:var(--danger)}.debug-hint{color:var(--muted);font-size:10px;line-height:1.5}.debug-error{padding:8px 10px;border:1px solid #ebc9c2;border-radius:7px;background:var(--danger-soft);font-size:10px;line-height:1.5;white-space:pre-wrap}.debug-grid textarea{min-height:132px;padding:11px;border-radius:8px;font-family:SFMono-Regular,Consolas,monospace;font-size:11px;line-height:1.55;resize:vertical}.debug-footer{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-top:11px}.debug-footer .primary-button{margin:0}.debug-metrics{display:grid;grid-template-columns:repeat(5,minmax(94px,1fr));overflow:hidden;border:1px solid var(--line);border-radius:10px;background:#fffdf8c7}.debug-metrics>span{display:grid;gap:3px;min-width:94px;padding:9px 11px;border-right:1px solid var(--line);text-align:right}.debug-metrics>span:last-child{border-right:0}.debug-metrics small{color:var(--muted);font-size:9px}.debug-metrics strong{color:var(--ink);font-size:11px;font-variant-numeric:tabular-nums}.save-toast{position:fixed;z-index:30;right:24px;bottom:24px;padding:11px 15px;border-radius:9px;color:#fff;background:var(--ink);box-shadow:var(--shadow-md);font-size:10px}.panel-loading{display:grid;place-items:center}.settings-actions{display:flex;flex-wrap:wrap;gap:8px}.settings-footer{display:flex;justify-content:flex-end;width:min(100%,var(--reading-content-max));margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}.execution-mode{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:12px;padding:15px 18px;border-radius:var(--radius-md)}.execution-mode>div:first-child{display:grid;gap:3px}.execution-mode strong{font-size:12px}.execution-mode span{color:var(--muted);font-size:10px}.points-rate-field{display:grid;gap:5px;color:var(--muted);font-size:10px}.points-rate-field span{display:flex;align-items:center;gap:7px}.points-rate-field input{width:88px;min-height:40px;padding:6px 8px;border-radius:7px;text-align:right}.provider-list{display:grid;gap:12px}.provider-icon{display:grid;flex:none;place-items:center;width:40px;height:40px;border-radius:10px;color:var(--accent-dark);background:var(--accent-soft)}.provider-icon svg{width:18px;stroke-width:1.8}.provider-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}.provider-fields label{display:grid;gap:6px;min-width:0;color:var(--muted);font-size:10px}.provider-fields .full-field{grid-column:span 2}.provider-fields input,.provider-fields select{min-width:0;min-height:38px;padding:8px 10px;border-radius:8px}.provider-fields input:disabled{color:#9d968d;background:#f2efe8}.provider-fields .field-help{margin-top:-2px;color:var(--muted);font-size:10px}.provider-card-actions{display:flex;align-items:center;gap:12px;margin-top:15px}.provider-pool{border:1px solid var(--line);border-radius:10px;background:#fffdfa;padding:12px}.provider-pool>summary{cursor:pointer;display:flex;align-items:center;gap:10px;list-style:none}.provider-pool>summary::-webkit-details-marker{display:none}.provider-pool>summary span{color:var(--muted);font-size:10px;flex:1;min-width:0}.provider-pool-facts{overflow-wrap:anywhere;text-align:right}.provider-key-list{display:grid;gap:8px;margin-top:12px}.provider-key-row{display:grid;grid-template-columns:120px minmax(0,1fr) auto auto;gap:8px;align-items:center}.provider-key-row input{min-height:34px;padding:7px 9px;border:1px solid var(--line-strong);border-radius:7px}.text-button{border:0;background:transparent;cursor:pointer;color:var(--accent);padding:3px 5px}.provider-card-actions a.secondary-button{text-decoration:none}.provider-card-actions svg,.settings-actions svg{width:14px}.probe-result{font-size:10px;line-height:1.45}.probe-result.success{color:var(--success)}.probe-result.error{color:var(--danger)}.resource-error{margin:13px 0 0;font-size:10px}.resource-error{color:var(--danger)}.video-editor{display:grid;grid-template-rows:56px minmax(330px,1fr) 300px;height:100vh;overflow:hidden;color:#e9e4db;background:#211f1c;font-size:11px}.editor-topbar{display:flex;align-items:center;gap:11px;padding:0 14px;border-bottom:1px solid #3b3934;background:#282622}.editor-topbar select{max-width:280px;min-height:34px;padding:6px 10px;border:1px solid #48453f;border-radius:8px;color:#f0ece4;background:#302e2a;outline:none}.editor-topbar select:focus{border-color:#d58a70}.autosave-dot{color:#9c978f;font-size:9px}.autosave-dot:before{content:"";display:inline-block;width:6px;height:6px;margin-right:6px;border-radius:50%;background:#69a17b;box-shadow:0 0 0 3px #69a17b1a}.editor-actions{display:flex;gap:6px;margin-left:auto}.editor-actions button{display:flex;align-items:center;gap:6px;min-height:32px;padding:6px 10px;border:1px solid #494640;border-radius:7px;color:#d5d0c8;background:#312f2a;font-size:9px;transition:border-color .15s ease,color .15s ease,background .15s ease}.editor-actions button:hover{border-color:#676158;color:#fff;background:#393631}.editor-actions svg{width:13px}.editor-actions .export-button{position:relative;isolation:isolate;overflow:hidden;justify-content:center;border-color:var(--accent);color:#241a16;background:var(--accent);font-size:12px;font-weight:650;box-shadow:inset 0 1px #ffffff2e,0 2px 5px #0000001f;transition:background .16s ease,border-color .16s ease,transform .16s ease}.editor-actions .export-button:hover:not(:disabled){border-color:#e18667;color:#241a16;background:#e18667;transform:translateY(-1px)}.editor-actions .export-button:active:not(:disabled){transform:translateY(1px)}.editor-actions .export-button:focus-visible{outline:2px solid #fff4ea;outline-offset:3px}.editor-actions .export-button:disabled{cursor:not-allowed;opacity:.5}.editor-actions .export-button.exporting:disabled{cursor:wait;opacity:1;color:#241a16;background:var(--accent);border-color:var(--accent)}.editor-page .editor-actions .export-button.export-complete{color:#f5fff7;background:var(--success);border-color:var(--success)}.mp4-export-icon{display:flex;flex:0 0 18px;overflow:hidden}.editor-actions .mp4-export-icon svg{width:18px;height:18px}.mp4-export-label{display:grid;white-space:nowrap}.mp4-export-idle,.mp4-export-running{grid-area:1 / 1;display:flex;align-items:center;justify-content:center;gap:5px;transition:opacity .16s ease,transform .16s ease}.mp4-export-running{visibility:hidden;opacity:0;transform:translateY(4px)}.exporting .mp4-export-idle{visibility:hidden;opacity:0;transform:translateY(-4px)}.exporting .mp4-export-running{visibility:visible;opacity:1;transform:translateY(0)}.mp4-export-counter{display:flex;font-variant-numeric:tabular-nums;line-height:1}.mp4-export-digit{width:1ch;height:1em;overflow:hidden}.mp4-export-digit>span{display:block;transition:transform .24s ease}.mp4-export-digit>span>span{display:block;height:1em}.mp4-export-progress{position:absolute;inset:auto 0 0;height:3px;background:#241a1626;opacity:0;transition:opacity .16s ease}.exporting .mp4-export-progress{opacity:1}.mp4-export-progress:after{content:"";display:block;height:100%;background:currentColor;transform:scaleX(var(--mp4-progress, 0));transform-origin:left;transition:transform .24s ease}.exporting .mp4-export-arrow{animation:mp4-export-drop 1.2s ease-in-out infinite}@keyframes mp4-export-drop{0%,to{transform:translateY(0);opacity:1}45%{transform:translateY(8px);opacity:0}46%{transform:translateY(-8px);opacity:0}75%{transform:translateY(0);opacity:1}}@media(prefers-reduced-motion:reduce){.editor-actions .export-button,.editor-actions .export-button *,.editor-actions .mp4-export-progress:after{animation:none;transition:none}.editor-actions .export-button:hover:not(:disabled),.editor-actions .export-button:active:not(:disabled){transform:none}}.editor-actions .draft-export-button{position:relative;isolation:isolate;overflow:visible}.editor-actions .draft-export-button.exporting:before{position:absolute;z-index:-2;inset:-3px;border-radius:9px;background:conic-gradient(#d5d0c8 var(--export-progress),rgba(213,208,200,.14) 0);content:"";transition:background .2s linear}.editor-actions .draft-export-button.exporting:after{position:absolute;z-index:-1;inset:-1px;border-radius:7px;background:#312f2a;content:""}.editor-actions .draft-export-button.exporting:disabled{cursor:wait;opacity:1}.editor-workspace{display:grid;grid-template-columns:clamp(190px,24%,360px) minmax(0,1fr) clamp(210px,25%,380px);min-width:0;min-height:0;overflow:hidden}.media-bin,.inspector{min-width:0;min-height:0;overflow:auto;background:#2b2925;scrollbar-color:#555149 #2b2925;scrollbar-width:thin}.media-bin{padding:0 12px;border-right:1px solid #3d3a35}.inspector{padding:0 13px;border-left:1px solid #3d3a35}.bin-tabs,.inspector-tabs{display:flex;gap:4px;border-bottom:1px solid #3d3a35}.bin-tabs button,.inspector-tabs button{padding:13px 9px 10px;border:0;color:#98928a;background:none;font-size:9px}.bin-tabs button:hover,.inspector-tabs button:hover{color:#eee9e1}.bin-tabs button.active,.inspector-tabs button.active{border-bottom:2px solid var(--accent);color:#fff}.import-tile{display:block;margin:12px 0;padding:17px 10px;border:1px dashed #5a554d;border-radius:8px;color:#bdb7ae;background:#33312c;text-align:center;font-size:9px;cursor:pointer;transition:border-color .15s ease,background .15s ease}.import-tile:hover{border-color:var(--accent);background:#39352f}.media-bin h3{color:#c9c3ba;font-size:9px;font-weight:550}.media-bin h3 span{color:#77726b}.asset-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.asset-card{min-width:0;padding:0;border:0;color:inherit;background:transparent;text-align:left;cursor:pointer}.asset-card:disabled{cursor:default}.asset-card>span{display:block;overflow:hidden;margin-top:5px;color:#aaa49b;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.asset-thumb{display:grid;place-items:center;height:62px;overflow:hidden;border:1px solid #37342f;border-radius:6px;color:#77726a;background:#201f1c}.asset-card:not(:disabled):hover .asset-thumb,.asset-card:not(:disabled):focus-visible .asset-thumb,.asset-card.active .asset-thumb{border-color:var(--accent)}.asset-thumb img{width:100%;height:100%;object-fit:cover}.editor-asset-image-placeholder{display:block;width:100%;height:100%;min-height:48px;border-radius:inherit;background:linear-gradient(110deg,#ebe8df 25%,#f6f4ed 37%,#ebe8df 63%);background-size:200% 100%;animation:editor-resource-shimmer 1.2s ease-in-out infinite}@keyframes editor-resource-shimmer{to{background-position-x:-200%}}@media(prefers-reduced-motion:reduce){.editor-asset-image-placeholder{animation:none}}.preview-area{display:grid;grid-template-rows:auto minmax(0,1fr) 44px;min-width:0;min-height:0;overflow:hidden;background:#1f1e1b}.preview-toolbar{min-height:38px;display:flex;align-items:center;gap:10px;padding:0 11px;color:#8e8981;font-size:8px}.preview-toolbar button{padding:5px 7px;border:0;border-radius:6px;color:#aaa49b;background:#302e2a}.preview-toolbar button:last-child{margin-left:auto}.player-wrap{position:relative;display:flex;align-items:center;justify-content:center;min-height:0;overflow:hidden;padding:15px;background-image:radial-gradient(circle at 50% 45%,rgba(217,119,87,.07),transparent 36%)}.native-video-preview-slot{position:absolute;inset:15px;display:grid;grid-template-rows:minmax(0,1fr);place-items:center;min-width:0;min-height:0;overflow:hidden}.native-video-preview-slot.has-selection{grid-template-rows:18px minmax(0,1fr);row-gap:6px}.native-video-preview{box-sizing:border-box;max-width:100%;max-height:100%;border:1px solid #48443e;box-shadow:0 14px 40px #12110f}.preview-editable{transform-origin:center;touch-action:none;-webkit-user-select:none;user-select:none;cursor:grab}.preview-editable:active{cursor:grabbing}.preview-selection{outline:1px solid rgba(217,119,87,.9);outline-offset:2px;touch-action:none;-webkit-user-select:none;user-select:none;cursor:move}.preview-editor-overlay{position:absolute;inset:0;pointer-events:none}.preview-selection-status{width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:#ddd8d0}.preview-safe-area{position:absolute;inset:0;pointer-events:none}.preview-safe-curtain{position:absolute;right:0;left:0;width:100%;overflow:visible;min-height:0;padding:0;border:0;border-radius:0;opacity:.85;box-shadow:none;pointer-events:auto}.preview-safe-curtain-top{top:0;border-bottom-width:1px;border-bottom-style:solid}.preview-safe-curtain-bottom{bottom:0;border-top-width:1px;border-top-style:solid}.preview-safe-curtain-handle{position:absolute;right:12%;left:12%;z-index:3;height:10px;border-radius:999px;box-shadow:0 0 0 2px #fff,0 2px 8px #00000073;cursor:ns-resize;touch-action:none}.preview-transform-handle{position:absolute;z-index:2;width:10px;height:10px;border:1px solid #fff;border-radius:2px;background:var(--accent);box-shadow:0 0 0 1px #12110fcc;touch-action:none}.preview-scale-nw{top:-6px;left:-6px;cursor:nwse-resize}.preview-scale-ne{top:-6px;right:-6px;cursor:nesw-resize}.preview-scale-se{right:-6px;bottom:-6px;cursor:nwse-resize}.preview-scale-sw{bottom:-6px;left:-6px;cursor:nesw-resize}.preview-rotate-handle{top:-28px;left:calc(50% - 5px);border-radius:50%;cursor:grab}.preview-rotate-handle:after{position:absolute;top:9px;left:4px;width:1px;height:18px;background:#fffc;content:""}.transport{display:flex;align-items:center;justify-content:center;gap:9px;min-width:0;overflow:hidden;padding:0 12px;color:#938e86;font-size:8px}.transport button{flex:0 0 auto;display:grid;place-items:center;width:30px;height:30px;border:0;border-radius:50%;color:#f1ece4;background:#302e2a}.transport button:hover{background:#3b3833}.transport button svg{width:16px}.transport i{width:min(26vw,220px);height:2px;background:#45413c}.transport-scrubber{flex:1 1 220px;width:min(26vw,220px);min-width:48px}.inspector-tabs{margin:0 -13px;padding:0 9px}.inspector h3{margin:0 0 13px;padding:13px 0;border-bottom:1px solid #3d3a35;color:#e2ddd5;font-size:11px}.inspector label{display:grid;gap:5px;color:#a39d94;font-size:9px}.inspector input,.inspector textarea,.inspector select{width:100%;box-sizing:border-box;padding:8px;border-color:#49453f;border-radius:7px;color:#e8e3db;background:#34312d;font-size:9px}.inspector input:focus,.inspector textarea:focus,.inspector select:focus{border-color:var(--accent);box-shadow:0 0 0 2px #d9775729}.inspector textarea{min-height:86px;resize:vertical}.inspector .editor-position-toggle{display:flex;align-items:center;gap:7px;margin-top:10px;color:#c8c1b8;cursor:pointer}.inspector .editor-position-toggle input[type=checkbox]{flex:0 0 14px;width:14px;height:14px;margin:0;padding:0;border:0;border-radius:3px;accent-color:var(--accent)}.property-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:13px}.nothing-selected{display:grid;align-content:center;height:75%;color:#777169;text-align:center;font-size:9px}.nothing-selected svg{width:20px;margin:0 auto}.timeline-panel{min-height:0;border-top:1px solid #3d3a35;background:#292723}.timeline-toolbar{display:flex;align-items:center;gap:4px;height:38px;padding:0 11px;border-bottom:1px solid #3d3a35}.timeline-toolbar button{display:flex;align-items:center;gap:4px;padding:5px 7px;border:0;border-radius:5px;color:#aaa49b;background:none;font-size:9px}.timeline-toolbar button:hover{color:#fff;background:#37342f}.timeline-toolbar svg{width:13px}.timeline-toolbar i{flex:1}.timeline-toolbar input{width:90px;accent-color:var(--accent)}.timeline-scroll{display:flex;height:calc(100% - 38px);overflow:auto;scrollbar-color:#555149 #292723;scrollbar-width:thin}.editor-empty{display:grid;place-content:center;height:100vh;padding:30px;color:var(--ink);text-align:center}.editor-empty h1{margin:0;font-family:Iowan Old Style,Songti SC,STSong,Georgia,serif;font-size:36px;font-weight:500}.editor-empty p{color:var(--muted)}.editor-empty button{justify-self:center;padding:10px 20px;border:0;border-radius:9px;color:#fff;background:var(--ink)}.editor-error{margin:var(--space-3) 0 0}@media(max-width:1240px){.editor-actions button{padding-right:8px;padding-left:8px}}@media(max-width:980px){:root{--sidebar: 210px;--page-gutter-inline: 28px;--page-gutter-top: 42px}.page{padding-bottom:72px}.prompt-page{padding-bottom:24px}.prompt-layout{grid-template-columns:220px minmax(0,1fr)}.model-row{grid-template-columns:1fr}.prompt-runtime-row,.provider-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.provider-fields .full-field{grid-column:span 1}.editor-actions button{font-size:0}.editor-actions button svg{margin:0}}@media(max-width:760px){:root{--sidebar: 0px;--page-gutter-inline: 18px;--page-gutter-top: 30px}.side-nav{inset:auto 0 0;width:100%;height:70px;padding:8px 10px calc(8px + env(safe-area-inset-bottom));border-top:1px solid var(--line);border-right:0}.brand-mark,.nav-label{display:none}.side-nav nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.side-nav[data-nav-items="5"] nav{grid-template-columns:repeat(5,minmax(0,1fr))}.side-nav[data-nav-items="6"] nav{grid-template-columns:repeat(6,minmax(0,1fr))}.side-nav[data-nav-items="7"] nav{grid-template-columns:repeat(7,minmax(0,1fr))}.side-nav nav a{display:grid;justify-items:center;gap:3px;min-height:52px;padding:6px 4px}.side-nav nav a.active:before{inset:auto 22% -8px;width:56%;height:3px;border-radius:3px 3px 0 0}.nav-copy small{display:none}.nav-copy strong{font-size:9px}.side-nav nav svg{width:18px;height:18px}.main-area{width:100%;margin-left:0;padding-bottom:70px}.page{padding-bottom:52px}.page-header{align-items:flex-start;flex-direction:column;margin-bottom:23px}.stepper{overflow-x:auto;padding:12px 14px}.step{min-width:max-content}.step i{width:24px;flex:none;margin:0 10px}.creation-card{padding:25px 20px}.creation-card>.property-grid{grid-template-columns:1fr}.ready-panel,.execution-mode{align-items:stretch;flex-direction:column}.sentence-card{grid-template-columns:44px minmax(0,1fr)}.shot-group-frame{padding:9px}.shot-group-edge{bottom:-9px;height:18px}.sentence-number{grid-row:1 / span 2}.sentence-card:not(.sentence-card-voice-only) .material-states{grid-column:2;border-top:1px solid var(--line);border-left:0}.prompt-page{height:auto;min-height:0;padding-bottom:50px;overflow:visible}.prompt-layout,.domain-create-row,.domain-create-prompt-grid{grid-template-columns:1fr}.domain-create-panel{position:fixed;inset:16px 16px 86px;max-height:none}.prompt-list{display:block;overflow:hidden}.prompt-list-title{display:none}.prompt-scope-filters{flex:0 0 100%;padding:10px 10px 4px}.prompt-list-items{display:flex;overflow-x:auto;overflow-y:hidden;scrollbar-gutter:auto}.prompt-list-items>button{flex:0 0 190px;border-top:0;border-right:1px solid #eeeae1}.prompt-list-items>button.active{box-shadow:inset 0 -3px var(--accent)}.prompt-editor-panel{overflow:visible;padding:20px}.prompt-runtime-row,.ip-library-create,.ip-profile-fields{grid-template-columns:1fr}.ip-profile-fields label.wide{grid-column:auto}.ip-library-grid,.debug-grid{grid-template-columns:1fr}.debug-footer{align-items:stretch;flex-direction:column}.debug-footer .primary-button{width:100%}.debug-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.debug-metrics>span{min-width:0;text-align:left}.debug-metrics>span:nth-child(-n+4){border-bottom:1px solid var(--line)}.debug-metrics>span:nth-child(2n){border-right:0}.debug-metrics>span:last-child{grid-column:1 / -1}.production-estimates-header{align-items:flex-start;flex-direction:column;gap:3px}.production-estimate-summary{max-width:none;text-align:left}.production-estimates ol{grid-template-columns:1fr}.production-estimates li{border-right:0;border-bottom:1px solid var(--line)}.production-estimates li:last-child{border-bottom:0}.settings-actions{width:100%}.settings-actions button{flex:1}.provider-fields{grid-template-columns:1fr}.video-editor{min-width:760px}}@media(max-width:620px){.domain-manager-current{grid-template-columns:1fr}.domain-manager-actions{width:100%}.domain-manager-actions>button{flex:1}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.prompt-load-error{display:grid;align-content:center;justify-items:center;min-height:320px;padding:36px;border:1px solid var(--line);border-radius:var(--radius-md);color:var(--ink);background:var(--surface);box-shadow:var(--shadow-sm);text-align:center}.prompt-load-error>span{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;color:var(--danger);background:var(--danger-soft)}.prompt-load-error>span svg{width:19px}.prompt-load-error h2{margin:16px 0 6px;font-family:Iowan Old Style,Songti SC,STSong,Georgia,serif;font-size:22px;font-weight:500}.prompt-load-error p{max-width:440px;margin:0 0 18px;color:var(--muted);font-size:10px;line-height:1.6}.nav-sections{display:grid;flex:1;align-content:start;gap:18px;min-height:0;overflow-y:auto;scrollbar-width:none}.nav-sections::-webkit-scrollbar{display:none}.nav-section .nav-label{margin-top:0}.nav-section.admin-section{padding-top:17px;border-top:1px solid var(--line)}.account-panel{display:grid;flex:none;gap:12px;margin-top:14px;padding:13px 11px 10px;border:1px solid var(--line);border-radius:14px;background:#fffdf8d1;box-shadow:var(--shadow-sm)}.account-person{display:flex;align-items:center;gap:9px}.account-support-unread{display:inline-grid;min-width:16px;height:16px;margin-left:auto;padding:0 3px;place-items:center;border-radius:50%;background:var(--danger);color:#fff;font-size:9px;font-style:normal;line-height:1}.account-support-unread-logout{flex:none;margin-left:6px}.account-profile-link{display:flex;flex:1;align-items:center;gap:9px;min-width:0;padding:3px;border-radius:10px;color:inherit;text-decoration:none}.account-profile-link:hover,.account-profile-link:focus-visible,.account-profile-link.active{background:#f0ece3;outline:none}.account-person>span{display:grid;flex:none;place-items:center;width:31px;height:31px;border-radius:10px;color:#fff;background:var(--ink);font-family:Iowan Old Style,Songti SC,STSong,Georgia,serif;font-size:13px}.account-profile-link>span{display:grid;flex:none;place-items:center;width:31px;height:31px;border-radius:10px;color:#fff;background:var(--ink);font-family:Iowan Old Style,Songti SC,STSong,Georgia,serif;font-size:13px}.account-person>div{display:grid;flex:1;min-width:0}.account-profile-link>div{display:grid;min-width:0}.account-page-header{align-items:center}.account-activity-card,.account-setting-card{border:1px solid var(--line);border-radius:var(--radius-md);background:#fffdf8d9;box-shadow:var(--shadow-sm)}.account-activity-card{padding:22px}.account-activity-card>header,.account-setting-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.account-activity-card h2,.account-setting-card h2{margin:0;color:var(--ink);font-size:16px}.account-activity-card p,.account-setting-card header p{margin:6px 0 0;color:var(--muted);font-size:11px;line-height:1.55}.account-balance-row small{color:var(--muted);font-size:10px}.usage-heatmap-scroll{overflow-x:auto;margin-top:22px;padding-bottom:5px}.usage-heatmap{display:grid;grid-template-rows:repeat(7,13px);grid-auto-flow:column;grid-auto-columns:13px;gap:4px;min-width:max-content}.usage-heat-cell,.usage-heat-spacer,.usage-heat-legend i{width:13px;height:13px;border-radius:3px}.usage-heat-spacer{visibility:hidden}.usage-heat-0{background:#ede9e0}.usage-heat-1{background:#d9e9db}.usage-heat-2{background:#9ecba7}.usage-heat-3{background:#4f9c68}.usage-heat-4{background:#176b40}.usage-heat-legend{display:flex;justify-content:space-between;gap:12px;margin-top:12px;color:var(--muted);font-size:10px}.usage-heat-legend>span:last-child{display:flex;align-items:center;gap:4px}.account-activity-loading{display:flex;align-items:center;gap:7px;min-height:85px}.account-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:14px}.account-setting-card{display:grid;align-content:start;gap:19px;padding:20px}.account-setting-card>header>svg{flex:none;width:19px;margin-top:2px;color:var(--accent)}.account-setting-card>header{justify-content:flex-start}.account-setting-card form,.account-language-select{display:grid;gap:13px}.account-setting-card label{display:grid;gap:6px;color:var(--muted);font-size:11px}.account-setting-card input,.account-setting-card select{width:100%;min-height:38px;padding:0 11px;border:1px solid var(--line);border-radius:9px;color:var(--ink);background:#fffdf8;font:inherit}.account-setting-card input:focus,.account-setting-card select:focus{border-color:var(--accent);outline:2px solid rgba(31,108,65,.14)}.account-setting-card input[readonly]{color:var(--muted);background:#f5f1e8}.account-setting-card .primary-button,.account-setting-card .secondary-button{justify-self:start}.account-balance-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px}.account-balance-row>div{display:grid;gap:5px;padding:13px;border-radius:10px;background:#f5f1e8}.account-balance-row strong{font-size:22px}.account-balance-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px;justify-content:flex-end}.account-page .account-balance-actions{grid-column:2;justify-self:stretch;justify-content:flex-start}.account-page .account-balance-content{display:grid;grid-column:2;grid-row:auto;gap:10px;width:100%;max-width:520px;min-width:0}.account-page .account-balance-content .account-balance-actions{grid-column:auto;grid-row:auto;justify-self:stretch;margin-top:0}.account-page .account-balance-content .account-payment-packages{display:flex;flex-wrap:wrap;gap:6px;margin-top:-2px}.account-page .account-balance-content .account-setting-note{max-width:none;margin:0}.account-page .recharge-options>button{width:100%;border:1px solid var(--line);border-radius:8px;padding:12px;text-align:left;color:var(--ink);background:var(--surface);line-height:1.5}.account-page .recharge-options>button[aria-pressed=true]{border-color:var(--accent);background:var(--surface-soft);box-shadow:inset 3px 0 var(--accent)}.account-page .recharge-options>button:disabled{cursor:not-allowed;opacity:.55}.account-page .recharge-custom-field{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px}.account-page .recharge-custom-result{display:grid;min-width:150px;gap:4px;padding:10px 12px;border-radius:8px;background:var(--surface-soft)}.account-page .recharge-custom-result small{color:var(--muted)}.account-page .recharge-custom-result strong{font-size:18px}.account-page .recharge-submit-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.account-page .recharge-team-link{margin-left:auto}.auth-email-code-field>span,.account-email-code-field>span{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px}.auth-email-code-field>small,.account-email-code-field>small{color:var(--success);font-size:10px}.email-setup-card{width:min(100%,560px)}.email-recovery-banner{display:flex;align-items:center;justify-content:space-between;gap:18px;max-width:var(--reading-content-max);margin:20px var(--page-gutter-inline) 0;padding:14px 18px;border:1px solid #e7c48f;border-radius:14px;background:#fff8ec;color:#6b3c12}.email-recovery-banner>div{display:grid;gap:3px;min-width:0}.email-recovery-banner span{color:#826340;font-size:12px}.email-recovery-banner a{flex:none;color:#126b4f;font-size:12px;font-weight:750}.email-recovery-card{width:min(100%,620px)}.email-recovery-note{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;margin-bottom:18px;padding:14px 16px;border:1px solid #e7c48f;border-radius:12px;background:#fff8ec;color:#6b3c12}.email-recovery-note>svg{width:20px}.email-recovery-note>div{display:grid;gap:3px;min-width:0}.email-recovery-note span{color:#826340;font-size:11px;line-height:1.5}.email-recovery-note a{display:inline-flex;align-items:center;gap:4px;color:#126b4f;font-size:11px;font-weight:750;white-space:nowrap}.email-recovery-note a svg{width:13px}.email-recovery-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 18px}.email-recovery-facts>div{min-width:0;padding:10px 12px;border-radius:10px;background:var(--surface-soft)}.email-recovery-facts dt{color:var(--muted);font-size:10px}.email-recovery-facts dd{overflow:hidden;margin:3px 0 0;font-size:12px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.email-recovery-status{display:grid;justify-items:center;gap:14px;padding:28px 0 8px;text-align:center}.email-recovery-status>svg{width:42px;height:42px;color:var(--success)}.email-recovery-status p{margin:0;color:var(--muted)}.email-setup-check{display:flex!important;flex-wrap:wrap;gap:12px}.email-setup-check span{display:inline-flex;align-items:center;gap:6px}.email-setup-check input{min-height:auto;width:auto}.email-setup-verification{display:grid;gap:12px;margin-top:18px;padding-top:18px;border-top:1px solid var(--line)}.email-setup-verification p{margin:0;color:var(--muted);font-size:11px;line-height:1.55}.email-setup-verification label{display:grid;gap:6px;color:var(--muted);font-size:11px}.email-setup-verification input{min-height:42px;padding:0 12px;border:1px solid var(--line);border-radius:10px;color:var(--ink);background:var(--surface);font:inherit;letter-spacing:.16em}@media(max-width:760px){.email-recovery-banner{align-items:flex-start;flex-direction:column;margin-inline:18px}.email-recovery-note{grid-template-columns:auto minmax(0,1fr)}.email-recovery-note a{grid-column:2}.email-recovery-facts{grid-template-columns:1fr}}.account-page .account-balance-card>header{grid-column:1;grid-row:auto}.account-page .account-balance-card>.account-balance-row,.account-page .account-balance-card>.account-payment-packages,.account-page .account-balance-card>.account-setting-note,.account-page .account-balance-card>.account-payment-order,.account-page .account-balance-card>.form-error{grid-column:2;grid-row:auto}.account-balance-actions .secondary-button{margin-top:0}.account-support-button{text-decoration:none}.support-page{padding-bottom:84px}.support-content{width:min(100%,var(--reading-content-max));margin-inline:auto}.support-error{margin:-4px 0 24px}.support-section{display:grid;gap:16px}.support-section+.support-section,.support-section+.support-panel,.support-panel+.support-section,.support-panel+.support-panel{margin-top:34px}.support-section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;padding-bottom:10px;border-bottom:1px solid var(--line)}.support-section-heading>div:first-child,.support-panel-header>div:last-child,.support-ticket-header>div:first-child{min-width:0}.support-section-heading h2,.support-panel h2{margin:5px 0 0;color:var(--ink);font-size:18px;font-weight:600;letter-spacing:-.018em}.support-section-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:10px}.support-section-count,.support-ticket-updated{color:var(--muted);font-size:11px;line-height:1.5;white-space:nowrap}.support-ticket-heading-actions,.support-ticket-filters{display:flex;align-items:center;justify-content:flex-end;gap:8px}.support-ticket-filters select{min-height:30px;padding:5px 26px 5px 9px;border:1px solid var(--line);border-radius:8px;color:var(--ink-soft);background:var(--surface);font:inherit;font-size:10px}.support-ticket-filters select:focus-visible{border-color:var(--accent);outline:2px solid rgba(217,119,87,.14)}.support-platform-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.support-platform-item{display:flex;align-items:flex-start;gap:9px;min-width:0;min-height:64px;padding:11px 13px;border:1px solid var(--line);border-radius:10px;background:#fffdf8b8;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.support-platform-item:hover{border-color:color-mix(in srgb,var(--accent) 34%,var(--line));box-shadow:var(--shadow-sm);transform:translateY(-1px)}.support-platform-item-degraded{border-color:color-mix(in srgb,var(--warning) 45%,var(--line));background:color-mix(in srgb,var(--warning-soft) 38%,var(--surface))}.support-platform-item-unavailable{border-color:color-mix(in srgb,var(--danger) 38%,var(--line));background:color-mix(in srgb,var(--danger-soft) 26%,var(--surface))}.support-platform-item>div{display:grid;gap:4px;min-width:0}.support-platform-item strong{overflow:hidden;color:var(--ink);font-size:11px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.support-platform-item strong.support-platform-availability{margin-top:2px;color:var(--ink);font-size:15px;font-variant-numeric:tabular-nums;letter-spacing:-.02em}.support-platform-dot{flex:none;width:8px;height:8px;margin-top:4px;border-radius:50%;background:var(--muted);box-shadow:0 0 0 3px var(--surface-soft)}.support-platform-dot-available{background:var(--success);box-shadow:0 0 0 3px var(--success-soft)}.support-platform-dot-degraded{background:var(--warning);box-shadow:0 0 0 3px var(--warning-soft)}.support-platform-dot-unavailable{background:var(--danger);box-shadow:0 0 0 3px var(--danger-soft)}.support-platform-dot-unknown{background:var(--muted);box-shadow:0 0 0 3px var(--surface-soft)}.support-ticket-list{display:grid;gap:10px}.support-ticket,.support-panel{border:1px solid var(--line);border-radius:var(--radius-md);background:#fffdf8db;box-shadow:var(--shadow-sm)}.support-ticket-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:18px 20px 14px}.support-ticket-header h3{margin:0;color:var(--ink);font-size:15px;font-weight:650;letter-spacing:-.012em}.support-meta,.support-message-meta{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:7px;color:var(--muted);font-size:10px;line-height:1.45}.support-meta svg{width:13px;height:13px;color:var(--accent-dark)}.support-announcement-toggle{display:inline-flex;flex:none;align-items:center;gap:5px;min-height:30px;padding:5px 8px;border:1px solid var(--line);border-radius:8px;color:var(--muted);background:transparent;font:inherit;font-size:10px;cursor:pointer}.support-announcement-toggle:hover,.support-announcement-toggle:focus-visible{border-color:var(--accent);color:var(--accent-dark)}.support-announcement-toggle svg{width:14px;height:14px;transition:transform .16s ease}.support-announcement-toggle.is-collapsed svg{transform:rotate(-90deg)}.support-announcement-surface{overflow:hidden;border:1px solid var(--line);border-radius:var(--radius-md);background:#fffdf8db;box-shadow:var(--shadow-sm)}.support-announcement-group+.support-announcement-group{border-top:1px solid var(--line)}.support-announcement-date{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 20px 9px;color:var(--muted);background:#eeece47a;font-size:10px;line-height:1.5;letter-spacing:.02em}.support-announcement-date time{color:var(--ink-soft);font-weight:650}.support-announcement-items{display:grid}.support-announcement-item{padding:17px 20px 18px}.support-announcement-item+.support-announcement-item{border-top:1px solid var(--line)}.support-announcement-item-header{display:flex;align-items:baseline;justify-content:space-between;gap:18px}.support-announcement-item h3{margin:0;color:var(--ink);font-size:15px;font-weight:650;letter-spacing:-.012em}.support-announcement-item .support-meta{flex:none;margin-top:0}.support-announcement-item p{max-width:860px;margin:8px 0 0;color:var(--ink-soft);font-size:13px;line-height:1.75;white-space:pre-wrap}.support-empty{margin:0;padding:24px 0 12px;color:var(--muted);font-size:12px}.support-panel{display:grid;gap:22px;padding:22px}.support-panel-header{display:flex;align-items:flex-start;gap:12px}.support-panel-icon{display:grid;flex:none;place-items:center;width:34px;height:34px;border-radius:10px;color:var(--accent-dark);background:var(--accent-soft)}.support-panel-icon svg{width:17px;height:17px}.support-panel-header h2{margin-top:4px}.support-panel-header p:last-child{margin:6px 0 0;color:var(--muted);font-size:11px;line-height:1.55}.support-form{display:grid;gap:10px;max-width:720px}.support-form label{display:grid;gap:6px;color:var(--muted);font-size:11px}.support-form input,.support-form textarea,.support-form select{width:100%;min-width:0;min-height:40px;padding:10px 11px;border:1px solid var(--line);border-radius:9px;color:var(--ink);background:var(--surface);font:inherit}.support-form input:focus,.support-form textarea:focus,.support-form select:focus,.support-reply input:focus{border-color:var(--accent);outline:2px solid rgba(217,119,87,.14)}.support-form textarea{min-height:110px;resize:vertical}.support-file-field input{padding:8px;font-size:11px}.support-sla-note{margin:-2px 0 2px;color:var(--muted);font-size:10px;line-height:1.5}.support-ticket{overflow:hidden}.support-ticket-header{padding-bottom:16px;border-bottom:1px solid var(--line)}.support-status{display:inline-flex;padding:2px 7px;border-radius:99px;color:var(--success);background:var(--success-soft)}.support-status-closed{color:var(--muted);background:var(--surface-soft)}.support-status-degraded,.support-status-unknown{color:var(--warning);background:var(--warning-soft)}.support-status-unavailable{color:var(--danger);background:var(--danger-soft)}.support-ticket-header-side{display:grid;justify-items:end;gap:7px}.support-ticket-status-select{min-height:30px;padding:4px 8px;border:1px solid var(--line);border-radius:8px;color:var(--ink-soft);background:var(--surface);font:inherit;font-size:10px}.support-messages{display:grid;gap:8px;padding:16px 20px 4px}.support-message{max-width:min(760px,88%);padding:11px 13px;border-radius:10px 10px 10px 3px;background:var(--surface-soft);white-space:pre-wrap}.support-message.is-own{justify-self:end;border-radius:10px 10px 3px;background:var(--accent-soft)}.support-message-meta{justify-content:space-between;gap:12px;margin:0}.support-message-meta strong{color:var(--ink-soft);font-size:10px;font-weight:650}.support-message p{margin:7px 0 0;color:var(--ink);font-size:12px;line-height:1.65}.support-attachment{display:block;max-width:180px;max-height:140px;margin-top:8px;border-radius:7px;object-fit:cover}.support-reply{display:flex;align-items:center;gap:8px;margin:12px 20px 20px;padding-top:12px;border-top:1px solid var(--line)}.support-reply input{flex:1;min-width:0;min-height:38px;padding:9px 11px;border:1px solid var(--line);border-radius:9px;color:var(--ink);background:var(--surface);font:inherit}.support-reply-file{position:relative;display:grid;flex:none;place-items:center;width:34px;height:34px;border:1px solid var(--line);border-radius:8px;color:var(--muted);background:var(--surface);cursor:pointer}.support-reply-file:hover,.support-reply-file:focus-within{border-color:var(--accent);color:var(--accent-dark)}.support-reply-file input{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0}.support-reply-file span{font-size:18px;line-height:1}.support-reply .secondary-button{display:grid;flex:none;place-items:center;width:38px;min-height:38px;padding:0}.support-reply .secondary-button svg{width:15px;height:15px}.support-faq{overflow:hidden;border:1px solid var(--line);border-radius:var(--radius-md);background:#fffdf8b8}.support-faq>summary{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 20px;color:var(--ink);cursor:pointer;list-style:none}.support-faq>summary::-webkit-details-marker{display:none}.support-faq>summary:after{flex:none;width:8px;height:8px;border-right:1px solid var(--muted);border-bottom:1px solid var(--muted);content:"";transform:rotate(45deg) translateY(-2px);transition:transform .16s ease}.support-faq[open]>summary{border-bottom:1px solid var(--line)}.support-faq[open]>summary:after{transform:rotate(225deg) translate(-2px,-2px)}.support-faq>summary:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.support-faq>summary strong{display:block;margin-top:5px;font-size:16px;font-weight:650}.support-faq-summary-note{color:var(--muted);font-size:11px}.support-faq-body{display:grid;gap:22px;padding:20px}.support-faq-list{display:grid;gap:0}.support-faq-item{position:relative;padding:0 0 16px}.support-faq-item+.support-faq-item{padding-top:16px;border-top:1px solid var(--line)}.support-faq-item h3{margin:0;color:var(--ink);font-size:13px;font-weight:650}.support-faq-item p{max-width:850px;margin:7px 0 0;color:var(--ink-soft);font-size:12px;line-height:1.7;white-space:pre-wrap}.support-faq-edit{margin-top:7px}.support-faq-editor{display:grid;gap:10px;padding-top:18px;border-top:1px solid var(--line)}.support-faq-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}.support-faq-editor-heading h3{margin:0;font-size:13px}.support-faq-editor label{display:grid;gap:6px;color:var(--muted);font-size:11px}.support-faq-editor input,.support-faq-editor textarea,.support-faq-editor select{width:100%;min-height:38px;padding:9px 10px;border:1px solid var(--line);border-radius:8px;color:var(--ink);background:var(--surface);font:inherit}.support-faq-editor textarea{min-height:90px;resize:vertical}.support-faq-editor input:focus,.support-faq-editor textarea:focus,.support-faq-editor select:focus{border-color:var(--accent);outline:2px solid rgba(217,119,87,.14)}@media(max-width:760px){.support-section+.support-section,.support-section+.support-panel,.support-panel+.support-section,.support-panel+.support-panel{margin-top:28px}.support-section-heading{align-items:flex-start;flex-direction:column;gap:4px}.support-section-actions,.support-ticket-heading-actions{align-items:flex-start;justify-content:space-between;width:100%}.support-ticket-filters{flex:1;flex-wrap:wrap;justify-content:flex-end}.support-ticket-filters label,.support-ticket-filters select{min-width:0;max-width:100%}.support-section-count{font-size:10px}.support-platform-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.support-ticket-header{gap:12px;padding:16px 15px 12px}.support-announcement-date,.support-announcement-item{padding-right:15px;padding-left:15px}.support-announcement-item-header{align-items:flex-start;flex-direction:column;gap:5px}.support-announcement-item .support-meta{margin-top:0}.support-panel{gap:18px;padding:17px 15px}.support-message{max-width:94%}.support-messages{padding:13px 15px 3px}.support-reply{margin:10px 15px 15px}.support-ticket-updated{display:none}.support-ticket-header-side{justify-items:start}.support-faq>summary{align-items:flex-start;padding:15px}.support-faq-summary-note{display:none}.support-faq-body{padding:15px}}.account-setting-note{margin:-6px 0 0;color:var(--muted);font-size:10px;line-height:1.5}.danger-button{color:var(--danger)}.account-dialog-backdrop{position:fixed;z-index:20;inset:0;display:grid;place-items:center;padding:24px;background:#1a1a1773}.account-close-dialog{position:relative;width:min(100%,460px);padding:24px;border:1px solid var(--line);border-radius:16px;background:#fffdf8;box-shadow:0 20px 70px #1a1a1738}.account-close-dialog header{display:flex;gap:12px}.account-close-dialog header>span{display:grid;flex:none;place-items:center;width:35px;height:35px;border-radius:10px;color:var(--danger);background:#f9e8e4}.account-close-dialog h2{margin:0;font-size:18px}.account-close-dialog p{margin:7px 0 0;color:var(--muted);font-size:11px;line-height:1.6}.account-close-dialog form{display:grid;gap:13px;margin-top:19px}.account-close-dialog label{display:grid;gap:6px;color:var(--muted);font-size:11px}.account-close-dialog input{min-height:38px;padding:0 11px;border:1px solid var(--line);border-radius:9px;font:inherit}.account-close-dialog form>div{display:flex;justify-content:flex-end;gap:9px;margin-top:4px}@media(max-width:800px){.account-settings-grid{grid-template-columns:1fr}}.account-page{--account-content-width: var(--reading-content-max)}.account-page .account-page-header{width:min(100%,var(--account-content-width));margin-inline:auto}.account-page .account-activity-card{width:min(100%,var(--account-content-width));margin-inline:auto;border:0;border-radius:0;background:transparent;box-shadow:none;padding-right:0;padding-left:0}.account-page .account-activity-card>header{display:block;text-align:center}.account-page .account-activity-heading{width:100%}.account-page .account-activity-summary{display:grid;gap:5px;margin:0;color:var(--ink-soft);font-size:clamp(13px,1.15vw,15px);line-height:1.65;letter-spacing:-.012em}.account-page .account-activity-summary>span{display:block}.account-page .account-activity-card h2,.account-page .account-setting-card h2{font-size:15px;letter-spacing:-.01em}.account-page .account-activity-summary strong{color:var(--ink);font-family:Iowan Old Style,Baskerville,Songti SC,STSong,Georgia,serif;font-size:1.08em;font-weight:600;font-variant-numeric:lining-nums tabular-nums;letter-spacing:-.02em}.account-page .usage-heatmap-scroll{margin-top:18px}.account-page .usage-heat-cell,.account-page .usage-heat-spacer,.account-page .usage-heat-legend i{width:12px;height:12px;border-radius:2px}.account-page .usage-heat-0{background:#ebe8e0}.account-page .usage-heat-1{background:#f1d5c8}.account-page .usage-heat-2{background:#e7aa91}.account-page .usage-heat-3{background:#d97757}.account-page .usage-heat-4{background:#a94f38}.account-page .account-settings-grid{display:block;width:min(100%,var(--account-content-width));margin-right:auto;margin-left:auto;margin-top:28px;border-top:1px solid var(--line-strong)}.account-page .account-setting-card{display:grid;grid-template-columns:minmax(220px,.78fr) minmax(0,1.42fr);align-items:start;gap:clamp(28px,4vw,56px);min-height:0;padding:22px 4px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;box-shadow:none}.account-page .account-setting-card>header{display:grid;grid-template-columns:20px minmax(0,1fr);gap:10px}.account-page .account-setting-card>header>svg{width:17px;margin-top:2px;color:var(--muted);stroke-width:1.7}.account-page .account-setting-card header p{max-width:340px;margin-top:5px;font-size:10px;line-height:1.55}.account-page .account-setting-card form,.account-page .account-language-select{max-width:520px}.account-page .account-setting-card label{font-size:10px}.account-page .account-setting-card input,.account-page .account-setting-card select{min-height:36px;border-radius:7px;background:var(--surface);font-size:11px}.account-page .account-creation-toggle{display:flex;align-items:flex-start;gap:10px;max-width:520px;cursor:pointer}.account-page .account-creation-toggle input{flex:none;width:16px;min-height:16px;margin:2px 0 0;padding:0;accent-color:var(--accent)}.account-page .account-creation-toggle>span{display:grid;gap:4px}.account-page .account-creation-toggle strong{color:var(--ink);font-size:12px;font-weight:600}.account-page .account-creation-toggle small{color:var(--muted);font-size:10px;line-height:1.55}.account-page .account-creation-settings>.form-error{grid-column:2;margin:0}.account-page .account-profile-card form{grid-template-columns:repeat(2,minmax(0,1fr));align-items:end}.account-page .account-profile-card form .form-error,.account-page .account-profile-card form button{grid-column:1 / -1}.account-page .account-platform-content{display:grid;gap:12px;width:100%;max-width:520px}.account-page .account-platform-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.account-page .account-platform-actions select{min-width:140px}.account-page .account-platform-actions button{display:inline-flex;align-items:center;gap:6px}.account-page .account-platform-actions button svg{width:14px}.account-page .account-platform-list{display:flex;flex-wrap:wrap;gap:7px}.account-page .account-platform-chip{padding:6px 9px;border:1px solid var(--line);border-radius:999px;color:var(--muted);background:var(--surface-soft);font-size:10px}.account-page .account-balance-row{max-width:520px;gap:0;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:var(--surface)}.account-page .account-balance-row>div{padding:11px 13px;border-radius:0;background:transparent}.account-page .account-balance-row>div+div{border-left:1px solid var(--line)}.account-page .account-balance-row strong{font-family:Iowan Old Style,Songti SC,STSong,Georgia,serif;font-size:20px;font-weight:500}.account-page .account-setting-note{max-width:520px;margin:-7px 0 0}.account-profile-link{gap:8px;padding:2px;border-radius:7px}.side-nav nav a{gap:10px;border:1px solid transparent}.side-nav nav svg{width:19px;height:19px;padding:0;border-radius:0;background:transparent}.side-nav nav a.active{border-color:#d9775729;background:#fffdf8eb}.side-nav nav a.active svg{background:transparent}.side-nav nav a.active:before{width:2px;height:18px}.nav-section:first-child .nav-label{display:flex;align-items:center;gap:9px}.nav-section:first-child .nav-label:after{flex:1;height:1px;content:"";background:var(--line);opacity:.72}.account-panel{gap:10px;padding:12px 7px 0}.account-person{padding:4px 5px}.account-metrics{border-radius:11px;background:#fffdf88a;box-shadow:inset 0 0 0 1px #ddd9cf6b}.account-metrics>span{padding:9px 3px 8px}.account-metrics svg{width:14px;height:14px}.account-metrics b{font-family:Iowan Old Style,Baskerville,Songti SC,STSong,Georgia,serif;font-size:11px;font-variant-numeric:lining-nums tabular-nums}.account-metrics small{letter-spacing:.01em}@media(max-width:760px){.side-nav nav a{gap:3px}.side-nav nav svg{width:18px;height:18px;padding:0;border-radius:0;background:transparent}}.side-nav{--nav-item-min-height: clamp(44px, 5.2vh, 52px);--nav-section-gap: clamp(12px, 1.8vh, 18px);--nav-breathe-top: 12px}.side-nav[data-nav-role=creator]{--nav-item-min-height: clamp(44px, 5.4vh, 52px);--nav-breathe-top: 14px}.side-nav[data-nav-role=team-admin]{--nav-item-min-height: clamp(42px, 5.1vh, 50px);--nav-section-gap: clamp(11px, 1.6vh, 16px);--nav-breathe-top: 10px}.side-nav[data-nav-role=super-admin]{--nav-item-min-height: clamp(40px, 4.8vh, 48px);--nav-section-gap: clamp(10px, 1.4vh, 14px);--nav-breathe-top: 8px}.side-nav nav a{min-height:var(--nav-item-min-height)}.side-nav nav a .nav-copy small{min-height:0;max-height:0;overflow:hidden;margin-top:0;opacity:0;transition:max-height .16s ease,margin-top .16s ease,opacity .16s ease}.side-nav nav a:hover .nav-copy small,.side-nav nav a:focus-visible .nav-copy small,.side-nav nav a.active .nav-copy small{max-height:2.8em;margin-top:2px;opacity:1}.nav-sections{gap:var(--nav-section-gap);align-content:start;padding-top:var(--nav-breathe-top)}@media(max-height:700px)and (min-width:761px){.nav-sections{padding-top:0}}@media(max-height:820px)and (min-width:761px){.side-nav[data-nav-items="7"] .nav-copy small{display:none}.side-nav[data-nav-items="7"] .nav-section.admin-section{padding-top:12px}}@media(max-width:760px){.nav-sections{padding-top:0}}@media(max-width:980px){.account-page .account-profile-card form,.account-page .account-security-password form,.account-password-dialog form{grid-template-columns:1fr}.account-page .account-profile-card form .form-error,.account-page .account-profile-card form button{grid-column:auto}.account-page .account-creation-settings>.form-error{grid-column:auto}}.settings-page .provider-list{gap:10px}.provider-service-card{overflow:hidden;border:1px solid var(--line);border-radius:14px;background:var(--surface);box-shadow:var(--shadow-sm)}.provider-service-summary,.provider-pool>summary{list-style:none}.provider-service-summary::-webkit-details-marker,.provider-pool>summary::-webkit-details-marker{display:none}.provider-service-summary{display:grid;grid-template-columns:42px minmax(0,1fr) auto 18px;align-items:center;gap:13px;min-height:76px;padding:14px 18px;cursor:pointer;transition:background .16s ease}.provider-service-summary:hover,.provider-service-summary:focus-visible{background:var(--surface-hover);outline:none}.provider-service-card[open]>.provider-service-summary{border-bottom:1px solid var(--line)}.provider-service-copy{display:grid;gap:3px;min-width:0}.provider-service-copy strong{color:var(--ink);font-size:14px;font-weight:680}.provider-service-copy small,.provider-service-facts,.provider-pool-title small,.provider-pool-facts{color:var(--muted);font-size:10px;line-height:1.45}.provider-service-facts{padding:6px 9px;border:1px solid var(--line);border-radius:999px;background:var(--surface-soft);white-space:nowrap}.provider-service-caret,.provider-pool-caret{width:16px;height:16px;color:var(--muted);transition:transform .18s ease}.provider-service-card[open]>summary .provider-service-caret,.provider-pool[open]>summary .provider-pool-caret{transform:rotate(180deg)}.provider-service-body{display:grid;gap:12px;padding:16px 18px 18px;background:color-mix(in srgb,var(--surface-soft) 48%,transparent)}.service-rate-panel{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}.service-rate-panel>div,.provider-subsection-head>div,.provider-resource-head>div{display:grid;gap:3px}.service-rate-panel strong,.provider-subsection-head strong,.provider-resource-head strong{color:var(--ink);font-size:11px}.service-rate-panel>div span,.provider-subsection-head>div span,.provider-resource-head>div span{color:var(--muted);font-size:9px;line-height:1.45}.service-rate-panel label{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:12px}.service-rate-panel input{width:92px;min-height:36px;padding:7px 9px;border:1px solid var(--line-strong);border-radius:8px;color:var(--ink);background:var(--surface);text-align:right}.image-quality-model-panel{display:grid;align-items:stretch;gap:12px}.image-quality-model-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.image-quality-model-fields label{display:grid;align-items:start;gap:5px;color:var(--muted);font-size:11px}.image-quality-model-fields select{width:100%;min-height:36px;padding:7px 9px;border:1px solid var(--line-strong);border-radius:8px;color:var(--ink);background:var(--surface)}.provider-pool-list{display:grid;gap:9px}.provider-priority-hint{margin:0;color:var(--muted);font-size:11px}.provider-pool-drag-row{display:grid;grid-template-columns:28px minmax(0,1fr);gap:7px;align-items:start}.provider-priority-handle{display:grid;justify-items:center;gap:1px;padding-top:17px;color:var(--muted);cursor:grab;font-size:10px;-webkit-user-select:none;user-select:none}.provider-priority-handle svg{width:16px;height:16px}.settings-page .provider-pool{padding:0;border:1px solid var(--line);border-radius:11px;background:var(--surface)}.settings-page .provider-pool>summary{display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:54px;padding:10px 13px;cursor:pointer;transition:background .16s ease}.settings-page .provider-pool>summary:hover,.settings-page .provider-pool>summary:focus-visible{background:var(--surface-hover);outline:none}.provider-pool[open]>summary{border-bottom:1px solid var(--line)}.provider-pool-title{display:grid;gap:1px;min-width:0}.provider-pool-title strong{overflow:hidden;color:var(--ink);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.provider-pool-body{display:grid;gap:15px;padding:15px}.provider-subsection,.provider-resource-panel{overflow:hidden;border:1px solid var(--line);border-radius:10px;background:var(--surface-soft)}.provider-subsection-head,.provider-resource-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 12px;border-bottom:1px solid var(--line)}.provider-resource-head>small{color:var(--muted);font-size:9px;text-align:right}.settings-page .provider-key-list{gap:0;margin:0}.settings-page .provider-key-row{grid-template-columns:minmax(100px,.45fr) minmax(180px,1.3fr) auto 32px;gap:9px;padding:10px 12px;border-bottom:1px solid var(--line)}.settings-page .provider-key-row:last-child{border-bottom:0}.provider-key-row label{display:grid;gap:4px;min-width:0}.provider-key-row label>span{color:var(--muted);font-size:8px}.settings-page .provider-key-row input{width:100%;min-width:0;border-color:var(--line-strong);background:var(--surface)}.key-status{padding:4px 7px;border-radius:999px;color:var(--muted);background:var(--surface-hover);font-size:9px;white-space:nowrap}.key-status.ready{color:#28724e;background:#e8f4ed}.key-status.unavailable{color:#a65341;background:#f8ebe7}.compact-button,.add-provider-button,.icon-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:32px;padding:6px 10px;border:1px solid var(--line);border-radius:8px;color:var(--ink);background:var(--surface);font:inherit;font-size:9px;text-decoration:none;cursor:pointer;transition:border-color .16s ease,background .16s ease,color .16s ease}.compact-button:hover,.add-provider-button:hover,.icon-button:hover{border-color:var(--line-strong);background:var(--surface-hover)}.compact-button svg,.add-provider-button svg,.icon-button svg{width:13px;height:13px}.icon-button{width:32px;padding:0}.compact-button:disabled,.icon-button:disabled{cursor:not-allowed;opacity:.45}.provider-remove-button{margin-left:auto}.add-provider-button{justify-self:start;border-style:dashed;color:var(--accent);background:transparent}.provider-model-list{display:grid;max-height:300px;overflow:auto}.provider-model-row,.provider-voice-row{display:flex;align-items:center;gap:10px;padding:10px 12px;border-bottom:1px solid var(--line)}.provider-model-row:last-child,.provider-voice-row:last-child{border-bottom:0}.provider-model-row>label,.provider-voice-row{flex:1;min-width:0}.provider-model-row label,.provider-voice-row{display:flex;align-items:flex-start;gap:9px;cursor:pointer}.provider-model-row label>span,.provider-voice-row>span{display:grid;gap:2px;min-width:0}.provider-model-row strong,.provider-voice-row strong{color:var(--ink);font-size:10px}.provider-model-row small,.provider-voice-row small{overflow-wrap:anywhere;color:var(--muted);font-size:8px;line-height:1.45}@media(max-width:760px){.provider-service-summary{grid-template-columns:38px minmax(0,1fr) 16px;padding:12px 14px}.provider-service-facts{display:none}.provider-service-body{padding:12px}.service-rate-panel,.provider-subsection-head,.provider-resource-head{align-items:stretch;flex-direction:column}.service-rate-panel label{justify-content:flex-end}.settings-page .provider-key-row{grid-template-columns:1fr 32px}.provider-key-row label,.provider-key-row .key-status{grid-column:1}.provider-key-row .icon-button{grid-column:2;grid-row:1}.provider-pool-facts{display:none}.provider-card-actions{align-items:stretch;flex-direction:column}.provider-remove-button{margin-left:0}}.inspiration-page-header{align-items:center;position:relative}.inspiration-music-control{position:relative;display:flex;align-items:center;gap:10px}.inspiration-music-trigger{display:grid;width:38px;height:38px;place-items:center;border:1px solid var(--line);border-radius:50%;background:var(--surface);color:var(--accent-dark);cursor:pointer;position:relative}.inspiration-music-orbit{display:grid;width:100%;height:100%;place-items:center;position:relative}.inspiration-music-trigger.is-playing>.inspiration-music-orbit>svg{animation:inspiration-music-spin 2.2s linear infinite;animation-play-state:running}.inspiration-music-trigger.is-paused>.inspiration-music-orbit>svg,.inspiration-music-trigger.is-paused .inspiration-music-title-ring{animation-play-state:paused}.inspiration-music-title-ring{position:absolute;inset:-30px;display:block;animation:inspiration-music-title-orbit 8s linear infinite}.inspiration-music-title-ring.is-seam-marquee{animation:none}.inspiration-music-title-ring i{position:absolute;top:50%;left:50%;color:var(--accent-dark);font-size:8px;font-style:normal;font-weight:700;line-height:1;transform:translate(-50%,-50%) rotate(var(--ring-angle)) translateY(-30px);transform-origin:center}@keyframes inspiration-music-spin{to{transform:rotate(-360deg)}}@keyframes inspiration-music-title-orbit{0%{transform:rotate(0)}to{transform:rotate(-360deg)}}.inspiration-music-popover{box-sizing:border-box;font-size:12px;position:absolute;z-index:20;top:calc(100% + 10px);right:0;width:min(360px,calc(100vw - 32px));padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--surface);box-shadow:0 18px 40px #3e332a24}.inspiration-music-heading{display:flex;flex-direction:column;align-items:stretch;gap:10px;margin-bottom:12px}.inspiration-music-heading>strong{font-size:13px;font-weight:600}.inspiration-music-modes,.inspiration-music-tabs{display:flex;gap:3px}.inspiration-music-modes button,.inspiration-music-tabs button{border:0;border-radius:6px;background:transparent;color:var(--muted);cursor:pointer;font-size:12px;padding:6px 8px}.inspiration-music-modes{background:var(--surface-soft);padding:3px;border-radius:8px}.inspiration-music-modes button{flex:1}.inspiration-music-modes button.active,.inspiration-music-tabs button.active{background:var(--accent-soft);color:var(--accent-dark);font-weight:700}.inspiration-music-tabs{align-items:center;margin-bottom:8px;border-bottom:1px solid var(--line)}.inspiration-music-tabs>button{flex:0 0 auto}.inspiration-music-tabs .inspiration-music-search{min-width:0;flex:1;margin:0 0 5px 8px}.inspiration-music-search{display:flex;align-items:center;gap:6px;margin-bottom:8px;padding:6px 8px;border:1px solid var(--line);border-radius:7px;color:var(--muted)}.inspiration-music-search input{min-width:0;flex:1;border:0;outline:0;background:transparent;font:inherit;font-size:12px}.inspiration-music-list{display:grid;gap:2px;max-height:min(352px,45vh);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}.inspiration-music-row{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 28px;align-items:center;gap:3px;padding:7px 6px;border-radius:8px;overflow:hidden}.inspiration-music-row:before{position:absolute;inset:0 auto 0 0;width:var(--music-progress, 0%);background:color-mix(in srgb,var(--accent) 18%,transparent);content:"";pointer-events:none;transition:width .18s linear}.inspiration-music-row>*{position:relative}.inspiration-music-row:hover{background:var(--surface-soft)}.inspiration-music-row:focus-within{background:color-mix(in srgb,var(--accent) 20%,var(--surface));box-shadow:inset 3px 0 var(--accent)}.inspiration-music-main:focus-visible,.inspiration-music-favorite:focus-visible{outline:0}.inspiration-music-main{display:grid;grid-template-columns:minmax(0,1fr) 28px;gap:3px;align-items:center;padding:0;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer}.inspiration-music-row b{font-size:12px;font-weight:500;line-height:1.5}.inspiration-music-row.is-playing{background:color-mix(in srgb,var(--accent) 12%,transparent)}.inspiration-music-row span{min-width:0}.inspiration-music-row b,.inspiration-music-row small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.inspiration-music-row small{color:var(--muted);font-size:11px;line-height:1.5}.inspiration-music-play,.inspiration-music-favorite{display:grid;width:26px;height:26px;padding:0;place-items:center;border:0;background:transparent;color:var(--muted);cursor:default}.inspiration-music-favorite{cursor:pointer}.inspiration-music-favorite.active,.inspiration-music-row.is-playing .inspiration-music-play,.inspiration-music-popover button:hover{color:var(--accent-dark)}.inspiration-music-popover button:focus-visible,.inspiration-music-search:focus-within{outline:2px solid var(--accent);outline-offset:2px}.inspiration-music-error{font-size:12px;color:var(--danger)}.inspiration-music-more{display:flex;align-items:center;justify-content:center;gap:5px;width:100%;margin-top:10px;padding:8px;border:1px solid var(--line);border-radius:7px;background:transparent;color:var(--accent-dark);cursor:pointer;font-size:12px}.inspiration-page-header>div>p:last-child{max-width:650px;margin:0;color:var(--muted);font-size:12px;line-height:1.6}.inspiration-kicker{color:var(--accent-dark);font-size:9px;font-weight:750;letter-spacing:.12em;line-height:1.4;text-transform:uppercase}.inspiration-empty-state{display:grid;min-height:520px;flex:1;justify-items:center;align-content:center;gap:6px;color:var(--muted);text-align:center}.inspiration-empty-state svg{margin-bottom:6px;color:var(--accent-dark)}.inspiration-empty-state h2{margin:5px 0 6px;color:var(--ink);font-family:Iowan Old Style,Songti SC,STSong,Georgia,serif;font-size:20px;font-weight:500}.inspiration-empty-state p{max-width:400px;margin:0 0 12px;font-size:10px;line-height:1.65}.inspiration-page{min-height:100vh;background:var(--canvas)}.inspiration-page>.inspiration-trail-layout{width:min(100%,var(--reading-content-max));margin-inline:auto}.inspiration-trail-layout{display:grid;grid-template-columns:228px minmax(0,1fr);align-items:stretch;gap:0;overflow:hidden;border:1px solid var(--line);border-radius:18px;background:var(--surface);box-shadow:0 24px 70px #3e332a0e}.inspiration-trail-layout.timeline-collapsed{grid-template-columns:54px minmax(0,1fr)}.inspiration-timeline-panel{position:sticky;top:20px;display:flex;min-width:0;height:auto;min-height:clamp(620px,calc(100vh - 210px),760px);box-sizing:border-box;flex-direction:column;padding:16px 12px 12px;border-right:1px solid var(--line);background:color-mix(in srgb,var(--surface-soft) 72%,var(--surface))}.inspiration-timeline-tools{display:flex;align-items:center;gap:6px;margin-bottom:12px}.inspiration-timeline-panel .inspiration-search{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:7px;min-width:0;flex:1;margin-bottom:0;padding:8px 9px;border:1px solid transparent;border-radius:10px;color:var(--muted);background:color-mix(in srgb,var(--surface) 76%,var(--surface-soft))}.inspiration-timeline-panel .inspiration-search:focus-within{border-color:color-mix(in srgb,var(--accent) 35%,var(--line));background:var(--surface)}.inspiration-timeline-panel .inspiration-search input{min-width:0;border:0;outline:0;color:var(--ink);font:inherit;font-size:10px;background:transparent}.inspiration-timeline-panel .inspiration-search kbd{color:color-mix(in srgb,var(--muted) 70%,transparent);font:inherit;font-size:8px}.inspiration-timeline-collapse{display:grid;width:30px;height:30px;flex:0 0 auto;place-items:center;padding:0;border:1px solid transparent;border-radius:9px;color:var(--muted);background:transparent}.inspiration-timeline-collapse:hover,.inspiration-timeline-collapse:focus-visible{border-color:var(--line);color:var(--ink);background:var(--surface)}.timeline-collapsed .inspiration-timeline-panel{padding-right:8px;padding-left:8px}.timeline-collapsed .inspiration-timeline-tools{justify-content:center}.timeline-collapsed .inspiration-search{display:none}.inspiration-timeline{position:relative;min-height:0;margin:0;padding:0 0 18px;overflow:auto;list-style:none;scrollbar-width:thin}.inspiration-timeline:before{position:absolute;top:14px;bottom:24px;left:12px;width:1px;background:color-mix(in srgb,var(--accent) 24%,var(--line));content:""}.inspiration-timeline-row,.inspiration-now-point{position:relative;padding:0 0 13px 26px}.inspiration-timeline-row.depth-1{padding-left:42px}.inspiration-timeline-row.depth-2{padding-left:51px}.inspiration-timeline-row.depth-1:before,.inspiration-timeline-row.depth-2:before{position:absolute;top:0;left:12px;width:23px;height:33px;border-bottom:1px solid color-mix(in srgb,var(--accent) 28%,var(--line));border-left:1px solid color-mix(in srgb,var(--accent) 28%,var(--line));border-radius:0 0 0 8px;content:""}.inspiration-timeline-row.depth-2:before{left:35px;width:9px}.inspiration-timeline-row.depth-2.same-depth-branch:before{left:44px;width:0;border-radius:0}.inspiration-day-label{display:block;margin:8px 0 6px -14px;color:var(--muted);font-size:8.5px;font-weight:700;letter-spacing:.08em}.inspiration-timeline-dot{position:absolute;z-index:1;top:28px;left:8px;width:9px;height:9px;border:2px solid var(--surface-soft);border-radius:50%;background:color-mix(in srgb,var(--accent) 58%,var(--surface));box-shadow:0 0 0 1px color-mix(in srgb,var(--accent) 28%,transparent)}.inspiration-timeline-row.depth-1 .branch-dot{left:31px}.inspiration-timeline-row.depth-2 .branch-dot{left:40px}.inspiration-timeline-dot.branch-dot{border-color:color-mix(in srgb,var(--surface-soft) 74%,var(--surface));background:var(--surface);box-shadow:inset 0 0 0 2px color-mix(in srgb,var(--accent) 72%,var(--surface)),0 0 0 1px color-mix(in srgb,var(--accent) 26%,transparent)}.inspiration-timeline-point-button{position:absolute;z-index:2;top:18px;left:0;width:25px;height:29px;padding:0;border:0;border-radius:50%;background:transparent}.inspiration-timeline-row.depth-1 .inspiration-timeline-point-button{left:23px}.inspiration-timeline-row.depth-2 .inspiration-timeline-point-button{left:32px}.inspiration-timeline-point-button:focus-visible{outline-width:2px;outline-offset:-4px}.inspiration-timeline-node{position:relative;display:grid;min-width:0;grid-template-areas:"body action" "lineage action";grid-template-columns:minmax(0,1fr) auto;align-items:center;border-radius:10px}.inspiration-timeline-node:hover,.inspiration-timeline-node:focus-within,.inspiration-timeline-node.active{background:color-mix(in srgb,var(--accent-soft) 58%,transparent);box-shadow:inset 2px 0 color-mix(in srgb,var(--accent) 72%,transparent)}.inspiration-timeline-open{display:grid;min-width:0;grid-area:body;gap:3px;padding:9px 7px 9px 9px;border:0;text-align:left;background:transparent;cursor:pointer}.inspiration-timeline-open strong,.inspiration-timeline-open span,.inspiration-timeline-open small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.inspiration-timeline-open strong{color:var(--ink);font-size:11px;font-weight:650}.inspiration-timeline-open span{color:color-mix(in srgb,var(--ink) 70%,var(--muted));font-size:9.5px}.inspiration-timeline-open small{color:var(--muted);font-size:7.5px}.inspiration-lineage-link{display:grid;min-width:0;max-width:calc(100% - 8px);grid-area:lineage;grid-template-columns:auto minmax(0,1fr);align-items:center;justify-self:start;gap:4px;margin:-2px 0 7px 8px;padding:4px 6px;overflow:hidden;border:1px solid color-mix(in srgb,var(--accent) 20%,var(--line));border-radius:7px;color:var(--accent-dark);text-align:left;background:color-mix(in srgb,var(--accent-soft) 48%,var(--surface));cursor:pointer}.inspiration-lineage-link:hover,.inspiration-lineage-link:focus-visible{border-color:color-mix(in srgb,var(--accent) 44%,var(--line));background:var(--surface)}.inspiration-lineage-link span{overflow:hidden;font-size:8px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.inspiration-lineage-link small{grid-column:2;color:var(--muted);font-size:7px}.inspiration-branch-button{display:grid;width:28px;height:28px;grid-area:action;margin-right:3px;place-items:center;border:0;border-radius:8px;color:var(--accent-dark);opacity:.42;background:transparent;cursor:pointer}.inspiration-timeline-node:hover .inspiration-branch-button,.inspiration-timeline-node:focus-within .inspiration-branch-button,.inspiration-branch-button:focus-visible{opacity:1}.inspiration-branch-button:hover{background:var(--surface)}.inspiration-now-point{position:sticky;z-index:3;top:0;margin-bottom:6px;padding-top:2px;padding-bottom:14px;background:linear-gradient(to bottom,color-mix(in srgb,var(--surface-soft) 72%,var(--surface)) 0 76%,transparent)}.inspiration-now-point .inspiration-timeline-dot{top:12px;background:var(--accent)}.inspiration-now-point button{display:inline-flex;align-items:center;gap:6px;padding:8px 10px;border:1px dashed color-mix(in srgb,var(--accent) 45%,var(--line));border-radius:9px;color:var(--accent-dark);font-size:9px;background:color-mix(in srgb,var(--accent-soft) 38%,transparent);cursor:pointer}.timeline-collapsed .inspiration-timeline{width:100%}.timeline-collapsed .inspiration-timeline:before{left:50%;transform:translate(-50%)}.timeline-collapsed .inspiration-timeline-row,.timeline-collapsed .inspiration-now-point{height:38px;margin:0;padding:0}.timeline-collapsed .inspiration-timeline-row:before,.timeline-collapsed .inspiration-day-label,.timeline-collapsed .inspiration-timeline-node,.timeline-collapsed .inspiration-timeline-state{display:none}.timeline-collapsed .inspiration-timeline-dot,.timeline-collapsed .inspiration-timeline-row.depth-1 .branch-dot,.timeline-collapsed .inspiration-timeline-row.depth-2 .branch-dot{top:14px;left:50%;transform:translate(-50%)}.timeline-collapsed .inspiration-timeline-point-button,.timeline-collapsed .inspiration-timeline-row.depth-1 .inspiration-timeline-point-button,.timeline-collapsed .inspiration-timeline-row.depth-2 .inspiration-timeline-point-button{top:3px;left:50%;width:32px;height:32px;transform:translate(-50%)}.timeline-collapsed .inspiration-now-point{position:sticky;top:0;background:color-mix(in srgb,var(--surface-soft) 72%,var(--surface))}.timeline-collapsed .inspiration-now-point button{position:absolute;inset:3px auto auto 50%;width:32px;height:32px;padding:0;transform:translate(-50%);border:0;color:transparent;font-size:0;background:transparent}.timeline-collapsed .inspiration-now-point button svg{display:none}.inspiration-timeline-peek{position:fixed;z-index:40;display:grid;width:min(270px,calc(100vw - 84px));gap:5px;padding:12px 13px;pointer-events:none;border:1px solid color-mix(in srgb,var(--accent) 18%,var(--line));border-radius:11px;color:var(--ink);background:var(--surface);box-shadow:0 16px 46px #31292229}.inspiration-timeline-peek strong{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.inspiration-timeline-peek span{color:var(--ink-soft);font-size:9px;line-height:1.55}.inspiration-timeline-peek small{color:var(--muted);font-size:7px;line-height:1.45}.inspiration-timeline-state{display:flex;align-items:center;gap:6px;padding:24px 10px 24px 28px;color:var(--muted);font-size:9px}.inspiration-canvas{display:flex;flex-direction:column;min-width:0;min-height:clamp(620px,calc(100vh - 210px),760px);padding:50px clamp(24px,4vw,48px) 58px;background:var(--surface)}.inspiration-canvas>*{width:min(100%,var(--reading-content-max));margin-right:auto;margin-left:auto}.inspiration-canvas>.inspiration-error{margin-bottom:20px}.inspiration-document-header{display:grid;min-width:0;gap:9px;margin-bottom:34px}.inspiration-parent-link{display:inline-flex;width:fit-content;align-items:center;gap:5px;padding:0;border:0;color:var(--accent-dark);font-size:9px;background:transparent;cursor:pointer}.inspiration-document-title{display:block;min-width:0;width:100%;padding:0;overflow:hidden;border:0;outline:0;resize:none;color:var(--ink);font-family:var(--font-serif);font-size:clamp(28px,3.5vw,42px);font-weight:500;line-height:1.15;overflow-wrap:anywhere;background:transparent}.inspiration-document-title:focus-visible{box-shadow:0 2px color-mix(in srgb,var(--accent) 42%,transparent)}.inspiration-document-status{display:flex;align-items:center;justify-content:space-between;gap:12px}.inspiration-document-meta{display:inline-flex;align-items:center;gap:5px;color:var(--muted);font-size:8px}.inspiration-blocks{display:grid}.inspiration-first-thought{display:grid;justify-items:start;gap:6px;padding:24px 0 34px 42px;color:var(--muted)}.inspiration-first-thought svg{color:var(--accent)}.inspiration-first-thought strong{color:var(--ink);font-family:var(--font-serif);font-size:18px;font-weight:500}.inspiration-first-thought span{max-width:420px;font-size:10px;line-height:1.7}.inspiration-note-block{position:relative;display:grid;grid-template-columns:34px minmax(0,1fr);padding:4px 0 22px}.inspiration-block-gutter{display:flex;align-items:center;flex-direction:column;gap:7px;padding-top:8px;color:color-mix(in srgb,var(--muted) 58%,transparent);font-size:7px}.inspiration-block-gutter button{display:grid;width:28px;height:28px;place-items:center;border:0;border-radius:8px;color:var(--accent-dark);opacity:0;background:transparent;cursor:pointer}.inspiration-note-block:hover .inspiration-block-gutter button,.inspiration-note-block:focus-within .inspiration-block-gutter button,.inspiration-block-gutter button.active,.inspiration-block-gutter button:focus-visible{opacity:1}.inspiration-block-gutter button:hover,.inspiration-block-gutter button.active{background:var(--accent-soft)}.inspiration-block-body{min-width:0;padding-bottom:18px;border-bottom:1px solid color-mix(in srgb,var(--line) 64%,transparent)}.inspiration-block-editor{display:block;width:100%;min-height:34px;padding:3px 2px;overflow:hidden;border:0;outline:0;resize:none;color:var(--ink);font-family:inherit;font-size:16px;line-height:1.75;background:transparent}.inspiration-block-editor:focus{background:color-mix(in srgb,var(--accent-soft) 30%,transparent);box-shadow:inset 3px 0 var(--accent)}.inspiration-block-editor:focus-visible{outline:0}.inspiration-block-status{min-height:13px;margin-top:3px;color:color-mix(in srgb,var(--muted) 68%,transparent);font-size:7px}.inspiration-entry-context-menu{position:fixed;z-index:65;display:grid;width:176px;gap:3px;padding:6px;border:1px solid var(--line);border-radius:11px;background:var(--surface);box-shadow:0 18px 52px #28221d2e}.inspiration-timeline-context-menu{width:204px}.inspiration-entry-context-menu button{display:flex;width:100%;align-items:center;gap:8px;padding:9px 10px;border:0;border-radius:8px;color:var(--ink);font:inherit;font-size:11px;text-align:left;background:transparent}.inspiration-entry-context-menu button:hover,.inspiration-entry-context-menu button:focus-visible{background:var(--surface-soft)}.inspiration-entry-context-menu button.danger{color:var(--danger)}.inspiration-entry-context-menu button.danger:hover,.inspiration-entry-context-menu button.danger:focus-visible{background:var(--danger-soft)}.inspiration-assist-menu{margin-top:10px;padding:11px;border:1px solid color-mix(in srgb,var(--accent) 24%,var(--line));border-radius:12px;background:color-mix(in srgb,var(--accent-soft) 42%,var(--surface));box-shadow:0 12px 30px #3f30270f}.inspiration-assist-context{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px;color:var(--muted);font-size:8px}.inspiration-assist-context>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.inspiration-assist-context>div{display:flex;flex:0 0 auto;gap:3px}.inspiration-assist-context button,.inspiration-assist-actions button,.inspiration-assistance footer button{display:inline-flex;align-items:center;gap:4px;border:0;border-radius:7px;color:var(--muted);background:transparent;cursor:pointer}.inspiration-assist-context button{padding:4px 6px;font-size:7px}.inspiration-assist-context button.active{color:var(--accent-dark);background:var(--surface)}.inspiration-assist-actions{display:flex;flex-wrap:wrap;gap:5px}.inspiration-assist-actions button{padding:7px 9px;color:var(--ink);font-size:8px;background:#ffffffb8}.inspiration-assist-actions button:hover,.inspiration-assist-actions button:focus-visible{color:var(--accent-dark);background:var(--surface)}.inspiration-inline-error{margin:9px 0 0;color:var(--danger);font-size:8px}.inspiration-image-materials{display:flex;flex-wrap:wrap;gap:12px;margin-top:14px}.inspiration-image-material{display:grid;width:min(230px,100%);gap:6px;margin:0}.inspiration-image-thumb{display:block;width:100%;aspect-ratio:4 / 3;padding:0;overflow:hidden;border:1px solid var(--line);border-radius:10px;background:var(--surface-soft);cursor:zoom-in}.inspiration-image-thumb img{display:block;width:100%;height:100%;object-fit:cover}.inspiration-image-material figcaption{display:flex;align-items:center;flex-wrap:wrap;gap:5px;color:var(--muted);font-size:8px}.inspiration-image-material figcaption button{display:inline-flex;align-items:center;gap:3px;padding:5px 6px;border:0;border-radius:6px;color:var(--ink);font:inherit;font-size:8px;background:var(--surface-soft);cursor:pointer}.inspiration-image-material figcaption button:hover,.inspiration-image-material figcaption button:focus-visible{color:var(--accent-dark);background:var(--accent-soft)}.inspiration-image-lightbox{position:fixed;z-index:80;inset:0;display:grid;place-items:center;gap:12px;padding:28px;background:#181411c7}.inspiration-image-lightbox img{display:block;max-width:min(92vw,1280px);max-height:78vh;border-radius:12px;object-fit:contain;box-shadow:0 24px 80px #0000004d}.inspiration-assistance{margin-top:12px;padding:12px 14px;border-left:2px solid color-mix(in srgb,var(--accent) 56%,var(--line));border-radius:0 10px 10px 0;background:color-mix(in srgb,var(--accent-soft) 35%,transparent)}.inspiration-assistance-header,.inspiration-viralization summary{display:flex;align-items:center;justify-content:space-between;gap:12px}.inspiration-viralization summary{cursor:pointer;list-style:none}.inspiration-assistance-header>span,.inspiration-viralization summary>span{display:inline-flex;align-items:center;gap:5px;color:var(--accent-dark);font-size:9px;font-weight:650}.inspiration-assistance-header small,.inspiration-viralization summary small{color:var(--muted);font-size:7px}.inspiration-assistance>.inspiration-block-editor{margin:10px 0 4px;min-height:38px;font-size:13px}.inspiration-assistance footer{align-items:center;justify-content:space-between;display:flex;gap:6px}.inspiration-assistance footer small{color:var(--muted);font-size:7px}.inspiration-assistance footer button{padding:5px 7px;font-size:7px;background:#ffffffb3}.inspiration-assistance-delete{color:var(--danger)!important}.inspiration-quick-capture{width:calc(100% - 34px);margin-top:6px;margin-left:34px;padding:14px 15px 11px;border:1px solid color-mix(in srgb,var(--line) 82%,transparent);border-radius:12px;background:color-mix(in srgb,var(--surface-soft) 42%,transparent)}.inspiration-quick-capture:focus-within{border-color:color-mix(in srgb,var(--accent) 35%,var(--line));background:var(--surface)}.inspiration-quick-capture textarea{width:100%;min-height:72px;padding:0;border:0;outline:0;resize:vertical;color:var(--ink);font-family:inherit;font-size:13px;line-height:1.7;background:transparent}.inspiration-quick-capture>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.inspiration-quick-capture small{color:var(--muted);font-size:7px}.inspiration-quick-capture button{display:inline-flex;align-items:center;gap:5px;padding:7px 10px;border:0;border-radius:8px;color:#fff;font-size:8px;background:var(--accent-dark);cursor:pointer}.inspiration-creation-handoff{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:auto;padding:22px 0 4px;border-top:1px solid var(--line)}.inspiration-creation-handoff>div:first-child{display:grid;flex:1 1 240px;min-width:0;max-width:560px;gap:4px}.inspiration-creation-handoff strong{color:var(--ink);font-family:var(--font-serif);font-size:16px;font-weight:500;line-height:1.35}.inspiration-creation-handoff small{max-width:360px;color:var(--muted);font-size:9px;line-height:1.55}.inspiration-creation-actions{display:flex;flex:0 0 auto;align-items:center;gap:9px}.inspiration-creation-actions .primary-button,.inspiration-creation-actions .secondary-button{min-height:34px;padding:7px 11px;font-size:9px}.inspiration-viralization{margin-top:18px;padding:17px 18px;border:1px solid color-mix(in srgb,var(--accent) 24%,var(--line));border-radius:12px;background:color-mix(in srgb,var(--accent-soft) 34%,var(--surface))}.inspiration-viralization.stale{border-color:var(--line);background:var(--surface-soft)}.inspiration-viralization pre{margin:15px 0 0;overflow:visible;color:var(--ink);font:inherit;font-size:10px;line-height:1.8;white-space:pre-wrap}.inspiration-delete-backdrop{position:fixed;z-index:70;inset:0;display:grid;place-items:center;padding:20px;background:#29272461;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.inspiration-delete-dialog{display:grid;width:min(440px,100%);grid-template-columns:auto minmax(0,1fr);gap:13px;padding:22px;border:1px solid color-mix(in srgb,var(--danger) 18%,var(--line));border-radius:16px;background:var(--surface);box-shadow:0 28px 80px #231e1a38}.inspiration-delete-icon{display:grid;width:34px;height:34px;place-items:center;border-radius:10px;color:var(--danger);background:var(--danger-soft)}.inspiration-delete-dialog h2{margin:1px 0 7px;color:var(--ink);font-family:var(--font-serif);font-size:20px;font-weight:500}.inspiration-delete-dialog p{margin:0;color:var(--muted);font-size:11px;line-height:1.7}.inspiration-delete-dialog blockquote{max-height:82px;margin:10px 0 0;padding:9px 11px;overflow:auto;border-left:2px solid color-mix(in srgb,var(--danger) 32%,var(--line));color:color-mix(in srgb,var(--ink) 76%,var(--muted));font-size:10px;line-height:1.6;background:var(--surface-soft)}.inspiration-delete-dialog .inspiration-delete-error{margin-top:9px;color:var(--danger)}.inspiration-delete-dialog footer{display:flex;grid-column:1 / -1;justify-content:flex-end;gap:8px;margin-top:7px}.inspiration-delete-confirm{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:9px 13px;border:1px solid var(--danger);border-radius:9px;color:#fff;background:var(--danger)}.inspiration-delete-confirm:hover,.inspiration-delete-confirm:focus-visible{background:color-mix(in srgb,var(--danger) 88%,black)}@media(max-width:980px){.inspiration-trail-layout{grid-template-columns:208px minmax(0,1fr)}.inspiration-canvas{padding:42px 30px 48px}}@media(max-width:760px){.inspiration-page{min-width:0;overflow-x:clip}.inspiration-music-control{position:absolute;top:0;right:0}.inspiration-music-popover{width:min(360px,calc(100vw - var(--page-gutter-inline) - var(--page-gutter-inline)))}.inspiration-trail-layout{min-width:0;max-width:100%;grid-template-columns:1fr;overflow:visible;border-radius:14px}.inspiration-timeline-panel{position:static;min-width:0;height:auto;max-height:320px;border-right:0;border-bottom:1px solid var(--line)}.inspiration-trail-layout.timeline-collapsed{grid-template-columns:54px minmax(0,1fr);align-items:start}.inspiration-trail-layout.timeline-collapsed .inspiration-timeline-panel{position:sticky;top:12px;height:min(560px,calc(100vh - 96px));max-height:none;border-right:1px solid var(--line);border-bottom:0}.inspiration-trail-layout.timeline-collapsed .inspiration-canvas{padding-right:14px;padding-left:14px}.inspiration-timeline{max-height:248px}.inspiration-branch-button,.inspiration-block-gutter button{opacity:1}.inspiration-canvas{min-width:0;max-width:100%;min-height:560px;padding:32px 16px 40px}.inspiration-document-header{margin-bottom:25px}.inspiration-document-title{font-size:30px}.inspiration-note-block{grid-template-columns:28px minmax(0,1fr)}.inspiration-block-editor{font-size:15px}.inspiration-assist-context,.inspiration-quick-capture>div{align-items:stretch;flex-direction:column}.inspiration-creation-handoff{align-items:stretch;flex-direction:column;gap:16px}.inspiration-creation-actions{display:grid;grid-template-columns:1fr}.inspiration-quick-capture{width:min(calc(100% - 28px),792px);margin-left:28px}}@media(prefers-reduced-motion:reduce){.inspiration-timeline *,.inspiration-canvas *{scroll-behavior:auto;transition:none!important}}.composer-inspiration-context{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 12px;border:1px solid #dec7bd;border-radius:11px;color:var(--accent-dark);background:var(--accent-soft)}.composer-inspiration-context>span{display:grid;min-width:0;gap:2px}.composer-inspiration-context strong{overflow:hidden;color:var(--ink);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.composer-inspiration-context small{color:var(--muted);font-size:8px;line-height:1.45}.composer-inspiration-context button{padding:5px 0;border:0;color:var(--accent-dark);background:transparent;font-size:9px;font-weight:700}.composer-inspiration-context.failed{border-color:#e3beb8;color:var(--danger);background:#fbefed}@media(max-width:760px){.composer-inspiration-context{grid-template-columns:auto minmax(0,1fr)}.composer-inspiration-context button{grid-column:2;justify-self:start}}.account-page .usage-heatmap-scroll{width:100%;overflow:visible;min-width:0;padding:2px 0 4px}.account-page .usage-heatmap-months{display:flex;justify-content:space-between;width:100%;padding-left:23px;margin-bottom:5px;color:var(--muted);font-size:9px;line-height:1}.account-page .usage-heatmap-layout{display:grid;grid-template-columns:16px minmax(0,1fr);align-items:flex-start;gap:7px;width:100%}.account-page .usage-week-labels{display:grid;grid-template-rows:repeat(7,1fr);align-self:stretch;align-items:center;gap:clamp(2px,.35vw,4px);width:16px;color:var(--muted);font-size:8px;line-height:1;text-align:right}.account-page .usage-week-labels span:first-child{grid-row:2}.account-page .usage-week-labels span:nth-child(2){grid-row:4}.account-page .usage-week-labels span:nth-child(3){grid-row:6}.account-page .usage-heatmap{width:100%;min-width:0;grid-template-rows:repeat(7,auto);grid-auto-columns:minmax(0,1fr);gap:clamp(2px,.35vw,4px)}.account-page .usage-heat-cell,.account-page .usage-heat-spacer{width:100%;aspect-ratio:1;min-width:0;height:auto}.account-page .account-security-content{display:grid;gap:24px;width:100%;max-width:520px}.account-page .account-binding-conflict{display:flex;align-items:flex-start;gap:14px;padding:18px 20px;border:1px solid color-mix(in srgb,var(--warning) 45%,var(--line));border-radius:10px;background:color-mix(in srgb,var(--warning-soft) 38%,var(--surface))}.account-page .account-binding-conflict-inline{margin-bottom:10px}.account-page .account-binding-conflict>svg{flex:none;width:20px;margin-top:1px;color:var(--warning)}.account-page .account-binding-conflict>div{display:grid;flex:1;gap:8px;min-width:0}.account-page .account-binding-conflict strong{color:var(--ink-soft);font-size:14px}.account-page .account-binding-conflict p,.account-page .account-binding-conflict small{max-width:760px;margin:0;color:var(--muted);font-size:12px;line-height:1.65}.account-page .account-binding-conflict-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:4px}.account-page .account-binding-conflict-actions .primary-button,.account-page .account-binding-conflict-actions .secondary-button{min-height:38px}.account-page .account-binding-conflict-transfer:not(:disabled){border-color:color-mix(in srgb,var(--danger) 38%,var(--line));color:var(--danger)}.account-page .account-email-verification-banner{display:grid;gap:8px;padding:12px;border:1px solid color-mix(in srgb,var(--warning) 45%,var(--line));border-radius:10px;background:color-mix(in srgb,var(--warning) 8%,transparent)}.account-page .account-close-social-note{margin:0;padding:12px;border:1px solid color-mix(in srgb,var(--warning) 45%,var(--line));border-radius:10px;background:color-mix(in srgb,var(--warning) 8%,transparent);color:var(--muted);font-size:12px;line-height:1.65}.account-page .account-email-verification-banner strong{color:var(--ink-soft);font-size:11px;line-height:1.5}.account-page .account-email-verification-banner .account-email-code-field{display:grid;gap:6px}.account-page .account-security-methods,.account-page .account-security-password{display:grid;gap:8px}.account-page .account-security-subhead{display:flex;align-items:flex-start;gap:9px}.account-page .account-security-subhead>svg{width:15px;margin-top:2px;color:var(--muted)}.account-page .account-security-subhead>div,.account-page .account-security-method>span:not(.account-security-method-actions),.account-page .account-security-close>div{display:grid;gap:3px;min-width:0}.account-page .account-security-subhead strong,.account-page .account-security-close strong{color:var(--ink-soft);font-size:11px;font-weight:650}.account-page .account-security-subhead small,.account-page .account-security-method small,.account-page .account-security-close small{color:var(--muted);font-size:9px;line-height:1.45}.account-page .account-security-method{display:flex;align-items:center;gap:10px;min-height:48px;padding:8px 11px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.account-page .account-security-method-action{display:flex;width:100%;min-width:0;color:inherit;font:inherit;text-align:left;cursor:pointer;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}.account-page .account-security-method-action:hover,.account-page .account-security-method-action:focus-visible{border-color:var(--accent);background:var(--surface-soft);box-shadow:0 3px 12px #2925200f}.account-page .account-security-method-action:disabled{cursor:not-allowed;opacity:.82}.account-page .account-security-method-action:disabled:hover{border-color:var(--line);background:var(--surface);box-shadow:none}.account-page .account-security-method>svg{flex:none;width:16px;color:var(--ink-soft)}.account-page .account-security-method>b,.account-page .account-security-method-actions>b{margin-left:auto;padding:4px 7px;border:1px solid var(--line-strong);border-radius:999px;color:var(--success);background:var(--success-soft);font-size:9px;font-weight:650}.account-page .account-security-method>.account-security-method-actions{display:flex;flex:none;align-items:center;gap:8px;margin-left:auto;white-space:nowrap}.account-page .account-security-method-actions>b{margin-left:0}.account-page .account-security-method-actions>b[data-state=unbound]{color:var(--muted);background:var(--surface-soft)}.account-page .account-security-method>b:not([data-state=unbound]){border-color:var(--success)}.account-page .account-security-password{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:18px;border-top:1px solid var(--line)}.account-page .account-password-open{flex:none}.account-password-dialog form{gap:13px}.account-password-dialog .account-email-code-field>span{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px}.account-password-dialog .account-email-code-field>small{color:var(--success);font-size:10px}.account-password-dialog form>div{display:flex;justify-content:flex-end;gap:9px;margin-top:4px}.account-password-dialog form .form-error{margin:0;line-height:1.5}.account-page .account-security-close{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:18px;border-top:1px solid var(--line)}.account-page .account-security-close-icon{flex:none;width:17px;margin-top:2px;color:var(--danger)}.account-page .account-security-close>div{flex:1}.account-page .account-close-open{display:inline-flex;flex:none;align-items:center;gap:6px;min-height:38px;padding:9px 15px;border-color:color-mix(in srgb,var(--danger) 48%,var(--line));color:var(--danger);background:var(--danger-soft)}.account-page .account-close-open:hover:not(:disabled),.account-page .account-close-open:focus-visible{border-color:var(--danger);color:#81352f;background:color-mix(in srgb,var(--danger) 12%,var(--surface));box-shadow:0 4px 12px #a3473f1f}.account-page .account-close-open:focus-visible{outline:2px solid color-mix(in srgb,var(--danger) 30%,transparent);outline-offset:2px}.account-page .account-close-open svg{width:15px;height:15px}.account-page .account-close-open:active:not(:disabled){transform:translateY(1px)}.account-page .account-close-open:disabled{cursor:not-allowed;opacity:.6}.account-binding-dialog{width:min(100%,480px)}.account-binding-notice{display:flex;align-items:flex-start;gap:10px;margin-top:18px;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--surface-soft)}.account-binding-notice>svg{flex:none;width:16px;margin-top:1px;color:var(--accent-dark)}.account-binding-notice p{margin:0;color:var(--ink-soft);font-size:11px;line-height:1.6}.account-binding-actions{display:flex;justify-content:flex-end;margin-top:18px}@media(max-width:760px){.account-page .usage-heatmap-months{padding-left:21px}.account-page .account-security-password,.account-page .account-security-close{align-items:flex-start;flex-direction:column}}@media(max-width:760px){.account-page .account-setting-card{grid-template-columns:1fr;gap:15px;padding:19px 0}.account-page .account-balance-actions,.account-page .account-balance-content{grid-column:auto;grid-row:auto}.account-page .recharge-custom-field{grid-template-columns:1fr}.account-page .recharge-team-link{margin-left:0}.account-page .account-balance-card>header,.account-page .account-balance-card>.account-balance-row,.account-page .account-balance-card>.account-payment-packages,.account-page .account-balance-card>.account-setting-note,.account-page .account-balance-card>.account-payment-order,.account-page .account-balance-card>.form-error{grid-column:auto;grid-row:auto}.account-page .account-profile-card form{grid-template-columns:1fr}.account-page .account-profile-card form .form-error,.account-page .account-profile-card form button{grid-column:auto}}.account-person strong{overflow:hidden;font-size:11px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.account-person small{overflow:hidden;margin-top:2px;color:var(--muted);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.account-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid #e7e2d8;border-radius:9px;background:#f7f4ed}.account-metrics>span{position:relative;display:grid;justify-items:center;gap:2px;min-width:0;padding:8px 3px 7px;border-right:1px solid #e7e2d8;text-align:center}.account-metric-with-details{outline:none;cursor:default}.account-metric-with-details:before{position:absolute;z-index:41;inset:0;content:""}.account-metric-with-details:focus-visible{box-shadow:inset 0 0 0 2px #d9775757}.usage-popover{position:absolute;z-index:40;left:calc(100% + 12px);bottom:-8px;display:grid;visibility:hidden;width:310px;max-height:360px;overflow:auto;gap:10px;padding:14px;font-family:inherit;border:1px solid var(--line-strong);border-radius:13px;opacity:0;color:var(--ink);background:#fffdf8fa;box-shadow:var(--shadow-md);text-align:left;transform:translate(-4px);transition:opacity .14s ease,transform .14s ease,visibility .14s ease}.storage-usage-popover{max-height:none;overflow:visible}.account-metric-with-details:hover>.usage-popover,.account-metric-with-details:focus>.usage-popover,.account-metric-with-details:focus-within>.usage-popover,.account-metric-with-details[data-popover-pinned=true]>.usage-popover{visibility:visible;opacity:1;transform:translate(0)}.account-metrics:not([data-popover-pinned=true]):has(>.account-metric-with-details:hover)>.account-metric-with-details:not(:hover)>.usage-popover,.account-metrics[data-popover-pinned=true]>.account-metric-with-details:not([data-popover-pinned=true])>.usage-popover{visibility:hidden;opacity:0;transform:translate(-4px);transition:none}.usage-popover-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:1px 0 11px;border-bottom:1px solid var(--line)}.usage-popover-head>.usage-popover-stat{flex:1 1 0;display:grid;min-width:0;gap:4px}.usage-popover-head small,.usage-detail small{color:var(--muted);font-family:inherit;font-size:9px;font-weight:500;line-height:1.4}.usage-popover-head strong{font-family:inherit;font-size:14px;font-variant-numeric:tabular-nums;font-weight:700;line-height:1.25}.usage-popover-team{text-align:right}.usage-popover-head i{flex:none;align-self:start;margin-top:1px;padding:4px 7px;border-radius:999px;color:var(--success);background:var(--success-soft);font-family:inherit;font-size:9px;font-weight:600;font-style:normal;line-height:1.3}.usage-detail-list{display:grid;gap:0}.usage-detail{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 3px;border-bottom:1px solid rgba(224,218,207,.72)}.usage-detail:last-child{border-bottom:0}.usage-detail>span{display:grid;min-width:0;gap:3px}.usage-detail strong{font-family:inherit;font-size:10px;font-weight:650;line-height:1.35}.usage-detail small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.usage-detail>b{flex:none;color:var(--accent-dark);font-family:inherit;font-size:10px;font-variant-numeric:tabular-nums;font-weight:650;line-height:1.35}.usage-empty,.usage-note{font-family:inherit;padding:8px 3px;color:var(--muted);font-size:10px;line-height:1.5}.usage-note{padding:8px;border-radius:8px;color:#8a5d30;background:#fbf1df;font-weight:500}.usage-error{color:var(--danger)}.task-popover{width:330px;max-height:420px}.task-detail-list{display:grid;gap:9px}.task-detail{display:grid;gap:8px;padding:11px;border:1px solid rgba(224,218,207,.86);border-radius:10px;background:#fffefa}.task-detail-head,.task-progress-meta{display:flex;align-items:center;justify-content:space-between;gap:10px}.task-detail-head>span{display:grid;min-width:0;gap:3px}.task-detail-head strong{display:-webkit-box;overflow:hidden;font-size:11px;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:2}.task-detail-head small,.task-progress-meta small,.task-message{color:var(--muted);font-size:9px}.task-state{flex:none;padding:4px 7px;border-radius:999px;font-size:9px;font-style:normal}.task-state-queued{color:#8a5d30;background:#fbf1df}.task-state-running{color:var(--success);background:var(--success-soft)}.task-progress-meta b{color:var(--ink);font-size:10px}.task-progress-track{display:block;height:5px;overflow:hidden;border-radius:999px;background:#ece7dd}.task-progress-track>span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--accent),#e8a17f);transition:width .22s ease}.task-stage-track{display:flex;gap:3px}.task-stage-track i{flex:1;height:3px;border-radius:999px;background:#e6e1d7}.task-stage-track .task-stage-completed{background:#78a789}.task-stage-track .task-stage-running{background:var(--accent)}.task-stage-track .task-stage-failed{background:var(--danger)}.task-message{overflow:hidden;line-height:1.5;text-overflow:ellipsis;white-space:nowrap}.account-metrics>span:last-child{border-right:0}.account-metrics svg{width:13px;height:13px;color:var(--accent-dark);stroke-width:1.8}.account-metrics b{max-width:100%;overflow:hidden;color:var(--ink);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.account-metrics small{color:var(--muted);font-size:9px;white-space:nowrap}.asset-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 14px;margin-bottom:15px;padding:10px;border:1px solid var(--line);border-radius:var(--radius-md);background:#fffdf8cc}.asset-toolbar-actions{display:flex;flex:1 1 360px;align-items:center;justify-content:flex-end;gap:10px;min-width:min(100%,360px)}.asset-search{display:flex;flex:1 1 320px;align-items:center;gap:8px;width:min(390px,100%);max-width:390px;min-width:min(100%,320px);min-height:40px;padding:0 10px;border:1px solid var(--line-strong);border-radius:9px;color:var(--muted);background:#fffefa}.asset-search:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px #d9775721}.asset-search svg{flex:none;width:15px}.asset-search input{width:100%;min-width:0;border:0;color:var(--ink);background:transparent;outline:0;font-size:11px}.asset-filters{display:flex;flex:1 1 auto;flex-wrap:wrap;justify-content:flex-end;gap:4px;min-width:0}.asset-filters button{min-height:32px;padding:6px 11px;border:0;border-radius:8px;color:var(--muted);background:transparent;font-size:10px}.asset-filters button:hover{color:var(--ink);background:var(--surface-soft)}.asset-filters button.active{color:#fff;background:var(--ink)}.asset-record-list{display:grid;gap:18px}.asset-group-card{overflow:hidden;border:1px solid var(--line);border-radius:18px;background:var(--surface);box-shadow:0 8px 28px #37302912;transition:border-color .16s ease,box-shadow .16s ease}.asset-group-card.expanded{border-color:color-mix(in srgb,var(--accent) 34%,var(--line));box-shadow:0 12px 38px #3730291a}.asset-group-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;width:100%;min-height:142px;padding:18px 20px;border:0;color:inherit;background:radial-gradient(circle at 7% 20%,rgba(217,119,87,.11),transparent 28%),linear-gradient(120deg,color-mix(in srgb,var(--surface-soft) 72%,transparent),transparent 72%),var(--surface);font:inherit;text-align:left}.asset-group-card.domain .asset-group-heading{background:radial-gradient(circle at 7% 20%,rgba(185,148,90,.13),transparent 28%),linear-gradient(120deg,rgba(238,232,216,.68),transparent 72%),var(--surface)}.asset-group-summary{display:flex;align-items:center;flex:1;min-width:0;gap:18px}.asset-group-copy{display:grid;min-width:0;max-width:720px;gap:7px}.asset-group-kicker{display:flex;align-items:center;gap:7px}.asset-group-kicker span,.asset-group-kicker i{padding:4px 7px;border-radius:999px;font-size:9px;font-style:normal;font-weight:700;letter-spacing:.08em}.asset-group-kicker span{color:var(--accent-dark);background:var(--accent-soft)}.asset-group-kicker i{color:var(--muted);background:color-mix(in srgb,var(--surface-soft) 78%,transparent)}.asset-group-copy h2{overflow:hidden;margin:0;color:var(--ink);font-family:Iowan Old Style,Songti SC,STSong,Georgia,serif;font-size:clamp(20px,2vw,25px);font-weight:500;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.asset-group-copy>p{display:-webkit-box;overflow:hidden;margin:0;max-width:620px;color:var(--muted);font-size:11px;line-height:1.55;-webkit-box-orient:vertical;-webkit-line-clamp:2}.asset-group-stats{display:flex;flex-wrap:wrap;align-items:center;gap:5px}.asset-group-stats span{padding:4px 7px;border:1px solid color-mix(in srgb,var(--line) 78%,transparent);border-radius:7px;color:var(--muted);background:#fffdf8ad;font-size:9px}.asset-group-stats b{color:var(--ink);font-size:10px}.asset-group-visual{position:relative;display:grid;flex:0 0 164px;width:164px;height:93px;aspect-ratio:16 / 9;overflow:hidden;border:1px solid color-mix(in srgb,var(--line-strong) 80%,transparent);border-radius:13px;color:var(--muted);background:#1c1b1c;box-shadow:0 8px 24px #201d1b29;place-items:center}.asset-group-visual.portrait{flex-basis:93px;width:93px;height:164px;aspect-ratio:9 / 16;background:#242224}.asset-group-visual>img{width:100%;height:100%;object-fit:cover}.asset-group-visual>svg{width:25px;height:25px}.asset-group-visual>span{position:absolute;inset:auto 7px 7px auto;z-index:2;padding:4px 6px;border:1px solid rgba(255,255,255,.18);border-radius:6px;color:#ffffffe6;background:#1a1817b8;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);font-size:8px}.asset-group-visual .cover-canvas-shell{position:relative;display:grid;width:100%;height:100%;min-width:0;min-height:0;place-items:center}.asset-group-visual .cover-canvas{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;border:0;pointer-events:none}.asset-group-actions{display:flex;flex:0 0 auto;align-items:stretch;flex-direction:column;gap:6px}.asset-group-actions button,.asset-group-setting{display:inline-flex;align-items:center;gap:4px;justify-content:center;min-height:32px;padding:6px 10px;border:1px solid transparent;border-radius:8px;color:var(--muted);background:transparent;font-size:10px}.asset-group-actions button:hover,.asset-group-setting:hover{color:var(--ink);border-color:var(--line);background:#fffdf8db}.asset-group-actions svg{width:13px;height:13px}.asset-group-actions .asset-group-add{padding-right:10px;padding-left:10px;border:1px solid var(--line-strong);background:var(--surface)}.asset-group-actions .asset-group-toggle{justify-content:flex-start;gap:6px;min-width:108px;min-height:40px;padding:5px 8px;border-color:var(--line-strong);color:var(--ink);background:#fffdf8eb;box-shadow:0 4px 14px #3730290f}.asset-group-toggle>span{display:grid;gap:1px;text-align:left}.asset-group-toggle b{font-size:11px;font-weight:700}.asset-group-toggle small{color:var(--muted);font-size:9px}.asset-group-body{padding:15px 18px 20px;border-top:1px solid var(--line);background:color-mix(in srgb,var(--surface-soft) 56%,var(--canvas))}.asset-group-body-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:0 0 12px 46px}.asset-group-body-head>div{display:grid;gap:2px}.asset-group-body-head span{color:var(--accent-dark);font-size:9px;font-weight:750;letter-spacing:.12em}.asset-group-body-head strong{color:var(--ink-soft);font-size:11px}.asset-group-body-head small{color:var(--muted);font-size:9px}.asset-group-projects{display:grid;gap:10px}.asset-group-project{position:relative;display:grid;grid-template-columns:34px minmax(0,1fr);align-items:start;gap:12px}.asset-group-project:after{position:absolute;top:28px;bottom:-12px;left:16px;width:1px;background:color-mix(in srgb,var(--line-strong) 78%,transparent);content:""}.asset-group-project:last-child:after{display:none}.asset-group-project-index{position:relative;z-index:1;display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--line-strong);border-radius:50%;color:var(--muted);background:var(--surface);font-size:9px;font-weight:700}.ip-library{margin:0 0 15px}.ip-library:empty{display:none}.ip-library-create{display:grid;grid-template-columns:repeat(2,minmax(0,1fr)) auto;gap:8px;margin:12px 0}.ip-library-create input,.ip-library-create select{min-width:0;padding:9px 10px;border:1px solid var(--line);border-radius:8px}.ip-library-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(420px,1fr));gap:10px}.ip-library-card{padding:12px;border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface-soft)}.ip-library-card header{display:flex;align-items:flex-start;gap:8px;margin-bottom:10px}.ip-library-card header svg{flex:none;color:var(--accent)}.ip-library-card header div{display:grid;gap:3px}.ip-library-card header small,.ip-library-count{color:var(--muted);font-size:10px}.ip-profile-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:10px}.ip-profile-fields label{display:grid;gap:4px;color:var(--muted);font-size:10px}.ip-profile-fields label.wide{grid-column:1 / -1}.ip-profile-fields input,.ip-profile-fields select,.ip-profile-fields textarea{min-width:0;padding:8px 9px;border:1px solid var(--line);border-radius:7px;color:var(--ink);background:#fffefa}.ip-profile-fields textarea{min-height:72px;resize:vertical}.ip-profile-fields>button{justify-self:start}.ip-advanced-settings{margin:10px 0;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-soft)}.ip-advanced-settings summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px;cursor:pointer;list-style:none}.ip-advanced-settings summary::-webkit-details-marker{display:none}.ip-advanced-settings summary span{display:grid;gap:2px}.ip-advanced-settings summary small{color:var(--muted);font-size:9px}.ip-advanced-settings summary svg{width:15px;transition:transform .16s ease}.ip-advanced-settings[open] summary svg{transform:rotate(180deg)}.ip-advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:0 12px 12px;border-top:1px solid var(--line)}.ip-advanced-grid>label,.ip-motion-options{display:grid;gap:5px;margin-top:10px;color:var(--muted);font-size:10px}.ip-advanced-grid input:not([type=checkbox]):not([type=radio]),.ip-advanced-grid select{min-width:0;min-height:36px;padding:7px 9px;border:1px solid var(--line-strong);border-radius:var(--radius-sm);background:#fffefa}.ip-advanced-grid input[type=color]{padding:4px}.ip-advanced-grid .setting-toggle{display:flex;align-items:center;gap:7px}.ip-motion-options{grid-column:1 / -1;grid-template-columns:repeat(3,minmax(0,1fr));padding:9px;border:1px solid var(--line);border-radius:var(--radius-sm)}.ip-motion-options legend{padding:0 4px}.ip-motion-options label{display:flex;align-items:center;gap:6px;color:var(--ink-soft)}.content-layout-editor{display:grid;gap:14px;min-width:0;margin:18px 0 0;padding:14px;border:1px solid var(--line);border-radius:var(--radius-md);background:color-mix(in srgb,var(--surface) 78%,var(--surface-soft))}.content-layout-editor.embedded{margin:0;padding:0;border:0;background:transparent}.content-layout-editor-heading{margin:0;color:var(--ink);font-size:13px}.ip-layout-editor{display:grid;gap:10px;margin-top:18px;padding:14px;border:1px solid var(--line);border-radius:var(--radius-md);background:color-mix(in srgb,var(--surface) 78%,var(--surface-soft))}.ip-layout-editor-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.ip-layout-editor-header>div{display:grid;gap:3px}.ip-layout-editor-header strong{color:var(--ink)}.ip-layout-editor-header span{color:var(--muted);font-size:10px}.ip-layout-editor-header>span{flex:none;padding:4px 8px;border-radius:999px;color:#8b6d52;background:#fff4df}.ip-layout-editor-header>span.confirmed{color:var(--success);background:#edf4ed}.ip-layout-mode-switch{display:flex;width:max-content;max-width:100%;padding:3px;border:1px solid var(--line);border-radius:10px;background:var(--surface-soft)}.ip-layout-mode-switch button{min-height:34px;padding:6px 12px;border:0;border-radius:7px;color:var(--ink-soft);background:transparent;box-shadow:none}.ip-layout-mode-switch button.selected{color:var(--ink);background:var(--surface);box-shadow:0 1px 4px #2d27201f}.ip-layout-mode-hint{margin:0;color:var(--muted);font-size:10px;line-height:1.5}.content-layout-intro,.content-layout-toolbar,.content-layout-inspector-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.content-layout-intro>div,.content-layout-inspector-head>div{display:grid;gap:3px}.content-layout-intro strong,.content-layout-inspector-head strong{color:var(--ink)}.content-layout-intro span,.content-layout-inspector-head span{color:var(--muted);font-size:10px}.content-layout-intro>span{flex:none;padding:4px 8px;border-radius:999px;color:#8b6d52;background:#fff4df}.content-layout-intro>span.confirmed{color:var(--success);background:#edf4ed}.content-layout-toolbar-actions{display:flex;flex-wrap:wrap;gap:7px}.content-layout-object-picker button,.content-layout-inspector-head button{min-height:32px;padding:6px 10px;border:0;border-radius:7px;color:var(--ink-soft);background:transparent;box-shadow:none}.content-layout-object-picker button.selected{color:var(--ink);background:var(--surface);box-shadow:0 1px 4px #2d27201f}.content-layout-workspace{display:grid;grid-template-columns:minmax(320px,.9fr) minmax(340px,1.1fr);gap:14px;align-items:start}.content-layout-stage-wrap{display:grid;min-width:0;gap:8px;padding:14px;border-radius:var(--radius-sm);background:#1d1c1d}.content-layout-stage-wrap>small{color:#ffffff94;font-size:9px;line-height:1.55;text-align:center}.content-layout-stage{position:relative;width:100%;max-height:540px;margin:auto;overflow:hidden;border:1px solid rgba(255,255,255,.12);background:linear-gradient(145deg,#f5f1e9,#ded7ca);box-shadow:0 18px 48px #00000052;touch-action:none}.content-layout-stage.portrait{width:min(100%,304px)}.content-layout-background{position:absolute;inset:0;width:100%;height:100%;object-position:center;pointer-events:none}.content-layout-safe-area{position:absolute;z-index:6;inset:5%;border:1px dashed rgba(255,255,255,.48);pointer-events:none}.content-layout-safe-curtain{position:absolute;z-index:2;right:0;left:0;display:block;width:100%;overflow:visible;min-height:0;padding:0;border:0;border-radius:0;opacity:.85;box-shadow:none;cursor:pointer}.content-layout-safe-curtain-top{top:0;border-bottom:1px solid var(--layout-accent)}.content-layout-safe-curtain-bottom{bottom:0;border-top:1px solid var(--layout-accent)}.content-layout-safe-curtain.selected{z-index:4;outline:1px solid rgba(255,255,255,.78);outline-offset:-2px}.content-layout-safe-curtain-handle{position:absolute;right:12%;left:12%;z-index:8;height:10px;border-radius:999px;background:var(--layout-accent);box-shadow:0 0 0 2px #fff,0 2px 8px #0000004d;cursor:ns-resize;touch-action:none}.content-layout-safe-curtain-top .content-layout-safe-curtain-handle{bottom:-5px}.content-layout-safe-curtain-bottom .content-layout-safe-curtain-handle{top:-5px}.content-layout-guide{position:absolute;z-index:9;background:var(--layout-accent);pointer-events:none}.content-layout-guide.vertical{top:0;bottom:0;left:50%;width:1px}.content-layout-guide.horizontal{top:50%;right:0;left:0;height:1px}.content-layout-layer{position:absolute;display:grid;width:max-content;max-width:92%;min-width:18px;min-height:16px;place-items:center;padding:0;border:1px solid transparent;color:#191919;background:transparent;box-shadow:none;cursor:move;touch-action:none;transform-origin:center}.content-layout-layer-title,.content-layout-layer-brand,.content-layout-layer-brand_tags,.content-layout-layer-disclaimer,.content-layout-layer-subtitle,.content-layout-layer-translation{display:flex;max-width:none;min-width:0;min-height:0;overflow:hidden;align-items:center;justify-content:center;white-space:pre-wrap;overflow-wrap:anywhere}.content-layout-layer:hover,.content-layout-layer.selected{border-color:var(--layout-accent);outline:1px solid rgba(255,255,255,.7)}.content-layout-layer-generated_visual,.content-layout-layer-contained_visual{width:100%;height:100%;max-width:none}.content-layout-layer>img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}.content-layout-layer>img.fill{object-fit:cover}.content-layout-placeholder{display:grid;width:100%;height:100%;place-items:center;align-content:center;gap:10px;color:#1f1f1f9e;background:linear-gradient(135deg,#d6cec0,#f5efe5 52%,#c7bca8);font-size:12px}.content-layout-placeholder>span{width:36%;aspect-ratio:4 / 3;border-radius:50% 42% 48% 40%;background:color-mix(in srgb,var(--layout-accent) 42%,#8b857c)}.content-layout-layer-logo{width:55%;height:55%}.content-layout-logo{display:grid;width:74px;aspect-ratio:1;place-items:center;border-radius:22%;color:#fff;background:var(--layout-accent);font-size:24px;font-weight:800}.content-layout-layer-brand,.content-layout-layer-title{font-size:inherit;line-height:1.08}.content-layout-layer-brand_tags{padding:5px 10px;border-radius:999px;color:#fff;background:color-mix(in srgb,var(--layout-accent) 86%,#272522);font-size:inherit}.content-layout-layer-disclaimer{color:#191919b8;font-size:inherit}.content-layout-layer-subtitle,.content-layout-layer-translation{font-size:inherit;line-height:1.32}.content-layout-caption-sample{display:block;margin:auto;padding:3px 5px}.content-layout-selection-label{position:absolute;top:calc(100% + 8px);left:50%;min-width:max-content;padding:3px 7px;border-radius:4px;color:#fff;background:#121214e6;font-size:9px;transform:translate(-50%);pointer-events:none}.content-layout-rotate-handle,.content-layout-resize-handle{position:absolute;z-index:2;display:block;width:12px;height:12px;border:2px solid var(--layout-accent);background:#fff;touch-action:none}.content-layout-rotate-handle{bottom:calc(100% + 18px);left:50%;border-radius:50%;cursor:grab;transform:translate(-50%)}.content-layout-rotate-handle:after{position:absolute;top:10px;left:4px;width:1px;height:10px;background:var(--layout-accent);content:""}.content-layout-resize-handle{right:-7px;bottom:-7px;border-radius:2px;cursor:nwse-resize}.content-layout-controls{display:grid;min-width:0;gap:10px}.content-layout-object-picker,.content-layout-inspector{display:grid;gap:10px;padding:12px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface)}.content-layout-appearance>strong{color:var(--ink);font-size:11px}.content-layout-background-hint{color:var(--muted);font-size:10px;line-height:1.5}.content-layout-object-picker>div{display:grid;grid-template-columns:74px minmax(0,1fr);align-items:center;gap:8px}.content-layout-object-picker>div>span{color:var(--muted);font-size:10px}.content-layout-object-picker>div>div{display:flex;flex-wrap:wrap;gap:5px}.content-layout-object-picker button{min-height:28px;padding:5px 8px;border:1px solid transparent;background:var(--surface-soft);font-size:10px}.content-layout-object-picker button.selected{border-color:color-mix(in srgb,var(--accent) 48%,var(--line));color:var(--accent-strong);background:var(--accent-soft)}.content-layout-inspector>label{display:grid;gap:5px;color:var(--ink-soft);font-size:10px;font-weight:650}.content-layout-inspector input[type=range]{width:100%;accent-color:var(--accent)}.content-layout-safe-area-controls{display:grid;gap:10px}.content-layout-safe-area-controls>label{display:grid;gap:5px;color:var(--ink-soft);font-size:10px;font-weight:650}.content-layout-safe-area-controls>small{color:var(--muted);font-size:9px;line-height:1.5}.content-layout-color-control input[type=color]{width:48px;height:32px;padding:2px;border:1px solid var(--line);border-radius:7px;background:var(--surface-soft)}.content-layout-inspector-head button{border:1px solid var(--line);background:var(--surface-soft)}.content-layout-alignment-controls{display:flex;flex-wrap:wrap;gap:14px;margin-top:2px}.content-layout-alignment-group{display:grid;gap:5px;color:var(--ink-soft);font-size:10px;font-weight:650}.content-layout-alignment-buttons{display:flex;gap:4px}.content-layout-alignment-button{display:grid;width:32px;height:30px;place-items:center;padding:0;border:1px solid var(--line);border-radius:6px;color:var(--ink-soft);background:var(--surface-soft)}.content-layout-alignment-button:hover,.content-layout-alignment-button:focus-visible{border-color:color-mix(in srgb,var(--accent) 54%,var(--line));color:var(--accent-strong)}.content-layout-alignment-button.selected{border-color:color-mix(in srgb,var(--accent) 60%,var(--line));color:var(--accent-strong);background:var(--accent-soft);box-shadow:0 1px 3px #2d27201f}.text-style-controls{display:grid;gap:9px}.text-style-primary-row{display:grid;grid-template-columns:minmax(0,1fr) 64px auto;align-items:end;gap:6px}.text-style-controls label{display:grid;min-width:0;gap:5px;color:var(--ink-soft);font-size:10px;font-weight:650}.text-style-controls select,.text-style-controls input[type=number]{width:100%;min-width:0;height:32px;padding:5px 7px;border:1px solid var(--line);border-radius:7px;color:var(--ink);background:var(--surface);font:inherit}.text-style-toggle-group{display:flex;gap:4px}.text-style-toggle-group button{display:grid;width:32px;height:32px;place-items:center;padding:0;border:1px solid var(--line);border-radius:7px;color:var(--ink-soft);background:var(--surface-soft)}.text-style-toggle-group button.selected{border-color:color-mix(in srgb,var(--accent) 60%,var(--line));color:var(--accent-strong);background:var(--accent-soft)}.text-style-effects-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.text-style-effects-grid label:has(input[type=color]){grid-template-columns:minmax(0,1fr) 34px;align-items:center}.text-style-effects-grid input[type=color]{width:34px;height:32px;padding:2px;border:1px solid var(--line);border-radius:7px;background:var(--surface)}.content-layout-choice{display:flex;flex-wrap:wrap;gap:12px;margin:0;padding:8px 10px;border:1px solid var(--line);border-radius:var(--radius-sm)}.content-layout-choice legend{padding:0 4px;color:var(--muted);font-size:10px}.content-layout-choice label{display:flex;align-items:center;gap:6px;color:var(--ink-soft);font-size:10px}.ip-layout-save-actions{display:flex;justify-content:flex-end;padding-top:4px}.ip-layout-save-actions .primary-button{min-width:108px}@media(max-width:1180px){.content-layout-workspace{grid-template-columns:1fr}.content-layout-stage.landscape{max-width:720px}}.ip-advanced-grid>button{align-self:end;justify-self:start}.ip-library-assets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.ip-library-assets .upload-card{min-height:62px;padding:8px}.ip-library-assets .upload-icon{width:28px;height:28px}.ip-library-assets .upload-card strong{font-size:10px}.ip-library-assets .upload-card small{font-size:9px}.ip-library-count{display:block;margin-top:9px}.ip-asset-options{display:grid;gap:5px;margin-top:8px}.ip-asset-options>div{display:grid;grid-template-columns:minmax(0,1fr) 62px auto auto;align-items:center;gap:7px;padding:6px 8px;border:1px solid var(--line);border-radius:7px;background:#fffefa}.ip-asset-options span{overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.ip-asset-options small{color:var(--muted);font-size:9px}.ip-asset-options button{padding:4px 7px;border:1px solid var(--line);border-radius:999px;color:var(--ink-soft);background:var(--surface-soft);font-size:9px}.ip-asset-options button.selected{border-color:#b9cfbd;color:#55705c;background:#edf4ed}.ip-asset-options button.danger{color:#9b4d40}.topic-assessment{display:grid;gap:8px;margin:12px 0;padding:13px 15px;border:1px solid #bfd3c3;border-radius:10px;background:#f2f7f2}.topic-assessment.medium{border-color:#e1c892;background:#fff8e8}.topic-assessment.high{border-color:#dfaca1;background:#fff1ed}.topic-assessment>div{display:grid;gap:3px}.topic-assessment strong{font-size:12px}.topic-assessment small,.topic-assessment p,.topic-assessment li{color:var(--muted);font-size:10px;line-height:1.55}.topic-assessment p,.topic-assessment ul{margin:0}.topic-assessment ul{padding-left:18px}.asset-record{overflow:hidden;border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-sm);transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.asset-record:hover{border-color:#cbc3b6;box-shadow:var(--shadow-md);transform:translateY(-1px)}.asset-record-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:20px 22px 16px}.asset-record-title{display:flex;align-items:flex-start;gap:12px;min-width:0}.asset-record-icon{display:grid;flex:none;place-items:center;width:40px;height:40px;border-radius:11px;color:var(--accent-dark);background:var(--accent-soft)}.asset-record-icon svg{width:17px}.asset-record-title>div{min-width:0}.asset-record-title p{margin:0 0 3px;color:var(--accent-dark);font-size:10px;font-weight:700;letter-spacing:.1em}.asset-record-title h2{overflow:hidden;margin:0 0 5px;font-family:Iowan Old Style,Songti SC,STSong,Georgia,serif;font-size:20px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.asset-record-title small{display:flex;align-items:center;gap:5px;color:var(--muted);font-size:10px}.asset-record-title small svg{width:11px}.asset-record-status{display:flex;align-items:center;gap:7px}.asset-read-only{padding:var(--space-2) var(--space-3);border:1px solid #d9c7a7;border-radius:999px;color:#7d5c28;background:#fbf2df;font-size:var(--text-label);white-space:nowrap}.asset-stage{display:inline-flex;align-items:center;gap:var(--space-2);flex:none;padding:var(--space-2) var(--space-3);border:1px solid var(--line);border-radius:999px;color:var(--muted);background:#f7f4ee;font-size:var(--text-label);white-space:nowrap}.asset-stage i{width:6px;height:6px;border-radius:50%;background:#aaa39a}.asset-stage.producing{border-color:#e4cfaa;color:var(--warning);background:var(--warning-soft)}.asset-stage.producing i{background:#ba8536;animation:pulse 1.6s ease infinite}.asset-stage.ready{border-color:#c9d9cc;color:var(--success);background:var(--success-soft)}.asset-stage.ready i{background:#5b956e}.asset-stage.failed{border-color:#ebc9c2;color:var(--danger);background:var(--danger-soft)}.asset-stage.failed i{background:var(--danger)}@keyframes pulse{50%{opacity:.35}}.asset-lineage{display:grid;grid-template-columns:minmax(125px,1fr) 16px minmax(125px,1fr) 16px minmax(125px,1fr) 16px minmax(125px,1fr);align-items:center;gap:6px;margin:0 22px;padding:13px;border:1px solid #e9e4da;border-radius:12px;background:#f8f5ef}.asset-lineage>svg{width:14px;color:#b3aca2}.lineage-node{display:flex;align-items:center;gap:9px;min-width:0;color:#999289}.lineage-node>span{display:grid;flex:none;place-items:center;width:27px;height:27px;border:1px solid #d7d1c7;border-radius:50%;font-size:9px}.lineage-node>div{display:grid;min-width:0}.lineage-node strong{overflow:hidden;font-size:10px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.lineage-node small{overflow:hidden;margin-top:2px;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.lineage-node.complete{color:var(--ink-soft)}.lineage-node.complete>span{border-color:#e4b7a7;color:var(--accent-dark);background:var(--accent-soft)}.asset-preview-strip{display:flex;gap:8px;margin:13px 22px 0}.asset-preview-strip>button,.asset-preview-strip>span{position:relative;width:82px;height:56px;overflow:hidden;padding:0;border:1px solid #e0dbd1;border-radius:8px;background:var(--surface-soft)}.asset-preview-strip>button:hover,.asset-preview-strip>button:focus-visible{border-color:var(--accent);box-shadow:0 0 0 3px #d9775721}.asset-preview-strip img{width:100%;height:100%;object-fit:cover}.asset-preview-strip small{position:absolute;inset:auto 0 0;overflow:hidden;padding:4px 5px;color:#fff;background:linear-gradient(transparent,#191714c2);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.asset-preview-strip .asset-more{appearance:none;cursor:pointer;font-family:inherit;display:grid;place-items:center;color:var(--ink-soft);font-size:14px;font-weight:650}.asset-preview-strip .asset-more small{position:static;padding:0;color:var(--muted);background:none;font-size:9px;font-weight:400}.asset-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:15px 22px 0;padding-top:15px;border-top:1px solid #ebe7de}.asset-detail-grid section{min-width:0;padding:13px;border:1px solid #e6e1d7;border-radius:10px;background:#faf8f2}.asset-detail-grid section>p{margin:0 0 8px;color:var(--accent-dark);font-size:10px;font-weight:700;letter-spacing:.08em}.asset-detail-grid section>div{max-height:130px;overflow:auto;color:var(--ink-soft);font-size:11px;line-height:1.75;white-space:pre-wrap}.asset-detail-grid .asset-file-section{grid-column:1 / -1}.asset-file-list{display:flex;flex-wrap:wrap;gap:6px;max-height:none!important}.asset-file-list>button{display:inline-flex;align-items:center;gap:5px;max-width:220px;padding:6px 8px;border:1px solid #e3ddd3;border-radius:7px;color:var(--ink);background:#fffefa;text-align:left}.asset-file-list>button.asset-file-item-missing{cursor:not-allowed;opacity:.62}.asset-file-list>button:hover,.asset-file-list>button:focus-visible{border-color:var(--accent);background:var(--accent-soft)}.asset-file-list svg{flex:none;width:12px;color:var(--accent-dark)}.asset-file-list b{overflow:hidden;font-size:10px;font-weight:550;text-overflow:ellipsis;white-space:nowrap}.asset-file-list small{color:var(--muted);font-size:9px}.asset-file-list em{color:var(--muted);font-size:10px;font-style:normal}.asset-record-actions{display:flex;align-items:center;gap:8px;padding:15px 22px 18px}.asset-record-actions>span{flex:1;overflow:hidden;color:var(--muted);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.asset-record-actions button{min-height:34px}.asset-group-project .asset-record{border-radius:13px;box-shadow:none}.asset-group-project .asset-record:hover{border-color:color-mix(in srgb,var(--accent) 24%,var(--line));box-shadow:0 5px 18px #3730290f;transform:none}.asset-group-project .asset-record-head{padding:15px 17px 11px}.asset-group-project .asset-record-icon{width:34px;height:34px;border-radius:9px}.asset-group-project .asset-record-title h2{font-size:17px}.asset-group-project .asset-preview-strip{margin:9px 17px 0}.asset-group-project .asset-lineage,.asset-group-project .asset-detail-grid{margin-right:17px;margin-left:17px}.asset-group-project .asset-lineage{margin-top:12px}.asset-group-project .asset-record-actions{padding:12px 17px 14px}.asset-detail-toggle{color:var(--ink-soft)}.asset-detail-toggle svg{width:13px;height:13px}.danger-button{border:1px solid #ebc9c2;color:var(--danger);background:var(--danger-soft);box-shadow:none}.danger-button:hover:not(:disabled){border-color:var(--danger);color:#fff;background:var(--danger);box-shadow:0 5px 14px #a3473f29;transform:translateY(-1px)}.danger-button:focus-visible{outline:2px solid color-mix(in srgb,var(--danger) 62%,white);outline-offset:2px}.danger-button:active:not(:disabled){transform:translateY(1px)}.danger-button svg{width:15px;height:15px}.asset-action-error{display:flex;align-items:center;gap:8px;margin-bottom:15px;padding:10px 12px;border:1px solid #ebc9c2;border-radius:10px;color:var(--danger);background:var(--danger-soft);font-size:10px}.asset-action-error>svg{flex:none;width:14px}.asset-action-error>span{flex:1}.asset-action-error>button{display:grid;place-items:center;width:26px;height:26px;padding:0;border:0;color:currentColor;background:transparent}.asset-action-error>button svg{width:13px}.asset-page-state{display:grid;justify-items:center;place-items:center;min-height:300px;padding:30px;border:1px dashed var(--line-strong);border-radius:var(--radius-lg);color:var(--muted);background:#fffdf8a3;text-align:center}.asset-page-state>svg{width:28px;color:var(--accent-dark)}.asset-page-state h2{margin:12px 0 4px;color:var(--ink);font-family:Iowan Old Style,Songti SC,STSong,Georgia,serif;font-size:22px;font-weight:500}.asset-page-state p{margin:6px 0 15px;font-size:10px}.asset-page-state.error>svg{color:var(--danger)}@media(min-width:981px)and (max-width:1120px){.asset-toolbar{align-items:stretch}.asset-search{width:100%;max-width:none}.asset-toolbar-actions{flex-basis:100%;min-width:0;justify-content:space-between}.asset-filters{justify-content:flex-start}}.asset-preview-backdrop{position:fixed;z-index:80;inset:0;display:grid;place-items:center;padding:24px;background:#1d1b18b8;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.asset-preview-dialog{width:min(880px,100%);overflow:hidden;border:1px solid rgba(255,255,255,.18);border-radius:var(--radius-lg);background:var(--surface);box-shadow:0 24px 64px #1c191552}.asset-preview-dialog.audio{width:min(560px,100%)}.asset-preview-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;border-bottom:1px solid var(--line)}.asset-preview-dialog>header div{min-width:0}.asset-preview-dialog>header small{color:var(--accent-dark);font-size:8px;font-weight:700;letter-spacing:.08em}.asset-preview-dialog>header h2{overflow:hidden;margin:3px 0 0;font-family:Iowan Old Style,Songti SC,STSong,Georgia,serif;font-size:20px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.asset-preview-dialog>header button{display:grid;flex:none;place-items:center;width:34px;height:34px;padding:0;border:1px solid var(--line);border-radius:9px;color:var(--muted);background:var(--surface-soft)}.asset-preview-dialog>header button:hover,.asset-preview-dialog>header button:focus-visible{border-color:var(--accent);color:var(--ink)}.asset-preview-dialog>header svg{width:15px}.asset-preview-content{display:grid;place-items:center;min-height:220px;max-height:calc(100vh - 150px);padding:18px;overflow:auto;background:#24211d}.asset-preview-content>img,.asset-preview-content>video{display:block;max-width:100%;max-height:calc(100vh - 186px);border-radius:8px;object-fit:contain}.asset-video-indicator{position:absolute;top:8px;right:8px;width:20px;height:20px;padding:3px;border-radius:50%;color:#fff;background:#24211d}.asset-media-error{color:#fff;text-align:center}.asset-audio-preview{display:grid;justify-items:center;gap:24px;width:100%;padding:28px}.asset-audio-preview>svg{width:56px;height:56px;color:#d9987e}.asset-audio-preview audio{width:100%}.project-delete-dialog{display:grid;justify-items:center;width:min(440px,100%);padding:28px;border:1px solid rgba(255,255,255,.18);border-radius:var(--radius-lg);background:var(--surface);box-shadow:0 24px 64px #1c191552;text-align:center}.project-delete-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;color:var(--danger);background:var(--danger-soft)}.project-delete-icon svg{width:18px}.project-delete-dialog h2{margin:16px 0 7px;font-family:Iowan Old Style,Songti SC,STSong,Georgia,serif;font-size:22px;font-weight:500}.project-delete-dialog p{margin:0;color:var(--muted);font-size:10px;line-height:1.7}.project-delete-dialog .project-delete-error{width:100%;margin-top:12px;padding:8px 10px;border:1px solid #ebc9c2;border-radius:8px;color:var(--danger);background:var(--danger-soft)}.project-delete-dialog>label{display:flex;align-items:center;gap:7px;margin-top:18px;color:var(--ink-soft);font-size:9px}.project-delete-dialog>label input{accent-color:var(--danger)}.project-delete-dialog>div{display:flex;justify-content:center;gap:8px;width:100%;margin-top:20px}.project-delete-dialog .primary-button.danger-button{border:1px solid var(--danger);border-radius:8px;color:#fff;background:var(--danger)}.editor-page{display:grid;grid-template-rows:auto minmax(0,1fr);gap:16px;height:100vh;min-height:720px;padding:var(--page-gutter-top) var(--page-gutter-inline) 28px;background:var(--canvas)}.editor-window{display:grid;grid-template-rows:minmax(0,1fr);min-width:0;min-height:0;overflow:hidden;border:1px solid #4a453e;border-radius:17px;background:#211f1c;box-shadow:0 22px 55px #3730282e}.editor-window .video-editor{height:100%;min-height:0;grid-template-rows:52px minmax(280px,1fr) minmax(220px,34%)}.editor-window-empty{border-color:var(--line-strong);background:var(--surface)}.editor-window .editor-empty{align-content:center;height:100%;color:var(--ink);background:var(--surface)}.editor-empty>span{display:grid;place-items:center;width:50px;height:50px;margin:0 auto 14px;border-radius:14px;color:var(--accent-dark);background:var(--accent-soft)}.editor-empty>span svg{width:22px}.editor-empty h2{margin:0;font-family:Iowan Old Style,Songti SC,STSong,Georgia,serif;font-size:25px;font-weight:500}.editor-empty>div{display:flex;justify-content:center;gap:8px;margin-top:8px}@media(max-width:1240px){.asset-lineage{overflow-x:auto;grid-template-columns:150px 16px 150px 16px 150px 16px 150px}}@media(max-width:980px){.asset-toolbar{align-items:stretch;flex-direction:column}.asset-search{width:100%}.asset-filters{justify-content:flex-start}.asset-toolbar-actions{justify-content:space-between}.asset-group-heading{align-items:stretch;flex-direction:column;gap:14px}.asset-group-actions{align-items:center;flex-direction:row;justify-content:flex-end}.asset-group-actions .asset-group-toggle{margin-right:auto}.asset-detail-grid{grid-template-columns:1fr}.asset-detail-grid .asset-file-section{grid-column:auto}.editor-page-heading>div>span{display:none}}@media(max-width:760px){.side-nav{height:70px}.nav-sections{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:4px;overflow:visible}.nav-section,.nav-section nav{display:contents}.nav-section.admin-section{padding:0;border:0}.side-nav .nav-label,.account-panel{display:none}.side-nav nav a{min-width:0}.content-assets-page{padding-bottom:50px}.asset-toolbar-actions{align-items:flex-start;flex-direction:column}.asset-group-heading{padding:16px}.asset-record-head{padding:17px 17px 13px}.asset-record-title h2{max-width:220px;font-size:18px}.asset-stage{align-self:flex-start;padding:6px;font-size:0}.asset-stage i{margin:0}.asset-lineage,.asset-preview-strip,.asset-detail-grid{margin-right:17px;margin-left:17px}.asset-record-actions{align-items:stretch;flex-direction:column;padding-right:17px;padding-left:17px}.asset-record-actions>span{width:100%}.asset-record-actions button{width:100%}.ip-library-create,.ip-library-grid,.production-settings,.ip-library-assets,.ip-advanced-grid,.ip-motion-options{grid-template-columns:1fr}.content-layout-editor,.ip-layout-editor{padding:9px}.ip-layout-editor-header{align-items:stretch;flex-direction:column}.ip-layout-mode-switch{width:100%}.ip-layout-mode-switch button{flex:1}.content-layout-intro,.content-layout-toolbar{align-items:stretch;flex-direction:column}.content-layout-toolbar-actions,.content-layout-toolbar-actions>button,.ip-layout-save-actions,.ip-layout-save-actions>button{width:100%}.content-layout-object-picker>div{grid-template-columns:1fr}.content-layout-stage-wrap{padding:9px}.ip-cover-preview .cover-canvas-shell-landscape{height:280px}.asset-group-summary{align-items:flex-start;width:100%;gap:13px}.asset-group-visual{flex-basis:126px;width:126px;height:72px}.asset-group-visual.portrait{flex-basis:93px;width:93px;height:164px}.asset-group-actions{width:100%}.asset-group-actions .asset-group-toggle{flex:1;min-width:0}.asset-group-body{padding:13px 12px 16px}.asset-group-body-head{align-items:flex-start;flex-direction:column;gap:3px;margin-left:46px}.asset-group-project{grid-template-columns:32px minmax(0,1fr);gap:8px}.asset-group-project-index{width:32px;height:32px}.asset-group-project:after{left:15px}.editor-page{height:calc(100vh - 70px);min-height:650px;padding-bottom:12px}.editor-window{overflow:auto;border-radius:13px}.editor-window .video-editor{min-width:760px}}@media(min-width:761px)and (max-width:900px){.create-page>.stepper{padding-inline:12px}.create-page .step i{margin-inline:7px}}.create-page>.stepper,.create-page>.creation-card,.create-page>.recent-section{width:min(100%,var(--reading-content-max));margin-inline:auto}.create-page>.creation-card{padding:28px 30px 30px}.create-page>.stepper{overflow-x:auto;scrollbar-width:none}.create-page>.stepper::-webkit-scrollbar{display:none}.create-page .upload-card{min-height:72px;background:var(--surface)}.create-page .production-settings input:not([type=checkbox]),.create-page .production-settings select{min-height:32px;padding:6px 8px;border:1px solid var(--line-strong);border-radius:var(--radius-sm);background:#fffefa}.create-page .production-settings input:not([type=checkbox]):focus,.create-page .production-settings select:focus{border-color:var(--accent);outline:0;box-shadow:0 0 0 3px #d9775721}.create-page .production-settings input[type=checkbox]{flex:none;width:16px;height:16px;margin:0}.create-page .production-estimate-heading strong,.create-page .production-estimates li>strong{font-size:10px}.create-page .production-estimates li>small{font-size:9px}.create-page .production-estimates li>em{font-size:8px}@media(max-width:1180px){.create-page .sentence-card:not(.sentence-card-voice-only){grid-template-columns:50px minmax(0,1fr)}.create-page .sentence-card:not(.sentence-card-voice-only) .material-states{grid-column:2;border-top:1px solid var(--line);border-left:0}.create-page .sentence-card-voice-only{grid-template-columns:50px minmax(0,1fr) 220px}}@media(max-width:980px){.create-page>.creation-card{padding:24px 24px 26px}.create-page .sentence-card:not(.sentence-card-voice-only){grid-template-columns:56px minmax(0,1fr)}.create-page .sentence-card:not(.sentence-card-voice-only) .material-states{grid-column:2;border-top:1px solid var(--line);border-left:0}.create-page .sentence-card-voice-only{grid-template-columns:56px minmax(0,1fr) 200px}}@media(max-width:760px){.create-page>.creation-card{padding:20px 18px 22px}.create-page>.stepper{padding:12px 14px}.create-page .step{flex:0 0 142px}.create-page .sentence-card{grid-template-columns:46px minmax(0,1fr)}.create-page .sentence-card-voice-only{grid-template-columns:46px minmax(0,1fr) 180px}.create-page .material-states{grid-template-columns:1fr}}@media(max-width:620px){.create-page .sentence-card-voice-only{grid-template-columns:46px minmax(0,1fr)}.create-page .sentence-card-voice-only .material-states{grid-column:2;border-top:1px solid var(--line);border-left:0}.shot-group-header .material-control{width:100%}}.create-page .production-settings{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-areas:"voice visual other";gap:0;padding:12px 0 16px;border-radius:var(--radius-md)}.create-page .production-settings-column{display:grid;grid-area:auto;align-content:start;gap:10px;min-width:0;padding:0 18px}.create-page .production-settings-column+.production-settings-column{border-left:1px solid var(--line)}.create-page .production-settings-column-voice{grid-area:voice}.create-page .production-settings-column-visual{grid-area:visual}.create-page .production-settings-column-other{grid-area:other}.create-page .production-settings-column>h3{margin:0 0 2px;color:var(--muted);font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}.create-page .production-settings-column>label{width:100%;min-height:0;min-width:0;padding:0;border:0;border-radius:0;background:transparent}.create-page .production-settings-column .voice-select{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:8px;min-height:0}.create-page .production-settings-column .voice-select .setting-label,.create-page .production-settings-column .voice-select small{grid-column:1 / -1}.create-page .production-settings-column .voice-select select{grid-column:1;width:100%;min-width:0}.create-page .production-settings-column .voice-select .voice-preview-button{grid-column:2;grid-row:2;min-width:0;margin:0;white-space:nowrap}.create-page .production-settings-column .setting-field{display:grid;grid-template-columns:minmax(0,1fr) 82px;align-items:center;gap:10px}.create-page .production-settings-column .setting-field input,.create-page .production-settings-column .setting-field select{min-height:32px}.create-page .production-settings-column .setting-range-field{grid-template-columns:max-content minmax(0,1fr) max-content;align-items:center;gap:0 10px}.create-page .production-settings-column .setting-range-field .setting-label{grid-column:1;grid-row:1}.create-page .production-settings-column .setting-range-field output{grid-column:3;grid-row:1;color:var(--ink-soft);font-size:10px;font-variant-numeric:tabular-nums;font-weight:700}.create-page .production-settings-column .setting-range-field input[type=range]{grid-column:2;grid-row:1;width:100%;min-height:18px;min-width:0;padding:0;border:0;background:transparent;accent-color:var(--accent);cursor:pointer}.create-page .production-settings-column .setting-range-field small{grid-column:1;grid-row:2;margin-top:2px;color:var(--muted);font-size:9px;line-height:1.2}.create-page .production-settings-column-other>.setting-toggle{display:flex;min-height:32px;padding:5px 0}.create-page .production-settings-column-visual>.setting-toggle{display:flex;align-items:center;gap:7px;min-height:28px}.create-page .production-settings-column-visual>.setting-hint{margin-top:-4px;color:var(--muted);font-size:9px;line-height:1.35}.create-page .production-settings-column-other>small{grid-column:1 / -1;color:var(--muted);line-height:1.5}.storyboard-confirmation-callout{display:grid;gap:4px;margin:12px 0;padding:12px 14px;border:1px solid color-mix(in srgb,var(--accent) 38%,var(--line));border-radius:var(--radius-md);background:color-mix(in srgb,var(--accent-soft) 48%,var(--surface))}.storyboard-confirmation-callout strong{color:var(--accent-dark);font-size:12px}.storyboard-confirmation-callout p{margin:0;color:var(--muted);font-size:11px;line-height:1.55}@media(max-width:1180px){.create-page .production-settings{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"voice visual" "other other"}.create-page .production-settings-column-other{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 24px;padding-top:14px;border-top:1px solid var(--line);border-left:0}.create-page .production-settings-column-other>h3{grid-column:1 / -1}.create-page .production-settings-column-visual{border-left:1px solid var(--line)}}@media(max-width:760px){.create-page .production-settings{grid-template-columns:1fr;grid-template-areas:"voice" "visual" "other";padding:14px 0}.create-page .production-settings-column{padding:14px 16px 0}.create-page .production-settings-column-other{grid-template-columns:1fr;gap:10px}.create-page .production-settings-column-other>h3{grid-column:auto}.create-page .production-settings-column .setting-range-field{grid-template-columns:minmax(84px,.75fr) minmax(100px,1.3fr) auto;gap:0 8px}.create-page .production-settings-column+.production-settings-column{border-top:1px solid var(--line);border-left:0}}.content-assets-page>.ip-library,.content-assets-page>.asset-toolbar,.content-assets-page>.asset-record-list,.content-assets-page>.asset-page-state,.content-assets-page>.asset-action-error,.settings-page>.form-error,.settings-page>.execution-mode,.settings-page>.provider-list,.settings-page>.settings-footer,.users-page>.user-create-card,.users-page>.form-error,.users-page>.team-list{width:min(100%,var(--reading-content-max));margin-inline:auto}.auth-form select{min-height:42px;padding:0 12px;border:1px solid var(--line);border-radius:10px;color:var(--ink);background:var(--surface)}.auth-form input,.auth-form select,.user-create-card input,.user-create-card select,.user-row select,.ip-library-create input,.ip-library-create select,.ip-profile-fields input,.ip-profile-fields select,.ip-profile-fields textarea,.points-rate-field input{transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}.auth-form input:hover,.auth-form select:hover,.user-create-card input:hover,.user-create-card select:hover,.user-row select:hover,.ip-library-create input:hover,.ip-library-create select:hover,.ip-profile-fields input:hover,.ip-profile-fields select:hover,.ip-profile-fields textarea:hover,.points-rate-field input:hover{border-color:#b7afa2}.auth-form input:focus,.auth-form select:focus,.user-create-card input:focus,.user-create-card select:focus,.user-row select:focus,.ip-library-create input:focus,.ip-library-create select:focus,.ip-profile-fields input:focus,.ip-profile-fields select:focus,.ip-profile-fields textarea:focus,.points-rate-field input:focus{border-color:var(--accent);outline:0;background:#fff;box-shadow:0 0 0 3px #d9775721}.auth-form small{color:var(--muted);font-size:11px;font-weight:400;line-height:1.5}.form-error{border:1px solid color-mix(in srgb,var(--danger) 28%,var(--line))}.auth-form>.primary-button{width:100%;min-height:44px}.auth-invitation-panel{display:grid;gap:8px;padding:14px;border:1px solid color-mix(in srgb,var(--accent) 28%,var(--line));border-radius:12px;background:color-mix(in srgb,var(--accent-soft) 55%,var(--surface))}.auth-invitation-panel strong{color:var(--ink);font-size:13px}.auth-invitation-panel span{color:var(--muted);font-size:12px;line-height:1.5}.auth-invitation-panel select{min-height:40px;padding:0 10px;border:1px solid var(--line);border-radius:9px;color:var(--ink);background:var(--surface)}.auth-invitation-panel .secondary-button{justify-self:start}.users-admin-setup{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;width:min(100%,var(--reading-content-max));margin-inline:auto}.users-admin-setup .user-create-card{margin-top:0;min-width:0;align-content:start;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 14px;padding:24px;border-color:color-mix(in srgb,var(--line) 88%,var(--accent));box-shadow:var(--shadow-sm)}.users-admin-setup .user-create-card>.section-heading,.users-admin-setup .user-create-card>.primary-button{grid-column:1 / -1}.users-admin-setup .section-heading{align-items:flex-start;gap:12px;margin-bottom:2px}.users-admin-setup .section-heading>svg{flex:none;box-sizing:content-box;width:18px;height:18px;padding:9px;border-radius:11px;background:var(--accent-soft);color:var(--accent-dark)}.users-admin-setup .section-heading strong{font-size:15px;line-height:1.35}.users-admin-setup .section-heading span{max-width:34em;line-height:1.5}.users-admin-setup .user-create-card:first-child{background:linear-gradient(145deg,var(--surface) 0%,#fbf4ed 100%)}.users-admin-setup .user-create-card:nth-child(2){background:linear-gradient(145deg,var(--surface) 0%,#f2f2ea 100%)}.users-admin-setup .primary-button{justify-self:stretch;width:100%;min-height:42px;margin-top:2px}.users-page>.team-list{margin-top:40px}.team-list-heading{padding:0 2px 4px}.team-list-heading>div{gap:12px}.team-list-heading strong{font-family:Iowan Old Style,Songti SC,STSong,Georgia,serif;font-size:21px;font-weight:500;letter-spacing:-.02em}.team-list-heading span{padding:4px 9px;border:1px solid var(--line);border-radius:999px;background:var(--surface);font-size:11px}.team-card{border-radius:14px;box-shadow:0 1px #37312708;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.team-card:hover{border-color:var(--line-strong);box-shadow:var(--shadow-sm)}.team-card.expanded{border-color:color-mix(in srgb,var(--accent) 45%,var(--line));box-shadow:var(--shadow-md)}.team-summary{min-height:82px;padding:16px 20px}.team-summary>span:nth-of-type(3) b,.team-summary>span:nth-of-type(4) b{font-size:13px;font-weight:700}.team-summary>svg{color:var(--muted)}.team-summary>span:nth-of-type(3){justify-items:end;min-width:62px;padding:6px 9px;border:1px solid var(--line);border-radius:10px;background:var(--surface-soft)}.team-summary>span:nth-of-type(3) b{color:var(--ink);font-size:14px;line-height:1}.team-summary>span:nth-of-type(3) small{font-size:10px}.team-detail{padding:24px;background:color-mix(in srgb,var(--surface-soft) 42%,var(--surface))}.team-sharing-settings{margin-bottom:20px;padding:14px 16px;background:#fffdf8c2}.member-create-card{padding:20px;border-radius:14px;background:var(--surface)}.user-table{overflow:hidden;border:1px solid var(--line);border-radius:12px;background:var(--surface);container:members / inline-size}.user-row{padding:0 14px;grid-template-columns:34px minmax(0,1fr);gap:6px 12px;min-width:0;padding-block:14px}.user-row>span:not(.user-avatar,.user-row-actions){min-width:0}.user-row>span:not(.user-avatar,.user-row-actions) strong,.user-row>span:not(.user-avatar,.user-row-actions) small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-row:first-child{border-top:0}.user-row-actions .secondary-button,.user-row-actions select{min-height:34px;font-size:12px}.user-row-actions{min-width:0;flex-wrap:nowrap}.user-row-actions .secondary-button{min-width:88px;white-space:nowrap}.user-row>span:not(.user-avatar,.user-row-actions){grid-column:2}@container members (min-width: 620px){.user-row{grid-template-columns:34px minmax(180px,1fr) minmax(120px,.7fr) max-content;align-items:center;gap:12px 16px;padding-block:12px}.user-row>span:not(.user-avatar,.user-row-actions),.user-row-actions{grid-column:auto}.user-row-actions{justify-self:end}}@media(max-width:900px)and (min-width:761px){.user-row{row-gap:6px}}@media(max-width:760px){.user-row{grid-template-columns:34px minmax(0,1fr);gap:6px 12px;padding:14px}.user-row>span:not(.user-avatar,.user-row-actions){grid-column:2}.user-row>span:nth-of-type(3){padding-top:2px}.user-row-actions{grid-column:2;justify-self:start}}@media(max-width:900px){.users-admin-setup{grid-template-columns:1fr}}@media(max-width:1180px){.member-create-card{grid-template-columns:repeat(2,minmax(0,1fr))}.member-create-card>.primary-button{grid-column:1 / -1;width:100%}.team-summary{grid-template-columns:42px minmax(0,1fr) minmax(62px,auto) 20px}.team-summary>span:nth-of-type(3){display:grid}.team-summary>span:nth-of-type(4){display:none}}@media(max-width:760px){.team-summary{grid-template-columns:38px minmax(0,1fr) minmax(56px,auto) 18px;gap:10px;padding:14px}.team-summary>span:nth-of-type(3){min-width:56px;padding:5px 7px}}.user-create-card>.primary-button{min-height:42px}.users-page .panel-loading,.empty-admin-state{min-height:112px;padding:24px;border:1px dashed var(--line-strong);border-radius:var(--radius-md);background:#fffdf8ad;text-align:center}.ip-library-create{grid-template-columns:repeat(4,minmax(0,1fr)) auto;align-items:end}.ip-library-create label{display:grid;gap:6px;min-width:0;color:var(--ink-soft);font-size:10px;font-weight:650}.ip-library-create input,.ip-library-create select,.ip-profile-fields input,.ip-profile-fields select,.ip-profile-fields textarea{min-height:40px;padding:8px 10px;border-color:var(--line-strong);border-radius:var(--radius-sm);background:#fffefa}.ip-library-create input:focus,.ip-library-create select:focus,.ip-profile-fields input:focus,.ip-profile-fields select:focus,.ip-profile-fields textarea:focus{border-color:var(--accent);outline:0;box-shadow:0 0 0 3px #d9775721}.ip-library-create .primary-button{min-height:40px;white-space:nowrap}.ip-profile-fields input[type=color]{min-height:40px;padding:4px}.ip-asset-options>div{grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:8px 9px}.ip-asset-info{display:grid;min-width:0;gap:2px}.ip-asset-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:5px}.ip-asset-actions button{min-height:32px;padding:5px 8px}.ip-asset-actions .ip-asset-preview{display:inline-grid;place-items:center;width:32px;padding:0}.ip-asset-preview svg{width:14px;height:14px}.ip-asset-actions button.selected:disabled{cursor:default;opacity:1}.ip-asset-actions button.selected{border-color:var(--ink);color:#fff;background:var(--ink)}.ip-card-actions,.ip-create-actions{display:flex;align-items:center;gap:8px}.ip-create-trigger{flex:none;min-height:34px;padding:6px 10px;box-shadow:none}.asset-toolbar .ip-create-trigger svg{width:13px;height:13px}.ip-library-create{grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:12px;margin:16px 0;padding:16px;border:1px solid var(--line-strong);border-radius:var(--radius-md);background:linear-gradient(145deg,#fbf6ece6,#fffefaf5)}.ip-create-intro,.ip-create-logo,.ip-create-actions,.ip-library-create label.wide{grid-column:1 / -1}.ip-library-create label.wide{min-height:0;margin:0}.ip-create-intro{display:grid;gap:3px;padding-bottom:4px}.ip-create-intro strong{color:var(--ink);font-family:Iowan Old Style,Songti SC,STSong,Georgia,serif;font-size:16px;font-weight:600}.ip-create-intro span,.ip-create-logo>span{color:var(--muted);font-size:10px}.ip-create-logo{display:grid;gap:6px}.ip-create-logo .upload-card{min-height:66px;border-style:dashed;background:#fffefad1}.ip-create-actions{justify-content:flex-end;padding-top:2px}.ip-library-grid{margin-top:14px}.ip-library-card{transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}.ip-library-card.editing{grid-column:1 / -1;border-color:#c7bfb2;background:#fbf8f1;box-shadow:0 14px 36px #3d332914}.ip-library-card header{align-items:center;margin-bottom:0}.ip-library-card.editing header{margin-bottom:14px;padding-bottom:12px;border-bottom:1px solid var(--line)}.ip-library-card .ip-card-title{flex:1;min-width:0}.ip-library-card .ip-card-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;margin-left:auto}.ip-card-actions .secondary-button{min-height:34px;padding:6px 10px}.ip-card-actions .secondary-button svg,.ip-cover-status svg{width:13px;height:13px;color:currentColor}.ip-cover-status{display:inline-flex;align-items:center;gap:4px;padding:5px 8px;border:1px solid #dfd5c6;border-radius:999px;color:#8b6d52;background:#fff8eb;font-size:9px;white-space:nowrap}.ip-cover-status.confirmed{border-color:#bfd0c1;color:var(--success);background:#eff5ed}.ip-cover-gate{display:flex;align-items:center;gap:10px;padding:14px;border:1px dashed #d9c8ad;border-radius:var(--radius-sm);color:#8b6d52;background:#fff9ed}.ip-cover-gate svg{width:18px;height:18px}.ip-cover-gate div{display:grid;gap:3px}.ip-cover-gate strong{font-size:11px}.ip-cover-gate span{color:var(--muted);font-size:10px}.ip-cover-preview{display:grid;gap:7px;min-width:0;padding:12px;border-radius:var(--radius-sm);background:#1c1b1c}.ip-cover-preview>small{color:#ffffff94;font-size:9px;text-align:center}.ip-cover-preview .cover-canvas-shell{position:relative;display:grid;width:100%;height:330px;min-width:0;min-height:0;place-items:center}.ip-cover-preview .cover-canvas-shell-portrait{width:min(100%,304px);height:auto;max-height:none;justify-self:center}.ip-cover-preview .cover-canvas{display:block;max-width:100%;max-height:100%;border:1px solid rgba(255,255,255,.1);box-shadow:0 18px 48px #00000052;pointer-events:none}.ip-cover-preview .cover-element-handle{position:absolute;z-index:3;box-sizing:border-box;padding:0;border:1px solid transparent;color:transparent;background:transparent;cursor:move;touch-action:none;transform-origin:center;-webkit-user-select:none;user-select:none}.ip-cover-preview .cover-element-handle:hover,.ip-cover-preview .cover-element-handle.selected,.ip-cover-preview .cover-element-handle.active{border-color:var(--accent);outline:none}.ip-cover-preview .cover-element-handle:focus-visible{border-color:var(--accent);outline:2px solid rgba(225,134,103,.35);outline-offset:2px}.ip-cover-preview .cover-transform-handle{position:absolute;z-index:2;display:block;box-sizing:border-box;width:10px;height:10px;border:1px solid var(--accent);background:#fff;touch-action:none}.ip-cover-preview .cover-scale-handle{border-radius:2px}.ip-cover-preview .cover-scale-nw{top:0;left:0;cursor:nwse-resize;transform:translate(-50%,-50%) scale(var(--cover-handle-scale))}.ip-cover-preview .cover-scale-ne{top:0;right:0;cursor:nesw-resize;transform:translate(50%,-50%) scale(var(--cover-handle-scale))}.ip-cover-preview .cover-scale-se{right:0;bottom:0;cursor:nwse-resize;transform:translate(50%,50%) scale(var(--cover-handle-scale))}.ip-cover-preview .cover-scale-sw{bottom:0;left:0;cursor:nesw-resize;transform:translate(-50%,50%) scale(var(--cover-handle-scale))}.ip-cover-preview .cover-rotation-stem{position:absolute;bottom:100%;left:50%;width:1px;height:var(--cover-rotation-stem);background:var(--accent);transform:translate(-50%);pointer-events:none}.ip-cover-preview .cover-rotate-handle{bottom:calc(100% + var(--cover-rotation-offset));left:50%;border-radius:50%;cursor:grab;transform:translate(-50%) scale(var(--cover-handle-scale))}.ip-cover-preview .cover-transform-value{position:absolute;top:calc(100% + 12px);left:50%;min-width:max-content;padding:3px 7px;border-radius:4px;color:#fff;background:#121214e0;font-size:10px;line-height:1.2;transform:translate(-50%);pointer-events:none}.ip-cover-preview .cover-guide{position:absolute;z-index:2;background:#e18667e6;pointer-events:none}.ip-cover-preview .cover-guide-vertical{width:1px}.ip-cover-preview .cover-guide-horizontal{height:1px}@media(max-width:760px){.ip-cover-preview .cover-canvas-shell-landscape{height:280px}}.domain-manager select,.domain-manager-actions>button,.prompt-runtime-row input,.prompt-runtime-row select,.model-row input,.model-row select,.provider-fields input,.provider-fields select{min-height:40px}.points-rate-field input{border:1px solid var(--line-strong);color:var(--ink);background:var(--surface)}.create-page .sentence-insert-button{min-height:32px}.create-page .material-actions>button{min-height:30px}.create-page .production-estimates-header small,.asset-preview-dialog>header small{font-size:9px}.prompt-scope-filters button.active{border-color:var(--ink);color:#fff;background:var(--ink)}.create-page .production-sync,.create-page .production-estimates li>small,.create-page .production-estimates li>em,.create-page .material-state small,.create-page .sentence-number small,.create-page .sentence-card>label>small{font-size:9px!important}.provider-card-actions{flex-wrap:wrap}.create-page .creation-composer{padding:24px 26px 26px}.create-page-composing{display:flex;min-height:100vh;flex-direction:column}.create-page-composing>.recent-section{margin-top:auto;padding-top:34px}.composer-layout{display:flow-root}.canvas-picker{position:relative;z-index:5;display:grid;float:left;align-content:start;justify-items:center;gap:9px;width:144px;margin:0 24px 12px 0}.canvas-source-menu{position:relative;width:100%}.canvas-preview{position:relative;display:grid;overflow:hidden;place-items:center;width:144px;aspect-ratio:16 / 9;border:1px dashed var(--line-strong);border-radius:var(--radius-md);color:var(--muted);background:var(--surface-soft);cursor:pointer;list-style:none;transition:border-color .16s ease,background .16s ease}.canvas-preview::-webkit-details-marker{display:none}.canvas-source-menu[open] .canvas-preview,.canvas-preview:hover,.canvas-preview:focus-visible{border-color:var(--accent);outline:0;box-shadow:0 0 0 3px #d977571a}.canvas-picker.attention .canvas-preview{animation:canvas-choice-attention .7s ease-in-out 2}@keyframes canvas-choice-attention{0%,to{border-color:var(--line-strong);box-shadow:none}50%{border-color:var(--accent);background:var(--accent-soft);box-shadow:0 0 0 5px #d9775733}}.canvas-picker.portrait .canvas-preview{width:76px;margin-inline:auto;aspect-ratio:9 / 16}.canvas-preview img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.canvas-ratio{font-size:11px;font-weight:700;letter-spacing:.08em}.canvas-preview-hint{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:5px;padding:9px;color:#fff;background:#292724c7;font-size:9px;line-height:1.4;text-align:center;opacity:0;transform:translateY(3px);transition:opacity .16s ease,transform .16s ease}.canvas-preview-hint svg{flex:none;width:14px;height:14px}.canvas-preview:hover .canvas-preview-hint,.canvas-preview:focus-visible .canvas-preview-hint,.canvas-source-menu[open] .canvas-preview-hint{opacity:1;transform:translateY(0)}.canvas-source-popover{position:absolute;z-index:30;top:calc(100% + 8px);left:0;display:grid;gap:10px;width:264px;padding:12px;border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);box-shadow:var(--shadow-md)}.canvas-source-popover>label{display:grid;gap:6px;color:var(--ink-soft);font-size:10px;font-weight:650}.canvas-domain-field{display:grid;gap:6px;color:var(--ink-soft);font-size:10px;font-weight:650}.canvas-domain-field:has(.domain-picker-trigger:disabled){color:#aaa39a}.canvas-source-popover>label:has(select:disabled){color:#aaa39a}.canvas-source-popover select{width:100%;min-height:36px;padding:7px 8px;border:1px solid var(--line);border-radius:var(--radius-sm);color:var(--ink);background:var(--surface);font-size:10px}.canvas-source-popover select:disabled{border-color:var(--line);color:#aaa39a;background:var(--surface-soft);cursor:not-allowed;opacity:.72}.domain-picker{position:relative;min-width:0}.domain-picker-trigger{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:36px;padding:7px 8px;border:1px solid var(--line);border-radius:var(--radius-sm);color:var(--ink);background:var(--surface);font-size:10px;text-align:left}.domain-picker-trigger span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.domain-picker-trigger svg{flex:none;width:14px;height:14px;color:var(--muted);transition:transform .16s ease}.domain-picker-trigger[aria-expanded=true] svg{transform:rotate(180deg)}.domain-picker-trigger:hover,.domain-picker-trigger:focus-visible,.domain-picker-trigger[aria-expanded=true]{border-color:var(--accent);outline:0;box-shadow:0 0 0 3px #d977571a}.domain-picker-trigger:disabled{border-color:var(--line);color:#aaa39a;background:var(--surface-soft);cursor:not-allowed;opacity:.72}.domain-picker-menu{position:absolute;z-index:40;top:calc(100% + 4px);right:0;left:0;display:grid;gap:2px;max-height:min(320px,50vh);overflow-y:auto;overscroll-behavior:contain;padding:4px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);box-shadow:var(--shadow-md)}.domain-picker-row{display:grid;grid-template-columns:minmax(0,1fr) 32px;align-items:center;border-radius:var(--radius-sm);transition:background .16s ease}.domain-picker-row:hover,.domain-picker-row:focus-within,.domain-picker-row.selected{background:var(--accent-soft)}.domain-picker-option{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:32px;padding:6px 8px;border:0;border-radius:var(--radius-sm);color:var(--ink);background:transparent;font-size:10px;text-align:left}.domain-picker-option:hover,.domain-picker-option:focus-visible{outline:0}.domain-picker-option>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.domain-picker-option svg{flex:none;width:14px;height:14px;color:var(--accent-dark)}.domain-picker>.domain-picker-menu>.domain-picker-option{border-radius:var(--radius-sm)}.domain-picker>.domain-picker-menu>.domain-picker-option:hover,.domain-picker>.domain-picker-menu>.domain-picker-option:focus-visible,.domain-picker>.domain-picker-menu>.domain-picker-option.selected{background:var(--accent-soft)}.domain-demo-eye{display:grid;place-items:center;width:30px;height:30px;padding:0;border:0;border-radius:var(--radius-sm);color:var(--muted);background:transparent}.domain-demo-eye svg{width:15px;height:15px}.domain-demo-eye:hover,.domain-demo-eye:focus-visible{color:var(--accent-dark);background:#d977571f;outline:0}.canvas-upload-option{display:flex!important;align-items:center;gap:9px!important;min-height:48px;padding:8px;border:1px dashed var(--line-strong);border-radius:var(--radius-sm);cursor:pointer}.canvas-upload-option:hover,.canvas-upload-option:focus-within{border-color:var(--accent);background:var(--accent-soft)}.canvas-upload-option>svg{flex:none;width:18px;color:var(--accent-dark)}.canvas-upload-option>span{display:grid;min-width:0}.canvas-upload-option small{overflow:hidden;color:var(--muted);font-size:8px;font-weight:400;text-overflow:ellipsis;white-space:nowrap}.domain-demo-backdrop{position:fixed;z-index:120;inset:0;display:grid;place-items:center;padding:18px;background:#221f1b94;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.domain-demo-dialog{width:min(820px,calc(100vw - 36px));max-height:calc(100vh - 36px);overflow:auto;padding:22px;border:1px solid var(--line);border-radius:18px;background:var(--surface);box-shadow:var(--shadow-md)}.domain-demo-dialog>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.domain-demo-dialog h2{margin:5px 0 0;color:var(--ink);font-family:Iowan Old Style,Songti SC,STSong,Georgia,serif;font-size:24px;font-weight:500;line-height:1.2}.domain-demo-close{display:grid;flex:none;place-items:center;width:34px;height:34px;padding:0;border:1px solid var(--line);border-radius:50%;color:var(--muted);background:var(--surface)}.domain-demo-close svg{width:17px;height:17px}.domain-demo-close:hover,.domain-demo-close:focus-visible{border-color:var(--accent);color:var(--accent-dark);outline:0}.domain-demo-topic{display:flex;align-items:baseline;gap:10px;margin:18px 0 12px;color:var(--ink);font-size:13px;line-height:1.65}.domain-demo-topic>span{flex:none;color:var(--accent-dark);font-size:10px;font-weight:700;letter-spacing:.08em}.domain-demo-stage{position:relative;display:grid;min-height:240px;overflow:hidden;place-items:center;border-radius:var(--radius-md);background:#171614}.domain-demo-stage video{display:block;width:100%;max-height:min(62vh,620px);background:#171614}.domain-demo-status{position:absolute;display:flex;align-items:center;gap:8px;padding:8px 11px;border-radius:999px;color:#fff;background:#171614c7;font-size:11px}.domain-demo-status svg{width:15px;height:15px}.domain-demo-unavailable{margin:0;padding:14px 16px;color:var(--muted);background:var(--surface-soft);font-size:12px;line-height:1.65}.domain-demo-stage>.domain-demo-unavailable{position:absolute;inset:auto 14px 14px;border-radius:var(--radius-sm);background:#fffdf8f0}.domain-demo-missing{border:1px dashed var(--line-strong);border-radius:var(--radius-md)}@media(max-width:760px){.domain-demo-backdrop{align-items:end;padding:0}.domain-demo-dialog{width:100%;max-height:92vh;padding:18px;border-radius:18px 18px 0 0}.domain-demo-dialog h2{font-size:21px}.domain-demo-stage{min-height:180px}}.canvas-toggle{display:flex;gap:7px;width:144px}.canvas-toggle button{display:grid;flex:1;place-items:center;min-height:34px;border:1px solid var(--line);border-radius:var(--radius-sm);color:var(--muted);background:var(--surface);transition:border-color .16s ease,color .16s ease,background .16s ease}.canvas-toggle button:hover,.canvas-toggle button:focus-visible,.canvas-toggle button.selected{border-color:var(--accent);color:var(--accent-dark);background:var(--accent-soft)}.canvas-toggle svg{width:17px;height:17px}.composer-fields{display:contents}.topic-row{display:flex;align-items:center;gap:9px;min-height:54px;padding:0 2px 0 0;border-bottom:1px solid var(--line-strong);margin-left:168px;transition:border-color .16s ease,background .16s ease}.topic-row:hover{border-color:#b7afa2}.topic-row:focus-within{border-color:var(--accent);background:linear-gradient(to bottom,transparent 82%,rgba(217,119,87,.05))}.topic-line-input{width:100%;min-width:0;padding:10px 0;border:0;outline:0;color:var(--ink);background:transparent;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;font-size:16px;font-weight:600;line-height:1.5;letter-spacing:-.01em;caret-color:var(--accent-dark)}.topic-line-input::placeholder{color:#817970;font-weight:500;opacity:1}.topic-line-input:focus{border-color:transparent;box-shadow:none}.inspiration-button{display:inline-flex;flex:none;align-items:center;gap:5px;min-height:30px;padding:5px 9px;border:1px solid var(--accent);border-radius:999px;color:var(--accent-dark);background:var(--accent-soft);font-size:10px;font-weight:700}.inspiration-button:hover,.inspiration-button:focus-visible{background:#f8dfd4}.composer-script-surface{position:relative;min-height:112px;height:auto!important;max-height:none!important;margin:0;padding:14px 2px 8px;overflow:visible!important;color:var(--ink-soft);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;font-size:13.5px;line-height:1.78;letter-spacing:0;cursor:text}.composer-script-input{display:inline;height:auto!important;max-height:none!important;overflow:visible!important;border:0;outline:0;background:transparent;padding-inline-end:1px;white-space:pre-wrap;overflow-wrap:anywhere;user-select:text;-webkit-user-select:text;caret-color:var(--accent-dark)}.script-annotation{border-radius:3px;box-decoration-break:clone;-webkit-box-decoration-break:clone}.script-annotation.like{background:color-mix(in srgb,var(--success) 24%,transparent)}.script-annotation.dislike{background:color-mix(in srgb,var(--danger) 22%,transparent)}.script-annotation.commented{text-decoration-line:underline;text-decoration-style:dashed;text-decoration-color:var(--accent-dark);text-decoration-thickness:1px;text-underline-offset:4px}.script-selection-toolbar{position:fixed;z-index:80;display:flex;gap:3px;padding:5px;border:1px solid #3f3b36;border-radius:10px;background:#2f2c28;box-shadow:0 10px 28px #28231e38;transform:translate(-50%,-100%)}.script-selection-toolbar button{display:inline-flex;align-items:center;gap:5px;min-height:30px;padding:0 9px;border:0;border-radius:7px;color:#fffdf8;background:transparent;font-size:12px;cursor:pointer}.script-selection-toolbar button:hover,.script-selection-toolbar button:focus-visible,.script-selection-toolbar button[aria-pressed=true]{background:#ffffff24}.script-selection-toolbar svg{width:14px;height:14px}.script-comment-editor{position:fixed;z-index:81;display:grid;width:min(320px,calc(100vw - 32px));gap:8px;padding:12px;border:1px solid var(--line-strong);border-radius:12px;background:var(--surface);box-shadow:0 14px 36px #372f282e;transform:translate(-50%)}.script-comment-editor>div{display:flex;align-items:center;justify-content:space-between}.script-comment-editor>div button{display:grid;width:26px;height:26px;padding:0;border:0;border-radius:7px;background:transparent;color:var(--muted);place-items:center;cursor:pointer}.script-comment-editor>div button:hover{background:var(--surface-hover)}.script-comment-editor>div svg{width:15px;height:15px}.script-comment-editor small{overflow:hidden;color:var(--muted);text-overflow:ellipsis;white-space:nowrap}.script-comment-editor textarea{min-height:84px;resize:vertical;border:1px solid var(--line-strong);border-radius:8px;padding:9px 10px;outline:none;background:var(--surface-soft);color:var(--ink);font:inherit;line-height:1.55}.script-comment-editor textarea:focus{border-color:var(--accent)}.script-comment-editor>.primary-button{min-height:34px;justify-self:end}.composer-script-surface.empty:before{position:absolute;top:14px;right:2px;left:168px;content:attr(data-placeholder);color:#8a8279;line-height:1.78;pointer-events:none;transition:color .16s ease}.composer-script-surface.focused.empty:before{color:#6f6860}.topic-line-input::selection,.composer-script-input::selection{color:var(--ink);background:var(--accent-soft)}.composer-fields>.production-sync{clear:both;margin-top:10px}.composer-actions{display:flex;clear:both;flex-wrap:wrap;align-items:center;gap:8px;padding-top:10px;border-top:1px solid var(--line)}.composer-actions:empty{display:none}.composer-history-actions{display:flex;gap:6px}.composer-history-actions .secondary-button{gap:5px;padding-inline:10px}.composer-history-actions svg{width:15px;height:15px}.composer-actions .primary-button,.composer-actions .secondary-button{min-height:38px}.composer-actions .primary-button.needs-canvas-choice,.composer-actions .secondary-button.needs-canvas-choice{cursor:pointer;opacity:.72}.composer-next-button{margin-left:auto}.creation-composer .topic-assessment,.creation-composer .error-banner{margin-top:14px}@media(max-width:760px){.create-page .creation-composer{padding:17px}.composer-layout{display:grid;grid-template-columns:1fr;gap:16px}.canvas-picker{float:none;grid-template-columns:144px;justify-content:center;width:auto;margin:0}.composer-fields{display:grid}.topic-row{margin-left:0}.composer-script-surface.empty:before{left:2px}.canvas-picker.portrait .canvas-preview{width:76px}.canvas-source-popover{left:50%;width:min(280px,calc(100vw - 72px));transform:translate(-50%)}.composer-next-button{margin-left:0}}@media(max-width:980px){.ip-library-create{grid-template-columns:repeat(2,minmax(0,1fr))}.ip-library-create .primary-button{grid-column:1 / -1;justify-self:start}}@media(max-width:760px){.auth-card{padding:26px 22px}.ip-library-create{grid-template-columns:1fr}.ip-create-intro,.ip-create-logo,.ip-create-actions,.ip-library-create label.wide{grid-column:auto}.ip-create-actions{align-items:stretch;flex-direction:column-reverse}.ip-create-actions>button{width:100%}.ip-library-card header{align-items:flex-start;flex-wrap:wrap}.ip-library-card .ip-card-actions{width:100%;justify-content:space-between;margin-left:26px}.user-create-card{grid-template-columns:1fr}.team-sharing-settings{grid-template-columns:38px minmax(0,1fr)}.team-sharing-toggle,.team-sharing-settings>.sharing-status{grid-column:2;justify-self:start}.user-row-actions{flex-wrap:wrap}.provider-card-actions{align-items:stretch;flex-direction:column}.provider-card-actions>a,.provider-card-actions>button{width:100%}.content-assets-page .asset-record-head{align-items:stretch;flex-direction:column}.content-assets-page .asset-record-status{flex-wrap:wrap}.content-assets-page .asset-record-title h2{max-width:none}.content-assets-page .asset-stage{align-self:auto;padding:6px 8px;font-size:9px}.ip-library-create .primary-button{width:100%;justify-self:stretch}.ip-asset-options>div{grid-template-columns:1fr}.ip-asset-actions{justify-content:flex-start}}.account-panel{gap:8px;margin-top:10px;padding:10px 0 0;border:0;border-top:1px solid var(--line);border-radius:0;background:transparent;box-shadow:none}.account-person{gap:5px;padding:3px 4px;border-radius:9px;transition:background .16s ease}.account-person:hover,.account-person:focus-within{background:var(--surface-hover)}.account-profile-link:hover,.account-profile-link:focus-visible,.account-profile-link.active{background:transparent}.account-profile-link>span{width:28px;height:28px;border-radius:8px;color:var(--ink);background:var(--surface-soft);border:1px solid var(--line);font-size:12px}.account-person strong{font-size:10px}.account-person small{font-size:8px}.account-logout{width:28px;height:28px;border-radius:7px;color:var(--muted)}.account-logout:hover,.account-logout:focus-visible{color:var(--ink);background:var(--surface-soft)}.account-metrics{border:1px solid var(--line);border-radius:8px;background:transparent}.account-metrics>span{padding:7px 2px 6px;border-color:var(--line)}.editor-mobile-tabs,.editor-mobile-handoff{display:none}@media(max-width:760px){.mobile-editor-panel-hidden{display:none!important}.editor-page{display:flex;height:auto;min-height:calc(100svh - 70px);flex-direction:column;padding:24px 10px calc(82px + env(safe-area-inset-bottom))}.editor-page-heading{padding:0 8px}.editor-window{flex:1 1 auto;overflow:visible}.editor-window .video-editor,.video-editor{display:grid;grid-template-rows:auto auto auto auto auto;min-width:0;height:auto;min-height:0;overflow:visible}.editor-topbar{flex-wrap:wrap;gap:8px;padding:10px}.editor-topbar select{flex:1 1 100%;max-width:none;min-height:44px}.autosave-dot{order:3;width:100%;padding:2px 2px 0}.editor-actions{order:2;width:100%;margin-left:0;gap:8px}.editor-actions button,.editor-actions button:hover{flex:1 1 0;justify-content:center;min-height:44px;padding:8px 6px;font-size:9px}.editor-actions button svg{width:15px}.editor-mobile-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:6px;border-bottom:1px solid #3b3934;background:#282622}.editor-mobile-tabs button{min-height:42px;padding:7px 4px;border:1px solid #494640;border-radius:8px;color:#b9b2a9;background:#312f2a;font-size:10px}.editor-mobile-tabs button.active{border-color:var(--accent);color:#fffaf5;background:#7f4938}.editor-mobile-handoff{display:block;margin:0;padding:8px 12px;border-bottom:1px solid #3b3934;color:#aaa49b;background:#24221f;font-size:10px;line-height:1.5}.editor-workspace{display:block;overflow:visible}.media-bin,.inspector{min-height:0;max-height:none;overflow:visible;padding:0 12px 16px;border:0}.preview-area{grid-template-rows:auto minmax(260px,56svh) 52px;min-height:360px;overflow:visible}.player-wrap{min-height:260px;padding:8px}.transport{min-height:52px;gap:7px;padding:0 8px}.transport button{width:42px;height:42px}.transport-scrubber{min-width:80px}.timeline-panel{min-height:350px}.timeline-toolbar{min-height:52px;height:auto;flex-wrap:wrap;gap:4px;padding:6px 8px}.timeline-toolbar i{display:none}.timeline-toolbar button{min-height:40px;padding:8px 10px}.timeline-toolbar input{order:2;flex:1 1 100%;width:auto;min-height:24px}.timeline-scroll{height:298px;overflow:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}.lingdo-track-label button{min-width:32px;min-height:36px;padding:7px}.preview-transform-handle,.cover-transform-handle{width:22px;height:22px}.preview-safe-curtain-handle{height:16px}}.locale-menu{position:relative;flex:none}.locale-menu summary{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--accent-soft);color:var(--accent-dark);font-size:13px;font-weight:800;cursor:pointer;list-style:none}.locale-menu summary::-webkit-details-marker{display:none}.locale-menu summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.locale-menu-popover{position:absolute;z-index:20;left:0;bottom:calc(100% + 10px);width:176px;padding:8px;border:1px solid var(--line);border-radius:12px;background:var(--surface);box-shadow:var(--shadow-md)}.locale-menu-popover>span,.locale-menu-popover button{display:flex;align-items:center;gap:8px}.locale-menu-popover>span{padding:6px 8px 8px;color:var(--muted);font-size:11px;font-weight:750;letter-spacing:.05em;text-transform:uppercase}.locale-menu-popover svg{width:14px;height:14px}.locale-menu-popover button{width:100%;min-height:36px;padding:0 8px;border:0;border-radius:8px;background:transparent;color:var(--ink);font:inherit;font-size:13px;cursor:pointer}.locale-menu-popover button:hover{background:var(--surface-soft)}.locale-menu-popover button svg{margin-left:auto;color:var(--success)}.locale-option-flag{width:1.5em;flex:none;font-size:16px;line-height:1;text-align:center}.mobile-more-button{display:none}.mobile-navigation-dialog{position:fixed;inset:auto 0 0;width:min(520px,100%);max-height:calc(100dvh - 24px);margin:0 auto;overflow:auto;overscroll-behavior:contain;border:1px solid var(--line);border-bottom:0;border-radius:22px 22px 0 0;padding:12px 18px calc(16px + env(safe-area-inset-bottom));color:var(--ink);background:var(--surface);box-shadow:0 -12px 48px #00000029}.mobile-navigation-dialog:before{content:"";display:block;width:32px;height:4px;margin:0 auto 8px;border-radius:4px;background:var(--line-strong)}.mobile-navigation-dialog::backdrop{background:#0006}.mobile-navigation-dialog header{display:flex;align-items:center;justify-content:space-between;gap:16px}.mobile-navigation-dialog h2{margin:0;font-size:19px}.mobile-navigation-dialog header button{display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:50%;background:transparent;color:var(--muted)}.mobile-usage-summary{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr) 16px;align-items:center;gap:10px;margin:8px 0 6px;padding:10px 2px 11px;border-bottom:1px solid var(--line);color:var(--ink);text-decoration:none}.mobile-usage-summary>svg{width:16px;height:16px;color:var(--muted)}.mobile-usage-balance,.mobile-usage-balance>span,.mobile-usage-today{display:flex;min-width:0}.mobile-usage-balance{align-items:center;gap:8px}.mobile-usage-balance>svg{flex:none;width:17px;height:17px;color:var(--accent)}.mobile-usage-balance>span,.mobile-usage-today{flex-direction:column;gap:1px}.mobile-usage-today{padding-left:10px;border-left:1px solid var(--line)}.mobile-usage-summary small{color:var(--muted);font-size:10px;line-height:1.35}.mobile-usage-summary strong{overflow:hidden;font-family:Iowan Old Style,Baskerville,Songti SC,STSong,Georgia,serif;font-size:16px;font-weight:600;font-variant-numeric:lining-nums tabular-nums;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.mobile-usage-error{grid-column:1 / 3;color:var(--danger);font-size:12px;line-height:1.5}.mobile-navigation-dialog nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-block:12px 20px}.mobile-navigation-dialog nav a{display:flex;align-items:center;min-width:0;min-height:60px;gap:10px;padding:10px;border:1px solid var(--line);border-radius:12px;color:var(--ink);background:var(--surface);font-size:13px;font-weight:500;text-decoration:none}.mobile-navigation-dialog nav a.active{border-color:var(--accent);color:var(--accent);background:#fbf0e9}.mobile-menu-icon{display:grid;place-items:center;flex:0 0 32px;height:32px;border-radius:9px;background:var(--surface-soft);color:var(--muted)}.mobile-menu-icon svg{width:18px;height:18px}.mobile-menu-session{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:48px;border:0;border-top:1px solid var(--line);padding:12px 0 0;color:var(--muted);background:transparent;font-size:13px}.mobile-menu-session svg{width:16px;height:16px}.mobile-navigation-dialog button:focus-visible,.mobile-navigation-dialog a:focus-visible{outline:2px solid var(--accent);outline-offset:2px}@media(max-width:760px){.side-nav nav a.active:before{display:none}.create-page>.stepper{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:12px 8px}.create-page .step{flex-direction:column;min-width:0;gap:6px;text-align:center;white-space:normal;overflow-wrap:anywhere;font-size:12px}.create-page .step b{margin-right:0}.create-page .step i{display:none}.inspiration-quick-capture>div>button{min-height:44px;font-size:12px}.side-nav{height:calc(70px + env(safe-area-inset-bottom));padding:6px 8px calc(6px + env(safe-area-inset-bottom))}.side-nav>.brand-mark,.side-nav .nav-section .nav-label,.side-nav .nav-section.admin-section,.side-nav>.account-panel{display:none}.side-nav .nav-sections{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-auto-flow:row;align-items:stretch;gap:4px;padding:0;overflow:visible}.side-nav .nav-section,.side-nav .nav-section nav{display:contents}.side-nav nav a,.mobile-more-button{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;min-height:52px;padding:6px 2px;gap:4px;border:0;border-radius:10px;background:transparent;color:var(--muted);font-size:11px}.side-nav .nav-copy strong{font-size:11px}.side-nav .nav-copy small{display:none}.mobile-more-button svg{width:20px;height:20px}.main-area{padding-bottom:calc(82px + env(safe-area-inset-bottom))}html{scroll-padding-bottom:calc(90px + env(safe-area-inset-bottom))}.main-area :is(button,input,textarea,select,[contenteditable=true]){scroll-margin-block:16px calc(90px + env(safe-area-inset-bottom))}.main-area :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),textarea,select,[contenteditable=true]){font-size:16px}.auth-card :is(input:not([type=checkbox]),select,textarea){min-height:44px;font-size:16px}.main-area :is(.primary-button,.secondary-button,.text-button),.asset-filters button,.editor-mobile-tabs button,.timeline-toolbar button,.inspiration-timeline-tools button{min-height:44px}.main-area :is(.primary-button,.secondary-button),.asset-filters button,.inspector label,.cover-designer label{font-size:12px}.asset-toolbar{flex-direction:column;align-items:stretch}.asset-toolbar .asset-search,.asset-toolbar .asset-toolbar-actions,.asset-toolbar .asset-filters{flex:none;width:100%;min-width:0}.asset-toolbar .asset-search{min-height:44px}.asset-toolbar .asset-filters{justify-content:flex-start}.inspiration-page .inspiration-timeline-panel{min-height:0;max-height:320px}.inspiration-page .inspiration-trail-layout.timeline-collapsed .inspiration-timeline-panel{min-height:0}.editor-window .preview-area{grid-template-rows:auto minmax(200px,36svh) 56px;min-height:290px}.editor-window .player-wrap{min-height:200px}.editor-window .transport button{width:44px;height:44px}.editor-window .editor-actions button{font-size:11px}.editor-window .editor-mobile-tabs button{font-size:12px}.prompt-fullscreen-trigger{width:44px;height:44px;opacity:1;transform:none}.prompt-fullscreen-close{min-width:44px;min-height:44px}.provider-pool-drag-row{grid-template-columns:44px minmax(0,1fr)}.prompt-layered-editor textarea,.prompt-highlight-content{font-size:16px;line-height:1.6}}@media(min-width:761px)and (max-width:1180px){.debug-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.debug-metrics>span{min-width:0;overflow-wrap:anywhere;text-align:left}.debug-metrics>span:nth-child(-n+4){border-bottom:1px solid var(--line)}.debug-metrics>span:nth-child(2n){border-right:0}.debug-metrics>span:last-child{grid-column:1 / -1}}
